@aic-kits/react 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -1
- package/dist/theme/common/spaces.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __p += '`),ne&&(F+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+F+`return __p
|
|
27
|
-
}`;var K=dl(function(){return se(u,j+"return "+F).apply(i,h)});if(K.source=F,oo(K))throw K;return K}function Jp(e){return ae(e).toLowerCase()}function Qp(e){return ae(e).toUpperCase()}function eg(e,t,n){if(e=ae(e),e&&(n||t===i))return bs(e);if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ft(t),u=ys(o,a),h=ws(o,a)+1;return jt(o,u,h).join("")}function tg(e,t,n){if(e=ae(e),e&&(n||t===i))return e.slice(0,Ss(e)+1);if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ws(o,ft(t))+1;return jt(o,0,a).join("")}function ng(e,t,n){if(e=ae(e),e&&(n||t===i))return e.replace(oi,"");if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ys(o,ft(t));return jt(o,a).join("")}function rg(e,t){var n=pe,o=ge;if(xe(t)){var a="separator"in t?t.separator:a;n="length"in t?G(t.length):n,o="omission"in t?Ve(t.omission):o}e=ae(e);var u=e.length;if(sn(e)){var h=ft(e);u=h.length}if(n>=u)return e;var g=n-an(o);if(g<1)return o;var y=h?jt(h,0,g).join(""):e.slice(0,g);if(a===i)return y+o;if(h&&(g+=y.length-g),so(a)){if(e.slice(g).search(a)){var A,R=y;for(a.global||(a=wi(a.source,ae(Ho.exec(a))+"g")),a.lastIndex=0;A=a.exec(R);)var F=A.index;y=y.slice(0,F===i?g:F)}}else if(e.indexOf(Ve(a),g)!=g){var M=y.lastIndexOf(a);M>-1&&(y=y.slice(0,M))}return y+o}function ig(e){return e=ae(e),e&&pc.test(e)?e.replace(Do,Fd):e}var og=pn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),uo=fa("toUpperCase");function cl(e,t,n){return e=ae(e),t=n?i:t,t===i?Ad(e)?Bd(e):_d(e):e.match(t)||[]}var dl=X(function(e,t){try{return Ne(e,i,t)}catch(n){return oo(n)?n:new U(n)}}),sg=$t(function(e,t){return Qe(t,function(n){n=vt(n),Ct(e,n,ro(e[n],e))}),e});function ag(e){var t=e==null?0:e.length,n=k();return e=t?me(e,function(o){if(typeof o[1]!="function")throw new et(_);return[n(o[0]),o[1]]}):[],X(function(o){for(var a=-1;++a<t;){var u=e[a];if(Ne(u[0],this,o))return Ne(u[1],this,o)}})}function lg(e){return F0(nt(e,$))}function co(e){return function(){return e}}function ug(e,t){return e==null||e!==e?t:e}var cg=pa(),dg=pa(!0);function Ze(e){return e}function fo(e){return Ns(typeof e=="function"?e:nt(e,$))}function fg(e){return Vs(nt(e,$))}function hg(e,t){return Gs(e,nt(t,$))}var pg=X(function(e,t){return function(n){return Bn(n,e,t)}}),gg=X(function(e,t){return function(n){return Bn(e,n,t)}});function ho(e,t,n){var o=Ce(t),a=_r(t,o);n==null&&!(xe(t)&&(a.length||!o.length))&&(n=t,t=e,e=this,a=_r(t,Ce(t)));var u=!(xe(n)&&"chain"in n)||!!n.chain,h=At(e);return Qe(a,function(g){var y=t[g];e[g]=y,h&&(e.prototype[g]=function(){var A=this.__chain__;if(u||A){var R=e(this.__wrapped__),F=R.__actions__=je(this.__actions__);return F.push({func:y,args:arguments,thisArg:e}),R.__chain__=A,R}return y.apply(e,zt([this.value()],arguments))})}),e}function mg(){return $e._===this&&($e._=kd),this}function po(){}function xg(e){return e=G(e),X(function(t){return Ks(t,e)})}var _g=Ni(me),vg=Ni(gs),bg=Ni(gi);function fl(e){return Yi(e)?mi(vt(e)):q0(e)}function yg(e){return function(t){return e==null?i:Xt(e,t)}}var wg=ma(),Cg=ma(!0);function go(){return[]}function mo(){return!1}function Sg(){return{}}function $g(){return""}function Eg(){return!0}function Ag(e,t){if(e=G(e),e<1||e>Me)return[];var n=Pe,o=Re(e,Pe);t=k(t),e-=Pe;for(var a=vi(o,t);++n<e;)t(n);return a}function Rg(e){return V(e)?me(e,vt):Ge(e)?[e]:je(Fa(ae(e)))}function Tg(e){var t=++Dd;return ae(e)+t}var Ig=Sr(function(e,t){return e+t},0),Lg=Ui("ceil"),Fg=Sr(function(e,t){return e/t},1),Og=Ui("floor");function zg(e){return e&&e.length?xr(e,Ze,Ii):i}function Bg(e,t){return e&&e.length?xr(e,k(t,2),Ii):i}function Wg(e){return _s(e,Ze)}function Mg(e,t){return _s(e,k(t,2))}function Pg(e){return e&&e.length?xr(e,Ze,zi):i}function Dg(e,t){return e&&e.length?xr(e,k(t,2),zi):i}var jg=Sr(function(e,t){return e*t},1),kg=Ui("round"),Hg=Sr(function(e,t){return e-t},0);function Zg(e){return e&&e.length?_i(e,Ze):0}function Ng(e,t){return e&&e.length?_i(e,k(t,2)):0}return l.after=fh,l.ary=Za,l.assign=Qh,l.assignIn=rl,l.assignInWith=Mr,l.assignWith=ep,l.at=tp,l.before=Na,l.bind=ro,l.bindAll=sg,l.bindKey=Ua,l.castArray=Sh,l.chain=ja,l.chunk=Of,l.compact=zf,l.concat=Bf,l.cond=ag,l.conforms=lg,l.constant=co,l.countBy=Z1,l.create=np,l.curry=Va,l.curryRight=Ga,l.debounce=Ka,l.defaults=rp,l.defaultsDeep=ip,l.defer=hh,l.delay=ph,l.difference=Wf,l.differenceBy=Mf,l.differenceWith=Pf,l.drop=Df,l.dropRight=jf,l.dropRightWhile=kf,l.dropWhile=Hf,l.fill=Zf,l.filter=U1,l.flatMap=K1,l.flatMapDeep=q1,l.flatMapDepth=X1,l.flatten=Wa,l.flattenDeep=Nf,l.flattenDepth=Uf,l.flip=gh,l.flow=cg,l.flowRight=dg,l.fromPairs=Vf,l.functions=dp,l.functionsIn=fp,l.groupBy=Y1,l.initial=Kf,l.intersection=qf,l.intersectionBy=Xf,l.intersectionWith=Yf,l.invert=pp,l.invertBy=gp,l.invokeMap=Q1,l.iteratee=fo,l.keyBy=eh,l.keys=Ce,l.keysIn=He,l.map=Lr,l.mapKeys=xp,l.mapValues=_p,l.matches=fg,l.matchesProperty=hg,l.memoize=Or,l.merge=vp,l.mergeWith=il,l.method=pg,l.methodOf=gg,l.mixin=ho,l.negate=zr,l.nthArg=xg,l.omit=bp,l.omitBy=yp,l.once=mh,l.orderBy=th,l.over=_g,l.overArgs=xh,l.overEvery=vg,l.overSome=bg,l.partial=io,l.partialRight=qa,l.partition=nh,l.pick=wp,l.pickBy=ol,l.property=fl,l.propertyOf=yg,l.pull=t1,l.pullAll=Pa,l.pullAllBy=n1,l.pullAllWith=r1,l.pullAt=i1,l.range=wg,l.rangeRight=Cg,l.rearg=_h,l.reject=oh,l.remove=o1,l.rest=vh,l.reverse=to,l.sampleSize=ah,l.set=Sp,l.setWith=$p,l.shuffle=lh,l.slice=s1,l.sortBy=dh,l.sortedUniq=h1,l.sortedUniqBy=p1,l.split=Kp,l.spread=bh,l.tail=g1,l.take=m1,l.takeRight=x1,l.takeRightWhile=_1,l.takeWhile=v1,l.tap=z1,l.throttle=yh,l.thru=Ir,l.toArray=el,l.toPairs=sl,l.toPairsIn=al,l.toPath=Rg,l.toPlainObject=nl,l.transform=Ep,l.unary=wh,l.union=b1,l.unionBy=y1,l.unionWith=w1,l.uniq=C1,l.uniqBy=S1,l.uniqWith=$1,l.unset=Ap,l.unzip=no,l.unzipWith=Da,l.update=Rp,l.updateWith=Tp,l.values=xn,l.valuesIn=Ip,l.without=E1,l.words=cl,l.wrap=Ch,l.xor=A1,l.xorBy=R1,l.xorWith=T1,l.zip=I1,l.zipObject=L1,l.zipObjectDeep=F1,l.zipWith=O1,l.entries=sl,l.entriesIn=al,l.extend=rl,l.extendWith=Mr,ho(l,l),l.add=Ig,l.attempt=dl,l.camelCase=zp,l.capitalize=ll,l.ceil=Lg,l.clamp=Lp,l.clone=$h,l.cloneDeep=Ah,l.cloneDeepWith=Rh,l.cloneWith=Eh,l.conformsTo=Th,l.deburr=ul,l.defaultTo=ug,l.divide=Fg,l.endsWith=Bp,l.eq=pt,l.escape=Wp,l.escapeRegExp=Mp,l.every=N1,l.find=V1,l.findIndex=za,l.findKey=op,l.findLast=G1,l.findLastIndex=Ba,l.findLastKey=sp,l.floor=Og,l.forEach=ka,l.forEachRight=Ha,l.forIn=ap,l.forInRight=lp,l.forOwn=up,l.forOwnRight=cp,l.get=ao,l.gt=Ih,l.gte=Lh,l.has=hp,l.hasIn=lo,l.head=Ma,l.identity=Ze,l.includes=J1,l.indexOf=Gf,l.inRange=Fp,l.invoke=mp,l.isArguments=Qt,l.isArray=V,l.isArrayBuffer=Fh,l.isArrayLike=ke,l.isArrayLikeObject=ve,l.isBoolean=Oh,l.isBuffer=kt,l.isDate=zh,l.isElement=Bh,l.isEmpty=Wh,l.isEqual=Mh,l.isEqualWith=Ph,l.isError=oo,l.isFinite=Dh,l.isFunction=At,l.isInteger=Xa,l.isLength=Br,l.isMap=Ya,l.isMatch=jh,l.isMatchWith=kh,l.isNaN=Hh,l.isNative=Zh,l.isNil=Uh,l.isNull=Nh,l.isNumber=Ja,l.isObject=xe,l.isObjectLike=_e,l.isPlainObject=kn,l.isRegExp=so,l.isSafeInteger=Vh,l.isSet=Qa,l.isString=Wr,l.isSymbol=Ge,l.isTypedArray=mn,l.isUndefined=Gh,l.isWeakMap=Kh,l.isWeakSet=qh,l.join=Jf,l.kebabCase=Pp,l.last=it,l.lastIndexOf=Qf,l.lowerCase=Dp,l.lowerFirst=jp,l.lt=Xh,l.lte=Yh,l.max=zg,l.maxBy=Bg,l.mean=Wg,l.meanBy=Mg,l.min=Pg,l.minBy=Dg,l.stubArray=go,l.stubFalse=mo,l.stubObject=Sg,l.stubString=$g,l.stubTrue=Eg,l.multiply=jg,l.nth=e1,l.noConflict=mg,l.noop=po,l.now=Fr,l.pad=kp,l.padEnd=Hp,l.padStart=Zp,l.parseInt=Np,l.random=Op,l.reduce=rh,l.reduceRight=ih,l.repeat=Up,l.replace=Vp,l.result=Cp,l.round=kg,l.runInContext=v,l.sample=sh,l.size=uh,l.snakeCase=Gp,l.some=ch,l.sortedIndex=a1,l.sortedIndexBy=l1,l.sortedIndexOf=u1,l.sortedLastIndex=c1,l.sortedLastIndexBy=d1,l.sortedLastIndexOf=f1,l.startCase=qp,l.startsWith=Xp,l.subtract=Hg,l.sum=Zg,l.sumBy=Ng,l.template=Yp,l.times=Ag,l.toFinite=Rt,l.toInteger=G,l.toLength=tl,l.toLower=Jp,l.toNumber=ot,l.toSafeInteger=Jh,l.toString=ae,l.toUpper=Qp,l.trim=eg,l.trimEnd=tg,l.trimStart=ng,l.truncate=rg,l.unescape=ig,l.uniqueId=Tg,l.upperCase=og,l.upperFirst=uo,l.each=ka,l.eachRight=Ha,l.first=Ma,ho(l,function(){var e={};return xt(l,function(t,n){ue.call(l.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),l.VERSION=d,Qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),Qe(["drop","take"],function(e,t){ee.prototype[e]=function(n){n=n===i?1:we(G(n),0);var o=this.__filtered__&&!t?new ee(this):this.clone();return o.__filtered__?o.__takeCount__=Re(n,o.__takeCount__):o.__views__.push({size:Re(n,Pe),type:e+(o.__dir__<0?"Right":"")}),o},ee.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),Qe(["filter","map","takeWhile"],function(e,t){var n=t+1,o=n==at||n==Zt;ee.prototype[e]=function(a){var u=this.clone();return u.__iteratees__.push({iteratee:k(a,3),type:n}),u.__filtered__=u.__filtered__||o,u}}),Qe(["head","last"],function(e,t){var n="take"+(t?"Right":"");ee.prototype[e]=function(){return this[n](1).value()[0]}}),Qe(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");ee.prototype[e]=function(){return this.__filtered__?new ee(this):this[n](1)}}),ee.prototype.compact=function(){return this.filter(Ze)},ee.prototype.find=function(e){return this.filter(e).head()},ee.prototype.findLast=function(e){return this.reverse().find(e)},ee.prototype.invokeMap=X(function(e,t){return typeof e=="function"?new ee(this):this.map(function(n){return Bn(n,e,t)})}),ee.prototype.reject=function(e){return this.filter(zr(k(e)))},ee.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new ee(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=G(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},ee.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ee.prototype.toArray=function(){return this.take(Pe)},xt(ee.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=l[o?"take"+(t=="last"?"Right":""):t],u=o||/^find/.test(t);a&&(l.prototype[t]=function(){var h=this.__wrapped__,g=o?[1]:arguments,y=h instanceof ee,A=g[0],R=y||V(h),F=function(Q){var ne=a.apply(l,zt([Q],g));return o&&M?ne[0]:ne};R&&n&&typeof A=="function"&&A.length!=1&&(y=R=!1);var M=this.__chain__,j=!!this.__actions__.length,H=u&&!M,K=y&&!j;if(!u&&R){h=K?h:new ee(this);var Z=e.apply(h,g);return Z.__actions__.push({func:Ir,args:[F],thisArg:i}),new tt(Z,M)}return H&&K?e.apply(this,g):(Z=this.thru(F),H?o?Z.value()[0]:Z.value():Z)})}),Qe(["pop","push","shift","sort","splice","unshift"],function(e){var t=nr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var a=arguments;if(o&&!this.__chain__){var u=this.value();return t.apply(V(u)?u:[],a)}return this[n](function(h){return t.apply(V(h)?h:[],a)})}}),xt(ee.prototype,function(e,t){var n=l[t];if(n){var o=n.name+"";ue.call(dn,o)||(dn[o]=[]),dn[o].push({name:t,func:n})}}),dn[Cr(i,z).name]=[{name:"wrapper",func:i}],ee.prototype.clone=r0,ee.prototype.reverse=i0,ee.prototype.value=o0,l.prototype.at=B1,l.prototype.chain=W1,l.prototype.commit=M1,l.prototype.next=P1,l.prototype.plant=j1,l.prototype.reverse=k1,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=H1,l.prototype.first=l.prototype.head,Rn&&(l.prototype[Rn]=D1),l},ln=Wd();Ut?((Ut.exports=ln)._=ln,di._=ln):$e._=ln}).call(Vg)}(Hn,Hn.exports)),Hn.exports}var ie=Gg();const vo=r=>({none:0,hairline:r*.5,thin:r,thick:r*2,heavy:r*4}),bo=r=>({none:0,xs:r*.5,sm:r,md:r*2,lg:r*3,xl:r*4,full:9999}),Kg=r=>["none","hairline","thin","thick","heavy"].includes(r),Hl=r=>["none","xs","sm","md","lg","xl","full"].includes(r),Nr={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Zl=r=>r in Nr,Nl={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},qg=r=>["primary","secondary","success","danger","warning","info"].includes(r),Xg=1,Yg=8,Jg=8,Qg="Inter",e2="Sora",t2=10,n2=4,It={borderWidth:Xg,space:Yg,size:Jg,font:{neutral:Qg,heading:e2},fontSize:t2,radius:n2},Ul=r=>({none:"none",sm:`0 1px 2px 0 ${r.grey400}40`,md:`0 4px 6px -1px ${r.grey500}40, 0 2px 4px -1px ${r.grey400}40`,lg:`0 10px 15px -3px ${r.grey600}40, 0 4px 6px -2px ${r.grey500}40`}),r2=r=>["none","sm","md","lg"].includes(r),yo=r=>({"2xs":r*.5,xs:r,sm:r*2,"sm-md":r*2.5,md:r*4,"md-lg":r*6,lg:r*8,xl:r*16,"2xl":r*32,"3xl":r*64,"4xl":r*128}),Zn=r=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(r),wo=r=>({none:0,"2xs":r*.25,xs:r*.5,sm:r,"sm-md":r*1.5,md:r*2,"md-lg":r*2.5,lg:r*3,xl:r*4,"2xl":r*5,"3xl":r*6,"4xl":r*8,"-xxs":r*-.25,"-xs":r*-.5,"-sm":r*-1,"-sm-md":r*-1.5,"-md":r*-2,"-md-lg":r*-2.5,"-lg":r*-3,"-xl":r*-4,"-2xl":r*-5,"-3xl":r*-6,"-4xl":r*-8}),Vl=r=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(r),Co=({neutral:r,heading:s})=>({neutral:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${s}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Ur=r=>({"2xs":r*.75,xs:r,small:r*1.25,medium:r*1.5,large:r*2,xl:r*2.5,"2xl":r*3,"3xl":r*3.5,"4xl":r*4,"5xl":r*5,"6xl":r*6}),So=r=>{const s=Ur(r),i=1.4;return{"2xs":s["2xs"]*i,xs:s.xs*i,small:s.small*i,medium:s.medium*i,large:s.large*i,xl:s.xl*i,"2xl":s["2xl"]*i,"3xl":s["3xl"]*i,"4xl":s["4xl"]*i,"5xl":s["5xl"]*i,"6xl":s["6xl"]*i}},$o=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),i2=r=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(r),o2=r=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(r),s2=(r=It,s=Nr,i=Nl)=>{const d=Co(r.font),c=Ur(r.fontSize),p=So(r.fontSize),_=$o(),m=vo(r.borderWidth),b=wo(r.space),w=yo(r.size),E=bo(r.radius),$=Ul(s);return{colors:s,gradientColors:i,fonts:d,fontSizes:c,lineHeights:p,fontWeights:_,borderWidths:m,spaces:b,sizes:w,radii:E,shadows:$}},Gl=r=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Kl=r=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),ql=r=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Xl=r=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Yl=r=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Jl=r=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"grey500",buttonPadding:"xs",buttonBackgroundColor:"grey100",buttonBorderRadius:"full",iconSize:"sm"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Ql=r=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),eu=r=>({defaultColor:"grey300",defaultThickness:1}),tu=r=>({backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"semibold",color:"black",backgroundColor:"grey200"},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent"},hover:{color:"primary"}},profileDropdown:{backgroundColor:"white",borderColor:"grey200",borderWidth:"thin",borderRadius:"md",minWidth:240,offset:{top:72,right:0},containerPaddingTop:"sm",containerPaddingRight:"md",contentPadding:"md",itemSpacing:"sm",animationDuration:300,defaultMaxHeight:300},navDropdown:{borderColor:"grey300",borderWidth:"thin",borderRadius:25,backgroundColor:"white"}}),nu=r=>{const s="grey300",i="danger",d="primary",c="grey100",p="grey300",_="grey500",m="white",b="grey900",w="thin",E=`inset 0 0 0 ${r.borderWidths.thin}px ${r.colors[d]}`,$=`inset 0 0 0 ${r.borderWidths.thin}px ${r.colors[i]}`;return{borderRadius:"md",borderWidth:w,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:b,disabledTextColor:_,disabledBorderColor:p,focusColor:d,errorColor:i,states:{default:{borderColor:s,backgroundColor:m,boxShadow:"none"},focused:{borderColor:d,backgroundColor:m,boxShadow:E},error:{borderColor:i,backgroundColor:m,boxShadow:$},disabled:{borderColor:p,backgroundColor:c,boxShadow:"none"}}}},ru=r=>({defaultGap:"sm",defaultPadding:"none"}),iu=r=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),ou=r=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),su=r=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),au=r=>{const s="grey300",i="danger",d="grey300",c="grey100",p="grey400",_="grey100",m="grey200",b="white",w="transparent",E="thin",$="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:p,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:p,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:w,borderColor:s,borderWidth:E},hover:{backgroundColor:"grey100",borderColor:s,borderWidth:E},focused:{backgroundColor:w,borderColor:"primary",borderWidth:$},disabled:{backgroundColor:w,borderColor:d,borderWidth:E},errored:{backgroundColor:w,borderColor:i,borderWidth:E}},filled:{default:{backgroundColor:_,borderColor:w,borderWidth:E},hover:{backgroundColor:m,borderColor:w,borderWidth:E},focused:{backgroundColor:b,borderColor:"primary",borderWidth:$},disabled:{backgroundColor:c,borderColor:w,borderWidth:E},errored:{backgroundColor:b,borderColor:i,borderWidth:E}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:b,borderColor:s,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},lu=r=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},borderRadius:{rectangle:"none",rounded:"md",circle:"full"}}),uu=r=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),cu=r=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),du=r=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),fu=r=>({art:Kl(),base:Xl(),button:Yl(),divider:eu(),header:tu(),input:nu(r),list:ru(),loading:iu(),pagination:ou(),skeleton:lu(),touchable:cu(),vimeo:du(),carousel:Jl(),accordion:Gl(),tag:uu(),checkbox:Ql(),select:au(),progress:su(),avatar:ql()}),a2=wo(It.space),l2=yo(It.size),u2=vo(It.borderWidth),c2=bo(It.radius),d2=Ur(It.fontSize),f2=So(It.fontSize),h2=$o(),gl=Co(It.font),p2={spaces:a2,sizes:l2,colors:Nr,radii:c2,borderWidths:u2,fonts:gl,__hd__:{text:{fontSizes:d2,lineHeights:f2,fontWeights:h2,fonts:gl}}};function hu(){const r=p2,s=fu(r);return{...r,__hd__:{...r.__hd__,...s}}}const jr=hu(),re=Ht.styled,Eo=Ht.keyframes,Be=Ht.css,pu=(r,s)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(r),g2=r=>typeof r=="function"?r(jr):r?{...jr,...r}:jr,m2=({theme:r,children:s})=>{const i=g2(r);return x.jsx(Ht.StyleSheetManager,{shouldForwardProp:pu,children:x.jsx(Ht.ThemeProvider,{theme:i,children:s})})},te=Ht.useTheme,Ye=()=>typeof document>"u",Un={xs:0,sm:600,md:900,lg:1200,xl:1536},Nn=Object.keys(Un),Vr=r=>ie.isObject(r)&&("xs"in r||"sm"in r||"md"in r||"lg"in r||"xl"in r),Xe=(r,s)=>Vr(r)?Object.fromEntries(Object.entries(r).map(([i,d])=>[i,s(d)])):s(r),xo=r=>ie.reduce(r,(s,i,d)=>(ie.forEach(i,(c,p)=>{ie.has(s,p)||ie.set(s,p,{}),ie.set(s,[p,d],c)}),s),{}),gu=(r,s)=>{const i=Object.fromEntries(Object.keys(r).map(m=>[m,Ao(r[m])])),d=xo(i),c=Object.fromEntries(Nn.map(m=>[m,s(d[m])])),p=xo(c);return Object.fromEntries(Object.entries(p).map(([m,b])=>[m,xu(b)]))},mu=(r,s)=>{if(!Vr(r))return r;switch(s){case"xs":return r.xs??r.sm??r.md??r.lg??r.xl;case"sm":return r.sm??r.xs??r.md??r.lg??r.xl;case"md":return r.md??r.sm??r.xs??r.lg??r.xl;case"lg":return r.lg??r.md??r.sm??r.xs??r.xl;case"xl":return r.xl??r.lg??r.md??r.sm??r.xs}},Ao=r=>Object.fromEntries(Object.keys(Un).map(s=>[s,mu(r,s)])),xu=r=>{let s=r.xs;const i={xs:s};for(let d=1;d<Nn.length;d++){const c=Nn[d],p=r[c];ie.isEqual(p,s)||(i[c]=p,s=p)}return Object.keys(i).length===1?i.xs:i},Ro=r=>{const[s,i]=ie.partition(Object.entries(r),([p,_])=>Vr(_)),d=Object.fromEntries(s.map(([p,_])=>[p,Ao(_)])),c=ie.compact(Nn.map(p=>{const _=Object.fromEntries(Object.keys(d).map(b=>[b,d[b][p]]));if(p==="xs"){const b={...Object.fromEntries(i),..._};return ie.isEmpty(b)?null:Be(b)}if(ie.isEmpty(_))return null;const m=`(min-width: ${Un[p]}px)`;return Be`
|
|
27
|
+
}`;var K=dl(function(){return se(u,j+"return "+F).apply(i,h)});if(K.source=F,oo(K))throw K;return K}function Jp(e){return ae(e).toLowerCase()}function Qp(e){return ae(e).toUpperCase()}function eg(e,t,n){if(e=ae(e),e&&(n||t===i))return bs(e);if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ft(t),u=ys(o,a),h=ws(o,a)+1;return jt(o,u,h).join("")}function tg(e,t,n){if(e=ae(e),e&&(n||t===i))return e.slice(0,Ss(e)+1);if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ws(o,ft(t))+1;return jt(o,0,a).join("")}function ng(e,t,n){if(e=ae(e),e&&(n||t===i))return e.replace(oi,"");if(!e||!(t=Ve(t)))return e;var o=ft(e),a=ys(o,ft(t));return jt(o,a).join("")}function rg(e,t){var n=pe,o=ge;if(xe(t)){var a="separator"in t?t.separator:a;n="length"in t?G(t.length):n,o="omission"in t?Ve(t.omission):o}e=ae(e);var u=e.length;if(sn(e)){var h=ft(e);u=h.length}if(n>=u)return e;var g=n-an(o);if(g<1)return o;var y=h?jt(h,0,g).join(""):e.slice(0,g);if(a===i)return y+o;if(h&&(g+=y.length-g),so(a)){if(e.slice(g).search(a)){var A,R=y;for(a.global||(a=wi(a.source,ae(Ho.exec(a))+"g")),a.lastIndex=0;A=a.exec(R);)var F=A.index;y=y.slice(0,F===i?g:F)}}else if(e.indexOf(Ve(a),g)!=g){var M=y.lastIndexOf(a);M>-1&&(y=y.slice(0,M))}return y+o}function ig(e){return e=ae(e),e&&pc.test(e)?e.replace(Do,Fd):e}var og=pn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),uo=fa("toUpperCase");function cl(e,t,n){return e=ae(e),t=n?i:t,t===i?Ad(e)?Bd(e):_d(e):e.match(t)||[]}var dl=X(function(e,t){try{return Ne(e,i,t)}catch(n){return oo(n)?n:new U(n)}}),sg=$t(function(e,t){return Qe(t,function(n){n=vt(n),Ct(e,n,ro(e[n],e))}),e});function ag(e){var t=e==null?0:e.length,n=k();return e=t?me(e,function(o){if(typeof o[1]!="function")throw new et(_);return[n(o[0]),o[1]]}):[],X(function(o){for(var a=-1;++a<t;){var u=e[a];if(Ne(u[0],this,o))return Ne(u[1],this,o)}})}function lg(e){return F0(nt(e,$))}function co(e){return function(){return e}}function ug(e,t){return e==null||e!==e?t:e}var cg=pa(),dg=pa(!0);function Ze(e){return e}function fo(e){return Ns(typeof e=="function"?e:nt(e,$))}function fg(e){return Vs(nt(e,$))}function hg(e,t){return Gs(e,nt(t,$))}var pg=X(function(e,t){return function(n){return Bn(n,e,t)}}),gg=X(function(e,t){return function(n){return Bn(e,n,t)}});function ho(e,t,n){var o=Ce(t),a=_r(t,o);n==null&&!(xe(t)&&(a.length||!o.length))&&(n=t,t=e,e=this,a=_r(t,Ce(t)));var u=!(xe(n)&&"chain"in n)||!!n.chain,h=At(e);return Qe(a,function(g){var y=t[g];e[g]=y,h&&(e.prototype[g]=function(){var A=this.__chain__;if(u||A){var R=e(this.__wrapped__),F=R.__actions__=je(this.__actions__);return F.push({func:y,args:arguments,thisArg:e}),R.__chain__=A,R}return y.apply(e,zt([this.value()],arguments))})}),e}function mg(){return $e._===this&&($e._=kd),this}function po(){}function xg(e){return e=G(e),X(function(t){return Ks(t,e)})}var _g=Ni(me),vg=Ni(gs),bg=Ni(gi);function fl(e){return Yi(e)?mi(vt(e)):q0(e)}function yg(e){return function(t){return e==null?i:Xt(e,t)}}var wg=ma(),Cg=ma(!0);function go(){return[]}function mo(){return!1}function Sg(){return{}}function $g(){return""}function Eg(){return!0}function Ag(e,t){if(e=G(e),e<1||e>Me)return[];var n=Pe,o=Re(e,Pe);t=k(t),e-=Pe;for(var a=vi(o,t);++n<e;)t(n);return a}function Rg(e){return V(e)?me(e,vt):Ge(e)?[e]:je(Fa(ae(e)))}function Tg(e){var t=++Dd;return ae(e)+t}var Ig=Sr(function(e,t){return e+t},0),Lg=Ui("ceil"),Fg=Sr(function(e,t){return e/t},1),Og=Ui("floor");function zg(e){return e&&e.length?xr(e,Ze,Ii):i}function Bg(e,t){return e&&e.length?xr(e,k(t,2),Ii):i}function Wg(e){return _s(e,Ze)}function Mg(e,t){return _s(e,k(t,2))}function Pg(e){return e&&e.length?xr(e,Ze,zi):i}function Dg(e,t){return e&&e.length?xr(e,k(t,2),zi):i}var jg=Sr(function(e,t){return e*t},1),kg=Ui("round"),Hg=Sr(function(e,t){return e-t},0);function Zg(e){return e&&e.length?_i(e,Ze):0}function Ng(e,t){return e&&e.length?_i(e,k(t,2)):0}return l.after=fh,l.ary=Za,l.assign=Qh,l.assignIn=rl,l.assignInWith=Mr,l.assignWith=ep,l.at=tp,l.before=Na,l.bind=ro,l.bindAll=sg,l.bindKey=Ua,l.castArray=Sh,l.chain=ja,l.chunk=Of,l.compact=zf,l.concat=Bf,l.cond=ag,l.conforms=lg,l.constant=co,l.countBy=Z1,l.create=np,l.curry=Va,l.curryRight=Ga,l.debounce=Ka,l.defaults=rp,l.defaultsDeep=ip,l.defer=hh,l.delay=ph,l.difference=Wf,l.differenceBy=Mf,l.differenceWith=Pf,l.drop=Df,l.dropRight=jf,l.dropRightWhile=kf,l.dropWhile=Hf,l.fill=Zf,l.filter=U1,l.flatMap=K1,l.flatMapDeep=q1,l.flatMapDepth=X1,l.flatten=Wa,l.flattenDeep=Nf,l.flattenDepth=Uf,l.flip=gh,l.flow=cg,l.flowRight=dg,l.fromPairs=Vf,l.functions=dp,l.functionsIn=fp,l.groupBy=Y1,l.initial=Kf,l.intersection=qf,l.intersectionBy=Xf,l.intersectionWith=Yf,l.invert=pp,l.invertBy=gp,l.invokeMap=Q1,l.iteratee=fo,l.keyBy=eh,l.keys=Ce,l.keysIn=He,l.map=Lr,l.mapKeys=xp,l.mapValues=_p,l.matches=fg,l.matchesProperty=hg,l.memoize=Or,l.merge=vp,l.mergeWith=il,l.method=pg,l.methodOf=gg,l.mixin=ho,l.negate=zr,l.nthArg=xg,l.omit=bp,l.omitBy=yp,l.once=mh,l.orderBy=th,l.over=_g,l.overArgs=xh,l.overEvery=vg,l.overSome=bg,l.partial=io,l.partialRight=qa,l.partition=nh,l.pick=wp,l.pickBy=ol,l.property=fl,l.propertyOf=yg,l.pull=t1,l.pullAll=Pa,l.pullAllBy=n1,l.pullAllWith=r1,l.pullAt=i1,l.range=wg,l.rangeRight=Cg,l.rearg=_h,l.reject=oh,l.remove=o1,l.rest=vh,l.reverse=to,l.sampleSize=ah,l.set=Sp,l.setWith=$p,l.shuffle=lh,l.slice=s1,l.sortBy=dh,l.sortedUniq=h1,l.sortedUniqBy=p1,l.split=Kp,l.spread=bh,l.tail=g1,l.take=m1,l.takeRight=x1,l.takeRightWhile=_1,l.takeWhile=v1,l.tap=z1,l.throttle=yh,l.thru=Ir,l.toArray=el,l.toPairs=sl,l.toPairsIn=al,l.toPath=Rg,l.toPlainObject=nl,l.transform=Ep,l.unary=wh,l.union=b1,l.unionBy=y1,l.unionWith=w1,l.uniq=C1,l.uniqBy=S1,l.uniqWith=$1,l.unset=Ap,l.unzip=no,l.unzipWith=Da,l.update=Rp,l.updateWith=Tp,l.values=xn,l.valuesIn=Ip,l.without=E1,l.words=cl,l.wrap=Ch,l.xor=A1,l.xorBy=R1,l.xorWith=T1,l.zip=I1,l.zipObject=L1,l.zipObjectDeep=F1,l.zipWith=O1,l.entries=sl,l.entriesIn=al,l.extend=rl,l.extendWith=Mr,ho(l,l),l.add=Ig,l.attempt=dl,l.camelCase=zp,l.capitalize=ll,l.ceil=Lg,l.clamp=Lp,l.clone=$h,l.cloneDeep=Ah,l.cloneDeepWith=Rh,l.cloneWith=Eh,l.conformsTo=Th,l.deburr=ul,l.defaultTo=ug,l.divide=Fg,l.endsWith=Bp,l.eq=pt,l.escape=Wp,l.escapeRegExp=Mp,l.every=N1,l.find=V1,l.findIndex=za,l.findKey=op,l.findLast=G1,l.findLastIndex=Ba,l.findLastKey=sp,l.floor=Og,l.forEach=ka,l.forEachRight=Ha,l.forIn=ap,l.forInRight=lp,l.forOwn=up,l.forOwnRight=cp,l.get=ao,l.gt=Ih,l.gte=Lh,l.has=hp,l.hasIn=lo,l.head=Ma,l.identity=Ze,l.includes=J1,l.indexOf=Gf,l.inRange=Fp,l.invoke=mp,l.isArguments=Qt,l.isArray=V,l.isArrayBuffer=Fh,l.isArrayLike=ke,l.isArrayLikeObject=ve,l.isBoolean=Oh,l.isBuffer=kt,l.isDate=zh,l.isElement=Bh,l.isEmpty=Wh,l.isEqual=Mh,l.isEqualWith=Ph,l.isError=oo,l.isFinite=Dh,l.isFunction=At,l.isInteger=Xa,l.isLength=Br,l.isMap=Ya,l.isMatch=jh,l.isMatchWith=kh,l.isNaN=Hh,l.isNative=Zh,l.isNil=Uh,l.isNull=Nh,l.isNumber=Ja,l.isObject=xe,l.isObjectLike=_e,l.isPlainObject=kn,l.isRegExp=so,l.isSafeInteger=Vh,l.isSet=Qa,l.isString=Wr,l.isSymbol=Ge,l.isTypedArray=mn,l.isUndefined=Gh,l.isWeakMap=Kh,l.isWeakSet=qh,l.join=Jf,l.kebabCase=Pp,l.last=it,l.lastIndexOf=Qf,l.lowerCase=Dp,l.lowerFirst=jp,l.lt=Xh,l.lte=Yh,l.max=zg,l.maxBy=Bg,l.mean=Wg,l.meanBy=Mg,l.min=Pg,l.minBy=Dg,l.stubArray=go,l.stubFalse=mo,l.stubObject=Sg,l.stubString=$g,l.stubTrue=Eg,l.multiply=jg,l.nth=e1,l.noConflict=mg,l.noop=po,l.now=Fr,l.pad=kp,l.padEnd=Hp,l.padStart=Zp,l.parseInt=Np,l.random=Op,l.reduce=rh,l.reduceRight=ih,l.repeat=Up,l.replace=Vp,l.result=Cp,l.round=kg,l.runInContext=v,l.sample=sh,l.size=uh,l.snakeCase=Gp,l.some=ch,l.sortedIndex=a1,l.sortedIndexBy=l1,l.sortedIndexOf=u1,l.sortedLastIndex=c1,l.sortedLastIndexBy=d1,l.sortedLastIndexOf=f1,l.startCase=qp,l.startsWith=Xp,l.subtract=Hg,l.sum=Zg,l.sumBy=Ng,l.template=Yp,l.times=Ag,l.toFinite=Rt,l.toInteger=G,l.toLength=tl,l.toLower=Jp,l.toNumber=ot,l.toSafeInteger=Jh,l.toString=ae,l.toUpper=Qp,l.trim=eg,l.trimEnd=tg,l.trimStart=ng,l.truncate=rg,l.unescape=ig,l.uniqueId=Tg,l.upperCase=og,l.upperFirst=uo,l.each=ka,l.eachRight=Ha,l.first=Ma,ho(l,function(){var e={};return xt(l,function(t,n){ue.call(l.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),l.VERSION=d,Qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){l[e].placeholder=l}),Qe(["drop","take"],function(e,t){ee.prototype[e]=function(n){n=n===i?1:we(G(n),0);var o=this.__filtered__&&!t?new ee(this):this.clone();return o.__filtered__?o.__takeCount__=Re(n,o.__takeCount__):o.__views__.push({size:Re(n,Pe),type:e+(o.__dir__<0?"Right":"")}),o},ee.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}}),Qe(["filter","map","takeWhile"],function(e,t){var n=t+1,o=n==at||n==Zt;ee.prototype[e]=function(a){var u=this.clone();return u.__iteratees__.push({iteratee:k(a,3),type:n}),u.__filtered__=u.__filtered__||o,u}}),Qe(["head","last"],function(e,t){var n="take"+(t?"Right":"");ee.prototype[e]=function(){return this[n](1).value()[0]}}),Qe(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");ee.prototype[e]=function(){return this.__filtered__?new ee(this):this[n](1)}}),ee.prototype.compact=function(){return this.filter(Ze)},ee.prototype.find=function(e){return this.filter(e).head()},ee.prototype.findLast=function(e){return this.reverse().find(e)},ee.prototype.invokeMap=X(function(e,t){return typeof e=="function"?new ee(this):this.map(function(n){return Bn(n,e,t)})}),ee.prototype.reject=function(e){return this.filter(zr(k(e)))},ee.prototype.slice=function(e,t){e=G(e);var n=this;return n.__filtered__&&(e>0||t<0)?new ee(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(t=G(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},ee.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ee.prototype.toArray=function(){return this.take(Pe)},xt(ee.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=l[o?"take"+(t=="last"?"Right":""):t],u=o||/^find/.test(t);a&&(l.prototype[t]=function(){var h=this.__wrapped__,g=o?[1]:arguments,y=h instanceof ee,A=g[0],R=y||V(h),F=function(Q){var ne=a.apply(l,zt([Q],g));return o&&M?ne[0]:ne};R&&n&&typeof A=="function"&&A.length!=1&&(y=R=!1);var M=this.__chain__,j=!!this.__actions__.length,H=u&&!M,K=y&&!j;if(!u&&R){h=K?h:new ee(this);var Z=e.apply(h,g);return Z.__actions__.push({func:Ir,args:[F],thisArg:i}),new tt(Z,M)}return H&&K?e.apply(this,g):(Z=this.thru(F),H?o?Z.value()[0]:Z.value():Z)})}),Qe(["pop","push","shift","sort","splice","unshift"],function(e){var t=nr[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);l.prototype[e]=function(){var a=arguments;if(o&&!this.__chain__){var u=this.value();return t.apply(V(u)?u:[],a)}return this[n](function(h){return t.apply(V(h)?h:[],a)})}}),xt(ee.prototype,function(e,t){var n=l[t];if(n){var o=n.name+"";ue.call(dn,o)||(dn[o]=[]),dn[o].push({name:t,func:n})}}),dn[Cr(i,z).name]=[{name:"wrapper",func:i}],ee.prototype.clone=r0,ee.prototype.reverse=i0,ee.prototype.value=o0,l.prototype.at=B1,l.prototype.chain=W1,l.prototype.commit=M1,l.prototype.next=P1,l.prototype.plant=j1,l.prototype.reverse=k1,l.prototype.toJSON=l.prototype.valueOf=l.prototype.value=H1,l.prototype.first=l.prototype.head,Rn&&(l.prototype[Rn]=D1),l},ln=Wd();Ut?((Ut.exports=ln)._=ln,di._=ln):$e._=ln}).call(Vg)}(Hn,Hn.exports)),Hn.exports}var ie=Gg();const vo=r=>({none:0,hairline:r*.5,thin:r,thick:r*2,heavy:r*4}),bo=r=>({none:0,xs:r*.5,sm:r,md:r*2,lg:r*3,xl:r*4,full:9999}),Kg=r=>["none","hairline","thin","thick","heavy"].includes(r),Hl=r=>["none","xs","sm","md","lg","xl","full"].includes(r),Nr={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Zl=r=>r in Nr,Nl={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},qg=r=>["primary","secondary","success","danger","warning","info"].includes(r),Xg=1,Yg=8,Jg=8,Qg="Inter",e2="Sora",t2=10,n2=4,It={borderWidth:Xg,space:Yg,size:Jg,font:{neutral:Qg,heading:e2},fontSize:t2,radius:n2},Ul=r=>({none:"none",sm:`0 1px 2px 0 ${r.grey400}40`,md:`0 4px 6px -1px ${r.grey500}40, 0 2px 4px -1px ${r.grey400}40`,lg:`0 10px 15px -3px ${r.grey600}40, 0 4px 6px -2px ${r.grey500}40`}),r2=r=>["none","sm","md","lg"].includes(r),yo=r=>({"2xs":r*.5,xs:r,sm:r*2,"sm-md":r*2.5,md:r*4,"md-lg":r*6,lg:r*8,xl:r*16,"2xl":r*32,"3xl":r*64,"4xl":r*128}),Zn=r=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(r),wo=r=>({none:0,"2xs":r*.25,xs:r*.5,sm:r,"sm-md":r*1.5,md:r*2,"md-lg":r*2.5,lg:r*3,xl:r*4,"2xl":r*5,"3xl":r*6,"4xl":r*8,"5xl":r*10,"6xl":r*12,"7xl":r*14,"8xl":r*16,"9xl":r*18,"10xl":r*20,"-xxs":r*-.25,"-xs":r*-.5,"-sm":r*-1,"-sm-md":r*-1.5,"-md":r*-2,"-md-lg":r*-2.5,"-lg":r*-3,"-xl":r*-4,"-2xl":r*-5,"-3xl":r*-6,"-4xl":r*-8,"-5xl":r*-10,"-6xl":r*-12,"-7xl":r*-14,"-8xl":r*-16,"-9xl":r*-18,"-10xl":r*-20}),Vl=r=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(r),Co=({neutral:r,heading:s})=>({neutral:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${s}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Ur=r=>({"2xs":r*.75,xs:r,small:r*1.25,medium:r*1.5,large:r*2,xl:r*2.5,"2xl":r*3,"3xl":r*3.5,"4xl":r*4,"5xl":r*5,"6xl":r*6}),So=r=>{const s=Ur(r),i=1.4;return{"2xs":s["2xs"]*i,xs:s.xs*i,small:s.small*i,medium:s.medium*i,large:s.large*i,xl:s.xl*i,"2xl":s["2xl"]*i,"3xl":s["3xl"]*i,"4xl":s["4xl"]*i,"5xl":s["5xl"]*i,"6xl":s["6xl"]*i}},$o=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),i2=r=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(r),o2=r=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(r),s2=(r=It,s=Nr,i=Nl)=>{const d=Co(r.font),c=Ur(r.fontSize),p=So(r.fontSize),_=$o(),m=vo(r.borderWidth),b=wo(r.space),w=yo(r.size),E=bo(r.radius),$=Ul(s);return{colors:s,gradientColors:i,fonts:d,fontSizes:c,lineHeights:p,fontWeights:_,borderWidths:m,spaces:b,sizes:w,radii:E,shadows:$}},Gl=r=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),Kl=r=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),ql=r=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Xl=r=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Yl=r=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),Jl=r=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"grey500",buttonPadding:"xs",buttonBackgroundColor:"grey100",buttonBorderRadius:"full",iconSize:"sm"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Ql=r=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),eu=r=>({defaultColor:"grey300",defaultThickness:1}),tu=r=>({backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"semibold",color:"black",backgroundColor:"grey200"},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent"},hover:{color:"primary"}},profileDropdown:{backgroundColor:"white",borderColor:"grey200",borderWidth:"thin",borderRadius:"md",minWidth:240,offset:{top:72,right:0},containerPaddingTop:"sm",containerPaddingRight:"md",contentPadding:"md",itemSpacing:"sm",animationDuration:300,defaultMaxHeight:300},navDropdown:{borderColor:"grey300",borderWidth:"thin",borderRadius:25,backgroundColor:"white"}}),nu=r=>{const s="grey300",i="danger",d="primary",c="grey100",p="grey300",_="grey500",m="white",b="grey900",w="thin",E=`inset 0 0 0 ${r.borderWidths.thin}px ${r.colors[d]}`,$=`inset 0 0 0 ${r.borderWidths.thin}px ${r.colors[i]}`;return{borderRadius:"md",borderWidth:w,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:b,disabledTextColor:_,disabledBorderColor:p,focusColor:d,errorColor:i,states:{default:{borderColor:s,backgroundColor:m,boxShadow:"none"},focused:{borderColor:d,backgroundColor:m,boxShadow:E},error:{borderColor:i,backgroundColor:m,boxShadow:$},disabled:{borderColor:p,backgroundColor:c,boxShadow:"none"}}}},ru=r=>({defaultGap:"sm",defaultPadding:"none"}),iu=r=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),ou=r=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),su=r=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),au=r=>{const s="grey300",i="danger",d="grey300",c="grey100",p="grey400",_="grey100",m="grey200",b="white",w="transparent",E="thin",$="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:p,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:p,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:w,borderColor:s,borderWidth:E},hover:{backgroundColor:"grey100",borderColor:s,borderWidth:E},focused:{backgroundColor:w,borderColor:"primary",borderWidth:$},disabled:{backgroundColor:w,borderColor:d,borderWidth:E},errored:{backgroundColor:w,borderColor:i,borderWidth:E}},filled:{default:{backgroundColor:_,borderColor:w,borderWidth:E},hover:{backgroundColor:m,borderColor:w,borderWidth:E},focused:{backgroundColor:b,borderColor:"primary",borderWidth:$},disabled:{backgroundColor:c,borderColor:w,borderWidth:E},errored:{backgroundColor:b,borderColor:i,borderWidth:E}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:b,borderColor:s,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},lu=r=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},borderRadius:{rectangle:"none",rounded:"md",circle:"full"}}),uu=r=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),cu=r=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),du=r=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),fu=r=>({art:Kl(),base:Xl(),button:Yl(),divider:eu(),header:tu(),input:nu(r),list:ru(),loading:iu(),pagination:ou(),skeleton:lu(),touchable:cu(),vimeo:du(),carousel:Jl(),accordion:Gl(),tag:uu(),checkbox:Ql(),select:au(),progress:su(),avatar:ql()}),a2=wo(It.space),l2=yo(It.size),u2=vo(It.borderWidth),c2=bo(It.radius),d2=Ur(It.fontSize),f2=So(It.fontSize),h2=$o(),gl=Co(It.font),p2={spaces:a2,sizes:l2,colors:Nr,radii:c2,borderWidths:u2,fonts:gl,__hd__:{text:{fontSizes:d2,lineHeights:f2,fontWeights:h2,fonts:gl}}};function hu(){const r=p2,s=fu(r);return{...r,__hd__:{...r.__hd__,...s}}}const jr=hu(),re=Ht.styled,Eo=Ht.keyframes,Be=Ht.css,pu=(r,s)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(r),g2=r=>typeof r=="function"?r(jr):r?{...jr,...r}:jr,m2=({theme:r,children:s})=>{const i=g2(r);return x.jsx(Ht.StyleSheetManager,{shouldForwardProp:pu,children:x.jsx(Ht.ThemeProvider,{theme:i,children:s})})},te=Ht.useTheme,Ye=()=>typeof document>"u",Un={xs:0,sm:600,md:900,lg:1200,xl:1536},Nn=Object.keys(Un),Vr=r=>ie.isObject(r)&&("xs"in r||"sm"in r||"md"in r||"lg"in r||"xl"in r),Xe=(r,s)=>Vr(r)?Object.fromEntries(Object.entries(r).map(([i,d])=>[i,s(d)])):s(r),xo=r=>ie.reduce(r,(s,i,d)=>(ie.forEach(i,(c,p)=>{ie.has(s,p)||ie.set(s,p,{}),ie.set(s,[p,d],c)}),s),{}),gu=(r,s)=>{const i=Object.fromEntries(Object.keys(r).map(m=>[m,Ao(r[m])])),d=xo(i),c=Object.fromEntries(Nn.map(m=>[m,s(d[m])])),p=xo(c);return Object.fromEntries(Object.entries(p).map(([m,b])=>[m,xu(b)]))},mu=(r,s)=>{if(!Vr(r))return r;switch(s){case"xs":return r.xs??r.sm??r.md??r.lg??r.xl;case"sm":return r.sm??r.xs??r.md??r.lg??r.xl;case"md":return r.md??r.sm??r.xs??r.lg??r.xl;case"lg":return r.lg??r.md??r.sm??r.xs??r.xl;case"xl":return r.xl??r.lg??r.md??r.sm??r.xs}},Ao=r=>Object.fromEntries(Object.keys(Un).map(s=>[s,mu(r,s)])),xu=r=>{let s=r.xs;const i={xs:s};for(let d=1;d<Nn.length;d++){const c=Nn[d],p=r[c];ie.isEqual(p,s)||(i[c]=p,s=p)}return Object.keys(i).length===1?i.xs:i},Ro=r=>{const[s,i]=ie.partition(Object.entries(r),([p,_])=>Vr(_)),d=Object.fromEntries(s.map(([p,_])=>[p,Ao(_)])),c=ie.compact(Nn.map(p=>{const _=Object.fromEntries(Object.keys(d).map(b=>[b,d[b][p]]));if(p==="xs"){const b={...Object.fromEntries(i),..._};return ie.isEmpty(b)?null:Be(b)}if(ie.isEmpty(_))return null;const m=`(min-width: ${Un[p]}px)`;return Be`
|
|
28
28
|
@media ${m} {
|
|
29
29
|
${Be(_)}
|
|
30
30
|
}
|
package/dist/index.js
CHANGED
|
@@ -3869,6 +3869,18 @@ const Dl = (r) => ({
|
|
|
3869
3869
|
// 48
|
|
3870
3870
|
"4xl": r * 8,
|
|
3871
3871
|
// 64
|
|
3872
|
+
"5xl": r * 10,
|
|
3873
|
+
// 80
|
|
3874
|
+
"6xl": r * 12,
|
|
3875
|
+
// 96
|
|
3876
|
+
"7xl": r * 14,
|
|
3877
|
+
// 112
|
|
3878
|
+
"8xl": r * 16,
|
|
3879
|
+
// 128
|
|
3880
|
+
"9xl": r * 18,
|
|
3881
|
+
// 144
|
|
3882
|
+
"10xl": r * 20,
|
|
3883
|
+
// 160
|
|
3872
3884
|
"-xxs": r * -0.25,
|
|
3873
3885
|
// -2
|
|
3874
3886
|
"-xs": r * -0.5,
|
|
@@ -3889,8 +3901,20 @@ const Dl = (r) => ({
|
|
|
3889
3901
|
// -40
|
|
3890
3902
|
"-3xl": r * -6,
|
|
3891
3903
|
// -48
|
|
3892
|
-
"-4xl": r * -8
|
|
3904
|
+
"-4xl": r * -8,
|
|
3893
3905
|
// -64
|
|
3906
|
+
"-5xl": r * -10,
|
|
3907
|
+
// -80
|
|
3908
|
+
"-6xl": r * -12,
|
|
3909
|
+
// -96
|
|
3910
|
+
"-7xl": r * -14,
|
|
3911
|
+
// -112
|
|
3912
|
+
"-8xl": r * -16,
|
|
3913
|
+
// -128
|
|
3914
|
+
"-9xl": r * -18,
|
|
3915
|
+
// -144
|
|
3916
|
+
"-10xl": r * -20
|
|
3917
|
+
// -160
|
|
3894
3918
|
}), mg = (r) => [
|
|
3895
3919
|
"none",
|
|
3896
3920
|
"2xs",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Space = 'none' | '2xs' | 'xs' | 'sm' | 'sm-md' | 'md' | 'md-lg' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '-xxs' | '-xs' | '-sm' | '-sm-md' | '-md' | '-md-lg' | '-lg' | '-xl' | '-2xl' | '-3xl' | '-4xl';
|
|
1
|
+
export type Space = 'none' | '2xs' | 'xs' | 'sm' | 'sm-md' | 'md' | 'md-lg' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl' | '10xl' | '-xxs' | '-xs' | '-sm' | '-sm-md' | '-md' | '-md-lg' | '-lg' | '-xl' | '-2xl' | '-3xl' | '-4xl' | '-5xl' | '-6xl' | '-7xl' | '-8xl' | '-9xl' | '-10xl';
|
|
2
2
|
export type Spaces = Record<Space, number>;
|
|
3
3
|
export declare const getSpaces: (baseSpace: number) => Spaces;
|
|
4
4
|
export declare const isSpace: (key: string) => key is Space;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aic-kits/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"vite-plugin-dts": "^4.3.0",
|
|
52
52
|
"vitest": "^2.1.8"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "6b8c954b853192b5a3c7ecd341d4cf956d17ae63"
|
|
55
55
|
}
|