@aic-kits/react 0.25.0 → 0.26.2
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 +8 -9
- package/dist/index.js +9 -10
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ __p += '`),pe&&(z+=`' +
|
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+z+`return __p
|
|
27
|
-
}`;var se=Zl(function(){return me(h,Q+"return "+z).apply(i,y)});if(se.source=z,ko(se))throw se;return se}function Gg(e){return ye(e).toLowerCase()}function qg(e){return ye(e).toUpperCase()}function Kg(e,t,r){if(e=ye(e),e&&(r||t===i))return Qa(e);if(!e||!(t=st(t)))return e;var a=Pt(e),u=Pt(t),h=Ja(a,u),y=es(a,u)+1;return ln(a,h,y).join("")}function Xg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.slice(0,ns(e)+1);if(!e||!(t=st(t)))return e;var a=Pt(e),u=es(a,Pt(t))+1;return ln(a,0,u).join("")}function Yg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.replace(Ii,"");if(!e||!(t=st(t)))return e;var a=Pt(e),u=Ja(a,Pt(t));return ln(a,u).join("")}function Qg(e,t){var r=ve,a=be;if(Te(t)){var u="separator"in t?t.separator:u;r="length"in t?ae(t.length):r,a="omission"in t?st(t.omission):a}e=ye(e);var h=e.length;if(Rn(e)){var y=Pt(e);h=y.length}if(r>=h)return e;var b=r-Pn(a);if(b<1)return a;var C=y?ln(y,0,b).join(""):e.slice(0,b);if(u===i)return C+a;if(y&&(b+=C.length-b),Fo(u)){if(e.slice(b).search(u)){var I,k=C;for(u.global||(u=Xi(u.source,ye(xa.exec(u))+"g")),u.lastIndex=0;I=u.exec(k);)var z=I.index;C=C.slice(0,z===i?b:z)}}else if(e.indexOf(st(u),b)!=b){var q=C.lastIndexOf(u);q>-1&&(C=C.slice(0,q))}return C+a}function Jg(e){return e=ye(e),e&&cf.test(e)?e.replace(va,T0):e}var e2=zn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Bo=Ns("toUpperCase");function Hl(e,t,r){return e=ye(e),t=r?i:t,t===i?C0(e)?O0(e):p0(e):e.match(t)||[]}var Zl=le(function(e,t){try{return ot(e,i,t)}catch(r){return ko(r)?r:new ie(r)}}),t2=Nt(function(e,t){return mt(t,function(r){r=zt(r),Ht(e,r,Lo(e[r],e))}),e});function n2(e){var t=e==null?0:e.length,r=te();return e=t?Ae(e,function(a){if(typeof a[1]!="function")throw new vt(p);return[r(a[0]),a[1]]}):[],le(function(a){for(var u=-1;++u<t;){var h=e[u];if(ot(h[0],this,a))return ot(h[1],this,a)}})}function r2(e){return Td(bt(e,_))}function jo(e){return function(){return e}}function i2(e,t){return e==null||e!==e?t:e}var o2=Us(),a2=Us(!0);function tt(e){return e}function Wo(e){return _s(typeof e=="function"?e:bt(e,_))}function s2(e){return Ss(bt(e,_))}function l2(e,t){return Es(e,bt(t,_))}var u2=le(function(e,t){return function(r){return nr(r,e,t)}}),c2=le(function(e,t){return function(r){return nr(e,r,t)}});function Do(e,t,r){var a=je(t),u=zr(t,a);r==null&&!(Te(t)&&(u.length||!a.length))&&(r=t,t=e,e=this,u=zr(t,je(t)));var h=!(Te(r)&&"chain"in r)||!!r.chain,y=Ut(e);return mt(u,function(b){var C=t[b];e[b]=C,y&&(e.prototype[b]=function(){var I=this.__chain__;if(h||I){var k=e(this.__wrapped__),z=k.__actions__=Qe(this.__actions__);return z.push({func:C,args:arguments,thisArg:e}),k.__chain__=I,k}return C.apply(e,tn([this.value()],arguments))})}),e}function f2(){return De._===this&&(De._=z0),this}function Ho(){}function d2(e){return e=ae(e),le(function(t){return $s(t,e)})}var h2=bo(Ae),p2=bo(Ga),g2=bo(Zi);function Nl(e){return $o(e)?Ni(zt(e)):Vd(e)}function m2(e){return function(t){return e==null?i:bn(e,t)}}var v2=qs(),y2=qs(!0);function Zo(){return[]}function No(){return!1}function b2(){return{}}function x2(){return""}function w2(){return!0}function _2(e,t){if(e=ae(e),e<1||e>ee)return[];var r=Pe,a=Ze(e,Pe);t=te(t),e-=Pe;for(var u=Gi(a,t);++r<e;)t(r);return u}function C2(e){return oe(e)?Ae(e,zt):lt(e)?[e]:Qe(cl(ye(e)))}function S2(e){var t=++F0;return ye(e)+t}var E2=Zr(function(e,t){return e+t},0),$2=xo("ceil"),A2=Zr(function(e,t){return e/t},1),T2=xo("floor");function R2(e){return e&&e.length?Mr(e,tt,io):i}function P2(e,t){return e&&e.length?Mr(e,te(t,2),io):i}function O2(e){return Xa(e,tt)}function L2(e,t){return Xa(e,te(t,2))}function I2(e){return e&&e.length?Mr(e,tt,lo):i}function k2(e,t){return e&&e.length?Mr(e,te(t,2),lo):i}var F2=Zr(function(e,t){return e*t},1),M2=xo("round"),z2=Zr(function(e,t){return e-t},0);function B2(e){return e&&e.length?Ui(e,tt):0}function j2(e,t){return e&&e.length?Ui(e,te(t,2)):0}return f.after=sp,f.ary=wl,f.assign=qp,f.assignIn=Fl,f.assignInWith=ni,f.assignWith=Kp,f.at=Xp,f.before=_l,f.bind=Lo,f.bindAll=t2,f.bindKey=Cl,f.castArray=bp,f.chain=yl,f.chunk=T1,f.compact=R1,f.concat=P1,f.cond=n2,f.conforms=r2,f.constant=jo,f.countBy=Bh,f.create=Yp,f.curry=Sl,f.curryRight=El,f.debounce=$l,f.defaults=Qp,f.defaultsDeep=Jp,f.defer=lp,f.delay=up,f.difference=O1,f.differenceBy=L1,f.differenceWith=I1,f.drop=k1,f.dropRight=F1,f.dropRightWhile=M1,f.dropWhile=z1,f.fill=B1,f.filter=Wh,f.flatMap=Zh,f.flatMapDeep=Nh,f.flatMapDepth=Vh,f.flatten=pl,f.flattenDeep=j1,f.flattenDepth=W1,f.flip=cp,f.flow=o2,f.flowRight=a2,f.fromPairs=D1,f.functions=ag,f.functionsIn=sg,f.groupBy=Uh,f.initial=Z1,f.intersection=N1,f.intersectionBy=V1,f.intersectionWith=U1,f.invert=ug,f.invertBy=cg,f.invokeMap=qh,f.iteratee=Wo,f.keyBy=Kh,f.keys=je,f.keysIn=et,f.map=Xr,f.mapKeys=dg,f.mapValues=hg,f.matches=s2,f.matchesProperty=l2,f.memoize=Qr,f.merge=pg,f.mergeWith=Ml,f.method=u2,f.methodOf=c2,f.mixin=Do,f.negate=Jr,f.nthArg=d2,f.omit=gg,f.omitBy=mg,f.once=fp,f.orderBy=Xh,f.over=h2,f.overArgs=dp,f.overEvery=p2,f.overSome=g2,f.partial=Io,f.partialRight=Al,f.partition=Yh,f.pick=vg,f.pickBy=zl,f.property=Nl,f.propertyOf=m2,f.pull=X1,f.pullAll=ml,f.pullAllBy=Y1,f.pullAllWith=Q1,f.pullAt=J1,f.range=v2,f.rangeRight=y2,f.rearg=hp,f.reject=ep,f.remove=eh,f.rest=pp,f.reverse=Po,f.sampleSize=np,f.set=bg,f.setWith=xg,f.shuffle=rp,f.slice=th,f.sortBy=ap,f.sortedUniq=lh,f.sortedUniqBy=uh,f.split=Zg,f.spread=gp,f.tail=ch,f.take=fh,f.takeRight=dh,f.takeRightWhile=hh,f.takeWhile=ph,f.tap=Rh,f.throttle=mp,f.thru=Kr,f.toArray=Ll,f.toPairs=Bl,f.toPairsIn=jl,f.toPath=C2,f.toPlainObject=kl,f.transform=wg,f.unary=vp,f.union=gh,f.unionBy=mh,f.unionWith=vh,f.uniq=yh,f.uniqBy=bh,f.uniqWith=xh,f.unset=_g,f.unzip=Oo,f.unzipWith=vl,f.update=Cg,f.updateWith=Sg,f.values=Wn,f.valuesIn=Eg,f.without=wh,f.words=Hl,f.wrap=yp,f.xor=_h,f.xorBy=Ch,f.xorWith=Sh,f.zip=Eh,f.zipObject=$h,f.zipObjectDeep=Ah,f.zipWith=Th,f.entries=Bl,f.entriesIn=jl,f.extend=Fl,f.extendWith=ni,Do(f,f),f.add=E2,f.attempt=Zl,f.camelCase=Rg,f.capitalize=Wl,f.ceil=$2,f.clamp=$g,f.clone=xp,f.cloneDeep=_p,f.cloneDeepWith=Cp,f.cloneWith=wp,f.conformsTo=Sp,f.deburr=Dl,f.defaultTo=i2,f.divide=A2,f.endsWith=Pg,f.eq=Lt,f.escape=Og,f.escapeRegExp=Lg,f.every=jh,f.find=Dh,f.findIndex=dl,f.findKey=eg,f.findLast=Hh,f.findLastIndex=hl,f.findLastKey=tg,f.floor=T2,f.forEach=bl,f.forEachRight=xl,f.forIn=ng,f.forInRight=rg,f.forOwn=ig,f.forOwnRight=og,f.get=Mo,f.gt=Ep,f.gte=$p,f.has=lg,f.hasIn=zo,f.head=gl,f.identity=tt,f.includes=Gh,f.indexOf=H1,f.inRange=Ag,f.invoke=fg,f.isArguments=_n,f.isArray=oe,f.isArrayBuffer=Ap,f.isArrayLike=Je,f.isArrayLikeObject=Le,f.isBoolean=Tp,f.isBuffer=un,f.isDate=Rp,f.isElement=Pp,f.isEmpty=Op,f.isEqual=Lp,f.isEqualWith=Ip,f.isError=ko,f.isFinite=kp,f.isFunction=Ut,f.isInteger=Tl,f.isLength=ei,f.isMap=Rl,f.isMatch=Fp,f.isMatchWith=Mp,f.isNaN=zp,f.isNative=Bp,f.isNil=Wp,f.isNull=jp,f.isNumber=Pl,f.isObject=Te,f.isObjectLike=Re,f.isPlainObject=lr,f.isRegExp=Fo,f.isSafeInteger=Dp,f.isSet=Ol,f.isString=ti,f.isSymbol=lt,f.isTypedArray=jn,f.isUndefined=Hp,f.isWeakMap=Zp,f.isWeakSet=Np,f.join=G1,f.kebabCase=Ig,f.last=wt,f.lastIndexOf=q1,f.lowerCase=kg,f.lowerFirst=Fg,f.lt=Vp,f.lte=Up,f.max=R2,f.maxBy=P2,f.mean=O2,f.meanBy=L2,f.min=I2,f.minBy=k2,f.stubArray=Zo,f.stubFalse=No,f.stubObject=b2,f.stubString=x2,f.stubTrue=w2,f.multiply=F2,f.nth=K1,f.noConflict=f2,f.noop=Ho,f.now=Yr,f.pad=Mg,f.padEnd=zg,f.padStart=Bg,f.parseInt=jg,f.random=Tg,f.reduce=Qh,f.reduceRight=Jh,f.repeat=Wg,f.replace=Dg,f.result=yg,f.round=M2,f.runInContext=w,f.sample=tp,f.size=ip,f.snakeCase=Hg,f.some=op,f.sortedIndex=nh,f.sortedIndexBy=rh,f.sortedIndexOf=ih,f.sortedLastIndex=oh,f.sortedLastIndexBy=ah,f.sortedLastIndexOf=sh,f.startCase=Ng,f.startsWith=Vg,f.subtract=z2,f.sum=B2,f.sumBy=j2,f.template=Ug,f.times=_2,f.toFinite=Gt,f.toInteger=ae,f.toLength=Il,f.toLower=Gg,f.toNumber=_t,f.toSafeInteger=Gp,f.toString=ye,f.toUpper=qg,f.trim=Kg,f.trimEnd=Xg,f.trimStart=Yg,f.truncate=Qg,f.unescape=Jg,f.uniqueId=S2,f.upperCase=e2,f.upperFirst=Bo,f.each=bl,f.eachRight=xl,f.first=gl,Do(f,function(){var e={};return Ft(f,function(t,r){xe.call(f.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),f.VERSION=s,mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),mt(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===i?1:Be(ae(r),0);var a=this.__filtered__&&!t?new fe(this):this.clone();return a.__filtered__?a.__takeCount__=Ze(r,a.__takeCount__):a.__views__.push({size:Ze(r,Pe),type:e+(a.__dir__<0?"Right":"")}),a},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),mt(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==Z||r==G;fe.prototype[e]=function(u){var h=this.clone();return h.__iteratees__.push({iteratee:te(u,3),type:r}),h.__filtered__=h.__filtered__||a,h}}),mt(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}}),mt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}}),fe.prototype.compact=function(){return this.filter(tt)},fe.prototype.find=function(e){return this.filter(e).head()},fe.prototype.findLast=function(e){return this.reverse().find(e)},fe.prototype.invokeMap=le(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return nr(r,e,t)})}),fe.prototype.reject=function(e){return this.filter(Jr(te(e)))},fe.prototype.slice=function(e,t){e=ae(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(t=ae(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fe.prototype.toArray=function(){return this.take(Pe)},Ft(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),u=f[a?"take"+(t=="last"?"Right":""):t],h=a||/^find/.test(t);u&&(f.prototype[t]=function(){var y=this.__wrapped__,b=a?[1]:arguments,C=y instanceof fe,I=b[0],k=C||oe(y),z=function(ue){var pe=u.apply(f,tn([ue],b));return a&&q?pe[0]:pe};k&&r&&typeof I=="function"&&I.length!=1&&(C=k=!1);var q=this.__chain__,Q=!!this.__actions__.length,ne=h&&!q,se=C&&!Q;if(!h&&k){y=se?y:new fe(this);var re=e.apply(y,b);return re.__actions__.push({func:Kr,args:[z],thisArg:i}),new yt(re,q)}return ne&&se?e.apply(this,b):(re=this.thru(z),ne?a?re.value()[0]:re.value():re)})}),mt(["pop","push","shift","sort","splice","unshift"],function(e){var t=wr[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var u=arguments;if(a&&!this.__chain__){var h=this.value();return t.apply(oe(h)?h:[],u)}return this[r](function(y){return t.apply(oe(y)?y:[],u)})}}),Ft(fe.prototype,function(e,t){var r=f[t];if(r){var a=r.name+"";xe.call(kn,a)||(kn[a]=[]),kn[a].push({name:t,func:r})}}),kn[Hr(i,N).name]=[{name:"wrapper",func:i}],fe.prototype.clone=J0,fe.prototype.reverse=ed,fe.prototype.value=td,f.prototype.at=Ph,f.prototype.chain=Oh,f.prototype.commit=Lh,f.prototype.next=Ih,f.prototype.plant=Fh,f.prototype.reverse=Mh,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zh,f.prototype.first=f.prototype.head,Kn&&(f.prototype[Kn]=kh),f},On=L0();pn?((pn.exports=On)._=On,ji._=On):De._=On}).call(D2)}(cr,cr.exports)),cr.exports}var ge=H2();const Yo=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),Qo=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),Z2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ou=n=>["none","xs","sm","md","lg","xl","full"].includes(n),gi={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"},Lu=n=>n in gi,Iu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},N2=n=>["primary","secondary","success","danger","warning","info"].includes(n),V2=1,U2=8,G2=8,q2="Inter",K2="Sora",X2=10,Y2=4,Xt={borderWidth:V2,space:U2,size:G2,font:{neutral:q2,heading:K2},fontSize:X2,radius:Y2},ku=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),Q2=n=>["none","sm","md","lg"].includes(n),Jo=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Vn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),ea=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Fu=n=>["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(n),ta=({neutral:n,heading:o})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${o}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),mi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),na=n=>{const o=mi(n),i=1.4;return{"2xs":o["2xs"]*i,xs:o.xs*i,small:o.small*i,medium:o.medium*i,large:o.large*i,xl:o.xl*i,"2xl":o["2xl"]*i,"3xl":o["3xl"]*i,"4xl":o["4xl"]*i,"5xl":o["5xl"]*i,"6xl":o["6xl"]*i}},ra=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),J2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),em=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n),tm=(n=Xt,o=gi,i=Iu)=>{const s=ta(n.font),l=mi(n.fontSize),c=na(n.fontSize),p=ra(),g=Yo(n.borderWidth),m=ea(n.space),v=Jo(n.size),S=Qo(n.radius),_=ku(o);return{colors:o,gradientColors:i,fonts:s,fontSizes:l,lineHeights:c,fontWeights:p,borderWidths:g,spaces:m,sizes:v,radii:S,shadows:_}},Mu=n=>({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"}}),zu=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Bu=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),ju=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Wu=n=>({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"}}}),Du=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Hu=n=>({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"}}),Zu=n=>({defaultColor:"grey300",defaultThickness:1}),Nu=n=>({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:"medium",color:"black",backgroundColor:"white"},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",zIndex:100,defaultMaxHeight:300}}),Vu=n=>{const o="grey300",i="danger",s="primary",l="grey100",c="grey300",p="grey500",g="white",m="grey900",v="thin",S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:m,disabledTextColor:p,disabledBorderColor:c,focusColor:s,errorColor:i,states:{default:{borderColor:o,backgroundColor:g,boxShadow:"none"},focused:{borderColor:s,backgroundColor:g,boxShadow:S},error:{borderColor:i,backgroundColor:g,boxShadow:_},disabled:{borderColor:c,backgroundColor:l,boxShadow:"none"}}}},Uu=n=>({defaultGap:"sm",defaultPadding:"none"}),Gu=n=>({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}}),qu=n=>({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"}}}}}),Ku=n=>({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"}}}),Xu=n=>{const o="grey300",i="danger",s="grey300",l="grey100",c="grey400",p="grey100",g="grey200",m="white",v="transparent",S="thin",_="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:c,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:c,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:v,borderColor:o,borderWidth:S},hover:{backgroundColor:"grey100",borderColor:o,borderWidth:S},focused:{backgroundColor:v,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:v,borderColor:s,borderWidth:S},errored:{backgroundColor:v,borderColor:i,borderWidth:S}},filled:{default:{backgroundColor:p,borderColor:v,borderWidth:S},hover:{backgroundColor:g,borderColor:v,borderWidth:S},focused:{backgroundColor:m,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:l,borderColor:v,borderWidth:S},errored:{backgroundColor:m,borderColor:i,borderWidth:S}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:m,borderColor:o,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Yu=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Qu=n=>({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"}}}),Ju=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),ec=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),tc=n=>({art:zu(),base:ju(),button:Wu(),divider:Zu(),header:Nu(),input:Vu(n),list:Uu(),loading:Gu(),pagination:qu(),skeleton:Yu(),touchable:Ju(),vimeo:ec(),carousel:Du(),accordion:Mu(),tag:Qu(),checkbox:Hu(),select:Xu(),progress:Ku(),avatar:Bu()}),nm=ea(Xt.space),rm=Jo(Xt.size),im=Yo(Xt.borderWidth),om=Qo(Xt.radius),am=mi(Xt.fontSize),sm=na(Xt.fontSize),lm=ra(),Gl=ta(Xt.font),um={spaces:nm,sizes:rm,colors:gi,radii:om,borderWidths:im,fonts:Gl,__hd__:{text:{fontSizes:am,lineHeights:sm,fontWeights:lm,fonts:Gl}}};function nc(){const n=um,o=tc(n);return{...n,__hd__:{...n.__hd__,...o}}}const ai=nc(),de=cn.styled,ia=cn.keyframes,Ye=cn.css,rc=(n,o)=>!["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(n),cm=n=>typeof n=="function"?n(ai):n?{...ai,...n}:ai,fm=({theme:n,children:o})=>{const i=cm(n);return x.jsx(cn.StyleSheetManager,{shouldForwardProp:rc,children:x.jsx(cn.ThemeProvider,{theme:i,children:o})})},ce=cn.useTheme,dt=()=>typeof document>"u",pr={xs:0,sm:600,md:900,lg:1200,xl:1536},fr=Object.keys(pr),vi=n=>ge.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),ft=(n,o)=>vi(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,o(s)])):o(n),Go=n=>ge.reduce(n,(o,i,s)=>(ge.forEach(i,(l,c)=>{ge.has(o,c)||ge.set(o,c,{}),ge.set(o,[c,s],l)}),o),{}),ic=(n,o)=>{const i=Object.fromEntries(Object.keys(n).map(g=>[g,oa(n[g])])),s=Go(i),l=Object.fromEntries(fr.map(g=>[g,o(s[g])])),c=Go(l);return Object.fromEntries(Object.entries(c).map(([g,m])=>[g,ac(m)]))},oc=(n,o)=>{if(!vi(n))return n;switch(o){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},oa=n=>Object.fromEntries(Object.keys(pr).map(o=>[o,oc(n,o)])),ac=n=>{let o=n.xs;const i={xs:o};for(let s=1;s<fr.length;s++){const l=fr[s],c=n[l];ge.isEqual(c,o)||(i[l]=c,o=c)}return Object.keys(i).length===1?i.xs:i},aa=n=>{const[o,i]=ge.partition(Object.entries(n),([c,p])=>vi(p)),s=Object.fromEntries(o.map(([c,p])=>[c,oa(p)])),l=ge.compact(fr.map(c=>{const p=Object.fromEntries(Object.keys(s).map(m=>[m,s[m][c]]));if(c==="xs"){const m={...Object.fromEntries(i),...p};return ge.isEmpty(m)?null:Ye(m)}if(ge.isEmpty(p))return null;const g=`(min-width: ${pr[c]}px)`;return Ye`
|
|
27
|
+
}`;var se=Zl(function(){return me(h,Q+"return "+z).apply(i,y)});if(se.source=z,ko(se))throw se;return se}function Gg(e){return ye(e).toLowerCase()}function qg(e){return ye(e).toUpperCase()}function Kg(e,t,r){if(e=ye(e),e&&(r||t===i))return Qa(e);if(!e||!(t=st(t)))return e;var a=Pt(e),u=Pt(t),h=Ja(a,u),y=es(a,u)+1;return ln(a,h,y).join("")}function Xg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.slice(0,ns(e)+1);if(!e||!(t=st(t)))return e;var a=Pt(e),u=es(a,Pt(t))+1;return ln(a,0,u).join("")}function Yg(e,t,r){if(e=ye(e),e&&(r||t===i))return e.replace(Ii,"");if(!e||!(t=st(t)))return e;var a=Pt(e),u=Ja(a,Pt(t));return ln(a,u).join("")}function Qg(e,t){var r=ve,a=be;if(Te(t)){var u="separator"in t?t.separator:u;r="length"in t?ae(t.length):r,a="omission"in t?st(t.omission):a}e=ye(e);var h=e.length;if(Rn(e)){var y=Pt(e);h=y.length}if(r>=h)return e;var b=r-Pn(a);if(b<1)return a;var C=y?ln(y,0,b).join(""):e.slice(0,b);if(u===i)return C+a;if(y&&(b+=C.length-b),Fo(u)){if(e.slice(b).search(u)){var I,k=C;for(u.global||(u=Xi(u.source,ye(xa.exec(u))+"g")),u.lastIndex=0;I=u.exec(k);)var z=I.index;C=C.slice(0,z===i?b:z)}}else if(e.indexOf(st(u),b)!=b){var q=C.lastIndexOf(u);q>-1&&(C=C.slice(0,q))}return C+a}function Jg(e){return e=ye(e),e&&cf.test(e)?e.replace(va,T0):e}var e2=zn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Bo=Ns("toUpperCase");function Hl(e,t,r){return e=ye(e),t=r?i:t,t===i?C0(e)?O0(e):p0(e):e.match(t)||[]}var Zl=le(function(e,t){try{return ot(e,i,t)}catch(r){return ko(r)?r:new ie(r)}}),t2=Nt(function(e,t){return mt(t,function(r){r=zt(r),Ht(e,r,Lo(e[r],e))}),e});function n2(e){var t=e==null?0:e.length,r=te();return e=t?Ae(e,function(a){if(typeof a[1]!="function")throw new vt(p);return[r(a[0]),a[1]]}):[],le(function(a){for(var u=-1;++u<t;){var h=e[u];if(ot(h[0],this,a))return ot(h[1],this,a)}})}function r2(e){return Td(bt(e,_))}function jo(e){return function(){return e}}function i2(e,t){return e==null||e!==e?t:e}var o2=Us(),a2=Us(!0);function tt(e){return e}function Wo(e){return _s(typeof e=="function"?e:bt(e,_))}function s2(e){return Ss(bt(e,_))}function l2(e,t){return Es(e,bt(t,_))}var u2=le(function(e,t){return function(r){return nr(r,e,t)}}),c2=le(function(e,t){return function(r){return nr(e,r,t)}});function Do(e,t,r){var a=je(t),u=zr(t,a);r==null&&!(Te(t)&&(u.length||!a.length))&&(r=t,t=e,e=this,u=zr(t,je(t)));var h=!(Te(r)&&"chain"in r)||!!r.chain,y=Ut(e);return mt(u,function(b){var C=t[b];e[b]=C,y&&(e.prototype[b]=function(){var I=this.__chain__;if(h||I){var k=e(this.__wrapped__),z=k.__actions__=Qe(this.__actions__);return z.push({func:C,args:arguments,thisArg:e}),k.__chain__=I,k}return C.apply(e,tn([this.value()],arguments))})}),e}function f2(){return De._===this&&(De._=z0),this}function Ho(){}function d2(e){return e=ae(e),le(function(t){return $s(t,e)})}var h2=bo(Ae),p2=bo(Ga),g2=bo(Zi);function Nl(e){return $o(e)?Ni(zt(e)):Vd(e)}function m2(e){return function(t){return e==null?i:bn(e,t)}}var v2=qs(),y2=qs(!0);function Zo(){return[]}function No(){return!1}function b2(){return{}}function x2(){return""}function w2(){return!0}function _2(e,t){if(e=ae(e),e<1||e>ee)return[];var r=Pe,a=Ze(e,Pe);t=te(t),e-=Pe;for(var u=Gi(a,t);++r<e;)t(r);return u}function C2(e){return oe(e)?Ae(e,zt):lt(e)?[e]:Qe(cl(ye(e)))}function S2(e){var t=++F0;return ye(e)+t}var E2=Zr(function(e,t){return e+t},0),$2=xo("ceil"),A2=Zr(function(e,t){return e/t},1),T2=xo("floor");function R2(e){return e&&e.length?Mr(e,tt,io):i}function P2(e,t){return e&&e.length?Mr(e,te(t,2),io):i}function O2(e){return Xa(e,tt)}function L2(e,t){return Xa(e,te(t,2))}function I2(e){return e&&e.length?Mr(e,tt,lo):i}function k2(e,t){return e&&e.length?Mr(e,te(t,2),lo):i}var F2=Zr(function(e,t){return e*t},1),M2=xo("round"),z2=Zr(function(e,t){return e-t},0);function B2(e){return e&&e.length?Ui(e,tt):0}function j2(e,t){return e&&e.length?Ui(e,te(t,2)):0}return f.after=sp,f.ary=wl,f.assign=qp,f.assignIn=Fl,f.assignInWith=ni,f.assignWith=Kp,f.at=Xp,f.before=_l,f.bind=Lo,f.bindAll=t2,f.bindKey=Cl,f.castArray=bp,f.chain=yl,f.chunk=T1,f.compact=R1,f.concat=P1,f.cond=n2,f.conforms=r2,f.constant=jo,f.countBy=Bh,f.create=Yp,f.curry=Sl,f.curryRight=El,f.debounce=$l,f.defaults=Qp,f.defaultsDeep=Jp,f.defer=lp,f.delay=up,f.difference=O1,f.differenceBy=L1,f.differenceWith=I1,f.drop=k1,f.dropRight=F1,f.dropRightWhile=M1,f.dropWhile=z1,f.fill=B1,f.filter=Wh,f.flatMap=Zh,f.flatMapDeep=Nh,f.flatMapDepth=Vh,f.flatten=pl,f.flattenDeep=j1,f.flattenDepth=W1,f.flip=cp,f.flow=o2,f.flowRight=a2,f.fromPairs=D1,f.functions=ag,f.functionsIn=sg,f.groupBy=Uh,f.initial=Z1,f.intersection=N1,f.intersectionBy=V1,f.intersectionWith=U1,f.invert=ug,f.invertBy=cg,f.invokeMap=qh,f.iteratee=Wo,f.keyBy=Kh,f.keys=je,f.keysIn=et,f.map=Xr,f.mapKeys=dg,f.mapValues=hg,f.matches=s2,f.matchesProperty=l2,f.memoize=Qr,f.merge=pg,f.mergeWith=Ml,f.method=u2,f.methodOf=c2,f.mixin=Do,f.negate=Jr,f.nthArg=d2,f.omit=gg,f.omitBy=mg,f.once=fp,f.orderBy=Xh,f.over=h2,f.overArgs=dp,f.overEvery=p2,f.overSome=g2,f.partial=Io,f.partialRight=Al,f.partition=Yh,f.pick=vg,f.pickBy=zl,f.property=Nl,f.propertyOf=m2,f.pull=X1,f.pullAll=ml,f.pullAllBy=Y1,f.pullAllWith=Q1,f.pullAt=J1,f.range=v2,f.rangeRight=y2,f.rearg=hp,f.reject=ep,f.remove=eh,f.rest=pp,f.reverse=Po,f.sampleSize=np,f.set=bg,f.setWith=xg,f.shuffle=rp,f.slice=th,f.sortBy=ap,f.sortedUniq=lh,f.sortedUniqBy=uh,f.split=Zg,f.spread=gp,f.tail=ch,f.take=fh,f.takeRight=dh,f.takeRightWhile=hh,f.takeWhile=ph,f.tap=Rh,f.throttle=mp,f.thru=Kr,f.toArray=Ll,f.toPairs=Bl,f.toPairsIn=jl,f.toPath=C2,f.toPlainObject=kl,f.transform=wg,f.unary=vp,f.union=gh,f.unionBy=mh,f.unionWith=vh,f.uniq=yh,f.uniqBy=bh,f.uniqWith=xh,f.unset=_g,f.unzip=Oo,f.unzipWith=vl,f.update=Cg,f.updateWith=Sg,f.values=Wn,f.valuesIn=Eg,f.without=wh,f.words=Hl,f.wrap=yp,f.xor=_h,f.xorBy=Ch,f.xorWith=Sh,f.zip=Eh,f.zipObject=$h,f.zipObjectDeep=Ah,f.zipWith=Th,f.entries=Bl,f.entriesIn=jl,f.extend=Fl,f.extendWith=ni,Do(f,f),f.add=E2,f.attempt=Zl,f.camelCase=Rg,f.capitalize=Wl,f.ceil=$2,f.clamp=$g,f.clone=xp,f.cloneDeep=_p,f.cloneDeepWith=Cp,f.cloneWith=wp,f.conformsTo=Sp,f.deburr=Dl,f.defaultTo=i2,f.divide=A2,f.endsWith=Pg,f.eq=Lt,f.escape=Og,f.escapeRegExp=Lg,f.every=jh,f.find=Dh,f.findIndex=dl,f.findKey=eg,f.findLast=Hh,f.findLastIndex=hl,f.findLastKey=tg,f.floor=T2,f.forEach=bl,f.forEachRight=xl,f.forIn=ng,f.forInRight=rg,f.forOwn=ig,f.forOwnRight=og,f.get=Mo,f.gt=Ep,f.gte=$p,f.has=lg,f.hasIn=zo,f.head=gl,f.identity=tt,f.includes=Gh,f.indexOf=H1,f.inRange=Ag,f.invoke=fg,f.isArguments=_n,f.isArray=oe,f.isArrayBuffer=Ap,f.isArrayLike=Je,f.isArrayLikeObject=Le,f.isBoolean=Tp,f.isBuffer=un,f.isDate=Rp,f.isElement=Pp,f.isEmpty=Op,f.isEqual=Lp,f.isEqualWith=Ip,f.isError=ko,f.isFinite=kp,f.isFunction=Ut,f.isInteger=Tl,f.isLength=ei,f.isMap=Rl,f.isMatch=Fp,f.isMatchWith=Mp,f.isNaN=zp,f.isNative=Bp,f.isNil=Wp,f.isNull=jp,f.isNumber=Pl,f.isObject=Te,f.isObjectLike=Re,f.isPlainObject=lr,f.isRegExp=Fo,f.isSafeInteger=Dp,f.isSet=Ol,f.isString=ti,f.isSymbol=lt,f.isTypedArray=jn,f.isUndefined=Hp,f.isWeakMap=Zp,f.isWeakSet=Np,f.join=G1,f.kebabCase=Ig,f.last=wt,f.lastIndexOf=q1,f.lowerCase=kg,f.lowerFirst=Fg,f.lt=Vp,f.lte=Up,f.max=R2,f.maxBy=P2,f.mean=O2,f.meanBy=L2,f.min=I2,f.minBy=k2,f.stubArray=Zo,f.stubFalse=No,f.stubObject=b2,f.stubString=x2,f.stubTrue=w2,f.multiply=F2,f.nth=K1,f.noConflict=f2,f.noop=Ho,f.now=Yr,f.pad=Mg,f.padEnd=zg,f.padStart=Bg,f.parseInt=jg,f.random=Tg,f.reduce=Qh,f.reduceRight=Jh,f.repeat=Wg,f.replace=Dg,f.result=yg,f.round=M2,f.runInContext=w,f.sample=tp,f.size=ip,f.snakeCase=Hg,f.some=op,f.sortedIndex=nh,f.sortedIndexBy=rh,f.sortedIndexOf=ih,f.sortedLastIndex=oh,f.sortedLastIndexBy=ah,f.sortedLastIndexOf=sh,f.startCase=Ng,f.startsWith=Vg,f.subtract=z2,f.sum=B2,f.sumBy=j2,f.template=Ug,f.times=_2,f.toFinite=Gt,f.toInteger=ae,f.toLength=Il,f.toLower=Gg,f.toNumber=_t,f.toSafeInteger=Gp,f.toString=ye,f.toUpper=qg,f.trim=Kg,f.trimEnd=Xg,f.trimStart=Yg,f.truncate=Qg,f.unescape=Jg,f.uniqueId=S2,f.upperCase=e2,f.upperFirst=Bo,f.each=bl,f.eachRight=xl,f.first=gl,Do(f,function(){var e={};return Ft(f,function(t,r){xe.call(f.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),f.VERSION=s,mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){f[e].placeholder=f}),mt(["drop","take"],function(e,t){fe.prototype[e]=function(r){r=r===i?1:Be(ae(r),0);var a=this.__filtered__&&!t?new fe(this):this.clone();return a.__filtered__?a.__takeCount__=Ze(r,a.__takeCount__):a.__views__.push({size:Ze(r,Pe),type:e+(a.__dir__<0?"Right":"")}),a},fe.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),mt(["filter","map","takeWhile"],function(e,t){var r=t+1,a=r==Z||r==G;fe.prototype[e]=function(u){var h=this.clone();return h.__iteratees__.push({iteratee:te(u,3),type:r}),h.__filtered__=h.__filtered__||a,h}}),mt(["head","last"],function(e,t){var r="take"+(t?"Right":"");fe.prototype[e]=function(){return this[r](1).value()[0]}}),mt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");fe.prototype[e]=function(){return this.__filtered__?new fe(this):this[r](1)}}),fe.prototype.compact=function(){return this.filter(tt)},fe.prototype.find=function(e){return this.filter(e).head()},fe.prototype.findLast=function(e){return this.reverse().find(e)},fe.prototype.invokeMap=le(function(e,t){return typeof e=="function"?new fe(this):this.map(function(r){return nr(r,e,t)})}),fe.prototype.reject=function(e){return this.filter(Jr(te(e)))},fe.prototype.slice=function(e,t){e=ae(e);var r=this;return r.__filtered__&&(e>0||t<0)?new fe(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(t=ae(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},fe.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fe.prototype.toArray=function(){return this.take(Pe)},Ft(fe.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),u=f[a?"take"+(t=="last"?"Right":""):t],h=a||/^find/.test(t);u&&(f.prototype[t]=function(){var y=this.__wrapped__,b=a?[1]:arguments,C=y instanceof fe,I=b[0],k=C||oe(y),z=function(ue){var pe=u.apply(f,tn([ue],b));return a&&q?pe[0]:pe};k&&r&&typeof I=="function"&&I.length!=1&&(C=k=!1);var q=this.__chain__,Q=!!this.__actions__.length,ne=h&&!q,se=C&&!Q;if(!h&&k){y=se?y:new fe(this);var re=e.apply(y,b);return re.__actions__.push({func:Kr,args:[z],thisArg:i}),new yt(re,q)}return ne&&se?e.apply(this,b):(re=this.thru(z),ne?a?re.value()[0]:re.value():re)})}),mt(["pop","push","shift","sort","splice","unshift"],function(e){var t=wr[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);f.prototype[e]=function(){var u=arguments;if(a&&!this.__chain__){var h=this.value();return t.apply(oe(h)?h:[],u)}return this[r](function(y){return t.apply(oe(y)?y:[],u)})}}),Ft(fe.prototype,function(e,t){var r=f[t];if(r){var a=r.name+"";xe.call(kn,a)||(kn[a]=[]),kn[a].push({name:t,func:r})}}),kn[Hr(i,N).name]=[{name:"wrapper",func:i}],fe.prototype.clone=J0,fe.prototype.reverse=ed,fe.prototype.value=td,f.prototype.at=Ph,f.prototype.chain=Oh,f.prototype.commit=Lh,f.prototype.next=Ih,f.prototype.plant=Fh,f.prototype.reverse=Mh,f.prototype.toJSON=f.prototype.valueOf=f.prototype.value=zh,f.prototype.first=f.prototype.head,Kn&&(f.prototype[Kn]=kh),f},On=L0();pn?((pn.exports=On)._=On,ji._=On):De._=On}).call(D2)}(cr,cr.exports)),cr.exports}var ge=H2();const Yo=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),Qo=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),Z2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ou=n=>["none","xs","sm","md","lg","xl","full"].includes(n),gi={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"},Lu=n=>n in gi,Iu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},N2=n=>["primary","secondary","success","danger","warning","info"].includes(n),V2=1,U2=8,G2=8,q2="Inter",K2="Sora",X2=10,Y2=4,Xt={borderWidth:V2,space:U2,size:G2,font:{neutral:q2,heading:K2},fontSize:X2,radius:Y2},ku=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),Q2=n=>["none","sm","md","lg"].includes(n),Jo=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Vn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),ea=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Fu=n=>["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(n),ta=({neutral:n,heading:o})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${o}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),mi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),na=n=>{const o=mi(n),i=1.4;return{"2xs":o["2xs"]*i,xs:o.xs*i,small:o.small*i,medium:o.medium*i,large:o.large*i,xl:o.xl*i,"2xl":o["2xl"]*i,"3xl":o["3xl"]*i,"4xl":o["4xl"]*i,"5xl":o["5xl"]*i,"6xl":o["6xl"]*i}},ra=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),J2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),em=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n),tm=(n=Xt,o=gi,i=Iu)=>{const s=ta(n.font),l=mi(n.fontSize),c=na(n.fontSize),p=ra(),g=Yo(n.borderWidth),m=ea(n.space),v=Jo(n.size),S=Qo(n.radius),_=ku(o);return{colors:o,gradientColors:i,fonts:s,fontSizes:l,lineHeights:c,fontWeights:p,borderWidths:g,spaces:m,sizes:v,radii:S,shadows:_}},Mu=n=>({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"}}),zu=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Bu=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),ju=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Wu=n=>({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"}}}),Du=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Hu=n=>({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"}}),Zu=n=>({defaultColor:"grey300",defaultThickness:1}),Nu=n=>({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:"medium",color:"black",backgroundColor:"white"},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:24,backgroundColor:"white",zIndex:100,defaultMaxHeight:300}}),Vu=n=>{const o="grey300",i="danger",s="primary",l="grey100",c="grey300",p="grey500",g="white",m="grey900",v="thin",S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:m,disabledTextColor:p,disabledBorderColor:c,focusColor:s,errorColor:i,states:{default:{borderColor:o,backgroundColor:g,boxShadow:"none"},focused:{borderColor:s,backgroundColor:g,boxShadow:S},error:{borderColor:i,backgroundColor:g,boxShadow:_},disabled:{borderColor:c,backgroundColor:l,boxShadow:"none"}}}},Uu=n=>({defaultGap:"sm",defaultPadding:"none"}),Gu=n=>({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}}),qu=n=>({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"}}}}}),Ku=n=>({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"}}}),Xu=n=>{const o="grey300",i="danger",s="grey300",l="grey100",c="grey400",p="grey100",g="grey200",m="white",v="transparent",S="thin",_="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:c,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:c,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:v,borderColor:o,borderWidth:S},hover:{backgroundColor:"grey100",borderColor:o,borderWidth:S},focused:{backgroundColor:v,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:v,borderColor:s,borderWidth:S},errored:{backgroundColor:v,borderColor:i,borderWidth:S}},filled:{default:{backgroundColor:p,borderColor:v,borderWidth:S},hover:{backgroundColor:g,borderColor:v,borderWidth:S},focused:{backgroundColor:m,borderColor:"primary",borderWidth:_},disabled:{backgroundColor:l,borderColor:v,borderWidth:S},errored:{backgroundColor:m,borderColor:i,borderWidth:S}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:m,borderColor:o,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Yu=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Qu=n=>({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"}}}),Ju=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),ec=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),tc=n=>({art:zu(),base:ju(),button:Wu(),divider:Zu(),header:Nu(),input:Vu(n),list:Uu(),loading:Gu(),pagination:qu(),skeleton:Yu(),touchable:Ju(),vimeo:ec(),carousel:Du(),accordion:Mu(),tag:Qu(),checkbox:Hu(),select:Xu(),progress:Ku(),avatar:Bu()}),nm=ea(Xt.space),rm=Jo(Xt.size),im=Yo(Xt.borderWidth),om=Qo(Xt.radius),am=mi(Xt.fontSize),sm=na(Xt.fontSize),lm=ra(),Gl=ta(Xt.font),um={spaces:nm,sizes:rm,colors:gi,radii:om,borderWidths:im,fonts:Gl,__hd__:{text:{fontSizes:am,lineHeights:sm,fontWeights:lm,fonts:Gl}}};function nc(){const n=um,o=tc(n);return{...n,__hd__:{...n.__hd__,...o}}}const ai=nc(),de=cn.styled,ia=cn.keyframes,Ye=cn.css,rc=(n,o)=>!["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(n),cm=n=>typeof n=="function"?n(ai):n?{...ai,...n}:ai,fm=({theme:n,children:o})=>{const i=cm(n);return x.jsx(cn.StyleSheetManager,{shouldForwardProp:rc,children:x.jsx(cn.ThemeProvider,{theme:i,children:o})})},ce=cn.useTheme,dt=()=>typeof document>"u",pr={xs:0,sm:600,md:900,lg:1200,xl:1536},fr=Object.keys(pr),vi=n=>ge.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),ft=(n,o)=>vi(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,o(s)])):o(n),Go=n=>ge.reduce(n,(o,i,s)=>(ge.forEach(i,(l,c)=>{ge.has(o,c)||ge.set(o,c,{}),ge.set(o,[c,s],l)}),o),{}),ic=(n,o)=>{const i=Object.fromEntries(Object.keys(n).map(g=>[g,oa(n[g])])),s=Go(i),l=Object.fromEntries(fr.map(g=>[g,o(s[g])])),c=Go(l);return Object.fromEntries(Object.entries(c).map(([g,m])=>[g,ac(m)]))},oc=(n,o)=>{if(!vi(n))return n;switch(o){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},oa=n=>Object.fromEntries(Object.keys(pr).map(o=>[o,oc(n,o)])),ac=n=>{let o=n.xs;const i={xs:o};for(let s=1;s<fr.length;s++){const l=fr[s],c=n[l];ge.isEqual(c,o)||(i[l]=c,o=c)}return Object.keys(i).length===1?i.xs:i},aa=n=>{const[o,i]=ge.partition(Object.entries(n),([c,p])=>vi(p)),s=Object.fromEntries(o.map(([c,p])=>[c,oa(p)])),l=ge.compact(fr.map(c=>{const p=Object.fromEntries(Object.keys(s).map(m=>[m,s[m][c]]));if(c==="xs"){const m={...Object.fromEntries(i),...p};return ge.isEmpty(m)?null:Ye(m)}if(ge.isEmpty(p))return null;const g=`(min-width: ${pr[c]}px)`;return Ye`
|
|
28
28
|
@media ${g} {
|
|
29
29
|
${Ye(p)}
|
|
30
30
|
}
|
|
@@ -197,13 +197,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
197
197
|
${({$isLoading:n})=>n&&`
|
|
198
198
|
opacity: 0;
|
|
199
199
|
`}
|
|
200
|
-
`,fi=({label:n,isActive:o,isLoading:i,dropdownItems:s=[],onClick:l,size:c="large",isDropdownOpen:p=!1,isDropdownItem:g=!1,onMouseEnter:m})=>{const S=ce().__hd__.header,_=S.navItem,E=o?_.active:_.inactive;return x.jsxs(Bc,{onClick:l,onMouseEnter:m,$themeBackgroundColor:g?"transparent":E.backgroundColor,$themeHoverColor:_.active.backgroundColor,$themeRadius:_.radius,$themePaddingX:_.paddingX,$themePaddingY:_.paddingY,$gap:S.loadingGap,children:[x.jsx(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:n}),x.jsx(U,{flex:1,display:"flex"
|
|
200
|
+
`,fi=({label:n,isActive:o,isLoading:i,dropdownItems:s=[],onClick:l,size:c="large",isDropdownOpen:p=!1,isDropdownItem:g=!1,onMouseEnter:m})=>{const S=ce().__hd__.header,_=S.navItem,E=o?_.active:_.inactive;return x.jsxs(Bc,{onClick:l,onMouseEnter:m,$themeBackgroundColor:g?"transparent":E.backgroundColor,$themeHoverColor:_.active.backgroundColor,$themeRadius:_.radius,$themePaddingX:_.paddingX,$themePaddingY:_.paddingY,$gap:S.loadingGap,children:[x.jsx(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:n}),(s.length>0||p)&&x.jsx(U,{flex:1,display:"flex",justifyContent:"end",children:x.jsxs(xu,{$themeFontWeight:E.fontWeight,$themeFontSize:_[c].fontSize,$themeColor:E.color,$themeHoverColor:_.hover.color,$isLoading:i??!1,children:[s.length>0&&x.jsx(ua,{size:16,weight:"bold"}),p&&x.jsx(Sc,{size:16,weight:"bold"})]})}),x.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:x.jsx(ha,{size:_[c].loadingSize,color:E.color})})]})};function d3({userProfile:n,dropdownItems:o,maxHeight:i},s){const l=ce(),c=l.__hd__.header.profileDropdown,[p,g]=d.useState(!1),m=d.useRef(null),v=d.useRef(null),S=ge.isString(c.minWidth)&&Vn(c.minWidth)?l.sizes[c.minWidth]:c.minWidth,_=ge.isString(i)&&Vn(i)?l.sizes[i]:i||c.defaultMaxHeight,E=()=>{m.current&&clearTimeout(m.current),v.current&&clearTimeout(v.current)},$=(P=()=>{})=>{E(),g(!0),m.current=setTimeout(P,c.animationDuration)},A=(P=()=>{})=>{E(),g(!1),v.current=setTimeout(P,c.animationDuration)};return d.useImperativeHandle(s,()=>({showDropdown:$,hideDropdown:A})),x.jsx(U,{position:"absolute",top:c.offset.top,right:c.offset.right,minWidth:S,paddingTop:c.containerPaddingTop,paddingRight:c.containerPaddingRight,zIndex:1e3,onMouseEnter:()=>$(),onMouseLeave:()=>A(),opacity:p?1:0,maxHeight:p?_:0,overflow:"hidden",transition:`opacity ${c.animationDuration}ms ease-in-out, max-height ${c.animationDuration}ms ease-in-out`,children:x.jsxs(U,{backgroundColor:c.backgroundColor,borderWidth:c.borderWidth,borderColor:c.borderColor,borderRadius:c.borderRadius,padding:c.contentPadding,display:"flex",flexDirection:"column",gap:c.itemSpacing,children:[n!=null&&n.name?x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n.name})}):x.jsx(U,{paddingBottom:"sm",children:x.jsx(We,{textAlign:"center",children:n==null?void 0:n.email})}),x.jsx(zc,{marginY:"md"}),o==null?void 0:o.map(P=>x.jsx(fi,{label:P.label,onClick:P.onClick,isActive:P.isActive,size:"medium"},P.label))]})})}const h3=d.forwardRef(d3),jc=({isSignedIn:n=!1,isDropdownVisible:o,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:c,onProfileClick:p,onSignInClick:g,onRegisterClick:m})=>{const S=ce().__hd__.header.avatarSize||"md",_=d.useRef(null),E=()=>{var A;i(!0),(A=_.current)==null||A.showDropdown()},$=()=>{var A;(A=_.current)==null||A.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{o?E():$()},[o]),x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?x.jsx(Et,{onClick:p,children:x.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:E,onMouseLeave:$,children:[x.jsx(kc,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:S}),(s==null?void 0:s.name)&&x.jsx(U,{ml:"sm",children:x.jsx(We,{fontWeight:"medium",children:s.name})})]})}):x.jsxs(x.Fragment,{children:[x.jsx(U,{mr:"md",children:x.jsx(Ko,{text:"Sign in",variant:"text",color:"black",onClick:g})}),x.jsx(Ko,{text:"Register",color:"primary",corner:"rounded",onClick:m})]}),n&&x.jsx(h3,{ref:_,userProfile:s,dropdownItems:l,maxHeight:c})]})},p3="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Wc=({onLogoClick:n})=>x.jsx(U,{children:x.jsx(Et,{onClick:n,children:x.jsx(St,{art:p3,type:"svg",width:"lg",height:"lg"})})}),g3=de(U)`
|
|
201
201
|
position: absolute;
|
|
202
202
|
top: 0;
|
|
203
203
|
left: 0;
|
|
204
204
|
width: 100%;
|
|
205
205
|
min-width: auto;
|
|
206
|
-
overflow-y:
|
|
206
|
+
overflow-y: hidden;
|
|
207
207
|
|
|
208
208
|
background-color: ${({theme:n,$themeBackgroundColor:o})=>n.colors[o]||o};
|
|
209
209
|
|
|
@@ -214,7 +214,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
214
214
|
z-index: ${({$themeZIndex:n,$isOpen:o})=>o?n:-1};
|
|
215
215
|
|
|
216
216
|
opacity: ${({$isOpen:n})=>n?1:0};
|
|
217
|
-
transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out, max-height
|
|
217
|
+
transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out, max-height ease-in-out;
|
|
218
218
|
`,m3=({dropdownMaxHeight:n,dropdownItems:o=[],isDropdownOpen:i=!1,...s})=>{const l=ce(),c=l.__hd__.header.navDropdown,p=ge.isString(n)&&Vn(n)?l.sizes[n]:n||c.defaultMaxHeight;return x.jsxs(g3,{$themeBackgroundColor:c.backgroundColor,$themeRadius:c.borderRadius,$themeMaxHeight:p,$themeZIndex:c.zIndex,$isOpen:i,"data-testid":"nav-dropdown-menu",children:[x.jsx(fi,{isDropdownOpen:!0,...s}),o.length>0&&o.map((g,m)=>x.jsx(fi,{isDropdownOpen:!0,isDropdownItem:!0,...g},`nav-dropdown-item-${m}`))]})},v3=de.span`
|
|
219
219
|
position: relative;
|
|
220
220
|
`,Dc=({navItems:n=[]})=>{const i=ce().__hd__.header,[s,l]=d.useState(!1),[c,p]=d.useState(!0),g=bi(),m=!dt()&&g==="xs",[v,S]=d.useState(null);d.useEffect(()=>{dt()||(l(!m),setTimeout(()=>{p(!1)},300))},[m]);const _=d.useDeferredValue(s),E=(A,P)=>{A.dropdownItems&&A.dropdownItems.length>0&&S(P)},$=()=>{S(null)};return x.jsx(fa,{display:"flex",visible:c,maxWidth:_?"100%":"0px",maxHeight:_?"100%":"0px",opacity:_?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:x.jsx(U,{display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:n.map((A,P)=>{var B;return x.jsxs(v3,{onMouseLeave:$,children:[x.jsx(fi,{...A,isActive:A.isActive||((B=A.dropdownItems)==null?void 0:B.some(N=>N.isActive)),onMouseEnter:()=>E(A,P)}),A.dropdownItems&&A.dropdownItems.length>0&&x.jsx(m3,{...A,isDropdownOpen:v===P})]},`nav-item-wrapper-${P}`)})})})};function y3({backgroundColor:n="white",navItems:o=[],isSignedIn:i=!1,userProfile:s,profileDropdownItems:l,profileDropdownMaxHeight:c,onLogoClick:p,onNavItemClick:g,onSignInClick:m,onRegisterClick:v,onProfileClick:S,..._},E){const[$,A]=d.useState(!1);return d.useImperativeHandle(E,()=>({showDropdown:()=>A(!0),hideDropdown:()=>A(!1)})),x.jsxs(U,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,..._,children:[x.jsx(Wc,{onLogoClick:p}),x.jsx(Dc,{navItems:o,onNavItemClick:g}),x.jsx(jc,{isSignedIn:i,isDropdownVisible:$,setIsDropdownVisible:A,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:c,onSignInClick:m,onRegisterClick:v,onProfileClick:S})]})}const Hc=d.forwardRef(y3),b3=(n,o,i)=>{let s={};return n?o==="padded"?(s.maxWidth=void 0,s.px=i.desktopPaddingX):(s.maxWidth=i.desktopContentMaxWidth,s.px=i.mobilePaddingX):(s.maxWidth=void 0,s.px=i.mobilePaddingX),s},x3=(n,o)=>{const i={};return n&&o==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},w3=({children:n,backgroundColor:o="white",header:i,contentLayoutMode:s="maxWidth",style:l,...c})=>{const g=ce().__hd__.base,m=bi(),v=dt()||m==="md"||m==="lg"||m==="xl",S=b3(v,s,g),_=x3(v,s);return x.jsxs(U,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:o,style:l,...c,children:[i&&x.jsx(Hc,{...i}),x.jsx(U,{flex:1,overflow:"visible",position:"relative",width:"100%",...S,style:_,children:n})]})},_3=de.div`
|
|
@@ -458,14 +458,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
458
458
|
right: 0;
|
|
459
459
|
bottom: 0;
|
|
460
460
|
background-color: rgba(0, 0, 0, 0.5); // Semi-transparent black
|
|
461
|
-
z-index:
|
|
461
|
+
z-index: 2000; // Ensure it's on top
|
|
462
462
|
display: flex;
|
|
463
463
|
align-items: center;
|
|
464
464
|
justify-content: center;
|
|
465
465
|
`,N6=de(U)`
|
|
466
|
-
|
|
467
|
-
z-index: 1001; // Ensure it's above the backdrop
|
|
466
|
+
z-index: 2001; // Ensure it's above the backdrop
|
|
468
467
|
min-width: 300px; // Basic min-width
|
|
469
|
-
max-height:
|
|
468
|
+
max-height: 100vh; // Prevent overly tall modals
|
|
470
469
|
overflow-y: auto;
|
|
471
|
-
`,V6=({open:n,onClose:o,children:i,"data-testid":s,...l})=>{if(!n)return null;const c=p=>{p.target===p.currentTarget&&(o==null||o())};return x.jsx(Z6,{onClick:c,"data-testid":s?`${s}-backdrop`:void 0,children:x.jsx(N6,{"data-testid":s,children:x.jsx(U,{backgroundColor:"white",...l,children:i})})})};exports.Accordion=C6;exports.Art=St;exports.Avatar=kc;exports.Base=w3;exports.Box=U;exports.Brand=bc;exports.Button=Ko;exports.Carousel=b6;exports.Checkbox=A6;exports.DEFAULT_VIMEO_CONFIG=s6;exports.Divider=zc;exports.Emoji=xc;exports.Grid=of;exports.Header=Hc;exports.HeaderAuth=jc;exports.HeaderLogo=Wc;exports.HeaderNav=Dc;exports.Icon=la;exports.Image=Lc;exports.Input=Zc;exports.List=A3;exports.Loading=ha;exports.Modal=V6;exports.Pagination=z6;exports.PaginationItem=af;exports.Progress=H6;exports.RESPONSIVE_BREAKPOINTS=pr;exports.RESPONSIVE_BREAKPOINT_KEYS=fr;exports.SUPPORTED_RICH_TEXT_TAGS=Oc;exports.Select=R6;exports.SelectDropdownItem=tf;exports.SelectInputDisplay=nf;exports.Skeleton=fa;exports.StyledBox=pc;exports.Svg=Ic;exports.Tag=$6;exports.Text=We;exports.ThemeProvider=fm;exports.Touchable=Et;exports.VIMEO_HOST=l6;exports.Vimeo=u6;exports.accordionTheme=Mu;exports.artTheme=zu;exports.avatarTheme=Bu;exports.baseTheme=ju;exports.buttonTheme=Wu;exports.carouselTheme=Du;exports.checkboxTheme=Hu;exports.configKeys=dc;exports.css=Ye;exports.cssPropsKey=lc;exports.customBoxPropsConfig=uc;exports.customBoxPropsKey=sa;exports.defaultColorPalette=gi;exports.defaultGradientColorPalette=Iu;exports.defaultScale=Xt;exports.defaultTheme=ai;exports.dividerTheme=Zu;exports.genBoxStyle=hc;exports.generateResponsiveStyles=aa;exports.getBorderWidths=Yo;exports.getComponentsTheme=tc;exports.getFontSizes=mi;exports.getFontWeights=ra;exports.getFonts=ta;exports.getGlobalTheme=tm;exports.getLineHeights=na;exports.getPaginationTheme=qu;exports.getRadii=Qo;exports.getResponsiveValue=oc;exports.getSelectStyles=rf;exports.getShadows=ku;exports.getSizeValue=Ve;exports.getSizes=Jo;exports.getSpaces=ea;exports.getTextColor=xi;exports.getTheme=nc;exports.getThemeValue=cc;exports.headerTheme=Nu;exports.inferResponsiveValues=ic;exports.inputTheme=Vu;exports.isBorderWidth=Z2;exports.isColor=Lu;exports.isEmoji=gc;exports.isFontSize=J2;exports.isFontWeight=em;exports.isGradientColor=N2;exports.isIcon=mc;exports.isImage=vc;exports.isRadius=Ou;exports.isResponsiveValue=vi;exports.isSSR=dt;exports.isShadow=Q2;exports.isSize=Vn;exports.isSpace=Fu;exports.isSvg=yc;exports.keyframes=ia;exports.listTheme=Uu;exports.loadingTheme=Gu;exports.mapStylePropToThemeValue=fc;exports.populateResponsiveValue=oa;exports.progressTheme=Ku;exports.reduceResponsiveValue=ac;exports.selectTheme=Xu;exports.shouldForwardProp=rc;exports.skeletonTheme=Yu;exports.styled=de;exports.tagTheme=Qu;exports.touchableTheme=Ju;exports.transformResponsiveValue=ft;exports.transposeObject=Go;exports.useEventListener=qo;exports.useHover=da;exports.useIsomorphicLayoutEffect=Mc;exports.useMediaQuery=i3;exports.useResponsiveBreakpoint=bi;exports.useSelectState=ef;exports.useTheme=ce;exports.useWindowDimensions=Fc;exports.vimeoTheme=ec;
|
|
470
|
+
`,V6=({open:n,onClose:o,children:i,"data-testid":s,...l})=>{if(!n)return null;const c=p=>{p.target===p.currentTarget&&(o==null||o())};return x.jsx(Z6,{onClick:c,"data-testid":s?`${s}-backdrop`:void 0,children:x.jsx(N6,{"data-testid":s,children:x.jsx(U,{boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",backgroundColor:"white",...l,children:i})})})};exports.Accordion=C6;exports.Art=St;exports.Avatar=kc;exports.Base=w3;exports.Box=U;exports.Brand=bc;exports.Button=Ko;exports.Carousel=b6;exports.Checkbox=A6;exports.DEFAULT_VIMEO_CONFIG=s6;exports.Divider=zc;exports.Emoji=xc;exports.Grid=of;exports.Header=Hc;exports.HeaderAuth=jc;exports.HeaderLogo=Wc;exports.HeaderNav=Dc;exports.Icon=la;exports.Image=Lc;exports.Input=Zc;exports.List=A3;exports.Loading=ha;exports.Modal=V6;exports.Pagination=z6;exports.PaginationItem=af;exports.Progress=H6;exports.RESPONSIVE_BREAKPOINTS=pr;exports.RESPONSIVE_BREAKPOINT_KEYS=fr;exports.SUPPORTED_RICH_TEXT_TAGS=Oc;exports.Select=R6;exports.SelectDropdownItem=tf;exports.SelectInputDisplay=nf;exports.Skeleton=fa;exports.StyledBox=pc;exports.Svg=Ic;exports.Tag=$6;exports.Text=We;exports.ThemeProvider=fm;exports.Touchable=Et;exports.VIMEO_HOST=l6;exports.Vimeo=u6;exports.accordionTheme=Mu;exports.artTheme=zu;exports.avatarTheme=Bu;exports.baseTheme=ju;exports.buttonTheme=Wu;exports.carouselTheme=Du;exports.checkboxTheme=Hu;exports.configKeys=dc;exports.css=Ye;exports.cssPropsKey=lc;exports.customBoxPropsConfig=uc;exports.customBoxPropsKey=sa;exports.defaultColorPalette=gi;exports.defaultGradientColorPalette=Iu;exports.defaultScale=Xt;exports.defaultTheme=ai;exports.dividerTheme=Zu;exports.genBoxStyle=hc;exports.generateResponsiveStyles=aa;exports.getBorderWidths=Yo;exports.getComponentsTheme=tc;exports.getFontSizes=mi;exports.getFontWeights=ra;exports.getFonts=ta;exports.getGlobalTheme=tm;exports.getLineHeights=na;exports.getPaginationTheme=qu;exports.getRadii=Qo;exports.getResponsiveValue=oc;exports.getSelectStyles=rf;exports.getShadows=ku;exports.getSizeValue=Ve;exports.getSizes=Jo;exports.getSpaces=ea;exports.getTextColor=xi;exports.getTheme=nc;exports.getThemeValue=cc;exports.headerTheme=Nu;exports.inferResponsiveValues=ic;exports.inputTheme=Vu;exports.isBorderWidth=Z2;exports.isColor=Lu;exports.isEmoji=gc;exports.isFontSize=J2;exports.isFontWeight=em;exports.isGradientColor=N2;exports.isIcon=mc;exports.isImage=vc;exports.isRadius=Ou;exports.isResponsiveValue=vi;exports.isSSR=dt;exports.isShadow=Q2;exports.isSize=Vn;exports.isSpace=Fu;exports.isSvg=yc;exports.keyframes=ia;exports.listTheme=Uu;exports.loadingTheme=Gu;exports.mapStylePropToThemeValue=fc;exports.populateResponsiveValue=oa;exports.progressTheme=Ku;exports.reduceResponsiveValue=ac;exports.selectTheme=Xu;exports.shouldForwardProp=rc;exports.skeletonTheme=Yu;exports.styled=de;exports.tagTheme=Qu;exports.touchableTheme=Ju;exports.transformResponsiveValue=ft;exports.transposeObject=Go;exports.useEventListener=qo;exports.useHover=da;exports.useIsomorphicLayoutEffect=Mc;exports.useMediaQuery=i3;exports.useResponsiveBreakpoint=bi;exports.useSelectState=ef;exports.useTheme=ce;exports.useWindowDimensions=Fc;exports.vimeoTheme=ec;
|
package/dist/index.js
CHANGED
|
@@ -4259,7 +4259,7 @@ const Pu = (n) => ({
|
|
|
4259
4259
|
navDropdown: {
|
|
4260
4260
|
borderColor: "grey300",
|
|
4261
4261
|
borderWidth: "thin",
|
|
4262
|
-
borderRadius:
|
|
4262
|
+
borderRadius: 24,
|
|
4263
4263
|
backgroundColor: "white",
|
|
4264
4264
|
zIndex: 100,
|
|
4265
4265
|
defaultMaxHeight: 300
|
|
@@ -6732,8 +6732,7 @@ const l3 = Ne(s3), Wt = l3, ia = (n, o, i, s = "solid", l) => {
|
|
|
6732
6732
|
children: n
|
|
6733
6733
|
}
|
|
6734
6734
|
),
|
|
6735
|
-
/* @__PURE__ */ E(j, { flex: 1, display: "flex"
|
|
6736
|
-
(s.length > 0 || h) && /* @__PURE__ */ _e(
|
|
6735
|
+
(s.length > 0 || h) && /* @__PURE__ */ E(j, { flex: 1, display: "flex", justifyContent: "end", children: /* @__PURE__ */ _e(
|
|
6737
6736
|
pu,
|
|
6738
6737
|
{
|
|
6739
6738
|
$themeFontWeight: S.fontWeight,
|
|
@@ -6746,7 +6745,7 @@ const l3 = Ne(s3), Wt = l3, ia = (n, o, i, s = "solid", l) => {
|
|
|
6746
6745
|
h && /* @__PURE__ */ E(Uu, { size: 16, weight: "bold" })
|
|
6747
6746
|
]
|
|
6748
6747
|
}
|
|
6749
|
-
),
|
|
6748
|
+
) }),
|
|
6750
6749
|
/* @__PURE__ */ E(
|
|
6751
6750
|
j,
|
|
6752
6751
|
{
|
|
@@ -6920,7 +6919,7 @@ const h3 = Ne(d3), p3 = ({
|
|
|
6920
6919
|
left: 0;
|
|
6921
6920
|
width: 100%;
|
|
6922
6921
|
min-width: auto;
|
|
6923
|
-
overflow-y:
|
|
6922
|
+
overflow-y: hidden;
|
|
6924
6923
|
|
|
6925
6924
|
background-color: ${({ theme: n, $themeBackgroundColor: o }) => n.colors[o] || o};
|
|
6926
6925
|
|
|
@@ -6931,7 +6930,7 @@ const h3 = Ne(d3), p3 = ({
|
|
|
6931
6930
|
z-index: ${({ $themeZIndex: n, $isOpen: o }) => o ? n : -1};
|
|
6932
6931
|
|
|
6933
6932
|
opacity: ${({ $isOpen: n }) => n ? 1 : 0};
|
|
6934
|
-
transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out, max-height
|
|
6933
|
+
transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out, max-height ease-in-out;
|
|
6935
6934
|
`, y3 = ({
|
|
6936
6935
|
dropdownMaxHeight: n,
|
|
6937
6936
|
dropdownItems: o = [],
|
|
@@ -11799,15 +11798,14 @@ const bi = pe(Wt)`
|
|
|
11799
11798
|
right: 0;
|
|
11800
11799
|
bottom: 0;
|
|
11801
11800
|
background-color: rgba(0, 0, 0, 0.5); // Semi-transparent black
|
|
11802
|
-
z-index:
|
|
11801
|
+
z-index: 2000; // Ensure it's on top
|
|
11803
11802
|
display: flex;
|
|
11804
11803
|
align-items: center;
|
|
11805
11804
|
justify-content: center;
|
|
11806
11805
|
`, N6 = pe(j)`
|
|
11807
|
-
|
|
11808
|
-
z-index: 1001; // Ensure it's above the backdrop
|
|
11806
|
+
z-index: 2001; // Ensure it's above the backdrop
|
|
11809
11807
|
min-width: 300px; // Basic min-width
|
|
11810
|
-
max-height:
|
|
11808
|
+
max-height: 100vh; // Prevent overly tall modals
|
|
11811
11809
|
overflow-y: auto;
|
|
11812
11810
|
`, pv = ({
|
|
11813
11811
|
open: n,
|
|
@@ -11820,6 +11818,7 @@ const bi = pe(Wt)`
|
|
|
11820
11818
|
}, "data-testid": s ? `${s}-backdrop` : void 0, children: /* @__PURE__ */ E(N6, { "data-testid": s, children: /* @__PURE__ */ E(
|
|
11821
11819
|
j,
|
|
11822
11820
|
{
|
|
11821
|
+
boxShadow: "0 4px 12px rgba(0, 0, 0, 0.15)",
|
|
11823
11822
|
backgroundColor: "white",
|
|
11824
11823
|
...l,
|
|
11825
11824
|
children: i
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aic-kits/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"vite-plugin-dts": "^4.3.0",
|
|
54
54
|
"vitest": "^2.1.8"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "852465b330c3629952d610f06a4e93416967c4fb"
|
|
57
57
|
}
|