@yahoo/uds 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/cli/README.md +78 -131
  2. package/cli/commands/purge.ts +7 -3
  3. package/cli/env.d.ts +1 -0
  4. package/cli/utils/purgeCSS.test.ts +43 -3
  5. package/cli/utils/purgeCSS.ts +100 -14
  6. package/dist/Image.native-B3I4JoH3.d.cts +38 -0
  7. package/dist/Image.native-DUAFJodS.d.ts +38 -0
  8. package/dist/VStack-BHlRUsOR.d.cts +103 -0
  9. package/dist/VStack-DMb_RGRS.d.ts +103 -0
  10. package/dist/experimental/index.cjs +1 -1
  11. package/dist/experimental/index.d.cts +8 -8
  12. package/dist/experimental/index.d.ts +8 -8
  13. package/dist/experimental/index.js +1 -1
  14. package/dist/experimental/index.native.cjs +1 -1
  15. package/dist/experimental/index.native.d.cts +3 -3
  16. package/dist/experimental/index.native.d.ts +3 -3
  17. package/dist/experimental/index.native.js +1 -1
  18. package/dist/fixtures.cjs +1946 -0
  19. package/dist/fixtures.d.ts +81 -0
  20. package/dist/fixtures.js +1910 -0
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.d.cts +41 -236
  23. package/dist/index.d.ts +41 -236
  24. package/dist/index.js +1 -1
  25. package/dist/{index.native-CisPq4BI.d.ts → index.native-BTfOSmUx.d.ts} +1 -1
  26. package/dist/{index.native-DJlx-bfM.d.cts → index.native-Bm-r2Dpa.d.cts} +1 -1
  27. package/dist/index.native.cjs +1 -1
  28. package/dist/index.native.d.cts +20 -83
  29. package/dist/index.native.d.ts +20 -83
  30. package/dist/index.native.js +1 -1
  31. package/dist/styles/globals.css +0 -1
  32. package/dist/styles/toast.css +1 -0
  33. package/dist/styles/toast.d.cts +2 -0
  34. package/dist/styles/toast.d.ts +2 -0
  35. package/dist/tailwindPlugin.cjs +1 -1
  36. package/dist/tailwindPlugin.d.cts +8 -2
  37. package/dist/tailwindPlugin.d.ts +8 -2
  38. package/dist/tailwindPlugin.js +1 -1
  39. package/dist/tailwindPurge.cjs +1 -1
  40. package/dist/tailwindPurge.js +1 -1
  41. package/dist/tokens/index.cjs +1 -1
  42. package/dist/tokens/index.d.cts +2 -2
  43. package/dist/tokens/index.d.ts +2 -2
  44. package/dist/tokens/index.js +1 -1
  45. package/dist/tokens/index.native.cjs +1 -1
  46. package/dist/tokens/index.native.d.cts +2 -2
  47. package/dist/tokens/index.native.d.ts +2 -2
  48. package/dist/tokens/index.native.js +1 -1
  49. package/dist/tokens/parseTokens.cjs +1 -1
  50. package/dist/tokens/parseTokens.d.cts +8 -18
  51. package/dist/tokens/parseTokens.d.ts +8 -18
  52. package/dist/tokens/parseTokens.js +1 -1
  53. package/dist/tokens/parseTokens.native.cjs +1 -1
  54. package/dist/tokens/parseTokens.native.d.cts +4 -21
  55. package/dist/tokens/parseTokens.native.d.ts +4 -21
  56. package/dist/tokens/parseTokens.native.js +1 -1
  57. package/dist/{types-CzJpH_Oi.d.cts → types-COiuE8XK.d.cts} +49 -138
  58. package/dist/{types-CzJpH_Oi.d.ts → types-COiuE8XK.d.ts} +49 -138
  59. package/package.json +13 -12
  60. package/dist/Image.native-C6kOWgnf.d.ts +0 -38
  61. package/dist/Image.native-VeXt5aeI.d.cts +0 -38
  62. package/dist/VStack-BSD9TbBd.d.cts +0 -114
  63. package/dist/VStack-Dk3-8IyU.d.ts +0 -114
  64. package/dist/fixtures/index.cjs +0 -1
  65. package/dist/fixtures/index.d.cts +0 -154
  66. package/dist/fixtures/index.d.ts +0 -154
  67. package/dist/fixtures/index.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { i as UniversalAvatarProps, j as UniversalButtonProps } from '../types-CzJpH_Oi.js';
3
- import { I as ImageProps, P as PressableProps } from '../Image.native-C6kOWgnf.js';
4
- export { a as IconButton, b as IconButtonProps } from '../Image.native-C6kOWgnf.js';
2
+ import { g as UniversalAvatarProps, h as UniversalButtonProps } from '../types-COiuE8XK.js';
3
+ import { I as ImageProps, P as PressableProps } from '../Image.native-DUAFJodS.js';
4
+ export { a as IconButton, b as IconButtonProps } from '../Image.native-DUAFJodS.js';
5
5
  import * as react from 'react';
6
6
  import { View } from 'react-native';
7
7
  import 'expo-image';
@@ -1 +1 @@
1
- var ve={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},we={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var ke={none:0,thin:1,medium:2,thick:2},Te={none:0,thin:1,medium:2,thick:4};var Pe={1:[{color:"rgba(0, 0, 0, 0.08)",offsetX:0,offsetY:2,blurRadius:4,spreadRadius:0},{color:"rgba(0, 0, 0, 0.10)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],2:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:8,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:1,spreadRadius:0}],3:[{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:4,blurRadius:16,spreadRadius:0},{color:"rgba(0, 0, 0, 0.1)",offsetX:0,offsetY:0,blurRadius:2,spreadRadius:0}]};var Re={auto:"auto",square:"1 / 1",video:"16 / 9"},We={auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"};var ze={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"0"},secondary:{hue:"gray",step:"2"}},backgroundWash:{"alert-wash":{hue:"red",step:"1"},"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"0"},"elevation-2":{hue:"gray",step:"0"},"elevation-3":{hue:"gray",step:"0"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"13"},secondary:{hue:"gray",step:"12"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Ee={core:{brand:{hue:"purple",step:"9"},accent:{hue:"blue",step:"9"},alert:{hue:"red",step:"9"},positive:{hue:"green",step:"9"},warning:{hue:"orange",step:"9"}},background:{primary:{hue:"gray",step:"1"},secondary:{hue:"gray",step:"3"}},backgroundWash:{"brand-wash":{hue:"purple",step:"1"},"accent-wash":{hue:"blue",step:"1"},"alert-wash":{hue:"red",step:"1"},"positive-wash":{hue:"green",step:"1"},"warning-wash":{hue:"orange",step:"1"}},elevation:{"elevation-1":{hue:"gray",step:"2"},"elevation-2":{hue:"gray",step:"3"},"elevation-3":{hue:"gray",step:"4"},"elevation-3-inverse":{hue:"gray",step:"14"},overlay:{hue:"gray",step:"9",opacity:"0.6"}},foreground:{primary:{hue:"gray",step:"14"},secondary:{hue:"gray",step:"13"},tertiary:{hue:"gray",step:"9"},muted:{hue:"gray",step:"8"},"on-color":{hue:"gray",step:"0"}},line:{primary:{hue:"gray",step:"12"},secondary:{hue:"gray",step:"9"},tertiary:{hue:"gray",step:"7"},muted:{hue:"gray",step:"3"}}},Mo={white:"#ffffff",black:"#000000",transparent:"transparent"};var ae={s:16,m:24,l:32},He=ae,ie={s:16,m:24,l:32},Be=ie;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},Ve={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 Oe={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"}},Me={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 Uo=["Helvetica Neue","Helvetica","Arial","sans-serif"],Ae=["Georgia","Times","Times New Roman","serif"],Ie={icons:{fallbacks:Uo,name:"yahoo-icons"},sans:{fallbacks:Uo,name:"yahoo-sans"},"sans-beta":{fallbacks:Uo,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Uo,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:Ae,name:"yahoo-serif-text"},"serif-display":{fallbacks:Ae,name:"yahoo-serif-display"}},le={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"},A={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},de={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"},se={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"},pe={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}},ce={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:{...pe.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Do={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:{...ce.lineHeight,title2:36,title3:32}},ge={fontSize:{...Do.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Do.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},me={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:{...ge.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},be={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:{...me.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Ge={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:{...be.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var fe={fontFamily:le,fontWeight:de,textTransform:se,avatarSizes:ae,iconSizes:ie,borderRadius:ve,borderWidth:ke,spacing:Fe},No={fontFamily:le,fontWeight:de,textTransform:se,avatarSizes:He,iconSizes:Be,borderRadius:we,borderWidth:Te,spacing:Ve},_o={colorMode:{light:{palette:ze,spectrum:Oe},dark:{palette:Ee,spectrum:Me}},scaleMode:{xSmall:{...fe,...pe},small:{...fe,...ce},medium:{...fe,...Do},large:{...No,...ge},xLarge:{...No,...me},xxLarge:{...No,...be},xxxLarge:{...No,...Ge}},aspectRatio:Re,elevation:Pe,fontFamily:Ie,zIndex:We};var Ho="light",Eo="large";function Le(e){return Object.entries(e)}import{createContext as ct,memo as gt,useContext as mt,useMemo as bt}from"react";import{textVariants as nt}from"@yahoo/uds/fixtures";function jo(e,r){return Object.keys(e).reduce((n,s,l)=>(n[s]=r(e[s],s,l),n),{})}function $e({spectrum:e,palette:r}){let n=jo(e,l=>jo(l,t=>`rgb(${t.replaceAll(" ",",")})`)),s=jo(r,l=>Object.entries(l).reduce((t,[g,{hue:o,step:i,opacity:f}])=>{let a=e[o][i],d=f?`rgb(${a.replaceAll(" ",",")} / ${f})`:`rgb(${a.replaceAll(" ",",")})`;return{...t,[g]:d}},{}));return{spectrum:n,palette:s}}function rt(e){let r={};for(let[n,[{color:s,offsetX:l,offsetY:t,blurRadius:g}]]of Le(e)){let o={shadowColor:s,shadowOffset:{width:l,height:t},shadowOpacity:1,shadowRadius:g};r[n]=o}return r}function Ue({colorMode:e,elevation:r,...n}){return{...n,colorMode:{light:$e(e.light),dark:$e(e.dark)},elevation:rt(r)}}function ue(e){return typeof e=="boolean"?`${e}`:e===0?"0":e}var z={};function he({colorMode:e,scaleMode:r},n){let{colorMode:s,scaleMode:l,fontFamily:t,...g}=Ue(n),o={fontFamilyGlobal:t,...g,...s[e],...l[r]},i=Object.assign,f=function(_){return function(c){let j={};if(!_?.variants)return i(j,_?.base);let{base:Go,variants:Qo,defaultVariants:oe,compoundVariants:Fo}=_;Go&&i(j,Go);function ee(Vo){if(Vo){let{style:Oo,...te}=Vo;for(let Lo in te){let $o=Qo[Lo],re=c?.[Lo],xe=oe?.[Lo],ne=ue(re)||ue(xe);if(ne&&ne in $o){let tt=$o[ne];i(j,tt)}}Oo&&i(j,Oo)}}if(ee(c),Fo&&Fo?.length>0)for(let Vo of Fo){let{style:Oo,...te}=Vo;Object.entries(te).every(([$o,re])=>c?.[$o]===re)&&Oo&&i(j,Oo)}return c?.style&&i(j,c.style),j}},a=o.spacing.none,d=o.spacing[1],p=o.spacing[2],m=o.spacing[3],u=o.spacing[4],h=o.spacing[5],y=o.spacing[6],C=o.spacing[7],S=o.spacing[8],x=o.spacing[9],v=o.spacing[10],w=o.spacing[11],k=o.spacing[12],T=o.spacing[13],P=o.spacing[14],R=o.palette.core.accent,W=o.palette.core.alert,E=o.palette.core.brand,H=o.palette.core.positive,B=o.palette.core.warning,F=Mo.white,V=Mo.black,O=Mo.transparent,no=o.palette.foreground.muted,ao=o.palette.foreground["on-color"],io=o.palette.foreground.primary,ro=o.palette.foreground.secondary,lo=o.palette.foreground.tertiary,X=o.palette.backgroundWash["accent-wash"],Y=o.palette.backgroundWash["alert-wash"],K=o.palette.backgroundWash["brand-wash"],Z=o.palette.backgroundWash["positive-wash"],q=o.palette.backgroundWash["warning-wash"],$=o.palette.elevation["elevation-1"],U=o.palette.elevation["elevation-2"],D=o.palette.elevation["elevation-3"],J=o.palette.elevation["elevation-3-inverse"],Q=o.palette.elevation.overlay,oo=o.palette.background.primary,eo=o.palette.background.secondary,M=o.palette.line.primary,I=o.palette.line.secondary,G=o.palette.line.tertiary,L=o.palette.line.muted,b=o.fontFamilyGlobal,so=b.sans.name,po=b["sans-beta"].name,co=b["sans-condensed"].name,go=b["serif-text"].name,mo=b["serif-display"].name,bo=b[o.fontFamily.display1].name,fo=b[o.fontFamily.display2].name,uo=b[o.fontFamily.display3].name,ho=b[o.fontFamily.title1].name,yo=b[o.fontFamily.title2].name,Co=b[o.fontFamily.title3].name,So=b[o.fontFamily.title4].name,xo=b[o.fontFamily.headline1].name,vo=b[o.fontFamily.body1].name,wo=b[o.fontFamily.label1].name,ko=b[o.fontFamily.label2].name,To=b[o.fontFamily.caption1].name,Po=b[o.fontFamily.caption2].name,Ro=b[o.fontFamily.legal1].name;function Wo(N){return!!(typeof N=="string"&&nt.includes(N))}function zo({style:N,..._}){let Bo={},c;Wo(_.fontWeight)?c=o.fontWeight[_.fontWeight]:c="regular";let j=f({variants:{color:{accent:{color:R},alert:{color:W},black:{color:V},brand:{color:E},positive:{color:H},warning:{color:B},white:{color:F},transparent:{color:O},muted:{color:no},"on-color":{color:ao},primary:{color:io},secondary:{color:ro},tertiary:{color:lo}},colorChecked:{accent:{color:R},alert:{color:W},black:{color:V},brand:{color:E},positive:{color:H},warning:{color:B},white:{color:F},transparent:{color:O},muted:{color:no},"on-color":{color:ao},primary:{color:io},secondary:{color:ro},tertiary:{color:ro}},fontFamily:{icons:{fontFamily:b.icons.name},sans:{fontFamily:`${so}-${c}`},"sans-beta":{fontFamily:`${po}-${c}`},"sans-condensed":{fontFamily:`${co}-${c}`},"serif-text":{fontFamily:`${go}-${c}`},"serif-display":{fontFamily:`${mo}-${c}`},display1:{fontFamily:`${bo}-${c}`},display2:{fontFamily:`${fo}-${c}`},display3:{fontFamily:`${uo}-${c}`},title1:{fontFamily:`${ho}-${c}`},title2:{fontFamily:`${yo}-${c}`},title3:{fontFamily:`${Co}-${c}`},title4:{fontFamily:`${So}-${c}`},headline1:{fontFamily:`${xo}-${c}`},body1:{fontFamily:`${vo}-${c}`},label1:{fontFamily:`${wo}-${c}`},label2:{fontFamily:`${ko}-${c}`},caption1:{fontFamily:`${To}-${c}`},caption2:{fontFamily:`${Po}-${c}`},legal1:{fontFamily:`${Ro}-${c}`}},fontSize:{display1:{fontSize:o.fontSize.display1},display2:{fontSize:o.fontSize.display2},display3:{fontSize:o.fontSize.display3},title1:{fontSize:o.fontSize.title1},title2:{fontSize:o.fontSize.title2},title3:{fontSize:o.fontSize.title3},title4:{fontSize:o.fontSize.title4},headline1:{fontSize:o.fontSize.headline1},body1:{fontSize:o.fontSize.body1},label1:{fontSize:o.fontSize.label1},label2:{fontSize:o.fontSize.label2},caption1:{fontSize:o.fontSize.caption1},caption2:{fontSize:o.fontSize.caption2},legal1:{fontSize:o.fontSize.legal1}},fontWeight:{display1:{fontWeight:A[o.fontWeight.display1]},display2:{fontWeight:A[o.fontWeight.display2]},display3:{fontWeight:A[o.fontWeight.display3]},title1:{fontWeight:A[o.fontWeight.title1]},title2:{fontWeight:A[o.fontWeight.title2]},title3:{fontWeight:A[o.fontWeight.title3]},title4:{fontWeight:A[o.fontWeight.title4]},headline1:{fontWeight:A[o.fontWeight.headline1]},body1:{fontWeight:A[o.fontWeight.body1]},label1:{fontWeight:A[o.fontWeight.label1]},label2:{fontWeight:A[o.fontWeight.label2]},caption1:{fontWeight:A[o.fontWeight.caption1]},caption2:{fontWeight:A[o.fontWeight.caption2]},legal1:{fontWeight:A[o.fontWeight.legal1]},thin:{},extralight:{},light:{},regular:{},medium:{},semibold:{},bold:{},extrabold:{},black:{}},lineHeight:{display1:{lineHeight:o.lineHeight.display1},display2:{lineHeight:o.lineHeight.display2},display3:{lineHeight:o.lineHeight.display3},title1:{lineHeight:o.lineHeight.title1},title2:{lineHeight:o.lineHeight.title2},title3:{lineHeight:o.lineHeight.title3},title4:{lineHeight:o.lineHeight.title4},headline1:{lineHeight:o.lineHeight.headline1},body1:{lineHeight:o.lineHeight.body1},label1:{lineHeight:o.lineHeight.label1},label2:{lineHeight:o.lineHeight.label2},caption1:{lineHeight:o.lineHeight.caption1},caption2:{lineHeight:o.lineHeight.caption2},legal1:{lineHeight:o.lineHeight.legal1}},textAlign:{center:{textAlign:"center"},justify:{textAlign:"justify"},start:{textAlign:"left"},end:{textAlign:"right"}},backgroundColor:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:D},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:q}},backgroundColorOnActive:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:D},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:q}},backgroundColorOnHover:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:D},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:q}},backgroundColorOnChecked:{accent:{backgroundColor:R},alert:{backgroundColor:W},black:{backgroundColor:V},brand:{backgroundColor:E},positive:{backgroundColor:H},warning:{backgroundColor:B},white:{backgroundColor:F},"accent-wash":{backgroundColor:X},"alert-wash":{backgroundColor:Y},"brand-wash":{backgroundColor:K},"elevation-1":{backgroundColor:$},"elevation-2":{backgroundColor:U},"elevation-3":{backgroundColor:D},"elevation-3-inverse":{backgroundColor:J},overlay:{backgroundColor:Q},"positive-wash":{backgroundColor:Z},primary:{backgroundColor:oo},secondary:{backgroundColor:eo},transparent:{backgroundColor:O},"warning-wash":{backgroundColor:q}},elevation:{1:{backgroundColor:$,shadowColor:"rgba(0, 0, 0, 0.08)",shadowOffset:{width:0,height:2},shadowRadius:4,shadowOpacity:1,overflow:"visible"},2:{backgroundColor:U,shadowColor:"rgba(0, 0, 0, 0.1)",shadowOffset:{width:0,height:4},shadowRadius:8,shadowOpacity:1,overflow:"visible"},3:{backgroundColor:D,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{width:0,height:4},shadowRadius:16,shadowOpacity:1,overflow:"visible"}},opacity:{0:{opacity:0},5:{opacity:.05},10:{opacity:.1},20:{opacity:.2},25:{opacity:.25},30:{opacity:.3},40:{opacity:.4},50:{opacity:.5},60:{opacity:.6},70:{opacity:.7},75:{opacity:.75},80:{opacity:.8},90:{opacity:.9},95:{opacity:.95},100:{opacity:1}},spacing:{none:{padding:a},1:{padding:d},2:{padding:p},3:{padding:m},4:{padding:u},5:{padding:h},6:{padding:y},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:v},11:{padding:w},12:{padding:k},13:{padding:T},14:{padding:P}},spacingHorizontal:{none:{paddingHorizontal:a},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:u},5:{paddingHorizontal:h},6:{paddingHorizontal:y},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:v},11:{paddingHorizontal:w},12:{paddingHorizontal:k},13:{paddingHorizontal:T},14:{paddingHorizontal:P}},spacingVertical:{none:{paddingVertical:a},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:u},5:{paddingVertical:h},6:{paddingVertical:y},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:v},11:{paddingVertical:w},12:{paddingVertical:k},13:{paddingVertical:T},14:{paddingVertical:P}},spacingBottom:{none:{paddingBottom:a},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:u},5:{paddingBottom:h},6:{paddingBottom:y},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:v},11:{paddingBottom:w},12:{paddingBottom:k},13:{paddingBottom:T},14:{paddingBottom:P}},spacingEnd:{none:{paddingEnd:a},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:u},5:{paddingEnd:h},6:{paddingEnd:y},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:v},11:{paddingEnd:w},12:{paddingEnd:k},13:{paddingEnd:T},14:{paddingEnd:P}},spacingStart:{none:{paddingStart:a},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:u},5:{paddingStart:h},6:{paddingStart:y},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:v},11:{paddingStart:w},12:{paddingStart:k},13:{paddingStart:T},14:{paddingStart:P}},spacingTop:{none:{paddingTop:a},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:u},5:{paddingTop:h},6:{paddingTop:y},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:v},11:{paddingTop:w},12:{paddingTop:k},13:{paddingTop:T},14:{paddingTop:P}},offset:{none:{margin:-a},1:{margin:-d},2:{margin:-p},3:{margin:-m},4:{margin:-u},5:{margin:-h},6:{margin:-y},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-v},11:{margin:-w},12:{margin:-k},13:{margin:-T},14:{margin:-P}},offsetVertical:{none:{marginVertical:-a},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-u},5:{marginVertical:-h},6:{marginVertical:-y},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-v},11:{marginVertical:-w},12:{marginVertical:-k},13:{marginVertical:-T},14:{marginVertical:-P}},offsetHorizontal:{none:{marginHorizontal:-a},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-u},5:{marginHorizontal:-h},6:{marginHorizontal:-y},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-v},11:{marginHorizontal:-w},12:{marginHorizontal:-k},13:{marginHorizontal:-T},14:{marginHorizontal:-P}},offsetBottom:{none:{marginBottom:-a},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-u},5:{marginBottom:-h},6:{marginBottom:-y},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-v},11:{marginBottom:-w},12:{marginBottom:-k},13:{marginBottom:-T},14:{marginBottom:-P}},offsetEnd:{none:{marginEnd:-a},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-u},5:{marginEnd:-h},6:{marginEnd:-y},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-v},11:{marginEnd:-w},12:{marginEnd:-k},13:{marginEnd:-T},14:{marginEnd:-P}},offsetStart:{none:{marginStart:-a},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-u},5:{marginStart:-h},6:{marginStart:-y},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-v},11:{marginStart:-w},12:{marginStart:-k},13:{marginStart:-T},14:{marginStart:-P}},offsetTop:{none:{marginTop:-a},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-u},5:{marginTop:-h},6:{marginTop:-y},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-v},11:{marginTop:-w},12:{marginTop:-k},13:{marginTop:-T},14:{marginTop:-P}},columnGap:{none:{columnGap:a},1:{columnGap:d},2:{columnGap:p},3:{columnGap:m},4:{columnGap:u},5:{columnGap:h},6:{columnGap:y},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:v},11:{columnGap:w},12:{columnGap:k},13:{columnGap:T},14:{columnGap:P}},rowGap:{none:{rowGap:a},1:{rowGap:d},2:{rowGap:p},3:{rowGap:m},4:{rowGap:u},5:{rowGap:h},6:{rowGap:y},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:v},11:{rowGap:w},12:{rowGap:k},13:{rowGap:T},14:{rowGap:P}},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":z,"table-cell":z,"table-column":z,"table-column-group":z,"table-footer-group":z,"table-header-group":z,"table-row-group":z,"table-row":z,"flow-root":z,grid:z,contents:z},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:z,fixed:z,absolute:{position:"absolute"},relative:{position:"relative"},sticky:z},zIndex:{0:{zIndex:0},10:{zIndex:10},20:{zIndex:20},30:{zIndex:40},40:{zIndex:30},50:{zIndex:50},auto:z},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:z},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:z,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:o.avatarSizes.s,height:o.avatarSizes.s,lineHeight:o.avatarSizes.s,fontSize:o.avatarSizes.s},m:{width:o.avatarSizes.m,height:o.avatarSizes.m,lineHeight:o.avatarSizes.m,fontSize:o.avatarSizes.m},l:{width:o.avatarSizes.l,height:o.avatarSizes.l,lineHeight:o.avatarSizes.l,fontSize:o.avatarSizes.l}},iconSize:{s:{width:o.iconSizes.s,height:o.iconSizes.s,lineHeight:o.iconSizes.s,fontSize:o.iconSizes.s},m:{width:o.iconSizes.m,height:o.iconSizes.m,lineHeight:o.iconSizes.m,fontSize:o.iconSizes.m},l:{width:o.iconSizes.l,height:o.iconSizes.l,lineHeight:o.iconSizes.l,fontSize:o.iconSizes.l}},bordered:{true:{borderWidth:1}},borderColor:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:L},primary:{borderColor:M},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnActive:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:L},primary:{borderColor:M},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnFocus:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:L},primary:{borderColor:M},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnHover:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:L},primary:{borderColor:M},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnChecked:{accent:{borderColor:R},alert:{borderColor:W},black:{borderColor:V},brand:{borderColor:E},positive:{borderColor:H},warning:{borderColor:B},white:{borderColor:F},transparent:{borderColor:O},muted:{borderColor:L},primary:{borderColor:M},secondary:{borderColor:I},tertiary:{borderColor:G}},borderStartColor:{accent:{borderStartColor:R},alert:{borderStartColor:W},black:{borderStartColor:V},brand:{borderStartColor:E},positive:{borderStartColor:H},warning:{borderStartColor:B},white:{borderStartColor:F},transparent:{borderStartColor:O},muted:{borderStartColor:L},primary:{borderStartColor:M},secondary:{borderStartColor:I},tertiary:{borderStartColor:G}},borderEndColor:{accent:{borderEndColor:R},alert:{borderEndColor:W},black:{borderEndColor:V},brand:{borderEndColor:E},positive:{borderEndColor:H},warning:{borderEndColor:B},white:{borderEndColor:F},transparent:{borderEndColor:O},muted:{borderEndColor:L},primary:{borderEndColor:M},secondary:{borderEndColor:I},tertiary:{borderEndColor:G}},borderBottomColor:{accent:{borderBottomColor:R},alert:{borderBottomColor:W},black:{borderBottomColor:V},brand:{borderBottomColor:E},positive:{borderBottomColor:H},warning:{borderBottomColor:B},white:{borderBottomColor:F},transparent:{borderBottomColor:O},muted:{borderBottomColor:L},primary:{borderBottomColor:M},secondary:{borderBottomColor:I},tertiary:{borderBottomColor:G}},borderTopColor:{accent:{borderTopColor:R},alert:{borderTopColor:W},black:{borderTopColor:V},brand:{borderTopColor:E},positive:{borderTopColor:H},warning:{borderTopColor:B},white:{borderTopColor:F},transparent:{borderTopColor:O},muted:{borderTopColor:L},primary:{borderTopColor:M},secondary:{borderTopColor:I},tertiary:{borderTopColor:G}},borderRadius:{none:{borderRadius:o.borderRadius.none},xs:{borderRadius:o.borderRadius.xs},sm:{borderRadius:o.borderRadius.sm},md:{borderRadius:o.borderRadius.md},lg:{borderRadius:o.borderRadius.lg},xl:{borderRadius:o.borderRadius.xl},full:{borderRadius:o.borderRadius.full}},borderTopStartRadius:{none:{borderTopStartRadius:o.borderRadius.none},xs:{borderTopStartRadius:o.borderRadius.xs},sm:{borderTopStartRadius:o.borderRadius.sm},md:{borderTopStartRadius:o.borderRadius.md},lg:{borderTopStartRadius:o.borderRadius.lg},xl:{borderTopStartRadius:o.borderRadius.xl},full:{borderTopStartRadius:o.borderRadius.full}},borderTopEndRadius:{none:{borderTopEndRadius:o.borderRadius.none},xs:{borderTopEndRadius:o.borderRadius.xs},sm:{borderTopEndRadius:o.borderRadius.sm},md:{borderTopEndRadius:o.borderRadius.md},lg:{borderTopEndRadius:o.borderRadius.lg},xl:{borderTopEndRadius:o.borderRadius.xl},full:{borderTopEndRadius:o.borderRadius.full}},borderBottomStartRadius:{none:{borderBottomStartRadius:o.borderRadius.none},xs:{borderBottomStartRadius:o.borderRadius.xs},sm:{borderBottomStartRadius:o.borderRadius.sm},md:{borderBottomStartRadius:o.borderRadius.md},lg:{borderBottomStartRadius:o.borderRadius.lg},xl:{borderBottomStartRadius:o.borderRadius.xl},full:{borderBottomStartRadius:o.borderRadius.full}},borderBottomEndRadius:{none:{borderBottomEndRadius:o.borderRadius.none},xs:{borderBottomEndRadius:o.borderRadius.xs},sm:{borderBottomEndRadius:o.borderRadius.sm},md:{borderBottomEndRadius:o.borderRadius.md},lg:{borderBottomEndRadius:o.borderRadius.lg},xl:{borderBottomEndRadius:o.borderRadius.xl},full:{borderBottomEndRadius:o.borderRadius.full}},borderWidth:{none:{borderWidth:o.borderWidth.none},thin:{borderWidth:o.borderWidth.thin},medium:{borderWidth:o.borderWidth.medium},thick:{borderWidth:o.borderWidth.thick}},borderVerticalWidth:{none:{borderTopWidth:o.borderWidth.none,borderBottomWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin,borderBottomWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium,borderBottomWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick,borderBottomWidth:o.borderWidth.thick}},borderHorizontalWidth:{none:{borderStartWidth:o.borderWidth.none,borderEndWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin,borderEndWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium,borderEndWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick,borderEndWidth:o.borderWidth.thick}},borderStartWidth:{none:{borderStartWidth:o.borderWidth.none},thin:{borderStartWidth:o.borderWidth.thin},medium:{borderStartWidth:o.borderWidth.medium},thick:{borderStartWidth:o.borderWidth.thick}},borderEndWidth:{none:{borderEndWidth:o.borderWidth.none},thin:{borderEndWidth:o.borderWidth.thin},medium:{borderEndWidth:o.borderWidth.medium},thick:{borderEndWidth:o.borderWidth.thick}},borderTopWidth:{none:{borderTopWidth:o.borderWidth.none},thin:{borderTopWidth:o.borderWidth.thin},medium:{borderTopWidth:o.borderWidth.medium},thick:{borderTopWidth:o.borderWidth.thick}},borderBottomWidth:{none:{borderBottomWidth:o.borderWidth.none},thin:{borderBottomWidth:o.borderWidth.thin},medium:{borderBottomWidth:o.borderWidth.medium},thick:{borderBottomWidth:o.borderWidth.thick}},borderedVertical:{true:{borderTopWidth:1,borderBottomWidth:1,borderColor:M}},borderedTop:{true:{borderTopWidth:1,borderColor:M}},borderedBottom:{true:{borderBottomWidth:1,borderColor:M}},borderedHorizontal:{true:{borderStartWidth:1,borderEndWidth:1,borderColor:M}},borderedEnd:{true:{borderEndWidth:1,borderColor:M}},borderedStart:{true:{borderStartWidth:1,borderColor:M}},contentFit:{contain:z,cover:z,fill:z,none:z,"scale-down":z},textTransform:{display1:{textTransform:o.textTransform.display1},display2:{textTransform:o.textTransform.display2},display3:{textTransform:o.textTransform.display3},title1:{textTransform:o.textTransform.title1},title2:{textTransform:o.textTransform.title2},title3:{textTransform:o.textTransform.title3},title4:{textTransform:o.textTransform.title4},headline1:{textTransform:o.textTransform.headline1},body1:{textTransform:o.textTransform.body1},label1:{textTransform:o.textTransform.label1},label2:{textTransform:o.textTransform.label2},caption1:{textTransform:o.textTransform.caption1},caption2:{textTransform:o.textTransform.caption2},legal1:{textTransform:o.textTransform.legal1},none:{textTransform:"none"},uppercase:{textTransform:"uppercase"},lowercase:{textTransform:"lowercase"},capitalize:{textTransform:"capitalize"}}}})(_);return i(Bo,j,N)}return{cva:f,getStyles:zo,tokens:o}}var ye=he({colorMode:Ho,scaleMode:Eo},_o);import{createContext as at,useContext as it}from"react";import{jsx as hr}from"react/jsx-runtime";var lt=at(Ho);function De(){return it(lt)}import{createContext as dt,useContext as st}from"react";import{jsx as vr}from"react/jsx-runtime";var pt=dt(Eo);function Ne(){let e=st(pt);return e||Eo}import{jsx as ft}from"react/jsx-runtime";var _e=ct(ye),zr=gt(function({children:r,value:n=_o}){let s=De(),l=Ne(),t=bt(()=>n===void 0&&s===Ho&&l===Eo?ye:he({colorMode:s,scaleMode:l},n),[s,l,n]);return ft(_e.Provider,{value:t,children:r})});function to(e){let{getStyles:r}=mt(_e);return r(e)}var je={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},Ce={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",bordered:!0},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",bordered:!0},"accent-ghost":{color:"accent"},"accent-wash":{color:"accent",backgroundColor:"accent-wash",borderColor:"accent",bordered:!0},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",bordered:!0},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",bordered:!0},"brand-ghost":{color:"brand"},"brand-wash":{color:"brand",backgroundColor:"brand-wash",borderColor:"brand",bordered:!0},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",bordered:!0},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",bordered:!0},"positive-ghost":{color:"positive"},"positive-wash":{color:"positive",backgroundColor:"positive-wash",borderColor:"positive",bordered:!0},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",bordered:!0},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",bordered:!0},"alert-ghost":{color:"alert"},"alert-wash":{color:"alert",backgroundColor:"alert-wash",borderColor:"alert",bordered:!0},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",bordered:!0},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",bordered:!0},"warning-ghost":{color:"warning"},"warning-wash":{color:"warning",backgroundColor:"warning-wash",borderColor:"warning",bordered:!0},"primary-outline":{color:"primary",borderColor:"muted",bordered:!0},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Xo({variant:e="accent",size:r="s"}){let{color:n,...s}=Ce.variant[e],{variant:l,...t}=Ce.size[r];return{pressable:{...Ce.base,...s,...t},text:{color:n,variant:l,textAlign:"center"},icon:{color:n,size:"s"}}}import{Image as ut}from"expo-image";import{jsx as ht}from"react/jsx-runtime";function Xe({width:e,height:r,src:n,alt:s,contentFit:l="cover",elevation:t,backgroundColor:g=t?`elevation-${t}`:"primary",backgroundColorOnActive:o,backgroundColorOnHover:i,backgroundColorOnChecked:f,opacity:a,bordered:d,borderedTop:p,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:k,borderColor:T,borderColorOnActive:P,borderColorOnFocus:R,borderColorOnChecked:W,borderColorOnHover:E,borderStartColor:H,borderEndColor:B,borderTopColor:F,borderBottomColor:V,borderWidth:O,borderVerticalWidth:no,borderHorizontalWidth:ao,borderStartWidth:io,borderEndWidth:ro,borderTopWidth:lo,borderBottomWidth:X,alignContent:Y,alignItems:K,alignSelf:Z,flex:q,flexDirection:$,flexGrow:U,flexShrink:D="0",flexWrap:J,justifyContent:Q,flexBasis:oo,display:eo="flex",zIndex:M,overflow:I,overflowX:G,overflowY:L,position:b,spacing:so,spacingHorizontal:po,spacingVertical:co,spacingBottom:go,spacingEnd:mo,spacingStart:bo,spacingTop:fo,offset:uo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:wo,rowGap:ko,minHeight:To,maxHeight:Po,minWidth:Ro,maxWidth:Wo,...zo}){let N=to({contentFit:l,elevation:t,backgroundColor:g,backgroundColorOnActive:o,backgroundColorOnHover:i,backgroundColorOnChecked:f,opacity:a,bordered:d,borderedTop:p,borderedBottom:m,borderedStart:u,borderedEnd:h,borderedHorizontal:y,borderedVertical:C,borderRadius:S,borderTopStartRadius:x,borderTopEndRadius:v,borderBottomStartRadius:w,borderBottomEndRadius:k,borderColor:T,borderColorOnActive:P,borderColorOnFocus:R,borderColorOnChecked:W,borderColorOnHover:E,borderStartColor:H,borderEndColor:B,borderTopColor:F,borderBottomColor:V,borderWidth:O,borderVerticalWidth:no,borderHorizontalWidth:ao,borderStartWidth:io,borderEndWidth:ro,borderTopWidth:lo,borderBottomWidth:X,alignContent:Y,alignItems:K,alignSelf:Z,flex:q,flexDirection:$,flexGrow:U,flexShrink:D,flexWrap:J,justifyContent:Q,flexBasis:oo,display:eo,zIndex:M,overflow:I,overflowX:G,overflowY:L,position:b,spacing:so,spacingHorizontal:po,spacingVertical:co,spacingBottom:go,spacingEnd:mo,spacingStart:bo,spacingTop:fo,offset:uo,offsetVertical:ho,offsetHorizontal:yo,offsetBottom:Co,offsetEnd:So,offsetStart:xo,offsetTop:vo,columnGap:wo,rowGap:ko,minHeight:To,maxHeight:Po,minWidth:Ro,maxWidth:Wo,style:{width:e,height:r,justifyContent:"flex-start"}});return ht(ut,{source:n,alt:s,style:N,contentFit:l,contentPosition:"left",...zo})}import{jsx as yt}from"react/jsx-runtime";function Lr({size:e,shape:r,contentFit:n="cover",...s}){let l=to({...je,avatarSize:e,borderRadius:r});return yt(Xe,{style:l,contentFit:n,...s})}import{forwardRef as Rt}from"react";import{forwardRef as St}from"react";import{Children as Ao,cloneElement as Ke,forwardRef as Ze,isValidElement as Yo}from"react";function Ct(e,r){typeof e=="function"?e(r):e!=null&&(e.current=r)}function Ye(...e){return r=>e.forEach(n=>Ct(n,r))}import{jsx as qe}from"react/jsx-runtime";function Ko(){let e=Ze((t,g)=>{let{children:o,...i}=t,f=Ao.toArray(o),a=f.find(s);if(a){let d=a.props.children,p=f.map(m=>m===a?Ao.count(d)>1?Ao.only(null):Yo(d)?d.props.children:null:m);return qe(r,{...i,ref:g,children:Yo(d)?Ke(d,void 0,p):null})}return qe(r,{...i,ref:g,children:o})});e.displayName="Slot";let r=Ze((t,g)=>{let{children:o,...i}=t;return Yo(o)?Ke(o,{...l(i,o.props),ref:g?Ye(g,o.ref):o.ref}):Ao.count(o)>1?Ao.only(null):null});r.displayName="SlotClone";let n=({children:t})=>t;function s(t){return Yo(t)&&t.type===n}function l(t,g){let o={...g};for(let i in g){let f=t[i],a=g[i];/^on[A-Z]/.test(i)?f&&a?o[i]=(...p)=>{a(...p),f(...p)}:f&&(o[i]=f):i==="style"&&(o[i]={...f,...a})}return{...t,...o}}return e}var Zo="RCTText",Kr=Ko(),qo=Ko(),Je=Ko();import{jsx as xt}from"react/jsx-runtime";var Io=St(function({style:r,asChild:n=!1,size:s="l",color:l="primary",name:t,colorChecked:g,opacity:o,textAlign:i,spacing:f,spacingBottom:a,spacingEnd:d,spacingHorizontal:p,spacingStart:m,spacingTop:u,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:k,...T},P){let R=to({color:l,colorChecked:g,opacity:o,fontFamily:"icons",textAlign:i,spacing:f,spacingBottom:a,spacingEnd:d,spacingHorizontal:p,spacingStart:m,spacingTop:u,spacingVertical:h,offset:y,offsetBottom:C,offsetEnd:S,offsetHorizontal:x,offsetStart:v,offsetTop:w,offsetVertical:k,iconSize:s,style:r});return xt(n?qo:Zo,{ref:P,maxFontSizeMultiplier:1,allowFontScaling:!1,style:R,...T,children:t})});import{forwardRef as vt}from"react";import{Pressable as wt}from"react-native";import{jsx as kt}from"react/jsx-runtime";var Jo=vt(function({style:r,asChild:n=!1,backgroundColor:s,backgroundColorOnActive:l,backgroundColorOnHover:t,backgroundColorOnChecked:g,elevation:o,opacity:i,bordered:f,borderedTop:a,borderedBottom:d,borderedStart:p,borderedEnd:m,borderedHorizontal:u,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:k,borderColorOnFocus:T,borderColorOnChecked:P,borderColorOnHover:R,borderStartColor:W,borderEndColor:E,borderTopColor:H,borderBottomColor:B,borderWidth:F,borderVerticalWidth:V,borderHorizontalWidth:O,borderStartWidth:no,borderEndWidth:ao,borderTopWidth:io,borderBottomWidth:ro,alignContent:lo,alignItems:X,alignSelf:Y,flex:K,flexBasis:Z,flexDirection:q,flexGrow:$,flexShrink:U,flexWrap:D,justifyContent:J,display:Q,zIndex:oo,overflow:eo,overflowX:M,overflowY:I,position:G,spacing:L,spacingHorizontal:b,spacingVertical:so,spacingBottom:po,spacingEnd:co,spacingStart:go,spacingTop:mo,offset:bo,offsetVertical:fo,offsetHorizontal:uo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:ko,maxHeight:To,width:Po,minWidth:Ro,maxWidth:Wo,...zo},N){let _=to({backgroundColor:s,backgroundColorOnActive:l,backgroundColorOnHover:t,backgroundColorOnChecked:g,elevation:o,opacity:i,bordered:f,borderedTop:a,borderedBottom:d,borderedStart:p,borderedEnd:m,borderedHorizontal:u,borderedVertical:h,borderRadius:y,borderTopStartRadius:C,borderTopEndRadius:S,borderBottomStartRadius:x,borderBottomEndRadius:v,borderColor:w,borderColorOnActive:k,borderColorOnFocus:T,borderColorOnChecked:P,borderColorOnHover:R,borderStartColor:W,borderEndColor:E,borderTopColor:H,borderBottomColor:B,borderWidth:F,borderVerticalWidth:V,borderHorizontalWidth:O,borderStartWidth:no,borderEndWidth:ao,borderTopWidth:io,borderBottomWidth:ro,alignContent:lo,alignItems:X,alignSelf:Y,flex:K,flexDirection:q,flexGrow:$,flexShrink:U,flexWrap:D,justifyContent:J,flexBasis:Z,display:Q,zIndex:oo,overflow:eo,overflowX:M,overflowY:I,position:G,spacing:L,spacingHorizontal:b,spacingVertical:so,spacingBottom:po,spacingEnd:co,spacingStart:go,spacingTop:mo,offset:bo,offsetVertical:fo,offsetHorizontal:uo,offsetBottom:ho,offsetEnd:yo,offsetStart:Co,offsetTop:So,columnGap:xo,rowGap:vo,height:wo,minHeight:ko,maxHeight:To,width:Po,minWidth:Ro,maxWidth:Wo,style:r});return kt(n?Je:wt,{style:_,ref:N,...zo})});import{forwardRef as Tt}from"react";import{jsx as Pt}from"react/jsx-runtime";var Qe=Tt(function({style:r,asChild:n,color:s="primary",colorChecked:l,variant:t="body1",fontSize:g=t,fontFamily:o=t,fontWeight:i=t,lineHeight:f=t,textTransform:a=t,textAlign:d,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:T,borderRadius:P,borderTopStartRadius:R,borderTopEndRadius:W,borderBottomStartRadius:E,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:O,borderColorOnHover:no,borderStartColor:ao,borderEndColor:io,borderTopColor:ro,borderBottomColor:lo,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:K,borderStartWidth:Z,borderEndWidth:q,borderTopWidth:$,borderBottomWidth:U,alignContent:D,alignItems:J,alignSelf:Q,flex:oo,flexDirection:eo,flexGrow:M,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:b,display:so,zIndex:po,overflow:co,overflowX:go,overflowY:mo,position:bo,spacing:fo,spacingHorizontal:uo,spacingVertical:ho,spacingBottom:yo,spacingEnd:Co,spacingStart:So,spacingTop:xo,offset:vo,offsetVertical:wo,offsetHorizontal:ko,offsetBottom:To,offsetEnd:Po,offsetStart:Ro,offsetTop:Wo,columnGap:zo,rowGap:N,height:_,minHeight:Bo,maxHeight:c,width:j,minWidth:Go,maxWidth:Qo,...oe},Fo){let ee=to({style:r,color:s,colorChecked:l,fontFamily:o,fontSize:g,fontWeight:i,lineHeight:f,textTransform:a,textAlign:d,backgroundColor:p,backgroundColorOnActive:m,backgroundColorOnHover:u,backgroundColorOnChecked:h,opacity:y,bordered:C,borderedTop:S,borderedBottom:x,borderedStart:v,borderedEnd:w,borderedHorizontal:k,borderedVertical:T,borderRadius:P,borderTopStartRadius:R,borderTopEndRadius:W,borderBottomStartRadius:E,borderBottomEndRadius:H,borderColor:B,borderColorOnActive:F,borderColorOnFocus:V,borderColorOnChecked:O,borderColorOnHover:no,borderStartColor:ao,borderEndColor:io,borderTopColor:ro,borderBottomColor:lo,borderWidth:X,borderVerticalWidth:Y,borderHorizontalWidth:K,borderStartWidth:Z,borderEndWidth:q,borderTopWidth:$,borderBottomWidth:U,alignContent:D,alignItems:J,alignSelf:Q,flex:oo,flexDirection:eo,flexGrow:M,flexShrink:I,flexWrap:G,justifyContent:L,flexBasis:b,display:so,zIndex:po,overflow:co,overflowX:go,overflowY:mo,position:bo,spacing:fo,spacingHorizontal:uo,spacingVertical:ho,spacingBottom:yo,spacingEnd:Co,spacingStart:So,spacingTop:xo,offset:vo,offsetVertical:wo,offsetHorizontal:ko,offsetBottom:To,offsetEnd:Po,offsetStart:Ro,offsetTop:Wo,columnGap:zo,rowGap:N,height:_,minHeight:Bo,maxHeight:c,width:j,minWidth:Go,maxWidth:Qo});return Pt(n?qo:Zo,{style:ee,ref:Fo,maxFontSizeMultiplier:1,allowFontScaling:!1,...oe})});import{jsx as Se,jsxs as Wt}from"react/jsx-runtime";var Cn=Rt(function({variant:r="accent",size:n,startIcon:s,endIcon:l,children:t,...g},o){let i=Xo({variant:r,size:n}),f=s?Se(Io,{name:s,...i.icon}):null,a=l?Se(Io,{name:l,...i.icon}):null;return Wt(Jo,{ref:o,...i.pressable,...g,children:[f,Se(Qe,{...i.text,children:t}),a]})});import{forwardRef as zt}from"react";import{jsx as et}from"react/jsx-runtime";var ot={s:36,m:48,l:64},Et={},Pn=zt(function({variant:r="accent",size:n="s",name:s,style:l=Et,...t},g){let o=Xo({variant:r,size:n});return et(Jo,{ref:g,...o.pressable,flexShrink:"0",style:{...l,width:ot[n],height:ot[n]},...t,children:et(Io,{name:s,...o.icon})})});export{Lr as Avatar,Cn as Button,Pn as IconButton};
1
+ var co={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},mo={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var go={none:0,thin:1,medium:2,thick:2},fo={none:0,thin:1,medium:2,thick:4};var bo={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"}}},ho={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"}}},xe={white:"#ffffff",black:"#000000",transparent:"transparent"};var je={s:16,m:24,l:32},yo=je,Ke={sm:16,md:24,lg:32},uo=Ke;var Co={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},So={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 xo={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"}},To={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"],vo=["Georgia","Times","Times New Roman","serif"],wo={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:vo,name:"yahoo-serif-text"},"serif-display":{fallbacks:vo,name:"yahoo-serif-display"}},Xe={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"},A={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Ye={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"},Ze={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"},qe={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}},Je={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:{...qe.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},He={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...Je.lineHeight,title2:36,title3:32}},Qe={fontSize:{...He.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...He.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},eo={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:{...Qe.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},oo={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:{...eo.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Po={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:{...oo.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var to={fontFamily:Xe,fontWeight:Ye,textTransform:Ze,avatarSizes:je,iconSizes:Ke,borderRadius:co,borderWidth:go,spacing:Co},Ee={fontFamily:Xe,fontWeight:Ye,textTransform:Ze,avatarSizes:yo,iconSizes:uo,borderRadius:mo,borderWidth:fo,spacing:So},Be={colorMode:{light:{palette:bo,spectrum:xo},dark:{palette:ho,spectrum:To}},scaleMode:{xSmall:{...to,...qe},small:{...to,...Je},medium:{...to,...He},large:{...Ee,...Qe},xLarge:{...Ee,...eo},xxLarge:{...Ee,...oo},xxxLarge:{...Ee,...Po}},fontFamily:wo};var ue="light",ye="large";import{createContext as Zo,memo as qo,useContext as Jo,useMemo as Qo}from"react";import{textVariants as Do}from"@yahoo/uds/fixtures";function Me(o,r){return Object.keys(o).reduce((a,s,n)=>(a[s]=r(o[s],s,n),a),{})}function Wo({spectrum:o,palette:r}){let a=Me(o,n=>Me(n,l=>`rgb(${l.replaceAll(" ",",")})`)),s=Me(r,n=>Object.entries(n).reduce((l,[f,{hue:e,step:i,opacity:b}])=>{let t=o[e][i],d=b?`rgb(${t.replaceAll(" ",",")} / ${b})`:`rgb(${t.replaceAll(" ",",")})`;return{...l,[f]:d}},{}));return{spectrum:a,palette:s}}function Ro({colorMode:o,...r}){return{...r,colorMode:{light:Wo(o.light),dark:Wo(o.dark)}}}function ro(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var R={};function no({colorMode:o,scaleMode:r},a){let{colorMode:s,scaleMode:n,fontFamily:l,...f}=Ro(a),e={fontFamilyGlobal:l,...f,...s[o],...n[r]},i=Object.assign,b=function(D){return function(c){let $={};if(!D?.variants)return i($,D?.base);let{base:We,variants:$e,defaultVariants:so,compoundVariants:Ue}=D;We&&i($,We);function $o(Re){if(Re){let{style:Se,...De}=Re;for(let ze in De){let ke=$e[ze],Ne=c?.[ze],po=so?.[ze],_e=ro(Ne)||ro(po);if(_e&&_e in ke){let Uo=ke[_e];i($,Uo)}}Se&&i($,Se)}}if($o(c),Ue&&Ue?.length>0)for(let Re of Ue){let{style:Se,...De}=Re;Object.entries(De).every(([ke,Ne])=>c?.[ke]===Ne)&&Se&&i($,Se)}return c?.style&&i($,c.style),$}},t=e.spacing.none,d=e.spacing[1],p=e.spacing[2],m=e.spacing[3],h=e.spacing[4],y=e.spacing[5],u=e.spacing[6],C=e.spacing[7],S=e.spacing[8],x=e.spacing[9],T=e.spacing[10],v=e.spacing[11],w=e.spacing[12],P=e.spacing[13],W=e.spacing[14],z=e.palette.core.accent,k=e.palette.core.alert,F=e.palette.core.brand,H=e.palette.core.positive,E=e.palette.core.warning,B=xe.white,M=xe.black,V=xe.transparent,N=e.palette.foreground.muted,_=e.palette.foreground["on-color"],j=e.palette.foreground.primary,K=e.palette.foreground.secondary,X=e.palette.foreground.tertiary,Y=e.palette.background.primary,Z=e.palette.background.secondary,O=e.palette.line.primary,I=e.palette.line.secondary,G=e.palette.line.tertiary,L=e.palette.line.muted,g=e.fontFamilyGlobal,q=g.sans.name,J=g["sans-beta"].name,Q=g["sans-condensed"].name,ee=g["serif-text"].name,oe=g["serif-display"].name,te=g[e.fontFamily.display1].name,re=g[e.fontFamily.display2].name,ne=g[e.fontFamily.display3].name,ie=g[e.fontFamily.title1].name,ae=g[e.fontFamily.title2].name,le=g[e.fontFamily.title3].name,de=g[e.fontFamily.title4].name,se=g[e.fontFamily.headline1].name,pe=g[e.fontFamily.body1].name,ce=g[e.fontFamily.label1].name,me=g[e.fontFamily.label2].name,ge=g[e.fontFamily.caption1].name,fe=g[e.fontFamily.caption2].name,be=g[e.fontFamily.legal1].name;function Ce(he){return!!(typeof he=="string"&&Do.includes(he))}function we({style:he,...D}){let Pe={},c;Ce(D.fontWeight)?c=e.fontWeight[D.fontWeight]:c="regular";let $=b({variants:{color:{accent:{color:z},alert:{color:k},black:{color:M},brand:{color:F},positive:{color:H},warning:{color:E},white:{color:B},transparent:{color:V},muted:{color:N},"on-color":{color:_},primary:{color:j},secondary:{color:K},tertiary:{color:X}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${q}-${c}`},"sans-beta":{fontFamily:`${J}-${c}`},"sans-condensed":{fontFamily:`${Q}-${c}`},"serif-text":{fontFamily:`${ee}-${c}`},"serif-display":{fontFamily:`${oe}-${c}`},display1:{fontFamily:`${te}-${c}`},display2:{fontFamily:`${re}-${c}`},display3:{fontFamily:`${ne}-${c}`},title1:{fontFamily:`${ie}-${c}`},title2:{fontFamily:`${ae}-${c}`},title3:{fontFamily:`${le}-${c}`},title4:{fontFamily:`${de}-${c}`},headline1:{fontFamily:`${se}-${c}`},body1:{fontFamily:`${pe}-${c}`},label1:{fontFamily:`${ce}-${c}`},label2:{fontFamily:`${me}-${c}`},caption1:{fontFamily:`${ge}-${c}`},caption2:{fontFamily:`${fe}-${c}`},legal1:{fontFamily:`${be}-${c}`}},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:A[e.fontWeight.display1]},display2:{fontWeight:A[e.fontWeight.display2]},display3:{fontWeight:A[e.fontWeight.display3]},title1:{fontWeight:A[e.fontWeight.title1]},title2:{fontWeight:A[e.fontWeight.title2]},title3:{fontWeight:A[e.fontWeight.title3]},title4:{fontWeight:A[e.fontWeight.title4]},headline1:{fontWeight:A[e.fontWeight.headline1]},body1:{fontWeight:A[e.fontWeight.body1]},label1:{fontWeight:A[e.fontWeight.label1]},label2:{fontWeight:A[e.fontWeight.label2]},caption1:{fontWeight:A[e.fontWeight.caption1]},caption2:{fontWeight:A[e.fontWeight.caption2]},legal1:{fontWeight:A[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:z},alert:{backgroundColor:k},black:{backgroundColor:M},brand:{backgroundColor:F},positive:{backgroundColor:H},warning:{backgroundColor:E},white:{backgroundColor:B},primary:{backgroundColor:Y},secondary:{backgroundColor:Z},transparent:{backgroundColor:V}},spacing:{none:{padding:t},1:{padding:d},2:{padding:p},3:{padding:m},4:{padding:h},5:{padding:y},6:{padding:u},7:{padding:C},8:{padding:S},9:{padding:x},10:{padding:T},11:{padding:v},12:{padding:w},13:{padding:P},14:{padding:W}},spacingHorizontal:{none:{paddingHorizontal:t},1:{paddingHorizontal:d},2:{paddingHorizontal:p},3:{paddingHorizontal:m},4:{paddingHorizontal:h},5:{paddingHorizontal:y},6:{paddingHorizontal:u},7:{paddingHorizontal:C},8:{paddingHorizontal:S},9:{paddingHorizontal:x},10:{paddingHorizontal:T},11:{paddingHorizontal:v},12:{paddingHorizontal:w},13:{paddingHorizontal:P},14:{paddingHorizontal:W}},spacingVertical:{none:{paddingVertical:t},1:{paddingVertical:d},2:{paddingVertical:p},3:{paddingVertical:m},4:{paddingVertical:h},5:{paddingVertical:y},6:{paddingVertical:u},7:{paddingVertical:C},8:{paddingVertical:S},9:{paddingVertical:x},10:{paddingVertical:T},11:{paddingVertical:v},12:{paddingVertical:w},13:{paddingVertical:P},14:{paddingVertical:W}},spacingBottom:{none:{paddingBottom:t},1:{paddingBottom:d},2:{paddingBottom:p},3:{paddingBottom:m},4:{paddingBottom:h},5:{paddingBottom:y},6:{paddingBottom:u},7:{paddingBottom:C},8:{paddingBottom:S},9:{paddingBottom:x},10:{paddingBottom:T},11:{paddingBottom:v},12:{paddingBottom:w},13:{paddingBottom:P},14:{paddingBottom:W}},spacingEnd:{none:{paddingEnd:t},1:{paddingEnd:d},2:{paddingEnd:p},3:{paddingEnd:m},4:{paddingEnd:h},5:{paddingEnd:y},6:{paddingEnd:u},7:{paddingEnd:C},8:{paddingEnd:S},9:{paddingEnd:x},10:{paddingEnd:T},11:{paddingEnd:v},12:{paddingEnd:w},13:{paddingEnd:P},14:{paddingEnd:W}},spacingStart:{none:{paddingStart:t},1:{paddingStart:d},2:{paddingStart:p},3:{paddingStart:m},4:{paddingStart:h},5:{paddingStart:y},6:{paddingStart:u},7:{paddingStart:C},8:{paddingStart:S},9:{paddingStart:x},10:{paddingStart:T},11:{paddingStart:v},12:{paddingStart:w},13:{paddingStart:P},14:{paddingStart:W}},spacingTop:{none:{paddingTop:t},1:{paddingTop:d},2:{paddingTop:p},3:{paddingTop:m},4:{paddingTop:h},5:{paddingTop:y},6:{paddingTop:u},7:{paddingTop:C},8:{paddingTop:S},9:{paddingTop:x},10:{paddingTop:T},11:{paddingTop:v},12:{paddingTop:w},13:{paddingTop:P},14:{paddingTop:W}},offset:{none:{margin:-t},1:{margin:-d},2:{margin:-p},3:{margin:-m},4:{margin:-h},5:{margin:-y},6:{margin:-u},7:{margin:-C},8:{margin:-S},9:{margin:-x},10:{margin:-T},11:{margin:-v},12:{margin:-w},13:{margin:-P},14:{margin:-W}},offsetVertical:{none:{marginVertical:-t},1:{marginVertical:-d},2:{marginVertical:-p},3:{marginVertical:-m},4:{marginVertical:-h},5:{marginVertical:-y},6:{marginVertical:-u},7:{marginVertical:-C},8:{marginVertical:-S},9:{marginVertical:-x},10:{marginVertical:-T},11:{marginVertical:-v},12:{marginVertical:-w},13:{marginVertical:-P},14:{marginVertical:-W}},offsetHorizontal:{none:{marginHorizontal:-t},1:{marginHorizontal:-d},2:{marginHorizontal:-p},3:{marginHorizontal:-m},4:{marginHorizontal:-h},5:{marginHorizontal:-y},6:{marginHorizontal:-u},7:{marginHorizontal:-C},8:{marginHorizontal:-S},9:{marginHorizontal:-x},10:{marginHorizontal:-T},11:{marginHorizontal:-v},12:{marginHorizontal:-w},13:{marginHorizontal:-P},14:{marginHorizontal:-W}},offsetBottom:{none:{marginBottom:-t},1:{marginBottom:-d},2:{marginBottom:-p},3:{marginBottom:-m},4:{marginBottom:-h},5:{marginBottom:-y},6:{marginBottom:-u},7:{marginBottom:-C},8:{marginBottom:-S},9:{marginBottom:-x},10:{marginBottom:-T},11:{marginBottom:-v},12:{marginBottom:-w},13:{marginBottom:-P},14:{marginBottom:-W}},offsetEnd:{none:{marginEnd:-t},1:{marginEnd:-d},2:{marginEnd:-p},3:{marginEnd:-m},4:{marginEnd:-h},5:{marginEnd:-y},6:{marginEnd:-u},7:{marginEnd:-C},8:{marginEnd:-S},9:{marginEnd:-x},10:{marginEnd:-T},11:{marginEnd:-v},12:{marginEnd:-w},13:{marginEnd:-P},14:{marginEnd:-W}},offsetStart:{none:{marginStart:-t},1:{marginStart:-d},2:{marginStart:-p},3:{marginStart:-m},4:{marginStart:-h},5:{marginStart:-y},6:{marginStart:-u},7:{marginStart:-C},8:{marginStart:-S},9:{marginStart:-x},10:{marginStart:-T},11:{marginStart:-v},12:{marginStart:-w},13:{marginStart:-P},14:{marginStart:-W}},offsetTop:{none:{marginTop:-t},1:{marginTop:-d},2:{marginTop:-p},3:{marginTop:-m},4:{marginTop:-h},5:{marginTop:-y},6:{marginTop:-u},7:{marginTop:-C},8:{marginTop:-S},9:{marginTop:-x},10:{marginTop:-T},11:{marginTop:-v},12:{marginTop:-w},13:{marginTop:-P},14:{marginTop:-W}},columnGap:{none:{columnGap:t},1:{columnGap:d},2:{columnGap:p},3:{columnGap:m},4:{columnGap:h},5:{columnGap:y},6:{columnGap:u},7:{columnGap:C},8:{columnGap:S},9:{columnGap:x},10:{columnGap:T},11:{columnGap:v},12:{columnGap:w},13:{columnGap:P},14:{columnGap:W}},rowGap:{none:{rowGap:t},1:{rowGap:d},2:{rowGap:p},3:{rowGap:m},4:{rowGap:h},5:{rowGap:y},6:{rowGap:u},7:{rowGap:C},8:{rowGap:S},9:{rowGap:x},10:{rowGap:T},11:{rowGap:v},12:{rowGap:w},13:{rowGap:P},14:{rowGap:W}},alignContent:{"flex-start":{alignContent:"flex-start"},"flex-end":{alignContent:"flex-end"},center:{alignContent:"center"},stretch:{alignContent:"stretch"},"space-between":{alignContent:"space-between"},"space-around":{alignContent:"space-around"}},alignItems:{"flex-start":{alignItems:"flex-start"},"flex-end":{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},baseline:{alignItems:"baseline"}},alignSelf:{auto:{alignSelf:"auto"},"flex-start":{alignSelf:"flex-start"},"flex-end":{alignSelf:"flex-end"},center:{alignSelf:"center"},stretch:{alignSelf:"stretch"},baseline:{alignSelf:"baseline"}},flex:{1:{flex:1},auto:{flexGrow:1,flexShrink:1,flexBasis:"auto"},initial:{flexGrow:1,flexShrink:1},none:{}},flexDirection:{row:{flexDirection:"row"},column:{flexDirection:"column"},"row-reverse":{flexDirection:"row-reverse"},"column-reverse":{flexDirection:"column-reverse"}},flexGrow:{0:{flexGrow:0},1:{flexGrow:1},2:{flexGrow:2},3:{flexGrow:3}},flexShrink:{0:{flexShrink:0},1:{flexShrink:1}},flexWrap:{wrap:{flexWrap:"wrap"},"wrap-reverse":{flexWrap:"wrap-reverse"},nowrap:{flexWrap:"nowrap"}},justifyContent:{"flex-start":{justifyContent:"flex-start"},"flex-end":{justifyContent:"flex-end"},center:{justifyContent:"center"},"space-between":{justifyContent:"space-between"},"space-around":{justifyContent:"space-around"},"space-evenly":{justifyContent:"space-evenly"}},flexBasis:{"min-content":{flexBasis:"auto"}},display:{block:{display:"flex"},"inline-block":{display:"flex",flexDirection:"row"},inline:{display:"flex",flexDirection:"row"},flex:{display:"flex"},"inline-flex":{display:"flex",flexDirection:"row",flexGrow:0},table:{display:"flex",flexDirection:"column"},"inline-table":{display:"flex",flexDirection:"row"},"table-caption":R,"table-cell":R,"table-column":R,"table-column-group":R,"table-footer-group":R,"table-header-group":R,"table-row-group":R,"table-row":R,"flow-root":R,grid:R,contents:R},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:R,fixed:R,absolute:{position:"absolute"},relative:{position:"relative"},sticky:R},height:{auto:{height:"auto"},full:{height:"100%"},screen:{height:"100%"},min:{height:"auto"},max:{height:"auto"},fit:{},"1/2":{height:"50%"},"1/3":{height:"33.33%"},"2/3":{height:"66.67%"},"1/4":{height:"25%"},"2/4":{height:"50%"},"3/4":{height:"75%"},"1/5":{height:"20%"},"2/5":{height:"40%"},"3/5":{height:"60%"},"4/5":{height:"80%"},"1/6":{height:"16.67%"},"2/6":{height:"33.33%"},"3/6":{height:"50%"},"4/6":{height:"66.67%"},"5/6":{height:"83.33%"}},minHeight:{full:{minHeight:"100%"},min:{minHeight:"auto"},max:{minHeight:"auto"},fit:{},screen:{minHeight:"auto"}},maxHeight:{full:{maxHeight:"100%"},min:{maxHeight:"auto"},max:{maxHeight:"auto"},fit:{},screen:{maxHeight:"auto"},none:R},width:{auto:{width:"auto"},full:{width:"100%"},screen:{width:"auto"},min:{width:"auto"},max:{width:"auto"},fit:{},"1/2":{width:"50%"},"1/3":{width:"33.33%"},"2/3":{width:"66.67%"},"1/4":{width:"25%"},"2/4":{width:"50%"},"3/4":{width:"75%"},"1/5":{width:"20%"},"2/5":{width:"40%"},"3/5":{width:"60%"},"4/5":{width:"80%"},"1/6":{width:"16.67%"},"2/6":{width:"33.33%"},"3/6":{width:"50%"},"4/6":{width:"66.67%"},"5/6":{width:"83.33%"},"1/12":{width:"8.33%"},"2/12":{width:"16.67%"},"3/12":{width:"25%"},"4/12":{width:"33.33%"},"5/12":{width:"41.67%"},"6/12":{width:"50%"},"7/12":{width:"58.33%"},"8/12":{width:"66.67%"},"9/12":{width:"75%"},"10/12":{width:"83.33%"},"11/12":{width:"91.67%"}},minWidth:{full:{minWidth:"100%"},min:{minWidth:"auto"},max:{minWidth:"auto"},fit:{},screen:{minWidth:"100%"}},maxWidth:{none:R,full:{maxWidth:"100%"},min:{maxWidth:"auto"},max:{maxWidth:"auto"},fit:{}},avatarSize:{s:{width:e.avatarSizes.s,height:e.avatarSizes.s,lineHeight:e.avatarSizes.s,fontSize:e.avatarSizes.s},m:{width:e.avatarSizes.m,height:e.avatarSizes.m,lineHeight:e.avatarSizes.m,fontSize:e.avatarSizes.m},l:{width:e.avatarSizes.l,height:e.avatarSizes.l,lineHeight:e.avatarSizes.l,fontSize:e.avatarSizes.l}},iconSize:{sm:{width:e.iconSizes.sm,height:e.iconSizes.sm,lineHeight:e.iconSizes.sm,fontSize:e.iconSizes.sm},md:{width:e.iconSizes.md,height:e.iconSizes.md,lineHeight:e.iconSizes.md,fontSize:e.iconSizes.md},lg:{width:e.iconSizes.lg,height:e.iconSizes.lg,lineHeight:e.iconSizes.lg,fontSize:e.iconSizes.lg}},borderColor:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnActive:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnFocus:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnHover:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:I},tertiary:{borderColor:G}},borderColorOnChecked:{accent:{borderColor:z},alert:{borderColor:k},black:{borderColor:M},brand:{borderColor:F},positive:{borderColor:H},warning:{borderColor:E},white:{borderColor:B},transparent:{borderColor:V},muted:{borderColor:L},primary:{borderColor:O},secondary:{borderColor:I},tertiary:{borderColor:G}},borderStartColor:{accent:{borderStartColor:z},alert:{borderStartColor:k},black:{borderStartColor:M},brand:{borderStartColor:F},positive:{borderStartColor:H},warning:{borderStartColor:E},white:{borderStartColor:B},transparent:{borderStartColor:V},muted:{borderStartColor:L},primary:{borderStartColor:O},secondary:{borderStartColor:I},tertiary:{borderStartColor:G}},borderEndColor:{accent:{borderEndColor:z},alert:{borderEndColor:k},black:{borderEndColor:M},brand:{borderEndColor:F},positive:{borderEndColor:H},warning:{borderEndColor:E},white:{borderEndColor:B},transparent:{borderEndColor:V},muted:{borderEndColor:L},primary:{borderEndColor:O},secondary:{borderEndColor:I},tertiary:{borderEndColor:G}},borderBottomColor:{accent:{borderBottomColor:z},alert:{borderBottomColor:k},black:{borderBottomColor:M},brand:{borderBottomColor:F},positive:{borderBottomColor:H},warning:{borderBottomColor:E},white:{borderBottomColor:B},transparent:{borderBottomColor:V},muted:{borderBottomColor:L},primary:{borderBottomColor:O},secondary:{borderBottomColor:I},tertiary:{borderBottomColor:G}},borderTopColor:{accent:{borderTopColor:z},alert:{borderTopColor:k},black:{borderTopColor:M},brand:{borderTopColor:F},positive:{borderTopColor:H},warning:{borderTopColor:E},white:{borderTopColor:B},transparent:{borderTopColor:V},muted:{borderTopColor:L},primary:{borderTopColor:O},secondary:{borderTopColor:I},tertiary:{borderTopColor:G}},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:R,cover:R,fill:R,none:R,"scale-down":R},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"}}}})(D);return i(Pe,$,he)}return{cva:b,getStyles:we,tokens:e}}var io=no({colorMode:ue,scaleMode:ye},Be);import{createContext as No,useContext as _o}from"react";import{jsx as Zt}from"react/jsx-runtime";var jo=No(ue);function zo(){return _o(jo)}import{createContext as Ko,useContext as Xo}from"react";import{jsx as or}from"react/jsx-runtime";var Yo=Ko(ye);function ko(){let o=Xo(Yo);return o||ye}import{jsx as et}from"react/jsx-runtime";var Fo=Zo(io),dr=qo(function({children:r,value:a=Be}){let s=zo(),n=ko(),l=Qo(()=>a===void 0&&s===ue&&n===ye?io:no({colorMode:s,scaleMode:n},a),[s,n,a]);return et(Fo.Provider,{value:l,children:r})});function U(o){let{getStyles:r}=Jo(Fo);return r(o)}var Ho={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},ao={base:{display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:"full",minWidth:"fit"},variant:{accent:{color:"on-color",backgroundColor:"accent",borderColor:"accent",borderWidth:"thin"},"accent-outline":{color:"accent",backgroundColor:"transparent",borderColor:"accent",borderWidth:"thin"},"accent-ghost":{color:"accent"},brand:{color:"on-color",backgroundColor:"brand",borderColor:"brand",borderWidth:"thin"},"brand-outline":{color:"brand",backgroundColor:"transparent",borderColor:"brand",borderWidth:"thin"},"brand-ghost":{color:"brand"},positive:{color:"on-color",backgroundColor:"positive",borderColor:"positive",borderWidth:"thin"},"positive-outline":{color:"positive",backgroundColor:"transparent",borderColor:"positive",borderWidth:"thin"},"positive-ghost":{color:"positive"},alert:{color:"on-color",backgroundColor:"alert",borderColor:"alert",borderWidth:"thin"},"alert-outline":{color:"alert",backgroundColor:"transparent",borderColor:"alert",borderWidth:"thin"},"alert-ghost":{color:"alert"},warning:{color:"on-color",backgroundColor:"warning",borderColor:"warning",borderWidth:"thin"},"warning-outline":{color:"warning",backgroundColor:"transparent",borderColor:"warning",borderWidth:"thin"},"warning-ghost":{color:"warning"},"primary-outline":{color:"primary",borderColor:"muted",borderWidth:"thin"},"primary-ghost":{color:"primary"},secondary:{backgroundColor:"secondary",color:"primary"}},size:{s:{variant:"label1",spacingHorizontal:"6",spacingVertical:"4",columnGap:"4"},m:{variant:"headline1",spacingHorizontal:"7",spacingVertical:"5",columnGap:"4"},l:{variant:"headline1",spacingHorizontal:"8",spacingVertical:"6",columnGap:"4"}}};function Ve({variant:o="accent",size:r="s"}){let{color:a,...s}=ao.variant[o],{variant:n,...l}=ao.size[r];return{pressable:{...ao.base,...s,...l},text:{color:a,variant:n,textAlign:"center"},icon:{color:a,size:"sm"}}}import{Image as ot}from"expo-image";import{jsx as tt}from"react/jsx-runtime";function Eo({width:o,height:r,src:a,alt:s,contentFit:n="cover",backgroundColor:l,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:i,borderBottomStartRadius:b,borderBottomEndRadius:t,borderColor:d,borderColorOnActive:p,borderColorOnFocus:m,borderColorOnChecked:h,borderColorOnHover:y,borderStartColor:u,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:w,borderStartWidth:P,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:H,alignSelf:E,flex:B,flexDirection:M,flexGrow:V,flexShrink:N="0",flexWrap:_,justifyContent:j,flexBasis:K,display:X="flex",overflow:Y,overflowX:Z,overflowY:O,position:I,spacing:G,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:ge,...fe}){let be=U({contentFit:n,backgroundColor:l,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:i,borderBottomStartRadius:b,borderBottomEndRadius:t,borderColor:d,borderColorOnActive:p,borderColorOnFocus:m,borderColorOnChecked:h,borderColorOnHover:y,borderStartColor:u,borderEndColor:C,borderTopColor:S,borderBottomColor:x,borderWidth:T,borderVerticalWidth:v,borderHorizontalWidth:w,borderStartWidth:P,borderEndWidth:W,borderTopWidth:z,borderBottomWidth:k,alignContent:F,alignItems:H,alignSelf:E,flex:B,flexDirection:M,flexGrow:V,flexShrink:N,flexWrap:_,justifyContent:j,flexBasis:K,display:X,overflow:Y,overflowX:Z,overflowY:O,position:I,spacing:G,spacingHorizontal:L,spacingVertical:g,spacingBottom:q,spacingEnd:J,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,minHeight:pe,maxHeight:ce,minWidth:me,maxWidth:ge,style:{width:o,height:r,justifyContent:"flex-start"}});return tt(ot,{source:a,alt:s,style:be,contentFit:n,contentPosition:"left",...fe})}import{jsx as rt}from"react/jsx-runtime";function Cr({size:o,shape:r,contentFit:a="cover",...s}){let n=U({...Ho,avatarSize:o,borderRadius:r});return rt(Eo,{style:n,contentFit:a,...s})}import{forwardRef as mt}from"react";import{forwardRef as it}from"react";import{Children as Te,cloneElement as Mo,forwardRef as Vo,isValidElement as Ae}from"react";function nt(o,r){typeof o=="function"?o(r):o!=null&&(o.current=r)}function Bo(...o){return r=>o.forEach(a=>nt(a,r))}import{jsx as Ao}from"react/jsx-runtime";function Oe(){let o=Vo((l,f)=>{let{children:e,...i}=l,b=Te.toArray(e),t=b.find(s);if(t){let d=t.props.children,p=b.map(m=>m===t?Te.count(d)>1?Te.only(null):Ae(d)?d.props.children:null:m);return Ao(r,{...i,ref:f,children:Ae(d)?Mo(d,void 0,p):null})}return Ao(r,{...i,ref:f,children:e})});o.displayName="Slot";let r=Vo((l,f)=>{let{children:e,...i}=l;return Ae(e)?Mo(e,{...n(i,e.props),ref:f?Bo(f,e.ref):e.ref}):Te.count(e)>1?Te.only(null):null});r.displayName="SlotClone";let a=({children:l})=>l;function s(l){return Ae(l)&&l.type===a}function n(l,f){let e={...f};for(let i in f){let b=l[i],t=f[i];/^on[A-Z]/.test(i)?b&&t?e[i]=(...p)=>{t(...p),b(...p)}:b&&(e[i]=b):i==="style"&&(e[i]={...b,...t})}return{...l,...e}}return o}var Ie="RCTText",zr=Oe(),Ge=Oe(),Oo=Oe();import{jsx as at}from"react/jsx-runtime";var ve=it(function({style:r,asChild:a=!1,size:s,color:n,name:l,textAlign:f,spacing:e,spacingBottom:i,spacingEnd:b,spacingHorizontal:t,spacingStart:d,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,...v},w){let P=U({color:n,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:i,spacingEnd:b,spacingHorizontal:t,spacingStart:d,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,iconSize:s,style:r});return at(a?Ge:Ie,{ref:w,maxFontSizeMultiplier:1,allowFontScaling:!1,style:P,...v,children:l})});import{forwardRef as lt}from"react";import{Pressable as dt}from"react-native";import{jsx as st}from"react/jsx-runtime";var Le=lt(function({style:r,asChild:a=!1,backgroundColor:s,borderRadius:n,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:i,borderColor:b,borderColorOnActive:t,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:m,borderStartColor:h,borderEndColor:y,borderTopColor:u,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:w,borderTopWidth:P,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:H,flexBasis:E,flexDirection:B,flexGrow:M,flexShrink:V,flexWrap:N,justifyContent:_,display:j,overflow:K,overflowX:X,overflowY:Y,position:Z,spacing:O,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:de,minHeight:se,maxHeight:pe,width:ce,minWidth:me,maxWidth:ge,...fe},be){let Ce=U({backgroundColor:s,borderRadius:n,borderTopStartRadius:l,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:i,borderColor:b,borderColorOnActive:t,borderColorOnFocus:d,borderColorOnChecked:p,borderColorOnHover:m,borderStartColor:h,borderEndColor:y,borderTopColor:u,borderBottomColor:C,borderWidth:S,borderVerticalWidth:x,borderHorizontalWidth:T,borderStartWidth:v,borderEndWidth:w,borderTopWidth:P,borderBottomWidth:W,alignContent:z,alignItems:k,alignSelf:F,flex:H,flexDirection:B,flexGrow:M,flexShrink:V,flexWrap:N,justifyContent:_,flexBasis:E,display:j,overflow:K,overflowX:X,overflowY:Y,position:Z,spacing:O,spacingHorizontal:I,spacingVertical:G,spacingBottom:L,spacingEnd:g,spacingStart:q,spacingTop:J,offset:Q,offsetVertical:ee,offsetHorizontal:oe,offsetBottom:te,offsetEnd:re,offsetStart:ne,offsetTop:ie,columnGap:ae,rowGap:le,height:de,minHeight:se,maxHeight:pe,width:ce,minWidth:me,maxWidth:ge,style:r});return st(a?Oo:dt,{style:Ce,ref:be,...fe})});import{forwardRef as pt}from"react";import{jsx as ct}from"react/jsx-runtime";var Io=pt(function({style:r,asChild:a,color:s="primary",variant:n="body1",fontSize:l=n,fontFamily:f=n,fontWeight:e=n,lineHeight:i=n,textTransform:b=n,textAlign:t,backgroundColor:d,borderRadius:p,borderTopStartRadius:m,borderTopEndRadius:h,borderBottomStartRadius:y,borderBottomEndRadius:u,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:w,borderEndColor:P,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:H,borderStartWidth:E,borderEndWidth:B,borderTopWidth:M,borderBottomWidth:V,alignContent:N,alignItems:_,alignSelf:j,flex:K,flexDirection:X,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:I,flexBasis:G,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:de,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:ge,columnGap:fe,rowGap:be,height:Ce,minHeight:we,maxHeight:he,width:D,minWidth:Pe,maxWidth:c,...$},We){let $e=U({style:r,color:s,fontFamily:f,fontSize:l,fontWeight:e,lineHeight:i,textTransform:b,textAlign:t,backgroundColor:d,borderRadius:p,borderTopStartRadius:m,borderTopEndRadius:h,borderBottomStartRadius:y,borderBottomEndRadius:u,borderColor:C,borderColorOnActive:S,borderColorOnFocus:x,borderColorOnChecked:T,borderColorOnHover:v,borderStartColor:w,borderEndColor:P,borderTopColor:W,borderBottomColor:z,borderWidth:k,borderVerticalWidth:F,borderHorizontalWidth:H,borderStartWidth:E,borderEndWidth:B,borderTopWidth:M,borderBottomWidth:V,alignContent:N,alignItems:_,alignSelf:j,flex:K,flexDirection:X,flexGrow:Y,flexShrink:Z,flexWrap:O,justifyContent:I,flexBasis:G,display:L,overflow:g,overflowX:q,overflowY:J,position:Q,spacing:ee,spacingHorizontal:oe,spacingVertical:te,spacingBottom:re,spacingEnd:ne,spacingStart:ie,spacingTop:ae,offset:le,offsetVertical:de,offsetHorizontal:se,offsetBottom:pe,offsetEnd:ce,offsetStart:me,offsetTop:ge,columnGap:fe,rowGap:be,height:Ce,minHeight:we,maxHeight:he,width:D,minWidth:Pe,maxWidth:c});return ct(a?Ge:Ie,{style:$e,ref:We,maxFontSizeMultiplier:1,allowFontScaling:!1,...$})});import{jsx as lo,jsxs as gt}from"react/jsx-runtime";var qr=mt(function({variant:r="accent",size:a,startIcon:s,endIcon:n,children:l,...f},e){let i=Ve({variant:r,size:a}),b=s?lo(ve,{name:s,...i.icon}):null,t=n?lo(ve,{name:n,...i.icon}):null;return gt(Le,{ref:e,...i.pressable,...f,children:[b,lo(Io,{...i.text,children:l}),t]})});import{forwardRef as ft}from"react";import{jsx as Lo}from"react/jsx-runtime";var Go={s:36,m:48,l:64},bt={},nn=ft(function({variant:r="accent",size:a="s",name:s,style:n=bt,...l},f){let e=Ve({variant:r,size:a});return Lo(Le,{ref:f,...e.pressable,flexShrink:"0",style:{...n,width:Go[a],height:Go[a]},...l,children:Lo(ve,{name:s,...e.icon})})});export{Cr as Avatar,qr as Button,nn as IconButton};