@yahoo/uds 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/cli/README.md +2 -8
  2. package/cli/bunfig.toml +3 -0
  3. package/cli/commands/expo/_setup.ts +1 -0
  4. package/cli/commands/expo/build.ts +1 -1
  5. package/cli/commands/expo/launch.ts +1 -1
  6. package/cli/commands/purge.ts +1 -1
  7. package/cli/commands/sync.ts +16 -4
  8. package/cli/commands/uds.ts +4 -1
  9. package/cli/commands/version.ts +1 -1
  10. package/cli/preload.ts +42 -0
  11. package/cli/utils/configWorker.ts +30 -11
  12. package/cli/utils/getCommandHelp.ts +22 -13
  13. package/cli/utils/purgeCSS.test.ts +139 -0
  14. package/cli/utils/purgeCSS.ts +72 -8
  15. package/cli/utils/setupConfigWorker.ts +8 -38
  16. package/cli/utils/types.ts +5 -2
  17. package/dist/{Image.native-tkOXN29I.d.ts → Image.native-C6kOWgnf.d.ts} +1 -1
  18. package/dist/{Image.native-jCNIrPZD.d.cts → Image.native-VeXt5aeI.d.cts} +1 -1
  19. package/dist/VStack-BSD9TbBd.d.cts +114 -0
  20. package/dist/VStack-Dk3-8IyU.d.ts +114 -0
  21. package/dist/experimental/index.cjs +1 -1
  22. package/dist/experimental/index.d.cts +5 -4
  23. package/dist/experimental/index.d.ts +5 -4
  24. package/dist/experimental/index.js +1 -1
  25. package/dist/experimental/index.native.cjs +1 -1
  26. package/dist/experimental/index.native.d.cts +3 -3
  27. package/dist/experimental/index.native.d.ts +3 -3
  28. package/dist/experimental/index.native.js +1 -1
  29. package/dist/fixtures/index.cjs +1 -1
  30. package/dist/fixtures/index.d.cts +15 -1
  31. package/dist/fixtures/index.d.ts +15 -1
  32. package/dist/fixtures/index.js +1 -1
  33. package/dist/index.cjs +1 -1
  34. package/dist/index.d.cts +133 -184
  35. package/dist/index.d.ts +133 -184
  36. package/dist/index.js +1 -1
  37. package/dist/{index.native-xVHqKK0u.d.ts → index.native-CisPq4BI.d.ts} +1 -1
  38. package/dist/{index.native--Dm3KDDS.d.cts → index.native-DJlx-bfM.d.cts} +1 -1
  39. package/dist/index.native.cjs +1 -1
  40. package/dist/index.native.d.cts +5 -5
  41. package/dist/index.native.d.ts +5 -5
  42. package/dist/index.native.js +1 -1
  43. package/dist/tailwindPlugin.cjs +1 -1
  44. package/dist/tailwindPlugin.d.cts +1 -1
  45. package/dist/tailwindPlugin.d.ts +1 -1
  46. package/dist/tailwindPlugin.js +1 -1
  47. package/dist/tailwindPurge/utils.cjs +1 -0
  48. package/dist/tailwindPurge/utils.d.cts +25 -0
  49. package/dist/tailwindPurge/utils.d.ts +25 -0
  50. package/dist/tailwindPurge/utils.js +1 -0
  51. package/dist/tailwindPurge.cjs +1 -1
  52. package/dist/tailwindPurge.d.cts +5 -1
  53. package/dist/tailwindPurge.d.ts +5 -1
  54. package/dist/tailwindPurge.js +1 -1
  55. package/dist/tokens/index.cjs +1 -1
  56. package/dist/tokens/index.d.cts +2 -2
  57. package/dist/tokens/index.d.ts +2 -2
  58. package/dist/tokens/index.js +1 -1
  59. package/dist/tokens/index.native.cjs +1 -1
  60. package/dist/tokens/index.native.d.cts +2 -2
  61. package/dist/tokens/index.native.d.ts +2 -2
  62. package/dist/tokens/index.native.js +1 -1
  63. package/dist/tokens/parseTokens.cjs +1 -1
  64. package/dist/tokens/parseTokens.d.cts +1 -1
  65. package/dist/tokens/parseTokens.d.ts +1 -1
  66. package/dist/tokens/parseTokens.js +1 -1
  67. package/dist/tokens/parseTokens.native.d.cts +1 -1
  68. package/dist/tokens/parseTokens.native.d.ts +1 -1
  69. package/dist/{types-7oEBWtMQ.d.cts → types-CzJpH_Oi.d.cts} +2 -2
  70. package/dist/{types-7oEBWtMQ.d.ts → types-CzJpH_Oi.d.ts} +2 -2
  71. package/package.json +18 -2
  72. package/dist/Pressable-2kgXQNVs.d.cts +0 -55
  73. package/dist/Pressable-LIDkIIAF.d.ts +0 -55
  74. /package/dist/{types-J4DLS6Xj.d.cts → types-FO65RM-W.d.cts} +0 -0
  75. /package/dist/{types-J4DLS6Xj.d.ts → types-FO65RM-W.d.ts} +0 -0
@@ -1 +1 @@
1
- import{forwardRef as et}from"react";import{backgroundColors as Uo,borderRadii as Wo,borderWidths as Xo,elevations as $o,foregroundColors as Zo,lineColors as Ko,textVariants as wo}from"@yahoo/uds/fixtures";import Yo from"clsx";import{extendTailwindMerge as qo}from"tailwind-merge";function Ye(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var b="uds",Qr=`${b}-spectrum-color`,jr=`${b}-font`,ea=`${b}-icon-size`,oa=`${b}-avatar-size`,ta=`${b}-border-radius`,ra=`${b}-border-width`,aa=`${b}-spacing`,na=`${b}-font-size`,sa=`${b}-line-height`,ia=`${b}-font-weight`,la=`${b}-text-transform`,co=`${b}-color-mode-dark`,bo=`${b}-color-mode-light`,mo=`${b}-scale-mode-xsmall`,fo=`${b}-scale-mode-small`,uo=`${b}-scale-mode-medium`,go=`${b}-scale-mode-large`,yo=`${b}-scale-mode-xlarge`,ho=`${b}-scale-mode-xxlarge`,xo=`${b}-scale-mode-xxxlarge`;var pa=`--${b}-font-icons`,ca=`--${b}-font-sans`,da=`--${b}-font-sans-beta`,ba=`--${b}-font-sans-condensed`,ma=`--${b}-font-serif-display`,fa=`--${b}-font-serif-text`;var vo={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:co,light:bo},scaleMode:{xSmall:mo,small:fo,medium:uo,large:go,xLarge:yo,xxxLarge:xo,xxLarge:ho}};var Jo=qo({cacheSize:0,extend:{theme:{borderColor:Ko,borderWidth:Xo,borderRadius:Wo}},override:{classGroups:{"text-color":[{text:Zo}],"bg-color":[{bg:Uo}],"font-family":[{font:["icons",...wo]}],leading:[{leading:wo}],shadow:[{shadow:$o}]},conflictingClassGroups:{}}}),u=(...o)=>{let e=Yo(o);return Jo(e)},Qo=o=>e=>{if(!o?.variants)return u(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let i=e?.[s],p=r?.[s],d=Ye(i)||Ye(p);return t[s][d]}),n={...r,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([d,f])=>n[d]===f)?u(s,i):s,"");return u(o?.base,a,l,e?.className)},c=Qo({variants:vo});import{Children as ze,cloneElement as To,forwardRef as Co,isValidElement as Ue}from"react";function jo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function Po(...o){return e=>o.forEach(t=>jo(t,e))}import{jsx as So}from"react/jsx-runtime";function T(){let o=Co((n,l)=>{let{children:s,...i}=n,p=ze.toArray(s),d=p.find(r);if(d){let f=d.props.children,h=p.map(w=>w===d?ze.count(f)>1?ze.only(null):Ue(f)?f.props.children:null:w);return So(e,{...i,ref:l,children:Ue(f)?To(f,void 0,h):null})}return So(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=Co((n,l)=>{let{children:s,...i}=n;return Ue(s)?To(s,{...a(i,s.props),ref:l?Po(l,s.ref):s.ref}):ze.count(s)>1?ze.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ue(n)&&n.type===t}function a(n,l){let s={...l};for(let i in l){let p=n[i],d=l[i];/^on[A-Z]/.test(i)?p&&d?s[i]=(...h)=>{d(...h),p(...h)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...d})}return{...n,...s}}return o}import{jsx as tt}from"react/jsx-runtime";var ot=T(),y=et(function({className:e,asChild:t=!1,size:r="l",color:a="primary",name:n,colorChecked:l,opacity:s,textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:D,borderRadius:I,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:_,borderColor:N,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:De,minHeight:Ie,maxHeight:Le,width:Me,minWidth:He,maxWidth:Ne,...Oe},Ge){let Ze=t?ot:"span",Ke=c({iconSize:r,color:a,colorChecked:l,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:D,borderRadius:I,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:_,borderColor:N,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:De,minHeight:Ie,maxHeight:Le,width:Me,minWidth:He,maxWidth:Ne,className:e});return tt(Ze,{className:Ke,ref:Ge,...Oe,children:n})});import{forwardRef as rt}from"react";import{jsx as nt}from"react/jsx-runtime";var at=T(),x=rt(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:D,borderTopEndRadius:I,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:_,borderColorOnFocus:N,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:De,width:Ie,minWidth:Le,maxWidth:Me,...He},Ne){let Oe=c({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:D,borderTopEndRadius:I,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:_,borderColorOnFocus:N,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:De,width:Ie,minWidth:Le,maxWidth:Me,className:e});return nt(t?at:"button",{className:Oe,ref:Ne,onClick:a,...He})});import{forwardRef as st}from"react";import{jsx as pt}from"react/jsx-runtime";var it=T(),lt={display1:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},m=st(function({className:e,asChild:t,color:r="primary",colorChecked:a,variant:n="body1",as:l=lt[n],fontSize:s=n,fontFamily:i=n,fontWeight:p=n,lineHeight:d=n,textTransform:f=n,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:D,borderedBottom:I,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:_,borderRadius:N,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:De,offsetStart:Ie,offsetTop:Le,columnGap:Me,rowGap:He,height:Ne,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo,...Vo},Fo){let Go=c({className:e,color:r,colorChecked:a,fontFamily:i,fontSize:s,fontWeight:p,lineHeight:d,textTransform:f,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:D,borderedBottom:I,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:_,borderRadius:N,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:De,offsetStart:Ie,offsetTop:Le,columnGap:Me,rowGap:He,height:Ne,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo});return pt(t?it:l,{className:Go,ref:Fo,...Vo})});import{forwardRef as mt}from"react";import{forwardRef as ct}from"react";import{jsx as bt}from"react/jsx-runtime";var dt=T(),C=ct(function({asChild:e,className:t,elevation:r,backgroundColor:a=r?`elevation-${r}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:D,borderBottomEndRadius:I,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:_,borderColorOnHover:N,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae="flex",zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:De,maxWidth:Ie,...Le},Me){let He=c({elevation:r,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:D,borderBottomEndRadius:I,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:_,borderColorOnHover:N,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:De,maxWidth:Ie,className:t});return bt(e?dt:"div",{className:He,ref:Me,...Le})});import{jsx as ft}from"react/jsx-runtime";var P=mt(function({gap:e,...t},r){return ft(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as gt,jsx as We,jsxs as ko}from"react/jsx-runtime";function ut({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",...n}){return ko(gt,{children:[ko(x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,backgroundColorOnHover:"secondary",borderRadius:"md",width:"full",onClick:t,...n,children:[We(m,{variant:"title4",children:o}),We(y,{name:r?"chevronDown":"chevronUp",size:"s"})]}),We(P,{overflow:"hidden",className:`transition-[max-height] ease-in-out duration-500 ${r?"max-h-full":"max-h-none"}`,spacingHorizontal:a,children:We(P,{minHeight:"min",children:e})})]})}var Ao={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},qe={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 Be({variant:o="accent",size:e="s"}){let{color:t,...r}=qe.variant[o],{variant:a,...n}=qe.size[e];return{pressable:{...qe.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}import{jsx as ht}from"react/jsx-runtime";function yt({size:o,shape:e,src:t,alt:r,...a}){let n=c({...Ao,avatarSize:o,borderRadius:e});return ht("img",{src:t,alt:r,className:n,...a})}import{forwardRef as xt}from"react";import{jsx as Je,jsxs as vt}from"react/jsx-runtime";var Qe=xt(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...l},s){let i=Be({variant:e,size:t}),p=r?Je(y,{name:r,...i.icon}):null,d=a?Je(y,{name:a,...i.icon}):null;return vt(x,{...i.pressable,ref:s,...l,children:[p,Je(m,{...i.text,children:n}),d]})});import{jsx as je,jsxs as Tt}from"react/jsx-runtime";var Ro={accent:"on-color",secondary:"primary"},wt={accent:"on-color",secondary:"tertiary"};function Pt({children:o,variant:e,startIcon:t,startContent:r=t?je(y,{name:t,size:"s",color:Ro[e]}):null,endIcon:a,endContent:n=a?je(y,{name:a,size:"s",color:Ro[e]}):null}){return Tt(x,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,je(m,{variant:"label2",color:wt[e],children:o}),n]})}import{Popover as kt,PopoverAnchor as At,PopoverArrow as Rt,PopoverDescription as Et,PopoverDisclosure as Dt,PopoverDisclosureArrow as It,PopoverDismiss as Lt,PopoverHeading as Mt,PopoverProvider as Ht,usePopoverStore as eo}from"@ariakit/react";import{forwardRef as Ct}from"react";import{jsx as St}from"react/jsx-runtime";var Xe=Ct(function({gap:e,...t},r){return St(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as Eo,jsxs as Vt}from"react/jsx-runtime";function _t({children:o,leading:e,trailing:t}){return Vt(Xe,{children:[e,Eo(m,{variant:"headline1",asChild:!0,children:Eo(Mt,{children:o})}),t]})}var oo=kt,to=Rt,Nt=At,Bt=Et,Ot=Lt,ro=Ht,ao=Dt,zt=It;var Ft=ro;import{forwardRef as Gt,useCallback as Ut}from"react";import{jsx as Wt}from"react/jsx-runtime";var no=Gt(function({children:e,onClick:t,...r},a){let n=eo(),l=Ut(s=>{s.preventDefault(),t?.(()=>n.setOpen(!1))},[t,n]);return Wt(x,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:t?l:void 0,ref:a,...r,children:e})});import{jsx as $e,jsxs as Do}from"react/jsx-runtime";function Xt({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...l}){return Do(no,{...l,children:[a&&$e(y,{name:a,size:"s"}),Do(P,{gap:"3",alignItems:"flex-start",children:[o&&$e(m,{variant:"headline1",...t,children:o}),e&&$e(m,{variant:"label2",color:"muted",...r,children:e})]}),n&&$e(y,{name:n,size:"s"})]})}import{forwardRef as $t}from"react";import{jsx as Io,jsxs as Kt}from"react/jsx-runtime";var Zt=$t(function({children:e,className:t,overflow:r="scroll",...a},n){return Io(P,{borderRadius:"lg",elevation:"3",className:u("min-w-[220px] max-h-[312px]",t),overflow:r,spacingVertical:"4",asChild:!0,children:Kt(oo,{preventBodyScroll:!0,...a,ref:n,children:[Io(to,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as Lo}from"react/jsx-runtime";function Yt({children:o,variant:e,size:t,...r}){let a=Be({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Lo(x,{...n,...r,asChild:!0,children:Lo(ao,{children:o})})}import{forwardRef as qt}from"react";import{jsx as Mo}from"react/jsx-runtime";var Jt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},so=qt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...l},s){let i=Be({variant:e,size:t});return Mo(x,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:u("leading-[0px]",Jt[t],a),...l,children:Mo(y,{name:r,...i.icon,color:n})})});import{Dialog as Qt,DialogDismiss as jt,useDialogStore as er}from"@ariakit/react";import{jsx as Ve,jsxs as nr}from"react/jsx-runtime";function or(o){return er({animated:!0,...o})}function tr({children:o,handleClose:e}){return nr(Xe,{alignItems:"center",justifyContent:"space-between",children:[Ve(m,{variant:"headline1",children:o}),Ve(Qe,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function rr({className:o,...e}){return Ve(P,{borderRadius:"md",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:u("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",o),spacing:"8",asChild:!0,overflow:"hidden",children:Ve(Qt,{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 ar=jt;import{jsx as io,jsxs as Ho}from"react/jsx-runtime";function sr({className:o,...e}){return Ho("div",{role:"status",className:u("self-center",o),...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[Ho("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:[io("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"}),io("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"})]}),io("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as Fe,isValidElement as ir}from"react";import{jsx as g,jsxs as mr}from"react/jsx-runtime";var lr=Fe(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",elevation:l="1",borderRadius:s="md",...i},p){return g(C,{asChild:!0,borderColor:n,elevation:l,borderRadius:s,className:t,overflow:a,display:r,...i,children:g("table",{ref:p,children:e})})}),pr=Fe(function({children:e,display:t="table-row",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tr",{ref:a,children:e})})}),cr=Fe(function({children:e,display:t="table-header-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("thead",{ref:a,children:e})})}),dr=Fe(function({children:e,display:t="table-row-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tbody",{ref:a,children:e})})}),br=Fe(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:l="primary",...s},i){let p=c({textAlign:"start",className:t});return g(m,{asChild:!0,variant:e?"headline1":"body1",color:l,display:r,spacing:a,borderBottomColor:n,borderedBottom:!0,className:p,children:g(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});v.Root=lr;v.Row=pr;v.Header=cr;v.Body=dr;v.Cell=br;function v({data:o,columns:e}){return mr(v.Root,{children:[g(v.Header,{children:g(v.Row,{children:e.map((t,r)=>g(v.Cell,{asHeaderCell:"column",children:t.title},r))})}),g(v.Body,{children:o.map((t,r)=>g(v.Row,{children:e.map((a,n)=>{let l=t[a.dataIndex];return g(v.Cell,{children:a.render?a.render(l,t,r):ir(l)?l:String(l)},n)})},r))})]})}import{Tab as fr,TabList as ur,TabPanel as gr,TabProvider as yr,useTabContext as _o}from"@ariakit/react";import{forwardRef as No}from"react";import{jsx as _e,jsxs as Tr}from"react/jsx-runtime";var hr=T();function xr(o){return _e(yr,{...o})}var vr=No(function({className:e,...t},r){let a=c({display:"flex",flexDirection:"row",columnGap:"7",className:e});return _e(ur,{ref:r,...t,className:a})}),wr=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?hr:"a",l=c({}),s=_o();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===r,p=i?"accent":"primary";return _e(fr,{id:r,className:l,render:_e(n,{children:Tr(x,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[a?_e(y,{name:a,color:p,size:"m"}):null,_e(m,{color:p,variant:"headline1",children:t})]})})})},Pr=No(function(e,t){let r=_o();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return _e(gr,{ref:t,tabId:a,...e})});import{jsx as Cr}from"react/jsx-runtime";function lo({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:d="body1",...f}){return Cr("input",{type:"text","data-1p-ignore":!0,className:u(c({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:i,spacingHorizontal:p,width:"full",fontSize:d,fontWeight:d,lineHeight:d,fontFamily:d,color:l,placeholderColor:s}),o),disabled:e,...f})}import{jsx as Sr,jsxs as kr}from"react/jsx-runtime";function po({children:o,required:e}){return kr(m,{variant:"caption2",children:[o,e&&Sr(m,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as Bo,jsxs as Rr}from"react/jsx-runtime";function Ar({label:o,required:e,...t}){return Rr(P,{gap:"4",width:"full",children:[Bo(po,{required:e,children:o}),Bo(lo,{required:e,...t})]})}import{Slide as Er,toast as Dr,ToastContainer as Ir}from"react-toastify";import{jsx as Oo}from"react/jsx-runtime";var Lr=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"}),Mr=c({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Hr=c({backgroundColor:"positive"}),_r=c({backgroundColor:"alert"}),Nr=c({backgroundColor:"accent"}),Br=c({backgroundColor:"warning"}),Or=c({backgroundColor:"elevation-3-inverse"}),zr=c({backgroundColor:"elevation-3-inverse"}),Vr=c({backgroundColor:"positive-wash",color:"positive"}),Fr=c({backgroundColor:"alert-wash",color:"alert"}),Gr=c({backgroundColor:"accent-wash",color:"accent"}),Ur=c({backgroundColor:"warning-wash",color:"warning"}),Wr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),Xr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),$r=o=>{let{type:e="default"}=o??{},t={success:Vr,error:Fr,info:Gr,warning:Ur,default:Wr,dark:Xr}[e];return u(Lr,t)};function Zr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:Hr,error:_r,info:Nr,warning:Br,default:Or,dark:zr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return u(a,r)}function Kr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Oo(so,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Yr(o){return Oo(Ir,{toastClassName:$r,bodyClassName:Mr,progressClassName:Zr,transition:Er,closeButton:Kr,...o})}export{ut as Accordion,yt as Avatar,Qe as Button,Pt as Chip,Ft as Dropdown,Xt as DropdownItem,no as DropdownItemPressable,Zt as DropdownItems,Yt as DropdownTrigger,so as IconButton,rr as Modal,ar as ModalDismiss,tr as ModalHeader,oo as Popover,Nt as PopoverAnchor,to as PopoverArrow,Bt as PopoverDescription,ao as PopoverDisclosure,zt as PopoverDisclosureArrow,Ot as PopoverDismiss,_t as PopoverHeading,ro as PopoverProvider,sr as Spinner,wr as Tab,vr as TabList,Pr as TabPanel,v as Table,xr as Tabs,lo as TextInput,Ar as TextInputGroup,po as TextInputLabel,Yr as ToastContainer,Dr as toast,or as useModalStore,eo as usePopoverStore};
1
+ import{forwardRef as et}from"react";import{backgroundColors as Uo,borderRadii as Wo,borderWidths as Xo,elevations as $o,foregroundColors as Zo,lineColors as Ko,textVariants as wo}from"@yahoo/uds/fixtures";import Yo from"clsx";import{extendTailwindMerge as qo}from"tailwind-merge";function Ye(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var b="uds",Qr=`${b}-spectrum-color`,jr=`${b}-font`,ea=`${b}-icon-size`,oa=`${b}-avatar-size`,ta=`${b}-border-radius`,ra=`${b}-border-width`,aa=`${b}-spacing`,na=`${b}-font-size`,sa=`${b}-line-height`,ia=`${b}-font-weight`,la=`${b}-text-transform`,co=`${b}-color-mode-dark`,bo=`${b}-color-mode-light`,mo=`${b}-scale-mode-xsmall`,fo=`${b}-scale-mode-small`,uo=`${b}-scale-mode-medium`,go=`${b}-scale-mode-large`,yo=`${b}-scale-mode-xlarge`,ho=`${b}-scale-mode-xxlarge`,xo=`${b}-scale-mode-xxxlarge`;var pa=`--${b}-font-icons`,ca=`--${b}-font-sans`,da=`--${b}-font-sans-beta`,ba=`--${b}-font-sans-condensed`,ma=`--${b}-font-serif-display`,fa=`--${b}-font-serif-text`;var vo={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:co,light:bo},scaleMode:{xSmall:mo,small:fo,medium:uo,large:go,xLarge:yo,xxxLarge:xo,xxLarge:ho}};var Jo=qo({cacheSize:0,extend:{theme:{borderColor:Ko,borderWidth:Xo,borderRadius:Wo}},override:{classGroups:{"text-color":[{text:Zo}],"bg-color":[{bg:Uo}],"font-family":[{font:["icons",...wo]}],leading:[{leading:wo}],shadow:[{shadow:$o}]},conflictingClassGroups:{}}}),u=(...o)=>{let e=Yo(o);return Jo(e)},Qo=o=>e=>{if(!o?.variants)return u(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let i=e?.[s],p=r?.[s],d=Ye(i)||Ye(p);return t[s][d]}),n={...r,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([d,f])=>n[d]===f)?u(s,i):s,"");return u(o?.base,a,l,e?.className)},c=Qo({variants:vo});import{Children as ze,cloneElement as To,forwardRef as Co,isValidElement as Ue}from"react";function jo(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function Po(...o){return e=>o.forEach(t=>jo(t,e))}import{jsx as So}from"react/jsx-runtime";function T(){let o=Co((n,l)=>{let{children:s,...i}=n,p=ze.toArray(s),d=p.find(r);if(d){let f=d.props.children,h=p.map(w=>w===d?ze.count(f)>1?ze.only(null):Ue(f)?f.props.children:null:w);return So(e,{...i,ref:l,children:Ue(f)?To(f,void 0,h):null})}return So(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=Co((n,l)=>{let{children:s,...i}=n;return Ue(s)?To(s,{...a(i,s.props),ref:l?Po(l,s.ref):s.ref}):ze.count(s)>1?ze.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return Ue(n)&&n.type===t}function a(n,l){let s={...l};for(let i in l){let p=n[i],d=l[i];/^on[A-Z]/.test(i)?p&&d?s[i]=(...h)=>{d(...h),p(...h)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...d})}return{...n,...s}}return o}import{jsx as tt}from"react/jsx-runtime";var ot=T(),y=et(function({className:e,asChild:t=!1,size:r="l",color:a="primary",name:n,colorChecked:l,opacity:s,textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:I,borderRadius:D,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:N,borderColor:_,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:Ie,minHeight:De,maxHeight:Le,width:Me,minWidth:He,maxWidth:_e,...Oe},Ge){let Ze=t?ot:"span",Ke=c({iconSize:r,color:a,colorChecked:l,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:f,backgroundColorOnChecked:h,bordered:w,borderedTop:S,borderedBottom:k,borderedStart:A,borderedEnd:R,borderedHorizontal:E,borderedVertical:I,borderRadius:D,borderTopStartRadius:L,borderTopEndRadius:M,borderBottomStartRadius:H,borderBottomEndRadius:N,borderColor:_,borderColorOnActive:B,borderColorOnFocus:O,borderColorOnChecked:z,borderColorOnHover:V,borderStartColor:F,borderEndColor:G,borderTopColor:U,borderBottomColor:W,borderWidth:X,borderVerticalWidth:$,borderHorizontalWidth:Z,borderStartWidth:K,borderEndWidth:Y,borderTopWidth:q,borderBottomWidth:J,alignContent:Q,alignItems:j,alignSelf:ee,flex:oe,flexDirection:te,flexGrow:re,flexShrink:ae,flexWrap:ne,justifyContent:se,flexBasis:ie,display:le,zIndex:pe,overflow:ce,overflowX:de,overflowY:be,position:me,spacing:fe,spacingHorizontal:ue,spacingVertical:ge,spacingBottom:ye,spacingEnd:he,spacingStart:xe,spacingTop:ve,offset:we,offsetVertical:Pe,offsetHorizontal:Te,offsetBottom:Ce,offsetEnd:Se,offsetStart:ke,offsetTop:Ae,columnGap:Re,rowGap:Ee,height:Ie,minHeight:De,maxHeight:Le,width:Me,minWidth:He,maxWidth:_e,className:e});return tt(Ze,{className:Ke,ref:Ge,...Oe,children:n})});import{forwardRef as rt}from"react";import{jsx as nt}from"react/jsx-runtime";var at=T(),x=rt(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:D,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:N,borderColorOnFocus:_,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:Ie,width:De,minWidth:Le,maxWidth:Me,...He},_e){let Oe=c({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:f,borderedTop:h,borderedBottom:w,borderedStart:S,borderedEnd:k,borderedHorizontal:A,borderedVertical:R,borderRadius:E,borderTopStartRadius:I,borderTopEndRadius:D,borderBottomStartRadius:L,borderBottomEndRadius:M,borderColor:H,borderColorOnActive:N,borderColorOnFocus:_,borderColorOnChecked:B,borderColorOnHover:O,borderStartColor:z,borderEndColor:V,borderTopColor:F,borderBottomColor:G,borderWidth:U,borderVerticalWidth:W,borderHorizontalWidth:X,borderStartWidth:$,borderEndWidth:Z,borderTopWidth:K,borderBottomWidth:Y,alignContent:q,alignItems:J,alignSelf:Q,flex:j,flexDirection:ee,flexGrow:oe,flexShrink:te,flexWrap:re,justifyContent:ae,flexBasis:ne,display:se,zIndex:ie,overflow:le,overflowX:pe,overflowY:ce,position:de,spacing:be,spacingHorizontal:me,spacingVertical:fe,spacingBottom:ue,spacingEnd:ge,spacingStart:ye,spacingTop:he,offset:xe,offsetVertical:ve,offsetHorizontal:we,offsetBottom:Pe,offsetEnd:Te,offsetStart:Ce,offsetTop:Se,columnGap:ke,rowGap:Ae,height:Re,minHeight:Ee,maxHeight:Ie,width:De,minWidth:Le,maxWidth:Me,className:e});return nt(t?at:"button",{className:Oe,ref:_e,onClick:a,...He})});import{forwardRef as st}from"react";import{jsx as pt}from"react/jsx-runtime";var it=T(),lt={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"},m=st(function({className:e,asChild:t,color:r="primary",colorChecked:a,variant:n="body1",as:l=lt[n],fontSize:s=n,fontFamily:i=n,fontWeight:p=n,lineHeight:d=n,textTransform:f=n,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:I,borderedBottom:D,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:N,borderRadius:_,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:Ie,offsetStart:De,offsetTop:Le,columnGap:Me,rowGap:He,height:_e,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo,...Vo},Fo){let Go=c({className:e,color:r,colorChecked:a,fontFamily:i,fontSize:s,fontWeight:p,lineHeight:d,textTransform:f,textAlign:h,backgroundColor:w,backgroundColorOnActive:S,backgroundColorOnHover:k,backgroundColorOnChecked:A,opacity:R,bordered:E,borderedTop:I,borderedBottom:D,borderedStart:L,borderedEnd:M,borderedHorizontal:H,borderedVertical:N,borderRadius:_,borderTopStartRadius:B,borderTopEndRadius:O,borderBottomStartRadius:z,borderBottomEndRadius:V,borderColor:F,borderColorOnActive:G,borderColorOnFocus:U,borderColorOnChecked:W,borderColorOnHover:X,borderStartColor:$,borderEndColor:Z,borderTopColor:K,borderBottomColor:Y,borderWidth:q,borderVerticalWidth:J,borderHorizontalWidth:Q,borderStartWidth:j,borderEndWidth:ee,borderTopWidth:oe,borderBottomWidth:te,alignContent:re,alignItems:ae,alignSelf:ne,flex:se,flexDirection:ie,flexGrow:le,flexShrink:pe,flexWrap:ce,justifyContent:de,flexBasis:be,display:me,zIndex:fe,overflow:ue,overflowX:ge,overflowY:ye,position:he,spacing:xe,spacingHorizontal:ve,spacingVertical:we,spacingBottom:Pe,spacingEnd:Te,spacingStart:Ce,spacingTop:Se,offset:ke,offsetVertical:Ae,offsetHorizontal:Re,offsetBottom:Ee,offsetEnd:Ie,offsetStart:De,offsetTop:Le,columnGap:Me,rowGap:He,height:_e,minHeight:Oe,maxHeight:Ge,width:Ze,minWidth:Ke,maxWidth:zo});return pt(t?it:l,{className:Go,ref:Fo,...Vo})});import{forwardRef as mt}from"react";import{forwardRef as ct}from"react";import{jsx as bt}from"react/jsx-runtime";var dt=T(),C=ct(function({asChild:e,className:t,elevation:r,backgroundColor:a=r?`elevation-${r}`:void 0,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:D,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:N,borderColorOnHover:_,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae="flex",zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:Ie,maxWidth:De,...Le},Me){let He=c({elevation:r,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:f,borderedStart:h,borderedEnd:w,borderedHorizontal:S,borderedVertical:k,borderRadius:A,borderTopStartRadius:R,borderTopEndRadius:E,borderBottomStartRadius:I,borderBottomEndRadius:D,borderColor:L,borderColorOnActive:M,borderColorOnFocus:H,borderColorOnChecked:N,borderColorOnHover:_,borderStartColor:B,borderEndColor:O,borderTopColor:z,borderBottomColor:V,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:W,borderEndWidth:X,borderTopWidth:$,borderBottomWidth:Z,alignContent:K,alignItems:Y,alignSelf:q,flex:J,flexDirection:Q,flexGrow:j,flexShrink:ee,flexWrap:oe,justifyContent:te,flexBasis:re,display:ae,zIndex:ne,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:be,spacingBottom:me,spacingEnd:fe,spacingStart:ue,spacingTop:ge,offset:ye,offsetVertical:he,offsetHorizontal:xe,offsetBottom:ve,offsetEnd:we,offsetStart:Pe,offsetTop:Te,columnGap:Ce,rowGap:Se,height:ke,minHeight:Ae,maxHeight:Re,width:Ee,minWidth:Ie,maxWidth:De,className:t});return bt(e?dt:"div",{className:He,ref:Me,...Le})});import{jsx as ft}from"react/jsx-runtime";var P=mt(function({gap:e,...t},r){return ft(C,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});import{Fragment as gt,jsx as We,jsxs as ko}from"react/jsx-runtime";function ut({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",_content:n,...l}){return ko(gt,{children:[ko(x,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,backgroundColorOnHover:"secondary",borderRadius:"md",width:"full",onClick:t,...l,children:[We(m,{variant:"title4",children:o}),We(y,{name:r?"chevronDown":"chevronUp",size:"s"})]}),We(P,{overflow:"hidden",maxHeight:r?"full":"none",className:"transition-[max-height] duration-500 ease-in-out",spacingHorizontal:a,...n,children:We(P,{minHeight:"min",children:e})})]})}var Ao={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},qe={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 Be({variant:o="accent",size:e="s"}){let{color:t,...r}=qe.variant[o],{variant:a,...n}=qe.size[e];return{pressable:{...qe.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}import{jsx as ht}from"react/jsx-runtime";function yt({size:o,shape:e,src:t,alt:r,...a}){let n=c({...Ao,avatarSize:o,borderRadius:e});return ht("img",{src:t,alt:r,className:n,...a})}import{forwardRef as xt}from"react";import{jsx as Je,jsxs as vt}from"react/jsx-runtime";var Qe=xt(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...l},s){let i=Be({variant:e,size:t}),p=r?Je(y,{name:r,...i.icon}):null,d=a?Je(y,{name:a,...i.icon}):null;return vt(x,{...i.pressable,ref:s,...l,children:[p,Je(m,{...i.text,children:n}),d]})});import{jsx as je,jsxs as Tt}from"react/jsx-runtime";var Ro={accent:"on-color",secondary:"primary"},wt={accent:"on-color",secondary:"tertiary"};function Pt({children:o,variant:e,startIcon:t,startContent:r=t?je(y,{name:t,size:"s",color:Ro[e]}):null,endIcon:a,endContent:n=a?je(y,{name:a,size:"s",color:Ro[e]}):null}){return Tt(x,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,je(m,{variant:"label2",color:wt[e],children:o}),n]})}import{Popover as kt,PopoverAnchor as At,PopoverArrow as Rt,PopoverDescription as Et,PopoverDisclosure as It,PopoverDisclosureArrow as Dt,PopoverDismiss as Lt,PopoverHeading as Mt,PopoverProvider as Ht,usePopoverStore as eo}from"@ariakit/react";import{forwardRef as Ct}from"react";import{jsx as St}from"react/jsx-runtime";var Xe=Ct(function({gap:e,...t},r){return St(C,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});import{jsx as Eo,jsxs as Vt}from"react/jsx-runtime";function Nt({children:o,leading:e,trailing:t}){return Vt(Xe,{children:[e,Eo(m,{variant:"headline1",asChild:!0,children:Eo(Mt,{children:o})}),t]})}var oo=kt,to=Rt,_t=At,Bt=Et,Ot=Lt,ro=Ht,ao=It,zt=Dt;var Ft=ro;import{forwardRef as Gt,useCallback as Ut}from"react";import{jsx as Wt}from"react/jsx-runtime";var no=Gt(function({children:e,onClick:t,...r},a){let n=eo(),l=Ut(s=>{s.preventDefault(),t?.(()=>n.setOpen(!1))},[t,n]);return Wt(x,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:"hover:bg-gray-2",onClick:t?l:void 0,ref:a,...r,children:e})});import{jsx as $e,jsxs as Io}from"react/jsx-runtime";function Xt({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...l}){return Io(no,{...l,children:[a&&$e(y,{name:a,size:"s"}),Io(P,{gap:"3",alignItems:"flex-start",children:[o&&$e(m,{variant:"headline1",...t,children:o}),e&&$e(m,{variant:"label2",color:"muted",...r,children:e})]}),n&&$e(y,{name:n,size:"s"})]})}import{forwardRef as $t}from"react";import{jsx as Do,jsxs as Kt}from"react/jsx-runtime";var Zt=$t(function({children:e,className:t,overflow:r="scroll",...a},n){return Do(P,{borderRadius:"lg",elevation:"3",className:u("max-h-[312px] min-w-[220px]",t),overflow:r,spacingVertical:"4",asChild:!0,children:Kt(oo,{preventBodyScroll:!0,...a,ref:n,children:[Do(to,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});import{jsx as Lo}from"react/jsx-runtime";function Yt({children:o,variant:e,size:t,...r}){let a=Be({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return Lo(x,{...n,...r,asChild:!0,children:Lo(ao,{children:o})})}import{forwardRef as qt}from"react";import{jsx as Mo}from"react/jsx-runtime";var Jt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},so=qt(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...l},s){let i=Be({variant:e,size:t});return Mo(x,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:u("leading-[0px]",Jt[t],a),...l,children:Mo(y,{name:r,...i.icon,color:n})})});import{Dialog as Qt,DialogDismiss as jt,useDialogStore as er}from"@ariakit/react";import{jsx as Ve,jsxs as nr}from"react/jsx-runtime";function or(o){return er({animated:!0,...o})}function tr({children:o,handleClose:e}){return nr(Xe,{alignItems:"center",justifyContent:"space-between",children:[Ve(m,{variant:"headline1",children:o}),Ve(Qe,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function rr({className:o,...e}){return Ve(P,{borderRadius:"md",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:u("inset-8 top-[250px] mx-auto w-[600px] origin-center scale-95 opacity-0 transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:Ve(Qt,{backdrop:Ve("div",{className:"data-[enter]:bg-overlay opacity-0 backdrop-blur-0 transition duration-150 data-[enter]:opacity-100 data-[enter]:backdrop-blur-sm"}),...e})})}var ar=jt;import{jsx as io,jsxs as Ho}from"react/jsx-runtime";function sr({className:o,...e}){return Ho("div",{role:"status",className:u("self-center",o),...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[Ho("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent h-8 w-8 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[io("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"}),io("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"})]}),io("span",{className:"sr-only",children:"Loading..."})]})}import{forwardRef as Fe,isValidElement as ir}from"react";import{jsx as g,jsxs as mr}from"react/jsx-runtime";var lr=Fe(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",elevation:l="1",borderRadius:s="md",...i},p){return g(C,{asChild:!0,borderColor:n,elevation:l,borderRadius:s,className:t,overflow:a,display:r,...i,children:g("table",{ref:p,children:e})})}),pr=Fe(function({children:e,display:t="table-row",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tr",{ref:a,children:e})})}),cr=Fe(function({children:e,display:t="table-header-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("thead",{ref:a,children:e})})}),dr=Fe(function({children:e,display:t="table-row-group",...r},a){return g(C,{asChild:!0,display:t,...r,children:g("tbody",{ref:a,children:e})})}),br=Fe(function({asHeaderCell:e,className:t,display:r="table-cell",spacing:a="5",borderBottomColor:n="muted",color:l="primary",...s},i){let p=c({textAlign:"start",className:t});return g(m,{asChild:!0,variant:e?"headline1":"body1",color:l,display:r,spacing:a,borderBottomColor:n,borderedBottom:!0,className:p,children:g(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});v.Root=lr;v.Row=pr;v.Header=cr;v.Body=dr;v.Cell=br;function v({data:o,columns:e}){return mr(v.Root,{children:[g(v.Header,{children:g(v.Row,{children:e.map((t,r)=>g(v.Cell,{asHeaderCell:"column",children:t.title},r))})}),g(v.Body,{children:o.map((t,r)=>g(v.Row,{children:e.map((a,n)=>{let l=t[a.dataIndex];return g(v.Cell,{children:a.render?a.render(l,t,r):ir(l)?l:String(l)},n)})},r))})]})}import{Tab as fr,TabList as ur,TabPanel as gr,TabProvider as yr,useTabContext as No}from"@ariakit/react";import{forwardRef as _o}from"react";import{jsx as Ne,jsxs as Tr}from"react/jsx-runtime";var hr=T();function xr(o){return Ne(yr,{...o})}var vr=_o(function({className:e,...t},r){let a=c({display:"flex",flexDirection:"row",columnGap:"7",className:e});return Ne(ur,{ref:r,...t,className:a})}),wr=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?hr:"a",l=c({}),s=No();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===r,p=i?"accent":"primary";return Ne(fr,{id:r,className:l,render:Ne(n,{children:Tr(x,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[a?Ne(y,{name:a,color:p,size:"m"}):null,Ne(m,{color:p,variant:"headline1",children:t})]})})})},Pr=_o(function(e,t){let r=No();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return Ne(gr,{ref:t,tabId:a,...e})});import{jsx as Cr}from"react/jsx-runtime";function lo({className:o,disabled:e,backgroundColor:t=e?"secondary":"primary",borderColor:r="tertiary",borderWidth:a="thin",borderRadius:n="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:d="body1",...f}){return Cr("input",{type:"text","data-1p-ignore":!0,className:u(c({backgroundColor:t,borderColor:r,borderWidth:a,borderRadius:n,spacingVertical:i,spacingHorizontal:p,width:"full",fontSize:d,fontWeight:d,lineHeight:d,fontFamily:d,color:l,placeholderColor:s}),o),disabled:e,...f})}import{jsx as Sr,jsxs as kr}from"react/jsx-runtime";function po({children:o,required:e}){return kr(m,{variant:"caption2",children:[o,e&&Sr(m,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}import{jsx as Bo,jsxs as Rr}from"react/jsx-runtime";function Ar({label:o,required:e,...t}){return Rr(P,{gap:"4",width:"full",children:[Bo(po,{required:e,children:o}),Bo(lo,{required:e,...t})]})}import{Slide as Er,toast as Ir,ToastContainer as Dr}from"react-toastify";import{jsx as Oo}from"react/jsx-runtime";var Lr=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"}),Mr=c({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Hr=c({backgroundColor:"positive"}),Nr=c({backgroundColor:"alert"}),_r=c({backgroundColor:"accent"}),Br=c({backgroundColor:"warning"}),Or=c({backgroundColor:"elevation-3-inverse"}),zr=c({backgroundColor:"elevation-3-inverse"}),Vr=c({backgroundColor:"positive-wash",color:"positive"}),Fr=c({backgroundColor:"alert-wash",color:"alert"}),Gr=c({backgroundColor:"accent-wash",color:"accent"}),Ur=c({backgroundColor:"warning-wash",color:"warning"}),Wr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),Xr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),$r=o=>{let{type:e="default"}=o??{},t={success:Vr,error:Fr,info:Gr,warning:Ur,default:Wr,dark:Xr}[e];return u(Lr,t)};function Zr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:Hr,error:Nr,info:_r,warning:Br,default:Or,dark:zr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return u(a,r)}function Kr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return Oo(so,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function Yr(o){return Oo(Dr,{toastClassName:$r,bodyClassName:Mr,progressClassName:Zr,transition:Er,closeButton:Kr,...o})}export{ut as Accordion,yt as Avatar,Qe as Button,Pt as Chip,Ft as Dropdown,Xt as DropdownItem,no as DropdownItemPressable,Zt as DropdownItems,Yt as DropdownTrigger,so as IconButton,rr as Modal,ar as ModalDismiss,tr as ModalHeader,oo as Popover,_t as PopoverAnchor,to as PopoverArrow,Bt as PopoverDescription,ao as PopoverDisclosure,zt as PopoverDisclosureArrow,Ot as PopoverDismiss,Nt as PopoverHeading,ro as PopoverProvider,sr as Spinner,wr as Tab,vr as TabList,Pr as TabPanel,v as Table,xr as Tabs,lo as TextInput,Ar as TextInputGroup,po as TextInputLabel,Yr as ToastContainer,Ir as toast,or as useModalStore,eo as usePopoverStore};