@yahoo/uds 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/cli/utils/purgeCSS.ts +1 -4
  2. package/dist/{Image.native-CyJCMvgr.d.cts → Image.native-CfDCpWe_.d.cts} +1 -1
  3. package/dist/{Image.native-M50LC-q7.d.ts → Image.native-nwk5tr_f.d.ts} +1 -1
  4. package/dist/{VStack-fSE_ityd.d.ts → VStack-Bj6PfbK5.d.ts} +1 -1
  5. package/dist/{VStack-R8SACz7K.d.cts → VStack-D-py89Ge.d.cts} +1 -1
  6. package/dist/experimental/index.cjs +1 -1
  7. package/dist/experimental/index.d.cts +2 -2
  8. package/dist/experimental/index.d.ts +2 -2
  9. package/dist/experimental/index.js +1 -1
  10. package/dist/experimental/index.native.cjs +1 -1
  11. package/dist/experimental/index.native.d.cts +3 -3
  12. package/dist/experimental/index.native.d.ts +3 -3
  13. package/dist/experimental/index.native.js +1 -1
  14. package/dist/fixtures.cjs +60 -124
  15. package/dist/fixtures.d.ts +3 -10
  16. package/dist/fixtures.js +59 -123
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +21 -21
  19. package/dist/index.d.ts +21 -21
  20. package/dist/index.js +1 -1
  21. package/dist/{index.native-BstClKbg.d.cts → index.native-A2gCijBH.d.cts} +1 -1
  22. package/dist/{index.native-DtdUtCNu.d.ts → index.native-BLJdXZHY.d.ts} +1 -1
  23. package/dist/index.native.cjs +1 -1
  24. package/dist/index.native.d.cts +5 -9
  25. package/dist/index.native.d.ts +5 -9
  26. package/dist/index.native.js +1 -1
  27. package/dist/tailwind/plugin.cjs +1 -1
  28. package/dist/tailwind/plugin.d.cts +1 -1
  29. package/dist/tailwind/plugin.d.ts +1 -1
  30. package/dist/tailwind/plugin.js +1 -1
  31. package/dist/tailwind/purger.cjs +4 -0
  32. package/dist/tailwind/purger.d.cts +20 -0
  33. package/dist/tailwind/purger.d.ts +20 -0
  34. package/dist/tailwind/purger.js +4 -0
  35. package/dist/tailwind/tsMorph.cjs +1 -0
  36. package/dist/tailwind/tsMorph.d.cts +25 -0
  37. package/dist/tailwind/tsMorph.d.ts +25 -0
  38. package/dist/tailwind/tsMorph.js +1 -0
  39. package/dist/tokens/index.cjs +1 -1
  40. package/dist/tokens/index.d.cts +3 -4
  41. package/dist/tokens/index.d.ts +3 -4
  42. package/dist/tokens/index.js +1 -1
  43. package/dist/tokens/index.native.cjs +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/index.native.js +1 -1
  47. package/dist/tokens/parseTokens.cjs +1 -1
  48. package/dist/tokens/parseTokens.d.cts +1 -2
  49. package/dist/tokens/parseTokens.d.ts +1 -2
  50. package/dist/tokens/parseTokens.js +1 -1
  51. package/dist/{types-BN1X8QcB.d.cts → types-Diou6f1Q.d.cts} +1 -2
  52. package/dist/{types-BN1X8QcB.d.ts → types-Diou6f1Q.d.ts} +1 -2
  53. package/dist/{types-DRP5tWZG.d.cts → types-Dk8fLx7L.d.cts} +2 -3
  54. package/dist/{types-DRP5tWZG.d.ts → types-Dk8fLx7L.d.ts} +2 -3
  55. package/package.json +1 -1
@@ -1 +1 @@
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
+ import{forwardRef as Tt}from"react";var pe={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},se={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ce={none:0,thin:1,medium:2,thick:2},me={none:0,thin:1,medium:2,thick:4};var ge={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"}}},fe={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"}}},xo={white:"#ffffff",black:"#000000",transparent:"transparent"};var Lo={s:16,m:24,l:32},ue=Lo,Io={sm:16,md:24,lg:32},be=Io;var ye={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"}},Se={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 Ro=["Helvetica Neue","Helvetica","Arial","sans-serif"],he=["Georgia","Times","Times New Roman","serif"],No={icons:{fallbacks:Ro,name:"yahoo-icons"},sans:{fallbacks:Ro,name:"yahoo-sans"},"sans-beta":{fallbacks:Ro,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ro,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:he,name:"yahoo-serif-text"},"serif-display":{fallbacks:he,name:"yahoo-serif-display"}},$o={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"},w={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Uo={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"},Xo={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"},jo={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}},Ko={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:{...jo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Fo={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:{...Ko.lineHeight,title2:36,title3:32}},Yo={fontSize:{...Fo.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Fo.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},Zo={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:{...Yo.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},qo={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:{...Zo.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},xe={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:{...qo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var Jo={fontFamily:$o,fontWeight:Uo,textTransform:Xo,avatarSizes:Lo,iconSizes:Io,borderRadius:pe,borderWidth:ce},wo={fontFamily:$o,fontWeight:Uo,textTransform:Xo,avatarSizes:ue,iconSizes:be,borderRadius:se,borderWidth:me},Mo={colorMode:{light:{palette:ge,spectrum:ye},dark:{palette:fe,spectrum:Se}},scaleMode:{xSmall:{...Jo,...jo},small:{...Jo,...Ko},medium:{...Jo,...Fo},large:{...wo,...Yo},xLarge:{...wo,...Zo},xxLarge:{...wo,...qo},xxxLarge:{...wo,...xe}},fontFamily:No};var b="uds",Ir=`${b}-spectrum-color`,Nr=`${b}-font`,$r=`${b}-icon-size`,Ur=`${b}-avatar-size`,Xr=`${b}-border-radius`,jr=`${b}-border-width`,Kr=`${b}-font-size`,Yr=`${b}-line-height`,Zr=`${b}-font-weight`,qr=`${b}-text-transform`,Jr=`${b}-color-mode-dark`,dt=`${b}-color-mode-light`,Qr=`${b}-scale-mode-xsmall`,on=`${b}-scale-mode-small`,en=`${b}-scale-mode-medium`,pt=`${b}-scale-mode-large`,tn=`${b}-scale-mode-xlarge`,rn=`${b}-scale-mode-xxlarge`,nn=`${b}-scale-mode-xxxlarge`,an=dt,ln=pt,dn=`--${b}-font-icons`,pn=`--${b}-font-sans`,sn=`--${b}-font-sans-beta`,cn=`--${b}-font-sans-condensed`,mn=`--${b}-font-serif-display`,gn=`--${b}-font-serif-text`;var Po="system",vo="system",mo="light",go="large",un=!1,bn="\u{1F1FA}\u{1F1F8} US";function Sn(t){return Object.entries(t)}function xn(t){return Object.fromEntries(t)}function Ao(t,r){return Object.keys(t).reduce((n,i,a)=>(n[i]=r(t[i],i,a),n),{})}import{createContext as yt,memo as St,useContext as Fe,useMemo as ht}from"react";import{spacingMap as o,textVariants as st}from"@yahoo/uds/fixtures";function Ce({spectrum:t,palette:r}){let n=Ao(t,a=>Ao(a,l=>`rgb(${l.replaceAll(" ",",")})`)),i=Ao(r,a=>Object.entries(a).reduce((l,[m,{hue:e,step:d,opacity:f}])=>{let s=t[e][d],c=f?`rgb(${s.replaceAll(" ",",")} / ${f})`:`rgb(${s.replaceAll(" ",",")})`;return{...l,[m]:c}},{}));return{spectrum:n,palette:i}}function Te({colorMode:t,...r}){return{...r,colorMode:{light:Ce(t.light),dark:Ce(t.dark)}}}function Qo(t){return typeof t=="boolean"?`${t}`:t===0?"0":t}var T={};function oe({colorMode:t,scaleMode:r},n){let{colorMode:i,scaleMode:a,fontFamily:l,...m}=Te(n),e={fontFamilyGlobal:l,...m,...i[t],...a[r]},d=Object.assign,f=function(M){return function(p){let F={};if(!M?.variants)return d(F,M?.base);let{base:G,variants:po,defaultVariants:so,compoundVariants:co}=M;G&&d(F,G);function Oo(yo){if(yo){let{style:uo,...Co}=yo;for(let So in Co){let ho=po[So],To=p?.[So],Do=so?.[So],Go=Qo(To)||Qo(Do);if(Go&&Go in ho){let lt=ho[Go];d(F,lt)}}uo&&d(F,uo)}}if(Oo(p),co&&co?.length>0)for(let yo of co){let{style:uo,...Co}=yo;Object.entries(Co).every(([ho,To])=>p?.[ho]===To)&&uo&&d(F,uo)}return p?.style&&d(F,p.style),F}},s=e.palette.core.accent,c=e.palette.core.alert,u=e.palette.core.brand,y=e.palette.core.positive,S=e.palette.core.warning,h=xo.white,x=xo.black,C=xo.transparent,k=e.palette.foreground.muted,W=e.palette.foreground["on-color"],B=e.palette.foreground.primary,H=e.palette.foreground.secondary,V=e.palette.foreground.tertiary,_=e.palette.background.primary,O=e.palette.background.secondary,P=e.palette.line.primary,v=e.palette.line.secondary,E=e.palette.line.tertiary,R=e.palette.line.muted,g=e.fontFamilyGlobal,L=g.sans.name,I=g["sans-beta"].name,N=g["sans-condensed"].name,$=g["serif-text"].name,U=g["serif-display"].name,X=g[e.fontFamily.display1].name,j=g[e.fontFamily.display2].name,K=g[e.fontFamily.display3].name,Y=g[e.fontFamily.title1].name,Z=g[e.fontFamily.title2].name,q=g[e.fontFamily.title3].name,J=g[e.fontFamily.title4].name,Q=g[e.fontFamily.headline1].name,oo=g[e.fontFamily.body1].name,eo=g[e.fontFamily.label1].name,to=g[e.fontFamily.label2].name,ro=g[e.fontFamily.caption1].name,no=g[e.fontFamily.caption2].name,io=g[e.fontFamily.legal1].name;function ao(A){return!!(typeof A=="string"&&st.includes(A))}function lo({style:A,...M}){let D={},p;ao(M.fontWeight)?p=e.fontWeight[M.fontWeight]:p="regular";let F=f({variants:{color:{accent:{color:s},alert:{color:c},black:{color:x},brand:{color:u},positive:{color:y},warning:{color:S},white:{color:h},transparent:{color:C},muted:{color:k},"on-color":{color:W},primary:{color:B},secondary:{color:H},tertiary:{color:V}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${L}-${p}`},"sans-beta":{fontFamily:`${I}-${p}`},"sans-condensed":{fontFamily:`${N}-${p}`},"serif-text":{fontFamily:`${$}-${p}`},"serif-display":{fontFamily:`${U}-${p}`},display1:{fontFamily:`${X}-${p}`},display2:{fontFamily:`${j}-${p}`},display3:{fontFamily:`${K}-${p}`},title1:{fontFamily:`${Y}-${p}`},title2:{fontFamily:`${Z}-${p}`},title3:{fontFamily:`${q}-${p}`},title4:{fontFamily:`${J}-${p}`},headline1:{fontFamily:`${Q}-${p}`},body1:{fontFamily:`${oo}-${p}`},label1:{fontFamily:`${eo}-${p}`},label2:{fontFamily:`${to}-${p}`},caption1:{fontFamily:`${ro}-${p}`},caption2:{fontFamily:`${no}-${p}`},legal1:{fontFamily:`${io}-${p}`}},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:w[e.fontWeight.display1]},display2:{fontWeight:w[e.fontWeight.display2]},display3:{fontWeight:w[e.fontWeight.display3]},title1:{fontWeight:w[e.fontWeight.title1]},title2:{fontWeight:w[e.fontWeight.title2]},title3:{fontWeight:w[e.fontWeight.title3]},title4:{fontWeight:w[e.fontWeight.title4]},headline1:{fontWeight:w[e.fontWeight.headline1]},body1:{fontWeight:w[e.fontWeight.body1]},label1:{fontWeight:w[e.fontWeight.label1]},label2:{fontWeight:w[e.fontWeight.label2]},caption1:{fontWeight:w[e.fontWeight.caption1]},caption2:{fontWeight:w[e.fontWeight.caption2]},legal1:{fontWeight:w[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:s},alert:{backgroundColor:c},black:{backgroundColor:x},brand:{backgroundColor:u},positive:{backgroundColor:y},warning:{backgroundColor:S},white:{backgroundColor:h},primary:{backgroundColor:_},secondary:{backgroundColor:O},transparent:{backgroundColor:C}},spacing:{0:{padding:o[0]},px:{padding:o.px},"0.5":{padding:o["0.5"]},1:{padding:o[1]},"1.5":{padding:o["1.5"]},2:{padding:o[2]},"2.5":{padding:o["2.5"]},3:{padding:o[3]},"3.5":{padding:o["3.5"]},4:{padding:o[4]},5:{padding:o[5]},6:{padding:o[6]},7:{padding:o[7]},8:{padding:o[8]},9:{padding:o[9]},10:{padding:o[10]},11:{padding:o[11]},12:{padding:o[12]},14:{padding:o[14]},16:{padding:o[16]},20:{padding:o[20]},24:{padding:o[24]},28:{padding:o[28]},32:{padding:o[32]},36:{padding:o[36]},40:{padding:o[40]},44:{padding:o[44]},48:{padding:o[48]},52:{padding:o[52]},56:{padding:o[56]},60:{padding:o[60]},64:{padding:o[64]},72:{padding:o[72]},80:{padding:o[80]},96:{padding:o[96]}},spacingHorizontal:{0:{paddingHorizontal:o[0]},px:{paddingHorizontal:o.px},"0.5":{paddingHorizontal:o["0.5"]},1:{paddingHorizontal:o[1]},"1.5":{paddingHorizontal:o["1.5"]},2:{paddingHorizontal:o[2]},"2.5":{paddingHorizontal:o["2.5"]},3:{paddingHorizontal:o[3]},"3.5":{paddingHorizontal:o["3.5"]},4:{paddingHorizontal:o[4]},5:{paddingHorizontal:o[5]},6:{paddingHorizontal:o[6]},7:{paddingHorizontal:o[7]},8:{paddingHorizontal:o[8]},9:{paddingHorizontal:o[9]},10:{paddingHorizontal:o[10]},11:{paddingHorizontal:o[11]},12:{paddingHorizontal:o[12]},14:{paddingHorizontal:o[14]},16:{paddingHorizontal:o[16]},20:{paddingHorizontal:o[20]},24:{paddingHorizontal:o[24]},28:{paddingHorizontal:o[28]},32:{paddingHorizontal:o[32]},36:{paddingHorizontal:o[36]},40:{paddingHorizontal:o[40]},44:{paddingHorizontal:o[44]},48:{paddingHorizontal:o[48]},52:{paddingHorizontal:o[52]},56:{paddingHorizontal:o[56]},60:{paddingHorizontal:o[60]},64:{paddingHorizontal:o[64]},72:{paddingHorizontal:o[72]},80:{paddingHorizontal:o[80]},96:{paddingHorizontal:o[96]}},spacingVertical:{0:{paddingVertical:o[0]},px:{paddingVertical:o.px},"0.5":{paddingVertical:o["0.5"]},1:{paddingVertical:o[1]},"1.5":{paddingVertical:o["1.5"]},2:{paddingVertical:o[2]},"2.5":{paddingVertical:o["2.5"]},3:{paddingVertical:o[3]},"3.5":{paddingVertical:o["3.5"]},4:{paddingVertical:o[4]},5:{paddingVertical:o[5]},6:{paddingVertical:o[6]},7:{paddingVertical:o[7]},8:{paddingVertical:o[8]},9:{paddingVertical:o[9]},10:{paddingVertical:o[10]},11:{paddingVertical:o[11]},12:{paddingVertical:o[12]},14:{paddingVertical:o[14]},16:{paddingVertical:o[16]},20:{paddingVertical:o[20]},24:{paddingVertical:o[24]},28:{paddingVertical:o[28]},32:{paddingVertical:o[32]},36:{paddingVertical:o[36]},40:{paddingVertical:o[40]},44:{paddingVertical:o[44]},48:{paddingVertical:o[48]},52:{paddingVertical:o[52]},56:{paddingVertical:o[56]},60:{paddingVertical:o[60]},64:{paddingVertical:o[64]},72:{paddingVertical:o[72]},80:{paddingVertical:o[80]},96:{paddingVertical:o[96]}},spacingBottom:{0:{paddingBottom:o[0]},px:{paddingBottom:o.px},"0.5":{paddingBottom:o["0.5"]},1:{paddingBottom:o[1]},"1.5":{paddingBottom:o["1.5"]},2:{paddingBottom:o[2]},"2.5":{paddingBottom:o["2.5"]},3:{paddingBottom:o[3]},"3.5":{paddingBottom:o["3.5"]},4:{paddingBottom:o[4]},5:{paddingBottom:o[5]},6:{paddingBottom:o[6]},7:{paddingBottom:o[7]},8:{paddingBottom:o[8]},9:{paddingBottom:o[9]},10:{paddingBottom:o[10]},11:{paddingBottom:o[11]},12:{paddingBottom:o[12]},14:{paddingBottom:o[14]},16:{paddingBottom:o[16]},20:{paddingBottom:o[20]},24:{paddingBottom:o[24]},28:{paddingBottom:o[28]},32:{paddingBottom:o[32]},36:{paddingBottom:o[36]},40:{paddingBottom:o[40]},44:{paddingBottom:o[44]},48:{paddingBottom:o[48]},52:{paddingBottom:o[52]},56:{paddingBottom:o[56]},60:{paddingBottom:o[60]},64:{paddingBottom:o[64]},72:{paddingBottom:o[72]},80:{paddingBottom:o[80]},96:{paddingBottom:o[96]}},spacingEnd:{0:{paddingEnd:o[0]},px:{paddingEnd:o.px},"0.5":{paddingEnd:o["0.5"]},1:{paddingEnd:o[1]},"1.5":{paddingEnd:o["1.5"]},2:{paddingEnd:o[2]},"2.5":{paddingEnd:o["2.5"]},3:{paddingEnd:o[3]},"3.5":{paddingEnd:o["3.5"]},4:{paddingEnd:o[4]},5:{paddingEnd:o[5]},6:{paddingEnd:o[6]},7:{paddingEnd:o[7]},8:{paddingEnd:o[8]},9:{paddingEnd:o[9]},10:{paddingEnd:o[10]},11:{paddingEnd:o[11]},12:{paddingEnd:o[12]},14:{paddingEnd:o[14]},16:{paddingEnd:o[16]},20:{paddingEnd:o[20]},24:{paddingEnd:o[24]},28:{paddingEnd:o[28]},32:{paddingEnd:o[32]},36:{paddingEnd:o[36]},40:{paddingEnd:o[40]},44:{paddingEnd:o[44]},48:{paddingEnd:o[48]},52:{paddingEnd:o[52]},56:{paddingEnd:o[56]},60:{paddingEnd:o[60]},64:{paddingEnd:o[64]},72:{paddingEnd:o[72]},80:{paddingEnd:o[80]},96:{paddingEnd:o[96]}},spacingStart:{0:{paddingStart:o[0]},px:{paddingStart:o.px},"0.5":{paddingStart:o["0.5"]},1:{paddingStart:o[1]},"1.5":{paddingStart:o["1.5"]},2:{paddingStart:o[2]},"2.5":{paddingStart:o["2.5"]},3:{paddingStart:o[3]},"3.5":{paddingStart:o["3.5"]},4:{paddingStart:o[4]},5:{paddingStart:o[5]},6:{paddingStart:o[6]},7:{paddingStart:o[7]},8:{paddingStart:o[8]},9:{paddingStart:o[9]},10:{paddingStart:o[10]},11:{paddingStart:o[11]},12:{paddingStart:o[12]},14:{paddingStart:o[14]},16:{paddingStart:o[16]},20:{paddingStart:o[20]},24:{paddingStart:o[24]},28:{paddingStart:o[28]},32:{paddingStart:o[32]},36:{paddingStart:o[36]},40:{paddingStart:o[40]},44:{paddingStart:o[44]},48:{paddingStart:o[48]},52:{paddingStart:o[52]},56:{paddingStart:o[56]},60:{paddingStart:o[60]},64:{paddingStart:o[64]},72:{paddingStart:o[72]},80:{paddingStart:o[80]},96:{paddingStart:o[96]}},spacingTop:{0:{paddingTop:o[0]},px:{paddingTop:o.px},"0.5":{paddingTop:o["0.5"]},1:{paddingTop:o[1]},"1.5":{paddingTop:o["1.5"]},2:{paddingTop:o[2]},"2.5":{paddingTop:o["2.5"]},3:{paddingTop:o[3]},"3.5":{paddingTop:o["3.5"]},4:{paddingTop:o[4]},5:{paddingTop:o[5]},6:{paddingTop:o[6]},7:{paddingTop:o[7]},8:{paddingTop:o[8]},9:{paddingTop:o[9]},10:{paddingTop:o[10]},11:{paddingTop:o[11]},12:{paddingTop:o[12]},14:{paddingTop:o[14]},16:{paddingTop:o[16]},20:{paddingTop:o[20]},24:{paddingTop:o[24]},28:{paddingTop:o[28]},32:{paddingTop:o[32]},36:{paddingTop:o[36]},40:{paddingTop:o[40]},44:{paddingTop:o[44]},48:{paddingTop:o[48]},52:{paddingTop:o[52]},56:{paddingTop:o[56]},60:{paddingTop:o[60]},64:{paddingTop:o[64]},72:{paddingTop:o[72]},80:{paddingTop:o[80]},96:{paddingTop:o[96]}},offset:{0:{margin:-o[0]},px:{margin:-o.px},"0.5":{margin:-o["0.5"]},1:{margin:-o[1]},"1.5":{margin:-o["1.5"]},2:{margin:-o[2]},"2.5":{margin:-o["2.5"]},3:{margin:-o[3]},"3.5":{margin:-o["3.5"]},4:{margin:-o[4]},5:{margin:-o[5]},6:{margin:-o[6]},7:{margin:-o[7]},8:{margin:-o[8]},9:{margin:-o[9]},10:{margin:-o[10]},11:{margin:-o[11]},12:{margin:-o[12]},14:{margin:-o[14]},16:{margin:-o[16]},20:{margin:-o[20]},24:{margin:-o[24]},28:{margin:-o[28]},32:{margin:-o[32]},36:{margin:-o[36]},40:{margin:-o[40]},44:{margin:-o[44]},48:{margin:-o[48]},52:{margin:-o[52]},56:{margin:-o[56]},60:{margin:-o[60]},64:{margin:-o[64]},72:{margin:-o[72]},80:{margin:-o[80]},96:{margin:-o[96]}},offsetVertical:{0:{marginVertical:o[0]},px:{marginVertical:o.px},"0.5":{marginVertical:o["0.5"]},1:{marginVertical:o[1]},"1.5":{marginVertical:o["1.5"]},2:{marginVertical:o[2]},"2.5":{marginVertical:o["2.5"]},3:{marginVertical:o[3]},"3.5":{marginVertical:o["3.5"]},4:{marginVertical:o[4]},5:{marginVertical:o[5]},6:{marginVertical:o[6]},7:{marginVertical:o[7]},8:{marginVertical:o[8]},9:{marginVertical:o[9]},10:{marginVertical:o[10]},11:{marginVertical:o[11]},12:{marginVertical:o[12]},14:{marginVertical:o[14]},16:{marginVertical:o[16]},20:{marginVertical:o[20]},24:{marginVertical:o[24]},28:{marginVertical:o[28]},32:{marginVertical:o[32]},36:{marginVertical:o[36]},40:{marginVertical:o[40]},44:{marginVertical:o[44]},48:{marginVertical:o[48]},52:{marginVertical:o[52]},56:{marginVertical:o[56]},60:{marginVertical:o[60]},64:{marginVertical:o[64]},72:{marginVertical:o[72]},80:{marginVertical:o[80]},96:{marginVertical:o[96]}},offsetHorizontal:{0:{marginHorizontal:o[0]},px:{marginHorizontal:o.px},"0.5":{marginHorizontal:o["0.5"]},1:{marginHorizontal:o[1]},"1.5":{marginHorizontal:o["1.5"]},2:{marginHorizontal:o[2]},"2.5":{marginHorizontal:o["2.5"]},3:{marginHorizontal:o[3]},"3.5":{marginHorizontal:o["3.5"]},4:{marginHorizontal:o[4]},5:{marginHorizontal:o[5]},6:{marginHorizontal:o[6]},7:{marginHorizontal:o[7]},8:{marginHorizontal:o[8]},9:{marginHorizontal:o[9]},10:{marginHorizontal:o[10]},11:{marginHorizontal:o[11]},12:{marginHorizontal:o[12]},14:{marginHorizontal:o[14]},16:{marginHorizontal:o[16]},20:{marginHorizontal:o[20]},24:{marginHorizontal:o[24]},28:{marginHorizontal:o[28]},32:{marginHorizontal:o[32]},36:{marginHorizontal:o[36]},40:{marginHorizontal:o[40]},44:{marginHorizontal:o[44]},48:{marginHorizontal:o[48]},52:{marginHorizontal:o[52]},56:{marginHorizontal:o[56]},60:{marginHorizontal:o[60]},64:{marginHorizontal:o[64]},72:{marginHorizontal:o[72]},80:{marginHorizontal:o[80]},96:{marginHorizontal:o[96]}},offsetBottom:{0:{marginBottom:o[0]},px:{marginBottom:o.px},"0.5":{marginBottom:o["0.5"]},1:{marginBottom:o[1]},"1.5":{marginBottom:o["1.5"]},2:{marginBottom:o[2]},"2.5":{marginBottom:o["2.5"]},3:{marginBottom:o[3]},"3.5":{marginBottom:o["3.5"]},4:{marginBottom:o[4]},5:{marginBottom:o[5]},6:{marginBottom:o[6]},7:{marginBottom:o[7]},8:{marginBottom:o[8]},9:{marginBottom:o[9]},10:{marginBottom:o[10]},11:{marginBottom:o[11]},12:{marginBottom:o[12]},14:{marginBottom:o[14]},16:{marginBottom:o[16]},20:{marginBottom:o[20]},24:{marginBottom:o[24]},28:{marginBottom:o[28]},32:{marginBottom:o[32]},36:{marginBottom:o[36]},40:{marginBottom:o[40]},44:{marginBottom:o[44]},48:{marginBottom:o[48]},52:{marginBottom:o[52]},56:{marginBottom:o[56]},60:{marginBottom:o[60]},64:{marginBottom:o[64]},72:{marginBottom:o[72]},80:{marginBottom:o[80]},96:{marginBottom:o[96]}},offsetEnd:{0:{marginEnd:o[0]},px:{marginEnd:o.px},"0.5":{marginEnd:o["0.5"]},1:{marginEnd:o[1]},"1.5":{marginEnd:o["1.5"]},2:{marginEnd:o[2]},"2.5":{marginEnd:o["2.5"]},3:{marginEnd:o[3]},"3.5":{marginEnd:o["3.5"]},4:{marginEnd:o[4]},5:{marginEnd:o[5]},6:{marginEnd:o[6]},7:{marginEnd:o[7]},8:{marginEnd:o[8]},9:{marginEnd:o[9]},10:{marginEnd:o[10]},11:{marginEnd:o[11]},12:{marginEnd:o[12]},14:{marginEnd:o[14]},16:{marginEnd:o[16]},20:{marginEnd:o[20]},24:{marginEnd:o[24]},28:{marginEnd:o[28]},32:{marginEnd:o[32]},36:{marginEnd:o[36]},40:{marginEnd:o[40]},44:{marginEnd:o[44]},48:{marginEnd:o[48]},52:{marginEnd:o[52]},56:{marginEnd:o[56]},60:{marginEnd:o[60]},64:{marginEnd:o[64]},72:{marginEnd:o[72]},80:{marginEnd:o[80]},96:{marginEnd:o[96]}},offsetStart:{0:{marginStart:o[0]},px:{marginStart:o.px},"0.5":{marginStart:o["0.5"]},1:{marginStart:o[1]},"1.5":{marginStart:o["1.5"]},2:{marginStart:o[2]},"2.5":{marginStart:o["2.5"]},3:{marginStart:o[3]},"3.5":{marginStart:o["3.5"]},4:{marginStart:o[4]},5:{marginStart:o[5]},6:{marginStart:o[6]},7:{marginStart:o[7]},8:{marginStart:o[8]},9:{marginStart:o[9]},10:{marginStart:o[10]},11:{marginStart:o[11]},12:{marginStart:o[12]},14:{marginStart:o[14]},16:{marginStart:o[16]},20:{marginStart:o[20]},24:{marginStart:o[24]},28:{marginStart:o[28]},32:{marginStart:o[32]},36:{marginStart:o[36]},40:{marginStart:o[40]},44:{marginStart:o[44]},48:{marginStart:o[48]},52:{marginStart:o[52]},56:{marginStart:o[56]},60:{marginStart:o[60]},64:{marginStart:o[64]},72:{marginStart:o[72]},80:{marginStart:o[80]},96:{marginStart:o[96]}},offsetTop:{0:{marginTop:o[0]},px:{marginTop:o.px},"0.5":{marginTop:o["0.5"]},1:{marginTop:o[1]},"1.5":{marginTop:o["1.5"]},2:{marginTop:o[2]},"2.5":{marginTop:o["2.5"]},3:{marginTop:o[3]},"3.5":{marginTop:o["3.5"]},4:{marginTop:o[4]},5:{marginTop:o[5]},6:{marginTop:o[6]},7:{marginTop:o[7]},8:{marginTop:o[8]},9:{marginTop:o[9]},10:{marginTop:o[10]},11:{marginTop:o[11]},12:{marginTop:o[12]},14:{marginTop:o[14]},16:{marginTop:o[16]},20:{marginTop:o[20]},24:{marginTop:o[24]},28:{marginTop:o[28]},32:{marginTop:o[32]},36:{marginTop:o[36]},40:{marginTop:o[40]},44:{marginTop:o[44]},48:{marginTop:o[48]},52:{marginTop:o[52]},56:{marginTop:o[56]},60:{marginTop:o[60]},64:{marginTop:o[64]},72:{marginTop:o[72]},80:{marginTop:o[80]},96:{marginTop:o[96]}},columnGap:{0:{columnGap:o[0]},px:{columnGap:o.px},"0.5":{columnGap:o["0.5"]},1:{columnGap:o[1]},"1.5":{columnGap:o["1.5"]},2:{columnGap:o[2]},"2.5":{columnGap:o["2.5"]},3:{columnGap:o[3]},"3.5":{columnGap:o["3.5"]},4:{columnGap:o[4]},5:{columnGap:o[5]},6:{columnGap:o[6]},7:{columnGap:o[7]},8:{columnGap:o[8]},9:{columnGap:o[9]},10:{columnGap:o[10]},11:{columnGap:o[11]},12:{columnGap:o[12]},14:{columnGap:o[14]},16:{columnGap:o[16]},20:{columnGap:o[20]},24:{columnGap:o[24]},28:{columnGap:o[28]},32:{columnGap:o[32]},36:{columnGap:o[36]},40:{columnGap:o[40]},44:{columnGap:o[44]},48:{columnGap:o[48]},52:{columnGap:o[52]},56:{columnGap:o[56]},60:{columnGap:o[60]},64:{columnGap:o[64]},72:{columnGap:o[72]},80:{columnGap:o[80]},96:{columnGap:o[96]}},rowGap:{0:{rowGap:o[0]},px:{rowGap:o.px},"0.5":{rowGap:o["0.5"]},1:{rowGap:o[1]},"1.5":{rowGap:o["1.5"]},2:{rowGap:o[2]},"2.5":{rowGap:o["2.5"]},3:{rowGap:o[3]},"3.5":{rowGap:o["3.5"]},4:{rowGap:o[4]},5:{rowGap:o[5]},6:{rowGap:o[6]},7:{rowGap:o[7]},8:{rowGap:o[8]},9:{rowGap:o[9]},10:{rowGap:o[10]},11:{rowGap:o[11]},12:{rowGap:o[12]},14:{rowGap:o[14]},16:{rowGap:o[16]},20:{rowGap:o[20]},24:{rowGap:o[24]},28:{rowGap:o[28]},32:{rowGap:o[32]},36:{rowGap:o[36]},40:{rowGap:o[40]},44:{rowGap:o[44]},48:{rowGap:o[48]},52:{rowGap:o[52]},56:{rowGap:o[56]},60:{rowGap:o[60]},64:{rowGap:o[64]},72:{rowGap:o[72]},80:{rowGap:o[80]},96:{rowGap:o[96]}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":T,"table-cell":T,"table-column":T,"table-column-group":T,"table-footer-group":T,"table-header-group":T,"table-row-group":T,"table-row":T,"flow-root":T,grid:T,contents:T},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:T,fixed:T,absolute:{position:"absolute"},relative:{position:"relative"},sticky:T},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:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnActive:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnFocus:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnHover:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderColorOnChecked:{accent:{borderColor:s},alert:{borderColor:c},black:{borderColor:x},brand:{borderColor:u},positive:{borderColor:y},warning:{borderColor:S},white:{borderColor:h},transparent:{borderColor:C},muted:{borderColor:R},primary:{borderColor:P},secondary:{borderColor:v},tertiary:{borderColor:E}},borderStartColor:{accent:{borderStartColor:s},alert:{borderStartColor:c},black:{borderStartColor:x},brand:{borderStartColor:u},positive:{borderStartColor:y},warning:{borderStartColor:S},white:{borderStartColor:h},transparent:{borderStartColor:C},muted:{borderStartColor:R},primary:{borderStartColor:P},secondary:{borderStartColor:v},tertiary:{borderStartColor:E}},borderEndColor:{accent:{borderEndColor:s},alert:{borderEndColor:c},black:{borderEndColor:x},brand:{borderEndColor:u},positive:{borderEndColor:y},warning:{borderEndColor:S},white:{borderEndColor:h},transparent:{borderEndColor:C},muted:{borderEndColor:R},primary:{borderEndColor:P},secondary:{borderEndColor:v},tertiary:{borderEndColor:E}},borderBottomColor:{accent:{borderBottomColor:s},alert:{borderBottomColor:c},black:{borderBottomColor:x},brand:{borderBottomColor:u},positive:{borderBottomColor:y},warning:{borderBottomColor:S},white:{borderBottomColor:h},transparent:{borderBottomColor:C},muted:{borderBottomColor:R},primary:{borderBottomColor:P},secondary:{borderBottomColor:v},tertiary:{borderBottomColor:E}},borderTopColor:{accent:{borderTopColor:s},alert:{borderTopColor:c},black:{borderTopColor:x},brand:{borderTopColor:u},positive:{borderTopColor:y},warning:{borderTopColor:S},white:{borderTopColor:h},transparent:{borderTopColor:C},muted:{borderTopColor:R},primary:{borderTopColor:P},secondary:{borderTopColor:v},tertiary:{borderTopColor:E}},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:T,cover:T,fill:T,none:T,"scale-down":T},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"}}}})(M);return d(D,F,A)}return{cva:f,getStyles:lo,tokens:e}}var ee=oe({colorMode:mo,scaleMode:go},Mo);import{createContext as ct,useContext as mt}from"react";import{jsx as gt}from"react/jsx-runtime";var Pe=ct(mo);function zo(){return mt(Pe)}function ve({value:t=mo,children:r}){return gt(Pe.Provider,{value:t,children:r})}import{createContext as ft,useContext as ut}from"react";import{jsx as bt}from"react/jsx-runtime";var Ee=ft(go);function te(){let t=ut(Ee);return t||go}function Re({value:t,children:r}){let n=te();return bt(Ee.Provider,{value:t??n,children:r})}import{jsx as xt}from"react/jsx-runtime";var re=yt(ee),we=St(function({children:r,value:n=Mo}){let i=zo(),a=te(),l=ht(()=>n===void 0&&i===mo&&a===go?ee:oe({colorMode:i,scaleMode:a},n),[i,a,n]);return xt(re.Provider,{value:l,children:r})});function z(t){let{getStyles:r}=Fe(re);return r(t)}function Me(){return Fe(re).tokens}import{Children as Eo,cloneElement as ze,forwardRef as ke,isValidElement as ko}from"react";function Ct(t,r){typeof t=="function"?t(r):t!=null&&(t.current=r)}function Ae(...t){return r=>t.forEach(n=>Ct(n,r))}import{jsx as We}from"react/jsx-runtime";function Wo(){let t=ke((l,m)=>{let{children:e,...d}=l,f=Eo.toArray(e),s=f.find(i);if(s){let c=s.props.children,u=f.map(y=>y===s?Eo.count(c)>1?Eo.only(null):ko(c)?c.props.children:null:y);return We(r,{...d,ref:m,children:ko(c)?ze(c,void 0,u):null})}return We(r,{...d,ref:m,children:e})});t.displayName="Slot";let r=ke((l,m)=>{let{children:e,...d}=l;return ko(e)?ze(e,{...a(d,e.props),ref:m?Ae(m,e.ref):e.ref}):Eo.count(e)>1?Eo.only(null):null});r.displayName="SlotClone";let n=({children:l})=>l;function i(l){return ko(l)&&l.type===n}function a(l,m){let e={...m};for(let d in m){let f=l[d],s=m[d];/^on[A-Z]/.test(d)?f&&s?e[d]=(...u)=>{s(...u),f(...u)}:f&&(e[d]=f):d==="style"&&(e[d]={...f,...s})}return{...l,...e}}return t}var Be="RCTView",Bo="RCTText",He=Wo(),Ho=Wo(),Ve=Wo();import{jsx as Pt}from"react/jsx-runtime";var Vo=Tt(function({asChild:r=!1,style:n,backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v="stretch",alignSelf:E,flex:R,flexBasis:g,flexDirection:L="column",flexGrow:I,flexShrink:N,flexWrap:$="nowrap",justifyContent:U="flex-start",display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,...G},po){let so=z({backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,flexBasis:g,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,style:n});return Pt(r?He:Be,{ref:po,style:so,...G})});import{forwardRef as vt}from"react";import{jsx as Et}from"react/jsx-runtime";var Ti=vt(function({gap:r,...n},i){return Et(Vo,{ref:i,flexDirection:"row",rowGap:r,columnGap:r,...n})});import{forwardRef as Rt}from"react";import{jsx as Ft}from"react/jsx-runtime";var _e=Rt(function({style:r,asChild:n=!1,size:i,color:a,name:l,textAlign:m,spacing:e,spacingBottom:d,spacingEnd:f,spacingHorizontal:s,spacingStart:c,spacingTop:u,spacingVertical:y,offset:S,offsetBottom:h,offsetEnd:x,offsetHorizontal:C,offsetStart:k,offsetTop:W,offsetVertical:B,...H},V){let _=z({color:a,fontFamily:"icons",textAlign:m,spacing:e,spacingBottom:d,spacingEnd:f,spacingHorizontal:s,spacingStart:c,spacingTop:u,spacingVertical:y,offset:S,offsetBottom:h,offsetEnd:x,offsetHorizontal:C,offsetStart:k,offsetTop:W,offsetVertical:B,iconSize:i,style:r});return Ft(n?Ho:Bo,{ref:V,maxFontSizeMultiplier:1,allowFontScaling:!1,style:_,...H,children:l})});import{forwardRef as zt}from"react";var ne={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 Oe({variant:t="accent",size:r="s"}){let{color:n,...i}=ne.variant[t],{variant:a,...l}=ne.size[r];return{pressable:{...ne.base,...i,...l},text:{color:n,variant:a,textAlign:"center"},icon:{color:n,size:"sm"}}}import{forwardRef as wt}from"react";import{Pressable as Mt}from"react-native";import{jsx as At}from"react/jsx-runtime";var De=wt(function({style:r,asChild:n=!1,backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexBasis:g,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,...G},po){let so=z({backgroundColor:i,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:m,borderBottomStartRadius:e,borderBottomEndRadius:d,borderColor:f,borderColorOnActive:s,borderColorOnFocus:c,borderColorOnChecked:u,borderColorOnHover:y,borderStartColor:S,borderEndColor:h,borderTopColor:x,borderBottomColor:C,borderWidth:k,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:H,borderEndWidth:V,borderTopWidth:_,borderBottomWidth:O,alignContent:P,alignItems:v,alignSelf:E,flex:R,flexDirection:L,flexGrow:I,flexShrink:N,flexWrap:$,justifyContent:U,flexBasis:g,display:X,overflow:j,overflowX:K,overflowY:Y,position:Z,spacing:q,spacingHorizontal:J,spacingVertical:Q,spacingBottom:oo,spacingEnd:eo,spacingStart:to,spacingTop:ro,offset:no,offsetVertical:io,offsetHorizontal:ao,offsetBottom:lo,offsetEnd:A,offsetStart:M,offsetTop:D,columnGap:p,rowGap:F,style:r});return At(n?Ve:Mt,{style:so,ref:po,...G})});import{jsx as Le}from"react/jsx-runtime";var Ge={s:36,m:48,l:64},kt={},Li=zt(function({variant:r="accent",size:n="s",name:i,style:a=kt,...l},m){let e=Oe({variant:r,size:n});return Le(De,{ref:m,...e.pressable,flexShrink:"0",style:{...a,width:Ge[n],height:Ge[n]},...l,children:Le(_e,{name:i,...e.icon})})});import{Image as Wt}from"expo-image";import{jsx as Bt}from"react/jsx-runtime";function Xi({width:t,height:r,src:n,alt:i,contentFit:a="cover",backgroundColor:l,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:d,borderBottomStartRadius:f,borderBottomEndRadius:s,borderColor:c,borderColorOnActive:u,borderColorOnFocus:y,borderColorOnChecked:S,borderColorOnHover:h,borderStartColor:x,borderEndColor:C,borderTopColor:k,borderBottomColor:W,borderWidth:B,borderVerticalWidth:H,borderHorizontalWidth:V,borderStartWidth:_,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:v,alignContent:E,alignItems:R,alignSelf:g,flex:L,flexDirection:I,flexGrow:N,flexShrink:$="0",flexWrap:U,justifyContent:X,flexBasis:j,display:K="flex",overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:eo,spacingBottom:to,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:A,offsetBottom:M,offsetEnd:D,offsetStart:p,offsetTop:F,columnGap:G,rowGap:po,...so}){let co=z({contentFit:a,backgroundColor:l,borderRadius:m,borderTopStartRadius:e,borderTopEndRadius:d,borderBottomStartRadius:f,borderBottomEndRadius:s,borderColor:c,borderColorOnActive:u,borderColorOnFocus:y,borderColorOnChecked:S,borderColorOnHover:h,borderStartColor:x,borderEndColor:C,borderTopColor:k,borderBottomColor:W,borderWidth:B,borderVerticalWidth:H,borderHorizontalWidth:V,borderStartWidth:_,borderEndWidth:O,borderTopWidth:P,borderBottomWidth:v,alignContent:E,alignItems:R,alignSelf:g,flex:L,flexDirection:I,flexGrow:N,flexShrink:$,flexWrap:U,justifyContent:X,flexBasis:j,display:K,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:Q,spacingHorizontal:oo,spacingVertical:eo,spacingBottom:to,spacingEnd:ro,spacingStart:no,spacingTop:io,offset:ao,offsetVertical:lo,offsetHorizontal:A,offsetBottom:M,offsetEnd:D,offsetStart:p,offsetTop:F,columnGap:G,rowGap:po,style:{width:t,height:r,justifyContent:"flex-start"}});return Bt(Wt,{source:n,alt:i,style:co,contentFit:a,contentPosition:"left",...so})}import{forwardRef as Ht}from"react";import{jsx as Vt}from"react/jsx-runtime";var Ji=Ht(function({style:r,asChild:n,color:i="primary",variant:a="body1",fontSize:l=a,fontFamily:m=a,fontWeight:e=a,lineHeight:d=a,textTransform:f=a,textAlign:s,backgroundColor:c,borderRadius:u,borderTopStartRadius:y,borderTopEndRadius:S,borderBottomStartRadius:h,borderBottomEndRadius:x,borderColor:C,borderColorOnActive:k,borderColorOnFocus:W,borderColorOnChecked:B,borderColorOnHover:H,borderStartColor:V,borderEndColor:_,borderTopColor:O,borderBottomColor:P,borderWidth:v,borderVerticalWidth:E,borderHorizontalWidth:R,borderStartWidth:g,borderEndWidth:L,borderTopWidth:I,borderBottomWidth:N,alignContent:$,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,overflow:eo,overflowX:to,overflowY:ro,position:no,spacing:io,spacingHorizontal:ao,spacingVertical:lo,spacingBottom:A,spacingEnd:M,spacingStart:D,spacingTop:p,offset:F,offsetVertical:G,offsetHorizontal:po,offsetBottom:so,offsetEnd:co,offsetStart:Oo,offsetTop:yo,columnGap:uo,rowGap:Co,...So},ho){let To=z({style:r,color:i,fontFamily:m,fontSize:l,fontWeight:e,lineHeight:d,textTransform:f,textAlign:s,backgroundColor:c,borderRadius:u,borderTopStartRadius:y,borderTopEndRadius:S,borderBottomStartRadius:h,borderBottomEndRadius:x,borderColor:C,borderColorOnActive:k,borderColorOnFocus:W,borderColorOnChecked:B,borderColorOnHover:H,borderStartColor:V,borderEndColor:_,borderTopColor:O,borderBottomColor:P,borderWidth:v,borderVerticalWidth:E,borderHorizontalWidth:R,borderStartWidth:g,borderEndWidth:L,borderTopWidth:I,borderBottomWidth:N,alignContent:$,alignItems:U,alignSelf:X,flex:j,flexDirection:K,flexGrow:Y,flexShrink:Z,flexWrap:q,justifyContent:J,flexBasis:Q,display:oo,overflow:eo,overflowX:to,overflowY:ro,position:no,spacing:io,spacingHorizontal:ao,spacingVertical:lo,spacingBottom:A,spacingEnd:M,spacingStart:D,spacingTop:p,offset:F,offsetVertical:G,offsetHorizontal:po,offsetBottom:so,offsetEnd:co,offsetStart:Oo,offsetTop:yo,columnGap:uo,rowGap:Co});return Vt(n?Ho:Bo,{style:To,ref:ho,maxFontSizeMultiplier:1,allowFontScaling:!1,...So})});import{forwardRef as _t}from"react";import{jsx as Ot}from"react/jsx-runtime";var ra=_t(function({gap:r,...n},i){return Ot(Vo,{ref:i,flexDirection:"column",columnGap:r,rowGap:r,...n})});import{useScrollToTop as Xt}from"@react-navigation/native";import{forwardRef as jt,useMemo as Kt,useRef as Yt}from"react";import{ScrollView as Zt}from"react-native";import{useMemo as Dt}from"react";var Gt=(t,r)=>{typeof t=="function"?t(r):t&&(t.current=r)},Ie=(...t)=>Dt(()=>t.every(r=>r==null)?null:r=>{t.forEach(n=>{Gt(n,r)})},[t]);import{spacingMap as ie}from"@yahoo/uds/fixtures";import Ne from"expo-constants";import{createContext as Lt,useContext as It,useMemo as Nt}from"react";import{useSafeAreaInsets as $t}from"react-native-safe-area-context";import{jsx as Ut}from"react/jsx-runtime";var $e=Lt({tabBarHeight:0,statusBarHeight:Ne.statusBarHeight,safeAreaInsets:{top:0,right:0,bottom:0,left:0}});function Ue(){return It($e)}function Xe({children:t}){let r=$t(),n=Me(),i=Nt(()=>({tabBarHeight:ie[5]+n.iconSizes.md+ie[3]+n.lineHeight.caption1+ie[5]+r.bottom,statusBarHeight:Ne.statusBarHeight,safeAreaInsets:r}),[n.iconSizes,n.lineHeight,r]);return Ut($e.Provider,{value:i,children:t})}import{jsx as qt}from"react/jsx-runtime";var Ta=jt(function({children:r,...n},i){let a=zo(),l=Yt(null),m=Ie(l,i);Xt(l);let{tabBarHeight:e,safeAreaInsets:d}=Ue(),f=z({backgroundColor:"primary",flexGrow:"1",spacingHorizontal:"6"}),s=Kt(()=>({paddingTop:d.top,paddingBottom:e}),[d.top,e]);return qt(Zt,{ref:m,style:f,contentInsetAdjustmentBehavior:"never",automaticallyAdjustContentInsets:!1,contentContainerStyle:s,indicatorStyle:a==="dark"?"black":"white",...n,children:r})});import{useCallback as Jt,useEffect as Qt,useState as or}from"react";import{AppState as je}from"react-native";function _o(){let[t,r]=or(je.currentState),n=Jt(i=>{r(i)},[]);return Qt(()=>{let i=je.addEventListener("change",n);return()=>{i.remove()}},[n]),t}import{useEffect as er,useRef as tr,useState as rr}from"react";import{PixelRatio as ae}from"react-native";var Ke=()=>{let[t,r]=rr(ae.getFontScale()),n=tr(ae.getFontScale()),i=_o();return er(()=>{if(i==="active"){let a=ae.getFontScale();n.current!==a&&(r(a),n.current=a)}},[i]),t};import{setStatusBarStyle as gr}from"expo-status-bar";import{createContext as Qe,useContext as fr,useEffect as Je,useState as ur}from"react";import{createContext as nr,useContext as ir,useEffect as ar,useState as lr}from"react";import{Appearance as dr,Platform as pr,useColorScheme as sr}from"react-native";import{jsx as mr}from"react/jsx-runtime";var Ye=nr(mo);function Ze(){return ir(Ye)}function cr(){let t=_o(),r=sr(),[n,i]=lr(r),a=pr.OS==="android";return ar(()=>{if(t==="active"){if(a){let l=dr.getColorScheme();i(l);return}i(r)}},[r,t,a]),n??"light"}function qe({children:t}){let r=cr();return mr(Ye.Provider,{value:r,children:t})}import{jsx as le}from"react/jsx-runtime";var br=()=>{},ot=Qe(Po),yr=Qe(br);function Na(){return fr(ot)}function et({children:t,value:r=Po}){let[n,i]=ur(r),a=Ze(),l=n==="system"?a:n;return Je(()=>{gr(l==="light"?"dark":"light")},[l]),Je(()=>{i(r)},[r]),le(ot.Provider,{value:n,children:le(yr.Provider,{value:i,children:le(ve,{value:l,children:t})})})}import{createContext as it,useState as Pr}from"react";import{createContext as Sr,useContext as hr,useMemo as xr}from"react";import{jsx as Tr}from"react/jsx-runtime";var tt=Sr(go),bo={xSmall:.823,small:.882,medium:.941,large:1,xLarge:1.118,xxLarge:1.235,xxxLarge:1.353};function rt(){return hr(tt)}function Cr(){let t=Ke();return xr(()=>t<=bo.xSmall?"xSmall":t<=bo.small?"small":t<=bo.medium?"medium":t<=bo.large?"large":t<=bo.xLarge?"xLarge":t<=bo.xxLarge?"xxLarge":t>=bo.xxxLarge?"xxxLarge":"large",[t])}function nt({children:t}){let r=Cr();return Tr(tt.Provider,{value:r,children:t})}import{jsx as de}from"react/jsx-runtime";var vr=()=>{},Er=it(vo),Rr=it(vr);function at({children:t,value:r=vo}){let[n,i]=Pr(r),a=rt(),l=n==="system"?a:n;return de(Er.Provider,{value:n,children:de(Rr.Provider,{value:i,children:de(Re,{value:l,children:t})})})}import{BottomSheetModalProvider as Fr}from"@gorhom/bottom-sheet";import{SafeAreaProvider as wr}from"react-native-safe-area-context";import{jsx as fo}from"react/jsx-runtime";function ml({children:t,colorModeForApp:r=Po,scaleModeForApp:n=vo,config:i}){return fo(wr,{children:fo(qe,{children:fo(et,{value:r,children:fo(nt,{children:fo(at,{value:n,children:fo(we,{value:i,children:fo(Xe,{children:fo(Fr,{children:t})})})})})})})})}export{Ur as AVATAR_SIZE_PREFIX,Xr as BORDER_RADIUS_PREFIX,jr as BORDER_WIDTH_PREFIX,Vo as Box,Pe as ColorModeContext,ot as ColorModeForAppContext,yr as ColorModeForAppContextUpdater,et as ColorModeForAppProvider,Ye as ColorModeForDeviceContext,qe as ColorModeForDeviceProvider,ve as ColorModeProvider,$e as ComputedTokensContext,Xe as ComputedTokensProvider,Jr as DARK_COLOR_MODE_CLASSNAME,mo as DEFAULT_COLOR_MODE,an as DEFAULT_COLOR_MODE_CLASSNAME,Po as DEFAULT_COLOR_MODE_FOR_APP,un as DEFAULT_HIGH_CONTRAST_MODE,bn as DEFAULT_REGION_MODE,go as DEFAULT_SCALE_MODE,ln as DEFAULT_SCALE_MODE_CLASSNAME,vo as DEFAULT_SCALE_MODE_FOR_APP,ee as DEFAULT_STYLER,Nr as FONT_FAMILY_PREFIX,dn as FONT_ICONS_CSS_VAR,sn as FONT_SANS_BETA_CSS_VAR,cn as FONT_SANS_CONDENSED_CSS_VAR,pn as FONT_SANS_CSS_VAR,mn as FONT_SERIF_DISPLAY_CSS_VAR,gn as FONT_SERIF_TEXT_CSS_VAR,Kr as FONT_SIZE_PREFIX,Zr as FONT_WEIGHT_PREFIX,Ti as HStack,$r as ICON_SIZE_PREFIX,_e as Icon,Li as IconButton,Xi as Image,pt as LARGE_SCALE_MODE_CLASSNAME,dt as LIGHT_COLOR_MODE_CLASSNAME,Yr as LINE_HEIGHT_PREFIX,en as MEDIUM_SCALE_MODE_CLASSNAME,De as Pressable,on as SMALL_SCALE_MODE_CLASSNAME,Ir as SPECTRUM_COLOR_PREFIX,Ee as ScaleModeContext,Er as ScaleModeForAppContext,at as ScaleModeForAppProvider,Rr as ScaleModeForAppUpdaterContext,tt as ScaleModeForDeviceContext,nt as ScaleModeForDeviceProvider,Re as ScaleModeProvider,Ta as Screen,we as StyleProvider,qr as TEXT_TRANSFORM_PREFIX,Ji as Text,ml as ThemeProvider,b as UDS_PREFIX,ra as VStack,tn as XLARGE_SCALE_MODE_CLASSNAME,Qr as XSMALL_SCALE_MODE_CLASSNAME,rn as XXLARGE_SCALE_MODE_CLASSNAME,nn as XXXLARGE_SCALE_MODE_CLASSNAME,xo as alwaysPalette,oe as createStyler,Mo as defaultTokensConfig,Sn as entries,No as fontFamilyGlobal,w as fontWeightMap,xn as fromEntries,Ao as mapValues,_o as useAppState,zo as useColorMode,Na as useColorModeForApp,Ze as useColorModeForDevice,Ue as useComputedTokens,Ke as useDeviceFontScale,te as useScaleMode,rt as useScaleModeForDevice,z as useStyles,Me as useTokens};
@@ -1 +1 @@
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
+ "use strict";var Ie=Object.create;var b=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var He=Object.getOwnPropertyNames;var Be=Object.getPrototypeOf,Ne=Object.prototype.hasOwnProperty;var Pe=(t,e)=>{for(var o in e)b(t,o,{get:e[o],enumerable:!0})},oe=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of He(e))!Ne.call(t,a)&&a!==o&&b(t,a,{get:()=>e[a],enumerable:!(r=De(e,a))||r.enumerable});return t};var re=(t,e,o)=>(o=t!=null?Ie(Be(t)):{},oe(e||!t||!t.__esModule?b(o,"default",{value:t,enumerable:!0}):o,t)),Xe=t=>oe(b({},"__esModule",{value:!0}),t);var je={};Pe(je,{defaultTailwindThemeAsUdsConfig:()=>ze,tailwindPlugin:()=>Ze});module.exports=Xe(je);var ee=require("@yahoo/uds/fixtures");var ae={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},ie={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ne={none:0,thin:1,medium:2,thick:2},se={none:0,thin:1,medium:2,thick:4};var 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:"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"}}},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:"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"}}},H={white:"#ffffff",black:"#000000",transparent:"transparent"};var B={s:16,m:24,l:32},ce=B,N={sm:16,md:24,lg:32},pe=N;var fe={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"}},ge={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"],me=["Georgia","Times","Times New Roman","serif"],ue={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:me,name:"yahoo-serif-text"},"serif-display":{fallbacks:me,name:"yahoo-serif-display"}},P={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"},X={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},U={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"},V={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"},G={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}},K={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:{...G.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:{...K.lineHeight,title2:36,title3:32}},Z={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}},j={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:{...Z.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},Y={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:{...j.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:{...Y.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var q={fontFamily:P,fontWeight:U,textTransform:V,avatarSizes:B,iconSizes:N,borderRadius:ae,borderWidth:ne},A={fontFamily:P,fontWeight:U,textTransform:V,avatarSizes:ce,iconSizes:pe,borderRadius:ie,borderWidth:se},f={colorMode:{light:{palette:le,spectrum:fe},dark:{palette:de,spectrum:ge}},scaleMode:{xSmall:{...q,...G},small:{...q,...K},medium:{...q,...F},large:{...A,...Z},xLarge:{...A,...j},xxLarge:{...A,...Y},xxxLarge:{...A,...ye}},fontFamily:ue};var s="uds",J=`${s}-spectrum-color`,L=`${s}-font`,xe=`${s}-icon-size`,Se=`${s}-avatar-size`,w=`${s}-border-radius`,O=`${s}-border-width`,z=`${s}-font-size`,W=`${s}-line-height`,_e=`${s}-font-weight`,he=`${s}-text-transform`,k=`${s}-color-mode-dark`,Te=`${s}-color-mode-light`,Re=`${s}-scale-mode-xsmall`,Ee=`${s}-scale-mode-small`,Ce=`${s}-scale-mode-medium`,Me=`${s}-scale-mode-large`,be=`${s}-scale-mode-xlarge`,ve=`${s}-scale-mode-xxlarge`,Fe=`${s}-scale-mode-xxxlarge`;var c1=`--${s}-font-icons`,p1=`--${s}-font-sans`,f1=`--${s}-font-sans-beta`,g1=`--${s}-font-sans-condensed`,m1=`--${s}-font-serif-display`,u1=`--${s}-font-serif-text`;var Ae="light",u="large";function g(t){return Object.entries(t)}function $(t){return Object.fromEntries(t)}function l(t,e){return Object.keys(t).reduce((o,r,a)=>(o[r]=e(t[r],r,a),o),{})}function Le(t){let{palette:e,spectrum:o}=t,r={},a={spectrum:{},palette:{}};for(let[n,i]of g(o))for(let[d,p]of g(i)){let y=`${n}-${d}`,c=`--${J}-${y}`;a.spectrum[n]||(a.spectrum[n]={}),a.spectrum[n][d]=`rgb(var(${c}))`,r[c]=p}return g(e).forEach(([n,i])=>{for(let[d,{hue:p,step:y,opacity:c}]of Object.entries(i)){n in a.palette||(a.palette[n]={});let R=`--${s}-${n}-color-${d}`;r[R]=`var(--${J}-${p}-${y})`,a.palette[n][d]=c?`rgb(var(${R}) / ${c})`:`rgb(var(${R}))`}}),{_vars:r,_raw:t,tailwindConfig:a}}function Ue(t){let e={},o={};for(let[r,a="regular"]of g(t)){let n=`--${_e}-${r}`,i=X[a];e[n]=i,o[r]=`var(${n})`}return{_vars:e,_raw:t,tailwindConfig:{...X,...o}}}function we(t,e,o){let r={},a={};for(let[n,i]of g(e)){let d=`--${t}-${n}`,p=o?o(i):i;r[d]=p,a[n]=`var(${d})`}return{_vars:r,_raw:e,tailwindConfig:a}}function E(t,e){if(!e)return{_vars:{},_raw:{},tailwindConfig:{}};let o={},r={};for(let[a,n]of g(e)){let i=`--${t}-${a}`,d=`${n}px`;o[i]=d,r[a]=`var(${i})`}return{_vars:o,_raw:e,tailwindConfig:r}}function Ve(t){return l(t,(e,o)=>{let{fallbacks:r=[]}=e??{};return[`var(--${L}-${o})`,...r]})}function Q(t){let{colorMode:e,scaleMode:o,fontFamily:r}=t;return{...t,colorMode:{light:Le(e.light),dark:Le(e.dark)},scaleMode:l(o,({borderRadius:a,borderWidth:n,fontSize:i,lineHeight:d,fontFamily:p,fontWeight:y,textTransform:c,avatarSizes:R,iconSizes:I})=>({fontFamily:we(L,p,D=>`var(--${L}-${D})`),fontSize:E(z,i),fontWeight:Ue(y),lineHeight:E(W,d),textTransform:we(he,c),borderRadius:E(w,a),borderWidth:E(O,n),avatarSizes:E(Se,R),iconSizes:E(xe,I)})),fontFamily:Ve(r)}}var We=re(require("tailwindcss/plugin"),1);var S=require("@yahoo/uds/fixtures");var T=re(require("tailwindcss/defaultTheme"),1),Oe={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"},Ge={xs:"sm",sm:"DEFAULT",md:"md",lg:"lg",xl:"xl"},Ke={thin:"DEFAULT",medium:"2",thick:"4"},m={fontSize:Oe,lineHeight:Oe,borderRadius:Ge,borderWidth:Ke};function C(t){return t.endsWith("rem")?parseFloat(t)*16:parseFloat(t)}var M={...f.scaleMode[u],fontSize:{...f.scaleMode[u].fontSize,...l(m.fontSize,t=>C(T.default.fontSize[t][0]))},lineHeight:{...f.scaleMode[u].fontSize,...l(m.lineHeight,t=>C(T.default.fontSize[t][1].lineHeight)),display1:C(T.default.fontSize[m.fontSize.display1][0]),display2:C(T.default.fontSize[m.fontSize.display2][0])},fontWeight:l(f.scaleMode[u].fontWeight,()=>"regular"),borderRadius:{...f.scaleMode[u].borderRadius,...l(m.borderRadius,t=>C(T.default.borderRadius[t]))},borderWidth:{...f.scaleMode[u].borderWidth,...l(m.borderWidth,t=>C(T.default.borderWidth[t]))}};function h(t){return{...f.scaleMode[t],fontWeight:M.fontWeight,fontSize:l(M.fontSize,(e,o)=>e+S.fontSizeRamp[t][o]),lineHeight:l(M.lineHeight,(e,o)=>e+S.lineHeightRamp[t][o]),borderRadius:l(M.borderRadius,(e,o)=>e+S.borderRadiusRamp[t][o]),borderWidth:l(M.borderWidth,(e,o)=>e+S.borderWidthRamp[t][o])}}var ze={...f,scaleMode:{xSmall:h("xSmall"),small:h("small"),medium:h("medium"),large:h("large"),xLarge:h("xLarge"),xxLarge:h("xxLarge"),xxxLarge:h("xxxLarge")}};var Ze=We.default.withOptions(function({config:t=f}){let e=Q(t),o=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.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:n}){a({":root":{...o,...r},[`.${Te}`]:o,[`.${Me}`]:r,[`.${k}`]:{...e.colorMode.dark._vars},[`.${Re}`]:{...e.scaleMode.xSmall.borderRadius._vars,...e.scaleMode.xSmall.borderWidth._vars,...e.scaleMode.xSmall.avatarSizes._vars,...e.scaleMode.xSmall.iconSizes._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},[`.${Ee}`]:{...e.scaleMode.small.borderRadius._vars,...e.scaleMode.small.borderWidth._vars,...e.scaleMode.small.avatarSizes._vars,...e.scaleMode.small.iconSizes._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},[`.${Ce}`]:{...e.scaleMode.medium.borderRadius._vars,...e.scaleMode.medium.borderWidth._vars,...e.scaleMode.medium.avatarSizes._vars,...e.scaleMode.medium.iconSizes._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},[`.${be}`]:{...e.scaleMode.xLarge.borderRadius._vars,...e.scaleMode.xLarge.borderWidth._vars,...e.scaleMode.xLarge.avatarSizes._vars,...e.scaleMode.xLarge.iconSizes._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},[`.${ve}`]:{...e.scaleMode.xxLarge.borderRadius._vars,...e.scaleMode.xxLarge.borderWidth._vars,...e.scaleMode.xxLarge.avatarSizes._vars,...e.scaleMode.xxLarge.iconSizes._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},[`.${Fe}`]:{...e.scaleMode.xxxLarge.borderRadius._vars,...e.scaleMode.xxxLarge.borderWidth._vars,...e.scaleMode.xxxLarge.avatarSizes._vars,...e.scaleMode.xxxLarge.iconSizes._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}}),n({iconSize:i=>({width:i,height:i,fontSize:i,lineHeight:i})},{values:e.scaleMode.large.iconSizes.tailwindConfig}),n({avatarSize:i=>({width:i,height:i})},{values:e.scaleMode.large.avatarSizes.tailwindConfig}),n({case:i=>({"text-transform":i})},{values:e.scaleMode.large.textTransform.tailwindConfig}),n({"font-weight":i=>({"font-weight":i})},{values:e.scaleMode.large.fontWeight.tailwindConfig}),n({"font-size":i=>({"font-size":i})},{values:e.scaleMode.large.fontSize.tailwindConfig})}},function({config:t=f,safelist:e=[]}){let o=Q(t),r=o.colorMode[Ae].tailwindConfig,a=o.scaleMode[u],n=l(r.spectrum,(x,_)=>({...x,...ee.tailwindColorsAsUds[_]})),i=r.palette.core,d={...ee.tailwindColorsAsUds,...n,...H,...i},p=r.palette.foreground,y=r.palette.background,c=r.palette.line,I=$(g(m.fontSize).map(([x,_])=>[_,[`var(--${z}-${x})`,{lineHeight:`var(--${W}-${x})`}]])),D=$(g(m.borderRadius).map(([x,_])=>[_,`var(--${w}-${x})`])),ke={...a.borderRadius.tailwindConfig,...D},$e=$(g(m.borderWidth).map(([x,_])=>[_,`var(--${O}-${x})`])),te={...a.borderWidth.tailwindConfig,...$e};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:ke,borderWidth:te,outlineWidth:te,fontFamily:{...o.fontFamily,...a.fontFamily.tailwindConfig},fontSize:I,lineHeight:a.lineHeight.tailwindConfig,colors:d,backgroundColor:y,textColor:p,borderColor:c,fill:y,caretColor:p,placeholderColor:p,textDecorationColor:p,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-BN1X8QcB.cjs';
2
+ import { U as UniversalTokensConfig } from '../types-Diou6f1Q.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-BN1X8QcB.js';
2
+ import { U as UniversalTokensConfig } from '../types-Diou6f1Q.js';
3
3
  import 'react';
4
4
 
5
5
  /**