@yahoo/uds 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- "use strict";var Ye=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var at=Object.prototype.hasOwnProperty;var lt=(o,t)=>{for(var n in t)Ye(o,n,{get:t[n],enumerable:!0})},dt=(o,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of it(t))!at.call(o,r)&&r!==n&&Ye(o,r,{get:()=>t[r],enumerable:!(l=nt(t,r))||l.enumerable});return o};var st=o=>dt(Ye({},"__esModule",{value:!0}),o);var Ct={};lt(Ct,{Avatar:()=>ft,Button:()=>ht,IconButton:()=>ut});module.exports=st(Ct);var ho={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},yo={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var uo={none:0,thin:1,medium:2,thick:2},Co={none:0,thin:1,medium:2,thick:4};var So={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"}}},xo={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"}}},we={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ze={s:16,m:24,l:32},To=Ze,qe={sm:16,md:24,lg:32},vo=qe;var wo={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},Po={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Wo={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Ro={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 Ee=["Helvetica Neue","Helvetica","Arial","sans-serif"],zo=["Georgia","Times","Times New Roman","serif"],ko={icons:{fallbacks:Ee,name:"yahoo-icons"},sans:{fallbacks:Ee,name:"yahoo-sans"},"sans-beta":{fallbacks:Ee,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ee,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:zo,name:"yahoo-serif-text"},"serif-display":{fallbacks:zo,name:"yahoo-serif-display"}},Je={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"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Qe={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"},eo={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"},oo={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}},to={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:{...oo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Be={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...to.lineHeight,title2:36,title3:32}},ro={fontSize:{...Be.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Be.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},no={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:{...ro.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},io={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:{...no.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Fo={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:{...io.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var ao={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:Ze,iconSizes:qe,borderRadius:ho,borderWidth:uo,spacing:wo},Me={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:To,iconSizes:vo,borderRadius:yo,borderWidth:Co,spacing:Po},Ve={colorMode:{light:{palette:So,spectrum:Wo},dark:{palette:xo,spectrum:Ro}},scaleMode:{xSmall:{...ao,...oo},small:{...ao,...to},medium:{...ao,...Be},large:{...Me,...ro},xLarge:{...Me,...no},xxLarge:{...Me,...io},xxxLarge:{...Me,...Fo}},fontFamily:ko};var Se="light",Ce="large";var _=require("react");var Bo=require("@yahoo/uds/fixtures");function Ae(o,t){return Object.keys(o).reduce((n,l,r)=>(n[l]=t(o[l],l,r),n),{})}function Ho({spectrum:o,palette:t}){let n=Ae(o,r=>Ae(r,d=>`rgb(${d.replaceAll(" ",",")})`)),l=Ae(t,r=>Object.entries(r).reduce((d,[f,{hue:e,step:a,opacity:b}])=>{let i=o[e][a],s=b?`rgb(${i.replaceAll(" ",",")} / ${b})`:`rgb(${i.replaceAll(" ",",")})`;return{...d,[f]:s}},{}));return{spectrum:n,palette:l}}function Eo({colorMode:o,...t}){return{...t,colorMode:{light:Ho(o.light),dark:Ho(o.dark)}}}function lo(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var R={};function so({colorMode:o,scaleMode:t},n){let{colorMode:l,scaleMode:r,fontFamily:d,...f}=Eo(n),e={fontFamilyGlobal:d,...f,...l[o],...r[t]},a=Object.assign,b=function(N){return function(c){let U={};if(!N?.variants)return a(U,N?.base);let{base:ze,variants:Ne,defaultVariants:fo,compoundVariants:_e}=N;ze&&a(U,ze);function tt(ke){if(ke){let{style:ve,...je}=ke;for(let Fe in je){let He=Ne[Fe],Ke=c?.[Fe],bo=fo?.[Fe],Xe=lo(Ke)||lo(bo);if(Xe&&Xe in He){let rt=He[Xe];a(U,rt)}}ve&&a(U,ve)}}if(tt(c),_e&&_e?.length>0)for(let ke of _e){let{style:ve,...je}=ke;Object.entries(je).every(([He,Ke])=>c?.[He]===Ke)&&ve&&a(U,ve)}return c?.style&&a(U,c.style),U}},i=e.spacing.none,s=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=we.white,M=we.black,V=we.transparent,j=e.palette.foreground.muted,K=e.palette.foreground["on-color"],X=e.palette.foreground.primary,Y=e.palette.foreground.secondary,Z=e.palette.foreground.tertiary,q=e.palette.background.primary,J=e.palette.background.secondary,I=e.palette.line.primary,G=e.palette.line.secondary,L=e.palette.line.tertiary,$=e.palette.line.muted,g=e.fontFamilyGlobal,Q=g.sans.name,ee=g["sans-beta"].name,oe=g["sans-condensed"].name,te=g["serif-text"].name,re=g["serif-display"].name,ne=g[e.fontFamily.display1].name,ie=g[e.fontFamily.display2].name,ae=g[e.fontFamily.display3].name,le=g[e.fontFamily.title1].name,de=g[e.fontFamily.title2].name,se=g[e.fontFamily.title3].name,pe=g[e.fontFamily.title4].name,ce=g[e.fontFamily.headline1].name,me=g[e.fontFamily.body1].name,ge=g[e.fontFamily.label1].name,fe=g[e.fontFamily.label2].name,be=g[e.fontFamily.caption1].name,he=g[e.fontFamily.caption2].name,ye=g[e.fontFamily.legal1].name;function Te(ue){return!!(typeof ue=="string"&&Bo.textVariants.includes(ue))}function We({style:ue,...N}){let Re={},c;Te(N.fontWeight)?c=e.fontWeight[N.fontWeight]:c="regular";let U=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:j},"on-color":{color:K},primary:{color:X},secondary:{color:Y},tertiary:{color:Z}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${Q}-${c}`},"sans-beta":{fontFamily:`${ee}-${c}`},"sans-condensed":{fontFamily:`${oe}-${c}`},"serif-text":{fontFamily:`${te}-${c}`},"serif-display":{fontFamily:`${re}-${c}`},display1:{fontFamily:`${ne}-${c}`},display2:{fontFamily:`${ie}-${c}`},display3:{fontFamily:`${ae}-${c}`},title1:{fontFamily:`${le}-${c}`},title2:{fontFamily:`${de}-${c}`},title3:{fontFamily:`${se}-${c}`},title4:{fontFamily:`${pe}-${c}`},headline1:{fontFamily:`${ce}-${c}`},body1:{fontFamily:`${me}-${c}`},label1:{fontFamily:`${ge}-${c}`},label2:{fontFamily:`${fe}-${c}`},caption1:{fontFamily:`${be}-${c}`},caption2:{fontFamily:`${he}-${c}`},legal1:{fontFamily:`${ye}-${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:O[e.fontWeight.display1]},display2:{fontWeight:O[e.fontWeight.display2]},display3:{fontWeight:O[e.fontWeight.display3]},title1:{fontWeight:O[e.fontWeight.title1]},title2:{fontWeight:O[e.fontWeight.title2]},title3:{fontWeight:O[e.fontWeight.title3]},title4:{fontWeight:O[e.fontWeight.title4]},headline1:{fontWeight:O[e.fontWeight.headline1]},body1:{fontWeight:O[e.fontWeight.body1]},label1:{fontWeight:O[e.fontWeight.label1]},label2:{fontWeight:O[e.fontWeight.label2]},caption1:{fontWeight:O[e.fontWeight.caption1]},caption2:{fontWeight:O[e.fontWeight.caption2]},legal1:{fontWeight:O[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:q},secondary:{backgroundColor:J},transparent:{backgroundColor:V}},spacing:{none:{padding:i},1:{padding:s},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:i},1:{paddingHorizontal:s},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:i},1:{paddingVertical:s},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:i},1:{paddingBottom:s},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:i},1:{paddingEnd:s},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:i},1:{paddingStart:s},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:i},1:{paddingTop:s},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:-i},1:{margin:-s},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:-i},1:{marginVertical:-s},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:-i},1:{marginHorizontal:-s},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:-i},1:{marginBottom:-s},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:-i},1:{marginEnd:-s},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:-i},1:{marginStart:-s},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:-i},1:{marginTop:-s},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:i},1:{columnGap:s},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:i},1:{rowGap:s},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderStartColor:I},secondary:{borderStartColor:G},tertiary:{borderStartColor:L}},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:$},primary:{borderEndColor:I},secondary:{borderEndColor:G},tertiary:{borderEndColor:L}},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:$},primary:{borderBottomColor:I},secondary:{borderBottomColor:G},tertiary:{borderBottomColor:L}},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:$},primary:{borderTopColor:I},secondary:{borderTopColor:G},tertiary:{borderTopColor:L}},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"}}}})(N);return a(Re,U,ue)}return{cva:b,getStyles:We,tokens:e}}var po=so({colorMode:Se,scaleMode:Ce},Ve);var Oe=require("react"),ct=require("react/jsx-runtime"),pt=(0,Oe.createContext)(Se);function Mo(){return(0,Oe.useContext)(pt)}var Ie=require("react"),gt=require("react/jsx-runtime"),mt=(0,Ie.createContext)(Ce);function Vo(){let o=(0,Ie.useContext)(mt);return o||Ce}var Oo=require("react/jsx-runtime"),Ao=(0,_.createContext)(po),ir=(0,_.memo)(function({children:t,value:n=Ve}){let l=Mo(),r=Vo(),d=(0,_.useMemo)(()=>n===void 0&&l===Se&&r===Ce?po:so({colorMode:l,scaleMode:r},n),[l,r,n]);return(0,Oo.jsx)(Ao.Provider,{value:d,children:t})});function D(o){let{getStyles:t}=(0,_.useContext)(Ao);return t(o)}var Io={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},co={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 Ge({variant:o="accent",size:t="s"}){let{color:n,...l}=co.variant[o],{variant:r,...d}=co.size[t];return{pressable:{...co.base,...l,...d},text:{color:n,variant:r,textAlign:"center"},icon:{color:n,size:"sm"}}}var Go=require("expo-image");var $o=require("react/jsx-runtime");function Lo({width:o,height:t,src:n,alt:l,contentFit:r="cover",backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,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:j="0",flexWrap:K,justifyContent:X,flexBasis:Y,display:Z="flex",overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,...he}){let ye=D({contentFit:r,backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,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:j,flexWrap:K,justifyContent:X,flexBasis:Y,display:Z,overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,style:{width:o,height:t,justifyContent:"flex-start"}});return(0,$o.jsx)(Go.Image,{source:n,alt:l,style:ye,contentFit:r,contentPosition:"left",...he})}var Uo=require("react/jsx-runtime");function ft({size:o,shape:t,contentFit:n="cover",...l}){let r=D({...Io,avatarSize:o,borderRadius:t});return(0,Uo.jsx)(Lo,{style:r,contentFit:n,...l})}var Qo=require("react");var _o=require("react");var A=require("react");function bt(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function Do(...o){return t=>o.forEach(n=>bt(n,t))}var mo=require("react/jsx-runtime");function Le(){let o=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d,b=A.Children.toArray(e),i=b.find(l);if(i){let s=i.props.children,p=b.map(m=>m===i?A.Children.count(s)>1?A.Children.only(null):(0,A.isValidElement)(s)?s.props.children:null:m);return(0,mo.jsx)(t,{...a,ref:f,children:(0,A.isValidElement)(s)?(0,A.cloneElement)(s,void 0,p):null})}return(0,mo.jsx)(t,{...a,ref:f,children:e})});o.displayName="Slot";let t=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d;return(0,A.isValidElement)(e)?(0,A.cloneElement)(e,{...r(a,e.props),ref:f?Do(f,e.ref):e.ref}):A.Children.count(e)>1?A.Children.only(null):null});t.displayName="SlotClone";let n=({children:d})=>d;function l(d){return(0,A.isValidElement)(d)&&d.type===n}function r(d,f){let e={...f};for(let a in f){let b=d[a],i=f[a];/^on[A-Z]/.test(a)?b&&i?e[a]=(...p)=>{i(...p),b(...p)}:b&&(e[a]=b):a==="style"&&(e[a]={...b,...i})}return{...d,...e}}return o}var $e="RCTText",ur=Le(),Ue=Le(),No=Le();var jo=require("react/jsx-runtime"),Pe=(0,_o.forwardRef)(function({style:t,asChild:n=!1,size:l,color:r,name:d,textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,...v},w){let P=D({color:r,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,iconSize:l,style:t});return(0,jo.jsx)(n?Ue:$e,{ref:w,maxFontSizeMultiplier:1,allowFontScaling:!1,style:P,...v,children:d})});var Ko=require("react"),Xo=require("react-native");var Yo=require("react/jsx-runtime"),De=(0,Ko.forwardRef)(function({style:t,asChild:n=!1,backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,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:j,justifyContent:K,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,...he},ye){let Te=D({backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,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:j,justifyContent:K,flexBasis:E,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,style:t});return(0,Yo.jsx)(n?No:Xo.Pressable,{style:Te,ref:ye,...he})});var Zo=require("react");var Jo=require("react/jsx-runtime"),qo=(0,Zo.forwardRef)(function({style:t,asChild:n,color:l="primary",variant:r="body1",fontSize:d=r,fontFamily:f=r,fontWeight:e=r,lineHeight:a=r,textTransform:b=r,textAlign:i,backgroundColor:s,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:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c,...U},ze){let Ne=D({style:t,color:l,fontFamily:f,fontSize:d,fontWeight:e,lineHeight:a,textTransform:b,textAlign:i,backgroundColor:s,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:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c});return(0,Jo.jsx)(n?Ue:$e,{style:Ne,ref:ze,maxFontSizeMultiplier:1,allowFontScaling:!1,...U})});var xe=require("react/jsx-runtime"),ht=(0,Qo.forwardRef)(function({variant:t="accent",size:n,startIcon:l,endIcon:r,children:d,...f},e){let a=Ge({variant:t,size:n}),b=l?(0,xe.jsx)(Pe,{name:l,...a.icon}):null,i=r?(0,xe.jsx)(Pe,{name:r,...a.icon}):null;return(0,xe.jsxs)(De,{ref:e,...a.pressable,...f,children:[b,(0,xe.jsx)(qo,{...a.text,children:d}),i]})});var ot=require("react");var go=require("react/jsx-runtime"),et={s:36,m:48,l:64},yt={},ut=(0,ot.forwardRef)(function({variant:t="accent",size:n="s",name:l,style:r=yt,...d},f){let e=Ge({variant:t,size:n});return(0,go.jsx)(De,{ref:f,...e.pressable,flexShrink:"0",style:{...r,width:et[n],height:et[n]},...d,children:(0,go.jsx)(Pe,{name:l,...e.icon})})});0&&(module.exports={Avatar,Button,IconButton});
1
+ "use strict";var Ye=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var at=Object.prototype.hasOwnProperty;var lt=(o,t)=>{for(var n in t)Ye(o,n,{get:t[n],enumerable:!0})},dt=(o,t,n,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of it(t))!at.call(o,r)&&r!==n&&Ye(o,r,{get:()=>t[r],enumerable:!(l=nt(t,r))||l.enumerable});return o};var st=o=>dt(Ye({},"__esModule",{value:!0}),o);var Ct={};lt(Ct,{Avatar:()=>ft,Button:()=>ht,IconButton:()=>ut});module.exports=st(Ct);var ho={none:0,xs:2,sm:4,md:8,lg:12,xl:24,full:9999},yo={none:0,xs:2,sm:4,md:8,lg:16,xl:32,full:9999};var uo={none:0,thin:1,medium:2,thick:2},Co={none:0,thin:1,medium:2,thick:4};var So={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"}}},xo={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"}}},we={white:"#ffffff",black:"#000000",transparent:"transparent"};var Ze={s:16,m:24,l:32},To=Ze,qe={sm:16,md:24,lg:32},vo=qe;var wo={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},Po={none:0,1:1,2:2,3:4,4:8,5:12,6:16,7:24,8:32,9:40,10:48,11:56,12:64,13:72,14:80};var Wo={blue:{0:"242 250 255",1:"223 242 255",2:"202 234 255",3:"162 218 255",4:"125 203 255",5:"89 189 255",6:"18 169 255",7:"24 143 255",8:"15 105 255",9:"0 99 235",10:"0 89 222",11:"0 72 196",12:"0 55 164",13:"0 39 126",14:"0 23 83",15:"0 10 38"},purple:{0:"248 244 255",1:"235 229 255",2:"225 217 255",3:"213 207 255",4:"202 194 255",5:"176 159 252",6:"149 126 252",7:"131 103 255",8:"124 73 252",9:"126 31 255",10:"96 1 210",11:"80 21 176",12:"57 0 125",13:"43 0 103",14:"29 0 71",15:"16 0 38"},pink:{0:"255 247 252",1:"255 235 249",2:"254 216 247",3:"255 176 231",4:"255 133 211",5:"255 85 195",6:"255 54 161",7:"255 0 128",8:"230 0 115",9:"220 2 118",10:"178 6 102",11:"113 0 75",12:"85 0 58",13:"56 0 40",14:"45 0 34",15:"38 0 16"},red:{0:"255 250 250",1:"255 240 241",2:"255 231 232",3:"255 214 218",4:"255 187 192",5:"255 152 159",6:"253 106 116",7:"255 77 82",8:"238 0 23",9:"211 13 46",10:"187 0 10",11:"157 0 4",12:"127 0 0",13:"98 3 0",14:"68 4 0",15:"38 3 0"},yellow:{0:"255 253 238",1:"255 250 209",2:"255 246 161",4:"255 233 87",3:"255 242 125",5:"255 211 51",6:"229 185 23",7:"151 117 0",8:"124 90 0",9:"100 67 0",10:"88 57 0",11:"75 47 0",12:"58 34 0",13:"44 25 0",14:"32 17 0",15:"21 11 0"},green:{0:"246 255 244",1:"225 253 220",2:"202 250 197",3:"162 242 162",4:"126 228 135",5:"86 196 112",6:"48 161 89",7:"0 135 81",8:"10 122 68",9:"0 108 59",10:"4 94 52",11:"4 77 44",12:"4 59 35",13:"4 51 31",14:"4 43 27",15:"3 33 21"},teal:{0:"242 255 251",1:"224 255 248",2:"207 255 248",3:"177 255 243",4:"133 247 233",5:"78 232 220",6:"17 211 205",7:"0 160 160",8:"0 130 130",9:"0 122 122",10:"0 110 107",11:"0 89 86",12:"0 69 67",13:"0 54 53",14:"0 44 44",15:"0 38 38"},gray:{0:"255 255 255",1:"245 248 250",2:"240 243 245",3:"224 228 233",4:"199 205 210",5:"176 185 193",6:"151 158 168",7:"130 138 147",8:"110 119 128",9:"91 99 106",10:"70 78 86",11:"44 54 63",12:"35 42 49",13:"29 34 40",14:"16 21 24",15:"0 0 0"},orange:{0:"255 249 242",1:"255 239 222",2:"255 229 202",3:"249 208 167",4:"252 182 111",5:"255 158 66",6:"255 137 21",7:"226 105 0",8:"204 78 0",9:"191 73 0",10:"166 64 0",11:"145 56 0",12:"115 44 0",13:"94 37 1",14:"68 26 0",15:"38 15 0"},rose:{0:"255 247 250",1:"255 235 243",2:"255 224 239",3:"255 209 226",4:"255 193 213",5:"250 162 187",6:"233 126 157",7:"211 89 124",8:"189 57 95",9:"167 52 85",10:"144 47 75",11:"113 35 57",12:"87 27 44",13:"66 22 35",14:"50 18 27",15:"38 15 22"},sunset:{0:"255 240 238",1:"251 221 218",2:"247 203 199",3:"234 170 163",4:"221 140 130",5:"209 113 99",6:"196 89 71",7:"184 68 46",8:"171 51 24",9:"158 44 18",10:"145 38 12",11:"124 26 1",12:"102 22 0",13:"81 18 0",14:"60 13 0",15:"38 8 0"},brown:{0:"255 253 250",1:"255 246 224",2:"255 236 209",3:"251 221 191",4:"237 199 159",5:"217 170 118",6:"185 136 79",7:"151 104 47",8:"134 90 35",9:"117 76 25",10:"91 56 11",11:"71 42 4",12:"55 33 1",13:"45 27 0",14:"38 23 0",15:"26 16 0"},citron:{0:"253 255 230",1:"249 253 193",2:"245 252 158",3:"235 244 87",4:"222 231 23",5:"205 212 0",6:"184 188 0",7:"158 159 0",8:"122 122 0",9:"115 113 0",10:"101 99 0",11:"78 76 0",12:"61 58 0",13:"49 46 0",14:"42 39 0",15:"38 35 0"},lime:{0:"249 255 245",1:"237 255 224",2:"230 255 209",3:"217 250 190",4:"202 239 168",5:"172 222 122",6:"137 199 70",7:"101 169 21",8:"75 133 0",9:"70 122 0",10:"62 107 0",11:"50 83 0",12:"40 65 0",13:"33 51 0",14:"28 43 0",15:"26 38 0"},mint:{0:"245 255 249",1:"231 252 240",2:"218 248 232",3:"201 239 219",4:"174 224 199",5:"133 203 172",6:"88 179 142",7:"45 151 113",8:"12 122 88",9:"1 109 78",10:"1 96 71",11:"0 74 57",12:"0 58 46",13:"0 47 38",14:"0 41 33",15:"0 28 23"},cyan:{0:"245 255 255",1:"223 255 255",2:"201 255 255",3:"161 245 251",4:"121 229 240",5:"85 205 223",6:"54 177 201",7:"29 146 174",8:"20 114 142",9:"19 100 126",10:"17 86 111",11:"13 64 86",12:"10 48 67",13:"9 37 53",14:"8 29 44",15:"4 18 28"},indigo:{0:"242 244 255",1:"226 230 255",2:"209 213 255",3:"184 188 255",4:"156 160 255",5:"130 130 255",6:"109 110 255",7:"93 94 255",8:"64 64 227",9:"32 21 194",10:"26 13 171",11:"22 9 144",12:"18 5 118",13:"15 3 91",14:"11 1 65",15:"6 0 38"},magenta:{0:"244 235 255",1:"236 217 251",2:"229 199 247",3:"223 182 243",4:"220 166 240",5:"212 136 227",6:"207 109 214",7:"201 84 199",8:"188 61 177",9:"164 46 151",10:"140 32 126",11:"116 22 103",12:"92 13 81",13:"68 6 60",14:"44 2 39",15:"20 0 18"},nude:{0:"255 245 245",1:"251 222 221",2:"248 203 196",3:"235 185 172",4:"222 169 149",5:"202 155 136",6:"182 139 122",7:"162 122 106",8:"142 104 89",9:"131 93 80",10:"120 83 71",11:"100 61 48",12:"80 34 19",13:"60 14 0",14:"40 9 0",15:"20 4 0"},carbon:{0:"255 255 255",1:"252 251 251",2:"245 245 245",3:"227 227 227",4:"205 205 205",5:"176 176 176",6:"142 142 142",7:"106 106 106",8:"90 90 90",9:"68 68 68",10:"50 50 50",11:"41 41 41",12:"31 31 31",13:"20 20 20",14:"10 10 10",15:"0 0 0"}},Ro={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 Ee=["Helvetica Neue","Helvetica","Arial","sans-serif"],zo=["Georgia","Times","Times New Roman","serif"],ko={icons:{fallbacks:Ee,name:"yahoo-icons"},sans:{fallbacks:Ee,name:"yahoo-sans"},"sans-beta":{fallbacks:Ee,name:"yahoo-sans-beta"},"sans-condensed":{fallbacks:Ee,name:"yahoo-sans-condensed"},"serif-text":{fallbacks:zo,name:"yahoo-serif-text"},"serif-display":{fallbacks:zo,name:"yahoo-serif-display"}},Je={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"},O={thin:"100",extralight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Qe={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"},eo={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"},oo={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}},to={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:{...oo.lineHeight,title1:40,headline1:20,body1:20,legal1:16}},Be={fontSize:{display1:47,display2:39,display3:35,title1:31,title2:27,title3:23,title4:19,headline1:15,body1:15,label1:13,label2:13,caption1:12,caption2:12,legal1:11},lineHeight:{...to.lineHeight,title2:36,title3:32}},ro={fontSize:{...Be.fontSize,display1:48,display2:40,display3:36,title1:32,title2:28,title3:24,title4:20,headline1:16,body1:16,label1:14,label2:14},lineHeight:{...Be.lineHeight,title2:36,title3:32,headline1:20,body1:20,label1:20,label2:20}},no={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:{...ro.lineHeight,title1:44,headline1:24,body1:24,caption1:20,caption2:20}},io={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:{...no.lineHeight,title2:40,title3:36,headline1:28,body1:28,label1:24,label2:24,legal1:20}},Fo={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:{...io.lineHeight,title1:48,title2:44,title4:32,label1:28,label2:28,caption1:24,caption2:24}};var ao={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:Ze,iconSizes:qe,borderRadius:ho,borderWidth:uo,spacing:wo},Me={fontFamily:Je,fontWeight:Qe,textTransform:eo,avatarSizes:To,iconSizes:vo,borderRadius:yo,borderWidth:Co,spacing:Po},Ve={colorMode:{light:{palette:So,spectrum:Wo},dark:{palette:xo,spectrum:Ro}},scaleMode:{xSmall:{...ao,...oo},small:{...ao,...to},medium:{...ao,...Be},large:{...Me,...ro},xLarge:{...Me,...no},xxLarge:{...Me,...io},xxxLarge:{...Me,...Fo}},fontFamily:ko};var Se="light",Ce="large";function Ae(o,t){return Object.keys(o).reduce((n,l,r)=>(n[l]=t(o[l],l,r),n),{})}var _=require("react");var Bo=require("@yahoo/uds/fixtures");function Ho({spectrum:o,palette:t}){let n=Ae(o,r=>Ae(r,d=>`rgb(${d.replaceAll(" ",",")})`)),l=Ae(t,r=>Object.entries(r).reduce((d,[f,{hue:e,step:a,opacity:b}])=>{let i=o[e][a],s=b?`rgb(${i.replaceAll(" ",",")} / ${b})`:`rgb(${i.replaceAll(" ",",")})`;return{...d,[f]:s}},{}));return{spectrum:n,palette:l}}function Eo({colorMode:o,...t}){return{...t,colorMode:{light:Ho(o.light),dark:Ho(o.dark)}}}function lo(o){return typeof o=="boolean"?`${o}`:o===0?"0":o}var R={};function so({colorMode:o,scaleMode:t},n){let{colorMode:l,scaleMode:r,fontFamily:d,...f}=Eo(n),e={fontFamilyGlobal:d,...f,...l[o],...r[t]},a=Object.assign,b=function(N){return function(c){let U={};if(!N?.variants)return a(U,N?.base);let{base:ze,variants:Ne,defaultVariants:fo,compoundVariants:_e}=N;ze&&a(U,ze);function tt(ke){if(ke){let{style:ve,...je}=ke;for(let Fe in je){let He=Ne[Fe],Ke=c?.[Fe],bo=fo?.[Fe],Xe=lo(Ke)||lo(bo);if(Xe&&Xe in He){let rt=He[Xe];a(U,rt)}}ve&&a(U,ve)}}if(tt(c),_e&&_e?.length>0)for(let ke of _e){let{style:ve,...je}=ke;Object.entries(je).every(([He,Ke])=>c?.[He]===Ke)&&ve&&a(U,ve)}return c?.style&&a(U,c.style),U}},i=e.spacing.none,s=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=we.white,M=we.black,V=we.transparent,j=e.palette.foreground.muted,K=e.palette.foreground["on-color"],X=e.palette.foreground.primary,Y=e.palette.foreground.secondary,Z=e.palette.foreground.tertiary,q=e.palette.background.primary,J=e.palette.background.secondary,I=e.palette.line.primary,G=e.palette.line.secondary,L=e.palette.line.tertiary,$=e.palette.line.muted,g=e.fontFamilyGlobal,Q=g.sans.name,ee=g["sans-beta"].name,oe=g["sans-condensed"].name,te=g["serif-text"].name,re=g["serif-display"].name,ne=g[e.fontFamily.display1].name,ie=g[e.fontFamily.display2].name,ae=g[e.fontFamily.display3].name,le=g[e.fontFamily.title1].name,de=g[e.fontFamily.title2].name,se=g[e.fontFamily.title3].name,pe=g[e.fontFamily.title4].name,ce=g[e.fontFamily.headline1].name,me=g[e.fontFamily.body1].name,ge=g[e.fontFamily.label1].name,fe=g[e.fontFamily.label2].name,be=g[e.fontFamily.caption1].name,he=g[e.fontFamily.caption2].name,ye=g[e.fontFamily.legal1].name;function Te(ue){return!!(typeof ue=="string"&&Bo.textVariants.includes(ue))}function We({style:ue,...N}){let Re={},c;Te(N.fontWeight)?c=e.fontWeight[N.fontWeight]:c="regular";let U=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:j},"on-color":{color:K},primary:{color:X},secondary:{color:Y},tertiary:{color:Z}},fontFamily:{icons:{fontFamily:g.icons.name},sans:{fontFamily:`${Q}-${c}`},"sans-beta":{fontFamily:`${ee}-${c}`},"sans-condensed":{fontFamily:`${oe}-${c}`},"serif-text":{fontFamily:`${te}-${c}`},"serif-display":{fontFamily:`${re}-${c}`},display1:{fontFamily:`${ne}-${c}`},display2:{fontFamily:`${ie}-${c}`},display3:{fontFamily:`${ae}-${c}`},title1:{fontFamily:`${le}-${c}`},title2:{fontFamily:`${de}-${c}`},title3:{fontFamily:`${se}-${c}`},title4:{fontFamily:`${pe}-${c}`},headline1:{fontFamily:`${ce}-${c}`},body1:{fontFamily:`${me}-${c}`},label1:{fontFamily:`${ge}-${c}`},label2:{fontFamily:`${fe}-${c}`},caption1:{fontFamily:`${be}-${c}`},caption2:{fontFamily:`${he}-${c}`},legal1:{fontFamily:`${ye}-${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:O[e.fontWeight.display1]},display2:{fontWeight:O[e.fontWeight.display2]},display3:{fontWeight:O[e.fontWeight.display3]},title1:{fontWeight:O[e.fontWeight.title1]},title2:{fontWeight:O[e.fontWeight.title2]},title3:{fontWeight:O[e.fontWeight.title3]},title4:{fontWeight:O[e.fontWeight.title4]},headline1:{fontWeight:O[e.fontWeight.headline1]},body1:{fontWeight:O[e.fontWeight.body1]},label1:{fontWeight:O[e.fontWeight.label1]},label2:{fontWeight:O[e.fontWeight.label2]},caption1:{fontWeight:O[e.fontWeight.caption1]},caption2:{fontWeight:O[e.fontWeight.caption2]},legal1:{fontWeight:O[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:q},secondary:{backgroundColor:J},transparent:{backgroundColor:V}},spacing:{none:{padding:i},1:{padding:s},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:i},1:{paddingHorizontal:s},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:i},1:{paddingVertical:s},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:i},1:{paddingBottom:s},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:i},1:{paddingEnd:s},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:i},1:{paddingStart:s},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:i},1:{paddingTop:s},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:-i},1:{margin:-s},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:-i},1:{marginVertical:-s},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:-i},1:{marginHorizontal:-s},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:-i},1:{marginBottom:-s},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:-i},1:{marginEnd:-s},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:-i},1:{marginStart:-s},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:-i},1:{marginTop:-s},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:i},1:{columnGap:s},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:i},1:{rowGap:s},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderColor:I},secondary:{borderColor:G},tertiary:{borderColor:L}},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:$},primary:{borderStartColor:I},secondary:{borderStartColor:G},tertiary:{borderStartColor:L}},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:$},primary:{borderEndColor:I},secondary:{borderEndColor:G},tertiary:{borderEndColor:L}},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:$},primary:{borderBottomColor:I},secondary:{borderBottomColor:G},tertiary:{borderBottomColor:L}},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:$},primary:{borderTopColor:I},secondary:{borderTopColor:G},tertiary:{borderTopColor:L}},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"}}}})(N);return a(Re,U,ue)}return{cva:b,getStyles:We,tokens:e}}var po=so({colorMode:Se,scaleMode:Ce},Ve);var Oe=require("react"),ct=require("react/jsx-runtime"),pt=(0,Oe.createContext)(Se);function Mo(){return(0,Oe.useContext)(pt)}var Ie=require("react"),gt=require("react/jsx-runtime"),mt=(0,Ie.createContext)(Ce);function Vo(){let o=(0,Ie.useContext)(mt);return o||Ce}var Oo=require("react/jsx-runtime"),Ao=(0,_.createContext)(po),ir=(0,_.memo)(function({children:t,value:n=Ve}){let l=Mo(),r=Vo(),d=(0,_.useMemo)(()=>n===void 0&&l===Se&&r===Ce?po:so({colorMode:l,scaleMode:r},n),[l,r,n]);return(0,Oo.jsx)(Ao.Provider,{value:d,children:t})});function D(o){let{getStyles:t}=(0,_.useContext)(Ao);return t(o)}var Io={display:"inline-flex",alignItems:"center",justifyContent:"center",overflow:"hidden",backgroundColor:"primary",contentFit:"cover"},co={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 Ge({variant:o="accent",size:t="s"}){let{color:n,...l}=co.variant[o],{variant:r,...d}=co.size[t];return{pressable:{...co.base,...l,...d},text:{color:n,variant:r,textAlign:"center"},icon:{color:n,size:"sm"}}}var Go=require("expo-image");var $o=require("react/jsx-runtime");function Lo({width:o,height:t,src:n,alt:l,contentFit:r="cover",backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,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:j="0",flexWrap:K,justifyContent:X,flexBasis:Y,display:Z="flex",overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,...he}){let ye=D({contentFit:r,backgroundColor:d,borderRadius:f,borderTopStartRadius:e,borderTopEndRadius:a,borderBottomStartRadius:b,borderBottomEndRadius:i,borderColor:s,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:j,flexWrap:K,justifyContent:X,flexBasis:Y,display:Z,overflow:q,overflowX:J,overflowY:I,position:G,spacing:L,spacingHorizontal:$,spacingVertical:g,spacingBottom:Q,spacingEnd:ee,spacingStart:oe,spacingTop:te,offset:re,offsetVertical:ne,offsetHorizontal:ie,offsetBottom:ae,offsetEnd:le,offsetStart:de,offsetTop:se,columnGap:pe,rowGap:ce,minHeight:me,maxHeight:ge,minWidth:fe,maxWidth:be,style:{width:o,height:t,justifyContent:"flex-start"}});return(0,$o.jsx)(Go.Image,{source:n,alt:l,style:ye,contentFit:r,contentPosition:"left",...he})}var Uo=require("react/jsx-runtime");function ft({size:o,shape:t,contentFit:n="cover",...l}){let r=D({...Io,avatarSize:o,borderRadius:t});return(0,Uo.jsx)(Lo,{style:r,contentFit:n,...l})}var Qo=require("react");var _o=require("react");var A=require("react");function bt(o,t){typeof o=="function"?o(t):o!=null&&(o.current=t)}function Do(...o){return t=>o.forEach(n=>bt(n,t))}var mo=require("react/jsx-runtime");function Le(){let o=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d,b=A.Children.toArray(e),i=b.find(l);if(i){let s=i.props.children,p=b.map(m=>m===i?A.Children.count(s)>1?A.Children.only(null):(0,A.isValidElement)(s)?s.props.children:null:m);return(0,mo.jsx)(t,{...a,ref:f,children:(0,A.isValidElement)(s)?(0,A.cloneElement)(s,void 0,p):null})}return(0,mo.jsx)(t,{...a,ref:f,children:e})});o.displayName="Slot";let t=(0,A.forwardRef)((d,f)=>{let{children:e,...a}=d;return(0,A.isValidElement)(e)?(0,A.cloneElement)(e,{...r(a,e.props),ref:f?Do(f,e.ref):e.ref}):A.Children.count(e)>1?A.Children.only(null):null});t.displayName="SlotClone";let n=({children:d})=>d;function l(d){return(0,A.isValidElement)(d)&&d.type===n}function r(d,f){let e={...f};for(let a in f){let b=d[a],i=f[a];/^on[A-Z]/.test(a)?b&&i?e[a]=(...p)=>{i(...p),b(...p)}:b&&(e[a]=b):a==="style"&&(e[a]={...b,...i})}return{...d,...e}}return o}var $e="RCTText",ur=Le(),Ue=Le(),No=Le();var jo=require("react/jsx-runtime"),Pe=(0,_o.forwardRef)(function({style:t,asChild:n=!1,size:l,color:r,name:d,textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,...v},w){let P=D({color:r,fontFamily:"icons",textAlign:f,spacing:e,spacingBottom:a,spacingEnd:b,spacingHorizontal:i,spacingStart:s,spacingTop:p,spacingVertical:m,offset:h,offsetBottom:y,offsetEnd:u,offsetHorizontal:C,offsetStart:S,offsetTop:x,offsetVertical:T,iconSize:l,style:t});return(0,jo.jsx)(n?Ue:$e,{ref:w,maxFontSizeMultiplier:1,allowFontScaling:!1,style:P,...v,children:d})});var Ko=require("react"),Xo=require("react-native");var Yo=require("react/jsx-runtime"),De=(0,Ko.forwardRef)(function({style:t,asChild:n=!1,backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,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:j,justifyContent:K,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,...he},ye){let Te=D({backgroundColor:l,borderRadius:r,borderTopStartRadius:d,borderTopEndRadius:f,borderBottomStartRadius:e,borderBottomEndRadius:a,borderColor:b,borderColorOnActive:i,borderColorOnFocus:s,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:j,justifyContent:K,flexBasis:E,display:X,overflow:Y,overflowX:Z,overflowY:q,position:J,spacing:I,spacingHorizontal:G,spacingVertical:L,spacingBottom:$,spacingEnd:g,spacingStart:Q,spacingTop:ee,offset:oe,offsetVertical:te,offsetHorizontal:re,offsetBottom:ne,offsetEnd:ie,offsetStart:ae,offsetTop:le,columnGap:de,rowGap:se,height:pe,minHeight:ce,maxHeight:me,width:ge,minWidth:fe,maxWidth:be,style:t});return(0,Yo.jsx)(n?No:Xo.Pressable,{style:Te,ref:ye,...he})});var Zo=require("react");var Jo=require("react/jsx-runtime"),qo=(0,Zo.forwardRef)(function({style:t,asChild:n,color:l="primary",variant:r="body1",fontSize:d=r,fontFamily:f=r,fontWeight:e=r,lineHeight:a=r,textTransform:b=r,textAlign:i,backgroundColor:s,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:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c,...U},ze){let Ne=D({style:t,color:l,fontFamily:f,fontSize:d,fontWeight:e,lineHeight:a,textTransform:b,textAlign:i,backgroundColor:s,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:j,alignItems:K,alignSelf:X,flex:Y,flexDirection:Z,flexGrow:q,flexShrink:J,flexWrap:I,justifyContent:G,flexBasis:L,display:$,overflow:g,overflowX:Q,overflowY:ee,position:oe,spacing:te,spacingHorizontal:re,spacingVertical:ne,spacingBottom:ie,spacingEnd:ae,spacingStart:le,spacingTop:de,offset:se,offsetVertical:pe,offsetHorizontal:ce,offsetBottom:me,offsetEnd:ge,offsetStart:fe,offsetTop:be,columnGap:he,rowGap:ye,height:Te,minHeight:We,maxHeight:ue,width:N,minWidth:Re,maxWidth:c});return(0,Jo.jsx)(n?Ue:$e,{style:Ne,ref:ze,maxFontSizeMultiplier:1,allowFontScaling:!1,...U})});var xe=require("react/jsx-runtime"),ht=(0,Qo.forwardRef)(function({variant:t="accent",size:n,startIcon:l,endIcon:r,children:d,...f},e){let a=Ge({variant:t,size:n}),b=l?(0,xe.jsx)(Pe,{name:l,...a.icon}):null,i=r?(0,xe.jsx)(Pe,{name:r,...a.icon}):null;return(0,xe.jsxs)(De,{ref:e,...a.pressable,...f,children:[b,(0,xe.jsx)(qo,{...a.text,children:d}),i]})});var ot=require("react");var go=require("react/jsx-runtime"),et={s:36,m:48,l:64},yt={},ut=(0,ot.forwardRef)(function({variant:t="accent",size:n="s",name:l,style:r=yt,...d},f){let e=Ge({variant:t,size:n});return(0,go.jsx)(De,{ref:f,...e.pressable,flexShrink:"0",style:{...r,width:et[n],height:et[n]},...d,children:(0,go.jsx)(Pe,{name:l,...e.icon})})});0&&(module.exports={Avatar,Button,IconButton});
@@ -1 +1 @@
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};
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";function Me(o,r){return Object.keys(o).reduce((a,s,n)=>(a[s]=r(o[s],s,n),a),{})}import{createContext as Zo,memo as qo,useContext as Jo,useMemo as Qo}from"react";import{textVariants as Do}from"@yahoo/uds/fixtures";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};