effcss 1.3.5 → 1.3.6
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/build/define-provider-with-configs.min.js +2 -2
- package/dist/build/define-provider.min.js +2 -2
- package/dist/index.js +1 -1
- package/dist/types/src/_provider/constants.d.ts +13 -0
- package/dist/types/src/_provider/process.d.ts +2 -0
- package/dist/types/src/index.d.ts +5 -1
- package/dist/types/src/types.d.ts +24 -0
- package/dist/types/src/utils.d.ts +16 -14
- package/dist/utils.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Effcss v1.3.
|
|
2
|
+
* Effcss v1.3.6
|
|
3
3
|
* {@link https://gitverse.ru/msabitov/effcss}
|
|
4
4
|
* Copyright (c) Marat Sabitov
|
|
5
5
|
* @license Apache 2.0
|
|
6
6
|
*/
|
|
7
|
-
"function"==typeof SuppressedError&&SuppressedError;const t=(...t)=>t.join(" "),s=(...t)=>t.join(","),e=t=>`(${t})`,i=(t,s)=>((t,s)=>Object.fromEntries(Object.entries(t).map((t=>s(t)))))(t,(t=>[t[0],s(t[1])])),r=t=>"scale3d"+e(t),c=t=>"scaleX"+e(t),o=t=>"scale"+e(t),a=(t,i,r)=>"translate3d"+e(s(t,i,r)),n=t=>"translateZ"+e(t),l=t=>"rotateX"+e(t),p=t=>"rotateY"+e(t),_=t=>t+":active",b=t=>t+":focus",m=t=>":where"+e(t),f="-",h=" ",d="-x",$="-y",u="down",g="horizontal",v="vertical",x="text",w=x+f,y="font-",z="column",j=z+f,S="max-",k="min-",O="content",q=O+"s",E="-items",A="self",N="inline",R="block",V="size",W="-radius",I="direction",K="outline",C="style",P=f+C,L="end",T=f+L,X="start",Z=f+X,B="center",M="word",Y="line",D="break",G=D+f,H="wrap",J="no"+H,U="rule",F="object",Q="top",tt=f+Q,st="left",et=f+st,it="bottom",rt=f+it,ct="right",ot=f+ct,at="width",nt=f+at,lt="color",pt=f+lt,_t="overflow",bt="align",mt="type",ft="transform",ht="all",dt="height",$t="normal",ut="opacity",gt="visibility",vt="scale",xt="box",wt=f+xt,yt="border",zt="position",jt="none",St="auto",kt="fill",Ot="stroke",qt="reverse",Et="space",At="fixed",Nt="origin",Rt="alpha",Vt="luminance",Wt="clip",It="zoom",Kt="scroll",Ct="padding",Pt="margin",Lt="both",Tt="mode",Xt="repeat",Zt="light",Bt="linear",Mt="hidden",Yt="shadow",Dt="behavior",Gt="orientation",Ht="name",Jt="after",Ut="before",Ft="image",Qt="list"+P,ts=Qt+f+mt,ss=Qt+f+zt,es=Qt+f+Ft,is=lt+"-scheme",rs=yt+rt,cs=yt+et,os=yt+ot,as=yt+tt,ns=yt+f+R,ls=yt+f+N,ps=ns+Z,_s=ns+T,bs=ls+Z,ms=ls+T,fs=yt+nt,hs=rs+nt,ds=cs+nt,$s=os+nt,us=as+nt,gs=ns+nt,vs=ls+nt,xs=ps+nt,ws=_s+nt,ys=bs+nt,zs=ms+nt,js=yt+W,Ss=rs+et+W,ks=rs+ot+W,Os=as+et+W,qs=as+ot+W,Es=yt+Z+T+W,As=yt+Z+Z+W,Ns=yt+T+T+W,Rs=yt+T+Z+W,Vs=yt+pt,Ws=cs+pt,Is=os+pt,Ks=as+pt,Cs=rs+pt,Ps=ns+pt,Ls=ls+pt,Ts=ps+pt,Xs=_s+pt,Zs=bs+pt,Bs=ms+pt,Ms=yt+P,Ys=cs+P,Ds=os+P,Gs=as+P,Hs=rs+P,Js=ns+P,Us=ls+P,Fs=ps+P,Qs=_s+P,te=bs+P,se=ms+P,ee=K+pt,ie=K+nt,re=K+P,ce=K+f+"offset",oe=_t+d,ae=_t+$,ne=F+f+"fit",le=F+f+zt,pe=vt+f+u,_e=xt+f+Yt,be=Ct+wt,me=yt+wt,fe=O+wt,he=kt+wt,de=Ot+wt,$e="view"+wt,ue="no-"+Wt,ge=Xt+d,ve=Xt+$,xe="no-"+Xt,we=Ct+et,ye=Ct+tt,ze=Ct+ot,je=Ct+rt,Se=Pt+et,ke=Pt+tt,Oe=Pt+ot,qe=Pt+rt,Ee="grid",Ae="row",Ne="gap",Re="justify",Ve="flex",We=Ve+f,Ie="place"+E,Ke=N+f+Ve,Ce=We+"basis",Pe=We+"grow",Le=We+"shrink",Te=We+I,Xe=We+H,Ze=Re+f+O,Be=Re+E,Me=bt+E,Ye=bt+f+O,De=bt+f+A,Ge=Ee+f+"template",He=Ge+f+Ae+"s",Je=Ge+f+z+"s",Ue=Ae+f+Ne,Fe=j+Ne,Qe=Re+f+A,ti=Ee+f+Ae,si=ti+T,ei=ti+Z,ii=Ee+f+z,ri=ii+T,ci=ii+Z,oi=j+"count",ai=j+kt,ni=j+U,li=ni+pt,pi=ni+P,_i=ni+nt,bi=j+"span",mi=z+nt,fi=Ae+f+qt,hi=j+qt,di=H+f+qt,$i=Ve+T,ui=Ve+Z,gi=Et+"-between",vi=Et+"-around",xi=Et+"-evenly",wi=N+f+Ee,yi="mask-",zi=yi+Wt,ji=yi+"composite",Si=yi+Tt,ki=yi+Nt,Oi=yi+zt,qi=yi+Xt,Ei=yi+V,Ai=yi+mt,Ni="timing-function",Ri="delay",Vi="duration",Wi="animation",Ii=Wi+f,Ki=Ii+Ht,Ci=Ii+Ni,Pi=Ii+I,Li=Ii+"iteration-count",Ti=Ii+Vi,Xi=Ii+Ri,Zi=Ii+"play-state",Bi=Ii+kt+f+Tt,Mi="transition",Yi=Mi+f,Di=Yi+Dt,Gi=Yi+"property",Hi=Yi+Ni,Ji=Yi+Vi,Ui=Yi+Ri,Fi="alternate",Qi=Fi+f+qt,tr="-out",sr="ease",er=sr+"-in",ir=er+tr,rr=sr+tr,cr="step",or=cr+Z,ar=cr+T,nr="translate",lr="rotate",pr="perspective",_r=pr+f+Nt,br=st+h+Q,mr=ct+h+Q,fr=st+h+it,hr=ct+h+it,dr="inset",$r=dr+f,ur=ft+wt,gr=ft+f+Nt,vr=ft+P,xr=$r+R,wr=xr+T,yr=xr+Z,zr=$r+N,jr=zr+T,Sr=zr+Z,kr="fit-"+O,Or=k+O,qr=S+O,Er=xt+"-sizing",Ar=S+at,Nr=k+at,Rr=S+dt,Vr=k+dt,Wr=R+f+V,Ir=S+Wr,Kr=k+Wr,Cr=N+f+V,Pr=S+Cr,Lr=k+Cr,Tr=Kt+f+Dt,Xr=Kt+f+Pt,Zr=Xr+tt,Br=Xr+rt,Mr=Xr+et,Yr=Xr+ot,Dr=Xr+f+R,Gr=Dr+T,Hr=Dr+Z,Jr=Xr+f+N,Ur=Jr+T,Fr=Jr+Z,Qr=Kt+f+Ct,tc=Qr+tt,sc=Qr+rt,ec=Qr+et,ic=Qr+ot,rc=Qr+f+R,cc=rc+T,oc=rc+Z,ac=Qr+f+N,nc=ac+T,lc=ac+Z,pc=Kt+f+"snap",_c=pc+f+bt,bc=pc+f+"stop",mc=pc+f+mt,fc="over"+Tr,hc=" mandatory",dc="x"+hc,$c="y"+hc,uc=R+hc,gc=N+hc,vc=Lt+hc,xc=" proximity",wc="x"+xc,yc="y"+xc,zc=R+xc,jc=N+xc,Sc=Lt+xc,kc=w+"decoration",Oc=kc+f+lt,qc=kc+f+"thickness",Ec=kc+f+C,Ac=kc+f+Y,Nc="white-"+Et,Rc=w+ft,Vc=w+bt,Wc=v+f+bt,Ic=w+_t,Kc=w+Gt,Cc=w+"rendering",Pc=w+Yt,Lc=w+"emphasis",Tc=Lc+pt,Xc=Lc+f+zt,Zc=Lc+P,Bc=w+H,Mc=Bc+f+Tt,Yc=Bc+P,Dc=M+f+D,Gc=y+V,Hc=y+"weight",Jc=y+"family",Uc=y+C,Fc=y+"synthesis",Qc=y+"variant",to=Qc+f+Fi+"s",so=Qc+"-caps",eo=Qc+"-numeric",io=Qc+f+zt,ro=Qc+"-east-asian",co=Qc+"-ligatures",oo=Qc+"-settings",ao="writing-"+Tt,no=Y+f+dt,lo=Y+f+D,po=Y+"-through",_o="over"+Y,bo="under"+Y,mo="pre",fo=mo+f+Y,ho=mo+f+H,$o=G+Et+"s",uo=G+ht,go=G+M,vo=G+Jt,xo=G+Ut,wo=g+"-tb",yo=v+"-lr",zo=v+"-rl",jo="keep-"+ht,So="pointer",ko="pan",Oo=ko+d,qo=ko+et,Eo=ko+ot,Ao=ko+$,No=ko+f+u,Ro="pinch-"+It,Vo=v+f+x,Wo="grab",Io=Wo+"bing",Ko="resize",Co="col-"+Ko,Po="row-"+Ko,Lo="n-"+Ko,To="e-"+Ko,Xo="s-"+Ko,Zo="w-"+Ko,Bo="ne-"+Ko,Mo="ew-"+Ko,Yo="nw-"+Ko,Do="se-"+Ko,Go="sw-"+Ko,Ho="ns-"+Ko,Jo="nesw-"+Ko,Uo="nwse-"+Ko,Fo=It+f+"in",Qo=It+f+"out",ta=So+"-events",sa=Kt+f+zt,ea="caret"+pt,ia="accent"+pt,ra="filter",ca="backdrop-"+ra,oa="background",aa=oa+f,na=aa+Ft,la=aa+lt,pa=aa+Wt,_a=aa+Nt,ba=aa+zt,ma=ba+d,fa=ba+$,ha=aa+Xt,da=aa+V,$a=aa+"blend-"+Tt,ua=aa+"attachment",ga="gradient",va=Bt+f+ga,xa="radial-"+ga,wa="conic-"+ga,ya=O+f+gt,za=Ot+nt,ja=Ot+f+ut,Sa=kt+f+U,ka=kt+f+ut,Oa=lt+"-dodge",qa=lt+"-burn",Ea="hard-"+Zt,Aa="soft-"+Zt,Na=lt+"-mix",Ra="revert",Va=Ra+"-layer",Wa="container",Ia=Wa+f+mt,Ka=Wa+f+Ht,Ca=":first-",Pa=":last-",La=":only-",Ta="child",Xa="of-type",Za=":nth-child",Ba="prefers-",Ma=Ba+is,Ya="@media",Da=lt+"-gamut",Ga=Ba+"contrast",Ha="scripting",Ja="::"+Jt,Ua="::"+Ut,Fa={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},Qa={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},tn=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((t,s)=>(t[s]=s,t)),{}),sn={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:tn,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:Or,max:qr,fit:kr},bp:{xs:30,sm:40,md:48,lg:64,xl:80},cbp:{xs:10,sm:20,md:30,lg:40,xl:48},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:Fa,vh:Fa,vmin:Fa,vmax:Fa,cqw:Fa,cqh:Fa,cqb:Fa,cqi:Fa,cqmin:Fa,cqmax:Fa,perc:Qa,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:Qa,uni:{ini:"initial",inh:"inherit",u:"unset",r:Ra,rl:Va},ali:{s:X,e:L,c:B,st:"stretch",sb:gi,sa:vi,se:xi,b:"baseline",fs:ui,fe:$i,no:jt},dis:{g:Ee,ig:wi,f:Ve,if:Ke,b:R,i:N},ca:tn,co:tn,ra:tn,ro:tn,fd:{r:Ae,rr:fi,c:z,cr:hi},fb:Qa,fo:tn,fg:tn,fs:tn,fw:{w:H,nw:J,wr:di},rep:{rx:ge,ry:ve,r:Xt,s:Et,ro:"round",nr:xe},ttf:{l:Bt,e:sr,ei:er,eo:rr,eio:ir,ss:or,se:ar},ws:{n:$t,nw:J,p:mo,pl:fo,pw:ho,bs:$o},wb:{n:$t,ba:uo,ka:jo,bw:go},wm:{htb:wo,vlr:yo,vrl:zo},hyp:{no:jt,m:"manual",a:St},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:po,o:_o,u:bo},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-"+Gt},ta:{l:st,c:B,j:Re,r:ct,s:X,e:L},tp:{all:ht,col:s(lt,la,Vs,Oc),icon:s(kt,Ot),flt:s(ra,ca),ind:s(Ct,Pt),sz:s(at,Ar,Nr,dt,Rr,Vr),esz:s(Kr,Wr,Ir,Lr,Cr,Pr),o:ut,b:yt,f:Ve,g:Ee,pos:s(zt,st,Q,it,ct),tf:s(ft,nr,vt,lr,"skew",pr)},lb:{a:St,any:"anywhere",n:$t,l:"loose",s:"strict"},ov:{h:Mt,s:Kt,a:St,c:Wt,e:"ellipsis"},v:{h:Mt,v:"visible",c:"collapse",a:St},wc:{a:St,sp:sa,c:q,tf:ft,o:ut,i:dr,tfi:ft+","+dr},afm:{no:jt,f:"forwards",b:"backwards",both:Lt},adir:{r:qt,a:Fi,ar:Qi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:$t},app:{n:jt,a:St},pe:{a:St,no:jt,all:ht,f:kt,s:Ot},cur:{h:"help",a:St,p:So,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:Vo,cp:"copy",m:"move",g:Wo,gng:Io,cr:Co,rr:Po,nr:Lo,er:To,sr:Xo,wr:Zo,ner:Bo,ewr:Mo,nwr:Yo,ser:Do,swr:Go,nsr:Ho,neswr:Jo,nwser:Uo,zi:Fo,zo:Qo},res:{n:jt,v:v,h:g,b:Lt},toa:{a:St,no:jt,px:Oo,pl:qo,pr:Eo,py:Ao,pu:"pan-up",pd:No,pz:Ro,m:"manipulation"},us:{n:jt,t:x,all:ht,a:St},sb:{a:St,s:"smooth"},sss:{n:$t,a:"always"},sst:{n:jt,x:"x",y:"y",b:R,i:N,both:Lt,xm:dc,ym:$c,bm:uc,im:gc,bothm:vc,xp:wc,yp:yc,bp:zc,ip:jc,bothp:Sc},fst:{i:"italic",n:$t,o:"oblique"},pos:{r:"relative",a:"absolute",f:At,s:"static"},posv:{b:it,t:Q,c:B,l:st,r:ct,lt:br,rt:mr,lb:fr,rb:hr},csz:{cv:"cover",cn:"contain",a:St,f:kt,sd:pe},cf:{a:St,b:"balance"},cs:{no:jt,all:ht},box:{c:fe,p:be,b:me,f:he,s:de,v:$e,nc:ue,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:Rt,l:Vt},mm:{a:Rt,l:Vt,m:"match-source"},bgbm:{n:$t,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Zt+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:lt,lum:"luminosity",cd:Oa,cb:qa,hl:Ea,sl:Aa},bga:{s:Kt,f:At,l:"local"},ls:{no:jt,dt:"dotted",i:dr,h:Mt,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:$t,s:V,is:Cr}},en={a:Wi,an:Ki,adur:Ti,adel:Xi,aps:Zi,afm:Bi,adir:Pi,aic:Li,atf:Ci,trn:Mi,tdur:Ji,tdel:Ui,tb:Di,tp:Gi,ttf:Hi,ba:vo,bb:xo,bor:yt,bw:fs,br:js,bs:Ms,bls:Ys,brs:Ds,bts:Gs,bbs:Hs,bbls:Js,bis:Us,bbss:Fs,bbes:Qs,biss:te,bies:se,brw:$s,blw:ds,btw:us,bbw:hs,btlr:Os,btrr:qs,bbrr:ks,bblr:Ss,biw:vs,bblw:gs,bbew:ws,bbsw:xs,bisw:ys,biew:zs,besr:Rs,beer:Ns,bssr:As,bser:Es,bc:Vs,blc:Ws,brc:Is,btc:Ks,bbc:Cs,bblc:Ps,bic:Ls,bbsc:Ts,bbec:Xs,bisc:Zs,biec:Bs,bg:oa,bgi:na,bgc:la,c:lt,cmix:Na,csh:is,acc:ia,ctc:ea,st:Ot,stw:za,sto:ja,fi:kt,fir:Sa,fio:ka,flt:ra,bf:ca,g:Ee,f:Ve,dis:"display",jc:Ze,ji:Be,ai:Me,pi:Ie,ac:Ye,gt:Ge,gtr:He,gtc:Je,gp:Ne,rg:Ue,cg:Fe,as:De,js:Qe,gr:ti,gre:si,grs:ei,gc:ii,gce:ri,gcs:ci,fd:Te,fw:Xe,fs:Le,fg:Pe,fb:Ce,ord:"order",dir:I,m:Pt,ml:Se,mr:Oe,mt:ke,mb:qe,p:Ct,pl:we,pr:ze,pt:ye,pb:je,oc:ee,ow:ie,os:re,oo:ce,l:st,r:ct,t:Q,b:it,ins:dr,ib:xr,ibe:wr,ibs:yr,ii:zr,iie:jr,iis:Sr,wc:"will-change",app:"appearance",pe:ta,cur:"cursor",toa:"touch-action",us:"user-select",res:Ko,lis:Qt,lisp:ss,lisi:es,list:ts,sb:Tr,ssa:_c,sss:bc,sst:mc,sm:Xr,sml:Mr,smr:Yr,smt:Zr,smb:Br,sp:Qr,spl:ec,spr:ic,spt:tc,spb:sc,smbl:Dr,smbe:Gr,smbs:Hr,smi:Jr,smie:Ur,smis:Fr,spbl:rc,spbe:cc,spbs:oc,spi:ac,spie:nc,spis:lc,osb:fc,ar:"aspect-ratio",w:at,maxw:Ar,minw:Nr,h:dt,minh:Vr,maxh:Rr,bl:Wr,maxb:Ir,minb:Kr,i:Cr,mini:Lr,maxi:Pr,per:pr,pero:_r,rot:lr,sc:vt,tf:ft,tfb:ur,tfo:gr,tfs:vr,tr:nr,z:It,lts:"letter-spacing",lh:no,lb:lo,fst:Uc,ff:Jc,fwg:Hc,fsz:Gc,fsn:Fc,fv:Qc,fva:to,fvc:so,fvea:ro,fvl:co,fvn:eo,fvs:oo,fvp:io,tt:Rc,td:kc,tdt:qc,tds:Ec,tdl:Ac,ta:Vc,to:Ic,trg:Cc,ts:Pc,te:Lc,tep:Xc,tec:Tc,tes:Zc,tw:Bc,twm:Mc,tws:Yc,va:Wc,ws:Nc,tor:Kc,wb:Dc,wm:ao,hyp:"hyphens",bsz:Er,bsh:_e,pos:zt,cf:ai,crs:pi,crc:li,crw:_i,cs:bi,cw:mi,cc:oi,bgcl:pa,bgp:ba,bgpx:ma,bgpy:fa,bgbm:$a,bgo:_a,bgr:ha,bga:ua,bgsz:da,mcl:zi,mcm:ji,mm:Si,mo:ki,mp:Oi,mre:qi,msz:Ei,mtp:Ai,obf:ne,obp:le,con:O,ov:_t,ovx:oe,ovy:ae,v:gt,cv:ya,o:ut,zi:"z-index",zm:It,lgr:va,rgr:xa,cgr:wa,inf:"infinite",cnt:Ia,cnn:Ka,r_:":root",u_:"*",h_:":hover",f_:":focus",fv_:":focus-visible",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",rq_:":required",o_:":optional",m_:":modal",l_:":link",fc_:Ca+Ta,lc_:Pa+Ta,oc_:La+Ta,odd_:Za+"(odd)",even_:Za+"(even)",ft_:Ca+Xa,lt_:Pa+Xa,ot_:La+Xa,bef_:Ua,aft_:Ja,bd_:"::backdrop",ba_:`&${Ua},&${Ja}`,pl_:":placeholder",light_:Ya+`(${Ma}: light)`,dark_:Ya+`(${Ma}: dark)`,red_m_:Ya+"(prefers-reduced-motion: reduce)",ori_l_:Ya+`(${Gt}: landscape)`,ori_p_:Ya+`(${Gt}: portrait)`,gam_srgb_:Ya+`(${Da}: srgb)`,gam_p3_:Ya+`(${Da}: p3)`,gam_rec_:Ya+`(${Da}: rec2020)`,con_no_:Ya+`(${Ga}: no-preference)`,con_m_:Ya+`(${Ga}: more)`,con_l_:Ya+`(${Ga}: less)`,con_c_:Ya+`(${Ga}: custom)`,scr_no_:Ya+`(${Ha}: none)`,scr_ini_:Ya+`(${Ha}: initial-only)`,scr_en_:Ya+`(${Ha}: enabled)`},rn={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:sn},cn="{1}rem",on="{1}deg",an="calc(100% * {1})",nn="span {1}",ln={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:an,ra:nn,ca:nn,ins:an,sz:cn,sp:cn,rad:cn,th:cn,bp:cn,cbp:cn,fsz:cn,lsp:cn,tr:cn,sk:on,rot:on,perc:an,time:"{1}ms",rem:"{1}px"},pn=t=>`{${t}}`,_n=Object.assign.bind(Object),bn=(t,s)=>`${t}:${s};`,mn=(t,s)=>["@property",t,pn(bn("syntax",s.syn||'"*"')+bn("inherits",s.inh||!1)+(s.ini?bn("initial-value",s.ini):""))].join(" "),fn=t=>`var(${t})`,hn=({l:t,c:s,h:e,a:i=1})=>`oklch(${t} ${s} ${e} / ${i})`,dn=["l","c","h","a"],$n=t=>Object.entries(t).reduce(((t,[s,e])=>(void 0!==e&&t.push(s+(e?"-"+e:"")),t)),[]).join(" "),un=(t,s)=>Object.defineProperties({[t]:s},{k:{value:t},v:{value:s}}),gn={selector:({b:t,e:s,m:e,mv:i,s:r})=>`.${t}${(s?"__"+s:"")+(e?"_"+e:"")+(e&&i?"_"+i:"")+(r?":"+r:"")}`,attr:t=>s=>e=>{let i=e||"";"object"==typeof i&&(i=$n(i));const r=t+(s?"__"+s:"");return i=r+(i?" "+(null==i?void 0:i.split(" ").map((t=>r+"_"+t.split("-").join("_"))).join(" ")):""),un("class",i)}},vn={selector:({b:t,e:s,m:e,mv:i,s:r})=>`[data-${t}${s?"-"+s:""}${e||r?'~="'+(e||"")+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,attr:t=>s=>e=>{const i=`data-${t}${s?"-"+s:""}`;let r=e||"";return"object"==typeof r&&(r=$n(r)),un(i,r)}};class xn{constructor(t){var s,e;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=rn,this._compKeys={},this._compValues={},this.parseSelector=t=>{let s,e,i,r,c;return[s,c]=t.split(":"),s.startsWith("__")?[e,i,r]=s.slice(2).split("_"):[e,i,r]=s.split("_"),{e:e,m:i,mv:r,s:c}},this.expandSelector=(t,s)=>{const{e:e,m:i,mv:r,s:c}=this.parseSelector(s),o=c&&this._getStateSelector(c),a=this.bem.selector({b:t,e:e,m:i,mv:r,s:c});let n="";return(null==o?void 0:o.startsWith("@"))?n=o+"{"+a:(null==o?void 0:o.startsWith(":"))&&(n=a+"{&"+o),[this.bem.selector({b:t,e:e,m:i,mv:r}),n]},this._prepareVarName=(...t)=>["-",this._prefix,...t].join("-"),this._prepareKeyframesName=(...t)=>[this._prefix,...t].join("-"),this.compile=(t,s)=>{const{_:e,kf:i,k:r={},v:c={},c:o}=s,a=this.bem.selector.bind(this),n=this.parseSelector;let l=_n({},o),p=_n({},r),_=_n({_:{}},c),b="";if(e)for(let s in e){const i=e[s];if("c"===i.typ){const e={};dn.forEach((r=>{const c=s+r,o=this._prepareVarName(t,c);e[r]=o,p["_"+c]=e[r],b+=mn(o,i)})),_._[s]=hn({l:fn(e.l),c:fn(e.c),h:fn(e.h),a:fn(e.a)}),i.all&&(l["_"+s+"l"]=`&lig=>${this._prepareVarName(t,s+"l")}:{1}`,l["_"+s+"c"]=`&chr=>${this._prepareVarName(t,s+"c")}:{1}`,l["_"+s+"h"]=`&hue=>${this._prepareVarName(t,s+"h")}:{1}`,l["_"+s+"a"]=`&alp=>${this._prepareVarName(t,s+"a")}:{1}`)}else{const e=this._prepareVarName(t,s);p["_"+s]=e,_._[s]=fn(e),b+=mn(e,i)}}const m=t=>p[t]||this._compKeys[t]||en[t],f=t=>_[t]||this._compValues[t]||this._params.root[t],h=t=>t.replaceAll(/\{(.+?)\}/g,((t,s)=>{const[e,i]=s.split(".");if(i){const t=f(e);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+(m(e)||"")})),d=t=>{const s=t.split("?");let e;for(let t in s){const i=s[t],[r,c]=i.split("=>"),o=r.match(/(\w+)(\[[\w,]+\])?/);if(!o)continue;const[a,n,l]=o,p=f(n);if(!p)continue;e=p;let _=Object.entries(e);const b=null==l?void 0:l.slice(1,-1).split(",");if(b){const t=new Set(b);_=_.filter((([s,e])=>t.has(s)))}if(c){let[t,s]=c.split("|");void 0===s&&(s=t,t=""),_=_.map((([e,i])=>[t.replace("{0}",e)||e,h(s.replaceAll("{1}",""+i))]))}(b||c)&&(e=Object.fromEntries(_));break}return e};function $(s,e,i){var r,c,o,l;let p=""+s;if((null===(r=null==s?void 0:s.startsWith)||void 0===r?void 0:r.call(s,"$"))&&(p=m(s.slice(1)),!p))return"";if(Array.isArray(e))return $(p,Object.assign({},...e.map((t=>"string"==typeof t?d(t):t))),i);if(null==e)return"";if("object"==typeof e){const s=!i||(null===(c=i.startsWith)||void 0===c?void 0:c.call(i,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:i,m:r,mv:c}=n(p);return r&&"string"!=typeof c?Object.entries(e).reduce(((e,[c,o])=>{let n;return n="object"==typeof o?Object.entries(o).reduce(((t,s)=>t+$(...s,p)),""):o+";",e+s+a({b:t,e:i,m:r,mv:c})+pn(n)}),""):s+a({b:t,e:i,m:r,mv:c})+pn(Object.entries(e).reduce(((t,s)=>t+$(...s,p)),""))}return s+p+pn(Object.entries(e).reduce(((t,s)=>t+$(...s,p)),""))}{let t=""+e;return(null===(o=null==t?void 0:t.startsWith)||void 0===o?void 0:o.call(t,"&"))?$(p,d(t.slice(1)),i):(null===(l=null==t?void 0:t.includes)||void 0===l?void 0:l.call(t,"{"))?$(p,h(t),i):bn(p.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let u="";if(i)for(let s in i){const e=i[s],r=this._prepareKeyframesName(t,s);p["kf_"+s]=r,u+=`@keyframes ${r} `+pn(Object.entries(e).reduce(((t,[s,e])=>t+s+(String(+s)===s?"%":"")+pn(Object.entries(e).reduce(((t,s)=>t+$(...s)),""))),""))}return b+u+Object.entries(l).reduce(((t,s)=>t+$(...s)),"")};const{mode:i="a",prefix:r="eff",initkey:c="init",params:o,units:a}=t;this._prefix=r,this._initkey=c,this.bem="c"===i?gn:vn;const{values:n,keys:l}=(({params:t,units:s})=>{let e=rn,i=Object.assign(Object.assign({},ln),s||{});if(t)for(const s in t)e[s]=_n(e[s]||{},t[s]);for(const t in i)e.root[t]=e.root[t]&&Object.fromEntries(Object.entries(e.root[t]).map((([s,e])=>[s,i[t].replace("{1}",""+e)])));const r={};return e.root.bp&&Object.entries(e.root.bp||{}).forEach((([t,s])=>{r[`min_${t}_`]=`@media (min-width:${s})`,r[`max_${t}_`]=`@media (max-width:${s})`})),e.root.cbp&&Object.entries(e.root.bp||{}).forEach((([t,s])=>{r[`cmin_${t}_`]=`@container (min-width:${s})`,r[`cmax_${t}_`]=`@container (max-width:${s})`})),{values:e,keys:r}})({params:o,units:a});if(this._params=n,this._compKeys=l,this._initkey){const t=function(t,s){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&s.indexOf(i)<0&&(e[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)s.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(e[i[r]]=t[i[r]])}return e}(this._params,["root"]),i=Object.entries(t),r={_mode:{root:{}}},c={};i.forEach((([t,s])=>{r._mode[t]||(r._mode[t]={}),Object.entries(s).forEach((([s,e])=>{Object.entries(e).forEach((([e,i])=>{const o=this._prepareVarName(s,e);r._mode[t][o]=i,r._mode.root[o]||(r._mode.root[o]=i,c[s]||(c[s]={}),c[s][e]=`var(${o})`)}))}))})),this._compValues=c,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},r),{$r_:Object.assign(Object.assign({},r._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(s=r._mode)||void 0===s?void 0:s.dark)?{$dark_:{$r_:r._mode.dark}}:{}),(null===(e=r._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:r._mode.light}}:{})})}}_getStateSelector(t){const s=t+"_";return this._compKeys[s]||en[s]||t}}class wn{constructor(t){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.getAll=()=>this._stylesheets,this.add=(t,s)=>{if(!this._stylesheets[t])return this._stylesheets[t]=s,this._styleSheetsArray.push(s),this.cacheRules(t,s),this.notify(),!0},this.remove=t=>{const s=this.get(t);if(!s)return;const e=this._styleSheetsArray.findIndex((t=>t===s));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[t],delete this._rules[t],delete this._expandedSelectors[t]),this.notify(),!0},this.pack=(t,s)=>{const e=new CSSStyleSheet;if(e.replaceSync(s),e.cssRules.length)return this.add(t,e);console.log(`StyleSheet '${t}' is empty`)},this.cacheRules=(t,s)=>{[...s.cssRules].forEach((s=>{const e=s.cssText.split(" {")[0];e&&(this._rules[t]||(this._rules[t]={}),this._rules[t][e]=s)})),this._expandedSelectors[t]=new Set},this.getExpandedSelectors=t=>this._expandedSelectors[t],this.expandRule=(t,s,e)=>{const i=this._rules[t];if(!i)return void console.log(`No stylesheet with key '${t}'`);const r=i[s];if(!r)return void console.log(`No rule with selector '${s}' in the '${t}' stylesheet`);const[c,o]=r.cssText.split("{"),a=r.parentStyleSheet;if(a){const s=a.cssRules,r=a.insertRule(e+"{"+o+"}".repeat([...e.matchAll(/{/g)].length),s.length);return i[e]=s[r],this._expandedSelectors[t].add(e),!0}},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const s=this._listeners.findIndex((s=>s.deref()===t));s>=0&&this._listeners.splice(s,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,s)=>{const e=s.deref();return e&&(this.apply(e),t.push(s)),t}),[])},t)for(let s in t)this.pack(s,t[s])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const yn="style-provider";const zn=((...t)=>{return(s=Object.fromEntries(t.map((t=>[t,t]))))&&i(s,(t=>t+"deg"));var s})(-20,-15,-5,10,90),jn="In",Sn="Out",kn="Down",On="Up",qn="Left",En="Right",An="zoom",Nn=An+jn,Rn=An+Sn,Vn="pulse",Wn="bounce",In=Wn+jn,Kn=Wn+Sn,Cn="fade",Pn=Cn+jn,Ln=Pn+kn,Tn=Pn+On,Xn=Pn+qn,Zn=Pn+En,Bn=Cn+Sn,Mn=Bn+kn,Yn=Bn+On,Dn=Bn+qn,Gn=Bn+En,Hn="flip",Jn=Hn+jn+"x",Un=Hn+jn+"y",Fn=Hn+Sn+"x",Qn=Hn+Sn+"y",tl="slide",sl=tl+jn,el=sl+kn,il=sl+On,rl=sl+En,cl=sl+qn,ol=tl+Sn,al=ol+kn,nl=ol+On,ll=ol+En,pl=ol+qn,_l="heartBeat",bl="perspective"+e("25rem");var ml,fl={kf:{[Nn]:{0:{$o:0,$tf:r(s(.25,.25,.25))},50:{$o:1}},[Rn]:{0:{$o:1},50:{$o:0,$tf:r(s(.25,.25,.25))},to:{$o:0}},[Vn]:{0:{$tf:c(1)},50:{$tf:r(s(1.05,1.05,1.05))},to:{$tf:c(1)}},[_l]:{0:{$tf:o(1)},15:{$tf:o(1.25)},30:{$tf:o(1)},45:{$tf:o(1.25)},70:{$tf:o(0)}},[In]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:r(s(.25,.25,.25))},20:{$tf:r(s(1.1,1.1,1.1))},40:{$tf:r(s(.9,.9,.9))},60:{$o:1,$tf:r(s(1.05,1.05,1.05))},80:{$tf:r(s(.95,.95,.95))},to:{$o:1,$tf:c(1)}},[Kn]:{20:{$tf:r(s(.9,.9,.9))},"50%, 55%":{$o:1,$tf:r(s(1.1,1.1,1.1))},to:{$o:0,$tf:r(s(.3,.3,.3))}},[Pn]:{0:{$o:0},to:{$o:1}},[Ln]:{0:{$o:0,$tf:a(0,"100%",0)},to:{$o:1,$tf:n(0)}},[Xn]:{0:{$o:0,$tf:a("-100%",0,0)},to:{$o:1,$tf:n(0)}},[Zn]:{0:{$o:0,$tf:a("-100%",0,0)},to:{$o:1,$tf:n(0)}},[Tn]:{0:{$o:0,$tf:a(0,"100%",0)},to:{$o:1,$tf:n(0)}},[Bn]:{0:{$o:1},to:{$o:0}},[Mn]:{0:{$o:1},to:{$o:0,$tf:a(0,"-100%",0)}},[Dn]:{0:{$o:1},to:{$o:0,$tf:a("-100%",0,0)}},[Gn]:{0:{$o:1},to:{$o:0,$tf:a("100%",0,0)}},[Yn]:{0:{$o:1},to:{$o:0,$tf:a(0,"-100%",0)}},[Jn]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(bl,l(zn[90]))},40:{$atf:"{ttf.ei}",$tf:t(bl,l(zn[-20]))},60:{$o:1,$tf:t(bl,l(zn[10]))},80:{$tf:t(bl,l(zn[-5]))},to:{$tf:bl}},[Un]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(bl,p(zn[90]))},40:{$atf:"{ttf.ei}",$tf:t(bl,p(zn[-20]))},60:{$o:1,$tf:t(bl,p(zn[10]))},80:{$tf:t(bl,p(zn[-5]))},to:{$tf:bl}},[Fn]:{0:{$tf:bl},30:{$o:1,$tf:t(bl,l(zn[-20]))},to:{$o:0,$tf:t(bl,l(zn[90]))}},[Qn]:{0:{$tf:bl},30:{$o:1,$tf:t(bl,p(zn[-15]))},to:{$o:0,$tf:t(bl,p(zn[90]))}},[el]:{0:{$tf:a(0,"-100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[cl]:{0:{$tf:a("-100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[rl]:{0:{$tf:a("100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[il]:{0:{$tf:a(0,"100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[al]:{0:{$tf:n(0)},to:{$tf:a(0,"100%",0),$v:"{v.h}"}},[pl]:{0:{$tf:n(0)},to:{$tf:a("-100%",0,0),$v:"{v.h}"}},[ll]:{0:{$tf:n(0)},to:{$tf:a("100%",0,0),$v:"{v.h}"}},[nl]:{0:{$tf:n(0)},to:{$tf:a(0,"-100%",0),$v:"{v.h}"}}},c:(ml=[Nn,Rn,Vn,_l,In,Kn,Pn,Ln,Xn,Zn,Tn,Bn,Mn,Dn,Gn,Yn,Jn,Un,Fn,Qn,el,cl,rl,il,al,pl,ll,nl],ml.reduce(((t,s)=>(t["_"+s+"_"]={$an:`{kf_${s}}`},t)),{}))},hl={c:{$u_:{$p:0,$m:0,$bor:"none",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[m(s("a",(t=>t+":link")("a"),(t=>t+":visited")("a"),(t=>t+":hover")("a")))]:{$td:"none"},[m("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[m("menu,ol,ul")]:{$ls:"{ls.no}"},[m("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[m(s(b("input"),_("input"),b("button"),_("button")))]:{$o:"none"}}},dl=Object.freeze({__proto__:null,kf:fl,reset:hl});const $l="{_.sz}",ul=`calc(-1 * ${$l})`,gl=`calc(0.5 * ${$l})`,vl=`calc(-0.5 * ${$l})`,xl="{_.c}";var wl={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:t($l,0,gl,vl,xl)},l:{$bsh:t(ul,0,gl,vl,xl)},t:{$bsh:t(0,ul,gl,vl,xl)},b:{$bsh:t(0,$l,gl,vl,xl)},x:{$bsh:s(t($l,0,gl,vl,xl),t(ul,0,gl,vl,xl))},y:{$bsh:s(t(0,ul,gl,vl,xl),t(0,$l,gl,vl,xl))},f:{$bsh:t(0,0,$l,gl,xl)},tr:{$bsh:t($l,ul,$l,vl,xl)},tl:{$bsh:t(ul,ul,$l,vl,xl)},br:{$bsh:t($l,$l,$l,vl,xl)},bl:{$bsh:t(ul,$l,$l,vl,xl)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const yl=["sz","perc","szu"],zl=["cqw","cqmin","cqmax"],jl=["vw","vmin","vmax"],Sl=["cqh","cqmin","cqmax"],kl=["vh","vmin","vmax"];var Ol={c:{_w:[...yl.map((t=>`&${t}=>{w}:{1}`)),...zl.map((t=>`&${t}=>{0}${t}|{w}:{1}`)),...jl.map((t=>`&${t}=>{0}${t}|{w}:{1}`))],_maxw:[...yl.map((t=>`&${t}=>{maxw}:{1}`)),...zl.map((t=>`&${t}=>{0}${t}|{maxw}:{1}`)),...jl.map((t=>`&${t}=>{0}${t}|{maxw}:{1}`))],_minw:[...yl.map((t=>`&${t}=>{minw}:{1}`)),...zl.map((t=>`&${t}=>{0}${t}|{minw}:{1}`)),...jl.map((t=>`&${t}=>{0}${t}|{minw}:{1}`))],_h:[...yl.map((t=>`&${t}=>{h}:{1}`)),...Sl.map((t=>`&${t}=>{h}:{1}`)),...kl.map((t=>`&${t}=>{0}${t}|{h}:{1}`))],_maxh:[...yl.map((t=>`&${t}=>{maxh}:{1}`)),...Sl.map((t=>`&${t}=>{0}${t}|{maxh}:{1}`)),...kl.map((t=>`&${t}=>{0}${t}|{maxh}:{1}`))],_minh:[...yl.map((t=>`&${t}=>{minh}:{1}`)),...Sl.map((t=>`&${t}=>{0}${t}|{minh}:{1}`)),...kl.map((t=>`&${t}=>{0}${t}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const ql=["sz","perc","szu"],El=["cqb","cqmin","cqmax"],Al=["vw","vh","vmin","vmax"],Nl=["cqi","cqmin","cqmax"];var Rl,Vl={c:{_b:[...ql.map((t=>`&${t}=>{b}:{1}`)),...El.map((t=>`&${t}=>{0}${t}|{b}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{b}:{1}`))],_maxb:[...ql.map((t=>`&${t}=>{maxb}:{1}`)),...El.map((t=>`&${t}=>{0}${t}|{maxb}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{maxb}:{1}`))],_minb:[...ql.map((t=>`&${t}=>{minb}:{1}`)),...El.map((t=>`&${t}=>{0}${t}|{minb}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{minb}:{1}`))],_i:[...ql.map((t=>`&${t}=>{i}:{1}`)),...Nl.map((t=>`&${t}=>{0}${t}|{i}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{i}:{1}`))],_maxi:[...ql.map((t=>`&${t}=>{maxi}:{1}`)),...Nl.map((t=>`&${t}=>{0}${t}|{maxi}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{maxi}:{1}`))],_mini:[...ql.map((t=>`&${t}=>{mini}:{1}`)),...Nl.map((t=>`&${t}=>{0}${t}|{mini}:{1}`)),...Al.map((t=>`&${t}=>{0}${t}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},Wl={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},Il=Object.freeze({__proto__:null,a:{c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},ac:{_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$acc:"{_.ac}"},_cc_:{$ctc:"{_.cr}"}}},ag:{c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},b:{_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},be:{c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},bg:{c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}},bx:wl,c:{_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},col:{_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},f:{c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},fc:{c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},fi:{c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},gc:{c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:">r=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:">c=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},gi:{c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},i:{c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}},ind:{c:{_m:["&sp=>{m}:{1}","&szu[a,no]=>{m}:{1}"],_mx:["&sp=>{ml}:{1};{mr}:{1}","&szu[a,no]=>{ml}:{1};{mr}:{1}"],_my:["&sp=>{mt}:{1};{mb}:{1}","&szu[a,no]=>{mt}:{1};{mb}:{1}"],_mt:["&sp=>{mt}:{1}","&szu[a,no]=>{mt}:{1}"],_ml:["&sp=>{ml}:{1}","&szu[a,no]=>{ml}:{1}"],_mr:["&sp=>{mr}:{1}","&szu[a,no]=>{mr}:{1}"],_mb:["&sp=>{mb}:{1}","&szu[a,no]=>{mb}:{1}"],_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},mk:{c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},o:{_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},obj:{c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},sc:{_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},sce:{c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},sz:Ol,sze:Vl,t:{c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},tf:Wl,tx:{c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},u:{c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},v:{c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}}});Rl={config:{styles:Object.assign(Object.assign({},Il),dl)}},customElements.define((null==Rl?void 0:Rl.name)||yn,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var t;return null!==(t=this.getAttribute("initkey"))&&void 0!==t?t:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var t;const s=null===(t=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===t?void 0:t.textContent;return s?JSON.parse(s):(null==Rl?void 0:Rl.config)||{}},this.compileStyleSheet=(t,s)=>{var e,i;const r=null===(e=this.processor)||void 0===e?void 0:e.compile(t,s);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(t,r)))return this._sources.set(s,t),!0},this.useStyleSheet=t=>{var s;let e=this._sources.get(t);return e||(e=this.prefix+this._sources.size.toString(36),this.compileStyleSheet(e,t)),null===(s=this.processor)||void 0===s?void 0:s.bem.attr(e)},this.expandStyleSheet=(t,s)=>{var e;const i=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(t);if(this.processor&&i){const e=new Set(s).difference(i);let r=e.size;if(r&&this.processor.expandSelector){const s=this.processor.expandSelector;return e.keys().forEach((e=>{const[i,c]=s(t,e);c?this.manager.expandRule(t,i,c):r--})),r}}},this.processStyles=(t,s)=>{if(t)for(let s in t){const e=t[s];this.compileStyleSheet(s,e)}if(s)for(let t in s){const e=s[t];this.expandStyleSheet(t,e)}return!0},this.resolveStyleSheet=t=>this.processor.bem.attr(t)}connectedCallback(){const t=this.getSettings(),{params:s,styles:e,ext:i,units:r}=t,c=this.initkey;this.processor=function(t){return new xn(t)}({prefix:this.prefix,mode:this.mode,initkey:c,params:s,units:r}),this.manager=function(t){return new wn(t)}(c?{[c]:`${yn} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(e,i),null===this.isolated&&this.manager.registerNode(document)}});
|
|
7
|
+
"function"==typeof SuppressedError&&SuppressedError;const t=(...t)=>t.join(" "),s=(...t)=>t.join(","),e=t=>`(${t})`,i=(t,s)=>((t,s)=>Object.fromEntries(Object.entries(t).map((t=>s(t)))))(t,(t=>[t[0],s(t[1])])),r=t=>"scale3d"+e(t),o=t=>"scaleX"+e(t),c=t=>"scale"+e(t),a=(t,i,r)=>"translate3d"+e(s(t,i,r)),l=t=>"translateZ"+e(t),n=t=>"rotateX"+e(t),p=t=>"rotateY"+e(t),_=t=>t+":active",m=t=>t+":focus",b=t=>":where"+e(t),f="-",h=" ",d="-x",$="-y",u="down",g="horizontal",v="vertical",x="text",w=x+f,y="font-",z="column",S=z+f,k="max-",j="min-",q="content",O=q+"s",E="-items",A="self",N="inline",R="block",V="size",W="-radius",I="direction",K="outline",C="style",P=f+C,L="end",T=f+L,X="start",Z=f+X,B="center",M="word",Y="line",D="break",G=D+f,H="wrap",J="no"+H,U="rule",F="object",Q="top",tt=f+Q,st="left",et=f+st,it="bottom",rt=f+it,ot="right",ct=f+ot,at="width",lt=f+at,nt="color",pt=f+nt,_t="overflow",mt="align",bt="type",ft="transform",ht="all",dt="height",$t="normal",ut="opacity",gt="visibility",vt="scale",xt="box",wt=f+xt,yt="border",zt="position",St="none",kt="auto",jt="fill",qt="stroke",Ot="reverse",Et="space",At="fixed",Nt="origin",Rt="alpha",Vt="luminance",Wt="clip",It="zoom",Kt="scroll",Ct="padding",Pt="margin",Lt="both",Tt="mode",Xt="repeat",Zt="light",Bt="linear",Mt="hidden",Yt="shadow",Dt="behavior",Gt="orientation",Ht="name",Jt="after",Ut="before",Ft="image",Qt="list"+P,ts=Qt+f+bt,ss=Qt+f+zt,es=Qt+f+Ft,is=nt+"-scheme",rs=yt+rt,os=yt+et,cs=yt+ct,as=yt+tt,ls=yt+f+R,ns=yt+f+N,ps=ls+Z,_s=ls+T,ms=ns+Z,bs=ns+T,fs=yt+lt,hs=rs+lt,ds=os+lt,$s=cs+lt,us=as+lt,gs=ls+lt,vs=ns+lt,xs=ps+lt,ws=_s+lt,ys=ms+lt,zs=bs+lt,Ss=yt+W,ks=rs+et+W,js=rs+ct+W,qs=as+et+W,Os=as+ct+W,Es=yt+Z+T+W,As=yt+Z+Z+W,Ns=yt+T+T+W,Rs=yt+T+Z+W,Vs=yt+pt,Ws=os+pt,Is=cs+pt,Ks=as+pt,Cs=rs+pt,Ps=ls+pt,Ls=ns+pt,Ts=ps+pt,Xs=_s+pt,Zs=ms+pt,Bs=bs+pt,Ms=yt+P,Ys=os+P,Ds=cs+P,Gs=as+P,Hs=rs+P,Js=ls+P,Us=ns+P,Fs=ps+P,Qs=_s+P,te=ms+P,se=bs+P,ee=K+pt,ie=K+lt,re=K+P,oe=K+f+"offset",ce=_t+d,ae=_t+$,le=F+f+"fit",ne=F+f+zt,pe=vt+f+u,_e=xt+f+Yt,me=Ct+wt,be=yt+wt,fe=q+wt,he=jt+wt,de=qt+wt,$e="view"+wt,ue="no-"+Wt,ge=Xt+d,ve=Xt+$,xe="no-"+Xt,we=Ct+et,ye=Ct+tt,ze=Ct+ct,Se=Ct+rt,ke=Pt+et,je=Pt+tt,qe=Pt+ct,Oe=Pt+rt,Ee="grid",Ae="row",Ne="gap",Re="justify",Ve="flex",We=Ve+f,Ie="place"+E,Ke=N+f+Ve,Ce=We+"basis",Pe=We+"grow",Le=We+"shrink",Te=We+I,Xe=We+H,Ze=Re+f+q,Be=Re+E,Me=mt+E,Ye=mt+f+q,De=mt+f+A,Ge=Ee+f+"template",He=Ge+f+Ae+"s",Je=Ge+f+z+"s",Ue=Ae+f+Ne,Fe=S+Ne,Qe=Re+f+A,ti=Ee+f+Ae,si=ti+T,ei=ti+Z,ii=Ee+f+z,ri=ii+T,oi=ii+Z,ci=S+"count",ai=S+jt,li=S+U,ni=li+pt,pi=li+P,_i=li+lt,mi=S+"span",bi=z+lt,fi=Ae+f+Ot,hi=S+Ot,di=H+f+Ot,$i=Ve+T,ui=Ve+Z,gi=Et+"-between",vi=Et+"-around",xi=Et+"-evenly",wi=N+f+Ee,yi="mask-",zi=yi+Wt,Si=yi+"composite",ki=yi+Tt,ji=yi+Nt,qi=yi+zt,Oi=yi+Xt,Ei=yi+V,Ai=yi+bt,Ni="timing-function",Ri="delay",Vi="duration",Wi="animation",Ii=Wi+f,Ki=Ii+Ht,Ci=Ii+Ni,Pi=Ii+I,Li=Ii+"iteration-count",Ti=Ii+Vi,Xi=Ii+Ri,Zi=Ii+"play-state",Bi=Ii+jt+f+Tt,Mi="transition",Yi=Mi+f,Di=Yi+Dt,Gi=Yi+"property",Hi=Yi+Ni,Ji=Yi+Vi,Ui=Yi+Ri,Fi="alternate",Qi=Fi+f+Ot,tr="-out",sr="ease",er=sr+"-in",ir=er+tr,rr=sr+tr,or="step",cr=or+Z,ar=or+T,lr="translate",nr="rotate",pr="perspective",_r=pr+f+Nt,mr=st+h+Q,br=ot+h+Q,fr=st+h+it,hr=ot+h+it,dr="inset",$r=dr+f,ur=ft+wt,gr=ft+f+Nt,vr=ft+P,xr=$r+R,wr=xr+T,yr=xr+Z,zr=$r+N,Sr=zr+T,kr=zr+Z,jr="fit-"+q,qr=j+q,Or=k+q,Er=xt+"-sizing",Ar=k+at,Nr=j+at,Rr=k+dt,Vr=j+dt,Wr=R+f+V,Ir=k+Wr,Kr=j+Wr,Cr=N+f+V,Pr=k+Cr,Lr=j+Cr,Tr=Kt+f+Dt,Xr=Kt+f+Pt,Zr=Xr+tt,Br=Xr+rt,Mr=Xr+et,Yr=Xr+ct,Dr=Xr+f+R,Gr=Dr+T,Hr=Dr+Z,Jr=Xr+f+N,Ur=Jr+T,Fr=Jr+Z,Qr=Kt+f+Ct,to=Qr+tt,so=Qr+rt,eo=Qr+et,io=Qr+ct,ro=Qr+f+R,oo=ro+T,co=ro+Z,ao=Qr+f+N,lo=ao+T,no=ao+Z,po=Kt+f+"snap",_o=po+f+mt,mo=po+f+"stop",bo=po+f+bt,fo="over"+Tr,ho=" mandatory",$o="x"+ho,uo="y"+ho,go=R+ho,vo=N+ho,xo=Lt+ho,wo=" proximity",yo="x"+wo,zo="y"+wo,So=R+wo,ko=N+wo,jo=Lt+wo,qo=w+"decoration",Oo=qo+f+nt,Eo=qo+f+"thickness",Ao=qo+f+C,No=qo+f+Y,Ro="white-"+Et,Vo=w+ft,Wo=w+mt,Io=v+f+mt,Ko=w+_t,Co=w+Gt,Po=w+"rendering",Lo=w+Yt,To=w+"emphasis",Xo=To+pt,Zo=To+f+zt,Bo=To+P,Mo=w+H,Yo=Mo+f+Tt,Do=Mo+P,Go=M+f+D,Ho=y+V,Jo=y+"weight",Uo=y+"family",Fo=y+C,Qo=y+"synthesis",tc=y+"variant",sc=tc+f+Fi+"s",ec=tc+"-caps",ic=tc+"-numeric",rc=tc+f+zt,oc=tc+"-east-asian",cc=tc+"-ligatures",ac=tc+"-settings",lc="writing-"+Tt,nc=Y+f+dt,pc=Y+f+D,_c=Y+"-through",mc="over"+Y,bc="under"+Y,fc="pre",hc=fc+f+Y,dc=fc+f+H,$c=G+Et+"s",uc=G+ht,gc=G+M,vc=G+Jt,xc=G+Ut,wc=g+"-tb",yc=v+"-lr",zc=v+"-rl",Sc="keep-"+ht,kc="pointer",jc="pan",qc=jc+d,Oc=jc+et,Ec=jc+ct,Ac=jc+$,Nc=jc+f+u,Rc="pinch-"+It,Vc=v+f+x,Wc="grab",Ic=Wc+"bing",Kc="resize",Cc="col-"+Kc,Pc="row-"+Kc,Lc="n-"+Kc,Tc="e-"+Kc,Xc="s-"+Kc,Zc="w-"+Kc,Bc="ne-"+Kc,Mc="ew-"+Kc,Yc="nw-"+Kc,Dc="se-"+Kc,Gc="sw-"+Kc,Hc="ns-"+Kc,Jc="nesw-"+Kc,Uc="nwse-"+Kc,Fc=It+f+"in",Qc=It+f+"out",ta=kc+"-events",sa=Kt+f+zt,ea="caret"+pt,ia="accent"+pt,ra="filter",oa="backdrop-"+ra,ca="background",aa=ca+f,la=aa+Ft,na=aa+nt,pa=aa+Wt,_a=aa+Nt,ma=aa+zt,ba=ma+d,fa=ma+$,ha=aa+Xt,da=aa+V,$a=aa+"blend-"+Tt,ua=aa+"attachment",ga="gradient",va=Bt+f+ga,xa="radial-"+ga,wa="conic-"+ga,ya=q+f+gt,za=qt+lt,Sa=qt+f+ut,ka=jt+f+U,ja=jt+f+ut,qa=nt+"-dodge",Oa=nt+"-burn",Ea="hard-"+Zt,Aa="soft-"+Zt,Na=nt+"-mix",Ra="revert",Va=Ra+"-layer",Wa="container",Ia=Wa+f+bt,Ka=Wa+f+Ht,Ca=":first-",Pa=":last-",La=":only-",Ta="child",Xa="of-type",Za=":nth-child",Ba="prefers-",Ma=Ba+is,Ya="@media",Da=nt+"-gamut",Ga=Ba+"contrast",Ha="scripting",Ja="::"+Jt,Ua="::"+Ut,Fa={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},Qa={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},tl=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((t,s)=>(t[s]=s,t)),{}),sl={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:tl,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:qr,max:Or,fit:jr},bp:{xs:30,sm:40,md:48,lg:64,xl:80},cbp:{xs:10,sm:20,md:30,lg:40,xl:48},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:Fa,vh:Fa,vmin:Fa,vmax:Fa,cqw:Fa,cqh:Fa,cqb:Fa,cqi:Fa,cqmin:Fa,cqmax:Fa,perc:Qa,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:Qa,uni:{ini:"initial",inh:"inherit",u:"unset",r:Ra,rl:Va},ali:{s:X,e:L,c:B,st:"stretch",sb:gi,sa:vi,se:xi,b:"baseline",fs:ui,fe:$i,no:St},dis:{g:Ee,ig:wi,f:Ve,if:Ke,b:R,i:N},ca:tl,co:tl,ra:tl,ro:tl,fd:{r:Ae,rr:fi,c:z,cr:hi},fb:Qa,fo:tl,fg:tl,fs:tl,fw:{w:H,nw:J,wr:di},rep:{rx:ge,ry:ve,r:Xt,s:Et,ro:"round",nr:xe},ttf:{l:Bt,e:sr,ei:er,eo:rr,eio:ir,ss:cr,se:ar},ws:{n:$t,nw:J,p:fc,pl:hc,pw:dc,bs:$c},wb:{n:$t,ba:uc,ka:Sc,bw:gc},wm:{htb:wc,vlr:yc,vrl:zc},hyp:{no:St,m:"manual",a:kt},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:_c,o:mc,u:bc},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-"+Gt},ta:{l:st,c:B,j:Re,r:ot,s:X,e:L},tp:{all:ht,col:s(nt,na,Vs,Oo),icon:s(jt,qt),flt:s(ra,oa),ind:s(Ct,Pt),sz:s(at,Ar,Nr,dt,Rr,Vr),esz:s(Kr,Wr,Ir,Lr,Cr,Pr),o:ut,b:yt,f:Ve,g:Ee,pos:s(zt,st,Q,it,ot),tf:s(ft,lr,vt,nr,"skew",pr)},lb:{a:kt,any:"anywhere",n:$t,l:"loose",s:"strict"},ov:{h:Mt,s:Kt,a:kt,c:Wt,e:"ellipsis"},v:{h:Mt,v:"visible",c:"collapse",a:kt},wc:{a:kt,sp:sa,c:O,tf:ft,o:ut,i:dr,tfi:ft+","+dr},afm:{no:St,f:"forwards",b:"backwards",both:Lt},adir:{r:Ot,a:Fi,ar:Qi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:$t},app:{n:St,a:kt},pe:{a:kt,no:St,all:ht,f:jt,s:qt},cur:{h:"help",a:kt,p:kc,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:Vc,cp:"copy",m:"move",g:Wc,gng:Ic,cr:Cc,rr:Pc,nr:Lc,er:Tc,sr:Xc,wr:Zc,ner:Bc,ewr:Mc,nwr:Yc,ser:Dc,swr:Gc,nsr:Hc,neswr:Jc,nwser:Uc,zi:Fc,zo:Qc},res:{n:St,v:v,h:g,b:Lt},toa:{a:kt,no:St,px:qc,pl:Oc,pr:Ec,py:Ac,pu:"pan-up",pd:Nc,pz:Rc,m:"manipulation"},us:{n:St,t:x,all:ht,a:kt},sb:{a:kt,s:"smooth"},sss:{n:$t,a:"always"},sst:{n:St,x:"x",y:"y",b:R,i:N,both:Lt,xm:$o,ym:uo,bm:go,im:vo,bothm:xo,xp:yo,yp:zo,bp:So,ip:ko,bothp:jo},fst:{i:"italic",n:$t,o:"oblique"},pos:{r:"relative",a:"absolute",f:At,s:"static"},posv:{b:it,t:Q,c:B,l:st,r:ot,lt:mr,rt:br,lb:fr,rb:hr},csz:{cv:"cover",cn:"contain",a:kt,f:jt,sd:pe},cf:{a:kt,b:"balance"},cs:{no:St,all:ht},box:{c:fe,p:me,b:be,f:he,s:de,v:$e,nc:ue,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:Rt,l:Vt},mm:{a:Rt,l:Vt,m:"match-source"},bgbm:{n:$t,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Zt+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:nt,lum:"luminosity",cd:qa,cb:Oa,hl:Ea,sl:Aa},bga:{s:Kt,f:At,l:"local"},ls:{no:St,dt:"dotted",i:dr,h:Mt,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:$t,s:V,is:Cr}},el={a:Wi,an:Ki,adur:Ti,adel:Xi,aps:Zi,afm:Bi,adir:Pi,aic:Li,atf:Ci,trn:Mi,tdur:Ji,tdel:Ui,tb:Di,tp:Gi,ttf:Hi,ba:vc,bb:xc,bor:yt,bw:fs,br:Ss,bs:Ms,bls:Ys,brs:Ds,bts:Gs,bbs:Hs,bbls:Js,bis:Us,bbss:Fs,bbes:Qs,biss:te,bies:se,brw:$s,blw:ds,btw:us,bbw:hs,btlr:qs,btrr:Os,bbrr:js,bblr:ks,biw:vs,bblw:gs,bbew:ws,bbsw:xs,bisw:ys,biew:zs,besr:Rs,beer:Ns,bssr:As,bser:Es,bc:Vs,blc:Ws,brc:Is,btc:Ks,bbc:Cs,bblc:Ps,bic:Ls,bbsc:Ts,bbec:Xs,bisc:Zs,biec:Bs,bg:ca,bgi:la,bgc:na,c:nt,cmix:Na,csh:is,acc:ia,ctc:ea,st:qt,stw:za,sto:Sa,fi:jt,fir:ka,fio:ja,flt:ra,bf:oa,g:Ee,f:Ve,dis:"display",jc:Ze,ji:Be,ai:Me,pi:Ie,ac:Ye,gt:Ge,gtr:He,gtc:Je,gp:Ne,rg:Ue,cg:Fe,as:De,js:Qe,gr:ti,gre:si,grs:ei,gc:ii,gce:ri,gcs:oi,fd:Te,fw:Xe,fs:Le,fg:Pe,fb:Ce,ord:"order",dir:I,m:Pt,ml:ke,mr:qe,mt:je,mb:Oe,p:Ct,pl:we,pr:ze,pt:ye,pb:Se,oc:ee,ow:ie,os:re,oo:oe,l:st,r:ot,t:Q,b:it,ins:dr,ib:xr,ibe:wr,ibs:yr,ii:zr,iie:Sr,iis:kr,wc:"will-change",app:"appearance",pe:ta,cur:"cursor",toa:"touch-action",us:"user-select",res:Kc,lis:Qt,lisp:ss,lisi:es,list:ts,sb:Tr,ssa:_o,sss:mo,sst:bo,sm:Xr,sml:Mr,smr:Yr,smt:Zr,smb:Br,sp:Qr,spl:eo,spr:io,spt:to,spb:so,smbl:Dr,smbe:Gr,smbs:Hr,smi:Jr,smie:Ur,smis:Fr,spbl:ro,spbe:oo,spbs:co,spi:ao,spie:lo,spis:no,osb:fo,ar:"aspect-ratio",w:at,maxw:Ar,minw:Nr,h:dt,minh:Vr,maxh:Rr,bl:Wr,maxb:Ir,minb:Kr,i:Cr,mini:Lr,maxi:Pr,per:pr,pero:_r,rot:nr,sc:vt,tf:ft,tfb:ur,tfo:gr,tfs:vr,tr:lr,z:It,lts:"letter-spacing",lh:nc,lb:pc,fst:Fo,ff:Uo,fwg:Jo,fsz:Ho,fsn:Qo,fv:tc,fva:sc,fvc:ec,fvea:oc,fvl:cc,fvn:ic,fvs:ac,fvp:rc,tt:Vo,td:qo,tdt:Eo,tds:Ao,tdl:No,ta:Wo,to:Ko,trg:Po,ts:Lo,te:To,tep:Zo,tec:Xo,tes:Bo,tw:Mo,twm:Yo,tws:Do,va:Io,ws:Ro,tor:Co,wb:Go,wm:lc,hyp:"hyphens",bsz:Er,bsh:_e,pos:zt,cf:ai,crs:pi,crc:ni,crw:_i,cs:mi,cw:bi,cc:ci,bgcl:pa,bgp:ma,bgpx:ba,bgpy:fa,bgbm:$a,bgo:_a,bgr:ha,bga:ua,bgsz:da,mcl:zi,mcm:Si,mm:ki,mo:ji,mp:qi,mre:Oi,msz:Ei,mtp:Ai,obf:le,obp:ne,con:q,ov:_t,ovx:ce,ovy:ae,v:gt,cv:ya,o:ut,zi:"z-index",zm:It,lgr:va,rgr:xa,cgr:wa,inf:"infinite",cnt:Ia,cnn:Ka,r_:":root",u_:"*",h_:":hover",f_:":focus",fv_:":focus-visible",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",rq_:":required",o_:":optional",m_:":modal",l_:":link",fc_:Ca+Ta,lc_:Pa+Ta,oc_:La+Ta,odd_:Za+"(odd)",even_:Za+"(even)",ft_:Ca+Xa,lt_:Pa+Xa,ot_:La+Xa,bef_:Ua,aft_:Ja,bd_:"::backdrop",ba_:`&${Ua},&${Ja}`,pl_:":placeholder",light_:Ya+`(${Ma}: light)`,dark_:Ya+`(${Ma}: dark)`,red_m_:Ya+"(prefers-reduced-motion: reduce)",ori_l_:Ya+`(${Gt}: landscape)`,ori_p_:Ya+`(${Gt}: portrait)`,gam_srgb_:Ya+`(${Da}: srgb)`,gam_p3_:Ya+`(${Da}: p3)`,gam_rec_:Ya+`(${Da}: rec2020)`,con_no_:Ya+`(${Ga}: no-preference)`,con_m_:Ya+`(${Ga}: more)`,con_l_:Ya+`(${Ga}: less)`,con_c_:Ya+`(${Ga}: custom)`,scr_no_:Ya+`(${Ha}: none)`,scr_ini_:Ya+`(${Ha}: initial-only)`,scr_en_:Ya+`(${Ha}: enabled)`},il={$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}},rl={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:sl},ol="{1}rem",cl="{1}deg",al="calc(100% * {1})",ll="span {1}",nl={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:al,ra:ll,ca:ll,ins:al,sz:ol,sp:ol,rad:ol,th:ol,bp:ol,cbp:ol,fsz:ol,lsp:ol,tr:ol,sk:cl,rot:cl,perc:al,time:"{1}ms",rem:"{1}px"},pl=t=>"object"==typeof t,_l="style-provider",ml=t=>t.size.toString(36),bl=Object.entries,fl=(t,s,e)=>bl(t).reduce(s,e),hl=t=>"object"==typeof t,dl=t=>`{${t}}`,$l=Object.assign.bind(Object),ul=(t,s)=>`${t}:${s};`,gl=(t,s)=>["@property",t,dl(ul("syntax",s.syn||'"*"')+ul("inherits",s.inh||!1)+(s.ini?ul("initial-value",s.ini):""))].join(" "),vl=t=>`var(${t})`,xl=({l:t,c:s,h:e,a:i=1})=>`oklch(${t} ${s} ${e} / ${i})`,wl=["l","c","h","a"];class yl{constructor(t){var s,e;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=rl,this._compKeys={},this._compValues={},this.parseSelector=t=>{let s,e,i,r,o;return[s,o]=t.split(":"),s.startsWith("__")?[e,i,r]=s.slice(2).split("_"):[e,i,r]=s.split("_"),{e:e,m:i,mv:r,s:o}},this.expandSelector=(t,s)=>{const{e:e,m:i,mv:r,s:o}=this.parseSelector(s),c=o&&this._getStateSelector(o),a=this.bem.selector({b:t,e:e,m:i,mv:r,s:o});let l="";return(null==c?void 0:c.startsWith("@"))?l=c+"{"+a:(null==c?void 0:c.startsWith(":"))&&(l=a+"{&"+c),[this.bem.selector({b:t,e:e,m:i,mv:r}),l]},this._prepareVarName=(...t)=>["-",this._prefix,...t].join("-"),this._prepareKeyframesName=(...t)=>[this._prefix,...t].join("-"),this.compile=(t,s)=>{const{_:e,kf:i,k:r={},v:o={},c:c}=s,a=this.bem.selector.bind(this),l=this.parseSelector;let n=$l({},c),p=$l({},r),_=$l({_:{}},o),m="";if(e)for(let s in e){const i=e[s];if("c"===i.typ){const e={};wl.forEach((r=>{const o=s+r,c=this._prepareVarName(t,o);e[r]=c,p["_"+o]=e[r],m+=gl(c,i)})),_._[s]=xl({l:vl(e.l),c:vl(e.c),h:vl(e.h),a:vl(e.a)}),i.all&&(n["_"+s+"l"]=`&lig=>${this._prepareVarName(t,s+"l")}:{1}`,n["_"+s+"c"]=`&chr=>${this._prepareVarName(t,s+"c")}:{1}`,n["_"+s+"h"]=`&hue=>${this._prepareVarName(t,s+"h")}:{1}`,n["_"+s+"a"]=`&alp=>${this._prepareVarName(t,s+"a")}:{1}`)}else{const e=this._prepareVarName(t,s);p["_"+s]=e,_._[s]=vl(e),m+=gl(e,i)}}const b=t=>p[t]||this._compKeys[t]||el[t],f=t=>_[t]||this._compValues[t]||this._params.root[t],h=t=>t.replaceAll(/\{(.+?)\}/g,((t,s)=>{const[e,i]=s.split(".");if(i){const t=f(e);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+(b(e)||"")})),d=t=>{const s=t.split("?");let e;for(let t in s){const i=s[t],[r,o]=i.split("=>"),c=r.match(/(\w+)(\[[\w,]+\])?/);if(!c)continue;const[a,l,n]=c,p=f(l);if(!p)continue;e=p;let _=bl(e);const m=null==n?void 0:n.slice(1,-1).split(",");if(m){const t=new Set(m);_=_.filter((([s,e])=>t.has(s)))}if(o){let[t,s]=o.split("|");void 0===s&&(s=t,t=""),_=_.map((([e,i])=>[t.replace("{0}",e)||e,h(s.replaceAll("{1}",""+i))]))}(m||o)&&(e=Object.fromEntries(_));break}return e};function $(s,e,i){var r,o,c,n;let p=""+s;if((null===(r=null==s?void 0:s.startsWith)||void 0===r?void 0:r.call(s,"$"))&&(p=b(s.slice(1)),!p))return"";if(Array.isArray(e))return $(p,Object.assign({},...e.map((t=>"string"==typeof t?d(t):t))),i);if(null==e)return"";if(hl(e)){const s=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:i,m:r,mv:o}=l(p);return r&&"string"!=typeof o?fl(e,((e,[o,c])=>{let l;return l=hl(c)?fl(c,((t,s)=>t+$(...s,p)),""):c+";",e+s+a({b:t,e:i,m:r,mv:o})+dl(l)}),""):s+a({b:t,e:i,m:r,mv:o})+dl(fl(e,((t,s)=>t+$(...s,p)),""))}return s+p+dl(fl(e,((t,s)=>t+$(...s,p)),""))}{let t=""+e;return(null===(c=null==t?void 0:t.startsWith)||void 0===c?void 0:c.call(t,"&"))?$(p,d(t.slice(1)),i):(null===(n=null==t?void 0:t.includes)||void 0===n?void 0:n.call(t,"{"))?$(p,h(t),i):ul(p.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let u="";if(i)for(let s in i){const e=i[s],r=this._prepareKeyframesName(t,s);p["kf_"+s]=r,u+=`@keyframes ${r} `+dl(fl(e,((t,[s,e])=>t+s+(String(+s)===s?"%":"")+dl(fl(e,((t,s)=>t+$(...s)),""))),""))}return m+u+fl(n,((t,s)=>t+$(...s)),"")};const{mode:i="a",prefix:r="eff",initkey:o="init",params:c,themes:a,units:l,rootStyle:n=il}=t;this._mode=i,this._prefix=r,this._initkey=o,this.bem=(t=>{const s=t=>Object.entries(t).reduce(((t,[s,e])=>(void 0!==e&&t.push(s+(e?"-"+e:"")),t)),[]).join(" "),e=(t,s)=>Object.defineProperties({[t]:s},{k:{value:t},v:{value:s}});return"c"===t.mode?{selector:({b:t,e:s,m:e,mv:i,s:r})=>`.${t}${(s?"__"+s:"")+(e?"_"+e:"")+(e&&i?"_"+i:"")+(r?":"+r:"")}`,attr:t=>i=>r=>{let o=r||"";pl(o)&&(o=s(o));const c=t+(i?"__"+i:"");return o=c+(o?" "+(null==o?void 0:o.split(" ").map((t=>c+"_"+t.split("-").join("_"))).join(" ")):""),e("class",o)}}:{selector:({b:t,e:s,m:e,mv:i,s:r})=>`[data-${t}${s?"-"+s:""}${e||r?'~="'+(e||"")+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,attr:t=>i=>r=>{const o=`data-${t}${i?"-"+i:""}`;let c=r||"";return pl(c)&&(c=s(c)),e(o,c)}}})({mode:this._mode});const{values:p,keys:_}=(({themes:t,units:s})=>{let e=rl,i=Object.assign(Object.assign({},nl),s||{});if(t)for(const s in t)e[s]=$l(e[s]||{},t[s]);for(const t in i)e.root[t]=e.root[t]&&Object.fromEntries(bl(e.root[t]).map((([s,e])=>[s,i[t].replace("{1}",""+e)])));const r={};return e.root.bp&&bl(e.root.bp||{}).forEach((([t,s])=>{r[`min_${t}_`]=`@media (min-width:${s})`,r[`max_${t}_`]=`@media (max-width:${s})`})),e.root.cbp&&bl(e.root.bp||{}).forEach((([t,s])=>{r[`cmin_${t}_`]=`@container (min-width:${s})`,r[`cmax_${t}_`]=`@container (max-width:${s})`})),{values:e,keys:r}})({themes:a||c,units:l});if(this._params=p,this._compKeys=_,this._initkey){const t=this._params,{root:i}=t,r=function(t,s){var e={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&s.indexOf(i)<0&&(e[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)s.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(e[i[r]]=t[i[r]])}return e}(t,["root"]),o=bl(r),c={_mode:{root:{}},_theme:{root:{}}},a={};o.forEach((([t,s])=>{c._mode[t]||(c._mode[t]={}),bl(s).forEach((([s,e])=>{bl(e).forEach((([e,r])=>{const o=this._prepareVarName(s,e);c._mode[t][o]=r,c._mode.root[o]||(c._mode.root[o]=i[s][e],a[s]||(a[s]={}),a[s][e]=`var(${o})`)}))}))})),c._theme=c._mode,this._compValues=a,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},c),{$r_:$l(c._mode.root,n)}),(null===(s=c._mode)||void 0===s?void 0:s.dark)?{$dark_:{$r_:c._mode.dark}}:{}),(null===(e=c._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:c._mode.light}}:{})})}}_getStateSelector(t){const s=t+"_";return this._compKeys[s]||el[s]||t}}class zl{constructor(t){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.getAll=()=>this._stylesheets,this.add=(t,s)=>{if(!this._stylesheets[t])return this._stylesheets[t]=s,this._styleSheetsArray.push(s),this.cacheRules(t,s),this.notify(),!0},this.remove=t=>{const s=this.get(t);if(!s)return;const e=this._styleSheetsArray.findIndex((t=>t===s));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[t],delete this._rules[t],delete this._expandedSelectors[t]),this.notify(),!0},this.pack=(t,s)=>{const e=new CSSStyleSheet;if(e.replaceSync(s),e.cssRules.length)return this.add(t,e);console.log(`StyleSheet '${t}' is empty`)},this.cacheRules=(t,s)=>{[...s.cssRules].forEach((s=>{const e=s.cssText.split(" {")[0];e&&(this._rules[t]||(this._rules[t]={}),this._rules[t][e]=s)})),this._expandedSelectors[t]=new Set},this.getExpandedSelectors=t=>this._expandedSelectors[t],this.expandRule=(t,s,e)=>{const i=this._rules[t];if(!i)return void console.log(`No stylesheet with key '${t}'`);const r=i[s];if(!r)return void console.log(`No rule with selector '${s}' in the '${t}' stylesheet`);const[o,c]=r.cssText.split("{"),a=r.parentStyleSheet;if(a){const s=a.cssRules,r=a.insertRule(e+"{"+c+"}".repeat([...e.matchAll(/{/g)].length),s.length);return i[e]=s[r],this._expandedSelectors[t].add(e),!0}},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const s=this._listeners.findIndex((s=>s.deref()===t));s>=0&&this._listeners.splice(s,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,s)=>{const e=s.deref();return e&&(this.apply(e),t.push(s)),t}),[])},t)for(let s in t)this.pack(s,t[s])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Sl=((...t)=>{return(s=Object.fromEntries(t.map((t=>[t,t]))))&&i(s,(t=>t+"deg"));var s})(-20,-15,-5,10,90),kl="In",jl="Out",ql="Down",Ol="Up",El="Left",Al="Right",Nl="zoom",Rl=Nl+kl,Vl=Nl+jl,Wl="pulse",Il="bounce",Kl=Il+kl,Cl=Il+jl,Pl="fade",Ll=Pl+kl,Tl=Ll+ql,Xl=Ll+Ol,Zl=Ll+El,Bl=Ll+Al,Ml=Pl+jl,Yl=Ml+ql,Dl=Ml+Ol,Gl=Ml+El,Hl=Ml+Al,Jl="flip",Ul=Jl+kl+"x",Fl=Jl+kl+"y",Ql=Jl+jl+"x",tn=Jl+jl+"y",sn="slide",en=sn+kl,rn=en+ql,on=en+Ol,cn=en+Al,an=en+El,ln=sn+jl,nn=ln+ql,pn=ln+Ol,_n=ln+Al,mn=ln+El,bn="heartBeat",fn="perspective"+e("25rem");var hn,dn={kf:{[Rl]:{0:{$o:0,$tf:r(s(.25,.25,.25))},50:{$o:1}},[Vl]:{0:{$o:1},50:{$o:0,$tf:r(s(.25,.25,.25))},to:{$o:0}},[Wl]:{0:{$tf:o(1)},50:{$tf:r(s(1.05,1.05,1.05))},to:{$tf:o(1)}},[bn]:{0:{$tf:c(1)},15:{$tf:c(1.25)},30:{$tf:c(1)},45:{$tf:c(1.25)},70:{$tf:c(0)}},[Kl]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:r(s(.25,.25,.25))},20:{$tf:r(s(1.1,1.1,1.1))},40:{$tf:r(s(.9,.9,.9))},60:{$o:1,$tf:r(s(1.05,1.05,1.05))},80:{$tf:r(s(.95,.95,.95))},to:{$o:1,$tf:o(1)}},[Cl]:{20:{$tf:r(s(.9,.9,.9))},"50%, 55%":{$o:1,$tf:r(s(1.1,1.1,1.1))},to:{$o:0,$tf:r(s(.3,.3,.3))}},[Ll]:{0:{$o:0},to:{$o:1}},[Tl]:{0:{$o:0,$tf:a(0,"100%",0)},to:{$o:1,$tf:l(0)}},[Zl]:{0:{$o:0,$tf:a("-100%",0,0)},to:{$o:1,$tf:l(0)}},[Bl]:{0:{$o:0,$tf:a("-100%",0,0)},to:{$o:1,$tf:l(0)}},[Xl]:{0:{$o:0,$tf:a(0,"100%",0)},to:{$o:1,$tf:l(0)}},[Ml]:{0:{$o:1},to:{$o:0}},[Yl]:{0:{$o:1},to:{$o:0,$tf:a(0,"-100%",0)}},[Gl]:{0:{$o:1},to:{$o:0,$tf:a("-100%",0,0)}},[Hl]:{0:{$o:1},to:{$o:0,$tf:a("100%",0,0)}},[Dl]:{0:{$o:1},to:{$o:0,$tf:a(0,"-100%",0)}},[Ul]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(fn,n(Sl[90]))},40:{$atf:"{ttf.ei}",$tf:t(fn,n(Sl[-20]))},60:{$o:1,$tf:t(fn,n(Sl[10]))},80:{$tf:t(fn,n(Sl[-5]))},to:{$tf:fn}},[Fl]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(fn,p(Sl[90]))},40:{$atf:"{ttf.ei}",$tf:t(fn,p(Sl[-20]))},60:{$o:1,$tf:t(fn,p(Sl[10]))},80:{$tf:t(fn,p(Sl[-5]))},to:{$tf:fn}},[Ql]:{0:{$tf:fn},30:{$o:1,$tf:t(fn,n(Sl[-20]))},to:{$o:0,$tf:t(fn,n(Sl[90]))}},[tn]:{0:{$tf:fn},30:{$o:1,$tf:t(fn,p(Sl[-15]))},to:{$o:0,$tf:t(fn,p(Sl[90]))}},[rn]:{0:{$tf:a(0,"-100%",0),$v:"{v.v}"},to:{$tf:l(0)}},[an]:{0:{$tf:a("-100%",0,0),$v:"{v.v}"},to:{$tf:l(0)}},[cn]:{0:{$tf:a("100%",0,0),$v:"{v.v}"},to:{$tf:l(0)}},[on]:{0:{$tf:a(0,"100%",0),$v:"{v.v}"},to:{$tf:l(0)}},[nn]:{0:{$tf:l(0)},to:{$tf:a(0,"100%",0),$v:"{v.h}"}},[mn]:{0:{$tf:l(0)},to:{$tf:a("-100%",0,0),$v:"{v.h}"}},[_n]:{0:{$tf:l(0)},to:{$tf:a("100%",0,0),$v:"{v.h}"}},[pn]:{0:{$tf:l(0)},to:{$tf:a(0,"-100%",0),$v:"{v.h}"}}},c:(hn=[Rl,Vl,Wl,bn,Kl,Cl,Ll,Tl,Zl,Bl,Xl,Ml,Yl,Gl,Hl,Dl,Ul,Fl,Ql,tn,rn,an,cn,on,nn,mn,_n,pn],hn.reduce(((t,s)=>(t["_"+s+"_"]={$an:`{kf_${s}}`},t)),{}))},$n={c:{$u_:{$p:0,$m:0,$bor:"none",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[b(s("a",(t=>t+":link")("a"),(t=>t+":visited")("a"),(t=>t+":hover")("a")))]:{$td:"none"},[b("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[b("menu,ol,ul")]:{$ls:"{ls.no}"},[b("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[b(s(m("input"),_("input"),m("button"),_("button")))]:{$o:"none"}}},un=Object.freeze({__proto__:null,kf:dn,reset:$n});const gn="{_.sz}",vn=`calc(-1 * ${gn})`,xn=`calc(0.5 * ${gn})`,wn=`calc(-0.5 * ${gn})`,yn="{_.c}";var zn={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:t(gn,0,xn,wn,yn)},l:{$bsh:t(vn,0,xn,wn,yn)},t:{$bsh:t(0,vn,xn,wn,yn)},b:{$bsh:t(0,gn,xn,wn,yn)},x:{$bsh:s(t(gn,0,xn,wn,yn),t(vn,0,xn,wn,yn))},y:{$bsh:s(t(0,vn,xn,wn,yn),t(0,gn,xn,wn,yn))},f:{$bsh:t(0,0,gn,xn,yn)},tr:{$bsh:t(gn,vn,gn,wn,yn)},tl:{$bsh:t(vn,vn,gn,wn,yn)},br:{$bsh:t(gn,gn,gn,wn,yn)},bl:{$bsh:t(vn,gn,gn,wn,yn)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const Sn=["sz","perc","szu"],kn=["cqw","cqmin","cqmax"],jn=["vw","vmin","vmax"],qn=["cqh","cqmin","cqmax"],On=["vh","vmin","vmax"];var En={c:{_w:[...Sn.map((t=>`&${t}=>{w}:{1}`)),...kn.map((t=>`&${t}=>{0}${t}|{w}:{1}`)),...jn.map((t=>`&${t}=>{0}${t}|{w}:{1}`))],_maxw:[...Sn.map((t=>`&${t}=>{maxw}:{1}`)),...kn.map((t=>`&${t}=>{0}${t}|{maxw}:{1}`)),...jn.map((t=>`&${t}=>{0}${t}|{maxw}:{1}`))],_minw:[...Sn.map((t=>`&${t}=>{minw}:{1}`)),...kn.map((t=>`&${t}=>{0}${t}|{minw}:{1}`)),...jn.map((t=>`&${t}=>{0}${t}|{minw}:{1}`))],_h:[...Sn.map((t=>`&${t}=>{h}:{1}`)),...qn.map((t=>`&${t}=>{h}:{1}`)),...On.map((t=>`&${t}=>{0}${t}|{h}:{1}`))],_maxh:[...Sn.map((t=>`&${t}=>{maxh}:{1}`)),...qn.map((t=>`&${t}=>{0}${t}|{maxh}:{1}`)),...On.map((t=>`&${t}=>{0}${t}|{maxh}:{1}`))],_minh:[...Sn.map((t=>`&${t}=>{minh}:{1}`)),...qn.map((t=>`&${t}=>{0}${t}|{minh}:{1}`)),...On.map((t=>`&${t}=>{0}${t}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const An=["sz","perc","szu"],Nn=["cqb","cqmin","cqmax"],Rn=["vw","vh","vmin","vmax"],Vn=["cqi","cqmin","cqmax"];var Wn={c:{_b:[...An.map((t=>`&${t}=>{b}:{1}`)),...Nn.map((t=>`&${t}=>{0}${t}|{b}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{b}:{1}`))],_maxb:[...An.map((t=>`&${t}=>{maxb}:{1}`)),...Nn.map((t=>`&${t}=>{0}${t}|{maxb}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{maxb}:{1}`))],_minb:[...An.map((t=>`&${t}=>{minb}:{1}`)),...Nn.map((t=>`&${t}=>{0}${t}|{minb}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{minb}:{1}`))],_i:[...An.map((t=>`&${t}=>{i}:{1}`)),...Vn.map((t=>`&${t}=>{0}${t}|{i}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{i}:{1}`))],_maxi:[...An.map((t=>`&${t}=>{maxi}:{1}`)),...Vn.map((t=>`&${t}=>{0}${t}|{maxi}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{maxi}:{1}`))],_mini:[...An.map((t=>`&${t}=>{mini}:{1}`)),...Vn.map((t=>`&${t}=>{0}${t}|{mini}:{1}`)),...Rn.map((t=>`&${t}=>{0}${t}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},In={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},Kn=Object.freeze({__proto__:null,a:{c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},ac:{_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$acc:"{_.ac}"},_cc_:{$ctc:"{_.cr}"}}},ag:{c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},b:{_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},be:{c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},bg:{c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}},bx:zn,c:{_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},col:{_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},f:{c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},fc:{c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},fi:{c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},gc:{c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:">r=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:">c=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},gi:{c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},i:{c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}},ind:{c:{_m:["&sp=>{m}:{1}","&szu[a,no]=>{m}:{1}"],_mx:["&sp=>{ml}:{1};{mr}:{1}","&szu[a,no]=>{ml}:{1};{mr}:{1}"],_my:["&sp=>{mt}:{1};{mb}:{1}","&szu[a,no]=>{mt}:{1};{mb}:{1}"],_mt:["&sp=>{mt}:{1}","&szu[a,no]=>{mt}:{1}"],_ml:["&sp=>{ml}:{1}","&szu[a,no]=>{ml}:{1}"],_mr:["&sp=>{mr}:{1}","&szu[a,no]=>{mr}:{1}"],_mb:["&sp=>{mb}:{1}","&szu[a,no]=>{mb}:{1}"],_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},mk:{c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},o:{_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},obj:{c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},sc:{_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},sce:{c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},sz:En,sze:Wn,t:{c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},tf:In,tx:{c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},u:{c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},v:{c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}}});!function(t){const s=(null==t?void 0:t.keygen)||ml;customElements.define((null==t?void 0:t.name)||_l,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var t;return null!==(t=this.getAttribute("initkey"))&&void 0!==t?t:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var s;const e=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return e?JSON.parse(e):(null==t?void 0:t.config)||{}},this.compileStyleSheet=(t,s)=>{var e,i;const r=null===(e=this.processor)||void 0===e?void 0:e.compile(t,s);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(t,r)))return this._sources.set(s,t),!0},this.useStyleSheet=t=>{let e=this._sources.get(t);return e||(e=this.prefix+s(this._sources),this.compileStyleSheet(e,t)),this.resolveStyleSheet(e)},this.expandStyleSheet=(t,s)=>{var e;const i=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(t);if(this.processor&&i){const e=new Set(s).difference(i);let r=e.size;if(r&&this.processor.expandSelector){const s=this.processor.expandSelector;return e.keys().forEach((e=>{const[i,o]=s(t,e);o?this.manager.expandRule(t,i,o):r--})),r}}},this.processStyles=(t,s)=>{if(t)for(let s in t){const e=t[s];this.compileStyleSheet(s,e)}if(s)for(let t in s){const e=s[t];this.expandStyleSheet(t,e)}return!0},this.resolveStyleSheet=t=>this.processor.bem.attr(t)}connectedCallback(){const t=this.getSettings(),{params:s,themes:e,styles:i,ext:r,units:o,rootStyle:c}=t,a=this.initkey;this.processor=function(t){return new yl(t)}({prefix:this.prefix,mode:this.mode,initkey:a,params:s,rootStyle:c,themes:e,units:o}),this.manager=function(t){return new zl(t)}(a?{[a]:`${_l} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(i,r),null===this.isolated&&this.manager.registerNode(document)}})}({config:{styles:Object.assign(Object.assign({},Kn),un)}});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Effcss v1.3.
|
|
2
|
+
* Effcss v1.3.6
|
|
3
3
|
* {@link https://gitverse.ru/msabitov/effcss}
|
|
4
4
|
* Copyright (c) Marat Sabitov
|
|
5
5
|
* @license Apache 2.0
|
|
6
6
|
*/
|
|
7
|
-
"function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join(","),t="-",s=" ",i="-x",r="-y",n="down",o="horizontal",l="vertical",a="text",c=a+t,p="font-",h="column",m=h+t,d="max-",b="min-",f="content",u=f+"s",_="-items",g="self",v="inline",y="block",x="size",w="-radius",S="direction",$="outline",j="style",k=t+j,O="end",z=t+O,q="start",A=t+q,E="center",N="word",V="line",R="break",W=R+t,I="wrap",K="no"+I,C="rule",P="object",T="top",L=t+T,M="left",B=t+M,G="bottom",H=t+G,J="right",Z=t+J,D="width",F=t+D,Q="color",U=t+Q,X="overflow",Y="align",ee="type",te="transform",se="all",ie="height",re="normal",ne="opacity",oe="visibility",le="scale",ae="box",ce=t+ae,pe="border",he="position",me="none",de="auto",be="fill",fe="stroke",ue="reverse",_e="space",ge="fixed",ve="origin",ye="alpha",xe="luminance",we="clip",Se="zoom",$e="scroll",je="padding",ke="margin",Oe="both",ze="mode",qe="repeat",Ae="light",Ee="linear",Ne="hidden",Ve="shadow",Re="behavior",We="orientation",Ie="name",Ke="after",Ce="before",Pe="image",Te="list"+k,Le=Te+t+ee,Me=Te+t+he,Be=Te+t+Pe,Ge=Q+"-scheme",He=pe+H,Je=pe+B,Ze=pe+Z,De=pe+L,Fe=pe+t+y,Qe=pe+t+v,Ue=Fe+A,Xe=Fe+z,Ye=Qe+A,et=Qe+z,tt=pe+F,st=He+F,it=Je+F,rt=Ze+F,nt=De+F,ot=Fe+F,lt=Qe+F,at=Ue+F,ct=Xe+F,pt=Ye+F,ht=et+F,mt=pe+w,dt=He+B+w,bt=He+Z+w,ft=De+B+w,ut=De+Z+w,_t=pe+A+z+w,gt=pe+A+A+w,vt=pe+z+z+w,yt=pe+z+A+w,xt=pe+U,wt=Je+U,St=Ze+U,$t=De+U,jt=He+U,kt=Fe+U,Ot=Qe+U,zt=Ue+U,qt=Xe+U,At=Ye+U,Et=et+U,Nt=pe+k,Vt=Je+k,Rt=Ze+k,Wt=De+k,It=He+k,Kt=Fe+k,Ct=Qe+k,Pt=Ue+k,Tt=Xe+k,Lt=Ye+k,Mt=et+k,Bt=$+U,Gt=$+F,Ht=$+k,Jt=$+t+"offset",Zt=X+i,Dt=X+r,Ft=P+t+"fit",Qt=P+t+he,Ut=le+t+n,Xt=ae+t+Ve,Yt=je+ce,es=pe+ce,ts=f+ce,ss=be+ce,is=fe+ce,rs="view"+ce,ns="no-"+we,os=qe+i,ls=qe+r,as="no-"+qe,cs=je+B,ps=je+L,hs=je+Z,ms=je+H,ds=ke+B,bs=ke+L,fs=ke+Z,us=ke+H,_s="grid",gs="row",vs="gap",ys="justify",xs="flex",ws=xs+t,Ss="place"+_,$s=v+t+xs,js=ws+"basis",ks=ws+"grow",Os=ws+"shrink",zs=ws+S,qs=ws+I,As=ys+t+f,Es=ys+_,Ns=Y+_,Vs=Y+t+f,Rs=Y+t+g,Ws=_s+t+"template",Is=Ws+t+gs+"s",Ks=Ws+t+h+"s",Cs=gs+t+vs,Ps=m+vs,Ts=ys+t+g,Ls=_s+t+gs,Ms=Ls+z,Bs=Ls+A,Gs=_s+t+h,Hs=Gs+z,Js=Gs+A,Zs=m+"count",Ds=m+be,Fs=m+C,Qs=Fs+U,Us=Fs+k,Xs=Fs+F,Ys=m+"span",ei=h+F,ti=gs+t+ue,si=m+ue,ii=I+t+ue,ri=xs+z,ni=xs+A,oi=_e+"-between",li=_e+"-around",ai=_e+"-evenly",ci=v+t+_s,pi="mask-",hi=pi+we,mi=pi+"composite",di=pi+ze,bi=pi+ve,fi=pi+he,ui=pi+qe,_i=pi+x,gi=pi+ee,vi="timing-function",yi="delay",xi="duration",wi="animation",Si=wi+t,$i=Si+Ie,ji=Si+vi,ki=Si+S,Oi=Si+"iteration-count",zi=Si+xi,qi=Si+yi,Ai=Si+"play-state",Ei=Si+be+t+ze,Ni="transition",Vi=Ni+t,Ri=Vi+Re,Wi=Vi+"property",Ii=Vi+vi,Ki=Vi+xi,Ci=Vi+yi,Pi="alternate",Ti=Pi+t+ue,Li="-out",Mi="ease",Bi=Mi+"-in",Gi=Bi+Li,Hi=Mi+Li,Ji="step",Zi=Ji+A,Di=Ji+z,Fi="translate",Qi="rotate",Ui="perspective",Xi=Ui+t+ve,Yi=M+s+T,er=J+s+T,tr=M+s+G,sr=J+s+G,ir="inset",rr=ir+t,nr=te+ce,or=te+t+ve,lr=te+k,ar=rr+y,cr=ar+z,pr=ar+A,hr=rr+v,mr=hr+z,dr=hr+A,br="fit-"+f,fr=b+f,ur=d+f,_r=ae+"-sizing",gr=d+D,vr=b+D,yr=d+ie,xr=b+ie,wr=y+t+x,Sr=d+wr,$r=b+wr,jr=v+t+x,kr=d+jr,Or=b+jr,zr=$e+t+Re,qr=$e+t+ke,Ar=qr+L,Er=qr+H,Nr=qr+B,Vr=qr+Z,Rr=qr+t+y,Wr=Rr+z,Ir=Rr+A,Kr=qr+t+v,Cr=Kr+z,Pr=Kr+A,Tr=$e+t+je,Lr=Tr+L,Mr=Tr+H,Br=Tr+B,Gr=Tr+Z,Hr=Tr+t+y,Jr=Hr+z,Zr=Hr+A,Dr=Tr+t+v,Fr=Dr+z,Qr=Dr+A,Ur=$e+t+"snap",Xr=Ur+t+Y,Yr=Ur+t+"stop",en=Ur+t+ee,tn="over"+zr,sn=" mandatory",rn="x"+sn,nn="y"+sn,on=y+sn,ln=v+sn,an=Oe+sn,cn=" proximity",pn="x"+cn,hn="y"+cn,mn=y+cn,dn=v+cn,bn=Oe+cn,fn=c+"decoration",un=fn+t+Q,_n=fn+t+"thickness",gn=fn+t+j,vn=fn+t+V,yn="white-"+_e,xn=c+te,wn=c+Y,Sn=l+t+Y,$n=c+X,jn=c+We,kn=c+"rendering",On=c+Ve,zn=c+"emphasis",qn=zn+U,An=zn+t+he,En=zn+k,Nn=c+I,Vn=Nn+t+ze,Rn=Nn+k,Wn=N+t+R,In=p+x,Kn=p+"weight",Cn=p+"family",Pn=p+j,Tn=p+"synthesis",Ln=p+"variant",Mn=Ln+t+Pi+"s",Bn=Ln+"-caps",Gn=Ln+"-numeric",Hn=Ln+t+he,Jn=Ln+"-east-asian",Zn=Ln+"-ligatures",Dn=Ln+"-settings",Fn="writing-"+ze,Qn=V+t+ie,Un=V+t+R,Xn=V+"-through",Yn="over"+V,eo="under"+V,to="pre",so=to+t+V,io=to+t+I,ro=W+_e+"s",no=W+se,oo=W+N,lo=W+Ke,ao=W+Ce,co=o+"-tb",po=l+"-lr",ho=l+"-rl",mo="keep-"+se,bo="pointer",fo="pan",uo=fo+i,_o=fo+B,go=fo+Z,vo=fo+r,yo=fo+t+n,xo="pinch-"+Se,wo=l+t+a,So="grab",$o=So+"bing",jo="resize",ko="col-"+jo,Oo="row-"+jo,zo="n-"+jo,qo="e-"+jo,Ao="s-"+jo,Eo="w-"+jo,No="ne-"+jo,Vo="ew-"+jo,Ro="nw-"+jo,Wo="se-"+jo,Io="sw-"+jo,Ko="ns-"+jo,Co="nesw-"+jo,Po="nwse-"+jo,To=Se+t+"in",Lo=Se+t+"out",Mo=bo+"-events",Bo=$e+t+he,Go="caret"+U,Ho="accent"+U,Jo="filter",Zo="backdrop-"+Jo,Do="background",Fo=Do+t,Qo=Fo+Pe,Uo=Fo+Q,Xo=Fo+we,Yo=Fo+ve,el=Fo+he,tl=el+i,sl=el+r,il=Fo+qe,rl=Fo+x,nl=Fo+"blend-"+ze,ol=Fo+"attachment",ll="gradient",al=Ee+t+ll,cl="radial-"+ll,pl="conic-"+ll,hl=f+t+oe,ml=fe+F,dl=fe+t+ne,bl=be+t+C,fl=be+t+ne,ul=Q+"-dodge",_l=Q+"-burn",gl="hard-"+Ae,vl="soft-"+Ae,yl=Q+"-mix",xl="revert",wl=xl+"-layer",Sl="container",$l=Sl+t+ee,jl=Sl+t+Ie,kl=":first-",Ol=":last-",zl=":only-",ql="child",Al="of-type",El=":nth-child",Nl="prefers-",Vl=Nl+Ge,Rl="@media",Wl=Q+"-gamut",Il=Nl+"contrast",Kl="scripting",Cl="::"+Ke,Pl="::"+Ce,Tl={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},Ll={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},Ml=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),Bl={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:Ml,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:fr,max:ur,fit:br},bp:{xs:30,sm:40,md:48,lg:64,xl:80},cbp:{xs:10,sm:20,md:30,lg:40,xl:48},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:Tl,vh:Tl,vmin:Tl,vmax:Tl,cqw:Tl,cqh:Tl,cqb:Tl,cqi:Tl,cqmin:Tl,cqmax:Tl,perc:Ll,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:Ll,uni:{ini:"initial",inh:"inherit",u:"unset",r:xl,rl:wl},ali:{s:q,e:O,c:E,st:"stretch",sb:oi,sa:li,se:ai,b:"baseline",fs:ni,fe:ri,no:me},dis:{g:_s,ig:ci,f:xs,if:$s,b:y,i:v},ca:Ml,co:Ml,ra:Ml,ro:Ml,fd:{r:gs,rr:ti,c:h,cr:si},fb:Ll,fo:Ml,fg:Ml,fs:Ml,fw:{w:I,nw:K,wr:ii},rep:{rx:os,ry:ls,r:qe,s:_e,ro:"round",nr:as},ttf:{l:Ee,e:Mi,ei:Bi,eo:Hi,eio:Gi,ss:Zi,se:Di},ws:{n:re,nw:K,p:to,pl:so,pw:io,bs:ro},wb:{n:re,ba:no,ka:mo,bw:oo},wm:{htb:co,vlr:po,vrl:ho},hyp:{no:me,m:"manual",a:de},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:Xn,o:Yn,u:eo},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-"+We},ta:{l:M,c:E,j:ys,r:J,s:q,e:O},tp:{all:se,col:e(Q,Uo,xt,un),icon:e(be,fe),flt:e(Jo,Zo),ind:e(je,ke),sz:e(D,gr,vr,ie,yr,xr),esz:e($r,wr,Sr,Or,jr,kr),o:ne,b:pe,f:xs,g:_s,pos:e(he,M,T,G,J),tf:e(te,Fi,le,Qi,"skew",Ui)},lb:{a:de,any:"anywhere",n:re,l:"loose",s:"strict"},ov:{h:Ne,s:$e,a:de,c:we,e:"ellipsis"},v:{h:Ne,v:"visible",c:"collapse",a:de},wc:{a:de,sp:Bo,c:u,tf:te,o:ne,i:ir,tfi:te+","+ir},afm:{no:me,f:"forwards",b:"backwards",both:Oe},adir:{r:ue,a:Pi,ar:Ti},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:re},app:{n:me,a:de},pe:{a:de,no:me,all:se,f:be,s:fe},cur:{h:"help",a:de,p:bo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:a,vt:wo,cp:"copy",m:"move",g:So,gng:$o,cr:ko,rr:Oo,nr:zo,er:qo,sr:Ao,wr:Eo,ner:No,ewr:Vo,nwr:Ro,ser:Wo,swr:Io,nsr:Ko,neswr:Co,nwser:Po,zi:To,zo:Lo},res:{n:me,v:l,h:o,b:Oe},toa:{a:de,no:me,px:uo,pl:_o,pr:go,py:vo,pu:"pan-up",pd:yo,pz:xo,m:"manipulation"},us:{n:me,t:a,all:se,a:de},sb:{a:de,s:"smooth"},sss:{n:re,a:"always"},sst:{n:me,x:"x",y:"y",b:y,i:v,both:Oe,xm:rn,ym:nn,bm:on,im:ln,bothm:an,xp:pn,yp:hn,bp:mn,ip:dn,bothp:bn},fst:{i:"italic",n:re,o:"oblique"},pos:{r:"relative",a:"absolute",f:ge,s:"static"},posv:{b:G,t:T,c:E,l:M,r:J,lt:Yi,rt:er,lb:tr,rb:sr},csz:{cv:"cover",cn:"contain",a:de,f:be,sd:Ut},cf:{a:de,b:"balance"},cs:{no:me,all:se},box:{c:ts,p:Yt,b:es,f:ss,s:is,v:rs,nc:ns,t:a},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:ye,l:xe},mm:{a:ye,l:xe,m:"match-source"},bgbm:{n:re,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ae+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Q,lum:"luminosity",cd:ul,cb:_l,hl:gl,sl:vl},bga:{s:$e,f:ge,l:"local"},ls:{no:me,dt:"dotted",i:ir,h:Ne,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:re,s:x,is:jr}},Gl={a:wi,an:$i,adur:zi,adel:qi,aps:Ai,afm:Ei,adir:ki,aic:Oi,atf:ji,trn:Ni,tdur:Ki,tdel:Ci,tb:Ri,tp:Wi,ttf:Ii,ba:lo,bb:ao,bor:pe,bw:tt,br:mt,bs:Nt,bls:Vt,brs:Rt,bts:Wt,bbs:It,bbls:Kt,bis:Ct,bbss:Pt,bbes:Tt,biss:Lt,bies:Mt,brw:rt,blw:it,btw:nt,bbw:st,btlr:ft,btrr:ut,bbrr:bt,bblr:dt,biw:lt,bblw:ot,bbew:ct,bbsw:at,bisw:pt,biew:ht,besr:yt,beer:vt,bssr:gt,bser:_t,bc:xt,blc:wt,brc:St,btc:$t,bbc:jt,bblc:kt,bic:Ot,bbsc:zt,bbec:qt,bisc:At,biec:Et,bg:Do,bgi:Qo,bgc:Uo,c:Q,cmix:yl,csh:Ge,acc:Ho,ctc:Go,st:fe,stw:ml,sto:dl,fi:be,fir:bl,fio:fl,flt:Jo,bf:Zo,g:_s,f:xs,dis:"display",jc:As,ji:Es,ai:Ns,pi:Ss,ac:Vs,gt:Ws,gtr:Is,gtc:Ks,gp:vs,rg:Cs,cg:Ps,as:Rs,js:Ts,gr:Ls,gre:Ms,grs:Bs,gc:Gs,gce:Hs,gcs:Js,fd:zs,fw:qs,fs:Os,fg:ks,fb:js,ord:"order",dir:S,m:ke,ml:ds,mr:fs,mt:bs,mb:us,p:je,pl:cs,pr:hs,pt:ps,pb:ms,oc:Bt,ow:Gt,os:Ht,oo:Jt,l:M,r:J,t:T,b:G,ins:ir,ib:ar,ibe:cr,ibs:pr,ii:hr,iie:mr,iis:dr,wc:"will-change",app:"appearance",pe:Mo,cur:"cursor",toa:"touch-action",us:"user-select",res:jo,lis:Te,lisp:Me,lisi:Be,list:Le,sb:zr,ssa:Xr,sss:Yr,sst:en,sm:qr,sml:Nr,smr:Vr,smt:Ar,smb:Er,sp:Tr,spl:Br,spr:Gr,spt:Lr,spb:Mr,smbl:Rr,smbe:Wr,smbs:Ir,smi:Kr,smie:Cr,smis:Pr,spbl:Hr,spbe:Jr,spbs:Zr,spi:Dr,spie:Fr,spis:Qr,osb:tn,ar:"aspect-ratio",w:D,maxw:gr,minw:vr,h:ie,minh:xr,maxh:yr,bl:wr,maxb:Sr,minb:$r,i:jr,mini:Or,maxi:kr,per:Ui,pero:Xi,rot:Qi,sc:le,tf:te,tfb:nr,tfo:or,tfs:lr,tr:Fi,z:Se,lts:"letter-spacing",lh:Qn,lb:Un,fst:Pn,ff:Cn,fwg:Kn,fsz:In,fsn:Tn,fv:Ln,fva:Mn,fvc:Bn,fvea:Jn,fvl:Zn,fvn:Gn,fvs:Dn,fvp:Hn,tt:xn,td:fn,tdt:_n,tds:gn,tdl:vn,ta:wn,to:$n,trg:kn,ts:On,te:zn,tep:An,tec:qn,tes:En,tw:Nn,twm:Vn,tws:Rn,va:Sn,ws:yn,tor:jn,wb:Wn,wm:Fn,hyp:"hyphens",bsz:_r,bsh:Xt,pos:he,cf:Ds,crs:Us,crc:Qs,crw:Xs,cs:Ys,cw:ei,cc:Zs,bgcl:Xo,bgp:el,bgpx:tl,bgpy:sl,bgbm:nl,bgo:Yo,bgr:il,bga:ol,bgsz:rl,mcl:hi,mcm:mi,mm:di,mo:bi,mp:fi,mre:ui,msz:_i,mtp:gi,obf:Ft,obp:Qt,con:f,ov:X,ovx:Zt,ovy:Dt,v:oe,cv:hl,o:ne,zi:"z-index",zm:Se,lgr:al,rgr:cl,cgr:pl,inf:"infinite",cnt:$l,cnn:jl,r_:":root",u_:"*",h_:":hover",f_:":focus",fv_:":focus-visible",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",rq_:":required",o_:":optional",m_:":modal",l_:":link",fc_:kl+ql,lc_:Ol+ql,oc_:zl+ql,odd_:El+"(odd)",even_:El+"(even)",ft_:kl+Al,lt_:Ol+Al,ot_:zl+Al,bef_:Pl,aft_:Cl,bd_:"::backdrop",ba_:`&${Pl},&${Cl}`,pl_:":placeholder",light_:Rl+`(${Vl}: light)`,dark_:Rl+`(${Vl}: dark)`,red_m_:Rl+"(prefers-reduced-motion: reduce)",ori_l_:Rl+`(${We}: landscape)`,ori_p_:Rl+`(${We}: portrait)`,gam_srgb_:Rl+`(${Wl}: srgb)`,gam_p3_:Rl+`(${Wl}: p3)`,gam_rec_:Rl+`(${Wl}: rec2020)`,con_no_:Rl+`(${Il}: no-preference)`,con_m_:Rl+`(${Il}: more)`,con_l_:Rl+`(${Il}: less)`,con_c_:Rl+`(${Il}: custom)`,scr_no_:Rl+`(${Kl}: none)`,scr_ini_:Rl+`(${Kl}: initial-only)`,scr_en_:Rl+`(${Kl}: enabled)`},Hl={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Bl},Jl="{1}rem",Zl="{1}deg",Dl="calc(100% * {1})",Fl="span {1}",Ql={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:Dl,ra:Fl,ca:Fl,ins:Dl,sz:Jl,sp:Jl,rad:Jl,th:Jl,bp:Jl,cbp:Jl,fsz:Jl,lsp:Jl,tr:Jl,sk:Zl,rot:Zl,perc:Dl,time:"{1}ms",rem:"{1}px"},Ul=e=>`{${e}}`,Xl=Object.assign.bind(Object),Yl=(e,t)=>`${e}:${t};`,ea=(e,t)=>["@property",e,Ul(Yl("syntax",t.syn||'"*"')+Yl("inherits",t.inh||!1)+(t.ini?Yl("initial-value",t.ini):""))].join(" "),ta=e=>`var(${e})`,sa=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,ia=["l","c","h","a"],ra=e=>Object.entries(e).reduce(((e,[t,s])=>(void 0!==s&&e.push(t+(s?"-"+s:"")),e)),[]).join(" "),na=(e,t)=>Object.defineProperties({[e]:t},{k:{value:e},v:{value:t}}),oa={selector:({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`,attr:e=>t=>s=>{let i=s||"";"object"==typeof i&&(i=ra(i));const r=e+(t?"__"+t:"");return i=r+(i?" "+(null==i?void 0:i.split(" ").map((e=>r+"_"+e.split("-").join("_"))).join(" ")):""),na("class",i)}},la={selector:({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s||r?'~="'+(s||"")+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,attr:e=>t=>s=>{const i=`data-${e}${t?"-"+t:""}`;let r=s||"";return"object"==typeof r&&(r=ra(r)),na(i,r)}};class aa{constructor(e){var t,s;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=Hl,this._compKeys={},this._compValues={},this.parseSelector=e=>{let t,s,i,r,n;return[t,n]=e.split(":"),t.startsWith("__")?[s,i,r]=t.slice(2).split("_"):[s,i,r]=t.split("_"),{e:s,m:i,mv:r,s:n}},this.expandSelector=(e,t)=>{const{e:s,m:i,mv:r,s:n}=this.parseSelector(t),o=n&&this._getStateSelector(n),l=this.bem.selector({b:e,e:s,m:i,mv:r,s:n});let a="";return(null==o?void 0:o.startsWith("@"))?a=o+"{"+l:(null==o?void 0:o.startsWith(":"))&&(a=l+"{&"+o),[this.bem.selector({b:e,e:s,m:i,mv:r}),a]},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,kf:i,k:r={},v:n={},c:o}=t,l=this.bem.selector.bind(this),a=this.parseSelector;let c=Xl({},o),p=Xl({},r),h=Xl({_:{}},n),m="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};ia.forEach((r=>{const n=t+r,o=this._prepareVarName(e,n);s[r]=o,p["_"+n]=s[r],m+=ea(o,i)})),h._[t]=sa({l:ta(s.l),c:ta(s.c),h:ta(s.h),a:ta(s.a)}),i.all&&(c["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,c["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,c["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,c["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const s=this._prepareVarName(e,t);p["_"+t]=s,h._[t]=ta(s),m+=ea(s,i)}}const d=e=>p[e]||this._compKeys[e]||Gl[e],b=e=>h[e]||this._compValues[e]||this._params.root[e],f=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=b(s);return""+((null==e?void 0:e[i])||(null==e?void 0:e.def)||"")}return""+(d(s)||"")})),u=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,n]=i.split("=>"),o=r.match(/(\w+)(\[[\w,]+\])?/);if(!o)continue;const[l,a,c]=o,p=b(a);if(!p)continue;s=p;let h=Object.entries(s);const m=null==c?void 0:c.slice(1,-1).split(",");if(m){const e=new Set(m);h=h.filter((([t,s])=>e.has(t)))}if(n){let[e,t]=n.split("|");void 0===t&&(t=e,e=""),h=h.map((([s,i])=>[e.replace("{0}",s)||s,f(t.replaceAll("{1}",""+i))]))}(m||n)&&(s=Object.fromEntries(h));break}return s};function _(t,s,i){var r,n,o,c;let p=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(p=d(t.slice(1)),!p))return"";if(Array.isArray(s))return _(p,Object.assign({},...s.map((e=>"string"==typeof e?u(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(n=i.startsWith)||void 0===n?void 0:n.call(i,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:i,m:r,mv:n}=a(p);return r&&"string"!=typeof n?Object.entries(s).reduce(((s,[n,o])=>{let a;return a="object"==typeof o?Object.entries(o).reduce(((e,t)=>e+_(...t,p)),""):o+";",s+t+l({b:e,e:i,m:r,mv:n})+Ul(a)}),""):t+l({b:e,e:i,m:r,mv:n})+Ul(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}return t+p+Ul(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?_(p,u(e.slice(1)),i):(null===(c=null==e?void 0:e.includes)||void 0===c?void 0:c.call(e,"{"))?_(p,f(e),i):Yl(p.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),e)}}let g="";if(i)for(let t in i){const s=i[t],r=this._prepareKeyframesName(e,t);p["kf_"+t]=r,g+=`@keyframes ${r} `+Ul(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+Ul(Object.entries(s).reduce(((e,t)=>e+_(...t)),""))),""))}return m+g+Object.entries(c).reduce(((e,t)=>e+_(...t)),"")};const{mode:i="a",prefix:r="eff",initkey:n="init",params:o,units:l}=e;this._prefix=r,this._initkey=n,this.bem="c"===i?oa:la;const{values:a,keys:c}=(({params:e,units:t})=>{let s=Hl,i=Object.assign(Object.assign({},Ql),t||{});if(e)for(const t in e)s[t]=Xl(s[t]||{},e[t]);for(const e in i)s.root[e]=s.root[e]&&Object.fromEntries(Object.entries(s.root[e]).map((([t,s])=>[t,i[e].replace("{1}",""+s)])));const r={};return s.root.bp&&Object.entries(s.root.bp||{}).forEach((([e,t])=>{r[`min_${e}_`]=`@media (min-width:${t})`,r[`max_${e}_`]=`@media (max-width:${t})`})),s.root.cbp&&Object.entries(s.root.bp||{}).forEach((([e,t])=>{r[`cmin_${e}_`]=`@container (min-width:${t})`,r[`cmax_${e}_`]=`@container (max-width:${t})`})),{values:s,keys:r}})({params:o,units:l});if(this._params=a,this._compKeys=c,this._initkey){const e=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),i=Object.entries(e),r={_mode:{root:{}}},n={};i.forEach((([e,t])=>{r._mode[e]||(r._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const o=this._prepareVarName(t,s);r._mode[e][o]=i,r._mode.root[o]||(r._mode.root[o]=i,n[t]||(n[t]={}),n[t][s]=`var(${o})`)}))}))})),this._compValues=n,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},r),{$r_:Object.assign(Object.assign({},r._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=r._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:r._mode.dark}}:{}),(null===(s=r._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:r._mode.light}}:{})})}}_getStateSelector(e){const t=e+"_";return this._compKeys[t]||Gl[t]||e}}class ca{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' in the '${e}' stylesheet`);const[n,o]=r.cssText.split("{"),l=r.parentStyleSheet;if(l){const t=l.cssRules,r=l.insertRule(s+"{"+o+"}".repeat([...s.matchAll(/{/g)].length),t.length);return i[s]=t[r],this._expandedSelectors[e].add(s),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const pa="style-provider";customElements.define(pa,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var e;return null!==(e=this.getAttribute("initkey"))&&void 0!==e?e:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var e;const t=null===(e=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===e?void 0:e.textContent;return t?JSON.parse(t):{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)))return this._sources.set(t,e),!0},this.useStyleSheet=e=>{var t;let s=this._sources.get(e);return s||(s=this.prefix+this._sources.size.toString(36),this.compileStyleSheet(s,e)),null===(t=this.processor)||void 0===t?void 0:t.bem.attr(s)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i);let r=s.size;if(r&&this.processor.expandSelector){const t=this.processor.expandSelector;return s.keys().forEach((s=>{const[i,n]=t(e,s);n?this.manager.expandRule(e,i,n):r--})),r}}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0},this.resolveStyleSheet=e=>this.processor.bem.attr(e)}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i,units:r}=e,n=this.initkey;this.processor=function(e){return new aa(e)}({prefix:this.prefix,mode:this.mode,initkey:n,params:t,units:r}),this.manager=function(e){return new ca(e)}(n?{[n]:`${pa} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(s,i),null===this.isolated&&this.manager.registerNode(document)}});
|
|
7
|
+
"function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join(","),t="-",s=" ",i="-x",r="-y",o="down",n="horizontal",l="vertical",a="text",c=a+t,h="font-",p="column",m=p+t,d="max-",f="min-",b="content",u=b+"s",_="-items",g="self",y="inline",v="block",x="size",w="-radius",S="direction",$="outline",k="style",j=t+k,z="end",O=t+z,q="start",A=t+q,E="center",N="word",V="line",R="break",W=R+t,I="wrap",K="no"+I,C="rule",P="object",T="top",L=t+T,M="left",B=t+M,G="bottom",H=t+G,J="right",Z=t+J,D="width",F=t+D,Q="color",U=t+Q,X="overflow",Y="align",ee="type",te="transform",se="all",ie="height",re="normal",oe="opacity",ne="visibility",le="scale",ae="box",ce=t+ae,he="border",pe="position",me="none",de="auto",fe="fill",be="stroke",ue="reverse",_e="space",ge="fixed",ye="origin",ve="alpha",xe="luminance",we="clip",Se="zoom",$e="scroll",ke="padding",je="margin",ze="both",Oe="mode",qe="repeat",Ae="light",Ee="linear",Ne="hidden",Ve="shadow",Re="behavior",We="orientation",Ie="name",Ke="after",Ce="before",Pe="image",Te="list"+j,Le=Te+t+ee,Me=Te+t+pe,Be=Te+t+Pe,Ge=Q+"-scheme",He=he+H,Je=he+B,Ze=he+Z,De=he+L,Fe=he+t+v,Qe=he+t+y,Ue=Fe+A,Xe=Fe+O,Ye=Qe+A,et=Qe+O,tt=he+F,st=He+F,it=Je+F,rt=Ze+F,ot=De+F,nt=Fe+F,lt=Qe+F,at=Ue+F,ct=Xe+F,ht=Ye+F,pt=et+F,mt=he+w,dt=He+B+w,ft=He+Z+w,bt=De+B+w,ut=De+Z+w,_t=he+A+O+w,gt=he+A+A+w,yt=he+O+O+w,vt=he+O+A+w,xt=he+U,wt=Je+U,St=Ze+U,$t=De+U,kt=He+U,jt=Fe+U,zt=Qe+U,Ot=Ue+U,qt=Xe+U,At=Ye+U,Et=et+U,Nt=he+j,Vt=Je+j,Rt=Ze+j,Wt=De+j,It=He+j,Kt=Fe+j,Ct=Qe+j,Pt=Ue+j,Tt=Xe+j,Lt=Ye+j,Mt=et+j,Bt=$+U,Gt=$+F,Ht=$+j,Jt=$+t+"offset",Zt=X+i,Dt=X+r,Ft=P+t+"fit",Qt=P+t+pe,Ut=le+t+o,Xt=ae+t+Ve,Yt=ke+ce,es=he+ce,ts=b+ce,ss=fe+ce,is=be+ce,rs="view"+ce,os="no-"+we,ns=qe+i,ls=qe+r,as="no-"+qe,cs=ke+B,hs=ke+L,ps=ke+Z,ms=ke+H,ds=je+B,fs=je+L,bs=je+Z,us=je+H,_s="grid",gs="row",ys="gap",vs="justify",xs="flex",ws=xs+t,Ss="place"+_,$s=y+t+xs,ks=ws+"basis",js=ws+"grow",zs=ws+"shrink",Os=ws+S,qs=ws+I,As=vs+t+b,Es=vs+_,Ns=Y+_,Vs=Y+t+b,Rs=Y+t+g,Ws=_s+t+"template",Is=Ws+t+gs+"s",Ks=Ws+t+p+"s",Cs=gs+t+ys,Ps=m+ys,Ts=vs+t+g,Ls=_s+t+gs,Ms=Ls+O,Bs=Ls+A,Gs=_s+t+p,Hs=Gs+O,Js=Gs+A,Zs=m+"count",Ds=m+fe,Fs=m+C,Qs=Fs+U,Us=Fs+j,Xs=Fs+F,Ys=m+"span",ei=p+F,ti=gs+t+ue,si=m+ue,ii=I+t+ue,ri=xs+O,oi=xs+A,ni=_e+"-between",li=_e+"-around",ai=_e+"-evenly",ci=y+t+_s,hi="mask-",pi=hi+we,mi=hi+"composite",di=hi+Oe,fi=hi+ye,bi=hi+pe,ui=hi+qe,_i=hi+x,gi=hi+ee,yi="timing-function",vi="delay",xi="duration",wi="animation",Si=wi+t,$i=Si+Ie,ki=Si+yi,ji=Si+S,zi=Si+"iteration-count",Oi=Si+xi,qi=Si+vi,Ai=Si+"play-state",Ei=Si+fe+t+Oe,Ni="transition",Vi=Ni+t,Ri=Vi+Re,Wi=Vi+"property",Ii=Vi+yi,Ki=Vi+xi,Ci=Vi+vi,Pi="alternate",Ti=Pi+t+ue,Li="-out",Mi="ease",Bi=Mi+"-in",Gi=Bi+Li,Hi=Mi+Li,Ji="step",Zi=Ji+A,Di=Ji+O,Fi="translate",Qi="rotate",Ui="perspective",Xi=Ui+t+ye,Yi=M+s+T,er=J+s+T,tr=M+s+G,sr=J+s+G,ir="inset",rr=ir+t,or=te+ce,nr=te+t+ye,lr=te+j,ar=rr+v,cr=ar+O,hr=ar+A,pr=rr+y,mr=pr+O,dr=pr+A,fr="fit-"+b,br=f+b,ur=d+b,_r=ae+"-sizing",gr=d+D,yr=f+D,vr=d+ie,xr=f+ie,wr=v+t+x,Sr=d+wr,$r=f+wr,kr=y+t+x,jr=d+kr,zr=f+kr,Or=$e+t+Re,qr=$e+t+je,Ar=qr+L,Er=qr+H,Nr=qr+B,Vr=qr+Z,Rr=qr+t+v,Wr=Rr+O,Ir=Rr+A,Kr=qr+t+y,Cr=Kr+O,Pr=Kr+A,Tr=$e+t+ke,Lr=Tr+L,Mr=Tr+H,Br=Tr+B,Gr=Tr+Z,Hr=Tr+t+v,Jr=Hr+O,Zr=Hr+A,Dr=Tr+t+y,Fr=Dr+O,Qr=Dr+A,Ur=$e+t+"snap",Xr=Ur+t+Y,Yr=Ur+t+"stop",eo=Ur+t+ee,to="over"+Or,so=" mandatory",io="x"+so,ro="y"+so,oo=v+so,no=y+so,lo=ze+so,ao=" proximity",co="x"+ao,ho="y"+ao,po=v+ao,mo=y+ao,fo=ze+ao,bo=c+"decoration",uo=bo+t+Q,_o=bo+t+"thickness",go=bo+t+k,yo=bo+t+V,vo="white-"+_e,xo=c+te,wo=c+Y,So=l+t+Y,$o=c+X,ko=c+We,jo=c+"rendering",zo=c+Ve,Oo=c+"emphasis",qo=Oo+U,Ao=Oo+t+pe,Eo=Oo+j,No=c+I,Vo=No+t+Oe,Ro=No+j,Wo=N+t+R,Io=h+x,Ko=h+"weight",Co=h+"family",Po=h+k,To=h+"synthesis",Lo=h+"variant",Mo=Lo+t+Pi+"s",Bo=Lo+"-caps",Go=Lo+"-numeric",Ho=Lo+t+pe,Jo=Lo+"-east-asian",Zo=Lo+"-ligatures",Do=Lo+"-settings",Fo="writing-"+Oe,Qo=V+t+ie,Uo=V+t+R,Xo=V+"-through",Yo="over"+V,en="under"+V,tn="pre",sn=tn+t+V,rn=tn+t+I,on=W+_e+"s",nn=W+se,ln=W+N,an=W+Ke,cn=W+Ce,hn=n+"-tb",pn=l+"-lr",mn=l+"-rl",dn="keep-"+se,fn="pointer",bn="pan",un=bn+i,_n=bn+B,gn=bn+Z,yn=bn+r,vn=bn+t+o,xn="pinch-"+Se,wn=l+t+a,Sn="grab",$n=Sn+"bing",kn="resize",jn="col-"+kn,zn="row-"+kn,On="n-"+kn,qn="e-"+kn,An="s-"+kn,En="w-"+kn,Nn="ne-"+kn,Vn="ew-"+kn,Rn="nw-"+kn,Wn="se-"+kn,In="sw-"+kn,Kn="ns-"+kn,Cn="nesw-"+kn,Pn="nwse-"+kn,Tn=Se+t+"in",Ln=Se+t+"out",Mn=fn+"-events",Bn=$e+t+pe,Gn="caret"+U,Hn="accent"+U,Jn="filter",Zn="backdrop-"+Jn,Dn="background",Fn=Dn+t,Qn=Fn+Pe,Un=Fn+Q,Xn=Fn+we,Yn=Fn+ye,el=Fn+pe,tl=el+i,sl=el+r,il=Fn+qe,rl=Fn+x,ol=Fn+"blend-"+Oe,nl=Fn+"attachment",ll="gradient",al=Ee+t+ll,cl="radial-"+ll,hl="conic-"+ll,pl=b+t+ne,ml=be+F,dl=be+t+oe,fl=fe+t+C,bl=fe+t+oe,ul=Q+"-dodge",_l=Q+"-burn",gl="hard-"+Ae,yl="soft-"+Ae,vl=Q+"-mix",xl="revert",wl=xl+"-layer",Sl="container",$l=Sl+t+ee,kl=Sl+t+Ie,jl=":first-",zl=":last-",Ol=":only-",ql="child",Al="of-type",El=":nth-child",Nl="prefers-",Vl=Nl+Ge,Rl="@media",Wl=Q+"-gamut",Il=Nl+"contrast",Kl="scripting",Cl="::"+Ke,Pl="::"+Ce,Tl={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},Ll={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},Ml=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),Bl={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:Ml,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:br,max:ur,fit:fr},bp:{xs:30,sm:40,md:48,lg:64,xl:80},cbp:{xs:10,sm:20,md:30,lg:40,xl:48},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:Tl,vh:Tl,vmin:Tl,vmax:Tl,cqw:Tl,cqh:Tl,cqb:Tl,cqi:Tl,cqmin:Tl,cqmax:Tl,perc:Ll,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:Ll,uni:{ini:"initial",inh:"inherit",u:"unset",r:xl,rl:wl},ali:{s:q,e:z,c:E,st:"stretch",sb:ni,sa:li,se:ai,b:"baseline",fs:oi,fe:ri,no:me},dis:{g:_s,ig:ci,f:xs,if:$s,b:v,i:y},ca:Ml,co:Ml,ra:Ml,ro:Ml,fd:{r:gs,rr:ti,c:p,cr:si},fb:Ll,fo:Ml,fg:Ml,fs:Ml,fw:{w:I,nw:K,wr:ii},rep:{rx:ns,ry:ls,r:qe,s:_e,ro:"round",nr:as},ttf:{l:Ee,e:Mi,ei:Bi,eo:Hi,eio:Gi,ss:Zi,se:Di},ws:{n:re,nw:K,p:tn,pl:sn,pw:rn,bs:on},wb:{n:re,ba:nn,ka:dn,bw:ln},wm:{htb:hn,vlr:pn,vrl:mn},hyp:{no:me,m:"manual",a:de},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:Xo,o:Yo,u:en},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-"+We},ta:{l:M,c:E,j:vs,r:J,s:q,e:z},tp:{all:se,col:e(Q,Un,xt,uo),icon:e(fe,be),flt:e(Jn,Zn),ind:e(ke,je),sz:e(D,gr,yr,ie,vr,xr),esz:e($r,wr,Sr,zr,kr,jr),o:oe,b:he,f:xs,g:_s,pos:e(pe,M,T,G,J),tf:e(te,Fi,le,Qi,"skew",Ui)},lb:{a:de,any:"anywhere",n:re,l:"loose",s:"strict"},ov:{h:Ne,s:$e,a:de,c:we,e:"ellipsis"},v:{h:Ne,v:"visible",c:"collapse",a:de},wc:{a:de,sp:Bn,c:u,tf:te,o:oe,i:ir,tfi:te+","+ir},afm:{no:me,f:"forwards",b:"backwards",both:ze},adir:{r:ue,a:Pi,ar:Ti},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:re},app:{n:me,a:de},pe:{a:de,no:me,all:se,f:fe,s:be},cur:{h:"help",a:de,p:fn,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:a,vt:wn,cp:"copy",m:"move",g:Sn,gng:$n,cr:jn,rr:zn,nr:On,er:qn,sr:An,wr:En,ner:Nn,ewr:Vn,nwr:Rn,ser:Wn,swr:In,nsr:Kn,neswr:Cn,nwser:Pn,zi:Tn,zo:Ln},res:{n:me,v:l,h:n,b:ze},toa:{a:de,no:me,px:un,pl:_n,pr:gn,py:yn,pu:"pan-up",pd:vn,pz:xn,m:"manipulation"},us:{n:me,t:a,all:se,a:de},sb:{a:de,s:"smooth"},sss:{n:re,a:"always"},sst:{n:me,x:"x",y:"y",b:v,i:y,both:ze,xm:io,ym:ro,bm:oo,im:no,bothm:lo,xp:co,yp:ho,bp:po,ip:mo,bothp:fo},fst:{i:"italic",n:re,o:"oblique"},pos:{r:"relative",a:"absolute",f:ge,s:"static"},posv:{b:G,t:T,c:E,l:M,r:J,lt:Yi,rt:er,lb:tr,rb:sr},csz:{cv:"cover",cn:"contain",a:de,f:fe,sd:Ut},cf:{a:de,b:"balance"},cs:{no:me,all:se},box:{c:ts,p:Yt,b:es,f:ss,s:is,v:rs,nc:os,t:a},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:ve,l:xe},mm:{a:ve,l:xe,m:"match-source"},bgbm:{n:re,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ae+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Q,lum:"luminosity",cd:ul,cb:_l,hl:gl,sl:yl},bga:{s:$e,f:ge,l:"local"},ls:{no:me,dt:"dotted",i:ir,h:Ne,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:re,s:x,is:kr}},Gl={a:wi,an:$i,adur:Oi,adel:qi,aps:Ai,afm:Ei,adir:ji,aic:zi,atf:ki,trn:Ni,tdur:Ki,tdel:Ci,tb:Ri,tp:Wi,ttf:Ii,ba:an,bb:cn,bor:he,bw:tt,br:mt,bs:Nt,bls:Vt,brs:Rt,bts:Wt,bbs:It,bbls:Kt,bis:Ct,bbss:Pt,bbes:Tt,biss:Lt,bies:Mt,brw:rt,blw:it,btw:ot,bbw:st,btlr:bt,btrr:ut,bbrr:ft,bblr:dt,biw:lt,bblw:nt,bbew:ct,bbsw:at,bisw:ht,biew:pt,besr:vt,beer:yt,bssr:gt,bser:_t,bc:xt,blc:wt,brc:St,btc:$t,bbc:kt,bblc:jt,bic:zt,bbsc:Ot,bbec:qt,bisc:At,biec:Et,bg:Dn,bgi:Qn,bgc:Un,c:Q,cmix:vl,csh:Ge,acc:Hn,ctc:Gn,st:be,stw:ml,sto:dl,fi:fe,fir:fl,fio:bl,flt:Jn,bf:Zn,g:_s,f:xs,dis:"display",jc:As,ji:Es,ai:Ns,pi:Ss,ac:Vs,gt:Ws,gtr:Is,gtc:Ks,gp:ys,rg:Cs,cg:Ps,as:Rs,js:Ts,gr:Ls,gre:Ms,grs:Bs,gc:Gs,gce:Hs,gcs:Js,fd:Os,fw:qs,fs:zs,fg:js,fb:ks,ord:"order",dir:S,m:je,ml:ds,mr:bs,mt:fs,mb:us,p:ke,pl:cs,pr:ps,pt:hs,pb:ms,oc:Bt,ow:Gt,os:Ht,oo:Jt,l:M,r:J,t:T,b:G,ins:ir,ib:ar,ibe:cr,ibs:hr,ii:pr,iie:mr,iis:dr,wc:"will-change",app:"appearance",pe:Mn,cur:"cursor",toa:"touch-action",us:"user-select",res:kn,lis:Te,lisp:Me,lisi:Be,list:Le,sb:Or,ssa:Xr,sss:Yr,sst:eo,sm:qr,sml:Nr,smr:Vr,smt:Ar,smb:Er,sp:Tr,spl:Br,spr:Gr,spt:Lr,spb:Mr,smbl:Rr,smbe:Wr,smbs:Ir,smi:Kr,smie:Cr,smis:Pr,spbl:Hr,spbe:Jr,spbs:Zr,spi:Dr,spie:Fr,spis:Qr,osb:to,ar:"aspect-ratio",w:D,maxw:gr,minw:yr,h:ie,minh:xr,maxh:vr,bl:wr,maxb:Sr,minb:$r,i:kr,mini:zr,maxi:jr,per:Ui,pero:Xi,rot:Qi,sc:le,tf:te,tfb:or,tfo:nr,tfs:lr,tr:Fi,z:Se,lts:"letter-spacing",lh:Qo,lb:Uo,fst:Po,ff:Co,fwg:Ko,fsz:Io,fsn:To,fv:Lo,fva:Mo,fvc:Bo,fvea:Jo,fvl:Zo,fvn:Go,fvs:Do,fvp:Ho,tt:xo,td:bo,tdt:_o,tds:go,tdl:yo,ta:wo,to:$o,trg:jo,ts:zo,te:Oo,tep:Ao,tec:qo,tes:Eo,tw:No,twm:Vo,tws:Ro,va:So,ws:vo,tor:ko,wb:Wo,wm:Fo,hyp:"hyphens",bsz:_r,bsh:Xt,pos:pe,cf:Ds,crs:Us,crc:Qs,crw:Xs,cs:Ys,cw:ei,cc:Zs,bgcl:Xn,bgp:el,bgpx:tl,bgpy:sl,bgbm:ol,bgo:Yn,bgr:il,bga:nl,bgsz:rl,mcl:pi,mcm:mi,mm:di,mo:fi,mp:bi,mre:ui,msz:_i,mtp:gi,obf:Ft,obp:Qt,con:b,ov:X,ovx:Zt,ovy:Dt,v:ne,cv:pl,o:oe,zi:"z-index",zm:Se,lgr:al,rgr:cl,cgr:hl,inf:"infinite",cnt:$l,cnn:kl,r_:":root",u_:"*",h_:":hover",f_:":focus",fv_:":focus-visible",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",rq_:":required",o_:":optional",m_:":modal",l_:":link",fc_:jl+ql,lc_:zl+ql,oc_:Ol+ql,odd_:El+"(odd)",even_:El+"(even)",ft_:jl+Al,lt_:zl+Al,ot_:Ol+Al,bef_:Pl,aft_:Cl,bd_:"::backdrop",ba_:`&${Pl},&${Cl}`,pl_:":placeholder",light_:Rl+`(${Vl}: light)`,dark_:Rl+`(${Vl}: dark)`,red_m_:Rl+"(prefers-reduced-motion: reduce)",ori_l_:Rl+`(${We}: landscape)`,ori_p_:Rl+`(${We}: portrait)`,gam_srgb_:Rl+`(${Wl}: srgb)`,gam_p3_:Rl+`(${Wl}: p3)`,gam_rec_:Rl+`(${Wl}: rec2020)`,con_no_:Rl+`(${Il}: no-preference)`,con_m_:Rl+`(${Il}: more)`,con_l_:Rl+`(${Il}: less)`,con_c_:Rl+`(${Il}: custom)`,scr_no_:Rl+`(${Kl}: none)`,scr_ini_:Rl+`(${Kl}: initial-only)`,scr_en_:Rl+`(${Kl}: enabled)`},Hl={$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}},Jl={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Bl},Zl="{1}rem",Dl="{1}deg",Fl="calc(100% * {1})",Ql="span {1}",Ul={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:Fl,ra:Ql,ca:Ql,ins:Fl,sz:Zl,sp:Zl,rad:Zl,th:Zl,bp:Zl,cbp:Zl,fsz:Zl,lsp:Zl,tr:Zl,sk:Dl,rot:Dl,perc:Fl,time:"{1}ms",rem:"{1}px"},Xl=e=>"object"==typeof e,Yl="style-provider",ea=e=>e.size.toString(36),ta=Object.entries,sa=(e,t,s)=>ta(e).reduce(t,s),ia=e=>"object"==typeof e,ra=e=>`{${e}}`,oa=Object.assign.bind(Object),na=(e,t)=>`${e}:${t};`,la=(e,t)=>["@property",e,ra(na("syntax",t.syn||'"*"')+na("inherits",t.inh||!1)+(t.ini?na("initial-value",t.ini):""))].join(" "),aa=e=>`var(${e})`,ca=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,ha=["l","c","h","a"];class pa{constructor(e){var t,s;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=Jl,this._compKeys={},this._compValues={},this.parseSelector=e=>{let t,s,i,r,o;return[t,o]=e.split(":"),t.startsWith("__")?[s,i,r]=t.slice(2).split("_"):[s,i,r]=t.split("_"),{e:s,m:i,mv:r,s:o}},this.expandSelector=(e,t)=>{const{e:s,m:i,mv:r,s:o}=this.parseSelector(t),n=o&&this._getStateSelector(o),l=this.bem.selector({b:e,e:s,m:i,mv:r,s:o});let a="";return(null==n?void 0:n.startsWith("@"))?a=n+"{"+l:(null==n?void 0:n.startsWith(":"))&&(a=l+"{&"+n),[this.bem.selector({b:e,e:s,m:i,mv:r}),a]},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,kf:i,k:r={},v:o={},c:n}=t,l=this.bem.selector.bind(this),a=this.parseSelector;let c=oa({},n),h=oa({},r),p=oa({_:{}},o),m="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};ha.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);s[r]=n,h["_"+o]=s[r],m+=la(n,i)})),p._[t]=ca({l:aa(s.l),c:aa(s.c),h:aa(s.h),a:aa(s.a)}),i.all&&(c["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,c["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,c["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,c["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const s=this._prepareVarName(e,t);h["_"+t]=s,p._[t]=aa(s),m+=la(s,i)}}const d=e=>h[e]||this._compKeys[e]||Gl[e],f=e=>p[e]||this._compValues[e]||this._params.root[e],b=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=f(s);return""+((null==e?void 0:e[i])||(null==e?void 0:e.def)||"")}return""+(d(s)||"")})),u=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),n=r.match(/(\w+)(\[[\w,]+\])?/);if(!n)continue;const[l,a,c]=n,h=f(a);if(!h)continue;s=h;let p=ta(s);const m=null==c?void 0:c.slice(1,-1).split(",");if(m){const e=new Set(m);p=p.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,i])=>[e.replace("{0}",s)||s,b(t.replaceAll("{1}",""+i))]))}(m||o)&&(s=Object.fromEntries(p));break}return s};function _(t,s,i){var r,o,n,c;let h=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(h=d(t.slice(1)),!h))return"";if(Array.isArray(s))return _(h,Object.assign({},...s.map((e=>"string"==typeof e?u(e):e))),i);if(null==s)return"";if(ia(s)){const t=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||h.startsWith("&")||h.startsWith("@")?"":"&";if(h.startsWith("_")){const{e:i,m:r,mv:o}=a(h);return r&&"string"!=typeof o?sa(s,((s,[o,n])=>{let a;return a=ia(n)?sa(n,((e,t)=>e+_(...t,h)),""):n+";",s+t+l({b:e,e:i,m:r,mv:o})+ra(a)}),""):t+l({b:e,e:i,m:r,mv:o})+ra(sa(s,((e,t)=>e+_(...t,h)),""))}return t+h+ra(sa(s,((e,t)=>e+_(...t,h)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.call(e,"&"))?_(h,u(e.slice(1)),i):(null===(c=null==e?void 0:e.includes)||void 0===c?void 0:c.call(e,"{"))?_(h,b(e),i):na(h.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),e)}}let g="";if(i)for(let t in i){const s=i[t],r=this._prepareKeyframesName(e,t);h["kf_"+t]=r,g+=`@keyframes ${r} `+ra(sa(s,((e,[t,s])=>e+t+(String(+t)===t?"%":"")+ra(sa(s,((e,t)=>e+_(...t)),""))),""))}return m+g+sa(c,((e,t)=>e+_(...t)),"")};const{mode:i="a",prefix:r="eff",initkey:o="init",params:n,themes:l,units:a,rootStyle:c=Hl}=e;this._mode=i,this._prefix=r,this._initkey=o,this.bem=(e=>{const t=e=>Object.entries(e).reduce(((e,[t,s])=>(void 0!==s&&e.push(t+(s?"-"+s:"")),e)),[]).join(" "),s=(e,t)=>Object.defineProperties({[e]:t},{k:{value:e},v:{value:t}});return"c"===e.mode?{selector:({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`,attr:e=>i=>r=>{let o=r||"";Xl(o)&&(o=t(o));const n=e+(i?"__"+i:"");return o=n+(o?" "+(null==o?void 0:o.split(" ").map((e=>n+"_"+e.split("-").join("_"))).join(" ")):""),s("class",o)}}:{selector:({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s||r?'~="'+(s||"")+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,attr:e=>i=>r=>{const o=`data-${e}${i?"-"+i:""}`;let n=r||"";return Xl(n)&&(n=t(n)),s(o,n)}}})({mode:this._mode});const{values:h,keys:p}=(({themes:e,units:t})=>{let s=Jl,i=Object.assign(Object.assign({},Ul),t||{});if(e)for(const t in e)s[t]=oa(s[t]||{},e[t]);for(const e in i)s.root[e]=s.root[e]&&Object.fromEntries(ta(s.root[e]).map((([t,s])=>[t,i[e].replace("{1}",""+s)])));const r={};return s.root.bp&&ta(s.root.bp||{}).forEach((([e,t])=>{r[`min_${e}_`]=`@media (min-width:${t})`,r[`max_${e}_`]=`@media (max-width:${t})`})),s.root.cbp&&ta(s.root.bp||{}).forEach((([e,t])=>{r[`cmin_${e}_`]=`@container (min-width:${t})`,r[`cmax_${e}_`]=`@container (max-width:${t})`})),{values:s,keys:r}})({themes:l||n,units:a});if(this._params=h,this._compKeys=p,this._initkey){const e=this._params,{root:i}=e,r=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(e,["root"]),o=ta(r),n={_mode:{root:{}},_theme:{root:{}}},l={};o.forEach((([e,t])=>{n._mode[e]||(n._mode[e]={}),ta(t).forEach((([t,s])=>{ta(s).forEach((([s,r])=>{const o=this._prepareVarName(t,s);n._mode[e][o]=r,n._mode.root[o]||(n._mode.root[o]=i[t][s],l[t]||(l[t]={}),l[t][s]=`var(${o})`)}))}))})),n._theme=n._mode,this._compValues=l,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},n),{$r_:oa(n._mode.root,c)}),(null===(t=n._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:n._mode.dark}}:{}),(null===(s=n._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:n._mode.light}}:{})})}}_getStateSelector(e){const t=e+"_";return this._compKeys[t]||Gl[t]||e}}class ma{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' in the '${e}' stylesheet`);const[o,n]=r.cssText.split("{"),l=r.parentStyleSheet;if(l){const t=l.cssRules,r=l.insertRule(s+"{"+n+"}".repeat([...s.matchAll(/{/g)].length),t.length);return i[s]=t[r],this._expandedSelectors[e].add(s),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}!function(){const e=ea;customElements.define(Yl,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var e;return null!==(e=this.getAttribute("initkey"))&&void 0!==e?e:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var e;const t=null===(e=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===e?void 0:e.textContent;return t?JSON.parse(t):{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)))return this._sources.set(t,e),!0},this.useStyleSheet=t=>{let s=this._sources.get(t);return s||(s=this.prefix+e(this._sources),this.compileStyleSheet(s,t)),this.resolveStyleSheet(s)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i);let r=s.size;if(r&&this.processor.expandSelector){const t=this.processor.expandSelector;return s.keys().forEach((s=>{const[i,o]=t(e,s);o?this.manager.expandRule(e,i,o):r--})),r}}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0},this.resolveStyleSheet=e=>this.processor.bem.attr(e)}connectedCallback(){const e=this.getSettings(),{params:t,themes:s,styles:i,ext:r,units:o,rootStyle:n}=e,l=this.initkey;this.processor=function(e){return new pa(e)}({prefix:this.prefix,mode:this.mode,initkey:l,params:t,rootStyle:n,themes:s,units:o}),this.manager=function(e){return new ma(e)}(l?{[l]:`${Yl} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(i,r),null===this.isolated&&this.manager.registerNode(document)}})}();
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{values as e,keys as t}from"./css/dict.js";import{COMPONENT_NAME as s,SETTINGS_ID as i,PREFIX as r}from"./utils.js";import"./css/functions.js";"function"==typeof SuppressedError&&SuppressedError;const n={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:e},o="{1}rem",l="{1}deg",c="calc(100% * {1})",a="span {1}",h={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:c,ra:a,ca:a,ins:c,sz:o,sp:o,rad:o,th:o,bp:o,cbp:o,fsz:o,lsp:o,tr:o,sk:l,rot:l,perc:c,time:"{1}ms",rem:"{1}px"},p=e=>`{${e}}`,d=Object.assign.bind(Object),u=(e,t)=>`${e}:${t};`,m=(e,t)=>["@property",e,p(u("syntax",t.syn||'"*"')+u("inherits",t.inh||!1)+(t.ini?u("initial-value",t.ini):""))].join(" "),f=e=>`var(${e})`,_=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,y=["l","c","h","a"],v=e=>Object.entries(e).reduce(((e,[t,s])=>(void 0!==s&&e.push(t+(s?"-"+s:"")),e)),[]).join(" "),b=(e,t)=>Object.defineProperties({[e]:t},{k:{value:e},v:{value:t}}),g={selector:({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`,attr:e=>t=>s=>{let i=s||"";"object"==typeof i&&(i=v(i));const r=e+(t?"__"+t:"");return i=r+(i?" "+(null==i?void 0:i.split(" ").map((e=>r+"_"+e.split("-").join("_"))).join(" ")):""),b("class",i)}},S={selector:({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s||r?'~="'+(s||"")+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,attr:e=>t=>s=>{const i=`data-${e}${t?"-"+t:""}`;let r=s||"";return"object"==typeof r&&(r=v(r)),b(i,r)}};class ${constructor(e){var s,i;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=n,this._compKeys={},this._compValues={},this.parseSelector=e=>{let t,s,i,r,n;return[t,n]=e.split(":"),t.startsWith("__")?[s,i,r]=t.slice(2).split("_"):[s,i,r]=t.split("_"),{e:s,m:i,mv:r,s:n}},this.expandSelector=(e,t)=>{const{e:s,m:i,mv:r,s:n}=this.parseSelector(t),o=n&&this._getStateSelector(n),l=this.bem.selector({b:e,e:s,m:i,mv:r,s:n});let c="";return(null==o?void 0:o.startsWith("@"))?c=o+"{"+l:(null==o?void 0:o.startsWith(":"))&&(c=l+"{&"+o),[this.bem.selector({b:e,e:s,m:i,mv:r}),c]},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:n={},v:o={},c:l}=s,c=this.bem.selector.bind(this),a=this.parseSelector;let h=d({},l),v=d({},n),b=d({_:{}},o),g="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};y.forEach((r=>{const n=t+r,o=this._prepareVarName(e,n);i[r]=o,v["_"+n]=i[r],g+=m(o,s)})),b._[t]=_({l:f(i.l),c:f(i.c),h:f(i.h),a:f(i.a)}),s.all&&(h["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,h["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,h["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,h["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const i=this._prepareVarName(e,t);v["_"+t]=i,b._[t]=f(i),g+=m(i,s)}}const S=e=>v[e]||this._compKeys[e]||t[e],$=e=>b[e]||this._compValues[e]||this._params.root[e],j=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=$(s);return""+((null==e?void 0:e[i])||(null==e?void 0:e.def)||"")}return""+(S(s)||"")})),x=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,n]=i.split("=>"),o=r.match(/(\w+)(\[[\w,]+\])?/);if(!o)continue;const[l,c,a]=o,h=$(c);if(!h)continue;s=h;let p=Object.entries(s);const d=null==a?void 0:a.slice(1,-1).split(",");if(d){const e=new Set(d);p=p.filter((([t,s])=>e.has(t)))}if(n){let[e,t]=n.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,i])=>[e.replace("{0}",s)||s,j(t.replaceAll("{1}",""+i))]))}(d||n)&&(s=Object.fromEntries(p));break}return s};function O(t,s,i){var r,n,o,l;let h=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(h=S(t.slice(1)),!h))return"";if(Array.isArray(s))return O(h,Object.assign({},...s.map((e=>"string"==typeof e?x(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(n=i.startsWith)||void 0===n?void 0:n.call(i,"@"))||h.startsWith("&")||h.startsWith("@")?"":"&";if(h.startsWith("_")){const{e:i,m:r,mv:n}=a(h);return r&&"string"!=typeof n?Object.entries(s).reduce(((s,[n,o])=>{let l;return l="object"==typeof o?Object.entries(o).reduce(((e,t)=>e+O(...t,h)),""):o+";",s+t+c({b:e,e:i,m:r,mv:n})+p(l)}),""):t+c({b:e,e:i,m:r,mv:n})+p(Object.entries(s).reduce(((e,t)=>e+O(...t,h)),""))}return t+h+p(Object.entries(s).reduce(((e,t)=>e+O(...t,h)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?O(h,x(e.slice(1)),i):(null===(l=null==e?void 0:e.includes)||void 0===l?void 0:l.call(e,"{"))?O(h,j(e),i):u(h.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),e)}}let k="";if(r)for(let t in r){const s=r[t],i=this._prepareKeyframesName(e,t);v["kf_"+t]=i,k+=`@keyframes ${i} `+p(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+p(Object.entries(s).reduce(((e,t)=>e+O(...t)),""))),""))}return g+k+Object.entries(h).reduce(((e,t)=>e+O(...t)),"")};const{mode:r="a",prefix:o="eff",initkey:l="init",params:c,units:a}=e;this._prefix=o,this._initkey=l,this.bem="c"===r?g:S;const{values:v,keys:b}=(({params:e,units:t})=>{let s=n,i=Object.assign(Object.assign({},h),t||{});if(e)for(const t in e)s[t]=d(s[t]||{},e[t]);for(const e in i)s.root[e]=s.root[e]&&Object.fromEntries(Object.entries(s.root[e]).map((([t,s])=>[t,i[e].replace("{1}",""+s)])));const r={};return s.root.bp&&Object.entries(s.root.bp||{}).forEach((([e,t])=>{r[`min_${e}_`]=`@media (min-width:${t})`,r[`max_${e}_`]=`@media (max-width:${t})`})),s.root.cbp&&Object.entries(s.root.bp||{}).forEach((([e,t])=>{r[`cmin_${e}_`]=`@container (min-width:${t})`,r[`cmax_${e}_`]=`@container (max-width:${t})`})),{values:s,keys:r}})({params:c,units:a});if(this._params=v,this._compKeys=b,this._initkey){const e=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),t=Object.entries(e),r={_mode:{root:{}}},n={};t.forEach((([e,t])=>{r._mode[e]||(r._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const o=this._prepareVarName(t,s);r._mode[e][o]=i,r._mode.root[o]||(r._mode.root[o]=i,n[t]||(n[t]={}),n[t][s]=`var(${o})`)}))}))})),this._compValues=n,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},r),{$r_:Object.assign(Object.assign({},r._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(s=r._mode)||void 0===s?void 0:s.dark)?{$dark_:{$r_:r._mode.dark}}:{}),(null===(i=r._mode)||void 0===i?void 0:i.light)?{$light_:{$r_:r._mode.light}}:{})})}}_getStateSelector(e){const s=e+"_";return this._compKeys[s]||t[s]||e}}function j(e){return new $(e)}class x{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' in the '${e}' stylesheet`);const[n,o]=r.cssText.split("{"),l=r.parentStyleSheet;if(l){const t=l.cssRules,r=l.insertRule(s+"{"+o+"}".repeat([...s.matchAll(/{/g)].length),t.length);return i[s]=t[r],this._expandedSelectors[e].add(s),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}function O(e){return new x(e)}const k=j,w=O;function A(e){customElements.define((null==e?void 0:e.name)||s,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||i}get prefix(){return this.getAttribute("prefix")||r}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var e;return null!==(e=this.getAttribute("initkey"))&&void 0!==e?e:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var t;const s=null===(t=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===t?void 0:t.textContent;return s?JSON.parse(s):(null==e?void 0:e.config)||{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)))return this._sources.set(t,e),!0},this.useStyleSheet=e=>{var t;let s=this._sources.get(e);return s||(s=this.prefix+this._sources.size.toString(36),this.compileStyleSheet(s,e)),null===(t=this.processor)||void 0===t?void 0:t.bem.attr(s)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i);let r=s.size;if(r&&this.processor.expandSelector){const t=this.processor.expandSelector;return s.keys().forEach((s=>{const[i,n]=t(e,s);n?this.manager.expandRule(e,i,n):r--})),r}}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0},this.resolveStyleSheet=e=>this.processor.bem.attr(e)}connectedCallback(){const e=this.getSettings(),{params:t,styles:i,ext:r,units:n}=e,o=this.initkey;this.processor=j({prefix:this.prefix,mode:this.mode,initkey:o,params:t,units:n}),this.manager=O(o?{[o]:`${s} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(i,r),null===this.isolated&&this.manager.registerNode(document)}})}export{w as createStyleManager,k as createStyleProcessor,A as defineStyleProvider};
|
|
1
|
+
import{values as e,keys as t}from"./css/dict.js";import{getBEMResolver as s,generateStyleSheetKey as i,COMPONENT_NAME as r,SETTINGS_ID as o,PREFIX as n}from"./utils.js";import"./css/functions.js";"function"==typeof SuppressedError&&SuppressedError;const l={$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$u_:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}},h={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:e},c="{1}rem",a="{1}deg",p="calc(100% * {1})",d="span {1}",m={cqw:"{1}cqw",cqh:"{1}cqh",cqb:"{1}cqb",cqi:"{1}cqi",cqmin:"{1}cqmin",cqmax:"{1}cqmax",vw:"{1}vw",vh:"{1}vh",vmin:"{1}vmin",vmax:"{1}vmax",fb:p,ra:d,ca:d,ins:p,sz:c,sp:c,rad:c,th:c,bp:c,cbp:c,fsz:c,lsp:c,tr:c,sk:a,rot:a,perc:p,time:"{1}ms",rem:"{1}px"},u=Object.entries,f=(e,t,s)=>u(e).reduce(t,s),_=e=>"object"==typeof e,y=e=>`{${e}}`,v=Object.assign.bind(Object),S=(e,t)=>`${e}:${t};`,g=(e,t)=>["@property",e,y(S("syntax",t.syn||'"*"')+S("inherits",t.inh||!1)+(t.ini?S("initial-value",t.ini):""))].join(" "),b=e=>`var(${e})`,x=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,$=["l","c","h","a"];class k{constructor(e){var i,r;this.baseStyles="",this._prefix="eff",this._mode="a",this._initkey="init",this._params=h,this._compKeys={},this._compValues={},this.parseSelector=e=>{let t,s,i,r,o;return[t,o]=e.split(":"),t.startsWith("__")?[s,i,r]=t.slice(2).split("_"):[s,i,r]=t.split("_"),{e:s,m:i,mv:r,s:o}},this.expandSelector=(e,t)=>{const{e:s,m:i,mv:r,s:o}=this.parseSelector(t),n=o&&this._getStateSelector(o),l=this.bem.selector({b:e,e:s,m:i,mv:r,s:o});let h="";return(null==n?void 0:n.startsWith("@"))?h=n+"{"+l:(null==n?void 0:n.startsWith(":"))&&(h=l+"{&"+n),[this.bem.selector({b:e,e:s,m:i,mv:r}),h]},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:o={},v:n={},c:l}=s,h=this.bem.selector.bind(this),c=this.parseSelector;let a=v({},l),p=v({},o),d=v({_:{}},n),m="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};$.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);i[r]=n,p["_"+o]=i[r],m+=g(n,s)})),d._[t]=x({l:b(i.l),c:b(i.c),h:b(i.h),a:b(i.a)}),s.all&&(a["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,a["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,a["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,a["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const i=this._prepareVarName(e,t);p["_"+t]=i,d._[t]=b(i),m+=g(i,s)}}const k=e=>p[e]||this._compKeys[e]||t[e],w=e=>d[e]||this._compValues[e]||this._params.root[e],j=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=w(s);return""+((null==e?void 0:e[i])||(null==e?void 0:e.def)||"")}return""+(k(s)||"")})),O=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),n=r.match(/(\w+)(\[[\w,]+\])?/);if(!n)continue;const[l,h,c]=n,a=w(h);if(!a)continue;s=a;let p=u(s);const d=null==c?void 0:c.slice(1,-1).split(",");if(d){const e=new Set(d);p=p.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,i])=>[e.replace("{0}",s)||s,j(t.replaceAll("{1}",""+i))]))}(d||o)&&(s=Object.fromEntries(p));break}return s};function A(t,s,i){var r,o,n,l;let a=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(a=k(t.slice(1)),!a))return"";if(Array.isArray(s))return A(a,Object.assign({},...s.map((e=>"string"==typeof e?O(e):e))),i);if(null==s)return"";if(_(s)){const t=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||a.startsWith("&")||a.startsWith("@")?"":"&";if(a.startsWith("_")){const{e:i,m:r,mv:o}=c(a);return r&&"string"!=typeof o?f(s,((s,[o,n])=>{let l;return l=_(n)?f(n,((e,t)=>e+A(...t,a)),""):n+";",s+t+h({b:e,e:i,m:r,mv:o})+y(l)}),""):t+h({b:e,e:i,m:r,mv:o})+y(f(s,((e,t)=>e+A(...t,a)),""))}return t+a+y(f(s,((e,t)=>e+A(...t,a)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.call(e,"&"))?A(a,O(e.slice(1)),i):(null===(l=null==e?void 0:e.includes)||void 0===l?void 0:l.call(e,"{"))?A(a,j(e),i):S(a.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),e)}}let E="";if(r)for(let t in r){const s=r[t],i=this._prepareKeyframesName(e,t);p["kf_"+t]=i,E+=`@keyframes ${i} `+y(f(s,((e,[t,s])=>e+t+(String(+t)===t?"%":"")+y(f(s,((e,t)=>e+A(...t)),""))),""))}return m+E+f(a,((e,t)=>e+A(...t)),"")};const{mode:o="a",prefix:n="eff",initkey:c="init",params:a,themes:p,units:d,rootStyle:k=l}=e;this._mode=o,this._prefix=n,this._initkey=c,this.bem=s({mode:this._mode});const{values:w,keys:j}=(({themes:e,units:t})=>{let s=h,i=Object.assign(Object.assign({},m),t||{});if(e)for(const t in e)s[t]=v(s[t]||{},e[t]);for(const e in i)s.root[e]=s.root[e]&&Object.fromEntries(u(s.root[e]).map((([t,s])=>[t,i[e].replace("{1}",""+s)])));const r={};return s.root.bp&&u(s.root.bp||{}).forEach((([e,t])=>{r[`min_${e}_`]=`@media (min-width:${t})`,r[`max_${e}_`]=`@media (max-width:${t})`})),s.root.cbp&&u(s.root.bp||{}).forEach((([e,t])=>{r[`cmin_${e}_`]=`@container (min-width:${t})`,r[`cmax_${e}_`]=`@container (max-width:${t})`})),{values:s,keys:r}})({themes:p||a,units:d});if(this._params=w,this._compKeys=j,this._initkey){const e=this._params,{root:t}=e,s=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(e,["root"]),o=u(s),n={_mode:{root:{}},_theme:{root:{}}},l={};o.forEach((([e,s])=>{n._mode[e]||(n._mode[e]={}),u(s).forEach((([s,i])=>{u(i).forEach((([i,r])=>{const o=this._prepareVarName(s,i);n._mode[e][o]=r,n._mode.root[o]||(n._mode.root[o]=t[s][i],l[s]||(l[s]={}),l[s][i]=`var(${o})`)}))}))})),n._theme=n._mode,this._compValues=l,this.baseStyles=this.compile(this._initkey,{c:Object.assign(Object.assign(Object.assign(Object.assign({},n),{$r_:v(n._mode.root,k)}),(null===(i=n._mode)||void 0===i?void 0:i.dark)?{$dark_:{$r_:n._mode.dark}}:{}),(null===(r=n._mode)||void 0===r?void 0:r.light)?{$light_:{$r_:n._mode.light}}:{})})}}_getStateSelector(e){const s=e+"_";return this._compKeys[s]||t[s]||e}}function w(e){return new k(e)}class j{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' in the '${e}' stylesheet`);const[o,n]=r.cssText.split("{"),l=r.parentStyleSheet;if(l){const t=l.cssRules,r=l.insertRule(s+"{"+n+"}".repeat([...s.matchAll(/{/g)].length),t.length);return i[s]=t[r],this._expandedSelectors[e].add(s),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}function O(e){return new j(e)}const A=w,E=O;function N(e){const t=(null==e?void 0:e.keygen)||i;customElements.define((null==e?void 0:e.name)||r,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||o}get prefix(){return this.getAttribute("prefix")||n}get mode(){return this.getAttribute("mode")}get isolated(){return this.getAttribute("isolated")}get initkey(){var e;return null!==(e=this.getAttribute("initkey"))&&void 0!==e?e:"init"}constructor(){super(),this._sources=new Map,this.getSettings=()=>{var t;const s=null===(t=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===t?void 0:t.textContent;return s?JSON.parse(s):(null==e?void 0:e.config)||{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r&&(null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)))return this._sources.set(t,e),!0},this.useStyleSheet=e=>{let s=this._sources.get(e);return s||(s=this.prefix+t(this._sources),this.compileStyleSheet(s,e)),this.resolveStyleSheet(s)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i);let r=s.size;if(r&&this.processor.expandSelector){const t=this.processor.expandSelector;return s.keys().forEach((s=>{const[i,o]=t(e,s);o?this.manager.expandRule(e,i,o):r--})),r}}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0},this.resolveStyleSheet=e=>this.processor.bem.attr(e)}connectedCallback(){const e=this.getSettings(),{params:t,themes:s,styles:i,ext:o,units:n,rootStyle:l}=e,h=this.initkey;this.processor=w({prefix:this.prefix,mode:this.mode,initkey:h,params:t,rootStyle:l,themes:s,units:n}),this.manager=O(h?{[h]:`${r} {display: contents;}`+this.processor.baseStyles}:{}),this.processStyles(i,o),null===this.isolated&&this.manager.registerNode(document)}})}export{E as createStyleManager,A as createStyleProcessor,N as defineStyleProvider};
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import { TDisplayModeValues } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Default root styles
|
|
4
|
+
*/
|
|
5
|
+
export declare const defaultRootStyle: {
|
|
6
|
+
$c: string;
|
|
7
|
+
$fsz: string;
|
|
8
|
+
$ff: string;
|
|
9
|
+
$u_: {
|
|
10
|
+
$c: string;
|
|
11
|
+
$fsz: string;
|
|
12
|
+
$ff: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
2
15
|
/**
|
|
3
16
|
* Default style params
|
|
4
17
|
*/
|
|
@@ -8,7 +8,9 @@ interface IConstructorParams {
|
|
|
8
8
|
prefix?: string | null;
|
|
9
9
|
initkey?: string | null;
|
|
10
10
|
params?: IStyleConfig['params'];
|
|
11
|
+
themes?: IStyleConfig['themes'];
|
|
11
12
|
units?: IStyleConfig['units'];
|
|
13
|
+
rootStyle?: IStyleConfig['rootStyle'];
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* Put value in curly braces
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IStyleConfig } from './types';
|
|
1
|
+
import { IStyleConfig, TKeyGenerator } from './types';
|
|
2
2
|
import { createProcessor } from './_provider/process';
|
|
3
3
|
import { createManager } from './_provider/manage';
|
|
4
4
|
/**
|
|
@@ -24,4 +24,8 @@ export declare function defineStyleProvider(props?: {
|
|
|
24
24
|
* Will be used for initial stylesheets generation
|
|
25
25
|
*/
|
|
26
26
|
config?: IStyleConfig;
|
|
27
|
+
/**
|
|
28
|
+
* Stylesheet key generator
|
|
29
|
+
*/
|
|
30
|
+
keygen?: TKeyGenerator;
|
|
27
31
|
}): void;
|
|
@@ -6,8 +6,17 @@
|
|
|
6
6
|
export interface IStyleConfig {
|
|
7
7
|
/**
|
|
8
8
|
* Global params
|
|
9
|
+
* @deprecated use `themes` instead
|
|
9
10
|
*/
|
|
10
11
|
params?: TDisplayModeValues;
|
|
12
|
+
/**
|
|
13
|
+
* Style themes
|
|
14
|
+
*/
|
|
15
|
+
themes?: TDisplayModeValues;
|
|
16
|
+
/**
|
|
17
|
+
* Root styles
|
|
18
|
+
*/
|
|
19
|
+
rootStyle?: object;
|
|
11
20
|
/**
|
|
12
21
|
* Global params units
|
|
13
22
|
*/
|
|
@@ -190,6 +199,12 @@ export interface IBEMResolver {
|
|
|
190
199
|
*/
|
|
191
200
|
attr: TGetBEMAttr;
|
|
192
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* BEM resolver getter
|
|
204
|
+
*/
|
|
205
|
+
export type TGetBEMResolver = (params: {
|
|
206
|
+
mode: TStyleMode | null;
|
|
207
|
+
}) => IBEMResolver;
|
|
193
208
|
/**
|
|
194
209
|
* Style processor
|
|
195
210
|
* @description
|
|
@@ -308,6 +323,11 @@ export interface IStyleDispatcher {
|
|
|
308
323
|
* @see {@link IStyleProvider.processStyles}
|
|
309
324
|
*/
|
|
310
325
|
process: IStyleProvider['processStyles'];
|
|
326
|
+
/**
|
|
327
|
+
* Resolve stylesheet
|
|
328
|
+
* @see {@link IStyleProvider.resolveStyleSheet}
|
|
329
|
+
*/
|
|
330
|
+
resolve: IStyleProvider['resolveStyleSheet'];
|
|
311
331
|
}
|
|
312
332
|
/**
|
|
313
333
|
* Variable type
|
|
@@ -400,6 +420,10 @@ export type TDisplayModeValues = Record<string, Record<string, Record<string, st
|
|
|
400
420
|
* `c` - classes
|
|
401
421
|
*/
|
|
402
422
|
export type TStyleMode = 'a' | 'c';
|
|
423
|
+
/**
|
|
424
|
+
* Stylesheet key generator
|
|
425
|
+
*/
|
|
426
|
+
export type TKeyGenerator = (configs: Map<TStyleSheetConfig, string>) => string;
|
|
403
427
|
/**
|
|
404
428
|
* Style provider attributes
|
|
405
429
|
* @description
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IStyleConfig, IStyleDispatcher, IStyleProvider, TStyleSheetConfig } from './types';
|
|
1
|
+
import { IStyleConfig, IStyleDispatcher, IStyleProvider, TGetBEMResolver, TKeyGenerator, TStyleSheetConfig } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Prefix which will be used for autogenerated
|
|
4
4
|
* - variable names;
|
|
@@ -50,7 +50,7 @@ export declare const createSettingsHTML: (settings: IStyleConfig, params?: {
|
|
|
50
50
|
* Use this function to get the first provider element found in the document
|
|
51
51
|
* @see {@link IStyleProvider}
|
|
52
52
|
*/
|
|
53
|
-
export declare const getProvider: (root?: Document) => IStyleProvider;
|
|
53
|
+
export declare const getProvider: (root?: Document, name?: string) => IStyleProvider;
|
|
54
54
|
/**
|
|
55
55
|
* Compile stylesheet
|
|
56
56
|
* @param key - stylesheet key
|
|
@@ -65,9 +65,7 @@ export declare const compileStyleSheet: (key: string, config: TStyleSheetConfig,
|
|
|
65
65
|
* @param provider - style provider
|
|
66
66
|
* @see {@link IStyleProvider}
|
|
67
67
|
*/
|
|
68
|
-
export declare const useStyleSheet: (config: TStyleSheetConfig, provider?: IStyleProvider) => (e?: string) => (m
|
|
69
|
-
* Style provider
|
|
70
|
-
*/: string | object) => Record<string, string>;
|
|
68
|
+
export declare const useStyleSheet: (config: TStyleSheetConfig, provider?: IStyleProvider) => (e?: string) => (m?: string | object) => Record<string, string>;
|
|
71
69
|
/**
|
|
72
70
|
* Expand stylesheet
|
|
73
71
|
* @param key - stylesheet key
|
|
@@ -90,9 +88,7 @@ export declare const processStyles: (styles?: Record<string, TStyleSheetConfig>,
|
|
|
90
88
|
* @param provider - style provider
|
|
91
89
|
* @see {@link IStyleProvider}
|
|
92
90
|
*/
|
|
93
|
-
export declare const resolveStyleSheet: (key: string, provider?: IStyleProvider) => (e?: string) => (m
|
|
94
|
-
* Style provider
|
|
95
|
-
*/: string | object) => Record<string, string>;
|
|
91
|
+
export declare const resolveStyleSheet: (key: string, provider?: IStyleProvider) => (e?: string) => (m?: string | object) => Record<string, string>;
|
|
96
92
|
/**
|
|
97
93
|
* Get stylesheet from provider
|
|
98
94
|
* @param key - stylesheet key
|
|
@@ -140,6 +136,16 @@ export declare const getRulesCount: (key: string, provider?: IStyleProvider) =>
|
|
|
140
136
|
* @see {@link IStyleProvider}
|
|
141
137
|
*/
|
|
142
138
|
export declare const getTotalRulesCount: (provider?: IStyleProvider) => number;
|
|
139
|
+
/**
|
|
140
|
+
* Generate stylesheet key
|
|
141
|
+
* @param configs - current stylesheet configs
|
|
142
|
+
*/
|
|
143
|
+
export declare const generateStyleSheetKey: TKeyGenerator;
|
|
144
|
+
/**
|
|
145
|
+
* BEM resolver
|
|
146
|
+
* @param params - BEM resolver params
|
|
147
|
+
*/
|
|
148
|
+
export declare const getBEMResolver: TGetBEMResolver;
|
|
143
149
|
/**
|
|
144
150
|
* Basic class for manipulating stylesheets
|
|
145
151
|
*/
|
|
@@ -160,9 +166,7 @@ export declare class StyleDispatcher implements IStyleDispatcher {
|
|
|
160
166
|
* @param config - stylesheet config
|
|
161
167
|
* @see {@link useStyleSheet}
|
|
162
168
|
*/
|
|
163
|
-
use: (config: TStyleSheetConfig) => (e?: string) => (m
|
|
164
|
-
* Style provider
|
|
165
|
-
*/: string | object) => Record<string, string>;
|
|
169
|
+
use: (config: TStyleSheetConfig) => (e?: string) => (m?: string | object) => Record<string, string>;
|
|
166
170
|
/**
|
|
167
171
|
* Compile stylesheet
|
|
168
172
|
* @param key - stylesheet key
|
|
@@ -189,7 +193,5 @@ export declare class StyleDispatcher implements IStyleDispatcher {
|
|
|
189
193
|
* @param key - stylesheet key
|
|
190
194
|
* @see {@link resolveStyleSheet}
|
|
191
195
|
*/
|
|
192
|
-
resolve: (key: string) => (e?: string) => (m
|
|
193
|
-
* Style provider
|
|
194
|
-
*/: string | object) => Record<string, string>;
|
|
196
|
+
resolve: (key: string) => (e?: string) => (m?: string | object) => Record<string, string>;
|
|
195
197
|
}
|
package/dist/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e="eff",r="effcss",
|
|
1
|
+
const e=e=>"object"==typeof e,t="eff",r="effcss",i="style-provider",o=(e,t)=>{const i=JSON.stringify(e),o=(null==t?void 0:t.id)||r,n=document.createElement("script");return n.id=o,n.type="application/json",n.innerHTML=i,n},n=(e,t)=>{const i=JSON.stringify(e);return`<script id="${(null==t?void 0:t.id)||r}" type="application/json">${i}<\/script>`},s=(e=document,t=i)=>{var r;return null===(r=e.getElementsByTagName(t))||void 0===r?void 0:r[0]},l=(e,t,r=s())=>r.compileStyleSheet(e,t),d=(e,t=s())=>t.useStyleSheet(e),v=(e,t,r=s())=>r.expandStyleSheet(e,t),u=(e,t,r=s())=>r.processStyles(e,t),a=(e,t=s())=>t.resolveStyleSheet(e),c=(e,t=s())=>{var r;return null===(r=null==t?void 0:t.manager)||void 0===r?void 0:r.get(e)},p=(e,t,r=s())=>{var i;return null===(i=null==r?void 0:r.manager)||void 0===i?void 0:i.add(e,t)},m=(e,t=s())=>{var r;return null===(r=null==t?void 0:t.manager)||void 0===r?void 0:r.remove(e)},h=(e,t=s())=>{var r;return[...(null===(r=c(e,t))||void 0===r?void 0:r.cssRules)||[]].map((e=>e.cssText)).join("")},g=(e=s())=>{var t;return Object.keys((null===(t=null==e?void 0:e.manager)||void 0===t?void 0:t.getAll())||{}).map((t=>h(t,e))).join("")},y=(e,t=s())=>{var r;return function e(t){return t?t.length+[...t].reduce(((t,r)=>t+e(null==r?void 0:r.cssRules)),0):0}(null===(r=c(e,t))||void 0===r?void 0:r.cssRules)},j=(e=s())=>{var t;return Object.keys((null===(t=null==e?void 0:e.manager)||void 0===t?void 0:t.getAll())||{}).reduce(((t,r)=>t+y(r,e)),0)},S=e=>e.size.toString(36),f=t=>{const r=e=>Object.entries(e).reduce(((e,[t,r])=>(void 0!==r&&e.push(t+(r?"-"+r:"")),e)),[]).join(" "),i=(e,t)=>Object.defineProperties({[e]:t},{k:{value:e},v:{value:t}});return"c"===t.mode?{selector:({b:e,e:t,m:r,mv:i,s:o})=>`.${e}${(t?"__"+t:"")+(r?"_"+r:"")+(r&&i?"_"+i:"")+(o?":"+o:"")}`,attr:t=>o=>n=>{let s=n||"";e(s)&&(s=r(s));const l=t+(o?"__"+o:"");return s=l+(s?" "+(null==s?void 0:s.split(" ").map((e=>l+"_"+e.split("-").join("_"))).join(" ")):""),i("class",s)}}:{selector:({b:e,e:t,m:r,mv:i,s:o})=>`[data-${e}${t?"-"+t:""}${r||o?'~="'+(r||"")+(i?"-"+i:"")+(o?":"+o:"")+'"':""}]`,attr:t=>o=>n=>{const s=`data-${t}${o?"-"+o:""}`;let l=n||"";return e(l)&&(l=r(l)),i(s,l)}}};class ${constructor(){this.root=document,this.use=e=>d(e,this.provider),this.compile=(e,t)=>l(e,t,this.provider),this.expand=(e,t)=>v(e,t,this.provider),this.process=(e,t)=>u(e,t,this.provider),this.resolve=e=>a(e,this.provider)}construstor(e){e&&(this.root=e),this.provider=s(this.root)}}export{i as COMPONENT_NAME,t as PREFIX,r as SETTINGS_ID,$ as StyleDispatcher,p as addStyleSheet,l as compileStyleSheet,o as createSettingsElement,n as createSettingsHTML,v as expandStyleSheet,S as generateStyleSheetKey,f as getBEMResolver,s as getProvider,y as getRulesCount,c as getStyleSheet,j as getTotalRulesCount,u as processStyles,m as removeStyleSheet,a as resolveStyleSheet,g as stringifyAllStyles,h as stringifyStyleSheet,d as useStyleSheet};
|