@yahoo/uds 0.4.3 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/utils/purgeCSS.test.ts +2 -9
- package/cli/utils/purgeCSS.ts +17 -19
- package/dist/{Image.native-CyJCMvgr.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
- package/dist/{Image.native-M50LC-q7.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
- package/dist/{VStack-fSE_ityd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
- package/dist/{VStack-R8SACz7K.d.cts → VStack-D-py89Ge.d.cts} +1 -1
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +2 -2
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.js +1 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +60 -124
- package/dist/fixtures.d.ts +3 -10
- package/dist/fixtures.js +59 -123
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +1 -1
- package/dist/{index.native-BstClKbg.d.cts → index.native-A2gCijBH.d.cts} +1 -1
- package/dist/{index.native-DtdUtCNu.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +5 -9
- package/dist/index.native.d.ts +5 -9
- package/dist/index.native.js +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +15 -2
- package/dist/tailwind/plugin.d.ts +15 -2
- package/dist/tailwind/plugin.js +1 -1
- package/dist/tailwind/purger.cjs +4 -0
- package/dist/tailwind/purger.d.cts +20 -0
- package/dist/tailwind/purger.d.ts +20 -0
- package/dist/tailwind/purger.js +4 -0
- package/dist/tailwind/tsMorph.cjs +1 -0
- package/dist/tailwind/tsMorph.d.cts +25 -0
- package/dist/tailwind/tsMorph.d.ts +25 -0
- package/dist/tailwind/tsMorph.js +1 -0
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3 -4
- package/dist/tokens/index.d.ts +3 -4
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +2 -3
- package/dist/tokens/parseTokens.d.ts +2 -3
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-BN1X8QcB.d.cts → types-Diou6f1Q.d.cts} +1 -2
- package/dist/{types-BN1X8QcB.d.ts → types-Diou6f1Q.d.ts} +1 -2
- package/dist/{types-DRP5tWZG.d.cts → types-Dk8fLx7L.d.cts} +2 -3
- package/dist/{types-DRP5tWZG.d.ts → types-Dk8fLx7L.d.ts} +2 -3
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
import{backgroundColors as Co,borderRadii as So,borderWidths as Ro,foregroundColors as ko,lineColors as Eo,textVariants as oo}from"@yahoo/uds/fixtures";import Ao from"clsx";import{extendTailwindMerge as Do}from"tailwind-merge";function De(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",kt=`${m}-spectrum-color`,Et=`${m}-font`,At=`${m}-icon-size`,Dt=`${m}-avatar-size`,It=`${m}-border-radius`,Lt=`${m}-border-width`,Mt=`${m}-spacing`,Nt=`${m}-font-size`,Ht=`${m}-line-height`,_t=`${m}-font-weight`,Bt=`${m}-text-transform`,Xe=`${m}-color-mode-dark`,$e=`${m}-color-mode-light`,Ze=`${m}-scale-mode-xsmall`,Ke=`${m}-scale-mode-small`,Ye=`${m}-scale-mode-medium`,qe=`${m}-scale-mode-large`,Je=`${m}-scale-mode-xlarge`,Qe=`${m}-scale-mode-xxlarge`,je=`${m}-scale-mode-xxxlarge`;var Ot=`--${m}-font-icons`,zt=`--${m}-font-sans`,Vt=`--${m}-font-sans-beta`,Wt=`--${m}-font-sans-condensed`,Ft=`--${m}-font-serif-display`,Gt=`--${m}-font-serif-text`;var eo={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{none:"p-[0px]",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{none:"px-none",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{none:"py-none",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{none:"pb-none",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{none:"pe-none",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{none:"ps-none",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{none:"pt-none",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{none:"-m-none",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{none:"-my-none",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{none:"-mx-none",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{none:"-mb-none",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{none:"-me-none",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{none:"-ms-none",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{none:"-mt-none",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{none:"gap-x-none",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{none:"gap-y-none",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{none:"rounded-none",xs:"rounded-xs",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:Xe,light:$e},scaleMode:{xSmall:Ze,small:Ke,medium:Ye,large:qe,xLarge:Je,xxxLarge:je,xxLarge:Qe}};var Io=Do({cacheSize:0,extend:{theme:{borderColor:Eo,borderWidth:Ro,borderRadius:So}},override:{classGroups:{"text-color":[{text:ko}],"bg-color":[{bg:Co}],"font-family":[{font:["icons",...oo]}],leading:[{leading:oo}]},conflictingClassGroups:{}}}),b=(...o)=>{let e=Ao(o);return Io(e)},Lo=o=>e=>{if(!o?.variants)return b(o?.base,e?.className);let{variants:r,defaultVariants:t}=o,n=Object.keys(r).map(s=>{let i=e?.[s],p=t?.[s],c=De(i)||De(p);return r[s][c]}),a={...t,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([c,u])=>a[c]===u)?b(s,i):s,"");return b(o?.base,n,l,e?.className)},d=Lo({variants:eo});import{forwardRef as No}from"react";import{Children as he,cloneElement as to,forwardRef as no,isValidElement as Ce}from"react";function Mo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function ro(...o){return e=>o.forEach(r=>Mo(r,e))}import{jsx as ao}from"react/jsx-runtime";function w(){let o=no((a,l)=>{let{children:s,...i}=a,p=he.toArray(s),c=p.find(t);if(c){let u=c.props.children,x=p.map(T=>T===c?he.count(u)>1?he.only(null):Ce(u)?u.props.children:null:T);return ao(e,{...i,ref:l,children:Ce(u)?to(u,void 0,x):null})}return ao(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=no((a,l)=>{let{children:s,...i}=a;return Ce(s)?to(s,{...n(i,s.props),ref:l?ro(l,s.ref):s.ref}):he.count(s)>1?he.only(null):null});e.displayName="SlotClone";let r=({children:a})=>a;function t(a){return Ce(a)&&a.type===r}function n(a,l){let s={...l};for(let i in l){let p=a[i],c=l[i];/^on[A-Z]/.test(i)?p&&c?s[i]=(...x)=>{c(...x),p(...x)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...c})}return{...a,...s}}return o}import{jsx as _o}from"react/jsx-runtime";var Ho=w(),g=No(function({className:e,asChild:r,size:t,color:n,name:a,textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:u,borderBottomEndRadius:x,borderColor:T,borderColorOnActive:S,borderColorOnFocus:R,borderColorOnChecked:k,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:I,borderBottomColor:L,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:re,spacingVertical:te,spacingBottom:ne,spacingEnd:ae,spacingStart:se,spacingTop:ie,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ue,rowGap:ge,...Pe},we){let Ee=r?Ho:"span",Ae=d({iconSize:t,color:n,fontFamily:"icons",textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:u,borderBottomEndRadius:x,borderColor:T,borderColorOnActive:S,borderColorOnFocus:R,borderColorOnChecked:k,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:I,borderBottomColor:L,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:re,spacingVertical:te,spacingBottom:ne,spacingEnd:ae,spacingStart:se,spacingTop:ie,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ue,rowGap:ge,className:e});return _o(Ee,{className:Ae,ref:we,...Pe,children:a})});import{forwardRef as Bo}from"react";import{jsx as zo}from"react/jsx-runtime";var Oo=w(),P=Bo(function({className:e,asChild:r,onPress:t,onClick:n=t,backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:u,borderColorOnActive:x,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:R,borderStartColor:k,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:I,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:re,spacingEnd:te,spacingStart:ne,spacingTop:ae,offset:se,offsetVertical:ie,offsetHorizontal:le,offsetBottom:pe,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,...ue},ge){let Pe=d({backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:u,borderColorOnActive:x,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:R,borderStartColor:k,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:I,borderVerticalWidth:L,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:re,spacingEnd:te,spacingStart:ne,spacingTop:ae,offset:se,offsetVertical:ie,offsetHorizontal:le,offsetBottom:pe,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,className:e});return zo(r?Oo:"button",{className:Pe,ref:ge,onClick:n,...ue})});import{forwardRef as Vo}from"react";import{jsx as Go}from"react/jsx-runtime";var Wo=w(),Fo={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=Vo(function({className:e,asChild:r,color:t="primary",variant:n="body1",as:a=Fo[n],fontSize:l=n,fontFamily:s=n,fontWeight:i=n,lineHeight:p=n,textTransform:c=n,textAlign:u,backgroundColor:x,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:R,borderBottomStartRadius:k,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:I,borderColorOnChecked:L,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho,...To},vo){let wo=d({className:e,color:t,fontFamily:s,fontSize:l,fontWeight:i,lineHeight:p,textTransform:c,textAlign:u,backgroundColor:x,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:R,borderBottomStartRadius:k,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:I,borderColorOnChecked:L,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ge,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho});return Go(r?Wo:a,{className:wo,ref:vo,...To})});import{forwardRef as Zo}from"react";import{forwardRef as Uo}from"react";import{jsx as $o}from"react/jsx-runtime";var Xo=w(),C=Uo(function({asChild:e,className:r,backgroundColor:t,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:u,borderColorOnChecked:x,borderColorOnHover:T,borderStartColor:S,borderEndColor:R,borderTopColor:k,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:I,borderStartWidth:L,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$="flex",overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:re,spacingTop:te,offset:ne,offsetVertical:ae,offsetHorizontal:se,offsetBottom:ie,offsetEnd:le,offsetStart:pe,offsetTop:ce,columnGap:de,rowGap:me,...be},fe){let ue=d({backgroundColor:t,borderRadius:n,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:u,borderColorOnChecked:x,borderColorOnHover:T,borderStartColor:S,borderEndColor:R,borderTopColor:k,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:I,borderStartWidth:L,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$,overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:re,spacingTop:te,offset:ne,offsetVertical:ae,offsetHorizontal:se,offsetBottom:ie,offsetEnd:le,offsetStart:pe,offsetTop:ce,columnGap:de,rowGap:me,className:r});return $o(e?Xo:"div",{className:ue,ref:fe,...be})});import{jsx as Ko}from"react/jsx-runtime";var v=Zo(function({gap:e,...r},t){return Ko(C,{ref:t,flexDirection:"column",columnGap:e,rowGap:e,...r})});import{Fragment as qo,jsx as Se,jsxs as so}from"react/jsx-runtime";function Yo({label:o,children:e,onClick:r,open:t,spacingHorizontal:n="6",_content:a,className:l,...s}){return so(qo,{children:[so(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:n,borderRadius:"md",onClick:r,className:b("hover:bg-secondary/80","w-full",l),...s,children:[Se(f,{variant:"title4",color:"primary",children:o}),Se(g,{name:t?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),Se(v,{overflow:"hidden",className:b("transition-[max-height]","duration-500","ease-in-out",t?"max-h-full":"max-h-0"),spacingHorizontal:n,...a,children:Se(v,{className:"min-h-min",children:e})})]})}var io={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Ie={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function xe({variant:o="accent",size:e="s"}){let{color:r,...t}=Ie.variant[o],{variant:n,...a}=Ie.size[e];return{pressable:{...Ie.base,...t,...a},text:{color:r,variant:n,textAlign:"center"},icon:{color:r,size:"sm"}}}import{jsx as Qo}from"react/jsx-runtime";function Jo({size:o,shape:e,src:r,alt:t,...n}){let a=d({...io,avatarSize:o,borderRadius:e});return Qo("img",{src:r,alt:t,className:a,...n})}import{forwardRef as jo}from"react";import{jsx as Le,jsxs as er}from"react/jsx-runtime";var Me=jo(function({variant:e="accent",size:r,startIcon:t,endIcon:n,children:a,...l},s){let i=xe({variant:e,size:r}),p=t?Le(g,{name:t,...i.icon}):null,c=n?Le(g,{name:n,...i.icon}):null;return er(P,{...i.pressable,ref:s,...l,children:[p,Le(f,{...i.text,children:a}),c]})});import{jsx as Ne,jsxs as tr}from"react/jsx-runtime";var lo={accent:"on-color",secondary:"primary"},or={accent:"on-color",secondary:"tertiary"};function rr({children:o,variant:e,startIcon:r,startContent:t=r?Ne(g,{name:r,size:"sm",color:lo[e]}):null,endIcon:n,endContent:a=n?Ne(g,{name:n,size:"sm",color:lo[e]}):null}){return tr(P,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[t,Ne(f,{variant:"label2",color:or[e],children:o}),a]})}import{Popover as sr,PopoverAnchor as ir,PopoverArrow as lr,PopoverDescription as pr,PopoverDisclosure as cr,PopoverDisclosureArrow as dr,PopoverDismiss as mr,PopoverHeading as br,PopoverProvider as fr,usePopoverStore as He}from"@ariakit/react";import{forwardRef as nr}from"react";import{jsx as ar}from"react/jsx-runtime";var Re=nr(function({gap:e,...r},t){return ar(C,{ref:t,flexDirection:"row",rowGap:e,columnGap:e,...r})});import{jsx as po,jsxs as hr}from"react/jsx-runtime";function ur({children:o,leading:e,trailing:r}){return hr(Re,{children:[e,po(f,{variant:"headline1",color:"primary",asChild:!0,children:po(br,{children:o})}),r]})}var _e=sr,Be=lr,yr=ir,gr=pr,xr=mr,Oe=fr,ze=cr,Pr=dr;var Tr=Oe;import{forwardRef as vr,useCallback as wr}from"react";import{jsx as Cr}from"react/jsx-runtime";var Ve=vr(function({children:e,disabled:r,onClick:t,...n},a){let l=He(),s=wr(i=>{i.preventDefault(),t?.(()=>l.setOpen(!1))},[t,l]);return Cr(P,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:b(!r&&"hover:bg-gray-2",r&&"cursor-default"),onClick:t?s:void 0,ref:a,...n,children:e})});import{jsx as ke,jsxs as co}from"react/jsx-runtime";function Sr({title:o,description:e,_title:r,_description:t,startIcon:n,endIcon:a,...l}){return co(Ve,{...l,children:[n&&ke(g,{name:n,size:"sm",color:"primary"}),co(v,{gap:"3",alignItems:"flex-start",children:[o&&ke(f,{variant:"headline1",color:"primary",...r,children:o}),e&&ke(f,{variant:"label2",color:"muted",...t,children:e})]}),a&&ke(g,{name:a,size:"sm",color:"primary"})]})}import{forwardRef as Rr}from"react";import{jsx as mo,jsxs as Er}from"react/jsx-runtime";var kr=Rr(function({children:e,className:r,overflow:t="scroll",...n},a){return mo(v,{borderRadius:"lg",backgroundColor:"primary",className:b("max-h-[312px] min-w-[220px] shadow-md",r),overflow:t,spacingVertical:"4",asChild:!0,children:Er(_e,{preventBodyScroll:!0,...n,ref:a,children:[mo(Be,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as bo}from"react/jsx-runtime";function Ar({children:o,variant:e,size:r,...t}){let n=xe({variant:e,size:r}),a=e?n.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return bo(P,{...a,...t,asChild:!0,children:bo(ze,{children:o})})}import{forwardRef as Dr}from"react";import{jsx as fo}from"react/jsx-runtime";var Ir={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},We=Dr(function({variant:e="accent",size:r="s",name:t,className:n,color:a,...l},s){let i=xe({variant:e,size:r});return fo(P,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:b("leading-[0px]",Ir[r],n),...l,children:fo(g,{name:t,...i.icon,color:a})})});import{Dialog as Lr,DialogDismiss as Mr,useDialogStore as Nr}from"@ariakit/react";import{jsx as Te,jsxs as zr}from"react/jsx-runtime";function Hr(o){return Nr({animated:!0,...o})}function _r({children:o,handleClose:e}){return zr(Re,{alignItems:"center",justifyContent:"space-between",children:[Te(f,{variant:"headline1",color:"primary",children:o}),Te(Me,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function Br({className:o,...e}){return Te(v,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:b("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Te(Lr,{backdrop:Te("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var Or=Mr;import{jsx as Fe,jsxs as uo}from"react/jsx-runtime";function Vr({className:o,...e}){return uo("div",{role:"status",className:b("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[uo("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),Fe("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),Fe("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as ve,isValidElement as Wr}from"react";import{jsx as y,jsxs as Zr}from"react/jsx-runtime";var Fr=ve(function({children:e,className:r,display:t="table",overflow:n="hidden",borderColor:a="muted",borderRadius:l="md",...s},i){return y(C,{asChild:!0,borderColor:a,borderRadius:l,className:r,overflow:n,display:t,...s,children:y("table",{ref:i,children:e})})}),Gr=ve(function({children:e,display:r="table-row",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("tr",{ref:n,children:e})})}),Ur=ve(function({children:e,display:r="table-header-group",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("thead",{ref:n,children:e})})}),Xr=ve(function({children:e,display:r="table-row-group",...t},n){return y(C,{asChild:!0,display:r,...t,children:y("tbody",{ref:n,children:e})})}),$r=ve(function({asHeaderCell:e,className:r,display:t="table-cell",spacing:n="5",borderBottomColor:a="muted",color:l="primary",...s},i){let p=d({textAlign:"start",className:r});return y(f,{asChild:!0,variant:e?"headline1":"body1",color:l,display:t,spacing:n,borderBottomColor:a,borderBottomWidth:"thin",className:p,children:y(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});h.Root=Fr;h.Row=Gr;h.Header=Ur;h.Body=Xr;h.Cell=$r;function h({data:o,columns:e,...r}){return Zr(h.Root,{...r,children:[y(h.Header,{children:y(h.Row,{children:e.map((t,n)=>y(h.Cell,{asHeaderCell:"column",children:t.title},n))})}),y(h.Body,{children:o.map((t,n)=>y(h.Row,{children:e.map((a,l)=>{let s=t[a.dataIndex];return y(h.Cell,{children:a.render?a.render(s,t,n):Wr(s)?s:String(s)},l)})},n))})]})}import{Tab as Kr,TabList as Yr,TabPanel as qr,TabProvider as Jr,useTabContext as yo}from"@ariakit/react";import{forwardRef as go}from"react";import{jsx as ye,jsxs as tt}from"react/jsx-runtime";var Qr=w();function jr(o){return ye(Jr,{...o})}var et=go(function({className:e,...r},t){let n=d({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ye(Yr,{ref:t,...r,className:n})}),ot=function({asChild:e,label:r,value:t,startIcon:n}){let a=e?Qr:"a",l=d({}),s=yo();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===t,p=i?"accent":"primary";return ye(Kr,{id:t,className:l,render:ye(a,{children:tt(P,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[n?ye(g,{name:n,color:p,size:"md"}):null,ye(f,{color:p,variant:"headline1",children:r})]})})})},rt=go(function(e,r){let t=yo();if(!t)throw new Error("TabPanel must be wrapped in a Tabs component");let n=t.useState("selectedId");return ye(qr,{ref:r,tabId:n,...e})});import{jsx as nt}from"react/jsx-runtime";function Ge({className:o,disabled:e,backgroundColor:r=e?"secondary":"primary",borderColor:t="tertiary",borderWidth:n="thin",borderRadius:a="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:c="body1",...u}){return nt("input",{type:"text","data-1p-ignore":!0,className:b(d({backgroundColor:r,borderColor:t,borderWidth:n,borderRadius:a,spacingVertical:i,spacingHorizontal:p,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),"w-full",o),disabled:e,...u})}import{jsx as at,jsxs as st}from"react/jsx-runtime";function Ue({children:o,required:e}){return st(f,{variant:"caption2",color:"primary",children:[o,e&&at(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as xo,jsxs as lt}from"react/jsx-runtime";function it({label:o,required:e,...r}){return lt(v,{gap:"4",className:"w-full",children:[xo(Ue,{required:e,children:o}),xo(Ge,{required:e,...r})]})}import{Slide as pt,toast as ct,ToastContainer as dt}from"react-toastify";import{jsx as Po}from"react/jsx-runtime";var mt=d({borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),bt=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ft=d({backgroundColor:"positive"}),ut=d({backgroundColor:"alert"}),yt=d({backgroundColor:"accent"}),gt=d({backgroundColor:"warning"}),xt=d({backgroundColor:"brand"}),Pt=d({backgroundColor:"brand"}),ht=d({backgroundColor:"brand",color:"on-color"}),Tt=o=>o?.type==="default"?b(mt,ht):o?.defaultClassName??"";function vt(o){let{type:e="default",defaultClassName:r=""}=o??{},t={success:ft,error:ut,info:yt,warning:gt,default:xt,dark:Pt}[e],n=r.replace(/Toastify__progress-bar-theme--light/,"");return b(n,t)}function wt({closeToast:o,type:e}){let r={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Po(We,{name:"close",size:"s",variant:"accent-ghost",color:r,onClick:o})}function Ct(o){return Po(dt,{toastClassName:Tt,bodyClassName:bt,progressClassName:vt,transition:pt,closeButton:wt,...o})}export{Yo as Accordion,Jo as Avatar,Me as Button,rr as Chip,Tr as Dropdown,Sr as DropdownItem,Ve as DropdownItemPressable,kr as DropdownItems,Ar as DropdownTrigger,We as IconButton,Br as Modal,Or as ModalDismiss,_r as ModalHeader,_e as Popover,yr as PopoverAnchor,Be as PopoverArrow,gr as PopoverDescription,ze as PopoverDisclosure,Pr as PopoverDisclosureArrow,xr as PopoverDismiss,ur as PopoverHeading,Oe as PopoverProvider,Vr as Spinner,ot as Tab,et as TabList,rt as TabPanel,h as Table,jr as Tabs,Ge as TextInput,it as TextInputGroup,Ue as TextInputLabel,Ct as ToastContainer,ct as toast,Hr as useModalStore,He as usePopoverStore};
|
1
|
+
import{backgroundColors as Co,borderRadii as So,borderWidths as ko,foregroundColors as Ro,lineColors as Eo,textVariants as oo}from"@yahoo/uds/fixtures";import Ao from"clsx";import{extendTailwindMerge as Do}from"tailwind-merge";function De(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",Rr=`${m}-spectrum-color`,Er=`${m}-font`,Ar=`${m}-icon-size`,Dr=`${m}-avatar-size`,Lr=`${m}-border-radius`,Ir=`${m}-border-width`,Mr=`${m}-font-size`,Nr=`${m}-line-height`,Hr=`${m}-font-weight`,_r=`${m}-text-transform`,Xe=`${m}-color-mode-dark`,$e=`${m}-color-mode-light`,Ze=`${m}-scale-mode-xsmall`,Ke=`${m}-scale-mode-small`,Ye=`${m}-scale-mode-medium`,qe=`${m}-scale-mode-large`,Je=`${m}-scale-mode-xlarge`,Qe=`${m}-scale-mode-xxlarge`,je=`${m}-scale-mode-xxxlarge`;var Br=`--${m}-font-icons`,Or=`--${m}-font-sans`,zr=`--${m}-font-sans-beta`,Vr=`--${m}-font-sans-condensed`,Wr=`--${m}-font-serif-display`,Fr=`--${m}-font-serif-text`;var eo={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{0:"p-0",px:"p-px","0.5":"p-0.5",1:"p-1","1.5":"p-1.5",2:"p-2","2.5":"p-2.5",3:"p-3","3.5":"p-3.5",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",14:"p-14",16:"p-16",20:"p-20",24:"p-24",28:"p-28",32:"p-32",36:"p-36",40:"p-40",44:"p-44",48:"p-48",52:"p-52",56:"p-56",60:"p-60",64:"p-64",72:"p-72",80:"p-80",96:"p-96"},spacingHorizontal:{0:"px-0",px:"px-px","0.5":"px-0.5",1:"px-1","1.5":"px-1.5",2:"px-2","2.5":"px-2.5",3:"px-3","3.5":"px-3.5",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",14:"px-14",16:"px-16",20:"px-20",24:"px-24",28:"px-28",32:"px-32",36:"px-36",40:"px-40",44:"px-44",48:"px-48",52:"px-52",56:"px-56",60:"px-60",64:"px-64",72:"px-72",80:"px-80",96:"px-96"},spacingVertical:{0:"py-0",px:"py-px","0.5":"py-0.5",1:"py-1","1.5":"py-1.5",2:"py-2","2.5":"py-2.5",3:"py-3","3.5":"py-3.5",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",14:"py-14",16:"py-16",20:"py-20",24:"py-24",28:"py-28",32:"py-32",36:"py-36",40:"py-40",44:"py-44",48:"py-48",52:"py-52",56:"py-56",60:"py-60",64:"py-64",72:"py-72",80:"py-80",96:"py-96"},spacingBottom:{0:"pb-0",px:"pb-px","0.5":"pb-0.5",1:"pb-1","1.5":"pb-1.5",2:"pb-2","2.5":"pb-2.5",3:"pb-3","3.5":"pb-3.5",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",14:"pb-14",16:"pb-16",20:"pb-20",24:"pb-24",28:"pb-28",32:"pb-32",36:"pb-36",40:"pb-40",44:"pb-44",48:"pb-48",52:"pb-52",56:"pb-56",60:"pb-60",64:"pb-64",72:"pb-72",80:"pb-80",96:"pb-96"},spacingEnd:{0:"pe-0",px:"pe-px","0.5":"pe-0.5",1:"pe-1","1.5":"pe-1.5",2:"pe-2","2.5":"pe-2.5",3:"pe-3","3.5":"pe-3.5",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",14:"pe-14",16:"pe-16",20:"pe-20",24:"pe-24",28:"pe-28",32:"pe-32",36:"pe-36",40:"pe-40",44:"pe-44",48:"pe-48",52:"pe-52",56:"pe-56",60:"pe-60",64:"pe-64",72:"pe-72",80:"pe-80",96:"pe-96"},spacingStart:{0:"ps-0",px:"ps-px","0.5":"ps-0.5",1:"ps-1","1.5":"ps-1.5",2:"ps-2","2.5":"ps-2.5",3:"ps-3","3.5":"ps-3.5",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",14:"ps-14",16:"ps-16",20:"ps-20",24:"ps-24",28:"ps-28",32:"ps-32",36:"ps-36",40:"ps-40",44:"ps-44",48:"ps-48",52:"ps-52",56:"ps-56",60:"ps-60",64:"ps-64",72:"ps-72",80:"ps-80",96:"ps-96"},spacingTop:{0:"pt-0",px:"pt-px","0.5":"pt-0.5",1:"pt-1","1.5":"pt-1.5",2:"pt-2","2.5":"pt-2.5",3:"pt-3","3.5":"pt-3.5",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",14:"pt-14",16:"pt-16",20:"pt-20",24:"pt-24",28:"pt-28",32:"pt-32",36:"pt-36",40:"pt-40",44:"pt-44",48:"pt-48",52:"pt-52",56:"pt-56",60:"pt-60",64:"pt-64",72:"pt-72",80:"pt-80",96:"pt-96"},offset:{0:"-m-0",px:"-m-px","0.5":"-m-0.5",1:"-m-1","1.5":"-m-1.5",2:"-m-2","2.5":"-m-2.5",3:"-m-3","3.5":"-m-3.5",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",14:"-m-14",16:"-m-16",20:"-m-20",24:"-m-24",28:"-m-28",32:"-m-32",36:"-m-36",40:"-m-40",44:"-m-44",48:"-m-48",52:"-m-52",56:"-m-56",60:"-m-60",64:"-m-64",72:"-m-72",80:"-m-80",96:"-m-96"},offsetVertical:{0:"-my-0",px:"-my-px","0.5":"-my-0.5",1:"-my-1","1.5":"-my-1.5",2:"-my-2","2.5":"-my-2.5",3:"-my-3","3.5":"-my-3.5",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",14:"-my-14",16:"-my-16",20:"-my-20",24:"-my-24",28:"-my-28",32:"-my-32",36:"-my-36",40:"-my-40",44:"-my-44",48:"-my-48",52:"-my-52",56:"-my-56",60:"-my-60",64:"-my-64",72:"-my-72",80:"-my-80",96:"-my-96"},offsetHorizontal:{0:"-mx-0",px:"-mx-px","0.5":"-mx-0.5",1:"-mx-1","1.5":"-mx-1.5",2:"-mx-2","2.5":"-mx-2.5",3:"-mx-3","3.5":"-mx-3.5",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",14:"-mx-14",16:"-mx-16",20:"-mx-20",24:"-mx-24",28:"-mx-28",32:"-mx-32",36:"-mx-36",40:"-mx-40",44:"-mx-44",48:"-mx-48",52:"-mx-52",56:"-mx-56",60:"-mx-60",64:"-mx-64",72:"-mx-72",80:"-mx-80",96:"-mx-96"},offsetBottom:{0:"-mb-0",px:"-mb-px","0.5":"-mb-0.5",1:"-mb-1","1.5":"-mb-1.5",2:"-mb-2","2.5":"-mb-2.5",3:"-mb-3","3.5":"-mb-3.5",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",14:"-mb-14",16:"-mb-16",20:"-mb-20",24:"-mb-24",28:"-mb-28",32:"-mb-32",36:"-mb-36",40:"-mb-40",44:"-mb-44",48:"-mb-48",52:"-mb-52",56:"-mb-56",60:"-mb-60",64:"-mb-64",72:"-mb-72",80:"-mb-80",96:"-mb-96"},offsetEnd:{0:"-me-0",px:"-me-px","0.5":"-me-0.5",1:"-me-1","1.5":"-me-1.5",2:"-me-2","2.5":"-me-2.5",3:"-me-3","3.5":"-me-3.5",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",14:"-me-14",16:"-me-16",20:"-me-20",24:"-me-24",28:"-me-28",32:"-me-32",36:"-me-36",40:"-me-40",44:"-me-44",48:"-me-48",52:"-me-52",56:"-me-56",60:"-me-60",64:"-me-64",72:"-me-72",80:"-me-80",96:"-me-96"},offsetStart:{0:"-ms-0",px:"-ms-px","0.5":"-ms-0.5",1:"-ms-1","1.5":"-ms-1.5",2:"-ms-2","2.5":"-ms-2.5",3:"-ms-3","3.5":"-ms-3.5",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",14:"-ms-14",16:"-ms-16",20:"-ms-20",24:"-ms-24",28:"-ms-28",32:"-ms-32",36:"-ms-36",40:"-ms-40",44:"-ms-44",48:"-ms-48",52:"-ms-52",56:"-ms-56",60:"-ms-60",64:"-ms-64",72:"-ms-72",80:"-ms-80",96:"-ms-96"},offsetTop:{0:"-mt-0",px:"-mt-px","0.5":"-mt-0.5",1:"-mt-1","1.5":"-mt-1.5",2:"-mt-2","2.5":"-mt-2.5",3:"-mt-3","3.5":"-mt-3.5",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",14:"-mt-14",16:"-mt-16",20:"-mt-20",24:"-mt-24",28:"-mt-28",32:"-mt-32",36:"-mt-36",40:"-mt-40",44:"-mt-44",48:"-mt-48",52:"-mt-52",56:"-mt-56",60:"-mt-60",64:"-mt-64",72:"-mt-72",80:"-mt-80",96:"-mt-96"},columnGap:{0:"gap-x-0",px:"gap-x-px","0.5":"gap-x-0.5",1:"gap-x-1","1.5":"gap-x-1.5",2:"gap-x-2","2.5":"gap-x-2.5",3:"gap-x-3","3.5":"gap-x-3.5",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",14:"gap-x-14",16:"gap-x-16",20:"gap-x-20",24:"gap-x-24",28:"gap-x-28",32:"gap-x-32",36:"gap-x-36",40:"gap-x-40",44:"gap-x-44",48:"gap-x-48",52:"gap-x-52",56:"gap-x-56",60:"gap-x-60",64:"gap-x-64",72:"gap-x-72",80:"gap-x-80",96:"gap-x-96"},rowGap:{0:"gap-y-0",px:"gap-y-px","0.5":"gap-y-0.5",1:"gap-y-1","1.5":"gap-y-1.5",2:"gap-y-2","2.5":"gap-y-2.5",3:"gap-y-3","3.5":"gap-y-3.5",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",14:"gap-y-14",16:"gap-y-16",20:"gap-y-20",24:"gap-y-24",28:"gap-y-28",32:"gap-y-32",36:"gap-y-36",40:"gap-y-40",44:"gap-y-44",48:"gap-y-48",52:"gap-y-52",56:"gap-y-56",60:"gap-y-60",64:"gap-y-64",72:"gap-y-72",80:"gap-y-80",96:"gap-y-96"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{none:"rounded-none",xs:"rounded-xs",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:Xe,light:$e},scaleMode:{xSmall:Ze,small:Ke,medium:Ye,large:qe,xLarge:Je,xxxLarge:je,xxLarge:Qe}};var Lo=Do({cacheSize:0,extend:{theme:{borderColor:Eo,borderWidth:ko,borderRadius:So}},override:{classGroups:{"text-color":[{text:Ro}],"bg-color":[{bg:Co}],"font-family":[{font:["icons",...oo]}],leading:[{leading:oo}]},conflictingClassGroups:{}}}),b=(...o)=>{let e=Ao(o);return Lo(e)},Io=o=>e=>{if(!o?.variants)return b(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let p=e?.[s],l=r?.[s],c=De(p)||De(l);return t[s][c]}),n={...r,...e&&Object.entries(e).reduce((s,[p,l])=>typeof l>"u"?s:{...s,[p]:l},{})},i=o?.compoundVariants?.reduce((s,{className:p,...l})=>Object.entries(l).every(([c,y])=>n[c]===y)?b(s,p):s,"");return b(o?.base,a,i,e?.className)},d=Io({variants:eo});import{forwardRef as No}from"react";import{Children as he,cloneElement as ro,forwardRef as ao,isValidElement as Ce}from"react";function Mo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function to(...o){return e=>o.forEach(t=>Mo(t,e))}import{jsx as no}from"react/jsx-runtime";function w(){let o=ao((n,i)=>{let{children:s,...p}=n,l=he.toArray(s),c=l.find(r);if(c){let y=c.props.children,g=l.map(T=>T===c?he.count(y)>1?he.only(null):Ce(y)?y.props.children:null:T);return no(e,{...p,ref:i,children:Ce(y)?ro(y,void 0,g):null})}return no(e,{...p,ref:i,children:s})});o.displayName="Slot";let e=ao((n,i)=>{let{children:s,...p}=n;return Ce(s)?ro(s,{...a(p,s.props),ref:i?to(i,s.ref):s.ref}):he.count(s)>1?he.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ce(n)&&n.type===t}function a(n,i){let s={...i};for(let p in i){let l=n[p],c=i[p];/^on[A-Z]/.test(p)?l&&c?s[p]=(...g)=>{c(...g),l(...g)}:l&&(s[p]=l):p==="style"&&(s[p]={...l,...c})}return{...n,...s}}return o}import{jsx as _o}from"react/jsx-runtime";var Ho=w(),x=No(function({className:e,asChild:t,size:r,color:a,name:n,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,...Pe},we){let Ee=t?Ho:"span",Ae=d({iconSize:r,color:a,fontFamily:"icons",textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:l,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:g,borderColor:T,borderColorOnActive:S,borderColorOnFocus:k,borderColorOnChecked:R,borderColorOnHover:E,borderStartColor:A,borderEndColor:D,borderTopColor:L,borderBottomColor:I,borderWidth:M,borderVerticalWidth:N,borderHorizontalWidth:H,borderStartWidth:_,borderEndWidth:B,borderTopWidth:O,borderBottomWidth:z,alignContent:V,alignItems:W,alignSelf:F,flex:G,flexDirection:U,flexGrow:X,flexShrink:$,flexWrap:Z,justifyContent:K,flexBasis:Y,display:q,overflow:J,overflowX:Q,overflowY:j,position:ee,spacing:oe,spacingHorizontal:te,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:se,spacingTop:pe,offset:ie,offsetVertical:le,offsetHorizontal:ce,offsetBottom:de,offsetEnd:me,offsetStart:be,offsetTop:fe,columnGap:ye,rowGap:xe,className:e});return _o(Ee,{className:Ae,ref:we,...Pe,children:n})});import{forwardRef as Bo}from"react";import{jsx as zo}from"react/jsx-runtime";var Oo=w(),P=Bo(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,...ye},xe){let Pe=d({backgroundColor:n,borderRadius:i,borderTopStartRadius:s,borderTopEndRadius:p,borderBottomStartRadius:l,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:g,borderColorOnFocus:T,borderColorOnChecked:S,borderColorOnHover:k,borderStartColor:R,borderEndColor:E,borderTopColor:A,borderBottomColor:D,borderWidth:L,borderVerticalWidth:I,borderHorizontalWidth:M,borderStartWidth:N,borderEndWidth:H,borderTopWidth:_,borderBottomWidth:B,alignContent:O,alignItems:z,alignSelf:V,flex:W,flexDirection:F,flexGrow:G,flexShrink:U,flexWrap:X,justifyContent:$,flexBasis:Z,display:K,overflow:Y,overflowX:q,overflowY:J,position:Q,spacing:j,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ae,spacingTop:ne,offset:se,offsetVertical:pe,offsetHorizontal:ie,offsetBottom:le,offsetEnd:ce,offsetStart:de,offsetTop:me,columnGap:be,rowGap:fe,className:e});return zo(t?Oo:"button",{className:Pe,ref:xe,onClick:a,...ye})});import{forwardRef as Vo}from"react";import{jsx as Go}from"react/jsx-runtime";var Wo=w(),Fo={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=Vo(function({className:e,asChild:t,color:r="primary",variant:a="body1",as:n=Fo[a],fontSize:i=a,fontFamily:s=a,fontWeight:p=a,lineHeight:l=a,textTransform:c=a,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho,...To},vo){let wo=d({className:e,color:r,fontFamily:s,fontSize:i,fontWeight:p,lineHeight:l,textTransform:c,textAlign:y,backgroundColor:g,borderRadius:T,borderTopStartRadius:S,borderTopEndRadius:k,borderBottomStartRadius:R,borderBottomEndRadius:E,borderColor:A,borderColorOnActive:D,borderColorOnFocus:L,borderColorOnChecked:I,borderColorOnHover:M,borderStartColor:N,borderEndColor:H,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:te,overflowX:re,overflowY:ae,position:ne,spacing:se,spacingHorizontal:pe,spacingVertical:ie,spacingBottom:le,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ye,offsetBottom:xe,offsetEnd:Pe,offsetStart:we,offsetTop:Ee,columnGap:Ae,rowGap:ho});return Go(t?Wo:n,{className:wo,ref:vo,...To})});import{forwardRef as Zo}from"react";import{forwardRef as Uo}from"react";import{jsx as $o}from"react/jsx-runtime";var Xo=w(),C=Uo(function({asChild:e,className:t,backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$="flex",overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,...be},fe){let ye=d({backgroundColor:r,borderRadius:a,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:s,borderBottomEndRadius:p,borderColor:l,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:g,borderColorOnHover:T,borderStartColor:S,borderEndColor:k,borderTopColor:R,borderBottomColor:E,borderWidth:A,borderVerticalWidth:D,borderHorizontalWidth:L,borderStartWidth:I,borderEndWidth:M,borderTopWidth:N,borderBottomWidth:H,alignContent:_,alignItems:B,alignSelf:O,flex:z,flexDirection:V,flexGrow:W,flexShrink:F,flexWrap:G,justifyContent:U,flexBasis:X,display:$,overflow:Z,overflowX:K,overflowY:Y,position:q,spacing:J,spacingHorizontal:Q,spacingVertical:j,spacingBottom:ee,spacingEnd:oe,spacingStart:te,spacingTop:re,offset:ae,offsetVertical:ne,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ie,offsetStart:le,offsetTop:ce,columnGap:de,rowGap:me,className:t});return $o(e?Xo:"div",{className:ye,ref:fe,...be})});import{jsx as Ko}from"react/jsx-runtime";var v=Zo(function({gap:e,...t},r){return Ko(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as qo,jsx as Se,jsxs as so}from"react/jsx-runtime";function Yo({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",_content:n,className:i,...s}){return so(qo,{children:[so(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,borderRadius:"md",onClick:t,className:b("hover:bg-secondary/80","w-full",i),...s,children:[Se(f,{variant:"title4",color:"primary",children:o}),Se(x,{name:r?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),Se(v,{overflow:"hidden",className:b("transition-[max-height]","duration-500","ease-in-out",r?"max-h-full":"max-h-0"),spacingHorizontal:a,...n,children:Se(v,{className:"min-h-min",children:e})})]})}var po={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Le={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function ge({variant:o="accent",size:e="s"}){let{color:t,...r}=Le.variant[o],{variant:a,...n}=Le.size[e];return{pressable:{...Le.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"sm"}}}import{jsx as Qo}from"react/jsx-runtime";function Jo({size:o,shape:e,src:t,alt:r,...a}){let n=d({...po,avatarSize:o,borderRadius:e});return Qo("img",{src:t,alt:r,className:n,...a})}import{forwardRef as jo}from"react";import{jsx as Ie,jsxs as et}from"react/jsx-runtime";var Me=jo(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...i},s){let p=ge({variant:e,size:t}),l=r?Ie(x,{name:r,...p.icon}):null,c=a?Ie(x,{name:a,...p.icon}):null;return et(P,{...p.pressable,ref:s,...i,children:[l,Ie(f,{...p.text,children:n}),c]})});import{jsx as Ne,jsxs as rt}from"react/jsx-runtime";var io={accent:"on-color",secondary:"primary"},ot={accent:"on-color",secondary:"tertiary"};function tt({children:o,variant:e,startIcon:t,startContent:r=t?Ne(x,{name:t,size:"sm",color:io[e]}):null,endIcon:a,endContent:n=a?Ne(x,{name:a,size:"sm",color:io[e]}):null}){return rt(P,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,Ne(f,{variant:"label2",color:ot[e],children:o}),n]})}import{Popover as st,PopoverAnchor as pt,PopoverArrow as it,PopoverDescription as lt,PopoverDisclosure as ct,PopoverDisclosureArrow as dt,PopoverDismiss as mt,PopoverHeading as bt,PopoverProvider as ft,usePopoverStore as He}from"@ariakit/react";import{forwardRef as at}from"react";import{jsx as nt}from"react/jsx-runtime";var ke=at(function({gap:e,...t},r){return nt(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as lo,jsxs as ht}from"react/jsx-runtime";function yt({children:o,leading:e,trailing:t}){return ht(ke,{children:[e,lo(f,{variant:"headline1",color:"primary",asChild:!0,children:lo(bt,{children:o})}),t]})}var _e=st,Be=it,ut=pt,xt=lt,gt=mt,Oe=ft,ze=ct,Pt=dt;var Tt=Oe;import{forwardRef as vt,useCallback as wt}from"react";import{jsx as Ct}from"react/jsx-runtime";var Ve=vt(function({children:e,disabled:t,onClick:r,...a},n){let i=He(),s=wt(p=>{p.preventDefault(),r?.(()=>i.setOpen(!1))},[r,i]);return Ct(P,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:b(!t&&"hover:bg-gray-2",t&&"cursor-default"),onClick:r?s:void 0,ref:n,...a,children:e})});import{jsx as Re,jsxs as co}from"react/jsx-runtime";function St({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...i}){return co(Ve,{...i,children:[a&&Re(x,{name:a,size:"sm",color:"primary"}),co(v,{gap:"3",alignItems:"flex-start",children:[o&&Re(f,{variant:"headline1",color:"primary",...t,children:o}),e&&Re(f,{variant:"label2",color:"muted",...r,children:e})]}),n&&Re(x,{name:n,size:"sm",color:"primary"})]})}import{forwardRef as kt}from"react";import{jsx as mo,jsxs as Et}from"react/jsx-runtime";var Rt=kt(function({children:e,className:t,overflow:r="scroll",...a},n){return mo(v,{borderRadius:"lg",backgroundColor:"primary",className:b("max-h-[312px] min-w-[220px] shadow-md",t),overflow:r,spacingVertical:"4",asChild:!0,children:Et(_e,{preventBodyScroll:!0,...a,ref:n,children:[mo(Be,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as bo}from"react/jsx-runtime";function At({children:o,variant:e,size:t,...r}){let a=ge({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return bo(P,{...n,...r,asChild:!0,children:bo(ze,{children:o})})}import{forwardRef as Dt}from"react";import{jsx as fo}from"react/jsx-runtime";var Lt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},We=Dt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...i},s){let p=ge({variant:e,size:t});return fo(P,{...p.pressable,spacingHorizontal:p.pressable.spacingVertical,ref:s,className:b("leading-[0px]",Lt[t],a),...i,children:fo(x,{name:r,...p.icon,color:n})})});import{Dialog as It,DialogDismiss as Mt,useDialogStore as Nt}from"@ariakit/react";import{jsx as Te,jsxs as zt}from"react/jsx-runtime";function Ht(o){return Nt({animated:!0,...o})}function _t({children:o,handleClose:e}){return zt(ke,{alignItems:"center",justifyContent:"space-between",children:[Te(f,{variant:"headline1",color:"primary",children:o}),Te(Me,{variant:"accent-ghost",size:"m",spacingEnd:"0",spacingVertical:"0",onClick:e,children:"close"})]})}function Bt({className:o,...e}){return Te(v,{borderRadius:"md",position:"fixed",backgroundColor:"primary",className:b("inset-8 top-[250px] z-50 mx-auto h-fit w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Te(It,{backdrop:Te("div",{className:"data-[enter]:bg-primary opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var Ot=Mt;import{jsx as Fe,jsxs as yo}from"react/jsx-runtime";function Vt({className:o,...e}){return yo("div",{role:"status",className:b("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[yo("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Fe("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),Fe("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),Fe("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as ve,isValidElement as Wt}from"react";import{jsx as u,jsxs as Zt}from"react/jsx-runtime";var Ft=ve(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",borderRadius:i="md",...s},p){return u(C,{asChild:!0,borderColor:n,borderRadius:i,className:t,overflow:a,display:r,...s,children:u("table",{ref:p,children:e})})}),Gt=ve(function({children:e,display:t="table-row",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tr",{ref:a,children:e})})}),Ut=ve(function({children:e,display:t="table-header-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("thead",{ref:a,children:e})})}),Xt=ve(function({children:e,display:t="table-row-group",...r},a){return u(C,{asChild:!0,display:t,...r,children:u("tbody",{ref:a,children:e})})}),$t=ve(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:i="primary",...s},p){let l=d({textAlign:"start",className:t});return u(f,{asChild:!0,variant:e?"headline1":"body1",color:i,display:r,spacing:a,borderBottomColor:n,borderBottomWidth:"thin",className:l,children:u(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:p})})});h.Root=Ft;h.Row=Gt;h.Header=Ut;h.Body=Xt;h.Cell=$t;function h({data:o,columns:e,...t}){return Zt(h.Root,{...t,children:[u(h.Header,{children:u(h.Row,{children:e.map((r,a)=>u(h.Cell,{asHeaderCell:"column",children:r.title},a))})}),u(h.Body,{children:o.map((r,a)=>u(h.Row,{children:e.map((n,i)=>{let s=r[n.dataIndex];return u(h.Cell,{children:n.render?n.render(s,r,a):Wt(s)?s:String(s)},i)})},a))})]})}import{Tab as Kt,TabList as Yt,TabPanel as qt,TabProvider as Jt,useTabContext as uo}from"@ariakit/react";import{forwardRef as xo}from"react";import{jsx as ue,jsxs as rr}from"react/jsx-runtime";var Qt=w();function jt(o){return ue(Jt,{...o})}var er=xo(function({className:e,...t},r){let a=d({display:"flex",flexDirection:"row",columnGap:"7",className:e});return ue(Yt,{ref:r,...t,className:a})}),or=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?Qt:"a",i=d({}),s=uo();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let p=s?.useState().activeId===r,l=p?"accent":"primary";return ue(Kt,{id:r,className:i,render:ue(n,{children:rr(P,{borderColor:p?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[a?ue(x,{name:a,color:l,size:"md"}):null,ue(f,{color:l,variant:"headline1",children:t})]})})})},tr=xo(function(e,t){let r=uo();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return ue(qt,{ref:t,tabId:a,...e})});import{jsx as ar}from"react/jsx-runtime";function Ge({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:i="primary",placeholderColor:s="tertiary",spacingVertical:p="5",spacingHorizontal:l="6",fontSize:c="body1",...y}){return ar("input",{type:"text","data-1p-ignore":!0,className:b(d({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:p,spacingHorizontal:l,fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:i,placeholderColor:s}),"w-full",o),disabled:e,...y})}import{jsx as nr,jsxs as sr}from"react/jsx-runtime";function Ue({children:o,required:e}){return sr(f,{variant:"caption2",color:"primary",children:[o,e&&nr(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as go,jsxs as ir}from"react/jsx-runtime";function pr({label:o,required:e,...t}){return ir(v,{gap:"4",className:"w-full",children:[go(Ue,{required:e,children:o}),go(Ge,{required:e,...t})]})}import{Slide as lr,toast as cr,ToastContainer as dr}from"react-toastify";import{jsx as Po}from"react/jsx-runtime";var mr=d({borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),br=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fr=d({backgroundColor:"positive"}),yr=d({backgroundColor:"alert"}),ur=d({backgroundColor:"accent"}),xr=d({backgroundColor:"warning"}),gr=d({backgroundColor:"accent"}),Pr=d({backgroundColor:"brand"}),hr=d({backgroundColor:"accent"}),Tr=o=>o?.type==="default"?b(mr,hr):o?.defaultClassName??"";function vr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:fr,error:yr,info:ur,warning:xr,default:gr,dark:Pr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return b(a,r)}function wr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Po(We,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Cr(o){return Po(dr,{toastClassName:Tr,bodyClassName:br,progressClassName:vr,transition:lr,closeButton:wr,...o})}export{Yo as Accordion,Jo as Avatar,Me as Button,tt as Chip,Tt as Dropdown,St as DropdownItem,Ve as DropdownItemPressable,Rt as DropdownItems,At as DropdownTrigger,We as IconButton,Bt as Modal,Ot as ModalDismiss,_t as ModalHeader,_e as Popover,ut as PopoverAnchor,Be as PopoverArrow,xt as PopoverDescription,ze as PopoverDisclosure,Pt as PopoverDisclosureArrow,gt as PopoverDismiss,yt as PopoverHeading,Oe as PopoverProvider,Vt as Spinner,or as Tab,er as TabList,tr as TabPanel,h as Table,jt as Tabs,Ge as TextInput,pr as TextInputGroup,Ue as TextInputLabel,Cr as ToastContainer,cr as toast,Ht as useModalStore,He as usePopoverStore};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var je=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var at=Object.prototype.hasOwnProperty;var lt=(o,t)=>{for(var n in t)je(o,n,{get:t[n],enumerable:!0})},dt=(o,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of it(t))!at.call(o,r)&&r!==n&&je(o,r,{get:()=>t[r],enumerable:!(l=nt(t,r))||l.enumerable});return o};var st=o=>dt(je({},"__esModule",{value:!0}),o);var Ct={};lt(Ct,{Avatar:()=>ft,Button:()=>yt,IconButton:()=>ht});module.exports=st(Ct);var fo={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},bo={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var yo={none:0,thin:1,medium:2,thick:2},uo={none:0,thin:1,medium:2,thick:4};var ho={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Co={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ce={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ke={s:16,m:24,l:32},So=Ke,Xe={sm:16,md:24,lg:32},xo=Xe;var To={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},vo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Po={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Ro={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Pe=["Helvetica Neue","Helvetica","Arial","sans-serif"],Wo=["Georgia","Times","Times New Roman","serif"],wo={icons:{fallbacks:Pe,name:"yahoo-icons"},sans:{fallbacks:Pe,name:"yahoo-sans"},"sans-beta":{fallbacks:Pe,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Pe,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Wo,name:"yahoo-serif-text"},"serif-display":{fallbacks:Wo,name:"yahoo-serif-display"}},Ye={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ze={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},qe={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},Je={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},Qe={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Je.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Re={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Qe.lineHeight,title2:36,title3:32}},eo={fontSize:{...Re.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Re.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},oo={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...eo.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},to={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...oo.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},zo={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...to.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var ro={fontFamily:Ye,fontWeight:Ze,textTransform:qe,avatarSizes:Ke,iconSizes:Xe,borderRadius:fo,borderWidth:yo,spacing:To},We={fontFamily:Ye,fontWeight:Ze,textTransform:qe,avatarSizes:So,iconSizes:xo,borderRadius:bo,borderWidth:uo,spacing:vo},we={colorMode:{light:{palette:ho,spectrum:Po},dark:{palette:Co,spectrum:Ro}},scaleMode:{xSmall:{...ro,...Je},small:{...ro,...Qe},medium:{...ro,...Re},large:{...We,...eo},xLarge:{...We,...oo},xxLarge:{...We,...to},xxxLarge:{...We,...zo}},fontFamily:wo};var ye="light",fe="large";function ze(o,t){return Object.keys(o).reduce((n,l,r)=>(n[l]=t(o[l],l,r),n),{})}var _=require("react");var Eo=require("@yahoo/uds/fixtures");function ko({spectrum:o,palette:t}){let n=ze(o,r=>ze(r,d=>`rgb(${d.replaceAll(" ",",")})`)),l=ze(t,r=>Object.entries(r).reduce((d,[f,{hue:e,step:a,opacity:b}])=>{let i=o[e][a],s=b?`rgb(${i.replaceAll(" ",",")} / ${b})`:`rgb(${i.replaceAll(" ",",")})`;return{...d,[f]:s}},{}));return{spectrum:n,palette:l}}function Fo({colorMode:o,...t}){return{...t,colorMode:{light:ko(o.light),dark:ko(o.dark)}}}function no(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var w={};function io({colorMode:o,scaleMode:t},n){let{colorMode:l,scaleMode:r,fontFamily:d,...f}=Fo(n),e={fontFamilyGlobal:d,...f,...l[o],...r[t]},a=Object.assign,b=function(D){return function(m){let U={};if(!D?.variants)return a(U,D?.base);let{base:mo,variants:et,defaultVariants:ot,compoundVariants:Ne}=D;mo&&a(U,mo);function tt(xe){if(xe){let{style:he,...Ue}=xe;for(let Te in Ue){let ve=et[Te],De=m?.[Te],go=ot?.[Te],_e=no(De)||no(go);if(_e&&_e in ve){let rt=ve[_e];a(U,rt)}}he&&a(U,he)}}if(tt(m),Ne&&Ne?.length>0)for(let xe of Ne){let{style:he,...Ue}=xe;Object.entries(Ue).every(([ve,De])=>m?.[ve]===De)&&he&&a(U,he)}return m?.style&&a(U,m.style),U}},i=e.spacing.none,s=e.spacing[1],p=e.spacing[2],c=e.spacing[3],y=e.spacing[4],u=e.spacing[5],h=e.spacing[6],C=e.spacing[7],S=e.spacing[8],x=e.spacing[9],T=e.spacing[10],v=e.spacing[11],P=e.spacing[12],R=e.spacing[13],W=e.spacing[14],z=e.palette.core.accent,k=e.palette.core.alert,F=e.palette.core.brand,E=e.palette.core.positive,B=e.palette.core.warning,H=Ce.white,M=Ce.black,V=Ce.transparent,j=e.palette.foreground.muted,K=e.palette.foreground["on-color"],X=e.palette.foreground.primary,Y=e.palette.foreground.secondary,Z=e.palette.foreground.tertiary,q=e.palette.background.primary,J=e.palette.background.secondary,I=e.palette.line.primary,G=e.palette.line.secondary,L=e.palette.line.tertiary,$=e.palette.line.muted,g=e.fontFamilyGlobal,Q=g.sans.name,ee=g["sans-beta"].name,oe=g["sans-condensed"].name,te=g["serif-text"].name,re=g["serif-display"].name,ne=g[e.fontFamily.display1].name,ie=g[e.fontFamily.display2].name,ae=g[e.fontFamily.display3].name,le=g[e.fontFamily.title1].name,de=g[e.fontFamily.title2].name,se=g[e.fontFamily.title3].name,pe=g[e.fontFamily.title4].name,ce=g[e.fontFamily.headline1].name,me=g[e.fontFamily.body1].name,be=g[e.fontFamily.label1].name,Ae=g[e.fontFamily.label2].name,Oe=g[e.fontFamily.caption1].name,Ie=g[e.fontFamily.caption2].name,Ge=g[e.fontFamily.legal1].name;function Le(ge){return!!(typeof ge=="string"&&Eo.textVariants.includes(ge))}function $e({style:ge,...D}){let co={},m;Le(D.fontWeight)?m=e.fontWeight[D.fontWeight]:m="regular";let U=b({variants:{color:{accent:{color:z},alert:{color:k},black:{color:M},brand:{color:F},positive:{color:E},warning:{color:B},white:{color:H},transparent:{color:V},muted:{color:j},"on-color":{color:K},primary:{color:X},secondary:{color:Y},tertiary:{color:Z}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${Q}-${m}`},"sans-beta":{fontFamily:`${ee}-${m}`},"sans-condensed":{fontFamily:`${oe}-${m}`},"serif-text":{fontFamily:`${te}-${m}`},"serif-display":{fontFamily:`${re}-${m}`},display1:{fontFamily:`${ne}-${m}`},display2:{fontFamily:`${ie}-${m}`},display3:{fontFamily:`${ae}-${m}`},title1:{fontFamily:`${le}-${m}`},title2:{fontFamily:`${de}-${m}`},title3:{fontFamily:`${se}-${m}`},title4:{fontFamily:`${pe}-${m}`},headline1:{fontFamily:`${ce}-${m}`},body1:{fontFamily:`${me}-${m}`},label1:{fontFamily:`${be}-${m}`},label2:{fontFamily:`${Ae}-${m}`},caption1:{fontFamily:`${Oe}-${m}`},caption2:{fontFamily:`${Ie}-${m}`},legal1:{fontFamily:`${Ge}-${m}`}},fontSize:{display1:{fontSize:e.fontSize.display1},display2:{fontSize:e.fontSize.display2},display3:{fontSize:e.fontSize.display3},title1:{fontSize:e.fontSize.title1},title2:{fontSize:e.fontSize.title2},title3:{fontSize:e.fontSize.title3},title4:{fontSize:e.fontSize.title4},headline1:{fontSize:e.fontSize.headline1},body1:{fontSize:e.fontSize.body1},label1:{fontSize:e.fontSize.label1},label2:{fontSize:e.fontSize.label2},caption1:{fontSize:e.fontSize.caption1},caption2:{fontSize:e.fontSize.caption2},legal1:{fontSize:e.fontSize.legal1}},fontWeight:{display1:{fontWeight:O[e.fontWeight.display1]},display2:{fontWeight:O[e.fontWeight.display2]},display3:{fontWeight:O[e.fontWeight.display3]},title1:{fontWeight:O[e.fontWeight.title1]},title2:{fontWeight:O[e.fontWeight.title2]},title3:{fontWeight:O[e.fontWeight.title3]},title4:{fontWeight:O[e.fontWeight.title4]},headline1:{fontWeight:O[e.fontWeight.headline1]},body1:{fontWeight:O[e.fontWeight.body1]},label1:{fontWeight:O[e.fontWeight.label1]},label2:{fontWeight:O[e.fontWeight.label2]},caption1:{fontWeight:O[e.fontWeight.caption1]},caption2:{fontWeight:O[e.fontWeight.caption2]},legal1:{fontWeight:O[e.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:e.lineHeight.display1},display2:{lineHeight:e.lineHeight.display2},display3:{lineHeight:e.lineHeight.display3},title1:{lineHeight:e.lineHeight.title1},title2:{lineHeight:e.lineHeight.title2},title3:{lineHeight:e.lineHeight.title3},title4:{lineHeight:e.lineHeight.title4},headline1:{lineHeight:e.lineHeight.headline1},body1:{lineHeight:e.lineHeight.body1},label1:{lineHeight:e.lineHeight.label1},label2:{lineHeight:e.lineHeight.label2},caption1:{lineHeight:e.lineHeight.caption1},caption2:{lineHeight:e.lineHeight.caption2},legal1:{lineHeight:e.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:z},alert:{backgroundColor:k},black:{backgroundColor:M},brand:{backgroundColor:F},positive:{backgroundColor:E},warning:{backgroundColor:B},white:{backgroundColor:H},primary:{backgroundColor:q},secondary:{backgroundColor:J},transparent:{backgroundColor:V}},spacing:{none:{padding:i},1:{padding:s},2:{padding:p},3:{padding:c},4:{padding:y},5:{padding:u},6:{padding:h},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:T},11:{padding:v},12:{padding:P},13:{padding:R},14:{padding:W}},spacingHorizontal:{none:{paddingHorizontal:i},1:{paddingHorizontal:s},2:{paddingHorizontal:p},3:{paddingHorizontal:c},4:{paddingHorizontal:y},5:{paddingHorizontal:u},6:{paddingHorizontal:h},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:T},11:{paddingHorizontal:v},12:{paddingHorizontal:P},13:{paddingHorizontal:R},14:{paddingHorizontal:W}},spacingVertical:{none:{paddingVertical:i},1:{paddingVertical:s},2:{paddingVertical:p},3:{paddingVertical:c},4:{paddingVertical:y},5:{paddingVertical:u},6:{paddingVertical:h},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:T},11:{paddingVertical:v},12:{paddingVertical:P},13:{paddingVertical:R},14:{paddingVertical:W}},spacingBottom:{none:{paddingBottom:i},1:{paddingBottom:s},2:{paddingBottom:p},3:{paddingBottom:c},4:{paddingBottom:y},5:{paddingBottom:u},6:{paddingBottom:h},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:T},11:{paddingBottom:v},12:{paddingBottom:P},13:{paddingBottom:R},14:{paddingBottom:W}},spacingEnd:{none:{paddingEnd:i},1:{paddingEnd:s},2:{paddingEnd:p},3:{paddingEnd:c},4:{paddingEnd:y},5:{paddingEnd:u},6:{paddingEnd:h},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:T},11:{paddingEnd:v},12:{paddingEnd:P},13:{paddingEnd:R},14:{paddingEnd:W}},spacingStart:{none:{paddingStart:i},1:{paddingStart:s},2:{paddingStart:p},3:{paddingStart:c},4:{paddingStart:y},5:{paddingStart:u},6:{paddingStart:h},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:T},11:{paddingStart:v},12:{paddingStart:P},13:{paddingStart:R},14:{paddingStart:W}},spacingTop:{none:{paddingTop:i},1:{paddingTop:s},2:{paddingTop:p},3:{paddingTop:c},4:{paddingTop:y},5:{paddingTop:u},6:{paddingTop:h},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:T},11:{paddingTop:v},12:{paddingTop:P},13:{paddingTop:R},14:{paddingTop:W}},offset:{none:{margin:-i},1:{margin:-s},2:{margin:-p},3:{margin:-c},4:{margin:-y},5:{margin:-u},6:{margin:-h},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-T},11:{margin:-v},12:{margin:-P},13:{margin:-R},14:{margin:-W}},offsetVertical:{none:{marginVertical:-i},1:{marginVertical:-s},2:{marginVertical:-p},3:{marginVertical:-c},4:{marginVertical:-y},5:{marginVertical:-u},6:{marginVertical:-h},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-T},11:{marginVertical:-v},12:{marginVertical:-P},13:{marginVertical:-R},14:{marginVertical:-W}},offsetHorizontal:{none:{marginHorizontal:-i},1:{marginHorizontal:-s},2:{marginHorizontal:-p},3:{marginHorizontal:-c},4:{marginHorizontal:-y},5:{marginHorizontal:-u},6:{marginHorizontal:-h},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-T},11:{marginHorizontal:-v},12:{marginHorizontal:-P},13:{marginHorizontal:-R},14:{marginHorizontal:-W}},offsetBottom:{none:{marginBottom:-i},1:{marginBottom:-s},2:{marginBottom:-p},3:{marginBottom:-c},4:{marginBottom:-y},5:{marginBottom:-u},6:{marginBottom:-h},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-T},11:{marginBottom:-v},12:{marginBottom:-P},13:{marginBottom:-R},14:{marginBottom:-W}},offsetEnd:{none:{marginEnd:-i},1:{marginEnd:-s},2:{marginEnd:-p},3:{marginEnd:-c},4:{marginEnd:-y},5:{marginEnd:-u},6:{marginEnd:-h},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-T},11:{marginEnd:-v},12:{marginEnd:-P},13:{marginEnd:-R},14:{marginEnd:-W}},offsetStart:{none:{marginStart:-i},1:{marginStart:-s},2:{marginStart:-p},3:{marginStart:-c},4:{marginStart:-y},5:{marginStart:-u},6:{marginStart:-h},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-T},11:{marginStart:-v},12:{marginStart:-P},13:{marginStart:-R},14:{marginStart:-W}},offsetTop:{none:{marginTop:-i},1:{marginTop:-s},2:{marginTop:-p},3:{marginTop:-c},4:{marginTop:-y},5:{marginTop:-u},6:{marginTop:-h},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-T},11:{marginTop:-v},12:{marginTop:-P},13:{marginTop:-R},14:{marginTop:-W}},columnGap:{none:{columnGap:i},1:{columnGap:s},2:{columnGap:p},3:{columnGap:c},4:{columnGap:y},5:{columnGap:u},6:{columnGap:h},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:T},11:{columnGap:v},12:{columnGap:P},13:{columnGap:R},14:{columnGap:W}},rowGap:{none:{rowGap:i},1:{rowGap:s},2:{rowGap:p},3:{rowGap:c},4:{rowGap:y},5:{rowGap:u},6:{rowGap:h},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:T},11:{rowGap:v},12:{rowGap:P},13:{rowGap:R},14:{rowGap:W}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":w,"table-cell":w,"table-column":w,"table-column-group":w,"table-footer-group":w,"table-header-group":w,"table-row-group":w,"table-row":w,"flow-root":w,grid:w,contents:w},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:w,fixed:w,absolute:{position:"absolute"},relative:{position:"relative"},sticky:w},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:E},warning:{borderColor:B},white:{borderColor:H},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnActive:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:E},warning:{borderColor:B},white:{borderColor:H},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnFocus:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:E},warning:{borderColor:B},white:{borderColor:H},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnHover:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:E},warning:{borderColor:B},white:{borderColor:H},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderColorOnChecked:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:E},warning:{borderColor:B},white:{borderColor:H},transparent:{borderColor:V},muted:{borderColor:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},borderStartColor:{accent:{borderStartColor:z},alert:{borderStartColor:k},black:{borderStartColor:M},brand:{borderStartColor:F},positive:{borderStartColor:E},warning:{borderStartColor:B},white:{borderStartColor:H},transparent:{borderStartColor:V},muted:{borderStartColor:$},primary:{borderStartColor:I},secondary:{borderStartColor:G},tertiary:{borderStartColor:L}},borderEndColor:{accent:{borderEndColor:z},alert:{borderEndColor:k},black:{borderEndColor:M},brand:{borderEndColor:F},positive:{borderEndColor:E},warning:{borderEndColor:B},white:{borderEndColor:H},transparent:{borderEndColor:V},muted:{borderEndColor:$},primary:{borderEndColor:I},secondary:{borderEndColor:G},tertiary:{borderEndColor:L}},borderBottomColor:{accent:{borderBottomColor:z},alert:{borderBottomColor:k},black:{borderBottomColor:M},brand:{borderBottomColor:F},positive:{borderBottomColor:E},warning:{borderBottomColor:B},white:{borderBottomColor:H},transparent:{borderBottomColor:V},muted:{borderBottomColor:$},primary:{borderBottomColor:I},secondary:{borderBottomColor:G},tertiary:{borderBottomColor:L}},borderTopColor:{accent:{borderTopColor:z},alert:{borderTopColor:k},black:{borderTopColor:M},brand:{borderTopColor:F},positive:{borderTopColor:E},warning:{borderTopColor:B},white:{borderTopColor:H},transparent:{borderTopColor:V},muted:{borderTopColor:$},primary:{borderTopColor:I},secondary:{borderTopColor:G},tertiary:{borderTopColor:L}},borderRadius:{none:{borderRadius:e.borderRadius.none},xs:{borderRadius:e.borderRadius.xs},sm:{borderRadius:e.borderRadius.sm},md:{borderRadius:e.borderRadius.md},lg:{borderRadius:e.borderRadius.lg},xl:{borderRadius:e.borderRadius.xl},full:{borderRadius:e.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:e.borderRadius.none},xs:{borderTopStartRadius:e.borderRadius.xs},sm:{borderTopStartRadius:e.borderRadius.sm},md:{borderTopStartRadius:e.borderRadius.md},lg:{borderTopStartRadius:e.borderRadius.lg},xl:{borderTopStartRadius:e.borderRadius.xl},full:{borderTopStartRadius:e.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:e.borderRadius.none},xs:{borderTopEndRadius:e.borderRadius.xs},sm:{borderTopEndRadius:e.borderRadius.sm},md:{borderTopEndRadius:e.borderRadius.md},lg:{borderTopEndRadius:e.borderRadius.lg},xl:{borderTopEndRadius:e.borderRadius.xl},full:{borderTopEndRadius:e.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:e.borderRadius.none},xs:{borderBottomStartRadius:e.borderRadius.xs},sm:{borderBottomStartRadius:e.borderRadius.sm},md:{borderBottomStartRadius:e.borderRadius.md},lg:{borderBottomStartRadius:e.borderRadius.lg},xl:{borderBottomStartRadius:e.borderRadius.xl},full:{borderBottomStartRadius:e.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:e.borderRadius.none},xs:{borderBottomEndRadius:e.borderRadius.xs},sm:{borderBottomEndRadius:e.borderRadius.sm},md:{borderBottomEndRadius:e.borderRadius.md},lg:{borderBottomEndRadius:e.borderRadius.lg},xl:{borderBottomEndRadius:e.borderRadius.xl},full:{borderBottomEndRadius:e.borderRadius.full}},borderWidth:{none:{borderWidth:e.borderWidth.none},thin:{borderWidth:e.borderWidth.thin},medium:{borderWidth:e.borderWidth.medium},thick:{borderWidth:e.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:e.borderWidth.none,borderBottomWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin,borderBottomWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium,borderBottomWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick,borderBottomWidth:e.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:e.borderWidth.none,borderEndWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin,borderEndWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium,borderEndWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick,borderEndWidth:e.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:e.borderWidth.none},thin:{borderEndWidth:e.borderWidth.thin},medium:{borderEndWidth:e.borderWidth.medium},thick:{borderEndWidth:e.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:e.borderWidth.none},thin:{borderBottomWidth:e.borderWidth.thin},medium:{borderBottomWidth:e.borderWidth.medium},thick:{borderBottomWidth:e.borderWidth.thick}},contentFit:{contain:w,cover:w,fill:w,none:w,"scale-down":w},textTransform:{display1:{textTransform:e.textTransform.display1},display2:{textTransform:e.textTransform.display2},display3:{textTransform:e.textTransform.display3},title1:{textTransform:e.textTransform.title1},title2:{textTransform:e.textTransform.title2},title3:{textTransform:e.textTransform.title3},title4:{textTransform:e.textTransform.title4},headline1:{textTransform:e.textTransform.headline1},body1:{textTransform:e.textTransform.body1},label1:{textTransform:e.textTransform.label1},label2:{textTransform:e.textTransform.label2},caption1:{textTransform:e.textTransform.caption1},caption2:{textTransform:e.textTransform.caption2},legal1:{textTransform:e.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(D);return a(co,U,ge)}return{cva:b,getStyles:$e,tokens:e}}var ao=io({colorMode:ye,scaleMode:fe},we);var ke=require("react"),ct=require("react/jsx-runtime"),pt=(0,ke.createContext)(ye);function Bo(){return(0,ke.useContext)(pt)}var Fe=require("react"),gt=require("react/jsx-runtime"),mt=(0,Fe.createContext)(fe);function Ho(){let o=(0,Fe.useContext)(mt);return o||fe}var Vo=require("react/jsx-runtime"),Mo=(0,_.createContext)(ao),ir=(0,_.memo)(function({children:t,value:n=we}){let l=Bo(),r=Ho(),d=(0,_.useMemo)(()=>n===void 0&&l===ye&&r===fe?ao:io({colorMode:l,scaleMode:r},n),[l,r,n]);return(0,Vo.jsx)(Mo.Provider,{value:d,children:t})});function N(o){let{getStyles:t}=(0,_.useContext)(Mo);return t(o)}var Ao={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},lo={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ee({variant:o="accent",size:t="s"}){let{color:n,...l}=lo.variant[o],{variant:r,...d}=lo.size[t];return{pressable:{...lo.base,...l,...d},text:{color:n,variant:r,textAlign:"center"},icon:{color:n,size:"sm"}}}var Oo=require("expo-image");var Go=require("react/jsx-runtime");function Io({width:o,height:t,src:n,alt:l,contentFit:r="cover",backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:y,borderColorOnHover:u,borderStartColor:h,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:P,borderStartWidth:R,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:E,alignSelf:B,flex:H,flexDirection:M,flexGrow:V,flexShrink:j="0",flexWrap:K,justifyContent:X,flexBasis:Y,display:Z="flex",overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,...me}){let be=N({contentFit:r,backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:y,borderColorOnHover:u,borderStartColor:h,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:P,borderStartWidth:R,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:E,alignSelf:B,flex:H,flexDirection:M,flexGrow:V,flexShrink:j,flexWrap:K,justifyContent:X,flexBasis:Y,display:Z,overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,style:{width:o,height:t,justifyContent:"flex-start"}});return(0,Go.jsx)(Oo.Image,{source:n,alt:l,style:be,contentFit:r,contentPosition:"left",...me})}var Lo=require("react/jsx-runtime");function ft({size:o,shape:t,contentFit:n="cover",...l}){let r=N({...Ao,avatarSize:o,borderRadius:t});return(0,Lo.jsx)(Io,{style:r,contentFit:n,...l})}var qo=require("react");var Uo=require("react");var A=require("react");function bt(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function $o(...o){return t=>o.forEach(n=>bt(n,t))}var so=require("react/jsx-runtime");function Be(){let o=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d,b=A.Children.toArray(e),i=b.find(l);if(i){let s=i.props.children,p=b.map(c=>c===i?A.Children.count(s)>1?A.Children.only(null):(0,A.isValidElement)(s)?s.props.children:null:c);return(0,so.jsx)(t,{...a,ref:f,children:(0,A.isValidElement)(s)?(0,A.cloneElement)(s,void 0,p):null})}return(0,so.jsx)(t,{...a,ref:f,children:e})});o.displayName="Slot";let t=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d;return(0,A.isValidElement)(e)?(0,A.cloneElement)(e,{...r(a,e.props),ref:f?$o(f,e.ref):e.ref}):A.Children.count(e)>1?A.Children.only(null):null});t.displayName="SlotClone";let n=({children:d})=>d;function l(d){return(0,A.isValidElement)(d)&&d.type===n}function r(d,f){let e={...f};for(let a in f){let b=d[a],i=f[a];/^on[A-Z]/.test(a)?b&&i?e[a]=(...p)=>{i(...p),b(...p)}:b&&(e[a]=b):a==="style"&&(e[a]={...b,...i})}return{...d,...e}}return o}var He="RCTText",hr=Be(),Me=Be(),No=Be();var Do=require("react/jsx-runtime"),Se=(0,Uo.forwardRef)(function({style:t,asChild:n=!1,size:l,color:r,name:d,textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:c,offset:y,offsetBottom:u,offsetEnd:h,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,...v},P){let R=N({color:r,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:c,offset:y,offsetBottom:u,offsetEnd:h,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,iconSize:l,style:t});return(0,Do.jsx)(n?Me:He,{ref:P,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...v,children:d})});var _o=require("react"),jo=require("react-native");var Ko=require("react/jsx-runtime"),Ve=(0,_o.forwardRef)(function({style:t,asChild:n=!1,backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:y,borderEndColor:u,borderTopColor:h,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:P,borderTopWidth:R,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:E,flexBasis:B,flexDirection:H,flexGrow:M,flexShrink:V,flexWrap:j,justifyContent:K,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,...pe},ce){let me=N({backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:y,borderEndColor:u,borderTopColor:h,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:P,borderTopWidth:R,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:E,flexDirection:H,flexGrow:M,flexShrink:V,flexWrap:j,justifyContent:K,flexBasis:B,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,style:t});return(0,Ko.jsx)(n?No:jo.Pressable,{style:me,ref:ce,...pe})});var Xo=require("react");var Zo=require("react/jsx-runtime"),Yo=(0,Xo.forwardRef)(function({style:t,asChild:n,color:l="primary",variant:r="body1",fontSize:d=r,fontFamily:f=r,fontWeight:e=r,lineHeight:a=r,textTransform:b=r,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:y,borderBottomStartRadius:u,borderBottomEndRadius:h,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:P,borderEndColor:R,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:H,borderTopWidth:M,borderBottomWidth:V,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:be,offsetStart:Ae,offsetTop:Oe,columnGap:Ie,rowGap:Ge,...Le},$e){let ge=N({style:t,color:l,fontFamily:f,fontSize:d,fontWeight:e,lineHeight:a,textTransform:b,textAlign:i,backgroundColor:s,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:y,borderBottomStartRadius:u,borderBottomEndRadius:h,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:P,borderEndColor:R,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:E,borderStartWidth:B,borderEndWidth:H,borderTopWidth:M,borderBottomWidth:V,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:be,offsetStart:Ae,offsetTop:Oe,columnGap:Ie,rowGap:Ge});return(0,Zo.jsx)(n?Me:He,{style:ge,ref:$e,maxFontSizeMultiplier:1,allowFontScaling:!1,...Le})});var ue=require("react/jsx-runtime"),yt=(0,qo.forwardRef)(function({variant:t="accent",size:n,startIcon:l,endIcon:r,children:d,...f},e){let a=Ee({variant:t,size:n}),b=l?(0,ue.jsx)(Se,{name:l,...a.icon}):null,i=r?(0,ue.jsx)(Se,{name:r,...a.icon}):null;return(0,ue.jsxs)(Ve,{ref:e,...a.pressable,...f,children:[b,(0,ue.jsx)(Yo,{...a.text,children:d}),i]})});var Qo=require("react");var po=require("react/jsx-runtime"),Jo={s:36,m:48,l:64},ut={},ht=(0,Qo.forwardRef)(function({variant:t="accent",size:n="s",name:l,style:r=ut,...d},f){let e=Ee({variant:t,size:n});return(0,po.jsx)(Ve,{ref:f,...e.pressable,flexShrink:"0",style:{...r,width:Jo[n],height:Jo[n]},...d,children:(0,po.jsx)(Se,{name:l,...e.icon})})});0&&(module.exports={Avatar,Button,IconButton});
|
1
|
+
"use strict";var Io=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Ut=Object.getOwnPropertyNames;var Dt=Object.prototype.hasOwnProperty;var Nt=(e,r)=>{for(var i in r)Io(e,i,{get:r[i],enumerable:!0})},_t=(e,r,i,l)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Ut(r))!Dt.call(e,n)&&n!==i&&Io(e,n,{get:()=>r[n],enumerable:!(l=$t(r,n))||l.enumerable});return e};var jt=e=>_t(Io({},"__esModule",{value:!0}),e);var ee={};Nt(ee,{Avatar:()=>qt,Button:()=>Qt,IconButton:()=>te});module.exports=jt(ee);var rt={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},nt={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var it={none:0,thin:1,medium:2,thick:2},at={none:0,thin:1,medium:2,thick:4};var lt={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},dt={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},To={white:"#ffffff",black:"#000000",transparent:"transparent"};var Lo={s:16,m:24,l:32},st=Lo,$o={sm:16,md:24,lg:32},pt=$o;var gt={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},mt={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Po=["Helvetica Neue","Helvetica","Arial","sans-serif"],ct=["Georgia","Times","Times New Roman","serif"],ft={icons:{fallbacks:Po,name:"yahoo-icons"},sans:{fallbacks:Po,name:"yahoo-sans"},"sans-beta":{fallbacks:Po,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Po,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:ct,name:"yahoo-serif-text"},"serif-display":{fallbacks:ct,name:"yahoo-serif-display"}},Uo={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},v={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Do={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},No={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},_o={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},jo={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{..._o.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},zo={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...jo.lineHeight,title2:36,title3:32}},Ko={fontSize:{...zo.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...zo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Xo={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...Ko.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Yo={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Xo.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},bt={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...Yo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Zo={fontFamily:Uo,fontWeight:Do,textTransform:No,avatarSizes:Lo,iconSizes:$o,borderRadius:rt,borderWidth:it},wo={fontFamily:Uo,fontWeight:Do,textTransform:No,avatarSizes:st,iconSizes:pt,borderRadius:nt,borderWidth:at},Ro={colorMode:{light:{palette:lt,spectrum:gt},dark:{palette:dt,spectrum:mt}},scaleMode:{xSmall:{...Zo,..._o},small:{...Zo,...jo},medium:{...Zo,...zo},large:{...wo,...Ko},xLarge:{...wo,...Xo},xxLarge:{...wo,...Yo},xxxLarge:{...wo,...bt}},fontFamily:ft};var ho="light",fo="large";function Wo(e,r){return Object.keys(e).reduce((i,l,n)=>(i[l]=r(e[l],l,n),i),{})}var U=require("react");var o=require("@yahoo/uds/fixtures");function yt({spectrum:e,palette:r}){let i=Wo(e,n=>Wo(n,d=>`rgb(${d.replaceAll(" ",",")})`)),l=Wo(r,n=>Object.entries(n).reduce((d,[c,{hue:t,step:a,opacity:f}])=>{let p=e[t][a],g=f?`rgb(${p.replaceAll(" ",",")} / ${f})`:`rgb(${p.replaceAll(" ",",")})`;return{...d,[c]:g}},{}));return{spectrum:i,palette:l}}function ut({colorMode:e,...r}){return{...r,colorMode:{light:yt(e.light),dark:yt(e.dark)}}}function qo(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var C={};function Jo({colorMode:e,scaleMode:r},i){let{colorMode:l,scaleMode:n,fontFamily:d,...c}=ut(i),t={fontFamilyGlobal:d,...c,...l[e],...n[r]},a=Object.assign,f=function(E){return function(s){let W={};if(!E?.variants)return a(W,E?.base);let{base:L,variants:go,defaultVariants:mo,compoundVariants:$}=E;L&&a(W,L);function Mo(bo){if(bo){let{style:co,...xo}=bo;for(let yo in xo){let uo=go[yo],Co=s?.[yo],Ao=mo?.[yo],Oo=qo(Co)||qo(Ao);if(Oo&&Oo in uo){let Lt=uo[Oo];a(W,Lt)}}co&&a(W,co)}}if(Mo(s),$&&$?.length>0)for(let bo of $){let{style:co,...xo}=bo;Object.entries(xo).every(([uo,Co])=>s?.[uo]===Co)&&co&&a(W,co)}return s?.style&&a(W,s.style),W}},p=t.palette.core.accent,g=t.palette.core.alert,b=t.palette.core.brand,y=t.palette.core.positive,u=t.palette.core.warning,h=To.white,S=To.black,x=To.transparent,k=t.palette.foreground.muted,V=t.palette.foreground["on-color"],F=t.palette.foreground.primary,G=t.palette.foreground.secondary,M=t.palette.foreground.tertiary,A=t.palette.background.primary,O=t.palette.background.secondary,P=t.palette.line.primary,z=t.palette.line.secondary,w=t.palette.line.tertiary,R=t.palette.line.muted,m=t.fontFamilyGlobal,D=m.sans.name,N=m["sans-beta"].name,_=m["sans-condensed"].name,j=m["serif-text"].name,K=m["serif-display"].name,X=m[t.fontFamily.display1].name,Y=m[t.fontFamily.display2].name,Z=m[t.fontFamily.display3].name,q=m[t.fontFamily.title1].name,J=m[t.fontFamily.title2].name,Q=m[t.fontFamily.title3].name,oo=m[t.fontFamily.title4].name,to=m[t.fontFamily.headline1].name,eo=m[t.fontFamily.body1].name,ro=m[t.fontFamily.label1].name,no=m[t.fontFamily.label2].name,io=m[t.fontFamily.caption1].name,ao=m[t.fontFamily.caption2].name,lo=m[t.fontFamily.legal1].name;function so(B){return!!(typeof B=="string"&&o.textVariants.includes(B))}function po({style:B,...E}){let I={},s;so(E.fontWeight)?s=t.fontWeight[E.fontWeight]:s="regular";let W=f({variants:{color:{accent:{color:p},alert:{color:g},black:{color:S},brand:{color:b},positive:{color:y},warning:{color:u},white:{color:h},transparent:{color:x},muted:{color:k},"on-color":{color:V},primary:{color:F},secondary:{color:G},tertiary:{color:M}},fontFamily:{icons:{fontFamily:m.icons.name},sans:{fontFamily:`${D}-${s}`},"sans-beta":{fontFamily:`${N}-${s}`},"sans-condensed":{fontFamily:`${_}-${s}`},"serif-text":{fontFamily:`${j}-${s}`},"serif-display":{fontFamily:`${K}-${s}`},display1:{fontFamily:`${X}-${s}`},display2:{fontFamily:`${Y}-${s}`},display3:{fontFamily:`${Z}-${s}`},title1:{fontFamily:`${q}-${s}`},title2:{fontFamily:`${J}-${s}`},title3:{fontFamily:`${Q}-${s}`},title4:{fontFamily:`${oo}-${s}`},headline1:{fontFamily:`${to}-${s}`},body1:{fontFamily:`${eo}-${s}`},label1:{fontFamily:`${ro}-${s}`},label2:{fontFamily:`${no}-${s}`},caption1:{fontFamily:`${io}-${s}`},caption2:{fontFamily:`${ao}-${s}`},legal1:{fontFamily:`${lo}-${s}`}},fontSize:{display1:{fontSize:t.fontSize.display1},display2:{fontSize:t.fontSize.display2},display3:{fontSize:t.fontSize.display3},title1:{fontSize:t.fontSize.title1},title2:{fontSize:t.fontSize.title2},title3:{fontSize:t.fontSize.title3},title4:{fontSize:t.fontSize.title4},headline1:{fontSize:t.fontSize.headline1},body1:{fontSize:t.fontSize.body1},label1:{fontSize:t.fontSize.label1},label2:{fontSize:t.fontSize.label2},caption1:{fontSize:t.fontSize.caption1},caption2:{fontSize:t.fontSize.caption2},legal1:{fontSize:t.fontSize.legal1}},fontWeight:{display1:{fontWeight:v[t.fontWeight.display1]},display2:{fontWeight:v[t.fontWeight.display2]},display3:{fontWeight:v[t.fontWeight.display3]},title1:{fontWeight:v[t.fontWeight.title1]},title2:{fontWeight:v[t.fontWeight.title2]},title3:{fontWeight:v[t.fontWeight.title3]},title4:{fontWeight:v[t.fontWeight.title4]},headline1:{fontWeight:v[t.fontWeight.headline1]},body1:{fontWeight:v[t.fontWeight.body1]},label1:{fontWeight:v[t.fontWeight.label1]},label2:{fontWeight:v[t.fontWeight.label2]},caption1:{fontWeight:v[t.fontWeight.caption1]},caption2:{fontWeight:v[t.fontWeight.caption2]},legal1:{fontWeight:v[t.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:t.lineHeight.display1},display2:{lineHeight:t.lineHeight.display2},display3:{lineHeight:t.lineHeight.display3},title1:{lineHeight:t.lineHeight.title1},title2:{lineHeight:t.lineHeight.title2},title3:{lineHeight:t.lineHeight.title3},title4:{lineHeight:t.lineHeight.title4},headline1:{lineHeight:t.lineHeight.headline1},body1:{lineHeight:t.lineHeight.body1},label1:{lineHeight:t.lineHeight.label1},label2:{lineHeight:t.lineHeight.label2},caption1:{lineHeight:t.lineHeight.caption1},caption2:{lineHeight:t.lineHeight.caption2},legal1:{lineHeight:t.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:p},alert:{backgroundColor:g},black:{backgroundColor:S},brand:{backgroundColor:b},positive:{backgroundColor:y},warning:{backgroundColor:u},white:{backgroundColor:h},primary:{backgroundColor:A},secondary:{backgroundColor:O},transparent:{backgroundColor:x}},spacing:{0:{padding:o.spacingMap[0]},px:{padding:o.spacingMap.px},"0.5":{padding:o.spacingMap["0.5"]},1:{padding:o.spacingMap[1]},"1.5":{padding:o.spacingMap["1.5"]},2:{padding:o.spacingMap[2]},"2.5":{padding:o.spacingMap["2.5"]},3:{padding:o.spacingMap[3]},"3.5":{padding:o.spacingMap["3.5"]},4:{padding:o.spacingMap[4]},5:{padding:o.spacingMap[5]},6:{padding:o.spacingMap[6]},7:{padding:o.spacingMap[7]},8:{padding:o.spacingMap[8]},9:{padding:o.spacingMap[9]},10:{padding:o.spacingMap[10]},11:{padding:o.spacingMap[11]},12:{padding:o.spacingMap[12]},14:{padding:o.spacingMap[14]},16:{padding:o.spacingMap[16]},20:{padding:o.spacingMap[20]},24:{padding:o.spacingMap[24]},28:{padding:o.spacingMap[28]},32:{padding:o.spacingMap[32]},36:{padding:o.spacingMap[36]},40:{padding:o.spacingMap[40]},44:{padding:o.spacingMap[44]},48:{padding:o.spacingMap[48]},52:{padding:o.spacingMap[52]},56:{padding:o.spacingMap[56]},60:{padding:o.spacingMap[60]},64:{padding:o.spacingMap[64]},72:{padding:o.spacingMap[72]},80:{padding:o.spacingMap[80]},96:{padding:o.spacingMap[96]}},spacingHorizontal:{0:{paddingHorizontal:o.spacingMap[0]},px:{paddingHorizontal:o.spacingMap.px},"0.5":{paddingHorizontal:o.spacingMap["0.5"]},1:{paddingHorizontal:o.spacingMap[1]},"1.5":{paddingHorizontal:o.spacingMap["1.5"]},2:{paddingHorizontal:o.spacingMap[2]},"2.5":{paddingHorizontal:o.spacingMap["2.5"]},3:{paddingHorizontal:o.spacingMap[3]},"3.5":{paddingHorizontal:o.spacingMap["3.5"]},4:{paddingHorizontal:o.spacingMap[4]},5:{paddingHorizontal:o.spacingMap[5]},6:{paddingHorizontal:o.spacingMap[6]},7:{paddingHorizontal:o.spacingMap[7]},8:{paddingHorizontal:o.spacingMap[8]},9:{paddingHorizontal:o.spacingMap[9]},10:{paddingHorizontal:o.spacingMap[10]},11:{paddingHorizontal:o.spacingMap[11]},12:{paddingHorizontal:o.spacingMap[12]},14:{paddingHorizontal:o.spacingMap[14]},16:{paddingHorizontal:o.spacingMap[16]},20:{paddingHorizontal:o.spacingMap[20]},24:{paddingHorizontal:o.spacingMap[24]},28:{paddingHorizontal:o.spacingMap[28]},32:{paddingHorizontal:o.spacingMap[32]},36:{paddingHorizontal:o.spacingMap[36]},40:{paddingHorizontal:o.spacingMap[40]},44:{paddingHorizontal:o.spacingMap[44]},48:{paddingHorizontal:o.spacingMap[48]},52:{paddingHorizontal:o.spacingMap[52]},56:{paddingHorizontal:o.spacingMap[56]},60:{paddingHorizontal:o.spacingMap[60]},64:{paddingHorizontal:o.spacingMap[64]},72:{paddingHorizontal:o.spacingMap[72]},80:{paddingHorizontal:o.spacingMap[80]},96:{paddingHorizontal:o.spacingMap[96]}},spacingVertical:{0:{paddingVertical:o.spacingMap[0]},px:{paddingVertical:o.spacingMap.px},"0.5":{paddingVertical:o.spacingMap["0.5"]},1:{paddingVertical:o.spacingMap[1]},"1.5":{paddingVertical:o.spacingMap["1.5"]},2:{paddingVertical:o.spacingMap[2]},"2.5":{paddingVertical:o.spacingMap["2.5"]},3:{paddingVertical:o.spacingMap[3]},"3.5":{paddingVertical:o.spacingMap["3.5"]},4:{paddingVertical:o.spacingMap[4]},5:{paddingVertical:o.spacingMap[5]},6:{paddingVertical:o.spacingMap[6]},7:{paddingVertical:o.spacingMap[7]},8:{paddingVertical:o.spacingMap[8]},9:{paddingVertical:o.spacingMap[9]},10:{paddingVertical:o.spacingMap[10]},11:{paddingVertical:o.spacingMap[11]},12:{paddingVertical:o.spacingMap[12]},14:{paddingVertical:o.spacingMap[14]},16:{paddingVertical:o.spacingMap[16]},20:{paddingVertical:o.spacingMap[20]},24:{paddingVertical:o.spacingMap[24]},28:{paddingVertical:o.spacingMap[28]},32:{paddingVertical:o.spacingMap[32]},36:{paddingVertical:o.spacingMap[36]},40:{paddingVertical:o.spacingMap[40]},44:{paddingVertical:o.spacingMap[44]},48:{paddingVertical:o.spacingMap[48]},52:{paddingVertical:o.spacingMap[52]},56:{paddingVertical:o.spacingMap[56]},60:{paddingVertical:o.spacingMap[60]},64:{paddingVertical:o.spacingMap[64]},72:{paddingVertical:o.spacingMap[72]},80:{paddingVertical:o.spacingMap[80]},96:{paddingVertical:o.spacingMap[96]}},spacingBottom:{0:{paddingBottom:o.spacingMap[0]},px:{paddingBottom:o.spacingMap.px},"0.5":{paddingBottom:o.spacingMap["0.5"]},1:{paddingBottom:o.spacingMap[1]},"1.5":{paddingBottom:o.spacingMap["1.5"]},2:{paddingBottom:o.spacingMap[2]},"2.5":{paddingBottom:o.spacingMap["2.5"]},3:{paddingBottom:o.spacingMap[3]},"3.5":{paddingBottom:o.spacingMap["3.5"]},4:{paddingBottom:o.spacingMap[4]},5:{paddingBottom:o.spacingMap[5]},6:{paddingBottom:o.spacingMap[6]},7:{paddingBottom:o.spacingMap[7]},8:{paddingBottom:o.spacingMap[8]},9:{paddingBottom:o.spacingMap[9]},10:{paddingBottom:o.spacingMap[10]},11:{paddingBottom:o.spacingMap[11]},12:{paddingBottom:o.spacingMap[12]},14:{paddingBottom:o.spacingMap[14]},16:{paddingBottom:o.spacingMap[16]},20:{paddingBottom:o.spacingMap[20]},24:{paddingBottom:o.spacingMap[24]},28:{paddingBottom:o.spacingMap[28]},32:{paddingBottom:o.spacingMap[32]},36:{paddingBottom:o.spacingMap[36]},40:{paddingBottom:o.spacingMap[40]},44:{paddingBottom:o.spacingMap[44]},48:{paddingBottom:o.spacingMap[48]},52:{paddingBottom:o.spacingMap[52]},56:{paddingBottom:o.spacingMap[56]},60:{paddingBottom:o.spacingMap[60]},64:{paddingBottom:o.spacingMap[64]},72:{paddingBottom:o.spacingMap[72]},80:{paddingBottom:o.spacingMap[80]},96:{paddingBottom:o.spacingMap[96]}},spacingEnd:{0:{paddingEnd:o.spacingMap[0]},px:{paddingEnd:o.spacingMap.px},"0.5":{paddingEnd:o.spacingMap["0.5"]},1:{paddingEnd:o.spacingMap[1]},"1.5":{paddingEnd:o.spacingMap["1.5"]},2:{paddingEnd:o.spacingMap[2]},"2.5":{paddingEnd:o.spacingMap["2.5"]},3:{paddingEnd:o.spacingMap[3]},"3.5":{paddingEnd:o.spacingMap["3.5"]},4:{paddingEnd:o.spacingMap[4]},5:{paddingEnd:o.spacingMap[5]},6:{paddingEnd:o.spacingMap[6]},7:{paddingEnd:o.spacingMap[7]},8:{paddingEnd:o.spacingMap[8]},9:{paddingEnd:o.spacingMap[9]},10:{paddingEnd:o.spacingMap[10]},11:{paddingEnd:o.spacingMap[11]},12:{paddingEnd:o.spacingMap[12]},14:{paddingEnd:o.spacingMap[14]},16:{paddingEnd:o.spacingMap[16]},20:{paddingEnd:o.spacingMap[20]},24:{paddingEnd:o.spacingMap[24]},28:{paddingEnd:o.spacingMap[28]},32:{paddingEnd:o.spacingMap[32]},36:{paddingEnd:o.spacingMap[36]},40:{paddingEnd:o.spacingMap[40]},44:{paddingEnd:o.spacingMap[44]},48:{paddingEnd:o.spacingMap[48]},52:{paddingEnd:o.spacingMap[52]},56:{paddingEnd:o.spacingMap[56]},60:{paddingEnd:o.spacingMap[60]},64:{paddingEnd:o.spacingMap[64]},72:{paddingEnd:o.spacingMap[72]},80:{paddingEnd:o.spacingMap[80]},96:{paddingEnd:o.spacingMap[96]}},spacingStart:{0:{paddingStart:o.spacingMap[0]},px:{paddingStart:o.spacingMap.px},"0.5":{paddingStart:o.spacingMap["0.5"]},1:{paddingStart:o.spacingMap[1]},"1.5":{paddingStart:o.spacingMap["1.5"]},2:{paddingStart:o.spacingMap[2]},"2.5":{paddingStart:o.spacingMap["2.5"]},3:{paddingStart:o.spacingMap[3]},"3.5":{paddingStart:o.spacingMap["3.5"]},4:{paddingStart:o.spacingMap[4]},5:{paddingStart:o.spacingMap[5]},6:{paddingStart:o.spacingMap[6]},7:{paddingStart:o.spacingMap[7]},8:{paddingStart:o.spacingMap[8]},9:{paddingStart:o.spacingMap[9]},10:{paddingStart:o.spacingMap[10]},11:{paddingStart:o.spacingMap[11]},12:{paddingStart:o.spacingMap[12]},14:{paddingStart:o.spacingMap[14]},16:{paddingStart:o.spacingMap[16]},20:{paddingStart:o.spacingMap[20]},24:{paddingStart:o.spacingMap[24]},28:{paddingStart:o.spacingMap[28]},32:{paddingStart:o.spacingMap[32]},36:{paddingStart:o.spacingMap[36]},40:{paddingStart:o.spacingMap[40]},44:{paddingStart:o.spacingMap[44]},48:{paddingStart:o.spacingMap[48]},52:{paddingStart:o.spacingMap[52]},56:{paddingStart:o.spacingMap[56]},60:{paddingStart:o.spacingMap[60]},64:{paddingStart:o.spacingMap[64]},72:{paddingStart:o.spacingMap[72]},80:{paddingStart:o.spacingMap[80]},96:{paddingStart:o.spacingMap[96]}},spacingTop:{0:{paddingTop:o.spacingMap[0]},px:{paddingTop:o.spacingMap.px},"0.5":{paddingTop:o.spacingMap["0.5"]},1:{paddingTop:o.spacingMap[1]},"1.5":{paddingTop:o.spacingMap["1.5"]},2:{paddingTop:o.spacingMap[2]},"2.5":{paddingTop:o.spacingMap["2.5"]},3:{paddingTop:o.spacingMap[3]},"3.5":{paddingTop:o.spacingMap["3.5"]},4:{paddingTop:o.spacingMap[4]},5:{paddingTop:o.spacingMap[5]},6:{paddingTop:o.spacingMap[6]},7:{paddingTop:o.spacingMap[7]},8:{paddingTop:o.spacingMap[8]},9:{paddingTop:o.spacingMap[9]},10:{paddingTop:o.spacingMap[10]},11:{paddingTop:o.spacingMap[11]},12:{paddingTop:o.spacingMap[12]},14:{paddingTop:o.spacingMap[14]},16:{paddingTop:o.spacingMap[16]},20:{paddingTop:o.spacingMap[20]},24:{paddingTop:o.spacingMap[24]},28:{paddingTop:o.spacingMap[28]},32:{paddingTop:o.spacingMap[32]},36:{paddingTop:o.spacingMap[36]},40:{paddingTop:o.spacingMap[40]},44:{paddingTop:o.spacingMap[44]},48:{paddingTop:o.spacingMap[48]},52:{paddingTop:o.spacingMap[52]},56:{paddingTop:o.spacingMap[56]},60:{paddingTop:o.spacingMap[60]},64:{paddingTop:o.spacingMap[64]},72:{paddingTop:o.spacingMap[72]},80:{paddingTop:o.spacingMap[80]},96:{paddingTop:o.spacingMap[96]}},offset:{0:{margin:-o.spacingMap[0]},px:{margin:-o.spacingMap.px},"0.5":{margin:-o.spacingMap["0.5"]},1:{margin:-o.spacingMap[1]},"1.5":{margin:-o.spacingMap["1.5"]},2:{margin:-o.spacingMap[2]},"2.5":{margin:-o.spacingMap["2.5"]},3:{margin:-o.spacingMap[3]},"3.5":{margin:-o.spacingMap["3.5"]},4:{margin:-o.spacingMap[4]},5:{margin:-o.spacingMap[5]},6:{margin:-o.spacingMap[6]},7:{margin:-o.spacingMap[7]},8:{margin:-o.spacingMap[8]},9:{margin:-o.spacingMap[9]},10:{margin:-o.spacingMap[10]},11:{margin:-o.spacingMap[11]},12:{margin:-o.spacingMap[12]},14:{margin:-o.spacingMap[14]},16:{margin:-o.spacingMap[16]},20:{margin:-o.spacingMap[20]},24:{margin:-o.spacingMap[24]},28:{margin:-o.spacingMap[28]},32:{margin:-o.spacingMap[32]},36:{margin:-o.spacingMap[36]},40:{margin:-o.spacingMap[40]},44:{margin:-o.spacingMap[44]},48:{margin:-o.spacingMap[48]},52:{margin:-o.spacingMap[52]},56:{margin:-o.spacingMap[56]},60:{margin:-o.spacingMap[60]},64:{margin:-o.spacingMap[64]},72:{margin:-o.spacingMap[72]},80:{margin:-o.spacingMap[80]},96:{margin:-o.spacingMap[96]}},offsetVertical:{0:{marginVertical:o.spacingMap[0]},px:{marginVertical:o.spacingMap.px},"0.5":{marginVertical:o.spacingMap["0.5"]},1:{marginVertical:o.spacingMap[1]},"1.5":{marginVertical:o.spacingMap["1.5"]},2:{marginVertical:o.spacingMap[2]},"2.5":{marginVertical:o.spacingMap["2.5"]},3:{marginVertical:o.spacingMap[3]},"3.5":{marginVertical:o.spacingMap["3.5"]},4:{marginVertical:o.spacingMap[4]},5:{marginVertical:o.spacingMap[5]},6:{marginVertical:o.spacingMap[6]},7:{marginVertical:o.spacingMap[7]},8:{marginVertical:o.spacingMap[8]},9:{marginVertical:o.spacingMap[9]},10:{marginVertical:o.spacingMap[10]},11:{marginVertical:o.spacingMap[11]},12:{marginVertical:o.spacingMap[12]},14:{marginVertical:o.spacingMap[14]},16:{marginVertical:o.spacingMap[16]},20:{marginVertical:o.spacingMap[20]},24:{marginVertical:o.spacingMap[24]},28:{marginVertical:o.spacingMap[28]},32:{marginVertical:o.spacingMap[32]},36:{marginVertical:o.spacingMap[36]},40:{marginVertical:o.spacingMap[40]},44:{marginVertical:o.spacingMap[44]},48:{marginVertical:o.spacingMap[48]},52:{marginVertical:o.spacingMap[52]},56:{marginVertical:o.spacingMap[56]},60:{marginVertical:o.spacingMap[60]},64:{marginVertical:o.spacingMap[64]},72:{marginVertical:o.spacingMap[72]},80:{marginVertical:o.spacingMap[80]},96:{marginVertical:o.spacingMap[96]}},offsetHorizontal:{0:{marginHorizontal:o.spacingMap[0]},px:{marginHorizontal:o.spacingMap.px},"0.5":{marginHorizontal:o.spacingMap["0.5"]},1:{marginHorizontal:o.spacingMap[1]},"1.5":{marginHorizontal:o.spacingMap["1.5"]},2:{marginHorizontal:o.spacingMap[2]},"2.5":{marginHorizontal:o.spacingMap["2.5"]},3:{marginHorizontal:o.spacingMap[3]},"3.5":{marginHorizontal:o.spacingMap["3.5"]},4:{marginHorizontal:o.spacingMap[4]},5:{marginHorizontal:o.spacingMap[5]},6:{marginHorizontal:o.spacingMap[6]},7:{marginHorizontal:o.spacingMap[7]},8:{marginHorizontal:o.spacingMap[8]},9:{marginHorizontal:o.spacingMap[9]},10:{marginHorizontal:o.spacingMap[10]},11:{marginHorizontal:o.spacingMap[11]},12:{marginHorizontal:o.spacingMap[12]},14:{marginHorizontal:o.spacingMap[14]},16:{marginHorizontal:o.spacingMap[16]},20:{marginHorizontal:o.spacingMap[20]},24:{marginHorizontal:o.spacingMap[24]},28:{marginHorizontal:o.spacingMap[28]},32:{marginHorizontal:o.spacingMap[32]},36:{marginHorizontal:o.spacingMap[36]},40:{marginHorizontal:o.spacingMap[40]},44:{marginHorizontal:o.spacingMap[44]},48:{marginHorizontal:o.spacingMap[48]},52:{marginHorizontal:o.spacingMap[52]},56:{marginHorizontal:o.spacingMap[56]},60:{marginHorizontal:o.spacingMap[60]},64:{marginHorizontal:o.spacingMap[64]},72:{marginHorizontal:o.spacingMap[72]},80:{marginHorizontal:o.spacingMap[80]},96:{marginHorizontal:o.spacingMap[96]}},offsetBottom:{0:{marginBottom:o.spacingMap[0]},px:{marginBottom:o.spacingMap.px},"0.5":{marginBottom:o.spacingMap["0.5"]},1:{marginBottom:o.spacingMap[1]},"1.5":{marginBottom:o.spacingMap["1.5"]},2:{marginBottom:o.spacingMap[2]},"2.5":{marginBottom:o.spacingMap["2.5"]},3:{marginBottom:o.spacingMap[3]},"3.5":{marginBottom:o.spacingMap["3.5"]},4:{marginBottom:o.spacingMap[4]},5:{marginBottom:o.spacingMap[5]},6:{marginBottom:o.spacingMap[6]},7:{marginBottom:o.spacingMap[7]},8:{marginBottom:o.spacingMap[8]},9:{marginBottom:o.spacingMap[9]},10:{marginBottom:o.spacingMap[10]},11:{marginBottom:o.spacingMap[11]},12:{marginBottom:o.spacingMap[12]},14:{marginBottom:o.spacingMap[14]},16:{marginBottom:o.spacingMap[16]},20:{marginBottom:o.spacingMap[20]},24:{marginBottom:o.spacingMap[24]},28:{marginBottom:o.spacingMap[28]},32:{marginBottom:o.spacingMap[32]},36:{marginBottom:o.spacingMap[36]},40:{marginBottom:o.spacingMap[40]},44:{marginBottom:o.spacingMap[44]},48:{marginBottom:o.spacingMap[48]},52:{marginBottom:o.spacingMap[52]},56:{marginBottom:o.spacingMap[56]},60:{marginBottom:o.spacingMap[60]},64:{marginBottom:o.spacingMap[64]},72:{marginBottom:o.spacingMap[72]},80:{marginBottom:o.spacingMap[80]},96:{marginBottom:o.spacingMap[96]}},offsetEnd:{0:{marginEnd:o.spacingMap[0]},px:{marginEnd:o.spacingMap.px},"0.5":{marginEnd:o.spacingMap["0.5"]},1:{marginEnd:o.spacingMap[1]},"1.5":{marginEnd:o.spacingMap["1.5"]},2:{marginEnd:o.spacingMap[2]},"2.5":{marginEnd:o.spacingMap["2.5"]},3:{marginEnd:o.spacingMap[3]},"3.5":{marginEnd:o.spacingMap["3.5"]},4:{marginEnd:o.spacingMap[4]},5:{marginEnd:o.spacingMap[5]},6:{marginEnd:o.spacingMap[6]},7:{marginEnd:o.spacingMap[7]},8:{marginEnd:o.spacingMap[8]},9:{marginEnd:o.spacingMap[9]},10:{marginEnd:o.spacingMap[10]},11:{marginEnd:o.spacingMap[11]},12:{marginEnd:o.spacingMap[12]},14:{marginEnd:o.spacingMap[14]},16:{marginEnd:o.spacingMap[16]},20:{marginEnd:o.spacingMap[20]},24:{marginEnd:o.spacingMap[24]},28:{marginEnd:o.spacingMap[28]},32:{marginEnd:o.spacingMap[32]},36:{marginEnd:o.spacingMap[36]},40:{marginEnd:o.spacingMap[40]},44:{marginEnd:o.spacingMap[44]},48:{marginEnd:o.spacingMap[48]},52:{marginEnd:o.spacingMap[52]},56:{marginEnd:o.spacingMap[56]},60:{marginEnd:o.spacingMap[60]},64:{marginEnd:o.spacingMap[64]},72:{marginEnd:o.spacingMap[72]},80:{marginEnd:o.spacingMap[80]},96:{marginEnd:o.spacingMap[96]}},offsetStart:{0:{marginStart:o.spacingMap[0]},px:{marginStart:o.spacingMap.px},"0.5":{marginStart:o.spacingMap["0.5"]},1:{marginStart:o.spacingMap[1]},"1.5":{marginStart:o.spacingMap["1.5"]},2:{marginStart:o.spacingMap[2]},"2.5":{marginStart:o.spacingMap["2.5"]},3:{marginStart:o.spacingMap[3]},"3.5":{marginStart:o.spacingMap["3.5"]},4:{marginStart:o.spacingMap[4]},5:{marginStart:o.spacingMap[5]},6:{marginStart:o.spacingMap[6]},7:{marginStart:o.spacingMap[7]},8:{marginStart:o.spacingMap[8]},9:{marginStart:o.spacingMap[9]},10:{marginStart:o.spacingMap[10]},11:{marginStart:o.spacingMap[11]},12:{marginStart:o.spacingMap[12]},14:{marginStart:o.spacingMap[14]},16:{marginStart:o.spacingMap[16]},20:{marginStart:o.spacingMap[20]},24:{marginStart:o.spacingMap[24]},28:{marginStart:o.spacingMap[28]},32:{marginStart:o.spacingMap[32]},36:{marginStart:o.spacingMap[36]},40:{marginStart:o.spacingMap[40]},44:{marginStart:o.spacingMap[44]},48:{marginStart:o.spacingMap[48]},52:{marginStart:o.spacingMap[52]},56:{marginStart:o.spacingMap[56]},60:{marginStart:o.spacingMap[60]},64:{marginStart:o.spacingMap[64]},72:{marginStart:o.spacingMap[72]},80:{marginStart:o.spacingMap[80]},96:{marginStart:o.spacingMap[96]}},offsetTop:{0:{marginTop:o.spacingMap[0]},px:{marginTop:o.spacingMap.px},"0.5":{marginTop:o.spacingMap["0.5"]},1:{marginTop:o.spacingMap[1]},"1.5":{marginTop:o.spacingMap["1.5"]},2:{marginTop:o.spacingMap[2]},"2.5":{marginTop:o.spacingMap["2.5"]},3:{marginTop:o.spacingMap[3]},"3.5":{marginTop:o.spacingMap["3.5"]},4:{marginTop:o.spacingMap[4]},5:{marginTop:o.spacingMap[5]},6:{marginTop:o.spacingMap[6]},7:{marginTop:o.spacingMap[7]},8:{marginTop:o.spacingMap[8]},9:{marginTop:o.spacingMap[9]},10:{marginTop:o.spacingMap[10]},11:{marginTop:o.spacingMap[11]},12:{marginTop:o.spacingMap[12]},14:{marginTop:o.spacingMap[14]},16:{marginTop:o.spacingMap[16]},20:{marginTop:o.spacingMap[20]},24:{marginTop:o.spacingMap[24]},28:{marginTop:o.spacingMap[28]},32:{marginTop:o.spacingMap[32]},36:{marginTop:o.spacingMap[36]},40:{marginTop:o.spacingMap[40]},44:{marginTop:o.spacingMap[44]},48:{marginTop:o.spacingMap[48]},52:{marginTop:o.spacingMap[52]},56:{marginTop:o.spacingMap[56]},60:{marginTop:o.spacingMap[60]},64:{marginTop:o.spacingMap[64]},72:{marginTop:o.spacingMap[72]},80:{marginTop:o.spacingMap[80]},96:{marginTop:o.spacingMap[96]}},columnGap:{0:{columnGap:o.spacingMap[0]},px:{columnGap:o.spacingMap.px},"0.5":{columnGap:o.spacingMap["0.5"]},1:{columnGap:o.spacingMap[1]},"1.5":{columnGap:o.spacingMap["1.5"]},2:{columnGap:o.spacingMap[2]},"2.5":{columnGap:o.spacingMap["2.5"]},3:{columnGap:o.spacingMap[3]},"3.5":{columnGap:o.spacingMap["3.5"]},4:{columnGap:o.spacingMap[4]},5:{columnGap:o.spacingMap[5]},6:{columnGap:o.spacingMap[6]},7:{columnGap:o.spacingMap[7]},8:{columnGap:o.spacingMap[8]},9:{columnGap:o.spacingMap[9]},10:{columnGap:o.spacingMap[10]},11:{columnGap:o.spacingMap[11]},12:{columnGap:o.spacingMap[12]},14:{columnGap:o.spacingMap[14]},16:{columnGap:o.spacingMap[16]},20:{columnGap:o.spacingMap[20]},24:{columnGap:o.spacingMap[24]},28:{columnGap:o.spacingMap[28]},32:{columnGap:o.spacingMap[32]},36:{columnGap:o.spacingMap[36]},40:{columnGap:o.spacingMap[40]},44:{columnGap:o.spacingMap[44]},48:{columnGap:o.spacingMap[48]},52:{columnGap:o.spacingMap[52]},56:{columnGap:o.spacingMap[56]},60:{columnGap:o.spacingMap[60]},64:{columnGap:o.spacingMap[64]},72:{columnGap:o.spacingMap[72]},80:{columnGap:o.spacingMap[80]},96:{columnGap:o.spacingMap[96]}},rowGap:{0:{rowGap:o.spacingMap[0]},px:{rowGap:o.spacingMap.px},"0.5":{rowGap:o.spacingMap["0.5"]},1:{rowGap:o.spacingMap[1]},"1.5":{rowGap:o.spacingMap["1.5"]},2:{rowGap:o.spacingMap[2]},"2.5":{rowGap:o.spacingMap["2.5"]},3:{rowGap:o.spacingMap[3]},"3.5":{rowGap:o.spacingMap["3.5"]},4:{rowGap:o.spacingMap[4]},5:{rowGap:o.spacingMap[5]},6:{rowGap:o.spacingMap[6]},7:{rowGap:o.spacingMap[7]},8:{rowGap:o.spacingMap[8]},9:{rowGap:o.spacingMap[9]},10:{rowGap:o.spacingMap[10]},11:{rowGap:o.spacingMap[11]},12:{rowGap:o.spacingMap[12]},14:{rowGap:o.spacingMap[14]},16:{rowGap:o.spacingMap[16]},20:{rowGap:o.spacingMap[20]},24:{rowGap:o.spacingMap[24]},28:{rowGap:o.spacingMap[28]},32:{rowGap:o.spacingMap[32]},36:{rowGap:o.spacingMap[36]},40:{rowGap:o.spacingMap[40]},44:{rowGap:o.spacingMap[44]},48:{rowGap:o.spacingMap[48]},52:{rowGap:o.spacingMap[52]},56:{rowGap:o.spacingMap[56]},60:{rowGap:o.spacingMap[60]},64:{rowGap:o.spacingMap[64]},72:{rowGap:o.spacingMap[72]},80:{rowGap:o.spacingMap[80]},96:{rowGap:o.spacingMap[96]}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":C,"table-cell":C,"table-column":C,"table-column-group":C,"table-footer-group":C,"table-header-group":C,"table-row-group":C,"table-row":C,"flow-root":C,grid:C,contents:C},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:C,fixed:C,absolute:{position:"absolute"},relative:{position:"relative"},sticky:C},avatarSize:{s:{width:t.avatarSizes.s,height:t.avatarSizes.s,lineHeight:t.avatarSizes.s,fontSize:t.avatarSizes.s},m:{width:t.avatarSizes.m,height:t.avatarSizes.m,lineHeight:t.avatarSizes.m,fontSize:t.avatarSizes.m},l:{width:t.avatarSizes.l,height:t.avatarSizes.l,lineHeight:t.avatarSizes.l,fontSize:t.avatarSizes.l}},iconSize:{sm:{width:t.iconSizes.sm,height:t.iconSizes.sm,lineHeight:t.iconSizes.sm,fontSize:t.iconSizes.sm},md:{width:t.iconSizes.md,height:t.iconSizes.md,lineHeight:t.iconSizes.md,fontSize:t.iconSizes.md},lg:{width:t.iconSizes.lg,height:t.iconSizes.lg,lineHeight:t.iconSizes.lg,fontSize:t.iconSizes.lg}},borderColor:{accent:{borderColor:p},alert:{borderColor:g},black:{borderColor:S},brand:{borderColor:b},positive:{borderColor:y},warning:{borderColor:u},white:{borderColor:h},transparent:{borderColor:x},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:z},tertiary:{borderColor:w}},borderColorOnActive:{accent:{borderColor:p},alert:{borderColor:g},black:{borderColor:S},brand:{borderColor:b},positive:{borderColor:y},warning:{borderColor:u},white:{borderColor:h},transparent:{borderColor:x},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:z},tertiary:{borderColor:w}},borderColorOnFocus:{accent:{borderColor:p},alert:{borderColor:g},black:{borderColor:S},brand:{borderColor:b},positive:{borderColor:y},warning:{borderColor:u},white:{borderColor:h},transparent:{borderColor:x},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:z},tertiary:{borderColor:w}},borderColorOnHover:{accent:{borderColor:p},alert:{borderColor:g},black:{borderColor:S},brand:{borderColor:b},positive:{borderColor:y},warning:{borderColor:u},white:{borderColor:h},transparent:{borderColor:x},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:z},tertiary:{borderColor:w}},borderColorOnChecked:{accent:{borderColor:p},alert:{borderColor:g},black:{borderColor:S},brand:{borderColor:b},positive:{borderColor:y},warning:{borderColor:u},white:{borderColor:h},transparent:{borderColor:x},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:z},tertiary:{borderColor:w}},borderStartColor:{accent:{borderStartColor:p},alert:{borderStartColor:g},black:{borderStartColor:S},brand:{borderStartColor:b},positive:{borderStartColor:y},warning:{borderStartColor:u},white:{borderStartColor:h},transparent:{borderStartColor:x},muted:{borderStartColor:R},primary:{borderStartColor:P},secondary:{borderStartColor:z},tertiary:{borderStartColor:w}},borderEndColor:{accent:{borderEndColor:p},alert:{borderEndColor:g},black:{borderEndColor:S},brand:{borderEndColor:b},positive:{borderEndColor:y},warning:{borderEndColor:u},white:{borderEndColor:h},transparent:{borderEndColor:x},muted:{borderEndColor:R},primary:{borderEndColor:P},secondary:{borderEndColor:z},tertiary:{borderEndColor:w}},borderBottomColor:{accent:{borderBottomColor:p},alert:{borderBottomColor:g},black:{borderBottomColor:S},brand:{borderBottomColor:b},positive:{borderBottomColor:y},warning:{borderBottomColor:u},white:{borderBottomColor:h},transparent:{borderBottomColor:x},muted:{borderBottomColor:R},primary:{borderBottomColor:P},secondary:{borderBottomColor:z},tertiary:{borderBottomColor:w}},borderTopColor:{accent:{borderTopColor:p},alert:{borderTopColor:g},black:{borderTopColor:S},brand:{borderTopColor:b},positive:{borderTopColor:y},warning:{borderTopColor:u},white:{borderTopColor:h},transparent:{borderTopColor:x},muted:{borderTopColor:R},primary:{borderTopColor:P},secondary:{borderTopColor:z},tertiary:{borderTopColor:w}},borderRadius:{none:{borderRadius:t.borderRadius.none},xs:{borderRadius:t.borderRadius.xs},sm:{borderRadius:t.borderRadius.sm},md:{borderRadius:t.borderRadius.md},lg:{borderRadius:t.borderRadius.lg},xl:{borderRadius:t.borderRadius.xl},full:{borderRadius:t.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:t.borderRadius.none},xs:{borderTopStartRadius:t.borderRadius.xs},sm:{borderTopStartRadius:t.borderRadius.sm},md:{borderTopStartRadius:t.borderRadius.md},lg:{borderTopStartRadius:t.borderRadius.lg},xl:{borderTopStartRadius:t.borderRadius.xl},full:{borderTopStartRadius:t.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:t.borderRadius.none},xs:{borderTopEndRadius:t.borderRadius.xs},sm:{borderTopEndRadius:t.borderRadius.sm},md:{borderTopEndRadius:t.borderRadius.md},lg:{borderTopEndRadius:t.borderRadius.lg},xl:{borderTopEndRadius:t.borderRadius.xl},full:{borderTopEndRadius:t.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:t.borderRadius.none},xs:{borderBottomStartRadius:t.borderRadius.xs},sm:{borderBottomStartRadius:t.borderRadius.sm},md:{borderBottomStartRadius:t.borderRadius.md},lg:{borderBottomStartRadius:t.borderRadius.lg},xl:{borderBottomStartRadius:t.borderRadius.xl},full:{borderBottomStartRadius:t.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:t.borderRadius.none},xs:{borderBottomEndRadius:t.borderRadius.xs},sm:{borderBottomEndRadius:t.borderRadius.sm},md:{borderBottomEndRadius:t.borderRadius.md},lg:{borderBottomEndRadius:t.borderRadius.lg},xl:{borderBottomEndRadius:t.borderRadius.xl},full:{borderBottomEndRadius:t.borderRadius.full}},borderWidth:{none:{borderWidth:t.borderWidth.none},thin:{borderWidth:t.borderWidth.thin},medium:{borderWidth:t.borderWidth.medium},thick:{borderWidth:t.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:t.borderWidth.none,borderBottomWidth:t.borderWidth.none},thin:{borderTopWidth:t.borderWidth.thin,borderBottomWidth:t.borderWidth.thin},medium:{borderTopWidth:t.borderWidth.medium,borderBottomWidth:t.borderWidth.medium},thick:{borderTopWidth:t.borderWidth.thick,borderBottomWidth:t.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:t.borderWidth.none,borderEndWidth:t.borderWidth.none},thin:{borderStartWidth:t.borderWidth.thin,borderEndWidth:t.borderWidth.thin},medium:{borderStartWidth:t.borderWidth.medium,borderEndWidth:t.borderWidth.medium},thick:{borderStartWidth:t.borderWidth.thick,borderEndWidth:t.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:t.borderWidth.none},thin:{borderStartWidth:t.borderWidth.thin},medium:{borderStartWidth:t.borderWidth.medium},thick:{borderStartWidth:t.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:t.borderWidth.none},thin:{borderEndWidth:t.borderWidth.thin},medium:{borderEndWidth:t.borderWidth.medium},thick:{borderEndWidth:t.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:t.borderWidth.none},thin:{borderTopWidth:t.borderWidth.thin},medium:{borderTopWidth:t.borderWidth.medium},thick:{borderTopWidth:t.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:t.borderWidth.none},thin:{borderBottomWidth:t.borderWidth.thin},medium:{borderBottomWidth:t.borderWidth.medium},thick:{borderBottomWidth:t.borderWidth.thick}},contentFit:{contain:C,cover:C,fill:C,none:C,"scale-down":C},textTransform:{display1:{textTransform:t.textTransform.display1},display2:{textTransform:t.textTransform.display2},display3:{textTransform:t.textTransform.display3},title1:{textTransform:t.textTransform.title1},title2:{textTransform:t.textTransform.title2},title3:{textTransform:t.textTransform.title3},title4:{textTransform:t.textTransform.title4},headline1:{textTransform:t.textTransform.headline1},body1:{textTransform:t.textTransform.body1},label1:{textTransform:t.textTransform.label1},label2:{textTransform:t.textTransform.label2},caption1:{textTransform:t.textTransform.caption1},caption2:{textTransform:t.textTransform.caption2},legal1:{textTransform:t.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(E);return a(I,W,B)}return{cva:f,getStyles:po,tokens:t}}var Qo=Jo({colorMode:ho,scaleMode:fo},Ro);var Eo=require("react"),Xt=require("react/jsx-runtime"),Kt=(0,Eo.createContext)(ho);function ht(){return(0,Eo.useContext)(Kt)}var Bo=require("react"),Zt=require("react/jsx-runtime"),Yt=(0,Bo.createContext)(fo);function St(){let e=(0,Bo.useContext)(Yt);return e||fo}var Ct=require("react/jsx-runtime"),xt=(0,U.createContext)(Qo),Le=(0,U.memo)(function({children:r,value:i=Ro}){let l=ht(),n=St(),d=(0,U.useMemo)(()=>i===void 0&&l===ho&&n===fo?Qo:Jo({colorMode:l,scaleMode:n},i),[l,n,i]);return(0,Ct.jsx)(xt.Provider,{value:d,children:r})});function H(e){let{getStyles:r}=(0,U.useContext)(xt);return r(e)}var Tt={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},ot={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ho({variant:e="accent",size:r="s"}){let{color:i,...l}=ot.variant[e],{variant:n,...d}=ot.size[r];return{pressable:{...ot.base,...l,...d},text:{color:i,variant:n,textAlign:"center"},icon:{color:i,size:"sm"}}}var vt=require("expo-image");var zt=require("react/jsx-runtime");function Pt({width:e,height:r,src:i,alt:l,contentFit:n="cover",backgroundColor:d,borderRadius:c,borderTopStartRadius:t,borderTopEndRadius:a,borderBottomStartRadius:f,borderBottomEndRadius:p,borderColor:g,borderColorOnActive:b,borderColorOnFocus:y,borderColorOnChecked:u,borderColorOnHover:h,borderStartColor:S,borderEndColor:x,borderTopColor:k,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:M,borderStartWidth:A,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:z,alignContent:w,alignItems:R,alignSelf:m,flex:D,flexDirection:N,flexGrow:_,flexShrink:j="0",flexWrap:K,justifyContent:X,flexBasis:Y,display:Z="flex",overflow:q,overflowX:J,overflowY:Q,position:oo,spacing:to,spacingHorizontal:eo,spacingVertical:ro,spacingBottom:no,spacingEnd:io,spacingStart:ao,spacingTop:lo,offset:so,offsetVertical:po,offsetHorizontal:B,offsetBottom:E,offsetEnd:I,offsetStart:s,offsetTop:W,columnGap:L,rowGap:go,...mo}){let $=H({contentFit:n,backgroundColor:d,borderRadius:c,borderTopStartRadius:t,borderTopEndRadius:a,borderBottomStartRadius:f,borderBottomEndRadius:p,borderColor:g,borderColorOnActive:b,borderColorOnFocus:y,borderColorOnChecked:u,borderColorOnHover:h,borderStartColor:S,borderEndColor:x,borderTopColor:k,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:M,borderStartWidth:A,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:z,alignContent:w,alignItems:R,alignSelf:m,flex:D,flexDirection:N,flexGrow:_,flexShrink:j,flexWrap:K,justifyContent:X,flexBasis:Y,display:Z,overflow:q,overflowX:J,overflowY:Q,position:oo,spacing:to,spacingHorizontal:eo,spacingVertical:ro,spacingBottom:no,spacingEnd:io,spacingStart:ao,spacingTop:lo,offset:so,offsetVertical:po,offsetHorizontal:B,offsetBottom:E,offsetEnd:I,offsetStart:s,offsetTop:W,columnGap:L,rowGap:go,style:{width:e,height:r,justifyContent:"flex-start"}});return(0,zt.jsx)(vt.Image,{source:i,alt:l,style:$,contentFit:n,contentPosition:"left",...mo})}var wt=require("react/jsx-runtime");function qt({size:e,shape:r,contentFit:i="cover",...l}){let n=H({...Tt,avatarSize:e,borderRadius:r});return(0,wt.jsx)(Pt,{style:n,contentFit:i,...l})}var At=require("react");var Et=require("react");var T=require("react");function Jt(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function Rt(...e){return r=>e.forEach(i=>Jt(i,r))}var tt=require("react/jsx-runtime");function ko(){let e=(0,T.forwardRef)((d,c)=>{let{children:t,...a}=d,f=T.Children.toArray(t),p=f.find(l);if(p){let g=p.props.children,b=f.map(y=>y===p?T.Children.count(g)>1?T.Children.only(null):(0,T.isValidElement)(g)?g.props.children:null:y);return(0,tt.jsx)(r,{...a,ref:c,children:(0,T.isValidElement)(g)?(0,T.cloneElement)(g,void 0,b):null})}return(0,tt.jsx)(r,{...a,ref:c,children:t})});e.displayName="Slot";let r=(0,T.forwardRef)((d,c)=>{let{children:t,...a}=d;return(0,T.isValidElement)(t)?(0,T.cloneElement)(t,{...n(a,t.props),ref:c?Rt(c,t.ref):t.ref}):T.Children.count(t)>1?T.Children.only(null):null});r.displayName="SlotClone";let i=({children:d})=>d;function l(d){return(0,T.isValidElement)(d)&&d.type===i}function n(d,c){let t={...c};for(let a in c){let f=d[a],p=c[a];/^on[A-Z]/.test(a)?f&&p?t[a]=(...b)=>{p(...b),f(...b)}:f&&(t[a]=f):a==="style"&&(t[a]={...f,...p})}return{...d,...t}}return e}var Vo="RCTText",Qe=ko(),Fo=ko(),Wt=ko();var Bt=require("react/jsx-runtime"),vo=(0,Et.forwardRef)(function({style:r,asChild:i=!1,size:l,color:n,name:d,textAlign:c,spacing:t,spacingBottom:a,spacingEnd:f,spacingHorizontal:p,spacingStart:g,spacingTop:b,spacingVertical:y,offset:u,offsetBottom:h,offsetEnd:S,offsetHorizontal:x,offsetStart:k,offsetTop:V,offsetVertical:F,...G},M){let A=H({color:n,fontFamily:"icons",textAlign:c,spacing:t,spacingBottom:a,spacingEnd:f,spacingHorizontal:p,spacingStart:g,spacingTop:b,spacingVertical:y,offset:u,offsetBottom:h,offsetEnd:S,offsetHorizontal:x,offsetStart:k,offsetTop:V,offsetVertical:F,iconSize:l,style:r});return(0,Bt.jsx)(i?Fo:Vo,{ref:M,maxFontSizeMultiplier:1,allowFontScaling:!1,style:A,...G,children:d})});var Ht=require("react"),kt=require("react-native");var Vt=require("react/jsx-runtime"),Go=(0,Ht.forwardRef)(function({style:r,asChild:i=!1,backgroundColor:l,borderRadius:n,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:t,borderBottomEndRadius:a,borderColor:f,borderColorOnActive:p,borderColorOnFocus:g,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:u,borderEndColor:h,borderTopColor:S,borderBottomColor:x,borderWidth:k,borderVerticalWidth:V,borderHorizontalWidth:F,borderStartWidth:G,borderEndWidth:M,borderTopWidth:A,borderBottomWidth:O,alignContent:P,alignItems:z,alignSelf:w,flex:R,flexBasis:m,flexDirection:D,flexGrow:N,flexShrink:_,flexWrap:j,justifyContent:K,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:to,spacingBottom:eo,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:so,offsetBottom:po,offsetEnd:B,offsetStart:E,offsetTop:I,columnGap:s,rowGap:W,...L},go){let mo=H({backgroundColor:l,borderRadius:n,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:t,borderBottomEndRadius:a,borderColor:f,borderColorOnActive:p,borderColorOnFocus:g,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:u,borderEndColor:h,borderTopColor:S,borderBottomColor:x,borderWidth:k,borderVerticalWidth:V,borderHorizontalWidth:F,borderStartWidth:G,borderEndWidth:M,borderTopWidth:A,borderBottomWidth:O,alignContent:P,alignItems:z,alignSelf:w,flex:R,flexDirection:D,flexGrow:N,flexShrink:_,flexWrap:j,justifyContent:K,flexBasis:m,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:to,spacingBottom:eo,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:so,offsetBottom:po,offsetEnd:B,offsetStart:E,offsetTop:I,columnGap:s,rowGap:W,style:r});return(0,Vt.jsx)(i?Wt:kt.Pressable,{style:mo,ref:go,...L})});var Ft=require("react");var Mt=require("react/jsx-runtime"),Gt=(0,Ft.forwardRef)(function({style:r,asChild:i,color:l="primary",variant:n="body1",fontSize:d=n,fontFamily:c=n,fontWeight:t=n,lineHeight:a=n,textTransform:f=n,textAlign:p,backgroundColor:g,borderRadius:b,borderTopStartRadius:y,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:k,borderColorOnFocus:V,borderColorOnChecked:F,borderColorOnHover:G,borderStartColor:M,borderEndColor:A,borderTopColor:O,borderBottomColor:P,borderWidth:z,borderVerticalWidth:w,borderHorizontalWidth:R,borderStartWidth:m,borderEndWidth:D,borderTopWidth:N,borderBottomWidth:_,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:oo,flexBasis:to,display:eo,overflow:ro,overflowX:no,overflowY:io,position:ao,spacing:lo,spacingHorizontal:so,spacingVertical:po,spacingBottom:B,spacingEnd:E,spacingStart:I,spacingTop:s,offset:W,offsetVertical:L,offsetHorizontal:go,offsetBottom:mo,offsetEnd:$,offsetStart:Mo,offsetTop:bo,columnGap:co,rowGap:xo,...yo},uo){let Co=H({style:r,color:l,fontFamily:c,fontSize:d,fontWeight:t,lineHeight:a,textTransform:f,textAlign:p,backgroundColor:g,borderRadius:b,borderTopStartRadius:y,borderTopEndRadius:u,borderBottomStartRadius:h,borderBottomEndRadius:S,borderColor:x,borderColorOnActive:k,borderColorOnFocus:V,borderColorOnChecked:F,borderColorOnHover:G,borderStartColor:M,borderEndColor:A,borderTopColor:O,borderBottomColor:P,borderWidth:z,borderVerticalWidth:w,borderHorizontalWidth:R,borderStartWidth:m,borderEndWidth:D,borderTopWidth:N,borderBottomWidth:_,alignContent:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:oo,flexBasis:to,display:eo,overflow:ro,overflowX:no,overflowY:io,position:ao,spacing:lo,spacingHorizontal:so,spacingVertical:po,spacingBottom:B,spacingEnd:E,spacingStart:I,spacingTop:s,offset:W,offsetVertical:L,offsetHorizontal:go,offsetBottom:mo,offsetEnd:$,offsetStart:Mo,offsetTop:bo,columnGap:co,rowGap:xo});return(0,Mt.jsx)(i?Fo:Vo,{style:Co,ref:uo,maxFontSizeMultiplier:1,allowFontScaling:!1,...yo})});var So=require("react/jsx-runtime"),Qt=(0,At.forwardRef)(function({variant:r="accent",size:i,startIcon:l,endIcon:n,children:d,...c},t){let a=Ho({variant:r,size:i}),f=l?(0,So.jsx)(vo,{name:l,...a.icon}):null,p=n?(0,So.jsx)(vo,{name:n,...a.icon}):null;return(0,So.jsxs)(Go,{ref:t,...a.pressable,...c,children:[f,(0,So.jsx)(Gt,{...a.text,children:d}),p]})});var It=require("react");var et=require("react/jsx-runtime"),Ot={s:36,m:48,l:64},oe={},te=(0,It.forwardRef)(function({variant:r="accent",size:i="s",name:l,style:n=oe,...d},c){let t=Ho({variant:r,size:i});return(0,et.jsx)(Go,{ref:c,...t.pressable,flexShrink:"0",style:{...n,width:Ot[i],height:Ot[i]},...d,children:(0,et.jsx)(vo,{name:l,...t.icon})})});0&&(module.exports={Avatar,Button,IconButton});
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { U as UniversalAvatarProps, a as UniversalButtonProps } from '../types-
|
3
|
-
import { I as ImageProps, P as PressableProps } from '../Image.native-
|
4
|
-
export { a as IconButton, b as IconButtonProps } from '../Image.native-
|
2
|
+
import { U as UniversalAvatarProps, a as UniversalButtonProps } from '../types-Dk8fLx7L.cjs';
|
3
|
+
import { I as ImageProps, P as PressableProps } from '../Image.native-CfDCpWe_.cjs';
|
4
|
+
export { a as IconButton, b as IconButtonProps } from '../Image.native-CfDCpWe_.cjs';
|
5
5
|
import * as react from 'react';
|
6
6
|
import { View } from 'react-native';
|
7
7
|
import 'expo-image';
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
2
|
-
import { U as UniversalAvatarProps, a as UniversalButtonProps } from '../types-
|
3
|
-
import { I as ImageProps, P as PressableProps } from '../Image.native-
|
4
|
-
export { a as IconButton, b as IconButtonProps } from '../Image.native-
|
2
|
+
import { U as UniversalAvatarProps, a as UniversalButtonProps } from '../types-Dk8fLx7L.js';
|
3
|
+
import { I as ImageProps, P as PressableProps } from '../Image.native-nwk5tr_f.js';
|
4
|
+
export { a as IconButton, b as IconButtonProps } from '../Image.native-nwk5tr_f.js';
|
5
5
|
import * as react from 'react';
|
6
6
|
import { View } from 'react-native';
|
7
7
|
import 'expo-image';
|