@yahoo/uds 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/cli/README.md +10 -0
  2. package/cli/codemods/propsToClass.test.tsx +97 -0
  3. package/cli/codemods/propsToClass.ts +221 -0
  4. package/cli/codemods/utils/sizingPropToClassMap.ts +89 -0
  5. package/cli/commands/codemod/codemod.ts +87 -0
  6. package/cli/commands/codemod/sizingProps.ts +17 -0
  7. package/cli/utils/getCommandHelp.ts +42 -3
  8. package/cli/utils/getDirChoices.ts +22 -0
  9. package/dist/{Image.native-DUAFJodS.d.ts → Image.native-BJfkUDnq.d.ts} +2 -2
  10. package/dist/{Image.native-B3I4JoH3.d.cts → Image.native-CddvOupj.d.cts} +2 -2
  11. package/dist/{VStack-BHlRUsOR.d.cts → VStack-CMGd5AX1.d.cts} +1 -1
  12. package/dist/{VStack-DMb_RGRS.d.ts → VStack-CjOrFgxd.d.ts} +1 -1
  13. package/dist/experimental/index.cjs +1 -1
  14. package/dist/experimental/index.d.cts +2 -2
  15. package/dist/experimental/index.d.ts +2 -2
  16. package/dist/experimental/index.js +1 -1
  17. package/dist/experimental/index.native.cjs +1 -1
  18. package/dist/experimental/index.native.d.cts +3 -3
  19. package/dist/experimental/index.native.d.ts +3 -3
  20. package/dist/experimental/index.native.js +1 -1
  21. package/dist/fixtures.cjs +286 -242
  22. package/dist/fixtures.d.ts +1 -1
  23. package/dist/fixtures.js +286 -242
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.d.cts +7 -13
  26. package/dist/index.d.ts +7 -13
  27. package/dist/index.js +1 -1
  28. package/dist/{index.native-Bm-r2Dpa.d.cts → index.native-DG8RsS88.d.cts} +1 -1
  29. package/dist/{index.native-BTfOSmUx.d.ts → index.native-LymI5azd.d.ts} +1 -1
  30. package/dist/index.native.cjs +1 -1
  31. package/dist/index.native.d.cts +8 -8
  32. package/dist/index.native.d.ts +8 -8
  33. package/dist/index.native.js +1 -1
  34. package/dist/tailwindPlugin.cjs +1 -1
  35. package/dist/tailwindPlugin.d.cts +1 -1
  36. package/dist/tailwindPlugin.d.ts +1 -1
  37. package/dist/tailwindPlugin.js +1 -1
  38. package/dist/tailwindPurge.cjs +1 -1
  39. package/dist/tailwindPurge.js +1 -1
  40. package/dist/tokens/index.cjs +1 -1
  41. package/dist/tokens/index.d.cts +8 -3
  42. package/dist/tokens/index.d.ts +8 -3
  43. package/dist/tokens/index.js +1 -1
  44. package/dist/tokens/index.native.d.cts +2 -2
  45. package/dist/tokens/index.native.d.ts +2 -2
  46. package/dist/tokens/parseTokens.d.cts +1 -1
  47. package/dist/tokens/parseTokens.d.ts +1 -1
  48. package/dist/tokens/parseTokens.native.d.cts +1 -1
  49. package/dist/tokens/parseTokens.native.d.ts +1 -1
  50. package/dist/{types-COiuE8XK.d.cts → types-D-ttCAsE.d.cts} +3 -23
  51. package/dist/{types-COiuE8XK.d.ts → types-D-ttCAsE.d.ts} +3 -23
  52. package/package.json +4 -2
@@ -1 +1 @@
1
- import{forwardRef as Ot}from"react";var xo={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},Po={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var vo={none:0,thin:1,medium:2,thick:2},To={none:0,thin:1,medium:2,thick:4};var Ro={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Fo={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},ve={white:"#ffffff",black:"#000000",transparent:"transparent"};var qe={s:16,m:24,l:32},wo=qe,Je={sm:16,md:24,lg:32},Mo=Je;var Eo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Ao={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var ko={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Wo={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var He=["Helvetica Neue","Helvetica","Arial","sans-serif"],zo=["Georgia","Times","Times New Roman","serif"],Qe={icons:{fallbacks:He,name:"yahoo-icons"},sans:{fallbacks:He,name:"yahoo-sans"},"sans-beta":{fallbacks:He,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:He,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:zo,name:"yahoo-serif-text"},"serif-display":{fallbacks:zo,name:"yahoo-serif-display"}},eo={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},I={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},oo={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},to={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},ro={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},no={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...ro.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Be={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...no.lineHeight,title2:36,title3:32}},io={fontSize:{...Be.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Be.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},ao={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...io.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},lo={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...ao.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Ho={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...lo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var so={fontFamily:eo,fontWeight:oo,textTransform:to,avatarSizes:qe,iconSizes:Je,borderRadius:xo,borderWidth:vo,spacing:Eo},_e={fontFamily:eo,fontWeight:oo,textTransform:to,avatarSizes:wo,iconSizes:Mo,borderRadius:Po,borderWidth:To,spacing:Ao},Oe={colorMode:{light:{palette:Ro,spectrum:ko},dark:{palette:Fo,spectrum:Wo}},scaleMode:{xSmall:{...so,...ro},small:{...so,...no},medium:{...so,...Be},large:{..._e,...io},xLarge:{..._e,...ao},xxLarge:{..._e,...lo},xxxLarge:{..._e,...Ho}},fontFamily:Qe};var F="uds",an=`${F}-spectrum-color`,ln=`${F}-font`,sn=`${F}-icon-size`,dn=`${F}-avatar-size`,pn=`${F}-border-radius`,cn=`${F}-border-width`,mn=`${F}-spacing`,fn=`${F}-font-size`,gn=`${F}-line-height`,un=`${F}-font-weight`,bn=`${F}-text-transform`,hn=`${F}-color-mode-dark`,vt=`${F}-color-mode-light`,yn=`${F}-scale-mode-xsmall`,Sn=`${F}-scale-mode-small`,Cn=`${F}-scale-mode-medium`,Tt=`${F}-scale-mode-large`,xn=`${F}-scale-mode-xlarge`,Pn=`${F}-scale-mode-xxlarge`,vn=`${F}-scale-mode-xxxlarge`,Tn=vt,Rn=Tt,Fn=`--${F}-font-icons`,wn=`--${F}-font-sans`,Mn=`--${F}-font-sans-beta`,En=`--${F}-font-sans-condensed`,An=`--${F}-font-serif-display`,kn=`--${F}-font-serif-text`;var Fe="system",we="system",he="light",ye="large",zn=!1,Hn="\u{1F1FA}\u{1F1F8} US";function _n(o){return Object.entries(o)}import{createContext as Wt,memo as zt,useContext as Io,useMemo as Ht}from"react";import{textVariants as Rt}from"@yahoo/uds/fixtures";function De(o,t){return Object.keys(o).reduce((r,n,i)=>(r[n]=t(o[n],n,i),r),{})}function Bo({spectrum:o,palette:t}){let r=De(o,i=>De(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=De(t,i=>Object.entries(i).reduce((a,[f,{hue:e,step:s,opacity:u}])=>{let l=o[e][s],d=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[f]:d}},{}));return{spectrum:r,palette:n}}function _o({colorMode:o,...t}){return{...t,colorMode:{light:Bo(o.light),dark:Bo(o.dark)}}}function po(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var M={};function co({colorMode:o,scaleMode:t},r){let{colorMode:n,scaleMode:i,fontFamily:a,...f}=_o(r),e={fontFamilyGlobal:a,...f,...n[o],...i[t]},s=Object.assign,u=function(be){return function(m){let $={};if(!be?.variants)return s($,be?.base);let{base:Ae,variants:Xe,defaultVariants:So,compoundVariants:je}=be;Ae&&s($,Ae);function xt(ke){if(ke){let{style:Re,...Ke}=ke;for(let We in Ke){let ze=Xe[We],Ye=m?.[We],Co=So?.[We],Ze=po(Ye)||po(Co);if(Ze&&Ze in ze){let Pt=ze[Ze];s($,Pt)}}Re&&s($,Re)}}if(xt(m),je&&je?.length>0)for(let ke of je){let{style:Re,...Ke}=ke;Object.entries(Ke).every(([ze,Ye])=>m?.[ze]===Ye)&&Re&&s($,Re)}return m?.style&&s($,m.style),$}},l=e.spacing.none,d=e.spacing[1],p=e.spacing[2],c=e.spacing[3],b=e.spacing[4],h=e.spacing[5],y=e.spacing[6],S=e.spacing[7],C=e.spacing[8],x=e.spacing[9],P=e.spacing[10],v=e.spacing[11],T=e.spacing[12],R=e.spacing[13],w=e.spacing[14],E=e.palette.core.accent,A=e.palette.core.alert,k=e.palette.core.brand,W=e.palette.core.positive,z=e.palette.core.warning,H=ve.white,B=ve.black,_=ve.transparent,G=e.palette.foreground.muted,U=e.palette.foreground["on-color"],X=e.palette.foreground.primary,j=e.palette.foreground.secondary,K=e.palette.foreground.tertiary,Y=e.palette.background.primary,Z=e.palette.background.secondary,O=e.palette.line.primary,D=e.palette.line.secondary,V=e.palette.line.tertiary,L=e.palette.line.muted,g=e.fontFamilyGlobal,q=g.sans.name,J=g["sans-beta"].name,Q=g["sans-condensed"].name,ee=g["serif-text"].name,oe=g["serif-display"].name,te=g[e.fontFamily.display1].name,re=g[e.fontFamily.display2].name,ne=g[e.fontFamily.display3].name,ie=g[e.fontFamily.title1].name,ae=g[e.fontFamily.title2].name,le=g[e.fontFamily.title3].name,se=g[e.fontFamily.title4].name,de=g[e.fontFamily.headline1].name,pe=g[e.fontFamily.body1].name,ce=g[e.fontFamily.label1].name,me=g[e.fontFamily.label2].name,fe=g[e.fontFamily.caption1].name,ge=g[e.fontFamily.caption2].name,ue=g[e.fontFamily.legal1].name;function Ce(xe){return!!(typeof xe=="string"&&Rt.includes(xe))}function Te({style:xe,...be}){let Ee={},m;Ce(be.fontWeight)?m=e.fontWeight[be.fontWeight]:m="regular";let $=u({variants:{color:{accent:{color:E},alert:{color:A},black:{color:B},brand:{color:k},positive:{color:W},warning:{color:z},white:{color:H},transparent:{color:_},muted:{color:G},"on-color":{color:U},primary:{color:X},secondary:{color:j},tertiary:{color:K}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${q}-${m}`},"sans-beta":{fontFamily:`${J}-${m}`},"sans-condensed":{fontFamily:`${Q}-${m}`},"serif-text":{fontFamily:`${ee}-${m}`},"serif-display":{fontFamily:`${oe}-${m}`},display1:{fontFamily:`${te}-${m}`},display2:{fontFamily:`${re}-${m}`},display3:{fontFamily:`${ne}-${m}`},title1:{fontFamily:`${ie}-${m}`},title2:{fontFamily:`${ae}-${m}`},title3:{fontFamily:`${le}-${m}`},title4:{fontFamily:`${se}-${m}`},headline1:{fontFamily:`${de}-${m}`},body1:{fontFamily:`${pe}-${m}`},label1:{fontFamily:`${ce}-${m}`},label2:{fontFamily:`${me}-${m}`},caption1:{fontFamily:`${fe}-${m}`},caption2:{fontFamily:`${ge}-${m}`},legal1:{fontFamily:`${ue}-${m}`}},fontSize:{display1:{fontSize:e.fontSize.display1},display2:{fontSize:e.fontSize.display2},display3:{fontSize:e.fontSize.display3},title1:{fontSize:e.fontSize.title1},title2:{fontSize:e.fontSize.title2},title3:{fontSize:e.fontSize.title3},title4:{fontSize:e.fontSize.title4},headline1:{fontSize:e.fontSize.headline1},body1:{fontSize:e.fontSize.body1},label1:{fontSize:e.fontSize.label1},label2:{fontSize:e.fontSize.label2},caption1:{fontSize:e.fontSize.caption1},caption2:{fontSize:e.fontSize.caption2},legal1:{fontSize:e.fontSize.legal1}},fontWeight:{display1:{fontWeight:I[e.fontWeight.display1]},display2:{fontWeight:I[e.fontWeight.display2]},display3:{fontWeight:I[e.fontWeight.display3]},title1:{fontWeight:I[e.fontWeight.title1]},title2:{fontWeight:I[e.fontWeight.title2]},title3:{fontWeight:I[e.fontWeight.title3]},title4:{fontWeight:I[e.fontWeight.title4]},headline1:{fontWeight:I[e.fontWeight.headline1]},body1:{fontWeight:I[e.fontWeight.body1]},label1:{fontWeight:I[e.fontWeight.label1]},label2:{fontWeight:I[e.fontWeight.label2]},caption1:{fontWeight:I[e.fontWeight.caption1]},caption2:{fontWeight:I[e.fontWeight.caption2]},legal1:{fontWeight:I[e.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:e.lineHeight.display1},display2:{lineHeight:e.lineHeight.display2},display3:{lineHeight:e.lineHeight.display3},title1:{lineHeight:e.lineHeight.title1},title2:{lineHeight:e.lineHeight.title2},title3:{lineHeight:e.lineHeight.title3},title4:{lineHeight:e.lineHeight.title4},headline1:{lineHeight:e.lineHeight.headline1},body1:{lineHeight:e.lineHeight.body1},label1:{lineHeight:e.lineHeight.label1},label2:{lineHeight:e.lineHeight.label2},caption1:{lineHeight:e.lineHeight.caption1},caption2:{lineHeight:e.lineHeight.caption2},legal1:{lineHeight:e.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:E},alert:{backgroundColor:A},black:{backgroundColor:B},brand:{backgroundColor:k},positive:{backgroundColor:W},warning:{backgroundColor:z},white:{backgroundColor:H},primary:{backgroundColor:Y},secondary:{backgroundColor:Z},transparent:{backgroundColor:_}},spacing:{none:{padding:l},1:{padding:d},2:{padding:p},3:{padding:c},4:{padding:b},5:{padding:h},6:{padding:y},7:{padding:S},8:{padding:C},9:{padding:x},10:{padding:P},11:{padding:v},12:{padding:T},13:{padding:R},14:{padding:w}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:c},4:{paddingHorizontal:b},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:S},8:{paddingHorizontal:C},9:{paddingHorizontal:x},10:{paddingHorizontal:P},11:{paddingHorizontal:v},12:{paddingHorizontal:T},13:{paddingHorizontal:R},14:{paddingHorizontal:w}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:c},4:{paddingVertical:b},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:S},8:{paddingVertical:C},9:{paddingVertical:x},10:{paddingVertical:P},11:{paddingVertical:v},12:{paddingVertical:T},13:{paddingVertical:R},14:{paddingVertical:w}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:c},4:{paddingBottom:b},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:S},8:{paddingBottom:C},9:{paddingBottom:x},10:{paddingBottom:P},11:{paddingBottom:v},12:{paddingBottom:T},13:{paddingBottom:R},14:{paddingBottom:w}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:c},4:{paddingEnd:b},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:S},8:{paddingEnd:C},9:{paddingEnd:x},10:{paddingEnd:P},11:{paddingEnd:v},12:{paddingEnd:T},13:{paddingEnd:R},14:{paddingEnd:w}},spacingStart:{none:{paddingStart:l},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:c},4:{paddingStart:b},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:S},8:{paddingStart:C},9:{paddingStart:x},10:{paddingStart:P},11:{paddingStart:v},12:{paddingStart:T},13:{paddingStart:R},14:{paddingStart:w}},spacingTop:{none:{paddingTop:l},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:c},4:{paddingTop:b},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:S},8:{paddingTop:C},9:{paddingTop:x},10:{paddingTop:P},11:{paddingTop:v},12:{paddingTop:T},13:{paddingTop:R},14:{paddingTop:w}},offset:{none:{margin:-l},1:{margin:-d},2:{margin:-p},3:{margin:-c},4:{margin:-b},5:{margin:-h},6:{margin:-y},7:{margin:-S},8:{margin:-C},9:{margin:-x},10:{margin:-P},11:{margin:-v},12:{margin:-T},13:{margin:-R},14:{margin:-w}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-c},4:{marginVertical:-b},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-S},8:{marginVertical:-C},9:{marginVertical:-x},10:{marginVertical:-P},11:{marginVertical:-v},12:{marginVertical:-T},13:{marginVertical:-R},14:{marginVertical:-w}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-c},4:{marginHorizontal:-b},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-S},8:{marginHorizontal:-C},9:{marginHorizontal:-x},10:{marginHorizontal:-P},11:{marginHorizontal:-v},12:{marginHorizontal:-T},13:{marginHorizontal:-R},14:{marginHorizontal:-w}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-c},4:{marginBottom:-b},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-S},8:{marginBottom:-C},9:{marginBottom:-x},10:{marginBottom:-P},11:{marginBottom:-v},12:{marginBottom:-T},13:{marginBottom:-R},14:{marginBottom:-w}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-c},4:{marginEnd:-b},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-S},8:{marginEnd:-C},9:{marginEnd:-x},10:{marginEnd:-P},11:{marginEnd:-v},12:{marginEnd:-T},13:{marginEnd:-R},14:{marginEnd:-w}},offsetStart:{none:{marginStart:-l},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-c},4:{marginStart:-b},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-S},8:{marginStart:-C},9:{marginStart:-x},10:{marginStart:-P},11:{marginStart:-v},12:{marginStart:-T},13:{marginStart:-R},14:{marginStart:-w}},offsetTop:{none:{marginTop:-l},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-c},4:{marginTop:-b},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-S},8:{marginTop:-C},9:{marginTop:-x},10:{marginTop:-P},11:{marginTop:-v},12:{marginTop:-T},13:{marginTop:-R},14:{marginTop:-w}},columnGap:{none:{columnGap:l},1:{columnGap:d},2:{columnGap:p},3:{columnGap:c},4:{columnGap:b},5:{columnGap:h},6:{columnGap:y},7:{columnGap:S},8:{columnGap:C},9:{columnGap:x},10:{columnGap:P},11:{columnGap:v},12:{columnGap:T},13:{columnGap:R},14:{columnGap:w}},rowGap:{none:{rowGap:l},1:{rowGap:d},2:{rowGap:p},3:{rowGap:c},4:{rowGap:b},5:{rowGap:h},6:{rowGap:y},7:{rowGap:S},8:{rowGap:C},9:{rowGap:x},10:{rowGap:P},11:{rowGap:v},12:{rowGap:T},13:{rowGap:R},14:{rowGap:w}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":M,"table-cell":M,"table-column":M,"table-column-group":M,"table-footer-group":M,"table-header-group":M,"table-row-group":M,"table-row":M,"flow-root":M,grid:M,contents:M},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:M,fixed:M,absolute:{position:"absolute"},relative:{position:"relative"},sticky:M},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:M},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:M,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnActive:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnFocus:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnHover:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnChecked:{accent:{borderColor:E},alert:{borderColor:A},black:{borderColor:B},brand:{borderColor:k},positive:{borderColor:W},warning:{borderColor:z},white:{borderColor:H},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderStartColor:{accent:{borderStartColor:E},alert:{borderStartColor:A},black:{borderStartColor:B},brand:{borderStartColor:k},positive:{borderStartColor:W},warning:{borderStartColor:z},white:{borderStartColor:H},transparent:{borderStartColor:_},muted:{borderStartColor:L},primary:{borderStartColor:O},secondary:{borderStartColor:D},tertiary:{borderStartColor:V}},borderEndColor:{accent:{borderEndColor:E},alert:{borderEndColor:A},black:{borderEndColor:B},brand:{borderEndColor:k},positive:{borderEndColor:W},warning:{borderEndColor:z},white:{borderEndColor:H},transparent:{borderEndColor:_},muted:{borderEndColor:L},primary:{borderEndColor:O},secondary:{borderEndColor:D},tertiary:{borderEndColor:V}},borderBottomColor:{accent:{borderBottomColor:E},alert:{borderBottomColor:A},black:{borderBottomColor:B},brand:{borderBottomColor:k},positive:{borderBottomColor:W},warning:{borderBottomColor:z},white:{borderBottomColor:H},transparent:{borderBottomColor:_},muted:{borderBottomColor:L},primary:{borderBottomColor:O},secondary:{borderBottomColor:D},tertiary:{borderBottomColor:V}},borderTopColor:{accent:{borderTopColor:E},alert:{borderTopColor:A},black:{borderTopColor:B},brand:{borderTopColor:k},positive:{borderTopColor:W},warning:{borderTopColor:z},white:{borderTopColor:H},transparent:{borderTopColor:_},muted:{borderTopColor:L},primary:{borderTopColor:O},secondary:{borderTopColor:D},tertiary:{borderTopColor:V}},borderRadius:{none:{borderRadius:e.borderRadius.none},xs:{borderRadius:e.borderRadius.xs},sm:{borderRadius:e.borderRadius.sm},md:{borderRadius:e.borderRadius.md},lg:{borderRadius:e.borderRadius.lg},xl:{borderRadius:e.borderRadius.xl},full:{borderRadius:e.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:e.borderRadius.none},xs:{borderTopStartRadius:e.borderRadius.xs},sm:{borderTopStartRadius:e.borderRadius.sm},md:{borderTopStartRadius:e.borderRadius.md},lg:{borderTopStartRadius:e.borderRadius.lg},xl:{borderTopStartRadius:e.borderRadius.xl},full:{borderTopStartRadius:e.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:e.borderRadius.none},xs:{borderTopEndRadius:e.borderRadius.xs},sm:{borderTopEndRadius:e.borderRadius.sm},md:{borderTopEndRadius:e.borderRadius.md},lg:{borderTopEndRadius:e.borderRadius.lg},xl:{borderTopEndRadius:e.borderRadius.xl},full:{borderTopEndRadius:e.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:e.borderRadius.none},xs:{borderBottomStartRadius:e.borderRadius.xs},sm:{borderBottomStartRadius:e.borderRadius.sm},md:{borderBottomStartRadius:e.borderRadius.md},lg:{borderBottomStartRadius:e.borderRadius.lg},xl:{borderBottomStartRadius:e.borderRadius.xl},full:{borderBottomStartRadius:e.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:e.borderRadius.none},xs:{borderBottomEndRadius:e.borderRadius.xs},sm:{borderBottomEndRadius:e.borderRadius.sm},md:{borderBottomEndRadius:e.borderRadius.md},lg:{borderBottomEndRadius:e.borderRadius.lg},xl:{borderBottomEndRadius:e.borderRadius.xl},full:{borderBottomEndRadius:e.borderRadius.full}},borderWidth:{none:{borderWidth:e.borderWidth.none},thin:{borderWidth:e.borderWidth.thin},medium:{borderWidth:e.borderWidth.medium},thick:{borderWidth:e.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:e.borderWidth.none,borderBottomWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin,borderBottomWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium,borderBottomWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick,borderBottomWidth:e.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:e.borderWidth.none,borderEndWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin,borderEndWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium,borderEndWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick,borderEndWidth:e.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:e.borderWidth.none},thin:{borderEndWidth:e.borderWidth.thin},medium:{borderEndWidth:e.borderWidth.medium},thick:{borderEndWidth:e.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:e.borderWidth.none},thin:{borderBottomWidth:e.borderWidth.thin},medium:{borderBottomWidth:e.borderWidth.medium},thick:{borderBottomWidth:e.borderWidth.thick}},contentFit:{contain:M,cover:M,fill:M,none:M,"scale-down":M},textTransform:{display1:{textTransform:e.textTransform.display1},display2:{textTransform:e.textTransform.display2},display3:{textTransform:e.textTransform.display3},title1:{textTransform:e.textTransform.title1},title2:{textTransform:e.textTransform.title2},title3:{textTransform:e.textTransform.title3},title4:{textTransform:e.textTransform.title4},headline1:{textTransform:e.textTransform.headline1},body1:{textTransform:e.textTransform.body1},label1:{textTransform:e.textTransform.label1},label2:{textTransform:e.textTransform.label2},caption1:{textTransform:e.textTransform.caption1},caption2:{textTransform:e.textTransform.caption2},legal1:{textTransform:e.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(be);return s(Ee,$,xe)}return{cva:u,getStyles:Te,tokens:e}}var mo=co({colorMode:he,scaleMode:ye},Oe);import{createContext as Ft,useContext as wt}from"react";import{jsx as Mt}from"react/jsx-runtime";var Oo=Ft(he);function Ve(){return wt(Oo)}function Do({value:o=he,children:t}){return Mt(Oo.Provider,{value:o,children:t})}import{createContext as Et,useContext as At}from"react";import{jsx as kt}from"react/jsx-runtime";var Vo=Et(ye);function fo(){let o=At(Vo);return o||ye}function Lo({value:o,children:t}){let r=fo();return kt(Vo.Provider,{value:o??r,children:t})}import{jsx as Bt}from"react/jsx-runtime";var go=Wt(mo),No=zt(function({children:t,value:r=Oe}){let n=Ve(),i=fo(),a=Ht(()=>r===void 0&&n===he&&i===ye?mo:co({colorMode:n,scaleMode:i},r),[n,i,r]);return Bt(go.Provider,{value:a,children:t})});function N(o){let{getStyles:t}=Io(go);return t(o)}function $o(){return Io(go).tokens}import{Children as Me,cloneElement as Uo,forwardRef as Xo,isValidElement as Le}from"react";function _t(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function Go(...o){return t=>o.forEach(r=>_t(r,t))}import{jsx as jo}from"react/jsx-runtime";function Ie(){let o=Xo((a,f)=>{let{children:e,...s}=a,u=Me.toArray(e),l=u.find(n);if(l){let d=l.props.children,p=u.map(c=>c===l?Me.count(d)>1?Me.only(null):Le(d)?d.props.children:null:c);return jo(t,{...s,ref:f,children:Le(d)?Uo(d,void 0,p):null})}return jo(t,{...s,ref:f,children:e})});o.displayName="Slot";let t=Xo((a,f)=>{let{children:e,...s}=a;return Le(e)?Uo(e,{...i(s,e.props),ref:f?Go(f,e.ref):e.ref}):Me.count(e)>1?Me.only(null):null});t.displayName="SlotClone";let r=({children:a})=>a;function n(a){return Le(a)&&a.type===r}function i(a,f){let e={...f};for(let s in f){let u=a[s],l=f[s];/^on[A-Z]/.test(s)?u&&l?e[s]=(...p)=>{l(...p),u(...p)}:u&&(e[s]=u):s==="style"&&(e[s]={...u,...l})}return{...a,...e}}return o}var Ko="RCTView",Ne="RCTText",Yo=Ie(),$e=Ie(),Zo=Ie();import{jsx as Dt}from"react/jsx-runtime";var Ge=Ot(function({asChild:t=!1,style:r,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A="stretch",alignSelf:k,flex:W,flexBasis:z,flexDirection:H="column",flexGrow:B,flexShrink:_,flexWrap:G="nowrap",justifyContent:U="flex-start",display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,...ge},ue){let Ce=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,flexBasis:z,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,style:r});return Dt(t?Yo:Ko,{ref:ue,style:Ce,...ge})});import{forwardRef as Vt}from"react";import{jsx as Lt}from"react/jsx-runtime";var _i=Vt(function({gap:t,...r},n){return Lt(Ge,{ref:n,flexDirection:"row",rowGap:t,columnGap:t,...r})});import{forwardRef as It}from"react";import{jsx as Nt}from"react/jsx-runtime";var qo=It(function({style:t,asChild:r=!1,size:n,color:i,name:a,textAlign:f,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:h,offsetEnd:y,offsetHorizontal:S,offsetStart:C,offsetTop:x,offsetVertical:P,...v},T){let R=N({color:i,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:h,offsetEnd:y,offsetHorizontal:S,offsetStart:C,offsetTop:x,offsetVertical:P,iconSize:n,style:t});return Nt(r?$e:Ne,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...v,children:a})});import{forwardRef as Xt}from"react";var uo={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 Jo({variant:o="accent",size:t="s"}){let{color:r,...n}=uo.variant[o],{variant:i,...a}=uo.size[t];return{pressable:{...uo.base,...n,...a},text:{color:r,variant:i,textAlign:"center"},icon:{color:r,size:"sm"}}}import{forwardRef as $t}from"react";import{Pressable as Gt}from"react-native";import{jsx as Ut}from"react/jsx-runtime";var Qo=$t(function({style:t,asChild:r=!1,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexBasis:z,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,...ge},ue){let Ce=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:h,borderTopColor:y,borderBottomColor:S,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:w,alignContent:E,alignItems:A,alignSelf:k,flex:W,flexDirection:H,flexGrow:B,flexShrink:_,flexWrap:G,justifyContent:U,flexBasis:z,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:se,minHeight:de,maxHeight:pe,width:ce,minWidth:me,maxWidth:fe,style:t});return Ut(r?Zo:Gt,{style:Ce,ref:ue,...ge})});import{jsx as ot}from"react/jsx-runtime";var et={s:36,m:48,l:64},jt={},oa=Xt(function({variant:t="accent",size:r="s",name:n,style:i=jt,...a},f){let e=Jo({variant:t,size:r});return ot(Qo,{ref:f,...e.pressable,flexShrink:"0",style:{...i,width:et[r],height:et[r]},...a,children:ot(qo,{name:n,...e.icon})})});import{Image as Kt}from"expo-image";import{jsx as Yt}from"react/jsx-runtime";function aa({width:o,height:t,src:r,alt:n,contentFit:i="cover",backgroundColor:a,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:h,borderStartColor:y,borderEndColor:S,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:w,borderTopWidth:E,borderBottomWidth:A,alignContent:k,alignItems:W,alignSelf:z,flex:H,flexDirection:B,flexGrow:_,flexShrink:G="0",flexWrap:U,justifyContent:X,flexBasis:j,display:K="flex",overflow:Y,overflowX:Z,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:se,rowGap:de,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:fe,...ge}){let ue=N({contentFit:i,backgroundColor:a,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:h,borderStartColor:y,borderEndColor:S,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:w,borderTopWidth:E,borderBottomWidth:A,alignContent:k,alignItems:W,alignSelf:z,flex:H,flexDirection:B,flexGrow:_,flexShrink:G,flexWrap:U,justifyContent:X,flexBasis:j,display:K,overflow:Y,overflowX:Z,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:se,rowGap:de,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:fe,style:{width:o,height:t,justifyContent:"flex-start"}});return Yt(Kt,{source:r,alt:n,style:ue,contentFit:i,contentPosition:"left",...ge})}import{forwardRef as Zt}from"react";import{jsx as qt}from"react/jsx-runtime";var ma=Zt(function({style:t,asChild:r,color:n="primary",variant:i="body1",fontSize:a=i,fontFamily:f=i,fontWeight:e=i,lineHeight:s=i,textTransform:u=i,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:h,borderBottomEndRadius:y,borderColor:S,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:w,borderBottomColor:E,borderWidth:A,borderVerticalWidth:k,borderHorizontalWidth:W,borderStartWidth:z,borderEndWidth:H,borderTopWidth:B,borderBottomWidth:_,alignContent:G,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:se,offsetHorizontal:de,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:ue,height:Ce,minHeight:Te,maxHeight:xe,width:be,minWidth:Ee,maxWidth:m,...$},Ae){let Xe=N({style:t,color:n,fontFamily:f,fontSize:a,fontWeight:e,lineHeight:s,textTransform:u,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:h,borderBottomEndRadius:y,borderColor:S,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:w,borderBottomColor:E,borderWidth:A,borderVerticalWidth:k,borderHorizontalWidth:W,borderStartWidth:z,borderEndWidth:H,borderTopWidth:B,borderBottomWidth:_,alignContent:G,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:se,offsetHorizontal:de,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:fe,columnGap:ge,rowGap:ue,height:Ce,minHeight:Te,maxHeight:xe,width:be,minWidth:Ee,maxWidth:m});return qt(r?$e:Ne,{style:Xe,ref:Ae,maxFontSizeMultiplier:1,allowFontScaling:!1,...$})});import{forwardRef as Jt}from"react";import{jsx as Qt}from"react/jsx-runtime";var ha=Jt(function({gap:t,...r},n){return Qt(Ge,{ref:n,flexDirection:"column",columnGap:t,rowGap:t,...r})});import{useScrollToTop as lr}from"@react-navigation/native";import{forwardRef as sr,useMemo as dr,useRef as pr}from"react";import{ScrollView as cr}from"react-native";import{useMemo as er}from"react";var or=(o,t)=>{typeof o=="function"?o(t):o&&(o.current=t)},tt=(...o)=>er(()=>o.every(t=>t==null)?null:t=>{o.forEach(r=>{or(r,t)})},[o]);import rt from"expo-constants";import{createContext as tr,useContext as rr,useMemo as nr}from"react";import{useSafeAreaInsets as ir}from"react-native-safe-area-context";import{jsx as ar}from"react/jsx-runtime";var nt=tr({tabBarHeight:0,statusBarHeight:rt.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function it(){return rr(nt)}function at({children:o}){let t=ir(),r=$o(),n=nr(()=>({tabBarHeight:r.spacing[5]+r.iconSizes.md+r.spacing[3]+r.lineHeight.caption1+r.spacing[5]+t.bottom,statusBarHeight:rt.statusBarHeight,safeAreaInsets:t}),[r.spacing,r.iconSizes,r.lineHeight,t]);return ar(nt.Provider,{value:n,children:o})}import{jsx as mr}from"react/jsx-runtime";var Ba=sr(function({children:t,...r},n){let i=Ve(),a=pr(null),f=tt(a,n);lr(a);let{tabBarHeight:e,safeAreaInsets:s}=it(),u=N({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=dr(()=>({paddingTop:s.top,paddingBottom:e}),[s.top,e]);return mr(cr,{ref:f,style:u,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:i==="dark"?"black":"white",...r,children:t})});import{useCallback as fr,useEffect as gr,useState as ur}from"react";import{AppState as lt}from"react-native";function Ue(){let[o,t]=ur(lt.currentState),r=fr(n=>{t(n)},[]);return gr(()=>{let n=lt.addEventListener("change",r);return()=>{n.remove()}},[r]),o}import{useEffect as br,useRef as hr,useState as yr}from"react";import{PixelRatio as bo}from"react-native";var st=()=>{let[o,t]=yr(bo.getFontScale()),r=hr(bo.getFontScale()),n=Ue();return br(()=>{if(n==="active"){let i=bo.getFontScale();r.current!==i&&(t(i),r.current=i)}},[n]),o};import{setStatusBarStyle as Mr}from"expo-status-bar";import{createContext as ft,useContext as Er,useEffect as mt,useState as Ar}from"react";import{createContext as Sr,useContext as Cr,useEffect as xr,useState as Pr}from"react";import{Appearance as vr,Platform as Tr,useColorScheme as Rr}from"react-native";import{jsx as wr}from"react/jsx-runtime";var dt=Sr(he);function pt(){return Cr(dt)}function Fr(){let o=Ue(),t=Rr(),[r,n]=Pr(t),i=Tr.OS==="android";return xr(()=>{if(o==="active"){if(i){let a=vr.getColorScheme();n(a);return}n(t)}},[t,o,i]),r??"light"}function ct({children:o}){let t=Fr();return wr(dt.Provider,{value:t,children:o})}import{jsx as ho}from"react/jsx-runtime";var kr=()=>{},gt=ft(Fe),Wr=ft(kr);function tl(){return Er(gt)}function ut({children:o,value:t=Fe}){let[r,n]=Ar(t),i=pt(),a=r==="system"?i:r;return mt(()=>{Mr(a==="light"?"dark":"light")},[a]),mt(()=>{n(t)},[t]),ho(gt.Provider,{value:r,children:ho(Wr.Provider,{value:n,children:ho(Do,{value:a,children:o})})})}import{createContext as St,useState as Dr}from"react";import{createContext as zr,useContext as Hr,useMemo as Br}from"react";import{jsx as Or}from"react/jsx-runtime";var bt=zr(ye),Pe={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function ht(){return Hr(bt)}function _r(){let o=st();return Br(()=>o<=Pe.xSmall?"xSmall":o<=Pe.small?"small":o<=Pe.medium?"medium":o<=Pe.large?"large":o<=Pe.xLarge?"xLarge":o<=Pe.xxLarge?"xxLarge":o>=Pe.xxxLarge?"xxxLarge":"large",[o])}function yt({children:o}){let t=_r();return Or(bt.Provider,{value:t,children:o})}import{jsx as yo}from"react/jsx-runtime";var Vr=()=>{},Lr=St(we),Ir=St(Vr);function Ct({children:o,value:t=we}){let[r,n]=Dr(t),i=ht(),a=r==="system"?i:r;return yo(Lr.Provider,{value:r,children:yo(Ir.Provider,{value:n,children:yo(Lo,{value:a,children:o})})})}import{BottomSheetModalProvider as Nr}from"@gorhom/bottom-sheet";import{SafeAreaProvider as $r}from"react-native-safe-area-context";import{jsx as Se}from"react/jsx-runtime";function Rl({children:o,colorModeForApp:t=Fe,scaleModeForApp:r=we,config:n}){return Se($r,{children:Se(ct,{children:Se(ut,{value:t,children:Se(yt,{children:Se(Ct,{value:r,children:Se(No,{value:n,children:Se(at,{children:Se(Nr,{children:o})})})})})})})})}export{dn as AVATAR_SIZE_PREFIX,pn as BORDER_RADIUS_PREFIX,cn as BORDER_WIDTH_PREFIX,Ge as Box,Oo as ColorModeContext,gt as ColorModeForAppContext,Wr as ColorModeForAppContextUpdater,ut as ColorModeForAppProvider,dt as ColorModeForDeviceContext,ct as ColorModeForDeviceProvider,Do as ColorModeProvider,nt as ComputedTokensContext,at as ComputedTokensProvider,hn as DARK_COLOR_MODE_CLASSNAME,he as DEFAULT_COLOR_MODE,Tn as DEFAULT_COLOR_MODE_CLASSNAME,Fe as DEFAULT_COLOR_MODE_FOR_APP,zn as DEFAULT_HIGH_CONTRAST_MODE,Hn as DEFAULT_REGION_MODE,ye as DEFAULT_SCALE_MODE,Rn as DEFAULT_SCALE_MODE_CLASSNAME,we as DEFAULT_SCALE_MODE_FOR_APP,mo as DEFAULT_STYLER,ln as FONT_FAMILY_PREFIX,Fn as FONT_ICONS_CSS_VAR,Mn as FONT_SANS_BETA_CSS_VAR,En as FONT_SANS_CONDENSED_CSS_VAR,wn as FONT_SANS_CSS_VAR,An as FONT_SERIF_DISPLAY_CSS_VAR,kn as FONT_SERIF_TEXT_CSS_VAR,fn as FONT_SIZE_PREFIX,un as FONT_WEIGHT_PREFIX,_i as HStack,sn as ICON_SIZE_PREFIX,qo as Icon,oa as IconButton,aa as Image,Tt as LARGE_SCALE_MODE_CLASSNAME,vt as LIGHT_COLOR_MODE_CLASSNAME,gn as LINE_HEIGHT_PREFIX,Cn as MEDIUM_SCALE_MODE_CLASSNAME,Qo as Pressable,Sn as SMALL_SCALE_MODE_CLASSNAME,mn as SPACING_PREFIX,an as SPECTRUM_COLOR_PREFIX,Vo as ScaleModeContext,Lr as ScaleModeForAppContext,Ct as ScaleModeForAppProvider,Ir as ScaleModeForAppUpdaterContext,bt as ScaleModeForDeviceContext,yt as ScaleModeForDeviceProvider,Lo as ScaleModeProvider,Ba as Screen,No as StyleProvider,bn as TEXT_TRANSFORM_PREFIX,ma as Text,Rl as ThemeProvider,F as UDS_PREFIX,ha as VStack,xn as XLARGE_SCALE_MODE_CLASSNAME,yn as XSMALL_SCALE_MODE_CLASSNAME,Pn as XXLARGE_SCALE_MODE_CLASSNAME,vn as XXXLARGE_SCALE_MODE_CLASSNAME,ve as alwaysPalette,co as createStyler,Oe as defaultTokensConfig,_n as entries,Qe as fontFamilyGlobal,I as fontWeightMap,Ue as useAppState,Ve as useColorMode,tl as useColorModeForApp,pt as useColorModeForDevice,it as useComputedTokens,st as useDeviceFontScale,fo as useScaleMode,ht as useScaleModeForDevice,N as useStyles,$o as useTokens};
1
+ import{forwardRef as Ot}from"react";var ho={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},Co={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var xo={none:0,thin:1,medium:2,thick:2},Po={none:0,thin:1,medium:2,thick:4};var vo={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},To={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Se={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ke={s:16,m:24,l:32},Ro=Ke,Ye={sm:16,md:24,lg:32},Fo=Ye;var Mo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},Eo={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var wo={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Ao={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var Fe=["Helvetica Neue","Helvetica","Arial","sans-serif"],ko=["Georgia","Times","Times New Roman","serif"],Ze={icons:{fallbacks:Fe,name:"yahoo-icons"},sans:{fallbacks:Fe,name:"yahoo-sans"},"sans-beta":{fallbacks:Fe,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Fe,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:ko,name:"yahoo-serif-text"},"serif-display":{fallbacks:ko,name:"yahoo-serif-display"}},qe={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},I={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Je={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},Qe={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},eo={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},oo={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...eo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Me={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...oo.lineHeight,title2:36,title3:32}},to={fontSize:{...Me.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Me.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},ro={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...to.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},no={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...ro.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Wo={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...no.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var io={fontFamily:qe,fontWeight:Je,textTransform:Qe,avatarSizes:Ke,iconSizes:Ye,borderRadius:ho,borderWidth:xo,spacing:Mo},Ee={fontFamily:qe,fontWeight:Je,textTransform:Qe,avatarSizes:Ro,iconSizes:Fo,borderRadius:Co,borderWidth:Po,spacing:Eo},we={colorMode:{light:{palette:vo,spectrum:wo},dark:{palette:To,spectrum:Ao}},scaleMode:{xSmall:{...io,...eo},small:{...io,...oo},medium:{...io,...Me},large:{...Ee,...to},xLarge:{...Ee,...ro},xxLarge:{...Ee,...no},xxxLarge:{...Ee,...Wo}},fontFamily:Ze};var F="uds",an=`${F}-spectrum-color`,ln=`${F}-font`,sn=`${F}-icon-size`,dn=`${F}-avatar-size`,pn=`${F}-border-radius`,cn=`${F}-border-width`,mn=`${F}-spacing`,fn=`${F}-font-size`,gn=`${F}-line-height`,un=`${F}-font-weight`,bn=`${F}-text-transform`,yn=`${F}-color-mode-dark`,vt=`${F}-color-mode-light`,Sn=`${F}-scale-mode-xsmall`,hn=`${F}-scale-mode-small`,Cn=`${F}-scale-mode-medium`,Tt=`${F}-scale-mode-large`,xn=`${F}-scale-mode-xlarge`,Pn=`${F}-scale-mode-xxlarge`,vn=`${F}-scale-mode-xxxlarge`,Tn=vt,Rn=Tt,Fn=`--${F}-font-icons`,Mn=`--${F}-font-sans`,En=`--${F}-font-sans-beta`,wn=`--${F}-font-sans-condensed`,An=`--${F}-font-serif-display`,kn=`--${F}-font-serif-text`;var Ce="system",xe="system",ce="light",me="large",zn=!1,Bn="\u{1F1FA}\u{1F1F8} US";function Hn(o){return Object.entries(o)}function Dn(o){return Object.fromEntries(o)}function Ae(o,t){return Object.keys(o).reduce((r,n,i)=>(r[n]=t(o[n],n,i),r),{})}import{createContext as Wt,memo as zt,useContext as Vo,useMemo as Bt}from"react";import{textVariants as Rt}from"@yahoo/uds/fixtures";function zo({spectrum:o,palette:t}){let r=Ae(o,i=>Ae(i,a=>`rgb(${a.replaceAll(" ",",")})`)),n=Ae(t,i=>Object.entries(i).reduce((a,[m,{hue:e,step:s,opacity:u}])=>{let l=o[e][s],d=u?`rgb(${l.replaceAll(" ",",")} / ${u})`:`rgb(${l.replaceAll(" ",",")})`;return{...a,[m]:d}},{}));return{spectrum:r,palette:n}}function Bo({colorMode:o,...t}){return{...t,colorMode:{light:zo(o.light),dark:zo(o.dark)}}}function ao(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var H={};function lo({colorMode:o,scaleMode:t},r){let{colorMode:n,scaleMode:i,fontFamily:a,...m}=Bo(r),e={fontFamilyGlobal:a,...m,...n[o],...i[t]},s=Object.assign,u=function(fe){return function(g){let pe={};if(!fe?.variants)return s(pe,fe?.base);let{base:yo,variants:ht,defaultVariants:Ct,compoundVariants:Ge}=fe;yo&&s(pe,yo);function xt(ve){if(ve){let{style:he,...Ue}=ve;for(let Te in Ue){let Re=ht[Te],Xe=g?.[Te],So=Ct?.[Te],je=ao(Xe)||ao(So);if(je&&je in Re){let Pt=Re[je];s(pe,Pt)}}he&&s(pe,he)}}if(xt(g),Ge&&Ge?.length>0)for(let ve of Ge){let{style:he,...Ue}=ve;Object.entries(Ue).every(([Re,Xe])=>g?.[Re]===Xe)&&he&&s(pe,he)}return g?.style&&s(pe,g.style),pe}},l=e.spacing.none,d=e.spacing[1],p=e.spacing[2],c=e.spacing[3],b=e.spacing[4],y=e.spacing[5],S=e.spacing[6],h=e.spacing[7],C=e.spacing[8],x=e.spacing[9],P=e.spacing[10],v=e.spacing[11],T=e.spacing[12],R=e.spacing[13],M=e.spacing[14],E=e.palette.core.accent,w=e.palette.core.alert,A=e.palette.core.brand,k=e.palette.core.positive,W=e.palette.core.warning,z=Se.white,B=Se.black,_=Se.transparent,$=e.palette.foreground.muted,G=e.palette.foreground["on-color"],U=e.palette.foreground.primary,X=e.palette.foreground.secondary,j=e.palette.foreground.tertiary,K=e.palette.background.primary,Y=e.palette.background.secondary,O=e.palette.line.primary,D=e.palette.line.secondary,V=e.palette.line.tertiary,L=e.palette.line.muted,f=e.fontFamilyGlobal,Z=f.sans.name,q=f["sans-beta"].name,J=f["sans-condensed"].name,Q=f["serif-text"].name,ee=f["serif-display"].name,oe=f[e.fontFamily.display1].name,te=f[e.fontFamily.display2].name,re=f[e.fontFamily.display3].name,ne=f[e.fontFamily.title1].name,ie=f[e.fontFamily.title2].name,ae=f[e.fontFamily.title3].name,le=f[e.fontFamily.title4].name,se=f[e.fontFamily.headline1].name,de=f[e.fontFamily.body1].name,ue=f[e.fontFamily.label1].name,De=f[e.fontFamily.label2].name,Ve=f[e.fontFamily.caption1].name,Le=f[e.fontFamily.caption2].name,Ie=f[e.fontFamily.legal1].name;function Ne(be){return!!(typeof be=="string"&&Rt.includes(be))}function $e({style:be,...fe}){let bo={},g;Ne(fe.fontWeight)?g=e.fontWeight[fe.fontWeight]:g="regular";let pe=u({variants:{color:{accent:{color:E},alert:{color:w},black:{color:B},brand:{color:A},positive:{color:k},warning:{color:W},white:{color:z},transparent:{color:_},muted:{color:$},"on-color":{color:G},primary:{color:U},secondary:{color:X},tertiary:{color:j}},fontFamily:{icons:{fontFamily:f.icons.name},sans:{fontFamily:`${Z}-${g}`},"sans-beta":{fontFamily:`${q}-${g}`},"sans-condensed":{fontFamily:`${J}-${g}`},"serif-text":{fontFamily:`${Q}-${g}`},"serif-display":{fontFamily:`${ee}-${g}`},display1:{fontFamily:`${oe}-${g}`},display2:{fontFamily:`${te}-${g}`},display3:{fontFamily:`${re}-${g}`},title1:{fontFamily:`${ne}-${g}`},title2:{fontFamily:`${ie}-${g}`},title3:{fontFamily:`${ae}-${g}`},title4:{fontFamily:`${le}-${g}`},headline1:{fontFamily:`${se}-${g}`},body1:{fontFamily:`${de}-${g}`},label1:{fontFamily:`${ue}-${g}`},label2:{fontFamily:`${De}-${g}`},caption1:{fontFamily:`${Ve}-${g}`},caption2:{fontFamily:`${Le}-${g}`},legal1:{fontFamily:`${Ie}-${g}`}},fontSize:{display1:{fontSize:e.fontSize.display1},display2:{fontSize:e.fontSize.display2},display3:{fontSize:e.fontSize.display3},title1:{fontSize:e.fontSize.title1},title2:{fontSize:e.fontSize.title2},title3:{fontSize:e.fontSize.title3},title4:{fontSize:e.fontSize.title4},headline1:{fontSize:e.fontSize.headline1},body1:{fontSize:e.fontSize.body1},label1:{fontSize:e.fontSize.label1},label2:{fontSize:e.fontSize.label2},caption1:{fontSize:e.fontSize.caption1},caption2:{fontSize:e.fontSize.caption2},legal1:{fontSize:e.fontSize.legal1}},fontWeight:{display1:{fontWeight:I[e.fontWeight.display1]},display2:{fontWeight:I[e.fontWeight.display2]},display3:{fontWeight:I[e.fontWeight.display3]},title1:{fontWeight:I[e.fontWeight.title1]},title2:{fontWeight:I[e.fontWeight.title2]},title3:{fontWeight:I[e.fontWeight.title3]},title4:{fontWeight:I[e.fontWeight.title4]},headline1:{fontWeight:I[e.fontWeight.headline1]},body1:{fontWeight:I[e.fontWeight.body1]},label1:{fontWeight:I[e.fontWeight.label1]},label2:{fontWeight:I[e.fontWeight.label2]},caption1:{fontWeight:I[e.fontWeight.caption1]},caption2:{fontWeight:I[e.fontWeight.caption2]},legal1:{fontWeight:I[e.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:e.lineHeight.display1},display2:{lineHeight:e.lineHeight.display2},display3:{lineHeight:e.lineHeight.display3},title1:{lineHeight:e.lineHeight.title1},title2:{lineHeight:e.lineHeight.title2},title3:{lineHeight:e.lineHeight.title3},title4:{lineHeight:e.lineHeight.title4},headline1:{lineHeight:e.lineHeight.headline1},body1:{lineHeight:e.lineHeight.body1},label1:{lineHeight:e.lineHeight.label1},label2:{lineHeight:e.lineHeight.label2},caption1:{lineHeight:e.lineHeight.caption1},caption2:{lineHeight:e.lineHeight.caption2},legal1:{lineHeight:e.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:E},alert:{backgroundColor:w},black:{backgroundColor:B},brand:{backgroundColor:A},positive:{backgroundColor:k},warning:{backgroundColor:W},white:{backgroundColor:z},primary:{backgroundColor:K},secondary:{backgroundColor:Y},transparent:{backgroundColor:_}},spacing:{none:{padding:l},1:{padding:d},2:{padding:p},3:{padding:c},4:{padding:b},5:{padding:y},6:{padding:S},7:{padding:h},8:{padding:C},9:{padding:x},10:{padding:P},11:{padding:v},12:{padding:T},13:{padding:R},14:{padding:M}},spacingHorizontal:{none:{paddingHorizontal:l},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:c},4:{paddingHorizontal:b},5:{paddingHorizontal:y},6:{paddingHorizontal:S},7:{paddingHorizontal:h},8:{paddingHorizontal:C},9:{paddingHorizontal:x},10:{paddingHorizontal:P},11:{paddingHorizontal:v},12:{paddingHorizontal:T},13:{paddingHorizontal:R},14:{paddingHorizontal:M}},spacingVertical:{none:{paddingVertical:l},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:c},4:{paddingVertical:b},5:{paddingVertical:y},6:{paddingVertical:S},7:{paddingVertical:h},8:{paddingVertical:C},9:{paddingVertical:x},10:{paddingVertical:P},11:{paddingVertical:v},12:{paddingVertical:T},13:{paddingVertical:R},14:{paddingVertical:M}},spacingBottom:{none:{paddingBottom:l},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:c},4:{paddingBottom:b},5:{paddingBottom:y},6:{paddingBottom:S},7:{paddingBottom:h},8:{paddingBottom:C},9:{paddingBottom:x},10:{paddingBottom:P},11:{paddingBottom:v},12:{paddingBottom:T},13:{paddingBottom:R},14:{paddingBottom:M}},spacingEnd:{none:{paddingEnd:l},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:c},4:{paddingEnd:b},5:{paddingEnd:y},6:{paddingEnd:S},7:{paddingEnd:h},8:{paddingEnd:C},9:{paddingEnd:x},10:{paddingEnd:P},11:{paddingEnd:v},12:{paddingEnd:T},13:{paddingEnd:R},14:{paddingEnd:M}},spacingStart:{none:{paddingStart:l},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:c},4:{paddingStart:b},5:{paddingStart:y},6:{paddingStart:S},7:{paddingStart:h},8:{paddingStart:C},9:{paddingStart:x},10:{paddingStart:P},11:{paddingStart:v},12:{paddingStart:T},13:{paddingStart:R},14:{paddingStart:M}},spacingTop:{none:{paddingTop:l},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:c},4:{paddingTop:b},5:{paddingTop:y},6:{paddingTop:S},7:{paddingTop:h},8:{paddingTop:C},9:{paddingTop:x},10:{paddingTop:P},11:{paddingTop:v},12:{paddingTop:T},13:{paddingTop:R},14:{paddingTop:M}},offset:{none:{margin:-l},1:{margin:-d},2:{margin:-p},3:{margin:-c},4:{margin:-b},5:{margin:-y},6:{margin:-S},7:{margin:-h},8:{margin:-C},9:{margin:-x},10:{margin:-P},11:{margin:-v},12:{margin:-T},13:{margin:-R},14:{margin:-M}},offsetVertical:{none:{marginVertical:-l},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-c},4:{marginVertical:-b},5:{marginVertical:-y},6:{marginVertical:-S},7:{marginVertical:-h},8:{marginVertical:-C},9:{marginVertical:-x},10:{marginVertical:-P},11:{marginVertical:-v},12:{marginVertical:-T},13:{marginVertical:-R},14:{marginVertical:-M}},offsetHorizontal:{none:{marginHorizontal:-l},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-c},4:{marginHorizontal:-b},5:{marginHorizontal:-y},6:{marginHorizontal:-S},7:{marginHorizontal:-h},8:{marginHorizontal:-C},9:{marginHorizontal:-x},10:{marginHorizontal:-P},11:{marginHorizontal:-v},12:{marginHorizontal:-T},13:{marginHorizontal:-R},14:{marginHorizontal:-M}},offsetBottom:{none:{marginBottom:-l},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-c},4:{marginBottom:-b},5:{marginBottom:-y},6:{marginBottom:-S},7:{marginBottom:-h},8:{marginBottom:-C},9:{marginBottom:-x},10:{marginBottom:-P},11:{marginBottom:-v},12:{marginBottom:-T},13:{marginBottom:-R},14:{marginBottom:-M}},offsetEnd:{none:{marginEnd:-l},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-c},4:{marginEnd:-b},5:{marginEnd:-y},6:{marginEnd:-S},7:{marginEnd:-h},8:{marginEnd:-C},9:{marginEnd:-x},10:{marginEnd:-P},11:{marginEnd:-v},12:{marginEnd:-T},13:{marginEnd:-R},14:{marginEnd:-M}},offsetStart:{none:{marginStart:-l},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-c},4:{marginStart:-b},5:{marginStart:-y},6:{marginStart:-S},7:{marginStart:-h},8:{marginStart:-C},9:{marginStart:-x},10:{marginStart:-P},11:{marginStart:-v},12:{marginStart:-T},13:{marginStart:-R},14:{marginStart:-M}},offsetTop:{none:{marginTop:-l},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-c},4:{marginTop:-b},5:{marginTop:-y},6:{marginTop:-S},7:{marginTop:-h},8:{marginTop:-C},9:{marginTop:-x},10:{marginTop:-P},11:{marginTop:-v},12:{marginTop:-T},13:{marginTop:-R},14:{marginTop:-M}},columnGap:{none:{columnGap:l},1:{columnGap:d},2:{columnGap:p},3:{columnGap:c},4:{columnGap:b},5:{columnGap:y},6:{columnGap:S},7:{columnGap:h},8:{columnGap:C},9:{columnGap:x},10:{columnGap:P},11:{columnGap:v},12:{columnGap:T},13:{columnGap:R},14:{columnGap:M}},rowGap:{none:{rowGap:l},1:{rowGap:d},2:{rowGap:p},3:{rowGap:c},4:{rowGap:b},5:{rowGap:y},6:{rowGap:S},7:{rowGap:h},8:{rowGap:C},9:{rowGap:x},10:{rowGap:P},11:{rowGap:v},12:{rowGap:T},13:{rowGap:R},14:{rowGap:M}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":H,"table-cell":H,"table-column":H,"table-column-group":H,"table-footer-group":H,"table-header-group":H,"table-row-group":H,"table-row":H,"flow-root":H,grid:H,contents:H},overflow:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"hidden"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowX:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},overflowY:{auto:{overflow:"visible"},hidden:{overflow:"hidden"},clip:{overflow:"visible"},visible:{overflow:"visible"},scroll:{overflow:void 0}},position:{static:H,fixed:H,absolute:{position:"absolute"},relative:{position:"relative"},sticky:H},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnActive:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnFocus:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnHover:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderColorOnChecked:{accent:{borderColor:E},alert:{borderColor:w},black:{borderColor:B},brand:{borderColor:A},positive:{borderColor:k},warning:{borderColor:W},white:{borderColor:z},transparent:{borderColor:_},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:D},tertiary:{borderColor:V}},borderStartColor:{accent:{borderStartColor:E},alert:{borderStartColor:w},black:{borderStartColor:B},brand:{borderStartColor:A},positive:{borderStartColor:k},warning:{borderStartColor:W},white:{borderStartColor:z},transparent:{borderStartColor:_},muted:{borderStartColor:L},primary:{borderStartColor:O},secondary:{borderStartColor:D},tertiary:{borderStartColor:V}},borderEndColor:{accent:{borderEndColor:E},alert:{borderEndColor:w},black:{borderEndColor:B},brand:{borderEndColor:A},positive:{borderEndColor:k},warning:{borderEndColor:W},white:{borderEndColor:z},transparent:{borderEndColor:_},muted:{borderEndColor:L},primary:{borderEndColor:O},secondary:{borderEndColor:D},tertiary:{borderEndColor:V}},borderBottomColor:{accent:{borderBottomColor:E},alert:{borderBottomColor:w},black:{borderBottomColor:B},brand:{borderBottomColor:A},positive:{borderBottomColor:k},warning:{borderBottomColor:W},white:{borderBottomColor:z},transparent:{borderBottomColor:_},muted:{borderBottomColor:L},primary:{borderBottomColor:O},secondary:{borderBottomColor:D},tertiary:{borderBottomColor:V}},borderTopColor:{accent:{borderTopColor:E},alert:{borderTopColor:w},black:{borderTopColor:B},brand:{borderTopColor:A},positive:{borderTopColor:k},warning:{borderTopColor:W},white:{borderTopColor:z},transparent:{borderTopColor:_},muted:{borderTopColor:L},primary:{borderTopColor:O},secondary:{borderTopColor:D},tertiary:{borderTopColor:V}},borderRadius:{none:{borderRadius:e.borderRadius.none},xs:{borderRadius:e.borderRadius.xs},sm:{borderRadius:e.borderRadius.sm},md:{borderRadius:e.borderRadius.md},lg:{borderRadius:e.borderRadius.lg},xl:{borderRadius:e.borderRadius.xl},full:{borderRadius:e.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:e.borderRadius.none},xs:{borderTopStartRadius:e.borderRadius.xs},sm:{borderTopStartRadius:e.borderRadius.sm},md:{borderTopStartRadius:e.borderRadius.md},lg:{borderTopStartRadius:e.borderRadius.lg},xl:{borderTopStartRadius:e.borderRadius.xl},full:{borderTopStartRadius:e.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:e.borderRadius.none},xs:{borderTopEndRadius:e.borderRadius.xs},sm:{borderTopEndRadius:e.borderRadius.sm},md:{borderTopEndRadius:e.borderRadius.md},lg:{borderTopEndRadius:e.borderRadius.lg},xl:{borderTopEndRadius:e.borderRadius.xl},full:{borderTopEndRadius:e.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:e.borderRadius.none},xs:{borderBottomStartRadius:e.borderRadius.xs},sm:{borderBottomStartRadius:e.borderRadius.sm},md:{borderBottomStartRadius:e.borderRadius.md},lg:{borderBottomStartRadius:e.borderRadius.lg},xl:{borderBottomStartRadius:e.borderRadius.xl},full:{borderBottomStartRadius:e.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:e.borderRadius.none},xs:{borderBottomEndRadius:e.borderRadius.xs},sm:{borderBottomEndRadius:e.borderRadius.sm},md:{borderBottomEndRadius:e.borderRadius.md},lg:{borderBottomEndRadius:e.borderRadius.lg},xl:{borderBottomEndRadius:e.borderRadius.xl},full:{borderBottomEndRadius:e.borderRadius.full}},borderWidth:{none:{borderWidth:e.borderWidth.none},thin:{borderWidth:e.borderWidth.thin},medium:{borderWidth:e.borderWidth.medium},thick:{borderWidth:e.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:e.borderWidth.none,borderBottomWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin,borderBottomWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium,borderBottomWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick,borderBottomWidth:e.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:e.borderWidth.none,borderEndWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin,borderEndWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium,borderEndWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick,borderEndWidth:e.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:e.borderWidth.none},thin:{borderStartWidth:e.borderWidth.thin},medium:{borderStartWidth:e.borderWidth.medium},thick:{borderStartWidth:e.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:e.borderWidth.none},thin:{borderEndWidth:e.borderWidth.thin},medium:{borderEndWidth:e.borderWidth.medium},thick:{borderEndWidth:e.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:e.borderWidth.none},thin:{borderTopWidth:e.borderWidth.thin},medium:{borderTopWidth:e.borderWidth.medium},thick:{borderTopWidth:e.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:e.borderWidth.none},thin:{borderBottomWidth:e.borderWidth.thin},medium:{borderBottomWidth:e.borderWidth.medium},thick:{borderBottomWidth:e.borderWidth.thick}},contentFit:{contain:H,cover:H,fill:H,none:H,"scale-down":H},textTransform:{display1:{textTransform:e.textTransform.display1},display2:{textTransform:e.textTransform.display2},display3:{textTransform:e.textTransform.display3},title1:{textTransform:e.textTransform.title1},title2:{textTransform:e.textTransform.title2},title3:{textTransform:e.textTransform.title3},title4:{textTransform:e.textTransform.title4},headline1:{textTransform:e.textTransform.headline1},body1:{textTransform:e.textTransform.body1},label1:{textTransform:e.textTransform.label1},label2:{textTransform:e.textTransform.label2},caption1:{textTransform:e.textTransform.caption1},caption2:{textTransform:e.textTransform.caption2},legal1:{textTransform:e.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(fe);return s(bo,pe,be)}return{cva:u,getStyles:$e,tokens:e}}var so=lo({colorMode:ce,scaleMode:me},we);import{createContext as Ft,useContext as Mt}from"react";import{jsx as Et}from"react/jsx-runtime";var _o=Ft(ce);function ke(){return Mt(_o)}function Ho({value:o=ce,children:t}){return Et(_o.Provider,{value:o,children:t})}import{createContext as wt,useContext as At}from"react";import{jsx as kt}from"react/jsx-runtime";var Oo=wt(me);function po(){let o=At(Oo);return o||me}function Do({value:o,children:t}){let r=po();return kt(Oo.Provider,{value:o??r,children:t})}import{jsx as _t}from"react/jsx-runtime";var co=Wt(so),Lo=zt(function({children:t,value:r=we}){let n=ke(),i=po(),a=Bt(()=>r===void 0&&n===ce&&i===me?so:lo({colorMode:n,scaleMode:i},r),[n,i,r]);return _t(co.Provider,{value:a,children:t})});function N(o){let{getStyles:t}=Vo(co);return t(o)}function Io(){return Vo(co).tokens}import{Children as Pe,cloneElement as $o,forwardRef as Go,isValidElement as We}from"react";function Ht(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function No(...o){return t=>o.forEach(r=>Ht(r,t))}import{jsx as Uo}from"react/jsx-runtime";function ze(){let o=Go((a,m)=>{let{children:e,...s}=a,u=Pe.toArray(e),l=u.find(n);if(l){let d=l.props.children,p=u.map(c=>c===l?Pe.count(d)>1?Pe.only(null):We(d)?d.props.children:null:c);return Uo(t,{...s,ref:m,children:We(d)?$o(d,void 0,p):null})}return Uo(t,{...s,ref:m,children:e})});o.displayName="Slot";let t=Go((a,m)=>{let{children:e,...s}=a;return We(e)?$o(e,{...i(s,e.props),ref:m?No(m,e.ref):e.ref}):Pe.count(e)>1?Pe.only(null):null});t.displayName="SlotClone";let r=({children:a})=>a;function n(a){return We(a)&&a.type===r}function i(a,m){let e={...m};for(let s in m){let u=a[s],l=m[s];/^on[A-Z]/.test(s)?u&&l?e[s]=(...p)=>{l(...p),u(...p)}:u&&(e[s]=u):s==="style"&&(e[s]={...u,...l})}return{...a,...e}}return o}var Xo="RCTView",Be="RCTText",jo=ze(),_e=ze(),Ko=ze();import{jsx as Dt}from"react/jsx-runtime";var He=Ot(function({asChild:t=!1,style:r,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w="stretch",alignSelf:A,flex:k,flexBasis:W,flexDirection:z="column",flexGrow:B,flexShrink:_,flexWrap:$="nowrap",justifyContent:G="flex-start",display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,...le},se){let de=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,flexBasis:W,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,style:r});return Dt(t?jo:Xo,{ref:se,style:de,...le})});import{forwardRef as Vt}from"react";import{jsx as Lt}from"react/jsx-runtime";var Li=Vt(function({gap:t,...r},n){return Lt(He,{ref:n,flexDirection:"row",rowGap:t,columnGap:t,...r})});import{forwardRef as It}from"react";import{jsx as Nt}from"react/jsx-runtime";var Yo=It(function({style:t,asChild:r=!1,size:n,color:i,name:a,textAlign:m,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:y,offsetEnd:S,offsetHorizontal:h,offsetStart:C,offsetTop:x,offsetVertical:P,...v},T){let R=N({color:i,fontFamily:"icons",textAlign:m,spacing:e,spacingBottom:s,spacingEnd:u,spacingHorizontal:l,spacingStart:d,spacingTop:p,spacingVertical:c,offset:b,offsetBottom:y,offsetEnd:S,offsetHorizontal:h,offsetStart:C,offsetTop:x,offsetVertical:P,iconSize:n,style:t});return Nt(r?_e:Be,{ref:T,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...v,children:a})});import{forwardRef as Xt}from"react";var mo={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",className:"min-w-fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Zo({variant:o="accent",size:t="s"}){let{color:r,...n}=mo.variant[o],{variant:i,...a}=mo.size[t];return{pressable:{...mo.base,...n,...a},text:{color:r,variant:i,textAlign:"center"},icon:{color:r,size:"sm"}}}import{forwardRef as $t}from"react";import{Pressable as Gt}from"react-native";import{jsx as Ut}from"react/jsx-runtime";var qo=$t(function({style:t,asChild:r=!1,backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexBasis:W,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,...le},se){let de=N({backgroundColor:n,borderRadius:i,borderTopStartRadius:a,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:s,borderColor:u,borderColorOnActive:l,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:c,borderStartColor:b,borderEndColor:y,borderTopColor:S,borderBottomColor:h,borderWidth:C,borderVerticalWidth:x,borderHorizontalWidth:P,borderStartWidth:v,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:M,alignContent:E,alignItems:w,alignSelf:A,flex:k,flexDirection:z,flexGrow:B,flexShrink:_,flexWrap:$,justifyContent:G,flexBasis:W,display:U,overflow:X,overflowX:j,overflowY:K,position:Y,spacing:O,spacingHorizontal:D,spacingVertical:V,spacingBottom:L,spacingEnd:f,spacingStart:Z,spacingTop:q,offset:J,offsetVertical:Q,offsetHorizontal:ee,offsetBottom:oe,offsetEnd:te,offsetStart:re,offsetTop:ne,columnGap:ie,rowGap:ae,style:t});return Ut(r?Ko:Gt,{style:de,ref:se,...le})});import{jsx as Qo}from"react/jsx-runtime";var Jo={s:36,m:48,l:64},jt={},ia=Xt(function({variant:t="accent",size:r="s",name:n,style:i=jt,...a},m){let e=Zo({variant:t,size:r});return Qo(qo,{ref:m,...e.pressable,flexShrink:"0",style:{...i,width:Jo[r],height:Jo[r]},...a,children:Qo(Yo,{name:n,...e.icon})})});import{Image as Kt}from"expo-image";import{jsx as Yt}from"react/jsx-runtime";function pa({width:o,height:t,src:r,alt:n,contentFit:i="cover",backgroundColor:a,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:M,borderTopWidth:E,borderBottomWidth:w,alignContent:A,alignItems:k,alignSelf:W,flex:z,flexDirection:B,flexGrow:_,flexShrink:$="0",flexWrap:G,justifyContent:U,flexBasis:X,display:j="flex",overflow:K,overflowX:Y,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:f,spacingBottom:Z,spacingEnd:q,spacingStart:J,spacingTop:Q,offset:ee,offsetVertical:oe,offsetHorizontal:te,offsetBottom:re,offsetEnd:ne,offsetStart:ie,offsetTop:ae,columnGap:le,rowGap:se,...de}){let ue=N({contentFit:i,backgroundColor:a,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:s,borderBottomStartRadius:u,borderBottomEndRadius:l,borderColor:d,borderColorOnActive:p,borderColorOnFocus:c,borderColorOnChecked:b,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:C,borderBottomColor:x,borderWidth:P,borderVerticalWidth:v,borderHorizontalWidth:T,borderStartWidth:R,borderEndWidth:M,borderTopWidth:E,borderBottomWidth:w,alignContent:A,alignItems:k,alignSelf:W,flex:z,flexDirection:B,flexGrow:_,flexShrink:$,flexWrap:G,justifyContent:U,flexBasis:X,display:j,overflow:K,overflowX:Y,overflowY:O,position:D,spacing:V,spacingHorizontal:L,spacingVertical:f,spacingBottom:Z,spacingEnd:q,spacingStart:J,spacingTop:Q,offset:ee,offsetVertical:oe,offsetHorizontal:te,offsetBottom:re,offsetEnd:ne,offsetStart:ie,offsetTop:ae,columnGap:le,rowGap:se,style:{width:o,height:t,justifyContent:"flex-start"}});return Yt(Kt,{source:r,alt:n,style:ue,contentFit:i,contentPosition:"left",...de})}import{forwardRef as Zt}from"react";import{jsx as qt}from"react/jsx-runtime";var ba=Zt(function({style:t,asChild:r,color:n="primary",variant:i="body1",fontSize:a=i,fontFamily:m=i,fontWeight:e=i,lineHeight:s=i,textTransform:u=i,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:y,borderBottomEndRadius:S,borderColor:h,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:M,borderBottomColor:E,borderWidth:w,borderVerticalWidth:A,borderHorizontalWidth:k,borderStartWidth:W,borderEndWidth:z,borderTopWidth:B,borderBottomWidth:_,alignContent:$,alignItems:G,alignSelf:U,flex:X,flexDirection:j,flexGrow:K,flexShrink:Y,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:f,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ne,spacingTop:ie,offset:ae,offsetVertical:le,offsetHorizontal:se,offsetBottom:de,offsetEnd:ue,offsetStart:De,offsetTop:Ve,columnGap:Le,rowGap:Ie,...Ne},$e){let be=N({style:t,color:n,fontFamily:m,fontSize:a,fontWeight:e,lineHeight:s,textTransform:u,textAlign:l,backgroundColor:d,borderRadius:p,borderTopStartRadius:c,borderTopEndRadius:b,borderBottomStartRadius:y,borderBottomEndRadius:S,borderColor:h,borderColorOnActive:C,borderColorOnFocus:x,borderColorOnChecked:P,borderColorOnHover:v,borderStartColor:T,borderEndColor:R,borderTopColor:M,borderBottomColor:E,borderWidth:w,borderVerticalWidth:A,borderHorizontalWidth:k,borderStartWidth:W,borderEndWidth:z,borderTopWidth:B,borderBottomWidth:_,alignContent:$,alignItems:G,alignSelf:U,flex:X,flexDirection:j,flexGrow:K,flexShrink:Y,flexWrap:O,justifyContent:D,flexBasis:V,display:L,overflow:f,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:ee,spacingVertical:oe,spacingBottom:te,spacingEnd:re,spacingStart:ne,spacingTop:ie,offset:ae,offsetVertical:le,offsetHorizontal:se,offsetBottom:de,offsetEnd:ue,offsetStart:De,offsetTop:Ve,columnGap:Le,rowGap:Ie});return qt(r?_e:Be,{style:be,ref:$e,maxFontSizeMultiplier:1,allowFontScaling:!1,...Ne})});import{forwardRef as Jt}from"react";import{jsx as Qt}from"react/jsx-runtime";var xa=Jt(function({gap:t,...r},n){return Qt(He,{ref:n,flexDirection:"column",columnGap:t,rowGap:t,...r})});import{useScrollToTop as lr}from"@react-navigation/native";import{forwardRef as sr,useMemo as dr,useRef as pr}from"react";import{ScrollView as cr}from"react-native";import{useMemo as er}from"react";var or=(o,t)=>{typeof o=="function"?o(t):o&&(o.current=t)},et=(...o)=>er(()=>o.every(t=>t==null)?null:t=>{o.forEach(r=>{or(r,t)})},[o]);import ot from"expo-constants";import{createContext as tr,useContext as rr,useMemo as nr}from"react";import{useSafeAreaInsets as ir}from"react-native-safe-area-context";import{jsx as ar}from"react/jsx-runtime";var tt=tr({tabBarHeight:0,statusBarHeight:ot.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function rt(){return rr(tt)}function nt({children:o}){let t=ir(),r=Io(),n=nr(()=>({tabBarHeight:r.spacing[5]+r.iconSizes.md+r.spacing[3]+r.lineHeight.caption1+r.spacing[5]+t.bottom,statusBarHeight:ot.statusBarHeight,safeAreaInsets:t}),[r.spacing,r.iconSizes,r.lineHeight,t]);return ar(tt.Provider,{value:n,children:o})}import{jsx as mr}from"react/jsx-runtime";var Va=sr(function({children:t,...r},n){let i=ke(),a=pr(null),m=et(a,n);lr(a);let{tabBarHeight:e,safeAreaInsets:s}=rt(),u=N({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),l=dr(()=>({paddingTop:s.top,paddingBottom:e}),[s.top,e]);return mr(cr,{ref:m,style:u,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:l,indicatorStyle:i==="dark"?"black":"white",...r,children:t})});import{useCallback as fr,useEffect as gr,useState as ur}from"react";import{AppState as it}from"react-native";function Oe(){let[o,t]=ur(it.currentState),r=fr(n=>{t(n)},[]);return gr(()=>{let n=it.addEventListener("change",r);return()=>{n.remove()}},[r]),o}import{useEffect as br,useRef as yr,useState as Sr}from"react";import{PixelRatio as fo}from"react-native";var at=()=>{let[o,t]=Sr(fo.getFontScale()),r=yr(fo.getFontScale()),n=Oe();return br(()=>{if(n==="active"){let i=fo.getFontScale();r.current!==i&&(t(i),r.current=i)}},[n]),o};import{setStatusBarStyle as Er}from"expo-status-bar";import{createContext as ct,useContext as wr,useEffect as pt,useState as Ar}from"react";import{createContext as hr,useContext as Cr,useEffect as xr,useState as Pr}from"react";import{Appearance as vr,Platform as Tr,useColorScheme as Rr}from"react-native";import{jsx as Mr}from"react/jsx-runtime";var lt=hr(ce);function st(){return Cr(lt)}function Fr(){let o=Oe(),t=Rr(),[r,n]=Pr(t),i=Tr.OS==="android";return xr(()=>{if(o==="active"){if(i){let a=vr.getColorScheme();n(a);return}n(t)}},[t,o,i]),r??"light"}function dt({children:o}){let t=Fr();return Mr(lt.Provider,{value:t,children:o})}import{jsx as go}from"react/jsx-runtime";var kr=()=>{},mt=ct(Ce),Wr=ct(kr);function al(){return wr(mt)}function ft({children:o,value:t=Ce}){let[r,n]=Ar(t),i=st(),a=r==="system"?i:r;return pt(()=>{Er(a==="light"?"dark":"light")},[a]),pt(()=>{n(t)},[t]),go(mt.Provider,{value:r,children:go(Wr.Provider,{value:n,children:go(Ho,{value:a,children:o})})})}import{createContext as yt,useState as Dr}from"react";import{createContext as zr,useContext as Br,useMemo as _r}from"react";import{jsx as Or}from"react/jsx-runtime";var gt=zr(me),ye={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function ut(){return Br(gt)}function Hr(){let o=at();return _r(()=>o<=ye.xSmall?"xSmall":o<=ye.small?"small":o<=ye.medium?"medium":o<=ye.large?"large":o<=ye.xLarge?"xLarge":o<=ye.xxLarge?"xxLarge":o>=ye.xxxLarge?"xxxLarge":"large",[o])}function bt({children:o}){let t=Hr();return Or(gt.Provider,{value:t,children:o})}import{jsx as uo}from"react/jsx-runtime";var Vr=()=>{},Lr=yt(xe),Ir=yt(Vr);function St({children:o,value:t=xe}){let[r,n]=Dr(t),i=ut(),a=r==="system"?i:r;return uo(Lr.Provider,{value:r,children:uo(Ir.Provider,{value:n,children:uo(Do,{value:a,children:o})})})}import{BottomSheetModalProvider as Nr}from"@gorhom/bottom-sheet";import{SafeAreaProvider as $r}from"react-native-safe-area-context";import{jsx as ge}from"react/jsx-runtime";function wl({children:o,colorModeForApp:t=Ce,scaleModeForApp:r=xe,config:n}){return ge($r,{children:ge(dt,{children:ge(ft,{value:t,children:ge(bt,{children:ge(St,{value:r,children:ge(Lo,{value:n,children:ge(nt,{children:ge(Nr,{children:o})})})})})})})})}export{dn as AVATAR_SIZE_PREFIX,pn as BORDER_RADIUS_PREFIX,cn as BORDER_WIDTH_PREFIX,He as Box,_o as ColorModeContext,mt as ColorModeForAppContext,Wr as ColorModeForAppContextUpdater,ft as ColorModeForAppProvider,lt as ColorModeForDeviceContext,dt as ColorModeForDeviceProvider,Ho as ColorModeProvider,tt as ComputedTokensContext,nt as ComputedTokensProvider,yn as DARK_COLOR_MODE_CLASSNAME,ce as DEFAULT_COLOR_MODE,Tn as DEFAULT_COLOR_MODE_CLASSNAME,Ce as DEFAULT_COLOR_MODE_FOR_APP,zn as DEFAULT_HIGH_CONTRAST_MODE,Bn as DEFAULT_REGION_MODE,me as DEFAULT_SCALE_MODE,Rn as DEFAULT_SCALE_MODE_CLASSNAME,xe as DEFAULT_SCALE_MODE_FOR_APP,so as DEFAULT_STYLER,ln as FONT_FAMILY_PREFIX,Fn as FONT_ICONS_CSS_VAR,En as FONT_SANS_BETA_CSS_VAR,wn as FONT_SANS_CONDENSED_CSS_VAR,Mn as FONT_SANS_CSS_VAR,An as FONT_SERIF_DISPLAY_CSS_VAR,kn as FONT_SERIF_TEXT_CSS_VAR,fn as FONT_SIZE_PREFIX,un as FONT_WEIGHT_PREFIX,Li as HStack,sn as ICON_SIZE_PREFIX,Yo as Icon,ia as IconButton,pa as Image,Tt as LARGE_SCALE_MODE_CLASSNAME,vt as LIGHT_COLOR_MODE_CLASSNAME,gn as LINE_HEIGHT_PREFIX,Cn as MEDIUM_SCALE_MODE_CLASSNAME,qo as Pressable,hn as SMALL_SCALE_MODE_CLASSNAME,mn as SPACING_PREFIX,an as SPECTRUM_COLOR_PREFIX,Oo as ScaleModeContext,Lr as ScaleModeForAppContext,St as ScaleModeForAppProvider,Ir as ScaleModeForAppUpdaterContext,gt as ScaleModeForDeviceContext,bt as ScaleModeForDeviceProvider,Do as ScaleModeProvider,Va as Screen,Lo as StyleProvider,bn as TEXT_TRANSFORM_PREFIX,ba as Text,wl as ThemeProvider,F as UDS_PREFIX,xa as VStack,xn as XLARGE_SCALE_MODE_CLASSNAME,Sn as XSMALL_SCALE_MODE_CLASSNAME,Pn as XXLARGE_SCALE_MODE_CLASSNAME,vn as XXXLARGE_SCALE_MODE_CLASSNAME,Se as alwaysPalette,lo as createStyler,we as defaultTokensConfig,Hn as entries,Ze as fontFamilyGlobal,I as fontWeightMap,Dn as fromEntries,Ae as mapValues,Oe as useAppState,ke as useColorMode,al as useColorModeForApp,st as useColorModeForDevice,rt as useComputedTokens,at as useDeviceFontScale,po as useScaleMode,ut as useScaleModeForDevice,N as useStyles,Io as useTokens};
@@ -1 +1 @@
1
- "use strict";var Ie=Object.create;var M=Object.defineProperty;var We=Object.getOwnPropertyDescriptor;var De=Object.getOwnPropertyNames;var Ne=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty;var Be=(t,e)=>{for(var i in e)M(t,i,{get:e[i],enumerable:!0})},ee=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of De(e))!Pe.call(t,n)&&n!==i&&M(t,n,{get:()=>e[n],enumerable:!(r=We(e,n))||r.enumerable});return t};var te=(t,e,i)=>(i=t!=null?Ie(Ne(t)):{},ee(e||!t||!t.__esModule?M(i,"default",{value:t,enumerable:!0}):i,t)),Xe=t=>ee(M({},"__esModule",{value:!0}),t);var Ke={};Be(Ke,{defaultTailwindThemeAsUdsConfig:()=>ze,tailwindPlugin:()=>Ve});module.exports=Xe(Ke);var we=require("@yahoo/uds/fixtures");var oe={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ae={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ie={none:0,thin:1,medium:2,thick:2},re={none:0,thin:1,medium:2,thick:4};var ne={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},le={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},I={white:"#ffffff",black:"#000000",transparent:"transparent"};var W={s:16,m:24,l:32},se=W,D={sm:16,md:24,lg:32},de=D;var ce={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},pe={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var ge={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},fe={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var A=["Helvetica Neue","Helvetica","Arial","sans-serif"],me=["Georgia","Times","Times New Roman","serif"],ue={icons:{fallbacks:A,name:"yahoo-icons"},sans:{fallbacks:A,name:"yahoo-sans"},"sans-beta":{fallbacks:A,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:A,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:me,name:"yahoo-serif-text"},"serif-display":{fallbacks:me,name:"yahoo-serif-display"}},N={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},P={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},B={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},X={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},U={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},G={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...U.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},F={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...G.lineHeight,title2:36,title3:32}},V={fontSize:{...F.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...F.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},K={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...V.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Z={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...K.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},ye={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...Z.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var j={fontFamily:N,fontWeight:B,textTransform:X,avatarSizes:W,iconSizes:D,borderRadius:oe,borderWidth:ie,spacing:ce},L={fontFamily:N,fontWeight:B,textTransform:X,avatarSizes:se,iconSizes:de,borderRadius:ae,borderWidth:re,spacing:pe},u={colorMode:{light:{palette:ne,spectrum:ge},dark:{palette:le,spectrum:fe}},scaleMode:{xSmall:{...j,...U},small:{...j,...G},medium:{...j,...F},large:{...L,...V},xLarge:{...L,...K},xxLarge:{...L,...Z},xxxLarge:{...L,...ye}},fontFamily:ue};var s="uds",Y=`${s}-spectrum-color`,O=`${s}-font`,Se=`${s}-icon-size`,xe=`${s}-avatar-size`,z=`${s}-border-radius`,R=`${s}-border-width`,_=`${s}-spacing`,p=`${s}-font-size`,g=`${s}-line-height`,_e=`${s}-font-weight`,he=`${s}-text-transform`,w=`${s}-color-mode-dark`,Te=`${s}-color-mode-light`,ve=`${s}-scale-mode-xsmall`,Ce=`${s}-scale-mode-small`,Re=`${s}-scale-mode-medium`,be=`${s}-scale-mode-large`,Ee=`${s}-scale-mode-xlarge`,Me=`${s}-scale-mode-xxlarge`,Ae=`${s}-scale-mode-xxxlarge`;var c1=`--${s}-font-icons`,p1=`--${s}-font-sans`,g1=`--${s}-font-sans-beta`,f1=`--${s}-font-sans-condensed`,m1=`--${s}-font-serif-display`,u1=`--${s}-font-serif-text`;var Fe="light",h="large";function T(t){return Object.entries(t)}function q(t,e){return Object.keys(t).reduce((i,r,n)=>(i[r]=e(t[r],r,n),i),{})}function Le(t){let{palette:e,spectrum:i}=t,r={},n={spectrum:{},palette:{}};for(let[d,l]of T(i))for(let[c,m]of T(l)){let f=`${d}-${c}`,S=`--${Y}-${f}`;n.spectrum[d]||(n.spectrum[d]={}),n.spectrum[d][c]=`rgb(var(${S}))`,r[S]=m}return T(e).forEach(([d,l])=>{for(let[c,{hue:m,step:f,opacity:S}]of Object.entries(l)){d in n.palette||(n.palette[d]={});let x=`--${s}-${d}-color-${c}`;r[x]=`var(--${Y}-${m}-${f})`,n.palette[d][c]=S?`rgb(var(${x}) / ${S})`:`rgb(var(${x}))`}}),{_vars:r,_raw:t,tailwindConfig:n}}function Ue(t){let e={},i={};for(let[r,n="regular"]of T(t)){let d=`--${_e}-${r}`,l=P[n];e[d]=l,i[r]=`var(${d})`}return{_vars:e,_raw:t,tailwindConfig:{...P,...i}}}function Oe(t,e,i){let r={},n={};for(let[d,l]of T(e)){let c=`--${t}-${d}`,m=i?i(l):l;r[c]=m,n[d]=`var(${c})`}return{_vars:r,_raw:e,tailwindConfig:n}}function v(t,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let i={},r={};for(let[n,d]of T(e)){let l=`--${t}-${n}`,c=`${d}px`;i[l]=c,r[n]=`var(${l})`}return{_vars:i,_raw:e,tailwindConfig:r}}function Ge(t){return q(t,(e,i)=>{let{fallbacks:r=[]}=e??{};return[`var(--${O}-${i})`,...r]})}function J(t){let{colorMode:e,scaleMode:i,fontFamily:r}=t;return{...t,colorMode:{light:Le(e.light),dark:Le(e.dark)},scaleMode:q(i,({borderRadius:n,borderWidth:d,spacing:l,fontSize:c,lineHeight:m,fontFamily:f,fontWeight:S,textTransform:x,avatarSizes:$,iconSizes:H})=>({fontFamily:Oe(O,f,k=>`var(--${O}-${k})`),fontSize:v(p,c),fontWeight:Ue(S),lineHeight:v(g,m),textTransform:Oe(he,x),borderRadius:v(z,n),borderWidth:v(R,d),spacing:v(_,l),avatarSizes:v(xe,$),iconSizes:v(Se,H)})),fontFamily:Ge(r)}}var $e=te(require("tailwindcss/plugin"),1);var y=require("@yahoo/uds/fixtures");var o=te(require("tailwindcss/defaultTheme"),1);function b(t,e){return Object.keys(t).reduce((i,r,n)=>(i[r]=e(t[r],r,n),i),{})}function a(t){return parseFloat(t)*16}var E={...u.scaleMode[h],fontSize:{display1:a(o.default.fontSize["6xl"][0]),display2:a(o.default.fontSize["5xl"][0]),display3:a(o.default.fontSize["4xl"][0]),title1:a(o.default.fontSize["3xl"][0]),title2:a(o.default.fontSize["2xl"][0]),title3:a(o.default.fontSize.xl[0]),title4:a(o.default.fontSize.lg[0]),headline1:a(o.default.fontSize.base[0]),body1:a(o.default.fontSize.base[0]),label1:a(o.default.fontSize.sm[0]),label2:a(o.default.fontSize.sm[0]),caption1:a(o.default.fontSize.xs[0]),caption2:a(o.default.fontSize.xs[0]),legal1:u.scaleMode[h].fontSize.legal1},lineHeight:{display1:a(o.default.fontSize["6xl"][0]),display2:a(o.default.fontSize["5xl"][0]),display3:a(o.default.fontSize["4xl"][1].lineHeight),title1:a(o.default.fontSize["3xl"][1].lineHeight),title2:a(o.default.fontSize["2xl"][1].lineHeight),title3:a(o.default.fontSize.xl[1].lineHeight),title4:a(o.default.fontSize.lg[1].lineHeight),headline1:a(o.default.fontSize.base[1].lineHeight),body1:a(o.default.fontSize.base[1].lineHeight),label1:a(o.default.fontSize.sm[1].lineHeight),label2:a(o.default.fontSize.sm[1].lineHeight),caption1:a(o.default.fontSize.xs[1].lineHeight),caption2:a(o.default.fontSize.xs[1].lineHeight),legal1:u.scaleMode[h].lineHeight.legal1},fontWeight:{display1:"regular",display2:"regular",display3:"regular",title1:"regular",title2:"regular",title3:"regular",title4:"regular",headline1:"regular",body1:"regular",label1:"regular",label2:"regular",caption1:"regular",caption2:"regular",legal1:"regular"},spacing:{none:0,1:a(o.default.spacing[1]),2:a(o.default.spacing[2]),3:a(o.default.spacing[3]),4:a(o.default.spacing[4]),5:a(o.default.spacing[5]),6:a(o.default.spacing[6]),7:a(o.default.spacing[7]),8:a(o.default.spacing[8]),9:a(o.default.spacing[9]),10:a(o.default.spacing[10]),11:a(o.default.spacing[11]),12:a(o.default.spacing[12]),13:(a(o.default.spacing[14])-a(o.default.spacing[12]))/2,14:a(o.default.spacing[14])},borderRadius:{none:u.scaleMode[h].borderRadius.none,xs:a(o.default.borderRadius.sm),sm:a(o.default.borderRadius.DEFAULT),md:a(o.default.borderRadius.md),lg:a(o.default.borderRadius.lg),xl:a(o.default.borderRadius.xl),full:9999},borderWidth:{none:0,thin:a(o.default.borderWidth.DEFAULT),medium:a(o.default.borderWidth[2]),thick:a(o.default.borderWidth[4])}};function C(t){return{...u.scaleMode[t],fontWeight:E.fontWeight,fontSize:b(E.fontSize,(e,i)=>e+y.fontSizeRamp[t][i]),lineHeight:b(E.lineHeight,(e,i)=>e+y.lineHeightRamp[t][i]),spacing:b(E.spacing,(e,i)=>e+y.spacingRamp[t][i]),borderRadius:b(E.borderRadius,(e,i)=>e+y.borderRadiusRamp[t][i]),borderWidth:b(E.borderWidth,(e,i)=>e+y.borderWidthRamp[t][i])}}var ze={...u,scaleMode:{xSmall:C("xSmall"),small:C("small"),medium:C("medium"),large:C("large"),xLarge:C("xLarge"),xxLarge:C("xxLarge"),xxxLarge:C("xxxLarge")}};var Ve=$e.default.withOptions(function({config:t=u}){let e=J(t),i=e.colorMode.light._vars,r={...e.scaleMode.large.borderRadius._vars,...e.scaleMode.large.borderWidth._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars};return function({addBase:n,matchUtilities:d}){n({":root":{...i,...r},[`.${Te}`]:i,[`.${be}`]:r,[`.${w}`]:{...e.colorMode.dark._vars},[`.${ve}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${Ce}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${Re}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${Ee}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${Me}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${Ae}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),d({iconSize:l=>({width:l,height:l,fontSize:l,lineHeight:l})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),d({avatarSize:l=>({width:l,height:l})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),d({case:l=>({"text-transform":l})},{values:e.scaleMode.large.textTransform.tailwindConfig}),d({"font-weight":l=>({"font-weight":l})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),d({"font-size":l=>({"font-size":l})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:t=u,safelist:e=[]}){let i=J(t),r=i.colorMode[Fe].tailwindConfig,n=i.scaleMode[h],d=r.palette.core,l={...we.tailwindColorsAsUds,...r.spectrum,...I,...d},c=r.palette.foreground,m=r.palette.background,f=r.palette.line,x={...{xs:[`var(--${p}-legal1)`,{lineHeight:`var(--${g}-legal1)`}],sm:[`var(--${p}-caption1)`,{lineHeight:`var(--${g}-caption1)`}],base:[`var(--${p}-body1)`,{lineHeight:`var(--${g}-body1)`}],lg:[`var(--${p}-title4)`,{lineHeight:`var(--${g}-title4)`}],xl:[`var(--${p}-title3)`,{lineHeight:`var(--${g}-title3)`}],"2xl":[`var(--${p}-title2)`,{lineHeight:`var(--${g}-title2)`}],"3xl":[`var(--${p}-title1)`,{lineHeight:`var(--${g}-title1)`}],"4xl":[`var(--${p}-display3)`,{lineHeight:`var(--${g}-display3)`}],"5xl":[`var(--${p}-display2)`,{lineHeight:`var(--${g}-display2)`}],"6xl":[`var(--${p}-display1)`,{lineHeight:`var(--${g}-display1)`}]}},$={"0.5":`calc(var(--${_}-1)/2)`,"1.5":`calc(var(--${_}-1)*1.5)`,"2.5":`calc(var(--${_}-1)*2.5)`,"3.5":`calc(var(--${_}-1)*3.5)`},H={...n.spacing.tailwindConfig,...$},k={DEFAULT:`var(--${z}-sm)`},He={...n.borderRadius.tailwindConfig,...k},ke={DEFAULT:`var(--${R}-thin)`,2:`var(--${R}-medium)`,4:`var(--${R}-thick)`},Q={...n.borderWidth.tailwindConfig,...ke};return{darkMode:["class",w],safelist:[w,...e],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:He,borderWidth:Q,outlineWidth:Q,fontFamily:{...i.fontFamily,...n.fontFamily.tailwindConfig},fontSize:x,lineHeight:n.lineHeight.tailwindConfig,spacing:H,colors:l,backgroundColor:m,textColor:c,borderColor:f,fill:m,caretColor:c,placeholderColor:c,textDecorationColor:c,divideColor:f,outlineColor:f,ringColor:f,ringOffsetColor:f,stroke:f}}}});0&&(module.exports={defaultTailwindThemeAsUdsConfig,tailwindPlugin});
1
+ "use strict";var Ne=Object.create;var b=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Xe=Object.getOwnPropertyNames;var Ue=Object.getPrototypeOf,Ve=Object.prototype.hasOwnProperty;var Ge=(o,e)=>{for(var t in e)b(o,t,{get:e[t],enumerable:!0})},ae=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Xe(e))!Ve.call(o,a)&&a!==t&&b(o,a,{get:()=>e[a],enumerable:!(r=Pe(e,a))||r.enumerable});return o};var re=(o,e,t)=>(t=o!=null?Ne(Ue(o)):{},ae(e||!o||!o.__esModule?b(t,"default",{value:o,enumerable:!0}):t,o)),Ke=o=>ae(b({},"__esModule",{value:!0}),o);var e1={};Ge(e1,{defaultTailwindThemeAsUdsConfig:()=>$e,tailwindPlugin:()=>Qe});module.exports=Ke(e1);var oe=require("@yahoo/uds/fixtures");var ie={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ne={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var se={none:0,thin:1,medium:2,thick:2},le={none:0,thin:1,medium:2,thick:4};var de={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},ce={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},B={white:"#ffffff",black:"#000000",transparent:"transparent"};var N={s:16,m:24,l:32},pe=N,P={sm:16,md:24,lg:32},ge=P;var fe={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:20,8:24,9:28,10:32,11:36,12:40,13:44,14:48},me={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var ue={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},ye={blue:{0:"0 10 38",1:"0 14 57",2:"0 19 75",3:"0 29 102",4:"0 44 129",5:"0 63 156",6:"0 87 183",7:"0 116 210",8:"17 148 236",9:"18 169 255",10:"99 192 255",11:"125 203 255",12:"150 210 250",13:"182 224 252",14:"213 237 252",15:"240 247 252"},purple:{0:"25 0 38",1:"34 0 57",2:"42 0 75",3:"51 0 102",4:"57 0 125",5:"80 21 176",6:"96 1 210",7:"108 36 242",8:"119 89 255",9:"144 124 255",10:"165 149 248",11:"187 174 249",12:"209 201 251",13:"225 219 252",14:"235 232 254",15:"248 244 255"},pink:{0:"38 0 19",1:"48 0 23",2:"58 0 27",3:"75 0 34",4:"96 0 43",5:"123 0 54",6:"157 0 67",7:"194 0 81",8:"233 0 107",9:"255 0 128",10:"255 54 161",11:"255 101 186",12:"255 150 211",13:"255 186 228",14:"255 212 240",15:"255 229 247"},red:{0:"38 3 0",1:"57 3 0",2:"75 3 0",3:"102 1 0",4:"129 5 0",5:"156 15 12",6:"183 28 27",7:"210 46 47",8:"232 58 62",9:"255 77 82",10:"255 105 109",11:"255 135 141",12:"255 155 161",13:"255 183 188",14:"254 210 214",15:"255 240 241"},yellow:{0:"38 35 0",1:"48 42 0",2:"58 49 0",4:"96 73 0",3:"75 60 0",5:"123 91 0",6:"157 112 0",7:"194 136 0",8:"233 171 0",9:"255 204 0",10:"255 220 79",11:"255 232 102",12:"255 243 138",13:"255 249 163",14:"255 251 197",15:"255 253 238"},green:{0:"7 33 23",1:"7 43 29",2:"8 48 32",3:"8 55 36",4:"11 70 44",5:"14 91 55",6:"18 118 68",7:"23 149 83",8:"29 181 97",9:"26 197 103",10:"55 219 115",11:"91 235 126",12:"128 242 143",13:"169 251 169",14:"213 255 208",15:"247 255 245"},teal:{0:"0 35 38",1:"0 40 43",2:"0 45 49",3:"0 56 60",4:"0 73 76",5:"0 97 99",6:"0 126 127",7:"1 160 159",8:"15 194 190",9:"17 211 205",10:"52 227 222",11:"99 237 231",12:"145 249 243",13:"185 255 251",14:"216 255 252",15:"242 255 254"},gray:{0:"0 0 0",1:"16 21 24",2:"29 34 40",3:"35 42 49",4:"44 54 63",5:"70 78 86",6:"91 99 106",7:"110 119 128",8:"130 138 147",9:"151 158 168",10:"176 185 193",11:"199 205 210",12:"224 228 233",13:"240 243 245",14:"245 248 250",15:"255 255 255"},carbon:{0:"0 0 0",1:"10 10 10",2:"20 20 20",3:"31 31 31",4:"41 41 41",5:"50 50 50",6:"68 68 68",7:"90 90 90",8:"117 117 117",9:"142 142 142",10:"176 176 176",11:"205 205 205",12:"227 227 227",13:"245 245 245",14:"252 251 251",15:"255 255 255"},orange:{0:"38 15 0",1:"46 17 0",2:"54 19 0",3:"67 23 0",4:"86 28 0",5:"111 34 0",6:"142 41 0",7:"177 54 0",8:"229 80 0",9:"253 97 0",10:"255 123 41",11:"255 145 77",12:"255 161 102",13:"255 192 153",14:"255 224 204",15:"255 246 240"},rose:{0:"28 4 11",1:"38 5 15",2:"50 18 27",3:"66 22 35",4:"87 27 44",5:"113 35 57",6:"158 49 80",7:"191 58 96",8:"214 87 124",9:"221 108 141",10:"228 131 159",11:"245 164 188",12:"255 193 211",13:"255 214 226",14:"255 233 240",15:"255 251 252"},sunset:{0:"38 8 0",1:"54 11 0",2:"69 15 0",3:"100 20 0",4:"130 26 0",5:"156 40 12",6:"178 58 31",7:"197 79 53",8:"213 101 78",9:"219 112 90",10:"225 124 104",11:"235 147 131",12:"243 171 158",13:"249 194 185",14:"253 218 212",15:"255 241 238"},brown:{0:"38 23 0",1:"52 31 1",2:"66 40 2",3:"95 58 5",4:"123 75 10",5:"148 92 19",6:"168 108 31",7:"186 123 46",8:"200 138 66",9:"209 150 80",10:"219 165 103",11:"224 176 122",12:"229 190 148",13:"239 210 180",14:"248 230 212",15:"255 249 242"},citron:{0:"38 35 0",1:"42 39 0",2:"49 46 0",3:"61 58 0",4:"78 76 0",5:"101 99 0",6:"128 125 0",7:"153 153 0",8:"184 188 0",9:"205 212 0",10:"222 231 23",11:"235 244 87",12:"237 243 116",13:"243 249 158",14:"249 253 193",15:"254 255 238"},lime:{0:"20 38 0",1:"34 51 0",2:"41 63 0",3:"53 83 0",4:"65 104 2",5:"79 125 11",6:"94 145 24",7:"110 166 40",8:"127 187 60",9:"137 199 70",10:"151 209 90",11:"168 224 121",12:"184 237 148",13:"209 247 186",14:"226 255 211",15:"244 255 240"},mint:{0:"0 31 25",1:"0 41 34",2:"0 49 41",3:"0 62 52",4:"0 81 64",5:"0 106 77",6:"29 130 89",7:"33 150 104",8:"39 171 116",9:"72 194 129",10:"106 212 153",11:"149 222 182",12:"181 232 204",13:"209 244 224",14:"227 252 237",15:"242 255 248"},cyan:{0:"0 22 38",1:"0 32 54",2:"1 42 69",3:"3 65 100",4:"8 89 130",5:"15 114 156",6:"26 138 178",7:"41 161 197",8:"60 182 213",9:"72 192 219",10:"100 210 232",11:"124 227 242",12:"145 239 250",13:"179 244 249",14:"212 251 253",15:"242 255 255"},indigo:{0:"8 2 38",1:"13 4 65",2:"17 5 91",3:"20 7 117",4:"22 9 144",5:"26 13 171",6:"39 32 187",7:"60 63 219",8:"93 94 255",9:"112 117 242",10:"135 146 242",11:"163 175 251",12:"189 198 255",13:"211 214 255",14:"232 233 255",15:"252 253 255"},magenta:{0:"46 5 44",1:"63 6 58",2:"80 8 72",3:"96 11 86",4:"113 13 99",5:"138 23 122",6:"163 38 148",7:"188 61 177",8:"195 87 196",9:"194 116 205",10:"198 145 213",11:"206 172 222",13:"228 215 238",14:"239 231 247",15:"249 244 255",12:"217 195 230"},nude:{0:"20 0 0",1:"33 0 0",2:"46 0 0",3:"67 0 0",4:"89 20 18",5:"110 46 42",6:"132 73 66",7:"154 99 90",8:"175 124 112",9:"188 136 121",10:"200 147 131",11:"222 169 149",12:"230 189 170",13:"239 208 191",14:"247 224 210",15:"255 240 229"}};var v=["Helvetica Neue","Helvetica","Arial","sans-serif"],xe=["Georgia","Times","Times New Roman","serif"],Se={icons:{fallbacks:v,name:"yahoo-icons"},sans:{fallbacks:v,name:"yahoo-sans"},"sans-beta":{fallbacks:v,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:v,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:xe,name:"yahoo-serif-text"},"serif-display":{fallbacks:xe,name:"yahoo-serif-display"}},X={display1:"sans",display2:"sans",display3:"sans",title1:"sans",title2:"sans",title3:"sans",title4:"sans",headline1:"sans",body1:"sans",label1:"sans",label2:"sans",caption1:"sans",caption2:"sans",legal1:"sans"},U={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},V={display1:"black",display2:"extrabold",display3:"extrabold",title1:"bold",title2:"bold",title3:"bold",title4:"bold",headline1:"semibold",body1:"regular",label1:"semibold",label2:"regular",caption1:"semibold",caption2:"regular",legal1:"semibold"},G={display1:"uppercase",display2:"none",display3:"none",title1:"none",title2:"none",title3:"none",title4:"none",headline1:"none",body1:"none",label1:"none",label2:"none",caption1:"none",caption2:"none",legal1:"none"},K={fontSize:{display1:46,display2:37,display3:33,title1:29,title2:25,title3:21,title4:17,headline1:13,body1:13,label1:12,label2:12,caption1:11,caption2:11,legal1:10},lineHeight:{display1:44,display2:44,display3:44,title1:36,title2:32,title3:28,title4:24,headline1:16,body1:16,label1:16,label2:16,caption1:16,caption2:16,legal1:12}},Z={fontSize:{display1:46,display2:38,display3:34,title1:30,title2:26,title3:22,title4:18,headline1:14,body1:14,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...K.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},A={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Z.lineHeight,title2:36,title3:32}},j={fontSize:{...A.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...A.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Y={fontSize:{display1:50,display2:42,display3:38,title1:34,title2:30,title3:26,title4:22,headline1:18,body1:16,label1:16,label2:16,caption1:14,caption2:14,legal1:13},lineHeight:{...j.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},q={fontSize:{display1:52,display2:44,display3:40,title1:36,title2:32,title3:28,title4:26,headline1:20,body1:20,label1:18,label2:18,caption1:16,caption2:16,legal1:15},lineHeight:{...Y.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},_e={fontSize:{display1:54,display2:46,display3:42,title1:38,title2:34,title3:30,title4:28,headline1:22,body1:22,label1:20,label2:20,caption1:18,caption2:18,legal1:17},lineHeight:{...q.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var J={fontFamily:X,fontWeight:V,textTransform:G,avatarSizes:N,iconSizes:P,borderRadius:ie,borderWidth:se,spacing:fe},F={fontFamily:X,fontWeight:V,textTransform:G,avatarSizes:pe,iconSizes:ge,borderRadius:ne,borderWidth:le,spacing:me},p={colorMode:{light:{palette:de,spectrum:ue},dark:{palette:ce,spectrum:ye}},scaleMode:{xSmall:{...J,...K},small:{...J,...Z},medium:{...J,...A},large:{...F,...j},xLarge:{...F,...Y},xxLarge:{...F,...q},xxxLarge:{...F,..._e}},fontFamily:Se};var n="uds",Q=`${n}-spectrum-color`,L=`${n}-font`,he=`${n}-icon-size`,Te=`${n}-avatar-size`,w=`${n}-border-radius`,O=`${n}-border-width`,Re=`${n}-spacing`,z=`${n}-font-size`,W=`${n}-line-height`,Ee=`${n}-font-weight`,Ce=`${n}-text-transform`,k=`${n}-color-mode-dark`,Me=`${n}-color-mode-light`,be=`${n}-scale-mode-xsmall`,ve=`${n}-scale-mode-small`,Ae=`${n}-scale-mode-medium`,Fe=`${n}-scale-mode-large`,Le=`${n}-scale-mode-xlarge`,we=`${n}-scale-mode-xxlarge`,Oe=`${n}-scale-mode-xxxlarge`;var x1=`--${n}-font-icons`,S1=`--${n}-font-sans`,_1=`--${n}-font-sans-beta`,h1=`--${n}-font-sans-condensed`,T1=`--${n}-font-serif-display`,R1=`--${n}-font-serif-text`;var ze="light",u="large";function f(o){return Object.entries(o)}function I(o){return Object.fromEntries(o)}function l(o,e){return Object.keys(o).reduce((t,r,a)=>(t[r]=e(o[r],r,a),t),{})}function We(o){let{palette:e,spectrum:t}=o,r={},a={spectrum:{},palette:{}};for(let[s,i]of f(t))for(let[d,g]of f(i)){let x=`${s}-${d}`,c=`--${Q}-${x}`;a.spectrum[s]||(a.spectrum[s]={}),a.spectrum[s][d]=`rgb(var(${c}))`,r[c]=g}return f(e).forEach(([s,i])=>{for(let[d,{hue:g,step:x,opacity:c}]of Object.entries(i)){s in a.palette||(a.palette[s]={});let C=`--${n}-${s}-color-${d}`;r[C]=`var(--${Q}-${g}-${x})`,a.palette[s][d]=c?`rgb(var(${C}) / ${c})`:`rgb(var(${C}))`}}),{_vars:r,_raw:o,tailwindConfig:a}}function Ze(o){let e={},t={};for(let[r,a="regular"]of f(o)){let s=`--${Ee}-${r}`,i=U[a];e[s]=i,t[r]=`var(${s})`}return{_vars:e,_raw:o,tailwindConfig:{...U,...t}}}function ke(o,e,t){let r={},a={};for(let[s,i]of f(e)){let d=`--${o}-${s}`,g=t?t(i):i;r[d]=g,a[s]=`var(${d})`}return{_vars:r,_raw:e,tailwindConfig:a}}function T(o,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let t={},r={};for(let[a,s]of f(e)){let i=`--${o}-${a}`,d=`${s}px`;t[i]=d,r[a]=`var(${i})`}return{_vars:t,_raw:e,tailwindConfig:r}}function je(o){return l(o,(e,t)=>{let{fallbacks:r=[]}=e??{};return[`var(--${L}-${t})`,...r]})}function ee(o){let{colorMode:e,scaleMode:t,fontFamily:r}=o;return{...o,colorMode:{light:We(e.light),dark:We(e.dark)},scaleMode:l(t,({borderRadius:a,borderWidth:s,spacing:i,fontSize:d,lineHeight:g,fontFamily:x,fontWeight:c,textTransform:C,avatarSizes:$,iconSizes:D})=>({fontFamily:ke(L,x,H=>`var(--${L}-${H})`),fontSize:T(z,d),fontWeight:Ze(c),lineHeight:T(W,g),textTransform:ke(Ce,C),borderRadius:T(w,a),borderWidth:T(O,s),spacing:T(Re,i),avatarSizes:T(Te,$),iconSizes:T(he,D)})),fontFamily:je(r)}}var De=re(require("tailwindcss/plugin"),1);var y=require("@yahoo/uds/fixtures");var _=re(require("tailwindcss/defaultTheme"),1),Ie={display1:"6xl",display2:"5xl",display3:"4xl",title1:"3xl",title2:"2xl",title3:"xl",title4:"lg",headline1:"base",body1:"base",label1:"sm",label2:"sm",caption1:"xs",caption2:"xs"},Ye={none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",14:"14"},qe={xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},Je={thin:"DEFAULT",medium:"2",thick:"4"},m={fontSize:Ie,lineHeight:Ie,spacing:Ye,borderRadius:qe,borderWidth:Je};function R(o){return o.endsWith("rem")?parseFloat(o)*16:parseFloat(o)}var M={...p.scaleMode[u],fontSize:{...p.scaleMode[u].fontSize,...l(m.fontSize,o=>R(_.default.fontSize[o][0]))},lineHeight:{...p.scaleMode[u].fontSize,...l(m.lineHeight,o=>R(_.default.fontSize[o][1].lineHeight)),display1:R(_.default.fontSize[m.fontSize.display1][0]),display2:R(_.default.fontSize[m.fontSize.display2][0])},fontWeight:l(p.scaleMode[u].fontWeight,()=>"regular"),spacing:{...p.scaleMode[u].spacing,...l(m.spacing,o=>R(_.default.spacing[o]))},borderRadius:{...p.scaleMode[u].borderRadius,...l(m.borderRadius,o=>R(_.default.borderRadius[o]))},borderWidth:{...p.scaleMode[u].borderWidth,...l(m.borderWidth,o=>R(_.default.borderWidth[o]))}};function E(o){return{...p.scaleMode[o],fontWeight:M.fontWeight,fontSize:l(M.fontSize,(e,t)=>e+y.fontSizeRamp[o][t]),lineHeight:l(M.lineHeight,(e,t)=>e+y.lineHeightRamp[o][t]),spacing:l(M.spacing,(e,t)=>e+y.spacingRamp[o][t]),borderRadius:l(M.borderRadius,(e,t)=>e+y.borderRadiusRamp[o][t]),borderWidth:l(M.borderWidth,(e,t)=>e+y.borderWidthRamp[o][t])}}var $e={...p,scaleMode:{xSmall:E("xSmall"),small:E("small"),medium:E("medium"),large:E("large"),xLarge:E("xLarge"),xxLarge:E("xxLarge"),xxxLarge:E("xxxLarge")}};var Qe=De.default.withOptions(function({config:o=p}){let e=ee(o),t=e.colorMode.light._vars,r={...e.scaleMode.large.borderRadius._vars,...e.scaleMode.large.borderWidth._vars,...e.scaleMode.large.avatarSizes._vars,...e.scaleMode.large.iconSizes._vars,...e.scaleMode.large.spacing._vars,...e.scaleMode.large.fontFamily._vars,...e.scaleMode.large.fontSize._vars,...e.scaleMode.large.fontWeight._vars,...e.scaleMode.large.lineHeight._vars,...e.scaleMode.large.textTransform._vars};return function({addBase:a,matchUtilities:s}){a({":root":{...t,...r},[`.${Me}`]:t,[`.${Fe}`]:r,[`.${k}`]:{...e.colorMode.dark._vars},[`.${be}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._vars,...e.scaleMode.xSmall.spacing._vars,...e.scaleMode.xSmall.fontFamily._vars,...e.scaleMode.xSmall.fontSize._vars,...e.scaleMode.xSmall.fontWeight._vars,...e.scaleMode.xSmall.lineHeight._vars,...e.scaleMode.xSmall.textTransform._vars},[`.${ve}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._vars,...e.scaleMode.small.spacing._vars,...e.scaleMode.small.fontFamily._vars,...e.scaleMode.small.fontSize._vars,...e.scaleMode.small.fontWeight._vars,...e.scaleMode.small.lineHeight._vars,...e.scaleMode.small.textTransform._vars},[`.${Ae}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._vars,...e.scaleMode.medium.spacing._vars,...e.scaleMode.medium.fontFamily._vars,...e.scaleMode.medium.fontSize._vars,...e.scaleMode.medium.fontWeight._vars,...e.scaleMode.medium.lineHeight._vars,...e.scaleMode.medium.textTransform._vars},[`.${Le}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._vars,...e.scaleMode.xLarge.spacing._vars,...e.scaleMode.xLarge.fontFamily._vars,...e.scaleMode.xLarge.fontSize._vars,...e.scaleMode.xLarge.fontWeight._vars,...e.scaleMode.xLarge.lineHeight._vars,...e.scaleMode.xLarge.textTransform._vars},[`.${we}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._vars,...e.scaleMode.xxLarge.spacing._vars,...e.scaleMode.xxLarge.fontFamily._vars,...e.scaleMode.xxLarge.fontSize._vars,...e.scaleMode.xxLarge.fontWeight._vars,...e.scaleMode.xxLarge.lineHeight._vars,...e.scaleMode.xxLarge.textTransform._vars},[`.${Oe}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._vars,...e.scaleMode.xxxLarge.spacing._vars,...e.scaleMode.xxxLarge.fontFamily._vars,...e.scaleMode.xxxLarge.fontSize._vars,...e.scaleMode.xxxLarge.fontWeight._vars,...e.scaleMode.xxxLarge.lineHeight._vars,...e.scaleMode.xxxLarge.textTransform._vars}}),s({iconSize:i=>({width:i,height:i,fontSize:i,lineHeight:i})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),s({avatarSize:i=>({width:i,height:i})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),s({case:i=>({"text-transform":i})},{values:e.scaleMode.large.textTransform.tailwindConfig}),s({"font-weight":i=>({"font-weight":i})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),s({"font-size":i=>({"font-size":i})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:o=p,safelist:e=[]}){let t=ee(o),r=t.colorMode[ze].tailwindConfig,a=t.scaleMode[u],s=l(r.spectrum,(S,h)=>({...S,...oe.tailwindColorsAsUds[h]})),i=r.palette.core,d={...oe.tailwindColorsAsUds,...s,...B,...i},g=r.palette.foreground,x=r.palette.background,c=r.palette.line,$=I(f(m.fontSize).map(([S,h])=>[h,[`var(--${z}-${S})`,{lineHeight:`var(--${W}-${S})`}]])),D=a.spacing.tailwindConfig,H=I(f(m.borderRadius).map(([S,h])=>[h,`var(--${w}-${S})`])),He={...a.borderRadius.tailwindConfig,...H},Be=I(f(m.borderWidth).map(([S,h])=>[h,`var(--${O}-${S})`])),te={...a.borderWidth.tailwindConfig,...Be};return{darkMode:["class",k],safelist:[k,...e],theme:{extend:{aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',invalid:'aria-invalid="true"'},data:{active:'active="true"',"active-item":'active-item="true"',autofill:'autofill="true"',backdrop:'backdrop="true"',enter:'enter="true"',leave:'leave="true"',"focus-visible":'focus-visible="true"'},animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"},borderRadius:He,borderWidth:te,outlineWidth:te,fontFamily:{...t.fontFamily,...a.fontFamily.tailwindConfig},fontSize:$,lineHeight:a.lineHeight.tailwindConfig,spacing:D,colors:d,backgroundColor:x,textColor:g,borderColor:c,fill:x,caretColor:g,placeholderColor:g,textDecorationColor:g,divideColor:c,outlineColor:c,ringColor:c,ringOffsetColor:c,stroke:c}}}});0&&(module.exports={defaultTailwindThemeAsUdsConfig,tailwindPlugin});
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-COiuE8XK.cjs';
2
+ import { U as UniversalTokensConfig } from './types-D-ttCAsE.cjs';
3
3
  import 'react';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { U as UniversalTokensConfig } from './types-COiuE8XK.js';
2
+ import { U as UniversalTokensConfig } from './types-D-ttCAsE.js';
3
3
  import 'react';
4
4
 
5
5
  /**