@yahoo/uds 0.2.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. package/cli/README.md +78 -131
  2. package/cli/commands/purge.ts +7 -3
  3. package/cli/env.d.ts +1 -0
  4. package/cli/preload.ts +10 -0
  5. package/cli/utils/purgeCSS.test.ts +88 -8
  6. package/cli/utils/purgeCSS.ts +165 -15
  7. package/dist/Image.native-B3I4JoH3.d.cts +38 -0
  8. package/dist/Image.native-DUAFJodS.d.ts +38 -0
  9. package/dist/VStack-BHlRUsOR.d.cts +103 -0
  10. package/dist/VStack-DMb_RGRS.d.ts +103 -0
  11. package/dist/experimental/index.cjs +1 -1
  12. package/dist/experimental/index.d.cts +8 -8
  13. package/dist/experimental/index.d.ts +8 -8
  14. package/dist/experimental/index.js +1 -1
  15. package/dist/experimental/index.native.cjs +1 -1
  16. package/dist/experimental/index.native.d.cts +3 -3
  17. package/dist/experimental/index.native.d.ts +3 -3
  18. package/dist/experimental/index.native.js +1 -1
  19. package/dist/fixtures.cjs +1946 -0
  20. package/dist/fixtures.d.ts +81 -0
  21. package/dist/fixtures.js +1910 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.d.cts +41 -236
  24. package/dist/index.d.ts +41 -236
  25. package/dist/index.js +1 -1
  26. package/dist/{index.native-CisPq4BI.d.ts → index.native-BTfOSmUx.d.ts} +1 -1
  27. package/dist/{index.native-DJlx-bfM.d.cts → index.native-Bm-r2Dpa.d.cts} +1 -1
  28. package/dist/index.native.cjs +1 -1
  29. package/dist/index.native.d.cts +20 -83
  30. package/dist/index.native.d.ts +20 -83
  31. package/dist/index.native.js +1 -1
  32. package/dist/styles/globals.css +0 -1
  33. package/dist/styles/toast.css +1 -0
  34. package/dist/styles/toast.d.cts +2 -0
  35. package/dist/styles/toast.d.ts +2 -0
  36. package/dist/tailwindPlugin.cjs +1 -1
  37. package/dist/tailwindPlugin.d.cts +8 -2
  38. package/dist/tailwindPlugin.d.ts +8 -2
  39. package/dist/tailwindPlugin.js +1 -1
  40. package/dist/tailwindPurge/utils.cjs +1 -0
  41. package/dist/tailwindPurge/utils.d.cts +25 -0
  42. package/dist/tailwindPurge/utils.d.ts +25 -0
  43. package/dist/tailwindPurge/utils.js +1 -0
  44. package/dist/tailwindPurge.cjs +1 -1
  45. package/dist/tailwindPurge.d.cts +5 -1
  46. package/dist/tailwindPurge.d.ts +5 -1
  47. package/dist/tailwindPurge.js +1 -1
  48. package/dist/tokens/index.cjs +1 -1
  49. package/dist/tokens/index.d.cts +2 -2
  50. package/dist/tokens/index.d.ts +2 -2
  51. package/dist/tokens/index.js +1 -1
  52. package/dist/tokens/index.native.cjs +1 -1
  53. package/dist/tokens/index.native.d.cts +2 -2
  54. package/dist/tokens/index.native.d.ts +2 -2
  55. package/dist/tokens/index.native.js +1 -1
  56. package/dist/tokens/parseTokens.cjs +1 -1
  57. package/dist/tokens/parseTokens.d.cts +8 -18
  58. package/dist/tokens/parseTokens.d.ts +8 -18
  59. package/dist/tokens/parseTokens.js +1 -1
  60. package/dist/tokens/parseTokens.native.cjs +1 -1
  61. package/dist/tokens/parseTokens.native.d.cts +4 -21
  62. package/dist/tokens/parseTokens.native.d.ts +4 -21
  63. package/dist/tokens/parseTokens.native.js +1 -1
  64. package/dist/{types-CzJpH_Oi.d.cts → types-COiuE8XK.d.cts} +49 -138
  65. package/dist/{types-CzJpH_Oi.d.ts → types-COiuE8XK.d.ts} +49 -138
  66. package/package.json +26 -11
  67. package/dist/Image.native-C6kOWgnf.d.ts +0 -38
  68. package/dist/Image.native-VeXt5aeI.d.cts +0 -38
  69. package/dist/VStack-BSD9TbBd.d.cts +0 -114
  70. package/dist/VStack-Dk3-8IyU.d.ts +0 -114
  71. package/dist/fixtures/index.cjs +0 -1
  72. package/dist/fixtures/index.d.cts +0 -154
  73. package/dist/fixtures/index.d.ts +0 -154
  74. package/dist/fixtures/index.js +0 -1
@@ -1 +1 @@
1
- "use strict";var Lt=Object.create;var to=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Ht=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,_t=Object.prototype.hasOwnProperty;var Bt=(o,e)=>{for(var t in e)to(o,t,{get:e[t],enumerable:!0})},So=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ht(e))!_t.call(o,a)&&a!==t&&to(o,a,{get:()=>e[a],enumerable:!(r=Mt(e,a))||r.enumerable});return o};var Ot=(o,e,t)=>(t=o!=null?Lt(Nt(o)):{},So(e||!o||!o.__esModule?to(t,"default",{value:o,enumerable:!0}):t,o)),zt=o=>So(to({},"__esModule",{value:!0}),o);var xr={};Bt(xr,{Accordion:()=>Yo,Avatar:()=>Jo,Button:()=>ro,Chip:()=>ot,Dropdown:()=>pt,DropdownItem:()=>dt,DropdownItemPressable:()=>co,DropdownItems:()=>mt,DropdownTrigger:()=>ft,IconButton:()=>bo,Modal:()=>ht,ModalDismiss:()=>xt,ModalHeader:()=>yt,Popover:()=>no,PopoverAnchor:()=>nt,PopoverArrow:()=>so,PopoverDescription:()=>st,PopoverDisclosure:()=>lo,PopoverDisclosureArrow:()=>lt,PopoverDismiss:()=>it,PopoverHeading:()=>at,PopoverProvider:()=>io,Spinner:()=>vt,Tab:()=>Tt,TabList:()=>Pt,TabPanel:()=>Ct,Table:()=>T,Tabs:()=>wt,TextInput:()=>mo,TextInputGroup:()=>kt,TextInputLabel:()=>fo,ToastContainer:()=>At,toast:()=>Xe.toast,useModalStore:()=>gt,usePopoverStore:()=>m.usePopoverStore});module.exports=zt(xr);var zo=require("react");var x=require("@yahoo/uds/fixtures"),_o=Ot(require("clsx"),1),Bo=require("tailwind-merge");function ho(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var b="uds",Tr=`${b}-spectrum-color`,Cr=`${b}-font`,Sr=`${b}-icon-size`,kr=`${b}-avatar-size`,Ar=`${b}-border-radius`,Rr=`${b}-border-width`,Er=`${b}-spacing`,Dr=`${b}-font-size`,Ir=`${b}-line-height`,Lr=`${b}-font-weight`,Mr=`${b}-text-transform`,ko=`${b}-color-mode-dark`,Ao=`${b}-color-mode-light`,Ro=`${b}-scale-mode-xsmall`,Eo=`${b}-scale-mode-small`,Do=`${b}-scale-mode-medium`,Io=`${b}-scale-mode-large`,Lo=`${b}-scale-mode-xlarge`,Mo=`${b}-scale-mode-xxlarge`,Ho=`${b}-scale-mode-xxxlarge`;var Hr=`--${b}-font-icons`,Nr=`--${b}-font-sans`,_r=`--${b}-font-sans-beta`,Br=`--${b}-font-sans-condensed`,Or=`--${b}-font-serif-display`,zr=`--${b}-font-serif-text`;var No={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:ko,light:Ao},scaleMode:{xSmall:Ro,small:Eo,medium:Do,large:Io,xLarge:Lo,xxxLarge:Ho,xxLarge:Mo}};var Vt=(0,Bo.extendTailwindMerge)({cacheSize:0,extend:{theme:{borderColor:x.lineColors,borderWidth:x.borderWidths,borderRadius:x.borderRadii}},override:{classGroups:{"text-color":[{text:x.foregroundColors}],"bg-color":[{bg:x.backgroundColors}],"font-family":[{font:["icons",...x.textVariants]}],leading:[{leading:x.textVariants}],shadow:[{shadow:x.elevations}]},conflictingClassGroups:{}}}),h=(...o)=>{let e=(0,_o.default)(o);return Vt(e)},Ft=o=>e=>{if(!o?.variants)return h(o?.base,e?.className);let{variants:t,defaultVariants:r}=o,a=Object.keys(t).map(s=>{let i=e?.[s],p=r?.[s],d=ho(i)||ho(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,u])=>n[d]===u)?h(s,i):s,"");return h(o?.base,a,l,e?.className)},c=Ft({variants:No});var y=require("react");function Gt(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function Oo(...o){return e=>o.forEach(t=>Gt(t,e))}var xo=require("react/jsx-runtime");function A(){let o=(0,y.forwardRef)((n,l)=>{let{children:s,...i}=n,p=y.Children.toArray(s),d=p.find(r);if(d){let u=d.props.children,w=p.map(C=>C===d?y.Children.count(u)>1?y.Children.only(null):(0,y.isValidElement)(u)?u.props.children:null:C);return(0,xo.jsx)(e,{...i,ref:l,children:(0,y.isValidElement)(u)?(0,y.cloneElement)(u,void 0,w):null})}return(0,xo.jsx)(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=(0,y.forwardRef)((n,l)=>{let{children:s,...i}=n;return(0,y.isValidElement)(s)?(0,y.cloneElement)(s,{...a(i,s.props),ref:l?Oo(l,s.ref):s.ref}):y.Children.count(s)>1?y.Children.only(null):null});e.displayName="SlotClone";let t=({children:n})=>n;function r(n){return(0,y.isValidElement)(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]=(...w)=>{d(...w),p(...w)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...d})}return{...n,...s}}return o}var Vo=require("react/jsx-runtime"),Ut=A(),v=(0,zo.forwardRef)(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:u,backgroundColorOnChecked:w,bordered:C,borderedTop:H,borderedBottom:N,borderedStart:_,borderedEnd:B,borderedHorizontal:O,borderedVertical:z,borderRadius:V,borderTopStartRadius:F,borderTopEndRadius:G,borderBottomStartRadius:U,borderBottomEndRadius:W,borderColor:X,borderColorOnActive:$,borderColorOnFocus:Z,borderColorOnChecked:K,borderColorOnHover:Y,borderStartColor:q,borderEndColor:J,borderTopColor:Q,borderBottomColor:j,borderWidth:ee,borderVerticalWidth:oe,borderHorizontalWidth:te,borderStartWidth:re,borderEndWidth:ae,borderTopWidth:ne,borderBottomWidth:se,alignContent:ie,alignItems:le,alignSelf:pe,flex:ce,flexDirection:de,flexGrow:be,flexShrink:me,flexWrap:fe,justifyContent:ue,flexBasis:ge,display:ye,zIndex:he,overflow:xe,overflowX:ve,overflowY:we,position:Pe,spacing:Te,spacingHorizontal:Ce,spacingVertical:Se,spacingBottom:ke,spacingEnd:Ae,spacingStart:Re,spacingTop:Ee,offset:De,offsetVertical:Ie,offsetHorizontal:Le,offsetBottom:Me,offsetEnd:He,offsetStart:Ne,offsetTop:_e,columnGap:Be,rowGap:Oe,height:ze,minHeight:Ve,maxHeight:Fe,width:Ge,minWidth:Ue,maxWidth:$e,...Je},oo){let go=t?Ut:"span",yo=c({iconSize:r,color:a,colorChecked:l,opacity:s,fontFamily:"icons",textAlign:i,backgroundColor:p,backgroundColorOnActive:d,backgroundColorOnHover:u,backgroundColorOnChecked:w,bordered:C,borderedTop:H,borderedBottom:N,borderedStart:_,borderedEnd:B,borderedHorizontal:O,borderedVertical:z,borderRadius:V,borderTopStartRadius:F,borderTopEndRadius:G,borderBottomStartRadius:U,borderBottomEndRadius:W,borderColor:X,borderColorOnActive:$,borderColorOnFocus:Z,borderColorOnChecked:K,borderColorOnHover:Y,borderStartColor:q,borderEndColor:J,borderTopColor:Q,borderBottomColor:j,borderWidth:ee,borderVerticalWidth:oe,borderHorizontalWidth:te,borderStartWidth:re,borderEndWidth:ae,borderTopWidth:ne,borderBottomWidth:se,alignContent:ie,alignItems:le,alignSelf:pe,flex:ce,flexDirection:de,flexGrow:be,flexShrink:me,flexWrap:fe,justifyContent:ue,flexBasis:ge,display:ye,zIndex:he,overflow:xe,overflowX:ve,overflowY:we,position:Pe,spacing:Te,spacingHorizontal:Ce,spacingVertical:Se,spacingBottom:ke,spacingEnd:Ae,spacingStart:Re,spacingTop:Ee,offset:De,offsetVertical:Ie,offsetHorizontal:Le,offsetBottom:Me,offsetEnd:He,offsetStart:Ne,offsetTop:_e,columnGap:Be,rowGap:Oe,height:ze,minHeight:Ve,maxHeight:Fe,width:Ge,minWidth:Ue,maxWidth:$e,className:e});return(0,Vo.jsx)(go,{className:yo,ref:oo,...Je,children:n})});var Fo=require("react");var Go=require("react/jsx-runtime"),Wt=A(),P=(0,Fo.forwardRef)(function({className:e,asChild:t,onPress:r,onClick:a=r,backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:u,borderedTop:w,borderedBottom:C,borderedStart:H,borderedEnd:N,borderedHorizontal:_,borderedVertical:B,borderRadius:O,borderTopStartRadius:z,borderTopEndRadius:V,borderBottomStartRadius:F,borderBottomEndRadius:G,borderColor:U,borderColorOnActive:W,borderColorOnFocus:X,borderColorOnChecked:$,borderColorOnHover:Z,borderStartColor:K,borderEndColor:Y,borderTopColor:q,borderBottomColor:J,borderWidth:Q,borderVerticalWidth:j,borderHorizontalWidth:ee,borderStartWidth:oe,borderEndWidth:te,borderTopWidth:re,borderBottomWidth:ae,alignContent:ne,alignItems:se,alignSelf:ie,flex:le,flexDirection:pe,flexGrow:ce,flexShrink:de,flexWrap:be,justifyContent:me,flexBasis:fe,display:ue,zIndex:ge,overflow:ye,overflowX:he,overflowY:xe,position:ve,spacing:we,spacingHorizontal:Pe,spacingVertical:Te,spacingBottom:Ce,spacingEnd:Se,spacingStart:ke,spacingTop:Ae,offset:Re,offsetVertical:Ee,offsetHorizontal:De,offsetBottom:Ie,offsetEnd:Le,offsetStart:Me,offsetTop:He,columnGap:Ne,rowGap:_e,height:Be,minHeight:Oe,maxHeight:ze,width:Ve,minWidth:Fe,maxWidth:Ge,...Ue},$e){let Je=c({backgroundColor:n,backgroundColorOnActive:l,backgroundColorOnHover:s,backgroundColorOnChecked:i,elevation:p,opacity:d,bordered:u,borderedTop:w,borderedBottom:C,borderedStart:H,borderedEnd:N,borderedHorizontal:_,borderedVertical:B,borderRadius:O,borderTopStartRadius:z,borderTopEndRadius:V,borderBottomStartRadius:F,borderBottomEndRadius:G,borderColor:U,borderColorOnActive:W,borderColorOnFocus:X,borderColorOnChecked:$,borderColorOnHover:Z,borderStartColor:K,borderEndColor:Y,borderTopColor:q,borderBottomColor:J,borderWidth:Q,borderVerticalWidth:j,borderHorizontalWidth:ee,borderStartWidth:oe,borderEndWidth:te,borderTopWidth:re,borderBottomWidth:ae,alignContent:ne,alignItems:se,alignSelf:ie,flex:le,flexDirection:pe,flexGrow:ce,flexShrink:de,flexWrap:be,justifyContent:me,flexBasis:fe,display:ue,zIndex:ge,overflow:ye,overflowX:he,overflowY:xe,position:ve,spacing:we,spacingHorizontal:Pe,spacingVertical:Te,spacingBottom:Ce,spacingEnd:Se,spacingStart:ke,spacingTop:Ae,offset:Re,offsetVertical:Ee,offsetHorizontal:De,offsetBottom:Ie,offsetEnd:Le,offsetStart:Me,offsetTop:He,columnGap:Ne,rowGap:_e,height:Be,minHeight:Oe,maxHeight:ze,width:Ve,minWidth:Fe,maxWidth:Ge,className:e});return(0,Go.jsx)(t?Wt:"button",{className:Je,ref:$e,onClick:a,...Ue})});var Uo=require("react");var Wo=require("react/jsx-runtime"),Xt=A(),$t={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},f=(0,Uo.forwardRef)(function({className:e,asChild:t,color:r="primary",colorChecked:a,variant:n="body1",as:l=$t[n],fontSize:s=n,fontFamily:i=n,fontWeight:p=n,lineHeight:d=n,textTransform:u=n,textAlign:w,backgroundColor:C,backgroundColorOnActive:H,backgroundColorOnHover:N,backgroundColorOnChecked:_,opacity:B,bordered:O,borderedTop:z,borderedBottom:V,borderedStart:F,borderedEnd:G,borderedHorizontal:U,borderedVertical:W,borderRadius:X,borderTopStartRadius:$,borderTopEndRadius:Z,borderBottomStartRadius:K,borderBottomEndRadius:Y,borderColor:q,borderColorOnActive:J,borderColorOnFocus:Q,borderColorOnChecked:j,borderColorOnHover:ee,borderStartColor:oe,borderEndColor:te,borderTopColor:re,borderBottomColor:ae,borderWidth:ne,borderVerticalWidth:se,borderHorizontalWidth:ie,borderStartWidth:le,borderEndWidth:pe,borderTopWidth:ce,borderBottomWidth:de,alignContent:be,alignItems:me,alignSelf:fe,flex:ue,flexDirection:ge,flexGrow:ye,flexShrink:he,flexWrap:xe,justifyContent:ve,flexBasis:we,display:Pe,zIndex:Te,overflow:Ce,overflowX:Se,overflowY:ke,position:Ae,spacing:Re,spacingHorizontal:Ee,spacingVertical:De,spacingBottom:Ie,spacingEnd:Le,spacingStart:Me,spacingTop:He,offset:Ne,offsetVertical:_e,offsetHorizontal:Be,offsetBottom:Oe,offsetEnd:ze,offsetStart:Ve,offsetTop:Fe,columnGap:Ge,rowGap:Ue,height:$e,minHeight:Je,maxHeight:oo,width:go,minWidth:yo,maxWidth:Rt,...Et},Dt){let It=c({className:e,color:r,colorChecked:a,fontFamily:i,fontSize:s,fontWeight:p,lineHeight:d,textTransform:u,textAlign:w,backgroundColor:C,backgroundColorOnActive:H,backgroundColorOnHover:N,backgroundColorOnChecked:_,opacity:B,bordered:O,borderedTop:z,borderedBottom:V,borderedStart:F,borderedEnd:G,borderedHorizontal:U,borderedVertical:W,borderRadius:X,borderTopStartRadius:$,borderTopEndRadius:Z,borderBottomStartRadius:K,borderBottomEndRadius:Y,borderColor:q,borderColorOnActive:J,borderColorOnFocus:Q,borderColorOnChecked:j,borderColorOnHover:ee,borderStartColor:oe,borderEndColor:te,borderTopColor:re,borderBottomColor:ae,borderWidth:ne,borderVerticalWidth:se,borderHorizontalWidth:ie,borderStartWidth:le,borderEndWidth:pe,borderTopWidth:ce,borderBottomWidth:de,alignContent:be,alignItems:me,alignSelf:fe,flex:ue,flexDirection:ge,flexGrow:ye,flexShrink:he,flexWrap:xe,justifyContent:ve,flexBasis:we,display:Pe,zIndex:Te,overflow:Ce,overflowX:Se,overflowY:ke,position:Ae,spacing:Re,spacingHorizontal:Ee,spacingVertical:De,spacingBottom:Ie,spacingEnd:Le,spacingStart:Me,spacingTop:He,offset:Ne,offsetVertical:_e,offsetHorizontal:Be,offsetBottom:Oe,offsetEnd:ze,offsetStart:Ve,offsetTop:Fe,columnGap:Ge,rowGap:Ue,height:$e,minHeight:Je,maxHeight:oo,width:go,minWidth:yo,maxWidth:Rt});return(0,Wo.jsx)(t?Xt:l,{className:It,ref:Dt,...Et})});var Zo=require("react");var Xo=require("react");var $o=require("react/jsx-runtime"),Zt=A(),D=(0,Xo.forwardRef)(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:u,borderedStart:w,borderedEnd:C,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="flex",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:_e,maxHeight:Be,width:Oe,minWidth:ze,maxWidth:Ve,...Fe},Ge){let Ue=c({elevation:r,backgroundColor:a,backgroundColorOnActive:n,backgroundColorOnHover:l,backgroundColorOnChecked:s,opacity:i,bordered:p,borderedTop:d,borderedBottom:u,borderedStart:w,borderedEnd:C,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:De,offsetStart:Ie,offsetTop:Le,columnGap:Me,rowGap:He,height:Ne,minHeight:_e,maxHeight:Be,width:Oe,minWidth:ze,maxWidth:Ve,className:t});return(0,$o.jsx)(e?Zt:"div",{className:Ue,ref:Ge,...Fe})});var Ko=require("react/jsx-runtime"),S=(0,Zo.forwardRef)(function({gap:e,...t},r){return(0,Ko.jsx)(D,{ref:r,flexDirection:"column",columnGap:e,rowGap:e,...t})});var R=require("react/jsx-runtime");function Yo({label:o,children:e,onClick:t,open:r,spacingHorizontal:a="6",_content:n,...l}){return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(P,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:a,backgroundColorOnHover:"secondary",borderRadius:"md",width:"full",onClick:t,...l,children:[(0,R.jsx)(f,{variant:"title4",children:o}),(0,R.jsx)(v,{name:r?"chevronDown":"chevronUp",size:"s"})]}),(0,R.jsx)(S,{overflow:"hidden",maxHeight:r?"full":"none",className:"transition-[max-height] duration-500 ease-in-out",spacingHorizontal:a,...n,children:(0,R.jsx)(S,{minHeight:"min",children:e})})]})}var qo={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},vo={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 Ze({variant:o="accent",size:e="s"}){let{color:t,...r}=vo.variant[o],{variant:a,...n}=vo.size[e];return{pressable:{...vo.base,...r,...n},text:{color:t,variant:a,textAlign:"center"},icon:{color:t,size:"s"}}}var Qo=require("react/jsx-runtime");function Jo({size:o,shape:e,src:t,alt:r,...a}){let n=c({...qo,avatarSize:o,borderRadius:e});return(0,Qo.jsx)("img",{src:t,alt:r,className:n,...a})}var jo=require("react");var Ke=require("react/jsx-runtime"),ro=(0,jo.forwardRef)(function({variant:e="accent",size:t,startIcon:r,endIcon:a,children:n,...l},s){let i=Ze({variant:e,size:t}),p=r?(0,Ke.jsx)(v,{name:r,...i.icon}):null,d=a?(0,Ke.jsx)(v,{name:a,...i.icon}):null;return(0,Ke.jsxs)(P,{...i.pressable,ref:s,...l,children:[p,(0,Ke.jsx)(f,{...i.text,children:n}),d]})});var Ye=require("react/jsx-runtime"),et={accent:"on-color",secondary:"primary"},Kt={accent:"on-color",secondary:"tertiary"};function ot({children:o,variant:e,startIcon:t,startContent:r=t?(0,Ye.jsx)(v,{name:t,size:"s",color:et[e]}):null,endIcon:a,endContent:n=a?(0,Ye.jsx)(v,{name:a,size:"s",color:et[e]}):null}){return(0,Ye.jsxs)(P,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[r,(0,Ye.jsx)(f,{variant:"label2",color:Kt[e],children:o}),n]})}var m=require("@ariakit/react");var tt=require("react");var rt=require("react/jsx-runtime"),ao=(0,tt.forwardRef)(function({gap:e,...t},r){return(0,rt.jsx)(D,{ref:r,flexDirection:"row",rowGap:e,columnGap:e,...t})});var Qe=require("react/jsx-runtime");function at({children:o,leading:e,trailing:t}){return(0,Qe.jsxs)(ao,{children:[e,(0,Qe.jsx)(f,{variant:"headline1",asChild:!0,children:(0,Qe.jsx)(m.PopoverHeading,{children:o})}),t]})}var no=m.Popover,so=m.PopoverArrow,nt=m.PopoverAnchor,st=m.PopoverDescription,it=m.PopoverDismiss,io=m.PopoverProvider,lo=m.PopoverDisclosure,lt=m.PopoverDisclosureArrow;var pt=io;var po=require("react");var ct=require("react/jsx-runtime"),co=(0,po.forwardRef)(function({children:e,onClick:t,...r},a){let n=(0,m.usePopoverStore)(),l=(0,po.useCallback)(s=>{s.preventDefault(),t?.(()=>n.setOpen(!1))},[t,n]);return(0,ct.jsx)(P,{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})});var I=require("react/jsx-runtime");function dt({title:o,description:e,_title:t,_description:r,startIcon:a,endIcon:n,...l}){return(0,I.jsxs)(co,{...l,children:[a&&(0,I.jsx)(v,{name:a,size:"s"}),(0,I.jsxs)(S,{gap:"3",alignItems:"flex-start",children:[o&&(0,I.jsx)(f,{variant:"headline1",...t,children:o}),e&&(0,I.jsx)(f,{variant:"label2",color:"muted",...r,children:e})]}),n&&(0,I.jsx)(v,{name:n,size:"s"})]})}var bt=require("react");var je=require("react/jsx-runtime"),mt=(0,bt.forwardRef)(function({children:e,className:t,overflow:r="scroll",...a},n){return(0,je.jsx)(S,{borderRadius:"lg",elevation:"3",className:h("max-h-[312px] min-w-[220px]",t),overflow:r,spacingVertical:"4",asChild:!0,children:(0,je.jsxs)(no,{preventBodyScroll:!0,...a,ref:n,children:[(0,je.jsx)(so,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});var wo=require("react/jsx-runtime");function ft({children:o,variant:e,size:t,...r}){let a=Ze({variant:e,size:t}),n=e?a.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return(0,wo.jsx)(P,{...n,...r,asChild:!0,children:(0,wo.jsx)(lo,{children:o})})}var ut=require("react");var Po=require("react/jsx-runtime"),Yt={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},bo=(0,ut.forwardRef)(function({variant:e="accent",size:t="s",name:r,className:a,color:n,...l},s){let i=Ze({variant:e,size:t});return(0,Po.jsx)(P,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:h("leading-[0px]",Yt[t],a),...l,children:(0,Po.jsx)(v,{name:r,...i.icon,color:n})})});var qe=require("@ariakit/react");var L=require("react/jsx-runtime");function gt(o){return(0,qe.useDialogStore)({animated:!0,...o})}function yt({children:o,handleClose:e}){return(0,L.jsxs)(ao,{alignItems:"center",justifyContent:"space-between",children:[(0,L.jsx)(f,{variant:"headline1",children:o}),(0,L.jsx)(ro,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function ht({className:o,...e}){return(0,L.jsx)(S,{borderRadius:"md",elevation:"3",position:"fixed",height:"fit",zIndex:"50",className:h("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:(0,L.jsx)(qe.Dialog,{backdrop:(0,L.jsx)("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 xt=qe.DialogDismiss;var We=require("react/jsx-runtime");function vt({className:o,...e}){return(0,We.jsxs)("div",{role:"status",className:h("self-center",o),...e,style:{width:8,maxWidth:8,height:8,maxHeight:8},children:[(0,We.jsxs)("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:[(0,We.jsx)("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"}),(0,We.jsx)("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"})]}),(0,We.jsx)("span",{className:"sr-only",children:"Loading..."})]})}var M=require("react");var g=require("react/jsx-runtime"),qt=(0,M.forwardRef)(function({children:e,className:t,display:r="table",overflow:a="hidden",borderColor:n="muted",elevation:l="1",borderRadius:s="md",...i},p){return(0,g.jsx)(D,{asChild:!0,borderColor:n,elevation:l,borderRadius:s,className:t,overflow:a,display:r,...i,children:(0,g.jsx)("table",{ref:p,children:e})})}),Jt=(0,M.forwardRef)(function({children:e,display:t="table-row",...r},a){return(0,g.jsx)(D,{asChild:!0,display:t,...r,children:(0,g.jsx)("tr",{ref:a,children:e})})}),Qt=(0,M.forwardRef)(function({children:e,display:t="table-header-group",...r},a){return(0,g.jsx)(D,{asChild:!0,display:t,...r,children:(0,g.jsx)("thead",{ref:a,children:e})})}),jt=(0,M.forwardRef)(function({children:e,display:t="table-row-group",...r},a){return(0,g.jsx)(D,{asChild:!0,display:t,...r,children:(0,g.jsx)("tbody",{ref:a,children:e})})}),er=(0,M.forwardRef)(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(0,g.jsx)(f,{asChild:!0,variant:e?"headline1":"body1",color:l,display:r,spacing:a,borderBottomColor:n,borderedBottom:!0,className:p,children:(0,g.jsx)(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});T.Root=qt;T.Row=Jt;T.Header=Qt;T.Body=jt;T.Cell=er;function T({data:o,columns:e}){return(0,g.jsxs)(T.Root,{children:[(0,g.jsx)(T.Header,{children:(0,g.jsx)(T.Row,{children:e.map((t,r)=>(0,g.jsx)(T.Cell,{asHeaderCell:"column",children:t.title},r))})}),(0,g.jsx)(T.Body,{children:o.map((t,r)=>(0,g.jsx)(T.Row,{children:e.map((a,n)=>{let l=t[a.dataIndex];return(0,g.jsx)(T.Cell,{children:a.render?a.render(l,t,r):(0,M.isValidElement)(l)?l:String(l)},n)})},r))})]})}var k=require("@ariakit/react"),To=require("react");var E=require("react/jsx-runtime"),or=A();function wt(o){return(0,E.jsx)(k.TabProvider,{...o})}var Pt=(0,To.forwardRef)(function({className:e,...t},r){let a=c({display:"flex",flexDirection:"row",columnGap:"7",className:e});return(0,E.jsx)(k.TabList,{ref:r,...t,className:a})}),Tt=function({asChild:e,label:t,value:r,startIcon:a}){let n=e?or:"a",l=c({}),s=(0,k.useTabContext)();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===r,p=i?"accent":"primary";return(0,E.jsx)(k.Tab,{id:r,className:l,render:(0,E.jsx)(n,{children:(0,E.jsxs)(P,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingVertical:"6",flexDirection:"row",columnGap:"8",children:[a?(0,E.jsx)(v,{name:a,color:p,size:"m"}):null,(0,E.jsx)(f,{color:p,variant:"headline1",children:t})]})})})},Ct=(0,To.forwardRef)(function(e,t){let r=(0,k.useTabContext)();if(!r)throw new Error("TabPanel must be wrapped in a Tabs component");let a=r.useState("selectedId");return(0,E.jsx)(k.TabPanel,{ref:t,tabId:a,...e})});var St=require("react/jsx-runtime");function mo({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",...u}){return(0,St.jsx)("input",{type:"text","data-1p-ignore":!0,className:h(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,...u})}var uo=require("react/jsx-runtime");function fo({children:o,required:e}){return(0,uo.jsxs)(f,{variant:"caption2",children:[o,e&&(0,uo.jsx)(f,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}var eo=require("react/jsx-runtime");function kt({label:o,required:e,...t}){return(0,eo.jsxs)(S,{gap:"4",width:"full",children:[(0,eo.jsx)(fo,{required:e,children:o}),(0,eo.jsx)(mo,{required:e,...t})]})}var Xe=require("react-toastify");var Co=require("react/jsx-runtime"),tr=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"}),rr=c({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),ar=c({backgroundColor:"positive"}),nr=c({backgroundColor:"alert"}),sr=c({backgroundColor:"accent"}),ir=c({backgroundColor:"warning"}),lr=c({backgroundColor:"elevation-3-inverse"}),pr=c({backgroundColor:"elevation-3-inverse"}),cr=c({backgroundColor:"positive-wash",color:"positive"}),dr=c({backgroundColor:"alert-wash",color:"alert"}),br=c({backgroundColor:"accent-wash",color:"accent"}),mr=c({backgroundColor:"warning-wash",color:"warning"}),fr=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),ur=c({backgroundColor:"elevation-3-inverse",color:"on-color"}),gr=o=>{let{type:e="default"}=o??{},t={success:cr,error:dr,info:br,warning:mr,default:fr,dark:ur}[e];return h(tr,t)};function yr(o){let{type:e="default",defaultClassName:t=""}=o??{},r={success:ar,error:nr,info:sr,warning:ir,default:lr,dark:pr}[e],a=t.replace(/Toastify__progress-bar-theme--light/,"");return h(a,r)}function hr({closeToast:o,type:e}){let t={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return(0,Co.jsx)(bo,{name:"close",size:"s",variant:"accent-ghost",color:t,onClick:o})}function At(o){return(0,Co.jsx)(Xe.ToastContainer,{toastClassName:gr,bodyClassName:rr,progressClassName:yr,transition:Xe.Slide,closeButton:hr,...o})}0&&(module.exports={Accordion,Avatar,Button,Chip,Dropdown,DropdownItem,DropdownItemPressable,DropdownItems,DropdownTrigger,IconButton,Modal,ModalDismiss,ModalHeader,Popover,PopoverAnchor,PopoverArrow,PopoverDescription,PopoverDisclosure,PopoverDisclosureArrow,PopoverDismiss,PopoverHeading,PopoverProvider,Spinner,Tab,TabList,TabPanel,Table,Tabs,TextInput,TextInputGroup,TextInputLabel,ToastContainer,toast,useModalStore,usePopoverStore});
1
+ "use strict";var Pr=Object.create;var Ge=Object.defineProperty;var hr=Object.getOwnPropertyDescriptor;var wr=Object.getOwnPropertyNames;var Tr=Object.getPrototypeOf,vr=Object.prototype.hasOwnProperty;var Cr=(o,e)=>{for(var r in e)Ge(o,r,{get:e[r],enumerable:!0})},mo=(o,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of wr(e))!vr.call(o,t)&&t!==r&&Ge(o,t,{get:()=>e[t],enumerable:!(n=hr(e,t))||n.enumerable});return o};var Sr=(o,e,r)=>(r=o!=null?Pr(Tr(o)):{},mo(e||!o||!o.__esModule?Ge(r,"default",{value:o,enumerable:!0}):r,o)),Rr=o=>mo(Ge({},"__esModule",{value:!0}),o);var ot={};Cr(ot,{Accordion:()=>_o,Avatar:()=>Oo,Button:()=>Ue,Chip:()=>Fo,Dropdown:()=>qo,DropdownItem:()=>Qo,DropdownItemPressable:()=>Je,DropdownItems:()=>er,DropdownTrigger:()=>or,IconButton:()=>Qe,Modal:()=>ar,ModalDismiss:()=>sr,ModalHeader:()=>nr,Popover:()=>$e,PopoverAnchor:()=>$o,PopoverArrow:()=>Ze,PopoverDescription:()=>Zo,PopoverDisclosure:()=>Ye,PopoverDisclosureArrow:()=>Yo,PopoverDismiss:()=>Ko,PopoverHeading:()=>Xo,PopoverProvider:()=>Ke,Spinner:()=>ir,Tab:()=>cr,TabList:()=>pr,TabPanel:()=>dr,Table:()=>T,Tabs:()=>lr,TextInput:()=>je,TextInputGroup:()=>br,TextInputLabel:()=>eo,ToastContainer:()=>fr,toast:()=>Le.toast,useModalStore:()=>tr,usePopoverStore:()=>b.usePopoverStore});module.exports=Rr(ot);var v=require("@yahoo/uds/fixtures"),vo=Sr(require("clsx"),1),Co=require("tailwind-merge");function no(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var m="uds",at=`${m}-spectrum-color`,st=`${m}-font`,it=`${m}-icon-size`,lt=`${m}-avatar-size`,pt=`${m}-border-radius`,ct=`${m}-border-width`,dt=`${m}-spacing`,mt=`${m}-font-size`,bt=`${m}-line-height`,ft=`${m}-font-weight`,ut=`${m}-text-transform`,bo=`${m}-color-mode-dark`,fo=`${m}-color-mode-light`,uo=`${m}-scale-mode-xsmall`,yo=`${m}-scale-mode-small`,xo=`${m}-scale-mode-medium`,go=`${m}-scale-mode-large`,Po=`${m}-scale-mode-xlarge`,ho=`${m}-scale-mode-xxlarge`,wo=`${m}-scale-mode-xxxlarge`;var yt=`--${m}-font-icons`,xt=`--${m}-font-sans`,gt=`--${m}-font-sans-beta`,Pt=`--${m}-font-sans-condensed`,ht=`--${m}-font-serif-display`,wt=`--${m}-font-serif-text`;var To={color:{accent:"text-accent",alert:"text-alert",black:"text-black",brand:"text-brand",positive:"text-positive",warning:"text-warning",white:"text-white",transparent:"text-transparent",muted:"text-muted","on-color":"text-on-color",primary:"text-primary",secondary:"text-secondary",tertiary:"text-tertiary"},placeholderColor:{accent:"placeholder:text-accent",alert:"placeholder:text-alert",black:"placeholder:text-black",brand:"placeholder:text-brand",positive:"placeholder:text-positive",warning:"placeholder:text-warning",white:"placeholder:text-white",transparent:"placeholder:text-transparent",muted:"placeholder:text-muted","on-color":"placeholder:text-on-color",primary:"placeholder:text-primary",secondary:"placeholder:text-secondary",tertiary:"placeholder:text-tertiary"},fontFamily:{icons:"font-icons",sans:"font-sans","sans-beta":"font-sans-beta","sans-condensed":"font-sans-condensed","serif-text":"font-serif-text","serif-display":"font-serif-display",display1:"font-display1",display2:"font-display2",display3:"font-display3",title1:"font-title1",title2:"font-title2",title3:"font-title3",title4:"font-title4",headline1:"font-headline1",body1:"font-body1",label1:"font-label1",label2:"font-label2",caption1:"font-caption1",caption2:"font-caption2",legal1:"font-legal1"},fontSize:{display1:"font-size-display1",display2:"font-size-display2",display3:"font-size-display3",title1:"font-size-title1",title2:"font-size-title2",title3:"font-size-title3",title4:"font-size-title4",headline1:"font-size-headline1",body1:"font-size-body1",label1:"font-size-label1",label2:"font-size-label2",caption1:"font-size-caption1",caption2:"font-size-caption2",legal1:"font-size-legal1"},fontWeight:{thin:"font-weight-thin",extralight:"font-weight-extralight",light:"font-weight-light",regular:"font-weight-regular",medium:"font-weight-medium",semibold:"font-weight-semibold",bold:"font-weight-bold",extrabold:"font-weight-extrabold",black:"font-weight-black",display1:"font-weight-display1",display2:"font-weight-display2",display3:"font-weight-display3",title1:"font-weight-title1",title2:"font-weight-title2",title3:"font-weight-title3",title4:"font-weight-title4",headline1:"font-weight-headline1",body1:"font-weight-body1",label1:"font-weight-label1",label2:"font-weight-label2",caption1:"font-weight-caption1",caption2:"font-weight-caption2",legal1:"font-weight-legal1"},lineHeight:{display1:"leading-display1",display2:"leading-display2",display3:"leading-display3",title1:"leading-title1",title2:"leading-title2",title3:"leading-title3",title4:"leading-title4",headline1:"leading-headline1",body1:"leading-body1",label1:"leading-label1",label2:"leading-label2",caption1:"leading-caption1",caption2:"leading-caption2",legal1:"leading-legal1"},textAlign:{center:"text-center",justify:"text-justify",start:"text-start",end:"text-end"},textTransform:{display1:"case-display1",display2:"case-display2",display3:"case-display3",title1:"case-title1",title2:"case-title2",title3:"case-title3",title4:"case-title4",headline1:"case-headline1",body1:"case-body1",label1:"case-label1",label2:"case-label2",caption1:"case-caption1",caption2:"case-caption2",legal1:"case-legal1",none:"normal-case",uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"},spacing:{none:"p-[0px]",1:"p-1",2:"p-2",3:"p-3",4:"p-4",5:"p-5",6:"p-6",7:"p-7",8:"p-8",9:"p-9",10:"p-10",11:"p-11",12:"p-12",13:"p-13",14:"p-14"},spacingHorizontal:{none:"px-none",1:"px-1",2:"px-2",3:"px-3",4:"px-4",5:"px-5",6:"px-6",7:"px-7",8:"px-8",9:"px-9",10:"px-10",11:"px-11",12:"px-12",13:"px-13",14:"px-14"},spacingVertical:{none:"py-none",1:"py-1",2:"py-2",3:"py-3",4:"py-4",5:"py-5",6:"py-6",7:"py-7",8:"py-8",9:"py-9",10:"py-10",11:"py-11",12:"py-12",13:"py-13",14:"py-14"},spacingBottom:{none:"pb-none",1:"pb-1",2:"pb-2",3:"pb-3",4:"pb-4",5:"pb-5",6:"pb-6",7:"pb-7",8:"pb-8",9:"pb-9",10:"pb-10",11:"pb-11",12:"pb-12",13:"pb-13",14:"pb-14"},spacingEnd:{none:"pe-none",1:"pe-1",2:"pe-2",3:"pe-3",4:"pe-4",5:"pe-5",6:"pe-6",7:"pe-7",8:"pe-8",9:"pe-9",10:"pe-10",11:"pe-11",12:"pe-12",13:"pe-13",14:"pe-14"},spacingStart:{none:"ps-none",1:"ps-1",2:"ps-2",3:"ps-3",4:"ps-4",5:"ps-5",6:"ps-6",7:"ps-7",8:"ps-8",9:"ps-9",10:"ps-10",11:"ps-11",12:"ps-12",13:"ps-13",14:"ps-14"},spacingTop:{none:"pt-none",1:"pt-1",2:"pt-2",3:"pt-3",4:"pt-4",5:"pt-5",6:"pt-6",7:"pt-7",8:"pt-8",9:"pt-9",10:"pt-10",11:"pt-11",12:"pt-12",13:"pt-13",14:"pt-14"},offset:{none:"-m-none",1:"-m-1",2:"-m-2",3:"-m-3",4:"-m-4",5:"-m-5",6:"-m-6",7:"-m-7",8:"-m-8",9:"-m-9",10:"-m-10",11:"-m-11",12:"-m-12",13:"-m-13",14:"-m-14"},offsetVertical:{none:"-my-none",1:"-my-1",2:"-my-2",3:"-my-3",4:"-my-4",5:"-my-5",6:"-my-6",7:"-my-7",8:"-my-8",9:"-my-9",10:"-my-10",11:"-my-11",12:"-my-12",13:"-my-13",14:"-my-14"},offsetHorizontal:{none:"-mx-none",1:"-mx-1",2:"-mx-2",3:"-mx-3",4:"-mx-4",5:"-mx-5",6:"-mx-6",7:"-mx-7",8:"-mx-8",9:"-mx-9",10:"-mx-10",11:"-mx-11",12:"-mx-12",13:"-mx-13",14:"-mx-14"},offsetBottom:{none:"-mb-none",1:"-mb-1",2:"-mb-2",3:"-mb-3",4:"-mb-4",5:"-mb-5",6:"-mb-6",7:"-mb-7",8:"-mb-8",9:"-mb-9",10:"-mb-10",11:"-mb-11",12:"-mb-12",13:"-mb-13",14:"-mb-14"},offsetEnd:{none:"-me-none",1:"-me-1",2:"-me-2",3:"-me-3",4:"-me-4",5:"-me-5",6:"-me-6",7:"-me-7",8:"-me-8",9:"-me-9",10:"-me-10",11:"-me-11",12:"-me-12",13:"-me-13",14:"-me-14"},offsetStart:{none:"-ms-none",1:"-ms-1",2:"-ms-2",3:"-ms-3",4:"-ms-4",5:"-ms-5",6:"-ms-6",7:"-ms-7",8:"-ms-8",9:"-ms-9",10:"-ms-10",11:"-ms-11",12:"-ms-12",13:"-ms-13",14:"-ms-14"},offsetTop:{none:"-mt-none",1:"-mt-1",2:"-mt-2",3:"-mt-3",4:"-mt-4",5:"-mt-5",6:"-mt-6",7:"-mt-7",8:"-mt-8",9:"-mt-9",10:"-mt-10",11:"-mt-11",12:"-mt-12",13:"-mt-13",14:"-mt-14"},columnGap:{none:"gap-x-none",1:"gap-x-1",2:"gap-x-2",3:"gap-x-3",4:"gap-x-4",5:"gap-x-5",6:"gap-x-6",7:"gap-x-7",8:"gap-x-8",9:"gap-x-9",10:"gap-x-10",11:"gap-x-11",12:"gap-x-12",13:"gap-x-13",14:"gap-x-14"},rowGap:{none:"gap-y-none",1:"gap-y-1",2:"gap-y-2",3:"gap-y-3",4:"gap-y-4",5:"gap-y-5",6:"gap-y-6",7:"gap-y-7",8:"gap-y-8",9:"gap-y-9",10:"gap-y-10",11:"gap-y-11",12:"gap-y-12",13:"gap-y-13",14:"gap-y-14"},backgroundColor:{accent:"bg-accent",alert:"bg-alert",black:"bg-black",brand:"bg-brand",positive:"bg-positive",warning:"bg-warning",white:"bg-white",primary:"bg-primary",secondary:"bg-secondary",transparent:"bg-transparent"},borderColor:{accent:"border-accent",alert:"border-alert",black:"border-black",brand:"border-brand",positive:"border-positive",warning:"border-warning",white:"border-white",transparent:"border-transparent",muted:"border-muted",primary:"border-primary",secondary:"border-secondary",tertiary:"border-tertiary"},borderColorOnActive:{accent:"active:border-accent",alert:"active:border-alert",black:"active:border-black",brand:"active:border-brand",positive:"active:border-positive",warning:"active:border-warning",white:"active:border-white",transparent:"active:border-transparent",muted:"active:border-muted",primary:"active:border-primary",secondary:"active:border-secondary",tertiary:"active:border-tertiary"},borderColorOnFocus:{accent:"focus:border-accent",alert:"focus:border-alert",black:"focus:border-black",brand:"focus:border-brand",positive:"focus:border-positive",warning:"focus:border-warning",white:"focus:border-white",transparent:"focus:border-transparent",muted:"focus:border-muted",primary:"focus:border-primary",secondary:"focus:border-secondary",tertiary:"focus:border-tertiary"},borderColorOnHover:{accent:"hover:border-accent",alert:"hover:border-alert",black:"hover:border-black",brand:"hover:border-brand",positive:"hover:border-positive",warning:"hover:border-warning",white:"hover:border-white",transparent:"hover:border-transparent",muted:"hover:border-muted",primary:"hover:border-primary",secondary:"hover:border-secondary",tertiary:"hover:border-tertiary"},borderColorOnChecked:{accent:"data-[state=checked]:border-accent",alert:"data-[state=checked]:border-alert",black:"data-[state=checked]:border-black",brand:"data-[state=checked]:border-brand",positive:"data-[state=checked]:border-positive",warning:"data-[state=checked]:border-warning",white:"data-[state=checked]:border-white",transparent:"data-[state=checked]:border-transparent",muted:"data-[state=checked]:border-muted",primary:"data-[state=checked]:border-primary",secondary:"data-[state=checked]:border-secondary",tertiary:"data-[state=checked]:border-tertiary"},borderStartColor:{accent:"border-s-accent",alert:"border-s-alert",black:"border-s-black",brand:"border-s-brand",positive:"border-s-positive",warning:"border-s-warning",white:"border-s-white",transparent:"border-s-transparent",muted:"border-s-muted",primary:"border-s-primary",secondary:"border-s-secondary",tertiary:"border-s-tertiary"},borderEndColor:{accent:"border-e-accent",alert:"border-e-alert",black:"border-e-black",brand:"border-e-brand",positive:"border-e-positive",warning:"border-e-warning",white:"border-e-white",transparent:"border-e-transparent",muted:"border-e-muted",primary:"border-e-primary",secondary:"border-e-secondary",tertiary:"border-e-tertiary"},borderBottomColor:{accent:"border-b-accent",alert:"border-b-alert",black:"border-b-black",brand:"border-b-brand",positive:"border-b-positive",warning:"border-b-warning",white:"border-b-white",transparent:"border-b-transparent",muted:"border-b-muted",primary:"border-b-primary",secondary:"border-b-secondary",tertiary:"border-b-tertiary"},borderTopColor:{accent:"border-t-accent",alert:"border-t-alert",black:"border-t-black",brand:"border-t-brand",positive:"border-t-positive",warning:"border-t-warning",white:"border-t-white",transparent:"border-t-transparent",muted:"border-t-muted",primary:"border-t-primary",secondary:"border-t-secondary",tertiary:"border-t-tertiary"},borderRadius:{none:"rounded-none",xs:"rounded-xs",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"},borderTopStartRadius:{none:"rounded-ss-none",xs:"rounded-ss-xs",sm:"rounded-ss-sm",md:"rounded-ss-md",lg:"rounded-ss-lg",xl:"rounded-ss-xl",full:"rounded-ss-full"},borderTopEndRadius:{none:"rounded-se-none",xs:"rounded-se-xs",sm:"rounded-se-sm",md:"rounded-se-md",lg:"rounded-se-lg",xl:"rounded-se-xl",full:"rounded-se-full"},borderBottomStartRadius:{none:"rounded-es-none",xs:"rounded-es-xs",sm:"rounded-es-sm",md:"rounded-es-md",lg:"rounded-es-lg",xl:"rounded-es-xl",full:"rounded-es-full"},borderBottomEndRadius:{none:"rounded-ee-none",xs:"rounded-ee-xs",sm:"rounded-ee-sm",md:"rounded-ee-md",lg:"rounded-ee-lg",xl:"rounded-ee-xl",full:"rounded-ee-full"},borderWidth:{none:"border-none",thin:"border-thin",medium:"border-medium",thick:"border-thick"},borderVerticalWidth:{none:"border-y-none",thin:"border-y-thin",medium:"border-y-medium",thick:"border-y-thick"},borderHorizontalWidth:{none:"border-x-none",thin:"border-x-thin",medium:"border-x-medium",thick:"border-x-thick"},borderStartWidth:{none:"border-s-none",thin:"border-s-thin",medium:"border-s-medium",thick:"border-s-thick"},borderEndWidth:{none:"border-e-none",thin:"border-e-thin",medium:"border-e-medium",thick:"border-e-thick"},borderTopWidth:{none:"border-t-none",thin:"border-t-thin",medium:"border-t-medium",thick:"border-t-thick"},borderBottomWidth:{none:"border-b-none",thin:"border-b-thin",medium:"border-b-medium",thick:"border-b-thick"},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:{sm:"iconSize-sm leading-none",md:"iconSize-md leading-none",lg:"iconSize-lg leading-none"},alignContent:{"flex-start":"content-start","flex-end":"content-end",center:"content-center",stretch:"content-stretch","space-between":"content-between","space-around":"content-around"},alignItems:{"flex-start":"items-start","flex-end":"items-end",center:"items-center",stretch:"items-stretch",baseline:"items-baseline"},alignSelf:{auto:"self-auto","flex-start":"self-start","flex-end":"self-end",center:"self-center",stretch:"self-stretch",baseline:"self-baseline"},flex:{1:"flex-1",auto:"flex-auto",initial:"flex-initial",none:"flex-none"},flexDirection:{row:"flex-row",column:"flex-col","row-reverse":"flex-row-reverse","column-reverse":"flex-col-reverse"},flexGrow:{0:"grow-0",1:"grow",2:"grow-[2]",3:"grow-[3]"},flexShrink:{0:"shrink-0",1:"shrink"},flexWrap:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},justifyContent:{"flex-start":"justify-start","flex-end":"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},flexBasis:{"min-content":"basis-[min-content]"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",table:"table","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row","flow-root":"flow-root",grid:"grid",contents:"contents"},overflow:{auto:"overflow-auto",hidden:"overflow-hidden",clip:"overflow-clip",visible:"overflow-visible",scroll:"overflow-scroll"},overflowX:{auto:"overflow-x-auto",hidden:"overflow-x-hidden",clip:"overflow-x-clip",visible:"overflow-x-visible",scroll:"overflow-x-scroll"},overflowY:{auto:"overflow-y-auto",hidden:"overflow-y-hidden",clip:"overflow-y-clip",visible:"overflow-y-visible",scroll:"overflow-y-scroll"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},contentFit:{contain:"object-contain",cover:"object-cover",fill:"object-fill",none:"object-none","scale-down":"object-scale-down"},colorMode:{dark:bo,light:fo},scaleMode:{xSmall:uo,small:yo,medium:xo,large:go,xLarge:Po,xxxLarge:wo,xxLarge:ho}};var kr=(0,Co.extendTailwindMerge)({cacheSize:0,extend:{theme:{borderColor:v.lineColors,borderWidth:v.borderWidths,borderRadius:v.borderRadii}},override:{classGroups:{"text-color":[{text:v.foregroundColors}],"bg-color":[{bg:v.backgroundColors}],"font-family":[{font:["icons",...v.textVariants]}],leading:[{leading:v.textVariants}]},conflictingClassGroups:{}}}),f=(...o)=>{let e=(0,vo.default)(o);return kr(e)},Er=o=>e=>{if(!o?.variants)return f(o?.base,e?.className);let{variants:r,defaultVariants:n}=o,t=Object.keys(r).map(s=>{let i=e?.[s],p=n?.[s],c=no(i)||no(p);return r[s][c]}),a={...n,...e&&Object.entries(e).reduce((s,[i,p])=>typeof p>"u"?s:{...s,[i]:p},{})},l=o?.compoundVariants?.reduce((s,{className:i,...p})=>Object.entries(p).every(([c,y])=>a[c]===y)?f(s,i):s,"");return f(o?.base,t,l,e?.className)},d=Er({variants:To});var Ro=require("react");var g=require("react");function Ar(o,e){typeof o=="function"?o(e):o!=null&&(o.current=e)}function So(...o){return e=>o.forEach(r=>Ar(r,e))}var ao=require("react/jsx-runtime");function k(){let o=(0,g.forwardRef)((a,l)=>{let{children:s,...i}=a,p=g.Children.toArray(s),c=p.find(n);if(c){let y=c.props.children,h=p.map(C=>C===c?g.Children.count(y)>1?g.Children.only(null):(0,g.isValidElement)(y)?y.props.children:null:C);return(0,ao.jsx)(e,{...i,ref:l,children:(0,g.isValidElement)(y)?(0,g.cloneElement)(y,void 0,h):null})}return(0,ao.jsx)(e,{...i,ref:l,children:s})});o.displayName="Slot";let e=(0,g.forwardRef)((a,l)=>{let{children:s,...i}=a;return(0,g.isValidElement)(s)?(0,g.cloneElement)(s,{...t(i,s.props),ref:l?So(l,s.ref):s.ref}):g.Children.count(s)>1?g.Children.only(null):null});e.displayName="SlotClone";let r=({children:a})=>a;function n(a){return(0,g.isValidElement)(a)&&a.type===r}function t(a,l){let s={...l};for(let i in l){let p=a[i],c=l[i];/^on[A-Z]/.test(i)?p&&c?s[i]=(...h)=>{c(...h),p(...h)}:p&&(s[i]=p):i==="style"&&(s[i]={...p,...c})}return{...a,...s}}return o}var ko=require("react/jsx-runtime"),Dr=k(),P=(0,Ro.forwardRef)(function({className:e,asChild:r,size:n,color:t,name:a,textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:h,borderColor:C,borderColorOnActive:H,borderColorOnFocus:N,borderColorOnChecked:_,borderColorOnHover:B,borderStartColor:O,borderEndColor:z,borderTopColor:V,borderBottomColor:W,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:X,borderEndWidth:$,borderTopWidth:Z,borderBottomWidth:K,alignContent:Y,alignItems:q,alignSelf:J,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:oe,flexWrap:re,justifyContent:te,flexBasis:ne,display:ae,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ue,spacingTop:ye,offset:xe,offsetVertical:ge,offsetHorizontal:Pe,offsetBottom:he,offsetEnd:we,offsetStart:Te,offsetTop:ve,columnGap:Ce,rowGap:Se,height:Re,minHeight:ke,maxHeight:Ee,width:Ae,minWidth:De,maxWidth:Me,...Oe},Fe){let ro=r?Dr:"span",to=d({iconSize:n,color:t,fontFamily:"icons",textAlign:l,backgroundColor:s,borderRadius:i,borderTopStartRadius:p,borderTopEndRadius:c,borderBottomStartRadius:y,borderBottomEndRadius:h,borderColor:C,borderColorOnActive:H,borderColorOnFocus:N,borderColorOnChecked:_,borderColorOnHover:B,borderStartColor:O,borderEndColor:z,borderTopColor:V,borderBottomColor:W,borderWidth:F,borderVerticalWidth:G,borderHorizontalWidth:U,borderStartWidth:X,borderEndWidth:$,borderTopWidth:Z,borderBottomWidth:K,alignContent:Y,alignItems:q,alignSelf:J,flex:Q,flexDirection:j,flexGrow:ee,flexShrink:oe,flexWrap:re,justifyContent:te,flexBasis:ne,display:ae,overflow:se,overflowX:ie,overflowY:le,position:pe,spacing:ce,spacingHorizontal:de,spacingVertical:me,spacingBottom:be,spacingEnd:fe,spacingStart:ue,spacingTop:ye,offset:xe,offsetVertical:ge,offsetHorizontal:Pe,offsetBottom:he,offsetEnd:we,offsetStart:Te,offsetTop:ve,columnGap:Ce,rowGap:Se,height:Re,minHeight:ke,maxHeight:Ee,width:Ae,minWidth:De,maxWidth:Me,className:e});return(0,ko.jsx)(ro,{className:to,ref:Fe,...Oe,children:a})});var Eo=require("react");var Ao=require("react/jsx-runtime"),Ir=k(),w=(0,Eo.forwardRef)(function({className:e,asChild:r,onPress:n,onClick:t=n,backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:h,borderColorOnFocus:C,borderColorOnChecked:H,borderColorOnHover:N,borderStartColor:_,borderEndColor:B,borderTopColor:O,borderBottomColor:z,borderWidth:V,borderVerticalWidth:W,borderHorizontalWidth:F,borderStartWidth:G,borderEndWidth:U,borderTopWidth:X,borderBottomWidth:$,alignContent:Z,alignItems:K,alignSelf:Y,flex:q,flexDirection:J,flexGrow:Q,flexShrink:j,flexWrap:ee,justifyContent:oe,flexBasis:re,display:te,overflow:ne,overflowX:ae,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ue,offsetVertical:ye,offsetHorizontal:xe,offsetBottom:ge,offsetEnd:Pe,offsetStart:he,offsetTop:we,columnGap:Te,rowGap:ve,height:Ce,minHeight:Se,maxHeight:Re,width:ke,minWidth:Ee,maxWidth:Ae,...De},Me){let Oe=d({backgroundColor:a,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:i,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:y,borderColorOnActive:h,borderColorOnFocus:C,borderColorOnChecked:H,borderColorOnHover:N,borderStartColor:_,borderEndColor:B,borderTopColor:O,borderBottomColor:z,borderWidth:V,borderVerticalWidth:W,borderHorizontalWidth:F,borderStartWidth:G,borderEndWidth:U,borderTopWidth:X,borderBottomWidth:$,alignContent:Z,alignItems:K,alignSelf:Y,flex:q,flexDirection:J,flexGrow:Q,flexShrink:j,flexWrap:ee,justifyContent:oe,flexBasis:re,display:te,overflow:ne,overflowX:ae,overflowY:se,position:ie,spacing:le,spacingHorizontal:pe,spacingVertical:ce,spacingBottom:de,spacingEnd:me,spacingStart:be,spacingTop:fe,offset:ue,offsetVertical:ye,offsetHorizontal:xe,offsetBottom:ge,offsetEnd:Pe,offsetStart:he,offsetTop:we,columnGap:Te,rowGap:ve,height:Ce,minHeight:Se,maxHeight:Re,width:ke,minWidth:Ee,maxWidth:Ae,className:e});return(0,Ao.jsx)(r?Ir:"button",{className:Oe,ref:Me,onClick:t,...De})});var Do=require("react");var Io=require("react/jsx-runtime"),Lr=k(),Mr={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"},u=(0,Do.forwardRef)(function({className:e,asChild:r,color:n="primary",variant:t="body1",as:a=Mr[t],fontSize:l=t,fontFamily:s=t,fontWeight:i=t,lineHeight:p=t,textTransform:c=t,textAlign:y,backgroundColor:h,borderRadius:C,borderTopStartRadius:H,borderTopEndRadius:N,borderBottomStartRadius:_,borderBottomEndRadius:B,borderColor:O,borderColorOnActive:z,borderColorOnFocus:V,borderColorOnChecked:W,borderColorOnHover:F,borderStartColor:G,borderEndColor:U,borderTopColor:X,borderBottomColor:$,borderWidth:Z,borderVerticalWidth:K,borderHorizontalWidth:Y,borderStartWidth:q,borderEndWidth:J,borderTopWidth:Q,borderBottomWidth:j,alignContent:ee,alignItems:oe,alignSelf:re,flex:te,flexDirection:ne,flexGrow:ae,flexShrink:se,flexWrap:ie,justifyContent:le,flexBasis:pe,display:ce,overflow:de,overflowX:me,overflowY:be,position:fe,spacing:ue,spacingHorizontal:ye,spacingVertical:xe,spacingBottom:ge,spacingEnd:Pe,spacingStart:he,spacingTop:we,offset:Te,offsetVertical:ve,offsetHorizontal:Ce,offsetBottom:Se,offsetEnd:Re,offsetStart:ke,offsetTop:Ee,columnGap:Ae,rowGap:De,height:Me,minHeight:Oe,maxHeight:Fe,width:ro,minWidth:to,maxWidth:ur,...yr},xr){let gr=d({className:e,color:n,fontFamily:s,fontSize:l,fontWeight:i,lineHeight:p,textTransform:c,textAlign:y,backgroundColor:h,borderRadius:C,borderTopStartRadius:H,borderTopEndRadius:N,borderBottomStartRadius:_,borderBottomEndRadius:B,borderColor:O,borderColorOnActive:z,borderColorOnFocus:V,borderColorOnChecked:W,borderColorOnHover:F,borderStartColor:G,borderEndColor:U,borderTopColor:X,borderBottomColor:$,borderWidth:Z,borderVerticalWidth:K,borderHorizontalWidth:Y,borderStartWidth:q,borderEndWidth:J,borderTopWidth:Q,borderBottomWidth:j,alignContent:ee,alignItems:oe,alignSelf:re,flex:te,flexDirection:ne,flexGrow:ae,flexShrink:se,flexWrap:ie,justifyContent:le,flexBasis:pe,display:ce,overflow:de,overflowX:me,overflowY:be,position:fe,spacing:ue,spacingHorizontal:ye,spacingVertical:xe,spacingBottom:ge,spacingEnd:Pe,spacingStart:he,spacingTop:we,offset:Te,offsetVertical:ve,offsetHorizontal:Ce,offsetBottom:Se,offsetEnd:Re,offsetStart:ke,offsetTop:Ee,columnGap:Ae,rowGap:De,height:Me,minHeight:Oe,maxHeight:Fe,width:ro,minWidth:to,maxWidth:ur});return(0,Io.jsx)(r?Lr:a,{className:gr,ref:xr,...yr})});var Ho=require("react");var Lo=require("react");var Mo=require("react/jsx-runtime"),Hr=k(),D=(0,Lo.forwardRef)(function({asChild:e,className:r,backgroundColor:n,borderRadius:t,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:h,borderColorOnHover:C,borderStartColor:H,borderEndColor:N,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe="flex",overflow:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ye,offsetEnd:xe,offsetStart:ge,offsetTop:Pe,columnGap:he,rowGap:we,height:Te,minHeight:ve,maxHeight:Ce,width:Se,minWidth:Re,maxWidth:ke,...Ee},Ae){let De=d({backgroundColor:n,borderRadius:t,borderTopStartRadius:a,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:i,borderColor:p,borderColorOnActive:c,borderColorOnFocus:y,borderColorOnChecked:h,borderColorOnHover:C,borderStartColor:H,borderEndColor:N,borderTopColor:_,borderBottomColor:B,borderWidth:O,borderVerticalWidth:z,borderHorizontalWidth:V,borderStartWidth:W,borderEndWidth:F,borderTopWidth:G,borderBottomWidth:U,alignContent:X,alignItems:$,alignSelf:Z,flex:K,flexDirection:Y,flexGrow:q,flexShrink:J,flexWrap:Q,justifyContent:j,flexBasis:ee,display:oe,overflow:re,overflowX:te,overflowY:ne,position:ae,spacing:se,spacingHorizontal:ie,spacingVertical:le,spacingBottom:pe,spacingEnd:ce,spacingStart:de,spacingTop:me,offset:be,offsetVertical:fe,offsetHorizontal:ue,offsetBottom:ye,offsetEnd:xe,offsetStart:ge,offsetTop:Pe,columnGap:he,rowGap:we,height:Te,minHeight:ve,maxHeight:Ce,width:Se,minWidth:Re,maxWidth:ke,className:r});return(0,Mo.jsx)(e?Hr:"div",{className:De,ref:Ae,...Ee})});var No=require("react/jsx-runtime"),S=(0,Ho.forwardRef)(function({gap:e,...r},n){return(0,No.jsx)(D,{ref:n,flexDirection:"column",columnGap:e,rowGap:e,...r})});var E=require("react/jsx-runtime");function _o({label:o,children:e,onClick:r,open:n,spacingHorizontal:t="6",_content:a,className:l,...s}){return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(w,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",spacingVertical:"6",spacingHorizontal:t,borderRadius:"md",width:"full",onClick:r,className:f("hover:bg-secondary/80",l),...s,children:[(0,E.jsx)(u,{variant:"title4",color:"primary",children:o}),(0,E.jsx)(P,{name:n?"chevronDown":"chevronUp",size:"sm",color:"primary"})]}),(0,E.jsx)(S,{overflow:"hidden",maxHeight:n?"full":"none",className:"transition-[max-height] duration-500 ease-in-out",spacingHorizontal:t,...a,children:(0,E.jsx)(S,{minHeight:"min",children:e})})]})}var Bo={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},so={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function He({variant:o="accent",size:e="s"}){let{color:r,...n}=so.variant[o],{variant:t,...a}=so.size[e];return{pressable:{...so.base,...n,...a},text:{color:r,variant:t,textAlign:"center"},icon:{color:r,size:"sm"}}}var zo=require("react/jsx-runtime");function Oo({size:o,shape:e,src:r,alt:n,...t}){let a=d({...Bo,avatarSize:o,borderRadius:e});return(0,zo.jsx)("img",{src:r,alt:n,className:a,...t})}var Vo=require("react");var Ne=require("react/jsx-runtime"),Ue=(0,Vo.forwardRef)(function({variant:e="accent",size:r,startIcon:n,endIcon:t,children:a,...l},s){let i=He({variant:e,size:r}),p=n?(0,Ne.jsx)(P,{name:n,...i.icon}):null,c=t?(0,Ne.jsx)(P,{name:t,...i.icon}):null;return(0,Ne.jsxs)(w,{...i.pressable,ref:s,...l,children:[p,(0,Ne.jsx)(u,{...i.text,children:a}),c]})});var _e=require("react/jsx-runtime"),Wo={accent:"on-color",secondary:"primary"},Nr={accent:"on-color",secondary:"tertiary"};function Fo({children:o,variant:e,startIcon:r,startContent:n=r?(0,_e.jsx)(P,{name:r,size:"sm",color:Wo[e]}):null,endIcon:t,endContent:a=t?(0,_e.jsx)(P,{name:t,size:"sm",color:Wo[e]}):null}){return(0,_e.jsxs)(w,{display:"inline-flex",flexDirection:"row",columnGap:"4",borderRadius:"full",backgroundColor:e,alignItems:"center",spacingVertical:"4",spacingHorizontal:"5",children:[n,(0,_e.jsx)(u,{variant:"label2",color:Nr[e],children:o}),a]})}var b=require("@ariakit/react");var Go=require("react");var Uo=require("react/jsx-runtime"),Xe=(0,Go.forwardRef)(function({gap:e,...r},n){return(0,Uo.jsx)(D,{ref:n,flexDirection:"row",rowGap:e,columnGap:e,...r})});var ze=require("react/jsx-runtime");function Xo({children:o,leading:e,trailing:r}){return(0,ze.jsxs)(Xe,{children:[e,(0,ze.jsx)(u,{variant:"headline1",color:"primary",asChild:!0,children:(0,ze.jsx)(b.PopoverHeading,{children:o})}),r]})}var $e=b.Popover,Ze=b.PopoverArrow,$o=b.PopoverAnchor,Zo=b.PopoverDescription,Ko=b.PopoverDismiss,Ke=b.PopoverProvider,Ye=b.PopoverDisclosure,Yo=b.PopoverDisclosureArrow;var qo=Ke;var qe=require("react");var Jo=require("react/jsx-runtime"),Je=(0,qe.forwardRef)(function({children:e,disabled:r,onClick:n,...t},a){let l=(0,b.usePopoverStore)(),s=(0,qe.useCallback)(i=>{i.preventDefault(),n?.(()=>l.setOpen(!1))},[n,l]);return(0,Jo.jsx)(w,{display:"flex",flexDirection:"row",alignItems:"flex-start",spacingVertical:"6",spacingHorizontal:"8",columnGap:"5",borderColor:"muted",className:f(!r&&"hover:bg-gray-2",r&&"cursor-default"),onClick:n?s:void 0,ref:a,...t,children:e})});var I=require("react/jsx-runtime");function Qo({title:o,description:e,_title:r,_description:n,startIcon:t,endIcon:a,...l}){return(0,I.jsxs)(Je,{...l,children:[t&&(0,I.jsx)(P,{name:t,size:"sm",color:"primary"}),(0,I.jsxs)(S,{gap:"3",alignItems:"flex-start",children:[o&&(0,I.jsx)(u,{variant:"headline1",color:"primary",...r,children:o}),e&&(0,I.jsx)(u,{variant:"label2",color:"muted",...n,children:e})]}),a&&(0,I.jsx)(P,{name:a,size:"sm",color:"primary"})]})}var jo=require("react");var Ve=require("react/jsx-runtime"),er=(0,jo.forwardRef)(function({children:e,className:r,overflow:n="scroll",...t},a){return(0,Ve.jsx)(S,{borderRadius:"lg",backgroundColor:"primary",className:f("max-h-[312px] min-w-[220px] shadow-md",r),overflow:n,spacingVertical:"4",asChild:!0,children:(0,Ve.jsxs)($e,{preventBodyScroll:!0,...t,ref:a,children:[(0,Ve.jsx)(Ze,{className:"!fill-elevation-3 !stroke-muted !stroke-1"}),e]})})});var io=require("react/jsx-runtime");function or({children:o,variant:e,size:r,...n}){let t=He({variant:e,size:r}),a=e?t.pressable:{display:"flex",flexDirection:"row",alignItems:"center",columnGap:"6",justifyContent:"space-between"};return(0,io.jsx)(w,{...a,...n,asChild:!0,children:(0,io.jsx)(Ye,{children:o})})}var rr=require("react");var lo=require("react/jsx-runtime"),_r={s:"w-[36px] h-[36px]",m:"w-[48px] h-[48px]",l:"w-[64px] h-[64px]"},Qe=(0,rr.forwardRef)(function({variant:e="accent",size:r="s",name:n,className:t,color:a,...l},s){let i=He({variant:e,size:r});return(0,lo.jsx)(w,{...i.pressable,spacingHorizontal:i.pressable.spacingVertical,ref:s,className:f("leading-[0px]",_r[r],t),...l,children:(0,lo.jsx)(P,{name:n,...i.icon,color:a})})});var Be=require("@ariakit/react");var L=require("react/jsx-runtime");function tr(o){return(0,Be.useDialogStore)({animated:!0,...o})}function nr({children:o,handleClose:e}){return(0,L.jsxs)(Xe,{alignItems:"center",justifyContent:"space-between",children:[(0,L.jsx)(u,{variant:"headline1",color:"primary",children:o}),(0,L.jsx)(Ue,{variant:"accent-ghost",size:"m",spacingEnd:"none",spacingVertical:"none",onClick:e,children:"close"})]})}function ar({className:o,...e}){return(0,L.jsx)(S,{borderRadius:"md",position:"fixed",height:"fit",backgroundColor:"primary",className:f("inset-8 top-[250px] z-50 mx-auto w-[600px] origin-center scale-95 opacity-0 shadow-md transition duration-150 data-[enter]:scale-100 data-[enter]:opacity-100",o),spacing:"8",asChild:!0,overflow:"hidden",children:(0,L.jsx)(Be.Dialog,{backdrop:(0,L.jsx)("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 sr=Be.DialogDismiss;var Ie=require("react/jsx-runtime");function ir({className:o,...e}){return(0,Ie.jsxs)("div",{role:"status",className:f("self-center","relative",o),...e,style:{width:32,maxWidth:32,height:32,maxHeight:32},children:[(0,Ie.jsxs)("svg",{"aria-hidden":"true",className:"text-gray-3 fill-accent top-half left-half absolute left-0 right-0 animate-spin",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ie.jsx)("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"}),(0,Ie.jsx)("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"})]}),(0,Ie.jsx)("span",{className:"sr-only",children:"Loading..."})]})}var M=require("react");var x=require("react/jsx-runtime"),Br=(0,M.forwardRef)(function({children:e,className:r,display:n="table",overflow:t="hidden",borderColor:a="muted",borderRadius:l="md",...s},i){return(0,x.jsx)(D,{asChild:!0,borderColor:a,borderRadius:l,className:r,overflow:t,display:n,...s,children:(0,x.jsx)("table",{ref:i,children:e})})}),Or=(0,M.forwardRef)(function({children:e,display:r="table-row",...n},t){return(0,x.jsx)(D,{asChild:!0,display:r,...n,children:(0,x.jsx)("tr",{ref:t,children:e})})}),zr=(0,M.forwardRef)(function({children:e,display:r="table-header-group",...n},t){return(0,x.jsx)(D,{asChild:!0,display:r,...n,children:(0,x.jsx)("thead",{ref:t,children:e})})}),Vr=(0,M.forwardRef)(function({children:e,display:r="table-row-group",...n},t){return(0,x.jsx)(D,{asChild:!0,display:r,...n,children:(0,x.jsx)("tbody",{ref:t,children:e})})}),Wr=(0,M.forwardRef)(function({asHeaderCell:e,className:r,display:n="table-cell",spacing:t="5",borderBottomColor:a="muted",color:l="primary",...s},i){let p=d({textAlign:"start",className:r});return(0,x.jsx)(u,{asChild:!0,variant:e?"headline1":"body1",color:l,display:n,spacing:t,borderBottomColor:a,borderBottomWidth:"thin",className:p,children:(0,x.jsx)(e?"th":"td",{scope:e==="row"?"row":e?"column":void 0,...s,ref:i})})});T.Root=Br;T.Row=Or;T.Header=zr;T.Body=Vr;T.Cell=Wr;function T({data:o,columns:e,...r}){return(0,x.jsxs)(T.Root,{...r,children:[(0,x.jsx)(T.Header,{children:(0,x.jsx)(T.Row,{children:e.map((n,t)=>(0,x.jsx)(T.Cell,{asHeaderCell:"column",children:n.title},t))})}),(0,x.jsx)(T.Body,{children:o.map((n,t)=>(0,x.jsx)(T.Row,{children:e.map((a,l)=>{let s=n[a.dataIndex];return(0,x.jsx)(T.Cell,{children:a.render?a.render(s,n,t):(0,M.isValidElement)(s)?s:String(s)},l)})},t))})]})}var R=require("@ariakit/react"),po=require("react");var A=require("react/jsx-runtime"),Fr=k();function lr(o){return(0,A.jsx)(R.TabProvider,{...o})}var pr=(0,po.forwardRef)(function({className:e,...r},n){let t=d({display:"flex",flexDirection:"row",columnGap:"7",className:e});return(0,A.jsx)(R.TabList,{ref:n,...r,className:t})}),cr=function({asChild:e,label:r,value:n,startIcon:t}){let a=e?Fr:"a",l=d({}),s=(0,R.useTabContext)();if(!s)throw new Error("Tab must be wrapped in a Tabs component");let i=s?.useState().activeId===n,p=i?"accent":"primary";return(0,A.jsx)(R.Tab,{id:n,className:l,render:(0,A.jsx)(a,{children:(0,A.jsxs)(w,{borderColor:i?"accent":"transparent",borderBottomWidth:"thick",spacingBottom:"3",spacingTop:"6",children:[t?(0,A.jsx)(P,{name:t,color:p,size:"md"}):null,(0,A.jsx)(u,{color:p,variant:"headline1",children:r})]})})})},dr=(0,po.forwardRef)(function(e,r){let n=(0,R.useTabContext)();if(!n)throw new Error("TabPanel must be wrapped in a Tabs component");let t=n.useState("selectedId");return(0,A.jsx)(R.TabPanel,{ref:r,tabId:t,...e})});var mr=require("react/jsx-runtime");function je({className:o,disabled:e,backgroundColor:r=e?"secondary":"primary",borderColor:n="tertiary",borderWidth:t="thin",borderRadius:a="md",color:l="primary",placeholderColor:s="tertiary",spacingVertical:i="5",spacingHorizontal:p="6",fontSize:c="body1",...y}){return(0,mr.jsx)("input",{type:"text","data-1p-ignore":!0,className:f(d({backgroundColor:r,borderColor:n,borderWidth:t,borderRadius:a,spacingVertical:i,spacingHorizontal:p,width:"full",fontSize:c,fontWeight:c,lineHeight:c,fontFamily:c,color:l,placeholderColor:s}),o),disabled:e,...y})}var oo=require("react/jsx-runtime");function eo({children:o,required:e}){return(0,oo.jsxs)(u,{variant:"caption2",color:"primary",children:[o,e&&(0,oo.jsx)(u,{variant:"caption2",as:"span",color:"alert",spacingStart:"2",children:"*"})]})}var We=require("react/jsx-runtime");function br({label:o,required:e,...r}){return(0,We.jsxs)(S,{gap:"4",width:"full",children:[(0,We.jsx)(eo,{required:e,children:o}),(0,We.jsx)(je,{required:e,...r})]})}var Le=require("react-toastify");var co=require("react/jsx-runtime"),Gr=d({borderRadius:"md",spacingVertical:"6",spacingHorizontal:"5",display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",columnGap:"5",overflow:"hidden",position:"relative",className:"cursor-pointer"}),Ur=d({fontSize:"label2",lineHeight:"label2",fontWeight:"label2"}),Xr=d({backgroundColor:"positive"}),$r=d({backgroundColor:"alert"}),Zr=d({backgroundColor:"accent"}),Kr=d({backgroundColor:"warning"}),Yr=d({backgroundColor:"brand"}),qr=d({backgroundColor:"brand"}),Jr=d({backgroundColor:"brand",color:"on-color"}),Qr=o=>o?.type==="default"?f(Gr,Jr):o?.defaultClassName??"";function jr(o){let{type:e="default",defaultClassName:r=""}=o??{},n={success:Xr,error:$r,info:Zr,warning:Kr,default:Yr,dark:qr}[e],t=r.replace(/Toastify__progress-bar-theme--light/,"");return f(t,n)}function et({closeToast:o,type:e}){let r={success:"positive",error:"alert",info:"accent",warning:"warning",default:"on-color",dark:"white"}[e];return(0,co.jsx)(Qe,{name:"close",size:"s",variant:"accent-ghost",color:r,onClick:o})}function fr(o){return(0,co.jsx)(Le.ToastContainer,{toastClassName:Qr,bodyClassName:Ur,progressClassName:jr,transition:Le.Slide,closeButton:et,...o})}0&&(module.exports={Accordion,Avatar,Button,Chip,Dropdown,DropdownItem,DropdownItemPressable,DropdownItems,DropdownTrigger,IconButton,Modal,ModalDismiss,ModalHeader,Popover,PopoverAnchor,PopoverArrow,PopoverDescription,PopoverDisclosure,PopoverDisclosureArrow,PopoverDismiss,PopoverHeading,PopoverProvider,Spinner,Tab,TabList,TabPanel,Table,Tabs,TextInput,TextInputGroup,TextInputLabel,ToastContainer,toast,useModalStore,usePopoverStore});
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b as PressableProps, c as VStackProps, a as BoxProps } from '../VStack-BSD9TbBd.cjs';
3
- import { i as UniversalAvatarProps, j as UniversalButtonProps, al as IconName, q as UniversalTextProps, aD as Overflow, V as ButtonVariant, T as ButtonSize, n as UniversalIconButtonProps, ah as ForegroundColor, $ as Display, b0 as UniversalTextInputProps } from '../types-CzJpH_Oi.cjs';
2
+ import { b as PressableProps, d as VStackProps, a as BoxProps, c as TextProps } from '../VStack-BHlRUsOR.cjs';
3
+ import { g as UniversalAvatarProps, h as UniversalButtonProps, ac as IconName, aU as UniversalTextProps, as as Overflow, J as ButtonVariant, I as ButtonSize, j as UniversalIconButtonProps, R as Display, aT as UniversalTextInputProps } from '../types-COiuE8XK.cjs';
4
4
  import * as react from 'react';
5
5
  import react__default, { PropsWithChildren, TdHTMLAttributes } from 'react';
6
6
  import * as _ariakit_react from '@ariakit/react';
@@ -15,7 +15,7 @@ interface AccordionProps extends PressableProps {
15
15
  onClick?: () => void;
16
16
  _content?: VStackProps;
17
17
  }
18
- declare function Accordion({ label, children, onClick, open, spacingHorizontal, _content, ...pressableProps }: AccordionProps): react_jsx_runtime.JSX.Element;
18
+ declare function Accordion({ label, children, onClick, open, spacingHorizontal, _content, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
19
19
 
20
20
  type NativeImageProps = Omit<react__default.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
21
21
  interface AvatarProps extends NativeImageProps, UniversalAvatarProps {
@@ -88,17 +88,16 @@ interface DropdownTriggerProps extends PressableProps {
88
88
  declare function DropdownTrigger({ children, variant, size, ...props }: DropdownTriggerProps): react_jsx_runtime.JSX.Element;
89
89
 
90
90
  interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
91
- color?: ForegroundColor;
92
91
  }
93
92
  /**
94
93
  * An icon button element that can be used to trigger an action.
95
94
  * @example
96
95
  ```tsx
97
- import { IconButton } from "@yahoo/uds"
96
+ import { IconButton } from "@yahoo/uds";
98
97
 
99
98
  export function IconButtonDemo() {
100
99
  return (
101
- <IconButton variant="accent-outline" name="close" onPress={console.log} />
100
+ <IconButton variant="accent-outline" color="primary" name="close" onPress={console.log} />
102
101
  )
103
102
  }
104
103
  ```
@@ -145,12 +144,13 @@ type TableColumn<T> = {
145
144
  };
146
145
  interface HTMLTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'color' | 'height' | 'width'> {
147
146
  }
148
- interface TableCellProps extends UniversalTextProps, HTMLTableCellProps {
147
+ interface TableCellProps extends Omit<UniversalTextProps, 'color'>, HTMLTableCellProps {
149
148
  /** asHeaderCell will return a th element instead of a td element.
150
149
  * If asHeaderCell is row, it will return a th element with scope="row"
151
150
  * @default false
152
151
  */
153
152
  asHeaderCell?: boolean | 'column' | 'row';
153
+ color?: TextProps['color'];
154
154
  }
155
155
  /**
156
156
  * Table component props
@@ -171,7 +171,7 @@ type TableProps<T> = {
171
171
  * If you want more control over the table, or want to handle virtualization,
172
172
  * drag-n-drop, etc, Please can use the sub-components directly and build your own!
173
173
  */
174
- declare function Table<T>({ data, columns }: TableProps<T>): react_jsx_runtime.JSX.Element;
174
+ declare function Table<T>({ data, columns, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
175
175
  declare namespace Table {
176
176
  var Root: react__default.ForwardRefExoticComponent<react__default.TableHTMLAttributes<HTMLTableElement> & BoxProps & {
177
177
  /** Sets whether an element is treated as a block or inline box and the
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { b as PressableProps, c as VStackProps, a as BoxProps } from '../VStack-Dk3-8IyU.js';
3
- import { i as UniversalAvatarProps, j as UniversalButtonProps, al as IconName, q as UniversalTextProps, aD as Overflow, V as ButtonVariant, T as ButtonSize, n as UniversalIconButtonProps, ah as ForegroundColor, $ as Display, b0 as UniversalTextInputProps } from '../types-CzJpH_Oi.js';
2
+ import { b as PressableProps, d as VStackProps, a as BoxProps, c as TextProps } from '../VStack-DMb_RGRS.js';
3
+ import { g as UniversalAvatarProps, h as UniversalButtonProps, ac as IconName, aU as UniversalTextProps, as as Overflow, J as ButtonVariant, I as ButtonSize, j as UniversalIconButtonProps, R as Display, aT as UniversalTextInputProps } from '../types-COiuE8XK.js';
4
4
  import * as react from 'react';
5
5
  import react__default, { PropsWithChildren, TdHTMLAttributes } from 'react';
6
6
  import * as _ariakit_react from '@ariakit/react';
@@ -15,7 +15,7 @@ interface AccordionProps extends PressableProps {
15
15
  onClick?: () => void;
16
16
  _content?: VStackProps;
17
17
  }
18
- declare function Accordion({ label, children, onClick, open, spacingHorizontal, _content, ...pressableProps }: AccordionProps): react_jsx_runtime.JSX.Element;
18
+ declare function Accordion({ label, children, onClick, open, spacingHorizontal, _content, className, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
19
19
 
20
20
  type NativeImageProps = Omit<react__default.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
21
21
  interface AvatarProps extends NativeImageProps, UniversalAvatarProps {
@@ -88,17 +88,16 @@ interface DropdownTriggerProps extends PressableProps {
88
88
  declare function DropdownTrigger({ children, variant, size, ...props }: DropdownTriggerProps): react_jsx_runtime.JSX.Element;
89
89
 
90
90
  interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
91
- color?: ForegroundColor;
92
91
  }
93
92
  /**
94
93
  * An icon button element that can be used to trigger an action.
95
94
  * @example
96
95
  ```tsx
97
- import { IconButton } from "@yahoo/uds"
96
+ import { IconButton } from "@yahoo/uds";
98
97
 
99
98
  export function IconButtonDemo() {
100
99
  return (
101
- <IconButton variant="accent-outline" name="close" onPress={console.log} />
100
+ <IconButton variant="accent-outline" color="primary" name="close" onPress={console.log} />
102
101
  )
103
102
  }
104
103
  ```
@@ -145,12 +144,13 @@ type TableColumn<T> = {
145
144
  };
146
145
  interface HTMLTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'color' | 'height' | 'width'> {
147
146
  }
148
- interface TableCellProps extends UniversalTextProps, HTMLTableCellProps {
147
+ interface TableCellProps extends Omit<UniversalTextProps, 'color'>, HTMLTableCellProps {
149
148
  /** asHeaderCell will return a th element instead of a td element.
150
149
  * If asHeaderCell is row, it will return a th element with scope="row"
151
150
  * @default false
152
151
  */
153
152
  asHeaderCell?: boolean | 'column' | 'row';
153
+ color?: TextProps['color'];
154
154
  }
155
155
  /**
156
156
  * Table component props
@@ -171,7 +171,7 @@ type TableProps<T> = {
171
171
  * If you want more control over the table, or want to handle virtualization,
172
172
  * drag-n-drop, etc, Please can use the sub-components directly and build your own!
173
173
  */
174
- declare function Table<T>({ data, columns }: TableProps<T>): react_jsx_runtime.JSX.Element;
174
+ declare function Table<T>({ data, columns, ...props }: TableProps<T>): react_jsx_runtime.JSX.Element;
175
175
  declare namespace Table {
176
176
  var Root: react__default.ForwardRefExoticComponent<react__default.TableHTMLAttributes<HTMLTableElement> & BoxProps & {
177
177
  /** Sets whether an element is treated as a block or inline box and the