@yahoo/uds 0.1.20 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +2 -8
- package/cli/bunfig.toml +3 -0
- package/cli/commands/expo/_setup.ts +1 -0
- package/cli/commands/expo/build.ts +1 -1
- package/cli/commands/expo/launch.ts +1 -1
- package/cli/commands/purge.ts +1 -1
- package/cli/commands/sync.ts +16 -4
- package/cli/commands/uds.ts +4 -1
- package/cli/commands/version.ts +1 -1
- package/cli/preload.ts +32 -0
- package/cli/utils/configWorker.ts +30 -11
- package/cli/utils/getCommandHelp.ts +22 -13
- package/cli/utils/purgeCSS.test.ts +99 -0
- package/cli/utils/purgeCSS.ts +5 -7
- package/cli/utils/setupConfigWorker.ts +8 -38
- package/cli/utils/types.ts +5 -2
- package/dist/Image.native-C6kOWgnf.d.ts +38 -0
- package/dist/Image.native-VeXt5aeI.d.cts +38 -0
- package/dist/VStack-BSD9TbBd.d.cts +114 -0
- package/dist/VStack-Dk3-8IyU.d.ts +114 -0
- package/dist/experimental/index.cjs +1 -0
- package/dist/experimental/index.d.cts +229 -0
- package/dist/experimental/index.d.ts +229 -0
- package/dist/experimental/index.js +1 -0
- package/dist/experimental/index.native.cjs +1 -0
- package/dist/experimental/index.native.d.cts +51 -0
- package/dist/experimental/index.native.d.ts +51 -0
- package/dist/experimental/index.native.js +1 -0
- package/dist/fixtures/index.cjs +1 -1
- package/dist/fixtures/index.d.cts +15 -1
- package/dist/fixtures/index.d.ts +15 -1
- package/dist/fixtures/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +134 -456
- package/dist/index.d.ts +134 -456
- package/dist/index.js +1 -1
- package/dist/{index.native-C5-xv9Na.d.cts → index.native-CisPq4BI.d.ts} +1 -1
- package/dist/{index.native-DqJv5EjY.d.ts → index.native-DJlx-bfM.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +11 -83
- package/dist/index.native.d.ts +11 -83
- package/dist/index.native.js +1 -1
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +1 -1
- package/dist/tailwindPlugin.d.ts +1 -1
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +2 -2
- package/dist/tokens/index.d.ts +2 -2
- 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 +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.d.cts +1 -1
- package/dist/tokens/parseTokens.native.d.ts +1 -1
- package/dist/{types-ZrxnB4cM.d.cts → types-CzJpH_Oi.d.cts} +2 -2
- package/dist/{types-ZrxnB4cM.d.ts → types-CzJpH_Oi.d.ts} +2 -2
- package/dist/{types-BO2kLynl.d.cts → types-FO65RM-W.d.cts} +1 -1
- package/dist/{types-BO2kLynl.d.ts → types-FO65RM-W.d.ts} +1 -1
- package/package.json +19 -2
package/dist/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
import{forwardRef as Mo}from"react";import{backgroundColors as Po,borderRadii as Co,borderWidths as To,elevations as So,foregroundColors as ko,lineColors as Ro,textVariants as _t}from"@yahoo/uds/fixtures";import Ao from"clsx";import{extendTailwindMerge as Eo}from"tailwind-merge";function je(t){return typeof t=="boolean"?`${t}`:t===0?"0":t}var m="uds",Ha=`${m}-spectrum-color`,_a=`${m}-font`,Ba=`${m}-icon-size`,Na=`${m}-avatar-size`,Oa=`${m}-border-radius`,za=`${m}-border-width`,Fa=`${m}-spacing`,Va=`${m}-font-size`,Wa=`${m}-line-height`,Ua=`${m}-font-weight`,Ga=`${m}-text-transform`,Rt=`${m}-color-mode-dark`,Qe=`${m}-color-mode-light`,At=`${m}-scale-mode-xsmall`,Et=`${m}-scale-mode-small`,It=`${m}-scale-mode-medium`,et=`${m}-scale-mode-large`,Lt=`${m}-scale-mode-xlarge`,Mt=`${m}-scale-mode-xxlarge`,Dt=`${m}-scale-mode-xxxlarge`,Xa=Qe,$a=et,Ya=`--${m}-font-icons`,Za=`--${m}-font-sans`,qa=`--${m}-font-sans-beta`,Ka=`--${m}-font-sans-condensed`,Ja=`--${m}-font-serif-display`,ja=`--${m}-font-serif-text`;var Ht={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"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]: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",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",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",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",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",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-none",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","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},backgroundColorOnFocus:{accent:"focus:bg-accent",alert:"focus:bg-alert",black:"focus:bg-black",brand:"focus:bg-brand",positive:"focus:bg-positive",warning:"focus:bg-warning",white:"focus:bg-white","accent-wash":"focus:bg-accent-wash","alert-wash":"focus:bg-alert-wash","brand-wash":"focus:bg-brand-wash","elevation-1":"focus:bg-elevation-1","elevation-2":"focus:bg-elevation-2","elevation-3":"focus:bg-elevation-3","elevation-3-inverse":"focus:bg-elevation-3-inverse",overlay:"focus:bg-overlay","positive-wash":"focus:bg-positive-wash",primary:"focus:bg-primary",secondary:"focus:bg-secondary",transparent:"focus:bg-transparent","warning-wash":"focus:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},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"},bordered:{true:"border-thin border-solid"},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"},borderedVertical:{true:"border-y-thin"},borderedTop:{true:"border-t-thin"},borderedBottom:{true:"border-b-thin"},borderedHorizontal:{true:"border-x-thin"},borderedEnd:{true:"border-e-thin"},borderedStart:{true:"border-s-thin"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-none"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-none",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l 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"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:Rt,light:Qe},scaleMode:{xSmall:At,small:Et,medium:It,large:et,xLarge:Lt,xxxLarge:Dt,xxLarge:Mt}};var Io=Eo({cacheSize:0,extend:{theme:{borderColor:Ro,borderWidth:To,borderRadius:Co}},override:{classGroups:{"text-color":[{text:ko}],"bg-color":[{bg:Po}],"font-family":[{font:["icons",..._t]}],leading:[{leading:_t}],shadow:[{shadow:So}]},conflictingClassGroups:{}}}),y=(...t)=>{let e=Ao(t);return Io(e)},Bt=t=>e=>{if(!t?.variants)return y(t?.base,e?.className);let{variants:o,defaultVariants:r}=t,a=Object.keys(o).map(i=>{let s=e?.[i],p=r?.[i],d=je(s)||je(p);return o[i][d]}),n={...r,...e&&Object.entries(e).reduce((i,[s,p])=>typeof p>"u"?i:{...i,[s]:p},{})},l=t?.compoundVariants?.reduce((i,{className:s,...p})=>Object.entries(p).every(([d,b])=>n[d]===b)?y(i,s):i,"");return y(t?.base,a,l,e?.className)},c=Bt({variants:Ht});import{Children as ze,cloneElement as Ot,forwardRef as zt,isValidElement as Ge}from"react";function Lo(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function Nt(...t){return e=>t.forEach(o=>Lo(o,e))}import{jsx as Ft}from"react/jsx-runtime";function C(){let t=zt((n,l)=>{let{children:i,...s}=n,p=ze.toArray(i),d=p.find(r);if(d){let b=d.props.children,g=p.map(v=>v===d?ze.count(b)>1?ze.only(null):Ge(b)?b.props.children:null:v);return Ft(e,{...s,ref:l,children:Ge(b)?Ot(b,void 0,g):null})}return Ft(e,{...s,ref:l,children:i})});t.displayName="Slot";let e=zt((n,l)=>{let{children:i,...s}=n;return Ge(i)?Ot(i,{...a(s,i.props),ref:l?Nt(l,i.ref):i.ref}):ze.count(i)>1?ze.only(null):null});e.displayName="SlotClone";let o=({children:n})=>n;function r(n){return Ge(n)&&n.type===o}function a(n,l){let i={...l};for(let s in l){let p=n[s],d=l[s];/^on[A-Z]/.test(s)?p&&d?i[s]=(...g)=>{d(...g),p(...g)}:p&&(i[s]=p):s==="style"&&(i[s]={...p,...d})}return{...n,...i}}return t}import{jsx as Ho}from"react/jsx-runtime";var Do=C(),u=Mo(function({className:e,asChild:o=!1,size:r="l",color:a="primary",name:n,colorChecked:l,opacity:i,textAlign:s,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:b,backgroundColorOnChecked:g,bordered:v,borderedTop:S,borderedBottom:k,borderedStart:R,borderedEnd:A,borderedHorizontal:E,borderedVertical:I,borderRadius:L,borderTopStartRadius:M,borderTopEndRadius:D,borderBottomStartRadius:H,borderBottomEndRadius:_,borderColor:B,borderColorOnActive:N,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:F,borderStartColor:V,borderEndColor:W,borderTopColor:U,borderBottomColor:G,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:q,borderTopWidth:K,borderBottomWidth:J,alignContent:j,alignItems:Q,alignSelf:ee,flex:te,flexDirection:oe,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:ie,flexBasis:se,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:me,position:be,spacing:fe,spacingHorizontal:ge,spacingVertical:ue,spacingBottom:he,spacingEnd:ye,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:ke,offsetTop:Re,columnGap:Ae,rowGap:Ee,height:Ie,minHeight:Le,maxHeight:Me,width:De,minWidth:He,maxWidth:Be,...Oe},Ue){let Ke=o?Do:"span",Je=c({iconSize:r,color:a,colorChecked:l,opacity:i,fontFamily:"icons",textAlign:s,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:b,backgroundColorOnChecked:g,bordered:v,borderedTop:S,borderedBottom:k,borderedStart:R,borderedEnd:A,borderedHorizontal:E,borderedVertical:I,borderRadius:L,borderTopStartRadius:M,borderTopEndRadius:D,borderBottomStartRadius:H,borderBottomEndRadius:_,borderColor:B,borderColorOnActive:N,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:F,borderStartColor:V,borderEndColor:W,borderTopColor:U,borderBottomColor:G,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Y,borderStartWidth:Z,borderEndWidth:q,borderTopWidth:K,borderBottomWidth:J,alignContent:j,alignItems:Q,alignSelf:ee,flex:te,flexDirection:oe,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:ie,flexBasis:se,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:me,position:be,spacing:fe,spacingHorizontal:ge,spacingVertical:ue,spacingBottom:he,spacingEnd:ye,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Ce,offsetBottom:Te,offsetEnd:Se,offsetStart:ke,offsetTop:Re,columnGap:Ae,rowGap:Ee,height:Ie,minHeight:Le,maxHeight:Me,width:De,minWidth:He,maxWidth:Be,className:e});return Ho(Ke,{className:Je,ref:Ue,...Oe,children:n})});import{forwardRef as _o}from"react";import{jsx as No}from"react/jsx-runtime";var Bo=C(),x=_o(function({className:e,asChild:o,onPress:r,onClick:a=r,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:i,backgroundColorOnChecked:s,elevation:p,opacity:d,bordered:b,borderedTop:g,borderedBottom:v,borderedStart:S,borderedEnd:k,borderedHorizontal:R,borderedVertical:A,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:L,borderBottomStartRadius:M,borderBottomEndRadius:D,borderColor:H,borderColorOnActive:_,borderColorOnFocus:B,borderColorOnChecked:N,borderColorOnHover:O,borderStartColor:z,borderEndColor:F,borderTopColor:V,borderBottomColor:W,borderWidth:U,borderVerticalWidth:G,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:q,alignContent:K,alignItems:J,alignSelf:j,flex:Q,flexDirection:ee,flexGrow:te,flexShrink:oe,flexWrap:re,justifyContent:ae,flexBasis:ne,display:ie,zIndex:se,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:me,spacingHorizontal:be,spacingVertical:fe,spacingBottom:ge,spacingEnd:ue,spacingStart:he,spacingTop:ye,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Ce,offsetStart:Te,offsetTop:Se,columnGap:ke,rowGap:Re,height:Ae,minHeight:Ee,maxHeight:Ie,width:Le,minWidth:Me,maxWidth:De,...He},Be){let Oe=c({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:i,backgroundColorOnChecked:s,elevation:p,opacity:d,bordered:b,borderedTop:g,borderedBottom:v,borderedStart:S,borderedEnd:k,borderedHorizontal:R,borderedVertical:A,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:L,borderBottomStartRadius:M,borderBottomEndRadius:D,borderColor:H,borderColorOnActive:_,borderColorOnFocus:B,borderColorOnChecked:N,borderColorOnHover:O,borderStartColor:z,borderEndColor:F,borderTopColor:V,borderBottomColor:W,borderWidth:U,borderVerticalWidth:G,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:q,alignContent:K,alignItems:J,alignSelf:j,flex:Q,flexDirection:ee,flexGrow:te,flexShrink:oe,flexWrap:re,justifyContent:ae,flexBasis:ne,display:ie,zIndex:se,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:me,spacingHorizontal:be,spacingVertical:fe,spacingBottom:ge,spacingEnd:ue,spacingStart:he,spacingTop:ye,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Ce,offsetStart:Te,offsetTop:Se,columnGap:ke,rowGap:Re,height:Ae,minHeight:Ee,maxHeight:Ie,width:Le,minWidth:Me,maxWidth:De,className:e});return No(o?Bo:"button",{className:Oe,ref:Be,onClick:a,...He})});import{forwardRef as Oo}from"react";import{jsx as Vo}from"react/jsx-runtime";var zo=C(),Fo={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=Oo(function({className:e,asChild:o,color:r="primary",colorChecked:a,variant:n="body1",as:l=Fo[n],fontSize:i=n,fontFamily:s=n,fontWeight:p=n,lineHeight:d=n,textTransform:b=n,textAlign:g,backgroundColor:v,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:R,opacity:A,bordered:E,borderedTop:I,borderedBottom:L,borderedStart:M,borderedEnd:D,borderedHorizontal:H,borderedVertical:_,borderRadius:B,borderTopStartRadius:N,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:F,borderColor:V,borderColorOnActive:W,borderColorOnFocus:U,borderColorOnChecked:G,borderColorOnHover:X,borderStartColor:$,borderEndColor:Y,borderTopColor:Z,borderBottomColor:q,borderWidth:K,borderVerticalWidth:J,borderHorizontalWidth:j,borderStartWidth:Q,borderEndWidth:ee,borderTopWidth:te,borderBottomWidth:oe,alignContent:re,alignItems:ae,alignSelf:ne,flex:ie,flexDirection:se,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:me,display:be,zIndex:fe,overflow:ge,overflowX:ue,overflowY:he,position:ye,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Ce,spacingStart:Te,spacingTop:Se,offset:ke,offsetVertical:Re,offsetHorizontal:Ae,offsetBottom:Ee,offsetEnd:Ie,offsetStart:Le,offsetTop:Me,columnGap:De,rowGap:He,height:Be,minHeight:Oe,maxHeight:Ue,width:Ke,minWidth:Je,maxWidth:yo,...xo},vo){let wo=c({className:e,color:r,colorChecked:a,fontFamily:s,fontSize:i,fontWeight:p,lineHeight:d,textTransform:b,textAlign:g,backgroundColor:v,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:R,opacity:A,bordered:E,borderedTop:I,borderedBottom:L,borderedStart:M,borderedEnd:D,borderedHorizontal:H,borderedVertical:_,borderRadius:B,borderTopStartRadius:N,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:F,borderColor:V,borderColorOnActive:W,borderColorOnFocus:U,borderColorOnChecked:G,borderColorOnHover:X,borderStartColor:$,borderEndColor:Y,borderTopColor:Z,borderBottomColor:q,borderWidth:K,borderVerticalWidth:J,borderHorizontalWidth:j,borderStartWidth:Q,borderEndWidth:ee,borderTopWidth:te,borderBottomWidth:oe,alignContent:re,alignItems:ae,alignSelf:ne,flex:ie,flexDirection:se,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:me,display:be,zIndex:fe,overflow:ge,overflowX:ue,overflowY:he,position:ye,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Ce,spacingStart:Te,spacingTop:Se,offset:ke,offsetVertical:Re,offsetHorizontal:Ae,offsetBottom:Ee,offsetEnd:Ie,offsetStart:Le,offsetTop:Me,columnGap:De,rowGap:He,height:Be,minHeight:Oe,maxHeight:Ue,width:Ke,minWidth:Je,maxWidth:yo});return Vo(o?zo:l,{className:wo,ref:vo,...xo})});import{forwardRef as Xo}from"react";import{forwardRef as Wo}from"react";import{jsx as Go}from"react/jsx-runtime";var Uo=C(),T=Wo(function({asChild:e,className:o,elevation:r,backgroundColor:a=r?`elevation-${r}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:i,opacity:s,bordered:p,borderedTop:d,borderedBottom:b,borderedStart:g,borderedEnd:v,borderedHorizontal:S,borderedVertical:k,borderRadius:R,borderTopStartRadius:A,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:L,borderColor:M,borderColorOnActive:D,borderColorOnFocus:H,borderColorOnChecked:_,borderColorOnHover:B,borderStartColor:N,borderEndColor:O,borderTopColor:z,borderBottomColor:F,borderWidth:V,borderVerticalWidth:W,borderHorizontalWidth:U,borderStartWidth:G,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Y,alignContent:Z,alignItems:q,alignSelf:K,flex:J,flexDirection:j,flexGrow:Q,flexShrink:ee,flexWrap:te,justifyContent:oe,flexBasis:re,display:ae="flex",zIndex:ne,overflow:ie,overflowX:se,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ge,spacingTop:ue,offset:he,offsetVertical:ye,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Ce,columnGap:Te,rowGap:Se,height:ke,minHeight:Re,maxHeight:Ae,width:Ee,minWidth:Ie,maxWidth:Le,...Me},De){let He=c({elevation:r,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:i,opacity:s,bordered:p,borderedTop:d,borderedBottom:b,borderedStart:g,borderedEnd:v,borderedHorizontal:S,borderedVertical:k,borderRadius:R,borderTopStartRadius:A,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:L,borderColor:M,borderColorOnActive:D,borderColorOnFocus:H,borderColorOnChecked:_,borderColorOnHover:B,borderStartColor:N,borderEndColor:O,borderTopColor:z,borderBottomColor:F,borderWidth:V,borderVerticalWidth:W,borderHorizontalWidth:U,borderStartWidth:G,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Y,alignContent:Z,alignItems:q,alignSelf:K,flex:J,flexDirection:j,flexGrow:Q,flexShrink:ee,flexWrap:te,justifyContent:oe,flexBasis:re,display:ae,zIndex:ne,overflow:ie,overflowX:se,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ge,spacingTop:ue,offset:he,offsetVertical:ye,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Ce,columnGap:Te,rowGap:Se,height:ke,minHeight:Re,maxHeight:Ae,width:Ee,minWidth:Ie,maxWidth:Le,className:o});return Go(e?Uo:"div",{className:He,ref:De,...Me})});import{jsx as $o}from"react/jsx-runtime";var P=Xo(function({gap:e,...o},r){return $o(T,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...o})});import{Fragment as Zo,jsx as Xe,jsxs as Vt}from"react/jsx-runtime";function Yo({label:t,children:e,onClick:o,open:r,spacingHorizontal:a="6",...n}){return Vt(Zo,{children:[Vt(x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,backgroundColorOnHover:"secondary",borderRadius:"md",width:"full",onClick:o,...n,children:[Xe(f,{variant:"title4",children:t}),Xe(u,{name:r?"chevronDown":"chevronUp",size:"s"})]}),Xe(P,{className:`transition-[max-height] ease-in-out duration-500 overflow-hidden ${r?"max-h-full":"max-h-none"}`,spacingHorizontal:a,children:Xe(P,{minHeight:"min",children:e})})]})}var Wt={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},tt={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ne({variant:t="accent",size:e="s"}){let{color:o,...r}=tt.variant[t],{variant:a,...n}=tt.size[e];return{pressable:{...tt.base,...r,...n},text:{color:o,variant:a,textAlign:"center"},icon:{color:o,size:"s"}}}import{jsx as Ko}from"react/jsx-runtime";function qo({size:t,shape:e,src:o,alt:r,...a}){let n=c({...Wt,avatarSize:t,borderRadius:e});return Ko("img",{src:o,alt:r,className:n,...a})}import{forwardRef as Jo}from"react";import{jsx as ot,jsxs as jo}from"react/jsx-runtime";var rt=Jo(function({variant:e="accent",size:o,startIcon:r,endIcon:a,children:n,...l},i){let s=Ne({variant:e,size:o}),p=r?ot(u,{name:r,...s.icon}):null,d=a?ot(u,{name:a,...s.icon}):null;return jo(x,{...s.pressable,ref:i,...l,children:[p,ot(f,{...s.text,children:n}),d]})});import{jsx as at,jsxs as tr}from"react/jsx-runtime";var Ut={accent:"on-color",secondary:"primary"},Qo={accent:"on-color",secondary:"tertiary"};function er({children:t,variant:e,startIcon:o,startContent:r=o?at(u,{name:o,size:"s",color:Ut[e]}):null,endIcon:a,endContent:n=a?at(u,{name:a,size:"s",color:Ut[e]}):null}){return tr(x,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,at(f,{variant:"label2",color:Qo[e],children:t}),n]})}import{Popover as ar,PopoverAnchor as nr,PopoverArrow as ir,PopoverDescription as sr,PopoverDisclosure as lr,PopoverDisclosureArrow as pr,PopoverDismiss as cr,PopoverHeading as dr,PopoverProvider as mr,usePopoverStore as nt}from"@ariakit/react";import{forwardRef as or}from"react";import{jsx as rr}from"react/jsx-runtime";var Fe=or(function({gap:e,...o},r){return rr(T,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...o})});import{jsx as Gt,jsxs as yr}from"react/jsx-runtime";function br({children:t,leading:e,trailing:o}){return yr(Fe,{children:[e,Gt(f,{variant:"headline1",asChild:!0,children:Gt(dr,{children:t})}),o]})}var it=ar,st=ir,fr=nr,gr=sr,ur=cr,lt=mr,pt=lr,hr=pr;var xr=lt;import{jsx as $e,jsxs as Xt}from"react/jsx-runtime";function vr({title:t,description:e,_title:o,_description:r,startIcon:a,endIcon:n,...l}){return Xt(ct,{...l,children:[a&&$e(u,{name:a,size:"s"}),Xt(P,{gap:"3",alignItems:"flex-start",children:[t&&$e(f,{variant:"headline1",...o,children:t}),e&&$e(f,{variant:"label2",color:"muted",...r,children:e})]}),n&&$e(u,{name:n,size:"s"})]})}import{forwardRef as wr,useCallback as Pr}from"react";import{jsx as Cr}from"react/jsx-runtime";var ct=wr(function({children:e,onClick:o,...r},a){let n=nt(),l=Pr(i=>{i.preventDefault(),o?.(()=>n.setOpen(!1))},[o,n]);return Cr(x,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:o?l:void 0,ref:a,...r,children:e})});import{forwardRef as Tr}from"react";import{jsx as $t,jsxs as kr}from"react/jsx-runtime";var Sr=Tr(function({children:e,className:o,overflow:r="scroll",...a},n){return $t(P,{borderRadius:"lg",elevation:"3",className:y("min-w-[220px] max-h-[312px]",o),overflow:r,spacingVertical:"4",asChild:!0,children:kr(it,{preventBodyScroll:!0,...a,ref:n,children:[$t(st,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as Yt}from"react/jsx-runtime";function Rr({children:t,variant:e,size:o,...r}){let a=Ne({variant:e,size:o}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Yt(x,{...n,...r,asChild:!0,children:Yt(pt,{children:t})})}import{forwardRef as Ar}from"react";import{jsx as Zt}from"react/jsx-runtime";var Er={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},dt=Ar(function({variant:e="accent",size:o="s",name:r,className:a,color:n,...l},i){let s=Ne({variant:e,size:o});return Zt(x,{...s.pressable,spacingHorizontal:s.pressable.spacingVertical,ref:i,className:y("leading-[0px]",Er[o],a),...l,children:Zt(u,{name:r,...s.icon,color:n})})});import{jsx as Lr}from"react/jsx-runtime";function Ir({width:t,height:e,src:o,alt:r,contentFit:a="cover",elevation:n,backgroundColor:l=n?`elevation-${n}`:"primary",backgroundColorOnActive:i,backgroundColorOnHover:s,backgroundColorOnChecked:p,opacity:d,bordered:b,borderedTop:g,borderedBottom:v,borderedStart:S,borderedEnd:k,borderedHorizontal:R,borderedVertical:A,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:L,borderBottomStartRadius:M,borderBottomEndRadius:D,borderColor:H,borderColorOnActive:_,borderColorOnFocus:B,borderColorOnChecked:N,borderColorOnHover:O,borderStartColor:z,borderEndColor:F,borderTopColor:V,borderBottomColor:W,borderWidth:U,borderVerticalWidth:G,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:q,alignContent:K,alignItems:J,alignSelf:j,flex:Q,flexDirection:ee,flexGrow:te,flexShrink:oe="0",flexWrap:re,justifyContent:ae,flexBasis:ne,display:ie="flex",zIndex:se,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:me,spacingHorizontal:be,spacingVertical:fe,spacingBottom:ge,spacingEnd:ue,spacingStart:he,spacingTop:ye,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Ce,offsetStart:Te,offsetTop:Se,columnGap:ke,rowGap:Re,minHeight:Ae,maxHeight:Ee,minWidth:Ie,maxWidth:Le,...Me}){let De=c({contentFit:a,elevation:n,backgroundColor:l,backgroundColorOnActive:i,backgroundColorOnHover:s,backgroundColorOnChecked:p,opacity:d,bordered:b,borderedTop:g,borderedBottom:v,borderedStart:S,borderedEnd:k,borderedHorizontal:R,borderedVertical:A,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:L,borderBottomStartRadius:M,borderBottomEndRadius:D,borderColor:H,borderColorOnActive:_,borderColorOnFocus:B,borderColorOnChecked:N,borderColorOnHover:O,borderStartColor:z,borderEndColor:F,borderTopColor:V,borderBottomColor:W,borderWidth:U,borderVerticalWidth:G,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Y,borderTopWidth:Z,borderBottomWidth:q,alignContent:K,alignItems:J,alignSelf:j,flex:Q,flexDirection:ee,flexGrow:te,flexShrink:oe,flexWrap:re,justifyContent:ae,flexBasis:ne,display:ie,zIndex:se,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:me,spacingHorizontal:be,spacingVertical:fe,spacingBottom:ge,spacingEnd:ue,spacingStart:he,spacingTop:ye,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Ce,offsetStart:Te,offsetTop:Se,columnGap:ke,rowGap:Re,minHeight:Ae,maxHeight:Ee,minWidth:Ie,maxWidth:Le});return Lr("img",{src:o,alt:r,className:De,style:{objectPosition:"left",width:t,height:e},...Me})}import{Dialog as Mr,DialogDismiss as Dr,useDialogStore as Hr}from"@ariakit/react";import{jsx as Ve,jsxs as zr}from"react/jsx-runtime";function _r(t){return Hr({animated:!0,...t})}function Br({children:t,handleClose:e}){return zr(Fe,{alignItems:"center",justifyContent:"space-between",children:[Ve(f,{variant:"headline1",children:t}),Ve(rt,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function Nr({className:t,...e}){return Ve(P,{borderRadius:"md",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:y("top-[250px] w-[600px] inset-8 mx-auto origin-center scale-95 opacity-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:scale-100",t),spacing:"8",asChild:!0,overflow:"hidden",children:Ve(Mr,{backdrop:Ve("div",{className:"opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:backdrop-blur-sm data-[enter]:opacity-100 data-[enter]:bg-overlay"}),...e})})}var Or=Dr;import{jsx as mt,jsxs as qt}from"react/jsx-runtime";function Fr({className:t,...e}){return qt("div",{role:"status",className:`self-center ${t}`,...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[qt("svg",{"aria-hidden":"true",className:"w-8 h-8 text-gray-3 animate-spin fill-accent",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[mt("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"}),mt("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"})]}),mt("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as We,isValidElement as Vr}from"react";import{jsx as h,jsxs as Yr}from"react/jsx-runtime";var Wr=We(function({children:e,className:o,display:r="table",overflow:a="hidden",borderColor:n="muted",elevation:l="1",borderRadius:i="md",...s},p){return h(T,{asChild:!0,borderColor:n,elevation:l,borderRadius:i,className:o,overflow:a,display:r,...s,children:h("table",{ref:p,children:e})})}),Ur=We(function({children:e,display:o="table-row",...r},a){return h(T,{asChild:!0,display:o,...r,children:h("tr",{ref:a,children:e})})}),Gr=We(function({children:e,display:o="table-header-group",...r},a){return h(T,{asChild:!0,display:o,...r,children:h("thead",{ref:a,children:e})})}),Xr=We(function({children:e,display:o="table-row-group",...r},a){return h(T,{asChild:!0,display:o,...r,children:h("tbody",{ref:a,children:e})})}),$r=We(function({asHeaderCell:e,className:o,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:l="primary",...i},s){let p=c({textAlign:"start",className:o});return h(f,{asChild:!0,variant:e?"headline1":"body1",color:l,display:r,spacing:a,borderBottomColor:n,borderedBottom:!0,className:p,children:h(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...i,ref:s})})});w.Root=Wr;w.Row=Ur;w.Header=Gr;w.Body=Xr;w.Cell=$r;function w({data:t,columns:e}){return Yr(w.Root,{children:[h(w.Header,{children:h(w.Row,{children:e.map((o,r)=>h(w.Cell,{asHeaderCell:"column",children:o.title},r))})}),h(w.Body,{children:t.map((o,r)=>h(w.Row,{children:e.map((a,n)=>{let l=o[a.dataIndex];return h(w.Cell,{children:a.render?a.render(l,o,r):Vr(l)?l:String(l)},n)})},r))})]})}import{Tab as Zr,TabList as qr,TabPanel as Kr,TabProvider as Jr,useTabContext as Kt}from"@ariakit/react";import{forwardRef as Jt}from"react";import{jsx as _e,jsxs as ra}from"react/jsx-runtime";var jr=C();function Qr(t){return _e(Jr,{...t})}var ea=Jt(function({className:e,...o},r){let a=c({display:"flex",flexDirection:"row",columnGap:"7",className:e});return _e(qr,{ref:r,...o,className:a})}),ta=function({asChild:e,label:o,value:r,startIcon:a}){let n=e?jr:"a",l=c({}),i=Kt();if(!i)throw new Error("Tab must be wrapped in a Tabs component");let s=i?.useState().activeId===r,p=s?"accent":"primary";return _e(Zr,{id:r,className:l,render:_e(n,{children:ra(x,{borderColor:s?"accent":"transparent",borderBottomWidth:"thick",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[a?_e(u,{name:a,color:p,size:"m"}):null,_e(f,{color:p,variant:"headline1",children:o})]})})})},oa=Jt(function(e,o){let r=Kt();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return _e(Kr,{ref:o,tabId:a,...e})});import{jsx as aa}from"react/jsx-runtime";function bt({className:t,disabled:e,backgroundColor:o=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:l="primary",placeholderColor:i="tertiary",spacingVertical:s="5",spacingHorizontal:p="6",fontSize:d="body1",...b}){return aa("input",{type:"text","data-1p-ignore":!0,className:y(c({backgroundColor:o,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:s,spacingHorizontal:p,width:"full",fontSize:d,fontWeight:d,lineHeight:d,fontFamily:d,color:l,placeholderColor:i}),t),disabled:e,...b})}import{jsx as na,jsxs as ia}from"react/jsx-runtime";function ft({children:t,required:e}){return ia(f,{variant:"caption2",children:[t,e&&na(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as jt,jsxs as la}from"react/jsx-runtime";function sa({label:t,required:e,...o}){return la(P,{gap:"4",width:"full",children:[jt(ft,{required:e,children:t}),jt(bt,{required:e,...o})]})}import{Slide as pa,toast as ca,ToastContainer as da}from"react-toastify";import{jsx as Qt}from"react/jsx-runtime";var ma=c({elevation:"3",borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),ba=c({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),fa=c({backgroundColor:"positive"}),ga=c({backgroundColor:"alert"}),ua=c({backgroundColor:"accent"}),ha=c({backgroundColor:"warning"}),ya=c({backgroundColor:"elevation-3-inverse"}),xa=c({backgroundColor:"elevation-3-inverse"}),va=c({backgroundColor:"positive-wash",color:"positive"}),wa=c({backgroundColor:"alert-wash",color:"alert"}),Pa=c({backgroundColor:"accent-wash",color:"accent"}),Ca=c({backgroundColor:"warning-wash",color:"warning"}),Ta=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),Sa=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),ka=t=>{let{type:e="default"}=t??{},o={success:va,error:wa,info:Pa,warning:Ca,default:Ta,dark:Sa}[e];return y(ma,o)};function Ra(t){let{type:e="default",defaultClassName:o=""}=t??{},r={success:fa,error:ga,info:ua,warning:ha,default:ya,dark:xa}[e],a=o.replace(/Toastify__progress-bar-theme--light/,"");return y(a,r)}function Aa({closeToast:t,type:e}){let o={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Qt(dt,{name:"close",size:"s",variant:"accent-ghost",color:o,onClick:t})}function Ea(t){return Qt(da,{toastClassName:ka,bodyClassName:ba,progressClassName:Ra,transition:pa,closeButton:Aa,...t})}var eo={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},to={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var oo={none:0,thin:1,medium:2,thick:2},ro={none:0,thin:1,medium:2,thick:4};var ao={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var no={auto:"auto",square:"1 / 1",video:"16 / 9"},io={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var so={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},lo={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ia={white:"#ffffff",black:"#000000",transparent:"transparent"};var gt={s:16,m:24,l:32},po=gt,ut={s:16,m:24,l:32},co=ut;var mo={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},bo={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 fo={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"}},go={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 Ye=["Helvetica Neue","Helvetica","Arial","sans-serif"],uo=["Georgia","Times","Times New Roman","serif"],ht={icons:{fallbacks:Ye,name:"yahoo-icons"},sans:{fallbacks:Ye,name:"yahoo-sans"},"sans-beta":{fallbacks:Ye,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ye,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:uo,name:"yahoo-serif-text"},"serif-display":{fallbacks:uo,name:"yahoo-serif-display"}},yt={display1:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},La={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},xt={display1:"black",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},vt={display1:"uppercase",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},wt={fontSize:{display1:46,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},Pt={fontSize:{display1:46,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...wt.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Ze={fontSize:{display1:47,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Pt.lineHeight,title2:36,title3:32}},Ct={fontSize:{...Ze.fontSize,display1:48,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Ze.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Tt={fontSize:{display1:50,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...Ct.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},St={fontSize:{display1:52,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Tt.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},ho={fontSize:{display1:54,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...St.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var kt={fontFamily:yt,fontWeight:xt,textTransform:vt,avatarSizes:gt,iconSizes:ut,borderRadius:eo,borderWidth:oo,spacing:mo},qe={fontFamily:yt,fontWeight:xt,textTransform:vt,avatarSizes:po,iconSizes:co,borderRadius:to,borderWidth:ro,spacing:bo},El={colorMode:{light:{palette:so,spectrum:fo},dark:{palette:lo,spectrum:go}},scaleMode:{xSmall:{...kt,...wt},small:{...kt,...Pt},medium:{...kt,...Ze},large:{...qe,...Ct},xLarge:{...qe,...Tt},xxLarge:{...qe,...St},xxxLarge:{...qe,...ho}},aspectRatio:no,elevation:ao,fontFamily:ht,zIndex:io};var Ll="system",Ml="system",Dl="light",Hl="large",_l=!1,Bl="\u{1F1FA}\u{1F1F8} US";function Ol(t){return Object.entries(t)}export{Na as AVATAR_SIZE_PREFIX,Yo as Accordion,qo as Avatar,Oa as BORDER_RADIUS_PREFIX,za as BORDER_WIDTH_PREFIX,T as Box,rt as Button,er as Chip,Rt as DARK_COLOR_MODE_CLASSNAME,Dl as DEFAULT_COLOR_MODE,Xa as DEFAULT_COLOR_MODE_CLASSNAME,Ll as DEFAULT_COLOR_MODE_FOR_APP,_l as DEFAULT_HIGH_CONTRAST_MODE,Bl as DEFAULT_REGION_MODE,Hl as DEFAULT_SCALE_MODE,$a as DEFAULT_SCALE_MODE_CLASSNAME,Ml as DEFAULT_SCALE_MODE_FOR_APP,xr as Dropdown,vr as DropdownItem,ct as DropdownItemPressable,Sr as DropdownItems,Rr as DropdownTrigger,_a as FONT_FAMILY_PREFIX,Ya as FONT_ICONS_CSS_VAR,qa as FONT_SANS_BETA_CSS_VAR,Ka as FONT_SANS_CONDENSED_CSS_VAR,Za as FONT_SANS_CSS_VAR,Ja as FONT_SERIF_DISPLAY_CSS_VAR,ja as FONT_SERIF_TEXT_CSS_VAR,Va as FONT_SIZE_PREFIX,Ua as FONT_WEIGHT_PREFIX,Fe as HStack,Ba as ICON_SIZE_PREFIX,u as Icon,dt as IconButton,Ir as Image,et as LARGE_SCALE_MODE_CLASSNAME,Qe as LIGHT_COLOR_MODE_CLASSNAME,Wa as LINE_HEIGHT_PREFIX,It as MEDIUM_SCALE_MODE_CLASSNAME,Nr as Modal,Or as ModalDismiss,Br as ModalHeader,it as Popover,fr as PopoverAnchor,st as PopoverArrow,gr as PopoverDescription,pt as PopoverDisclosure,hr as PopoverDisclosureArrow,ur as PopoverDismiss,br as PopoverHeading,lt as PopoverProvider,x as Pressable,Et as SMALL_SCALE_MODE_CLASSNAME,Fa as SPACING_PREFIX,Ha as SPECTRUM_COLOR_PREFIX,Fr as Spinner,Ga as TEXT_TRANSFORM_PREFIX,ta as Tab,ea as TabList,oa as TabPanel,w as Table,Qr as Tabs,f as Text,bt as TextInput,sa as TextInputGroup,ft as TextInputLabel,Ea as ToastContainer,m as UDS_PREFIX,P as VStack,Lt as XLARGE_SCALE_MODE_CLASSNAME,At as XSMALL_SCALE_MODE_CLASSNAME,Mt as XXLARGE_SCALE_MODE_CLASSNAME,Dt as XXXLARGE_SCALE_MODE_CLASSNAME,Ia as alwaysPalette,Bt as cva,y as cx,El as defaultTokensConfig,Ol as entries,ht as fontFamilyGlobal,La as fontWeightMap,c as getStyles,ca as toast,_r as useModalStore,nt as usePopoverStore};
|
1
|
+
import{forwardRef as Ut}from"react";import{backgroundColors as Ht,borderRadii as Ft,borderWidths as Nt,elevations as It,foregroundColors as Dt,lineColors as Bt,textVariants as lt}from"@yahoo/uds/fixtures";import Xt from"clsx";import{extendTailwindMerge as Wt}from"tailwind-merge";function De(t){return typeof t=="boolean"?`${t}`:t===0?"0":t}var n="uds",wo=`${n}-spectrum-color`,vo=`${n}-font`,So=`${n}-icon-size`,ko=`${n}-avatar-size`,Co=`${n}-border-radius`,Eo=`${n}-border-width`,Ao=`${n}-spacing`,Ro=`${n}-font-size`,_o=`${n}-line-height`,Po=`${n}-font-weight`,To=`${n}-text-transform`,et=`${n}-color-mode-dark`,Be=`${n}-color-mode-light`,tt=`${n}-scale-mode-xsmall`,ot=`${n}-scale-mode-small`,rt=`${n}-scale-mode-medium`,Xe=`${n}-scale-mode-large`,at=`${n}-scale-mode-xlarge`,nt=`${n}-scale-mode-xxlarge`,it=`${n}-scale-mode-xxxlarge`,Lo=Be,Mo=Xe,zo=`--${n}-font-icons`,Oo=`--${n}-font-sans`,Ho=`--${n}-font-sans-beta`,Fo=`--${n}-font-sans-condensed`,No=`--${n}-font-serif-display`,Io=`--${n}-font-serif-text`;var st={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"},colorChecked:{accent:"data-[state=checked]:text-accent",alert:"data-[state=checked]:text-alert",black:"data-[state=checked]:text-black",brand:"data-[state=checked]:text-brand",positive:"data-[state=checked]:text-positive",warning:"data-[state=checked]:text-warning",white:"data-[state=checked]:text-white",transparent:"data-[state=checked]:text-transparent",primary:"data-[state=checked]:text-primary",secondary:"data-[state=checked]:text-secondary",muted:"data-[state=checked]:text-muted","on-color":"data-[state=checked]:text-on-color",tertiary:"data-[state=checked]: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","accent-wash":"bg-accent-wash","alert-wash":"bg-alert-wash","brand-wash":"bg-brand-wash","elevation-1":"bg-elevation-1","elevation-2":"bg-elevation-2","elevation-3":"bg-elevation-3","elevation-3-inverse":"bg-elevation-3-inverse",overlay:"bg-overlay","positive-wash":"bg-positive-wash",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent","warning-wash":"bg-warning-wash"},backgroundColorOnActive:{accent:"active:bg-accent",alert:"active:bg-alert",black:"active:bg-black",brand:"active:bg-brand",positive:"active:bg-positive",warning:"active:bg-warning",white:"active:bg-white","accent-wash":"active:bg-accent-wash","alert-wash":"active:bg-alert-wash","brand-wash":"active:bg-brand-wash","elevation-1":"active:bg-elevation-1","elevation-2":"active:bg-elevation-2","elevation-3":"active:bg-elevation-3","elevation-3-inverse":"active:bg-elevation-3-inverse",overlay:"active:bg-overlay","positive-wash":"active:bg-positive-wash",primary:"active:bg-primary",secondary:"active:bg-secondary",transparent:"active:bg-transparent","warning-wash":"active:bg-warning-wash"},backgroundColorOnHover:{accent:"hover:bg-accent/80",alert:"hover:bg-alert/80",black:"hover:bg-black/80",brand:"hover:bg-brand/80",positive:"hover:bg-positive/80",warning:"hover:bg-warning/80",white:"hover:bg-white/80","accent-wash":"hover:bg-accent-wash/80","alert-wash":"hover:bg-alert-wash/80","brand-wash":"hover:bg-brand-wash/80","elevation-1":"hover:bg-elevation-1/80","elevation-2":"hover:bg-elevation-2/80","elevation-3":"hover:bg-elevation-3/80","elevation-3-inverse":"hover:bg-elevation-3-inverse/80",overlay:"hover:bg-overlay/80","positive-wash":"hover:bg-positive-wash/80",primary:"hover:bg-primary/80",secondary:"hover:bg-secondary/80",transparent:"hover:bg-transparent/80","warning-wash":"hover:bg-warning-wash/80"},backgroundColorOnChecked:{accent:"data-[state=checked]:bg-accent",alert:"data-[state=checked]:bg-alert",black:"data-[state=checked]:bg-black",brand:"data-[state=checked]:bg-brand",positive:"data-[state=checked]:bg-positive",warning:"data-[state=checked]:bg-warning",white:"data-[state=checked]:bg-white","accent-wash":"data-[state=checked]:bg-accent-wash","alert-wash":"data-[state=checked]:bg-alert-wash","brand-wash":"data-[state=checked]:bg-brand-wash","elevation-1":"data-[state=checked]:bg-elevation-1","elevation-2":"data-[state=checked]:bg-elevation-2","elevation-3":"data-[state=checked]:bg-elevation-3","elevation-3-inverse":"data-[state=checked]:bg-elevation-3-inverse",overlay:"data-[state=checked]:bg-overlay","positive-wash":"data-[state=checked]:bg-positive-wash",primary:"data-[state=checked]:bg-primary",secondary:"data-[state=checked]:bg-secondary",transparent:"data-[state=checked]:bg-transparent","warning-wash":"data-[state=checked]:bg-warning-wash"},backgroundColorOnFocus:{accent:"focus:bg-accent",alert:"focus:bg-alert",black:"focus:bg-black",brand:"focus:bg-brand",positive:"focus:bg-positive",warning:"focus:bg-warning",white:"focus:bg-white","accent-wash":"focus:bg-accent-wash","alert-wash":"focus:bg-alert-wash","brand-wash":"focus:bg-brand-wash","elevation-1":"focus:bg-elevation-1","elevation-2":"focus:bg-elevation-2","elevation-3":"focus:bg-elevation-3","elevation-3-inverse":"focus:bg-elevation-3-inverse",overlay:"focus:bg-overlay","positive-wash":"focus:bg-positive-wash",primary:"focus:bg-primary",secondary:"focus:bg-secondary",transparent:"focus:bg-transparent","warning-wash":"focus:bg-warning-wash"},elevation:{1:"bg-elevation-1 z-30 shadow-1",2:"bg-elevation-2 z-40 shadow-2",3:"bg-elevation-3 z-50 shadow-3"},opacity:{0:"opacity-0",5:"opacity-5",10:"opacity-10",20:"opacity-20",25:"opacity-25",30:"opacity-30",40:"opacity-40",50:"opacity-50",60:"opacity-60",70:"opacity-70",75:"opacity-75",80:"opacity-80",90:"opacity-90",95:"opacity-95",100:"opacity-100"},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"},bordered:{true:"border-thin border-solid"},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"},borderedVertical:{true:"border-y-thin"},borderedTop:{true:"border-t-thin"},borderedBottom:{true:"border-b-thin"},borderedHorizontal:{true:"border-x-thin"},borderedEnd:{true:"border-e-thin"},borderedStart:{true:"border-s-thin"},height:{auto:"h-auto",full:"h-full",screen:"h-screen",min:"h-min",max:"h-max",fit:"h-fit","1/2":"h-1/2","1/3":"h-1/3","2/3":"h-2/3","1/4":"h-1/4","2/4":"h-2/4","3/4":"h-3/4","1/5":"h-1/5","2/5":"h-2/5","3/5":"h-3/5","4/5":"h-4/5","1/6":"h-1/6","2/6":"h-2/6","3/6":"h-3/6","4/6":"h-4/6","5/6":"h-5/6"},minHeight:{full:"min-h-full",min:"min-h-min",max:"min-h-max",fit:"min-h-fit",screen:"min-h-screen"},maxHeight:{full:"max-h-full",min:"max-h-min",max:"max-h-max",fit:"max-h-fit",screen:"max-h-screen",none:"max-h-[0px]"},width:{auto:"w-auto",full:"w-full",screen:"w-screen",min:"w-min",max:"w-max",fit:"w-fit","1/2":"w-1/2","1/3":"w-1/3","2/3":"w-2/3","1/4":"w-1/4","2/4":"w-2/4","3/4":"w-3/4","1/5":"w-1/5","2/5":"w-2/5","3/5":"w-3/5","4/5":"w-4/5","1/6":"w-1/6","2/6":"w-2/6","3/6":"w-3/6","4/6":"w-4/6","5/6":"w-5/6","1/12":"w-1/12","2/12":"w-2/12","3/12":"w-3/12","4/12":"w-4/12","5/12":"w-5/12","6/12":"w-6/12","7/12":"w-7/12","8/12":"w-8/12","9/12":"w-9/12","10/12":"w-10/12","11/12":"w-11/12"},minWidth:{full:"min-w-full",min:"min-w-min",max:"min-w-max",fit:"min-w-fit",screen:"min-w-screen"},maxWidth:{none:"max-w-[0px]",full:"max-w-full",min:"max-w-min",max:"max-w-max",fit:"max-w-fit"},avatarSize:{s:"avatarSize-s",m:"avatarSize-m",l:"avatarSize-l"},iconSize:{s:"iconSize-s leading-none",m:"iconSize-m leading-none",l:"iconSize-l 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"},zIndex:{0:"z-0",10:"z-10",20:"z-20",30:"z-40",40:"z-30",50:"z-50",auto:"z-auto"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:et,light:Be},scaleMode:{xSmall:tt,small:ot,medium:rt,large:Xe,xLarge:at,xxxLarge:it,xxLarge:nt}};var Vt=Wt({cacheSize:0,extend:{theme:{borderColor:Bt,borderWidth:Nt,borderRadius:Ft}},override:{classGroups:{"text-color":[{text:Dt}],"bg-color":[{bg:Ht}],"font-family":[{font:["icons",...lt]}],leading:[{leading:lt}],shadow:[{shadow:It}]},conflictingClassGroups:{}}}),Me=(...t)=>{let o=Xt(t);return Vt(o)},pt=t=>o=>{if(!t?.variants)return Me(t?.base,o?.className);let{variants:p,defaultVariants:c}=t,m=Object.keys(p).map(e=>{let a=o?.[e],i=c?.[e],l=De(a)||De(i);return p[e][l]}),r={...c,...o&&Object.entries(o).reduce((e,[a,i])=>typeof i>"u"?e:{...e,[a]:i},{})},s=t?.compoundVariants?.reduce((e,{className:a,...i})=>Object.entries(i).every(([l,d])=>r[l]===d)?Me(e,a):e,"");return Me(t?.base,m,s,o?.className)},g=pt({variants:st});import{Children as Pe,cloneElement as dt,forwardRef as bt,isValidElement as ze}from"react";function Gt(t,o){typeof t=="function"?t(o):t!=null&&(t.current=o)}function ct(...t){return o=>t.forEach(p=>Gt(p,o))}import{jsx as mt}from"react/jsx-runtime";function Ee(){let t=bt((r,s)=>{let{children:e,...a}=r,i=Pe.toArray(e),l=i.find(c);if(l){let d=l.props.children,b=i.map(f=>f===l?Pe.count(d)>1?Pe.only(null):ze(d)?d.props.children:null:f);return mt(o,{...a,ref:s,children:ze(d)?dt(d,void 0,b):null})}return mt(o,{...a,ref:s,children:e})});t.displayName="Slot";let o=bt((r,s)=>{let{children:e,...a}=r;return ze(e)?dt(e,{...m(a,e.props),ref:s?ct(s,e.ref):e.ref}):Pe.count(e)>1?Pe.only(null):null});o.displayName="SlotClone";let p=({children:r})=>r;function c(r){return ze(r)&&r.type===p}function m(r,s){let e={...s};for(let a in s){let i=r[a],l=s[a];/^on[A-Z]/.test(a)?i&&l?e[a]=(...b)=>{l(...b),i(...b)}:i&&(e[a]=i):a==="style"&&(e[a]={...i,...l})}return{...r,...e}}return t}import{jsx as jt}from"react/jsx-runtime";var $t=Ee(),Te=Ut(function({asChild:o,className:p,elevation:c,backgroundColor:m=c?`elevation-${c}`:void 0,backgroundColorOnActive:r,backgroundColorOnHover:s,backgroundColorOnChecked:e,opacity:a,bordered:i,borderedTop:l,borderedBottom:d,borderedStart:b,borderedEnd:f,borderedHorizontal:h,borderedVertical:y,borderRadius:u,borderTopStartRadius:x,borderTopEndRadius:w,borderBottomStartRadius:v,borderBottomEndRadius:S,borderColor:k,borderColorOnActive:C,borderColorOnFocus:E,borderColorOnChecked:A,borderColorOnHover:R,borderStartColor:_,borderEndColor:P,borderTopColor:T,borderBottomColor:L,borderWidth:M,borderVerticalWidth:z,borderHorizontalWidth:O,borderStartWidth:H,borderEndWidth:F,borderTopWidth:N,borderBottomWidth:I,alignContent:D,alignItems:B,alignSelf:X,flex:W,flexDirection:V,flexGrow:G,flexShrink:U,flexWrap:$,justifyContent:j,flexBasis:Y,display:Z="flex",zIndex:K,overflow:q,overflowX:J,overflowY:Q,position:ee,spacing:te,spacingHorizontal:oe,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:ie,spacingTop:se,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:be,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:he,height:ye,minHeight:ue,maxHeight:xe,width:we,minWidth:ve,maxWidth:Se,...ke},Ce){let Ae=g({elevation:c,backgroundColor:m,backgroundColorOnActive:r,backgroundColorOnHover:s,backgroundColorOnChecked:e,opacity:a,bordered:i,borderedTop:l,borderedBottom:d,borderedStart:b,borderedEnd:f,borderedHorizontal:h,borderedVertical:y,borderRadius:u,borderTopStartRadius:x,borderTopEndRadius:w,borderBottomStartRadius:v,borderBottomEndRadius:S,borderColor:k,borderColorOnActive:C,borderColorOnFocus:E,borderColorOnChecked:A,borderColorOnHover:R,borderStartColor:_,borderEndColor:P,borderTopColor:T,borderBottomColor:L,borderWidth:M,borderVerticalWidth:z,borderHorizontalWidth:O,borderStartWidth:H,borderEndWidth:F,borderTopWidth:N,borderBottomWidth:I,alignContent:D,alignItems:B,alignSelf:X,flex:W,flexDirection:V,flexGrow:G,flexShrink:U,flexWrap:$,justifyContent:j,flexBasis:Y,display:Z,zIndex:K,overflow:q,overflowX:J,overflowY:Q,position:ee,spacing:te,spacingHorizontal:oe,spacingVertical:re,spacingBottom:ae,spacingEnd:ne,spacingStart:ie,spacingTop:se,offset:le,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:de,offsetEnd:be,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:he,height:ye,minHeight:ue,maxHeight:xe,width:we,minWidth:ve,maxWidth:Se,className:p});return jt(o?$t:"div",{className:Ae,ref:Ce,...ke})});import{forwardRef as Yt}from"react";import{jsx as Kt}from"react/jsx-runtime";var Zt=Yt(function({gap:o,...p},c){return Kt(Te,{ref:c,flexDirection:"row",rowGap:o,columnGap:o,...p})});import{forwardRef as qt}from"react";import{jsx as eo}from"react/jsx-runtime";var Jt=Ee(),Qt=qt(function({className:o,asChild:p=!1,size:c="l",color:m="primary",name:r,colorChecked:s,opacity:e,textAlign:a,backgroundColor:i,backgroundColorOnActive:l,backgroundColorOnHover:d,backgroundColorOnChecked:b,bordered:f,borderedTop:h,borderedBottom:y,borderedStart:u,borderedEnd:x,borderedHorizontal:w,borderedVertical:v,borderRadius:S,borderTopStartRadius:k,borderTopEndRadius:C,borderBottomStartRadius:E,borderBottomEndRadius:A,borderColor:R,borderColorOnActive:_,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:L,borderStartColor:M,borderEndColor:z,borderTopColor:O,borderBottomColor:H,borderWidth:F,borderVerticalWidth:N,borderHorizontalWidth:I,borderStartWidth:D,borderEndWidth:B,borderTopWidth:X,borderBottomWidth:W,alignContent:V,alignItems:G,alignSelf:U,flex:$,flexDirection:j,flexGrow:Y,flexShrink:Z,flexWrap:K,justifyContent:q,flexBasis:J,display:Q,zIndex:ee,overflow:te,overflowX:oe,overflowY:re,position:ae,spacing:ne,spacingHorizontal:ie,spacingVertical:se,spacingBottom:le,spacingEnd:pe,spacingStart:ce,spacingTop:de,offset:be,offsetVertical:me,offsetHorizontal:fe,offsetBottom:ge,offsetEnd:he,offsetStart:ye,offsetTop:ue,columnGap:xe,rowGap:we,height:ve,minHeight:Se,maxHeight:ke,width:Ce,minWidth:Ae,maxWidth:Re,..._e},Le){let Ne=p?Jt:"span",Ie=g({iconSize:c,color:m,colorChecked:s,opacity:e,fontFamily:"icons",textAlign:a,backgroundColor:i,backgroundColorOnActive:l,backgroundColorOnHover:d,backgroundColorOnChecked:b,bordered:f,borderedTop:h,borderedBottom:y,borderedStart:u,borderedEnd:x,borderedHorizontal:w,borderedVertical:v,borderRadius:S,borderTopStartRadius:k,borderTopEndRadius:C,borderBottomStartRadius:E,borderBottomEndRadius:A,borderColor:R,borderColorOnActive:_,borderColorOnFocus:P,borderColorOnChecked:T,borderColorOnHover:L,borderStartColor:M,borderEndColor:z,borderTopColor:O,borderBottomColor:H,borderWidth:F,borderVerticalWidth:N,borderHorizontalWidth:I,borderStartWidth:D,borderEndWidth:B,borderTopWidth:X,borderBottomWidth:W,alignContent:V,alignItems:G,alignSelf:U,flex:$,flexDirection:j,flexGrow:Y,flexShrink:Z,flexWrap:K,justifyContent:q,flexBasis:J,display:Q,zIndex:ee,overflow:te,overflowX:oe,overflowY:re,position:ae,spacing:ne,spacingHorizontal:ie,spacingVertical:se,spacingBottom:le,spacingEnd:pe,spacingStart:ce,spacingTop:de,offset:be,offsetVertical:me,offsetHorizontal:fe,offsetBottom:ge,offsetEnd:he,offsetStart:ye,offsetTop:ue,columnGap:xe,rowGap:we,height:ve,minHeight:Se,maxHeight:ke,width:Ce,minWidth:Ae,maxWidth:Re,className:o});return eo(Ne,{className:Ie,ref:Le,..._e,children:r})});import{jsx as oo}from"react/jsx-runtime";function to({width:t,height:o,src:p,alt:c,contentFit:m="cover",elevation:r,backgroundColor:s=r?`elevation-${r}`:"primary",backgroundColorOnActive:e,backgroundColorOnHover:a,backgroundColorOnChecked:i,opacity:l,bordered:d,borderedTop:b,borderedBottom:f,borderedStart:h,borderedEnd:y,borderedHorizontal:u,borderedVertical:x,borderRadius:w,borderTopStartRadius:v,borderTopEndRadius:S,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:E,borderColorOnActive:A,borderColorOnFocus:R,borderColorOnChecked:_,borderColorOnHover:P,borderStartColor:T,borderEndColor:L,borderTopColor:M,borderBottomColor:z,borderWidth:O,borderVerticalWidth:H,borderHorizontalWidth:F,borderStartWidth:N,borderEndWidth:I,borderTopWidth:D,borderBottomWidth:B,alignContent:X,alignItems:W,alignSelf:V,flex:G,flexDirection:U,flexGrow:$,flexShrink:j="0",flexWrap:Y,justifyContent:Z,flexBasis:K,display:q="flex",zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:oe,spacing:re,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:pe,offset:ce,offsetVertical:de,offsetHorizontal:be,offsetBottom:me,offsetEnd:fe,offsetStart:ge,offsetTop:he,columnGap:ye,rowGap:ue,minHeight:xe,maxHeight:we,minWidth:ve,maxWidth:Se,...ke}){let Ce=g({contentFit:m,elevation:r,backgroundColor:s,backgroundColorOnActive:e,backgroundColorOnHover:a,backgroundColorOnChecked:i,opacity:l,bordered:d,borderedTop:b,borderedBottom:f,borderedStart:h,borderedEnd:y,borderedHorizontal:u,borderedVertical:x,borderRadius:w,borderTopStartRadius:v,borderTopEndRadius:S,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:E,borderColorOnActive:A,borderColorOnFocus:R,borderColorOnChecked:_,borderColorOnHover:P,borderStartColor:T,borderEndColor:L,borderTopColor:M,borderBottomColor:z,borderWidth:O,borderVerticalWidth:H,borderHorizontalWidth:F,borderStartWidth:N,borderEndWidth:I,borderTopWidth:D,borderBottomWidth:B,alignContent:X,alignItems:W,alignSelf:V,flex:G,flexDirection:U,flexGrow:$,flexShrink:j,flexWrap:Y,justifyContent:Z,flexBasis:K,display:q,zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:oe,spacing:re,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:pe,offset:ce,offsetVertical:de,offsetHorizontal:be,offsetBottom:me,offsetEnd:fe,offsetStart:ge,offsetTop:he,columnGap:ye,rowGap:ue,minHeight:xe,maxHeight:we,minWidth:ve,maxWidth:Se});return oo("img",{src:p,alt:c,className:Ce,style:{objectPosition:"left",width:t,height:o},...ke})}import{forwardRef as ro}from"react";import{jsx as io}from"react/jsx-runtime";var ao=Ee(),no=ro(function({className:o,asChild:p,onPress:c,onClick:m=c,backgroundColor:r,backgroundColorOnActive:s,backgroundColorOnHover:e,backgroundColorOnChecked:a,elevation:i,opacity:l,bordered:d,borderedTop:b,borderedBottom:f,borderedStart:h,borderedEnd:y,borderedHorizontal:u,borderedVertical:x,borderRadius:w,borderTopStartRadius:v,borderTopEndRadius:S,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:E,borderColorOnActive:A,borderColorOnFocus:R,borderColorOnChecked:_,borderColorOnHover:P,borderStartColor:T,borderEndColor:L,borderTopColor:M,borderBottomColor:z,borderWidth:O,borderVerticalWidth:H,borderHorizontalWidth:F,borderStartWidth:N,borderEndWidth:I,borderTopWidth:D,borderBottomWidth:B,alignContent:X,alignItems:W,alignSelf:V,flex:G,flexDirection:U,flexGrow:$,flexShrink:j,flexWrap:Y,justifyContent:Z,flexBasis:K,display:q,zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:oe,spacing:re,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:pe,offset:ce,offsetVertical:de,offsetHorizontal:be,offsetBottom:me,offsetEnd:fe,offsetStart:ge,offsetTop:he,columnGap:ye,rowGap:ue,height:xe,minHeight:we,maxHeight:ve,width:Se,minWidth:ke,maxWidth:Ce,...Ae},Re){let _e=g({backgroundColor:r,backgroundColorOnActive:s,backgroundColorOnHover:e,backgroundColorOnChecked:a,elevation:i,opacity:l,bordered:d,borderedTop:b,borderedBottom:f,borderedStart:h,borderedEnd:y,borderedHorizontal:u,borderedVertical:x,borderRadius:w,borderTopStartRadius:v,borderTopEndRadius:S,borderBottomStartRadius:k,borderBottomEndRadius:C,borderColor:E,borderColorOnActive:A,borderColorOnFocus:R,borderColorOnChecked:_,borderColorOnHover:P,borderStartColor:T,borderEndColor:L,borderTopColor:M,borderBottomColor:z,borderWidth:O,borderVerticalWidth:H,borderHorizontalWidth:F,borderStartWidth:N,borderEndWidth:I,borderTopWidth:D,borderBottomWidth:B,alignContent:X,alignItems:W,alignSelf:V,flex:G,flexDirection:U,flexGrow:$,flexShrink:j,flexWrap:Y,justifyContent:Z,flexBasis:K,display:q,zIndex:J,overflow:Q,overflowX:ee,overflowY:te,position:oe,spacing:re,spacingHorizontal:ae,spacingVertical:ne,spacingBottom:ie,spacingEnd:se,spacingStart:le,spacingTop:pe,offset:ce,offsetVertical:de,offsetHorizontal:be,offsetBottom:me,offsetEnd:fe,offsetStart:ge,offsetTop:he,columnGap:ye,rowGap:ue,height:xe,minHeight:we,maxHeight:ve,width:Se,minWidth:ke,maxWidth:Ce,className:o});return io(p?ao:"button",{className:_e,ref:Re,onClick:m,...Ae})});import{forwardRef as so}from"react";import{jsx as bo}from"react/jsx-runtime";var lo=Ee(),po={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"},co=so(function({className:o,asChild:p,color:c="primary",colorChecked:m,variant:r="body1",as:s=po[r],fontSize:e=r,fontFamily:a=r,fontWeight:i=r,lineHeight:l=r,textTransform:d=r,textAlign:b,backgroundColor:f,backgroundColorOnActive:h,backgroundColorOnHover:y,backgroundColorOnChecked:u,opacity:x,bordered:w,borderedTop:v,borderedBottom:S,borderedStart:k,borderedEnd:C,borderedHorizontal:E,borderedVertical:A,borderRadius:R,borderTopStartRadius:_,borderTopEndRadius:P,borderBottomStartRadius:T,borderBottomEndRadius:L,borderColor:M,borderColorOnActive:z,borderColorOnFocus:O,borderColorOnChecked:H,borderColorOnHover:F,borderStartColor:N,borderEndColor:I,borderTopColor:D,borderBottomColor:B,borderWidth:X,borderVerticalWidth:W,borderHorizontalWidth:V,borderStartWidth:G,borderEndWidth:U,borderTopWidth:$,borderBottomWidth:j,alignContent:Y,alignItems:Z,alignSelf:K,flex:q,flexDirection:J,flexGrow:Q,flexShrink:ee,flexWrap:te,justifyContent:oe,flexBasis:re,display:ae,zIndex:ne,overflow:ie,overflowX:se,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ge,spacingTop:he,offset:ye,offsetVertical:ue,offsetHorizontal:xe,offsetBottom:we,offsetEnd:ve,offsetStart:Se,offsetTop:ke,columnGap:Ce,rowGap:Ae,height:Re,minHeight:_e,maxHeight:Le,width:Ne,minWidth:Ie,maxWidth:Lt,...Mt},zt){let Ot=g({className:o,color:c,colorChecked:m,fontFamily:a,fontSize:e,fontWeight:i,lineHeight:l,textTransform:d,textAlign:b,backgroundColor:f,backgroundColorOnActive:h,backgroundColorOnHover:y,backgroundColorOnChecked:u,opacity:x,bordered:w,borderedTop:v,borderedBottom:S,borderedStart:k,borderedEnd:C,borderedHorizontal:E,borderedVertical:A,borderRadius:R,borderTopStartRadius:_,borderTopEndRadius:P,borderBottomStartRadius:T,borderBottomEndRadius:L,borderColor:M,borderColorOnActive:z,borderColorOnFocus:O,borderColorOnChecked:H,borderColorOnHover:F,borderStartColor:N,borderEndColor:I,borderTopColor:D,borderBottomColor:B,borderWidth:X,borderVerticalWidth:W,borderHorizontalWidth:V,borderStartWidth:G,borderEndWidth:U,borderTopWidth:$,borderBottomWidth:j,alignContent:Y,alignItems:Z,alignSelf:K,flex:q,flexDirection:J,flexGrow:Q,flexShrink:ee,flexWrap:te,justifyContent:oe,flexBasis:re,display:ae,zIndex:ne,overflow:ie,overflowX:se,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ge,spacingTop:he,offset:ye,offsetVertical:ue,offsetHorizontal:xe,offsetBottom:we,offsetEnd:ve,offsetStart:Se,offsetTop:ke,columnGap:Ce,rowGap:Ae,height:Re,minHeight:_e,maxHeight:Le,width:Ne,minWidth:Ie,maxWidth:Lt});return bo(p?lo:s,{className:Ot,ref:zt,...Mt})});import{forwardRef as mo}from"react";import{jsx as go}from"react/jsx-runtime";var fo=mo(function({gap:o,...p},c){return go(Te,{ref:c,flexDirection:"column",columnGap:o,rowGap:o,...p})});var ft={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},gt={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ht={none:0,thin:1,medium:2,thick:2},yt={none:0,thin:1,medium:2,thick:4};var ut={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var xt={auto:"auto",square:"1 / 1",video:"16 / 9"},wt={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var vt={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},St={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},ho={white:"#ffffff",black:"#000000",transparent:"transparent"};var We={s:16,m:24,l:32},kt=We,Ve={s:16,m:24,l:32},Ct=Ve;var Et={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},At={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 Rt={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"}},_t={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 Oe=["Helvetica Neue","Helvetica","Arial","sans-serif"],Pt=["Georgia","Times","Times New Roman","serif"],Ge={icons:{fallbacks:Oe,name:"yahoo-icons"},sans:{fallbacks:Oe,name:"yahoo-sans"},"sans-beta":{fallbacks:Oe,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Oe,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Pt,name:"yahoo-serif-text"},"serif-display":{fallbacks:Pt,name:"yahoo-serif-display"}},Ue={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"},yo={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},$e={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"},je={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"},Ye={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}},Ze={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:{...Ye.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},He={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:{...Ze.lineHeight,title2:36,title3:32}},Ke={fontSize:{...He.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...He.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},qe={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:{...Ke.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Je={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:{...qe.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Tt={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:{...Je.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Qe={fontFamily:Ue,fontWeight:$e,textTransform:je,avatarSizes:We,iconSizes:Ve,borderRadius:ft,borderWidth:ht,spacing:Et},Fe={fontFamily:Ue,fontWeight:$e,textTransform:je,avatarSizes:kt,iconSizes:Ct,borderRadius:gt,borderWidth:yt,spacing:At},oa={colorMode:{light:{palette:vt,spectrum:Rt},dark:{palette:St,spectrum:_t}},scaleMode:{xSmall:{...Qe,...Ye},small:{...Qe,...Ze},medium:{...Qe,...He},large:{...Fe,...Ke},xLarge:{...Fe,...qe},xxLarge:{...Fe,...Je},xxxLarge:{...Fe,...Tt}},aspectRatio:xt,elevation:ut,fontFamily:Ge,zIndex:wt};var aa="system",na="system",ia="light",sa="large",la=!1,pa="\u{1F1FA}\u{1F1F8} US";function da(t){return Object.entries(t)}export{ko as AVATAR_SIZE_PREFIX,Co as BORDER_RADIUS_PREFIX,Eo as BORDER_WIDTH_PREFIX,Te as Box,et as DARK_COLOR_MODE_CLASSNAME,ia as DEFAULT_COLOR_MODE,Lo as DEFAULT_COLOR_MODE_CLASSNAME,aa as DEFAULT_COLOR_MODE_FOR_APP,la as DEFAULT_HIGH_CONTRAST_MODE,pa as DEFAULT_REGION_MODE,sa as DEFAULT_SCALE_MODE,Mo as DEFAULT_SCALE_MODE_CLASSNAME,na as DEFAULT_SCALE_MODE_FOR_APP,vo as FONT_FAMILY_PREFIX,zo as FONT_ICONS_CSS_VAR,Ho as FONT_SANS_BETA_CSS_VAR,Fo as FONT_SANS_CONDENSED_CSS_VAR,Oo as FONT_SANS_CSS_VAR,No as FONT_SERIF_DISPLAY_CSS_VAR,Io as FONT_SERIF_TEXT_CSS_VAR,Ro as FONT_SIZE_PREFIX,Po as FONT_WEIGHT_PREFIX,Zt as HStack,So as ICON_SIZE_PREFIX,Qt as Icon,to as Image,Xe as LARGE_SCALE_MODE_CLASSNAME,Be as LIGHT_COLOR_MODE_CLASSNAME,_o as LINE_HEIGHT_PREFIX,rt as MEDIUM_SCALE_MODE_CLASSNAME,no as Pressable,ot as SMALL_SCALE_MODE_CLASSNAME,Ao as SPACING_PREFIX,wo as SPECTRUM_COLOR_PREFIX,To as TEXT_TRANSFORM_PREFIX,co as Text,n as UDS_PREFIX,fo as VStack,at as XLARGE_SCALE_MODE_CLASSNAME,tt as XSMALL_SCALE_MODE_CLASSNAME,nt as XXLARGE_SCALE_MODE_CLASSNAME,it as XXXLARGE_SCALE_MODE_CLASSNAME,ho as alwaysPalette,pt as cva,Me as cx,oa as defaultTokensConfig,da as entries,Ge as fontFamilyGlobal,yo as fontWeightMap,g as getStyles};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, h as FontFamilyGlobalConfig,
|
1
|
+
import { U as UniversalTokensConfig, h as FontFamilyGlobalConfig, ag as FontWeightDescriptive, f as FontWeightNumeric, W as ColorModeForApp, aM as ScaleModeForApp, C as ColorMode, S as ScaleMode, ak as HighContrastMode, aJ as RegionMode } from './types-CzJpH_Oi.js';
|
2
2
|
|
3
3
|
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { U as UniversalTokensConfig, h as FontFamilyGlobalConfig,
|
1
|
+
import { U as UniversalTokensConfig, h as FontFamilyGlobalConfig, ag as FontWeightDescriptive, f as FontWeightNumeric, W as ColorModeForApp, aM as ScaleModeForApp, C as ColorMode, S as ScaleMode, ak as HighContrastMode, aJ as RegionMode } from './types-CzJpH_Oi.cjs';
|
2
2
|
|
3
3
|
declare const defaultTokensConfig: UniversalTokensConfig;
|
4
4
|
|