effcss 1.1.0 → 1.1.1
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/README.md +1 -1
- package/dist/build/define-provider-with-configs.min.js +1 -1
- package/dist/build/define-provider.min.js +1 -1
- package/dist/configs/basic.js +1 -1
- package/dist/configs/ext.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/src/_provider/manage.d.ts +1 -1
- package/dist/types/src/_provider/process.d.ts +5 -0
- package/dist/types/src/types.d.ts +2 -2
- package/dist/types/src/utils.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"function"==typeof SuppressedError&&SuppressedError;const s=(...s)=>s.join("-"),t=(...s)=>s.join(" "),e=(...s)=>s.join(","),r=s=>`(${s})`,i=(s,t)=>((s,t)=>Object.fromEntries(Object.entries(s).map((s=>t(s)))))(s,(s=>[s[0],t(s[1])])),c=s=>"scale3d"+r(s),o=s=>"scaleX"+r(s),a=s=>"scale"+r(s),l=(s,t,i)=>"translate3d"+r(e(s,t,i)),n=s=>"translateZ"+r(s),p=s=>"rotateX"+r(s),_=s=>"rotateY"+r(s),b=s=>s+":active",m=s=>s+":focus",f=s=>":where"+r(s),h=s=>s&&i(s,(s=>s+"rem")),d=s=>s&&i(s,(s=>s+"ms")),$=s=>s&&i(s,(s=>s+"px")),u=s=>s&&i(s,(s=>s+"deg")),v=s=>s&&i(s,(s=>s+"vw")),g=s=>s&&i(s,(s=>s+"vh")),x=s=>s&&i(s,(s=>s+"vmin")),w=s=>s&&i(s,(s=>s+"vmax")),y=s=>s&&i(s,(s=>s+"cqb")),z=s=>s&&i(s,(s=>s+"cqi")),S=s=>s&&i(s,(s=>s+"cqmin")),j=s=>s&&i(s,(s=>s+"cqmax")),k=s=>s&&i(s,(s=>"span "+s)),O="x",q="y",E="horizontal",A="vertical",N="text",R="font",V="column",W="max",I="min",P="content",C=P+"s",K="items",T="self",X="inline",B="block",L="size",U="radius",Y="direction",Z="outline",D="style",G="end",H="start",J="center",M="word",F="line",Q="break",ss="wrap",ts="nowarp",es="template",rs="rule",is="object",cs="top",os="left",as="bottom",ls="right",ns="width",ps="color",_s="overflow",bs="align",ms="type",fs="transform",hs="all",ds="height",$s="normal",us="opacity",vs="visibility",gs="scale",xs="box",ws="border",ys="position",zs="none",Ss="auto",js="fill",ks="stroke",Os="reverse",qs="space",Es="fixed",As="origin",Ns="alpha",Rs="luminance",Vs="clip",Ws="zoom",Is="scroll",Ps="padding",Cs="margin",Ks="both",Ts="mode",Xs="repeat",Bs="light",Ls="linear",Us="hidden",Ys=s(ws,as),Zs=s(ws,os),Ds=s(ws,ls),Gs=s(ws,cs),Hs=s(ws,B),Js=s(ws,X),Ms=s(Hs,H),Fs=s(Hs,G),Qs=s(Js,H),st=s(Js,G),tt=s(ws,ns),et=s(Ys,ns),rt=s(Zs,ns),it=s(Ds,ns),ct=s(Gs,ns),ot=s(Hs,ns),at=s(Js,ns),lt=s(Ms,ns),nt=s(Fs,ns),pt=s(Qs,ns),_t=s(st,ns),bt=s(ws,U),mt=s(ws,as,os,U),ft=s(ws,as,ls,U),ht=s(ws,cs,os,U),dt=s(ws,cs,ls,U),$t=s(ws,H,G,U),ut=s(ws,H,H,U),vt=s(ws,G,G,U),gt=s(ws,G,H,U),xt=s(ws,ps),wt=s(Zs,ps),yt=s(Ds,ps),zt=s(Gs,ps),St=s(Ys,ps),jt=s(Hs,ps),kt=s(Js,ps),Ot=s(Ms,ps),qt=s(Fs,ps),Et=s(Qs,ps),At=s(st,ps),Nt=s(ws,D),Rt=s(Zs,D),Vt=s(Ds,D),Wt=s(Gs,D),It=s(Ys,D),Pt=s(Hs,D),Ct=s(Js,D),Kt=s(Ms,D),Tt=s(Fs,D),Xt=s(Qs,D),Bt=s(st,D),Lt=s(Z,ps),Ut=s(Z,ns),Yt=s(Z,D),Zt=s(Z,"offset"),Dt=s(_s,O),Gt=s(_s,q),Ht=s(is,"fit"),Jt=s(is,ys),Mt=s(gs,"down"),Ft=s(xs,"shadow"),Qt=s(Ps,xs),se=s(ws,xs),te=s(P,xs),ee=s(js,xs),re=s(ks,xs),ie=s("view",xs),ce=s("no",Vs),oe=s(Xs,O),ae=s(Xs,q),le=s("no",Xs),ne=s(Ps,os),pe=s(Ps,cs),_e=s(Ps,ls),be=s(Ps,as),me=s(Cs,os),fe=s(Cs,cs),he=s(Cs,ls),de=s(Cs,as),$e="grid",ue="row",ve="justify",ge="flex",xe=s(X,ge),we=s(ge,"basis"),ye=s(ge,"grow"),ze=s(ge,"shrink"),Se=s(ge,Y),je=s(ge,ss),ke=s(ve,P),Oe=s(ve,K),qe=s(bs,K),Ee=s(bs,P),Ae=s(bs,T),Ne=s($e,es,ue+"s"),Re=s($e,es,V+"s"),Ve=s(ue,"gap"),We=s(V,"gap"),Ie=s(ve,T),Pe=s($e,ue,G),Ce=s($e,ue,H),Ke=s($e,V,G),Te=s($e,V,H),Xe=s(V,"count"),Be=s(V,js),Le=s(V,rs,ps),Ue=s(V,rs,D),Ye=s(V,rs,ns),Ze=s(V,"span"),De=s(V,ns),Ge=s(ue,Os),He=s(V,Os),Je=s(ss,Os),Me=s(ge,G),Fe=s(ge,H),Qe=s(qs,"between"),sr=s(qs,"around"),tr=s(qs,"evenly"),er=s(X,$e),rr="mask",ir=s(rr,Vs),cr=s(rr,"composite"),or=s(rr,Ts),ar=s(rr,As),lr=s(rr,ys),nr=s(rr,Xs),pr=s(rr,L),_r=s(rr,ms),br="timing-function",mr="delay",fr="duration",hr="animation",dr=s(hr,"name"),$r=s(hr,br),ur=s(hr,Y),vr=s(hr,"iteration-count"),gr=s(hr,fr),xr=s(hr,mr),wr=hr+"-play-state",yr=s(hr,js,Ts),zr="transition",Sr=zr+"-behavior",jr=zr+"-property",kr=s(zr,br),Or=s(zr,fr),qr=s(zr,mr),Er="alternate",Ar=s(Er,Os),Nr="-out",Rr="ease",Vr=Rr+"-in",Wr=Vr+Nr,Ir=Rr+Nr,Pr="step",Cr=s(Pr,H),Kr=s(Pr,G),Tr="translate",Xr="rotate",Br="perspective",Lr=s(Br,As),Ur=t(os,cs),Yr=t(ls,cs),Zr=t(os,as),Dr=t(ls,as),Gr="inset",Hr=s(fs,xs),Jr=s(fs,As),Mr=s(fs,D),Fr=s(Gr,B),Qr=s(Gr,B,G),si=s(Gr,B,H),ti=s(Gr,X),ei=s(Gr,X,G),ri=s(Gr,X,H),ii=s("fit",P),ci=s(I,P),oi=s(W,P),ai=s(xs,"sizing"),li=s(W,ns),ni=s(I,ns),pi=s(W,ds),_i=s(I,ds),bi=s(B,L),mi=s(W,bi),fi=s(I,bi),hi=s(X,L),di=s(W,hi),$i=s(I,hi),ui="snap",vi=s(Is,"behavior"),gi=s(Is,Cs),xi=s(Is,Cs,cs),wi=s(Is,Cs,as),yi=s(Is,Cs,os),zi=s(Is,Cs,ls),Si=s(Is,Cs,B),ji=s(Is,Cs,B,G),ki=s(Is,Cs,B,H),Oi=s(Is,Cs,X),qi=s(Is,Cs,X,G),Ei=s(Is,Cs,X,H),Ai=s(Is,Ps),Ni=s(Is,Ps,cs),Ri=s(Is,Ps,as),Vi=s(Is,Ps,os),Wi=s(Is,Ps,ls),Ii=s(Is,Ps,B),Pi=s(Is,Ps,B,G),Ci=s(Is,Ps,B,H),Ki=s(Is,Ps,X),Ti=s(Is,Ps,X,G),Xi=s(Is,Ps,X,H),Bi=s(Is,ui,bs),Li=s(Is,ui,"stop"),Ui=s(Is,ui,ms),Yi="mandatory",Zi=t(O,Yi),Di=t(q,Yi),Gi=t(B,Yi),Hi=t(X,Yi),Ji=t(Ks,Yi),Mi="proximity",Fi=t(O,Mi),Qi=t(q,Mi),sc=t(B,Mi),tc=t(X,Mi),ec=t(Ks,Mi),rc=s(N,"decoration"),ic=s(rc,ps),cc=s(N,fs),oc=s(N,bs),ac=s(N,_s),lc=s(N,"orientation"),nc=s(M,Q),pc=s(R,L),_c=R+"-weight",bc=R+"-family",mc=s(R,D),fc=s("writing",Ts),hc=s(F,ds),dc=s(F,Q),$c=F+"-through",uc="over"+F,vc="under"+F,gc="pre",xc=s(gc,F),wc=s(gc,ss),yc=Q+"-spaces",zc=s(Q,hs),Sc=s(Q,M),jc=E+"-tb",kc=A+"-lr",Oc=A+"-rl",qc="keep-"+hs,Ec="pointer",Ac="pan",Nc=s(Ac,O),Rc=s(Ac,os),Vc=s(Ac,ls),Wc=s(Ac,q),Ic=s(Ac,"up"),Pc=s(Ac,"down"),Cc=s("pinch",Ws),Kc=s(A,N),Tc="grab",Xc=Tc+"bing",Bc="resize",Lc="col-"+Bc,Uc="row-"+Bc,Yc="n-"+Bc,Zc="e-"+Bc,Dc="s-"+Bc,Gc="w-"+Bc,Hc="ne-"+Bc,Jc="ew-"+Bc,Mc="nw-"+Bc,Fc="se-"+Bc,Qc="sw-"+Bc,so="ns-"+Bc,to="nesw-"+Bc,eo="nwse-"+Bc,ro=s(Ws,"in"),io=s(Ws,"out"),co=s(Ec,"events"),oo=s(Is,ys),ao=s("caret",ps),lo=s("accent",ps),no="filter",po="backdrop-"+no,_o="background",bo=s(_o,ps),mo=s(_o,Vs),fo=s(_o,As),ho=s(_o,ys),$o=s(_o,ys,O),uo=s(_o,ys,q),vo=s(_o,Xs),go=s(_o,L),xo=s(_o,"blend",Ts),wo=s(_o,"attachment"),yo="gradient",zo=s(Ls,yo);s("radial",yo),s("conic",yo);const So=s(P,vs);s(ks,ns),s(js,rs);const jo=s(ps,"dodge"),ko=s(ps,"burn"),Oo=s("hard",Bs),qo=s("soft",Bs);s(ps,"mix");const Eo="revert",Ao={uni:{ini:"initial",inh:"inherit",u:"unset",r:Eo,rl:s(Eo,"layer"),a:Ss,no:zs},ali:{s:H,e:G,c:J,st:"stretch",sb:Qe,sa:sr,se:tr,b:"baseline",fs:Fe,fe:Me,no:zs},dis:{g:$e,ig:er,f:ge,if:xe},fd:{r:ue,rr:Ge,c:V,cr:He},fw:{w:ss,nw:ts,wr:Je},rep:{rx:oe,ry:ae,r:Xs,s:qs,ro:"round",nr:le},ttf:{l:Ls,e:Rr,ei:Vr,eo:Ir,eio:Wr,ss:Cr,se:Kr},ws:{n:$s,nw:ts,p:gc,pl:xc,pw:wc,bs:yc},wb:{n:$s,ba:zc,ka:qc,bw:Sc},wm:{htb:jc,vlr:kc,vrl:Oc},hyp:{no:zs,m:"manual",a:Ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:$c,o:uc,u:vc},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:os,c:J,j:ve,r:ls,s:H,e:G},tp:{all:hs,col:e(ps,bo,xt,ic),icon:e(js,ks),filter:e(no,po),ind:e(Ps,Cs),sz:e(ns,li,ni,ds,pi,_i),esz:e(fi,bi,mi,$i,hi,di),o:us,b:ws,f:ge,g:$e,pos:e(ys,os,cs,as,ls),tf:e(fs,Tr,gs,Xr,"skew",Br)},lb:{a:Ss,any:"anywhere",n:$s,l:"loose",s:"strict"},ov:{h:Us,s:Is,a:Ss,c:Vs,e:"ellipsis"},v:{h:Us,v:"visible",c:"collapse",a:Ss},wc:{a:Ss,sp:oo,c:C,tf:fs,o:us,i:Gr,tfi:fs+","+Gr},afm:{no:zs,f:"forwards",b:"backwards",both:Ks},adir:{r:Os,a:Er,ar:Ar},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:$s},app:{n:zs,a:Ss},pe:{a:Ss,no:zs,all:hs,f:js,s:ks},cur:{h:"help",a:Ss,p:Ec,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:N,vt:Kc,cp:"copy",m:"move",g:Tc,gng:Xc,cr:Lc,rr:Uc,nr:Yc,er:Zc,sr:Dc,wr:Gc,ner:Hc,ewr:Jc,nwr:Mc,ser:Fc,swr:Qc,nsr:so,neswr:to,nwser:eo,zi:ro,zo:io},res:{n:zs,v:A,h:E,b:Ks},toa:{a:Ss,no:zs,px:Nc,pl:Rc,pr:Vc,py:Wc,pu:Ic,pd:Pc,pz:Cc,m:"manipulation"},us:{n:zs,t:N,all:hs,a:Ss},sb:{a:Ss,s:"smooth"},sss:{n:$s,a:"always"},sst:{n:zs,x:O,y:q,b:B,i:X,both:Ks,xm:Zi,ym:Di,bm:Gi,im:Hi,bothm:Ji,xp:Fi,yp:Qi,bp:sc,ip:tc,bothp:ec},fst:{i:"italic",n:$s,o:"oblique"},pos:{r:"relative",a:"absolute",f:Es,s:"static"},posv:{b:as,t:cs,c:J,l:os,r:ls,lt:Ur,rt:Yr,lb:Zr,rb:Dr},csz:{cv:"cover",cn:"contain",a:Ss,f:js,sd:Mt},cf:{a:Ss,b:"balance"},cs:{no:zs,all:hs},box:{c:te,p:Qt,b:se,f:ee,s:re,v:ie,nc:ce,t:N},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:Ns,l:Rs},mm:{a:Ns,l:Rs,m:"match-source"},bgbm:{n:$s,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Bs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ps,lum:"luminosity",cd:jo,cb:ko,hl:Oo,sl:qo},bga:{s:Is,f:Es,l:"local"},ls:{no:zs,dt:"dotted",i:Gr,h:Us,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:ci,max:oi,fit:ii,no:0,a:Ss}},No={a:hr,an:dr,adur:gr,adel:xr,aps:wr,afm:yr,adir:ur,aic:vr,atf:$r,trn:zr,tdur:Or,tdel:qr,tb:Sr,tp:jr,ttf:kr,bor:ws,bw:tt,br:bt,bs:Nt,bls:Rt,brs:Vt,bts:Wt,bbs:It,bbls:Pt,bis:Ct,bbss:Kt,bbes:Tt,biss:Xt,bies:Bt,brw:it,blw:rt,btw:ct,bbw:et,btlr:ht,btrr:dt,bbrr:ft,bblr:mt,biw:at,bblw:ot,bbew:nt,bbsw:lt,bisw:pt,biew:_t,besr:gt,beer:vt,bssr:ut,bser:$t,bc:xt,blc:wt,brc:yt,btc:zt,bbc:St,bblc:jt,bic:kt,bbsc:Ot,bbec:qt,bisc:Et,biec:At,bgc:bo,c:ps,acc:lo,ctc:ao,st:ks,fi:js,flt:no,bf:po,g:$e,f:ge,dis:"display",jc:ke,ji:Oe,ai:qe,ac:Ee,gtr:Ne,gtc:Re,rg:Ve,cg:We,as:Ae,js:Ie,gre:Pe,grs:Ce,gce:Ke,gcs:Te,fd:Se,fw:je,fs:ze,fg:ye,fb:we,ord:"order",m:Cs,ml:me,mr:he,mt:fe,mb:de,p:Ps,pl:ne,pr:_e,pt:pe,pb:be,oc:Lt,ow:Ut,os:Yt,oo:Zt,l:os,r:ls,t:cs,b:as,ins:Gr,ib:Fr,ibe:Qr,ibs:si,ii:ti,iie:ei,iis:ri,wc:"will-change",app:"appearance",pe:co,cur:"cursor",toa:"touch-action",us:"user-select",res:Bc,sb:vi,ssa:Bi,sss:Li,sst:Ui,sm:gi,sml:yi,smr:zi,smt:xi,smb:wi,sp:Ai,spl:Vi,spr:Wi,spt:Ni,spb:Ri,smbl:Si,smbe:ji,smbs:ki,smi:Oi,smie:qi,smis:Ei,spbl:Ii,spbe:Pi,spbs:Ci,spi:Ki,spie:Ti,spis:Xi,ar:"aspect-ratio",w:ns,maxw:li,minw:ni,h:ds,minh:_i,maxh:pi,bl:bi,maxb:mi,minb:fi,i:hi,mini:$i,maxi:di,per:Br,pero:Lr,rot:Xr,sc:gs,tf:fs,tfb:Hr,tfo:Jr,tfs:Mr,tr:Tr,z:Ws,lts:"letter-spacing",lh:hc,lb:dc,fst:mc,ff:bc,fwg:_c,fsz:pc,tt:cc,td:rc,ta:oc,to:ac,ws:"white-space",tor:lc,wb:nc,wm:fc,hyp:"hyphens",bsz:ai,bsh:Ft,pos:ys,cf:Be,crs:Ue,crc:Le,crw:Ye,cs:Ze,cw:De,cc:Xe,bgcl:mo,bgp:ho,bgpx:$o,bgpy:uo,bgbm:xo,bgo:fo,bgr:vo,bga:wo,bgsz:go,mcl:ir,mcm:cr,mm:or,mo:ar,mp:lr,mre:nr,msz:pr,mtp:_r,obf:Ht,obp:Jt,cnt:P,ov:_s,ovx:Dt,ovy:Gt,v:vs,cv:So,o:us,zi:"z-index",zm:Ws,lg:zo,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Ro={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,t)=>(s[t]=t,s)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},Ao)},Vo=s=>`{${s}}`,Wo=Object.assign.bind(Object),Io=(s,t)=>`${s}:${t};`,Po=(s,t)=>["@property",s,Vo(Io("syntax",t.syn||'"*"')+Io("inherits",t.inh||!1)+(t.ini?Io("initial-value",t.ini):""))].join(" "),Co=s=>`var(${s})`,Ko=({l:s,c:t,h:e,a:r=1})=>`oklch(${s} ${t} ${e} / ${r})`,To=["l","c","h","a"];class Xo{constructor(s){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Ro,this._compKeys={},this._compValues={},this._analyzeParams=s=>{var t,e;if(s)for(const t in s)this._params[t]=Wo(this._params[t]||{},s[t]);const{time:r,rem:c,coef:o,szu:a,sz:l,sp:n,rad:p,th:_,fr:b,bp:m,fsz:f,lsp:O,tr:q,sk:E,rot:A,fg:N,fs:R,fb:V,fo:W,ra:I,ro:P,co:C,ca:K,ins:T,cqu:X,cqb:B,cqi:L,cqmin:U,cqmax:Y,vu:Z,vw:D,vh:G,vmin:H,vmax:J}=this._params.root,M=(s=>s&&i(s,(s=>100*Number(s)+"%")))(b);this._params.root=Wo(this._params.root,{cqb:y(B||X),cqi:z(L||X),cqmin:S(U||X),cqmax:j(Y||X),vw:v(D||Z),vh:g(G||Z),vmin:x(H||Z),vmax:w(J||Z),fo:W||o,fg:N||o,fs:R||o,fb:V||M,ra:I||k(o),ro:P||o,ca:K||k(o),co:C||o,ins:T||M,sz:Wo(h(l)||{},a),sp:Wo(h(n)||{},a),rad:h(p),th:h(_),bp:h(m),fsz:h(f),lsp:h(O),tr:h(q),sk:u(E),rot:u(A),perc:M,time:d(r),rem:$(c)});const F=function(s,t){var e={};for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&t.indexOf(r)<0&&(e[r]=s[r]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(s);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(s,r[i])&&(e[r[i]]=s[r[i]])}return e}(this._params,["root"]),Q=Object.entries(F),ss={_mode:{root:{}}},ts={};Q.forEach((([s,t])=>{ss._mode[s]||(ss._mode[s]={}),Object.entries(t).forEach((([t,e])=>{Object.entries(e).forEach((([e,r])=>{const i=this._prepareVarName(t,e);ss._mode[s][i]=r,ss._mode.root[i]||(ss._mode.root[i]=r,ts[t]||(ts[t]={}),ts[t][e]=`var(${i})`)}))}))})),this._compValues=ts,this._compKeys=Object.entries(this._compValues.bp||{}).reduce(((s,[t,e])=>(s[t+"_"]=`@media (min-width:${e})`,s[t.toUpperCase()+"_"]=`@media (max-width:${e})`,s)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ss),{$r_:Object.assign(Object.assign({},ss._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ss._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ss._mode.dark}}:{}),(null===(e=ss._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:ss._mode.light}}:{})})},this._prepareVarName=(...s)=>["-",this._prefix,...s].join("-"),this.compile=(s,t)=>{const{_:e,kf:r,k:i={},v:c={},c:o}=t,a=this._prepareSelector.bind(this),l=this._parseSelector.bind(this);let n=Wo({},o),p=Wo({},i),_=Wo({_:{}},c),b="";if(e)for(let t in e){const r=e[t];if("c"===r.typ){const e={};To.forEach((i=>{const c=t+i,o=this._prepareVarName(s,c);e[i]=o,p["_"+c]=e[i],b+=Po(o,r)})),_._[t]=Ko({l:Co(e.l),c:Co(e.c),h:Co(e.h),a:Co(e.a)}),r.all&&(n["_"+t+"l"]=`&lig=>${this._prepareVarName(s,t+"l")}:{1}`,n["_"+t+"c"]=`&chr=>${this._prepareVarName(s,t+"c")}:{1}`,n["_"+t+"h"]=`&hue=>${this._prepareVarName(s,t+"h")}:{1}`,n["_"+t+"a"]=`&alp=>${this._prepareVarName(s,t+"a")}:{1}`)}else{const e=this._prepareVarName(s,t);p["_"+t]=e,_._[t]=Co(e),b+=Po(e,r)}}const m=s=>p[s]||this._compKeys[s]||No[s],f=s=>_[s]||this._compValues[s]||this._params.root[s],h=s=>s.replaceAll(/\{(.+?)\}/g,((s,t)=>{const[e,r]=t.split(".");if(r){const s=f(e);return(null==s?void 0:s[r])||(null==s?void 0:s.def)}return m(e)})),d=s=>{const t=s.split("?");let e;for(let s in t){const r=t[s],[i,c]=r.split("=>"),[o,a,l]=i.match(/(\w+)(\[[\w,]+\])?/),n=f(a);if(!n)continue;e=n;let p=Object.entries(e);const _=null==l?void 0:l.slice(1,-1).split(",");if(_){const s=new Set(_);p=p.filter((([t,e])=>s.has(t)))}if(c){let[s,t]=c.split("|");void 0===t&&(t=s,s=""),p=p.map((([e,r])=>[s.replace("{0}",e)||e,h(t.replaceAll("{1}",r))]))}(_||c)&&(e=Object.fromEntries(p));break}return e};function $(t,e,r){var i,c,o;let n=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(n=m(t.slice(1)),!n))return"";if(Array.isArray(e))return $(n,Object.assign({},...e.map((s=>"string"==typeof s?d(s):s))),r);if(null==e)return"";if("object"==typeof e){const t=!r||n.startsWith("&")||n.startsWith("@")?"":"&";if(n.startsWith("_")){const{e:r,m:i,mv:c}=l(n);return i&&"string"!=typeof c?Object.entries(e).reduce(((e,[c,o])=>{let l;return l="object"==typeof o?Object.entries(o).reduce(((s,t)=>s+$(...t,n)),""):o+";",e+t+a({b:s,e:r,m:i,mv:c})+Vo(l)}),""):t+a({b:s,e:r,m:i,mv:c})+Vo(Object.entries(e).reduce(((s,t)=>s+$(...t,n)),""))}return t+n+Vo(Object.entries(e).reduce(((s,t)=>s+$(...t,n)),""))}{let s=""+e;return(null===(c=null==s?void 0:s.startsWith)||void 0===c?void 0:c.call(s,"&"))?$(n,d(s.slice(1)),r):(null===(o=null==s?void 0:s.includes)||void 0===o?void 0:o.call(s,"{"))?$(n,h(s),r):Io(n,e)}}let u="";if(r)for(let s in r){const t=r[s];u+=`@keyframes ${s} `+Vo(Object.entries(t).reduce(((s,[t,e])=>s+t+(String(+t)===t?"%":"")+Vo(Object.entries(e).reduce(((s,t)=>s+$(...t)),""))),""))}return b+u+Object.entries(n).reduce(((s,t)=>s+$(...t)),"")};const{mode:t,prefix:e,params:r}=s;this._mode=t||"a",this._prefix=e||"eff","c"===this._mode?this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`.${s}${(t?"__"+t:"")+(e?"_"+e:"")+(e&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`[data-${s}${t?"-"+t:""}${e?'~="'+e+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(r)}_parseSelector(s){let t,e,r,i;return s.startsWith("__")?[t,e,r]=s.slice(2).split("_"):[t,e,r]=s.split("_"),r&&([r,i]=r.split(":")),{e:t,m:e,mv:r,s:i}}expandSelector(s,t){const{e:e,m:r,mv:i,s:c}=this._parseSelector(t),o=c&&this._getStateSelector(c);return[this._prepareSelector({b:s,e:e,m:r,mv:i}),this._prepareSelector({b:s,e:e,m:r,mv:i,s:c})+"{"+o]}_getStateSelector(s){const t=s+"_",e=this._compKeys[t]||No[t];if(e)return(e.startsWith("&")||e.startsWith("@")?"":"&")+e}}class Bo{constructor(s){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=s=>this._stylesheets[s],this.getAll=()=>this._stylesheets,this.add=(s,t)=>{if(!this._stylesheets[s])return this._stylesheets[s]=t,this._styleSheetsArray.push(t),this.cacheRules(s,t),this.notify(),!0},this.remove=s=>{const t=this.get(s);if(!t)return;const e=this._styleSheetsArray.findIndex((s=>s===t));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[s],delete this._rules[s],delete this._expandedSelectors[s]),this.notify(),!0},this.pack=(s,t)=>{const e=new CSSStyleSheet;if(e.replaceSync(t),e.cssRules.length)return this.add(s,e),e;console.log(`StyleSheet '${s}' is empty`)},this.cacheRules=(s,t)=>{[...t.cssRules].forEach((t=>{const e=t.cssText.split(" {")[0];e&&(this._rules[s]||(this._rules[s]={}),this._rules[s][e]=t)})),this._expandedSelectors[s]=new Set},this.getExpandedSelectors=s=>this._expandedSelectors[s],this.expandRule=(s,t,e)=>{const r=this._rules[s];if(!r)return void console.log(`No stylesheet found with key '${s}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${s}'`);const[c,o]=i.cssText.split("{");if(i.parentStyleSheet){const t=e+"{"+o+"}",c=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),a=i.parentStyleSheet.cssRules[c],l=e.split("{")[0];return r[l]=a,this._expandedSelectors[s].add(l),!0}},this.apply=s=>{s.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=s=>{this._listeners.push(new WeakRef(s)),this.apply(s)},this.unregisterNode=s=>{const t=this._listeners.findIndex((t=>t.deref()===s));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((s,t)=>{const e=t.deref();return e&&(this.apply(e),s.push(t)),s}),[])},s)for(let t in s)this.pack(t,s[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Lo="style-provider";const Uo=((...s)=>u(Object.fromEntries(s.map((s=>[s,s])))))(-20,-15,-5,10,90),Yo="In",Zo="Out",Do="Down",Go="Up",Ho="Left",Jo="Right",Mo="zoom",Fo=Mo+Yo,Qo=Mo+Zo,sa="pulse",ta="bounce",ea=ta+Yo,ra=ta+Zo,ia="fade",ca=ia+Yo,oa=ca+Do,aa=ca+Go,la=ca+Ho,na=ca+Jo,pa=ia+Zo,_a=pa+Do,ba=pa+Go,ma=pa+Ho,fa=pa+Jo,ha="flip",da=ha+Yo+"x",$a=ha+Yo+"y",ua=ha+Zo+"x",va=ha+Zo+"y",ga="slide",xa=ga+Yo,wa=xa+Do,ya=xa+Go,za=xa+Jo,Sa=xa+Ho,ja=ga+Zo,ka=ja+Do,Oa=ja+Go,qa=ja+Jo,Ea=ja+Ho,Aa="heartBeat",Na="perspective"+r("25rem");var Ra,Va={kf:{[Fo]:{0:{$o:0,$tf:c(e(.25,.25,.25))},50:{$o:1}},[Qo]:{0:{$o:1},50:{$o:0,$tf:c(e(.25,.25,.25))},to:{$o:0}},[sa]:{0:{$tf:o(1)},50:{$tf:c(e(1.05,1.05,1.05))},to:{$tf:o(1)}},[Aa]:{0:{$tf:a(1)},15:{$tf:a(1.25)},30:{$tf:a(1)},45:{$tf:a(1.25)},70:{$tf:a(0)}},[ea]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:c(e(.25,.25,.25))},20:{$tf:c(e(1.1,1.1,1.1))},40:{$tf:c(e(.9,.9,.9))},60:{$o:1,$tf:c(e(1.05,1.05,1.05))},80:{$tf:c(e(.95,.95,.95))},to:{$o:1,$tf:o(1)}},[ra]:{20:{$tf:c(e(.9,.9,.9))},"50%, 55%":{$o:1,$tf:c(e(1.1,1.1,1.1))},to:{$o:0,$tf:c(e(.3,.3,.3))}},[ca]:{0:{$o:0},to:{$o:1}},[oa]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[la]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[na]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[aa]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[pa]:{0:{$o:1},to:{$o:0}},[_a]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[ma]:{0:{$o:1},to:{$o:0,$tf:l("-100%",0,0)}},[fa]:{0:{$o:1},to:{$o:0,$tf:l("100%",0,0)}},[ba]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[da]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Na,p(Uo[90]))},40:{$atf:"{ttf.ei}",$tf:t(Na,p(Uo[-20]))},60:{$o:1,$tf:t(Na,p(Uo[10]))},80:{$tf:t(Na,p(Uo[-5]))},to:{$tf:Na}},[$a]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Na,_(Uo[90]))},40:{$atf:"{ttf.ei}",$tf:t(Na,_(Uo[-20]))},60:{$o:1,$tf:t(Na,_(Uo[10]))},80:{$tf:t(Na,_(Uo[-5]))},to:{$tf:Na}},[ua]:{0:{$tf:Na},30:{$o:1,$tf:t(Na,p(Uo[-20]))},to:{$o:0,$tf:t(Na,p(Uo[90]))}},[va]:{0:{$tf:Na},30:{$o:1,$tf:t(Na,_(Uo[-15]))},to:{$o:0,$tf:t(Na,_(Uo[90]))}},[wa]:{0:{$tf:l(0,"-100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[Sa]:{0:{$tf:l("-100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[za]:{0:{$tf:l("100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[ya]:{0:{$tf:l(0,"100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[ka]:{0:{$tf:n(0)},to:{$tf:l(0,"100%",0),$v:"{v.h}"}},[Ea]:{0:{$tf:n(0)},to:{$tf:l("-100%",0,0),$v:"{v.h}"}},[qa]:{0:{$tf:n(0)},to:{$tf:l("100%",0,0),$v:"{v.h}"}},[Oa]:{0:{$tf:n(0)},to:{$tf:l(0,"-100%",0),$v:"{v.h}"}}},c:(Ra=[Fo,Qo,sa,Aa,ea,ra,ca,oa,la,na,aa,pa,_a,ma,fa,ba,da,$a,ua,va,wa,Sa,za,ya,ka,Ea,qa,Oa],{$an:Ra.reduce(((s,t)=>(s[t]=t,s)),{})})},Wa={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[f(e("a",(s=>s+":link")("a"),(s=>s+":visited")("a"),(s=>s+":hover")("a")))]:{$td:"{uni.no}"},[f("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[f("menu,ol,ul")]:{$ls:"{ls.no}"},[f("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[f(e(m("input"),b("input"),m("button"),b("button")))]:{$o:"none"}}},Ia=Object.freeze({__proto__:null,kf:Va,reset:Wa});const Pa="{_.sz}",Ca=`calc(-1 * ${Pa})`,Ka=`calc(0.5 * ${Pa})`,Ta=`calc(-0.5 * ${Pa})`,Xa="{_.c}";var Ba={_:{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(Pa,0,Ka,Ta,Xa)},l:{$bsh:t(Ca,0,Ka,Ta,Xa)},t:{$bsh:t(0,Ca,Ka,Ta,Xa)},b:{$bsh:t(0,Pa,Ka,Ta,Xa)},x:{$bsh:e(t(Pa,0,Ka,Ta,Xa),t(Ca,0,Ka,Ta,Xa))},y:{$bsh:e(t(0,Ca,Ka,Ta,Xa),t(0,Pa,Ka,Ta,Xa))},f:{$bsh:t(0,0,Pa,Ka,Xa)},tr:{$bsh:t(Pa,Ca,Pa,Ta,Xa)},tl:{$bsh:t(Ca,Ca,Pa,Ta,Xa)},br:{$bsh:t(Pa,Pa,Pa,Ta,Xa)},bl:{$bsh:t(Ca,Pa,Pa,Ta,Xa)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const La=["sz","perc"],Ua=["cqw","cqmin","cqmax"],Ya=["vw","vmin","vmax"],Za=["cqh","cqmin","cqmax"],Da=["vh","vmin","vmax"];var Ga={c:{_w:[...La.map((s=>`&${s}=>{w}:{1}`)),...Ua.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...Ya.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...La.map((s=>`&${s}=>{maxw}:{1}`)),...Ua.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...Ya.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...La.map((s=>`&${s}=>{minw}:{1}`)),...Ua.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...Ya.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...La.map((s=>`&${s}=>{h}:{1}`)),...Za.map((s=>`&${s}=>{h}:{1}`)),...Da.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...La.map((s=>`&${s}=>{maxh}:{1}`)),...Za.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...Da.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...La.map((s=>`&${s}=>{minh}:{1}`)),...Za.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...Da.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const Ha=["sz","perc"],Ja=["cqb","cqmin","cqmax"],Ma=["vw","vh","vmin","vmax"],Fa=["cqi","cqmin","cqmax"];var Qa,sl={c:{_b:[...Ha.map((s=>`&${s}=>{b}:{1}`)),...Ja.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...Ha.map((s=>`&${s}=>{maxb}:{1}`)),...Ja.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...Ha.map((s=>`&${s}=>{minb}:{1}`)),...Ja.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...Ha.map((s=>`&${s}=>{i}:{1}`)),...Fa.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...Ha.map((s=>`&${s}=>{maxi}:{1}`)),...Fa.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...Ha.map((s=>`&${s}=>{mini}:{1}`)),...Fa.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...Ma.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},tl={_:{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"}}},el=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:Ba,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}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{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:Ga,sze:sl,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:tl,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}"}}});Qa={config:{styles:Object.assign(Object.assign({},el),Ia)}},customElements.define((null==Qa?void 0:Qa.name)||Lo,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var s;const t=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return t?JSON.parse(t):(null==Qa?void 0:Qa.config)||{}},this.compileStyleSheet=(s,t)=>{var e,r;const i=null===(e=this.processor)||void 0===e?void 0:e.compile(s,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(s,i)},this.expandStyleSheet=(s,t)=>{var e;const r=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(s);if(this.processor&&r){const e=new Set(t).difference(r),i=e.size;return i&&this.processor&&e.keys().forEach((t=>{var e;const[r,i]=this.processor.expandSelector(s,t);null===(e=this.manager)||void 0===e||e.expandRule(s,r,i)})),i}},this.processStyles=(s,t)=>{if(s)for(let t in s){const e=s[t];this.compileStyleSheet(t,e)}if(t)for(let s in t){const e=t[s];this.expandStyleSheet(s,e)}return!0}}connectedCallback(){const s=this.getSettings(),{params:t,styles:e,ext:r}=s;this.processor=new Xo({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Bo({init:`${Lo} {display: contents;}`+this.processor.baseStyles}),this.processStyles(e,r),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
|
|
1
|
+
"function"==typeof SuppressedError&&SuppressedError;const s=(...s)=>s.join("-"),t=(...s)=>s.join(" "),e=(...s)=>s.join(","),r=s=>`(${s})`,i=(s,t)=>((s,t)=>Object.fromEntries(Object.entries(s).map((s=>t(s)))))(s,(s=>[s[0],t(s[1])])),a=s=>"scale3d"+r(s),c=s=>"scaleX"+r(s),o=s=>"scale"+r(s),l=(s,t,i)=>"translate3d"+r(e(s,t,i)),n=s=>"translateZ"+r(s),p=s=>"rotateX"+r(s),_=s=>"rotateY"+r(s),b=s=>s+":active",m=s=>s+":focus",f=s=>":where"+r(s),h=s=>s&&i(s,(s=>s+"rem")),d=s=>s&&i(s,(s=>s+"ms")),$=s=>s&&i(s,(s=>s+"px")),u=s=>s&&i(s,(s=>s+"deg")),v=s=>s&&i(s,(s=>s+"vw")),g=s=>s&&i(s,(s=>s+"vh")),x=s=>s&&i(s,(s=>s+"vmin")),w=s=>s&&i(s,(s=>s+"vmax")),y=s=>s&&i(s,(s=>s+"cqb")),z=s=>s&&i(s,(s=>s+"cqi")),S=s=>s&&i(s,(s=>s+"cqmin")),j=s=>s&&i(s,(s=>s+"cqmax")),k=s=>s&&i(s,(s=>"span "+s)),O="x",q="y",E="horizontal",N="vertical",A="text",R="font",V="column",W="max",I="min",K="content",P=K+"s",C="items",T="self",X="inline",B="block",L="size",Y="radius",Z="direction",D="outline",G="style",H="end",J="start",M="center",U="word",F="line",Q="break",ss="wrap",ts="nowarp",es="template",rs="rule",is="object",as="top",cs="left",os="bottom",ls="right",ns="width",ps="color",_s="overflow",bs="align",ms="type",fs="transform",hs="all",ds="height",$s="normal",us="opacity",vs="visibility",gs="scale",xs="box",ws="border",ys="position",zs="none",Ss="auto",js="fill",ks="stroke",Os="reverse",qs="space",Es="fixed",Ns="origin",As="alpha",Rs="luminance",Vs="clip",Ws="zoom",Is="scroll",Ks="padding",Ps="margin",Cs="both",Ts="mode",Xs="repeat",Bs="light",Ls="linear",Ys="hidden",Zs=s(ws,os),Ds=s(ws,cs),Gs=s(ws,ls),Hs=s(ws,as),Js=s(ws,B),Ms=s(ws,X),Us=s(Js,J),Fs=s(Js,H),Qs=s(Ms,J),st=s(Ms,H),tt=s(ws,ns),et=s(Zs,ns),rt=s(Ds,ns),it=s(Gs,ns),at=s(Hs,ns),ct=s(Js,ns),ot=s(Ms,ns),lt=s(Us,ns),nt=s(Fs,ns),pt=s(Qs,ns),_t=s(st,ns),bt=s(ws,Y),mt=s(ws,os,cs,Y),ft=s(ws,os,ls,Y),ht=s(ws,as,cs,Y),dt=s(ws,as,ls,Y),$t=s(ws,J,H,Y),ut=s(ws,J,J,Y),vt=s(ws,H,H,Y),gt=s(ws,H,J,Y),xt=s(ws,ps),wt=s(Ds,ps),yt=s(Gs,ps),zt=s(Hs,ps),St=s(Zs,ps),jt=s(Js,ps),kt=s(Ms,ps),Ot=s(Us,ps),qt=s(Fs,ps),Et=s(Qs,ps),Nt=s(st,ps),At=s(ws,G),Rt=s(Ds,G),Vt=s(Gs,G),Wt=s(Hs,G),It=s(Zs,G),Kt=s(Js,G),Pt=s(Ms,G),Ct=s(Us,G),Tt=s(Fs,G),Xt=s(Qs,G),Bt=s(st,G),Lt=s(D,ps),Yt=s(D,ns),Zt=s(D,G),Dt=s(D,"offset"),Gt=s(_s,O),Ht=s(_s,q),Jt=s(is,"fit"),Mt=s(is,ys),Ut=s(gs,"down"),Ft=s(xs,"shadow"),Qt=s(Ks,xs),se=s(ws,xs),te=s(K,xs),ee=s(js,xs),re=s(ks,xs),ie=s("view",xs),ae=s("no",Vs),ce=s(Xs,O),oe=s(Xs,q),le=s("no",Xs),ne=s(Ks,cs),pe=s(Ks,as),_e=s(Ks,ls),be=s(Ks,os),me=s(Ps,cs),fe=s(Ps,as),he=s(Ps,ls),de=s(Ps,os),$e="grid",ue="row",ve="justify",ge="flex",xe=s(X,ge),we=s(ge,"basis"),ye=s(ge,"grow"),ze=s(ge,"shrink"),Se=s(ge,Z),je=s(ge,ss),ke=s(ve,K),Oe=s(ve,C),qe=s(bs,C),Ee=s(bs,K),Ne=s(bs,T),Ae=s($e,es,ue+"s"),Re=s($e,es,V+"s"),Ve=s(ue,"gap"),We=s(V,"gap"),Ie=s(ve,T),Ke=s($e,ue,H),Pe=s($e,ue,J),Ce=s($e,V,H),Te=s($e,V,J),Xe=s(V,"count"),Be=s(V,js),Le=s(V,rs,ps),Ye=s(V,rs,G),Ze=s(V,rs,ns),De=s(V,"span"),Ge=s(V,ns),He=s(ue,Os),Je=s(V,Os),Me=s(ss,Os),Ue=s(ge,H),Fe=s(ge,J),Qe=s(qs,"between"),sr=s(qs,"around"),tr=s(qs,"evenly"),er=s(X,$e),rr="mask",ir=s(rr,Vs),ar=s(rr,"composite"),cr=s(rr,Ts),or=s(rr,Ns),lr=s(rr,ys),nr=s(rr,Xs),pr=s(rr,L),_r=s(rr,ms),br="timing-function",mr="delay",fr="duration",hr="animation",dr=s(hr,"name"),$r=s(hr,br),ur=s(hr,Z),vr=s(hr,"iteration-count"),gr=s(hr,fr),xr=s(hr,mr),wr=hr+"-play-state",yr=s(hr,js,Ts),zr="transition",Sr=zr+"-behavior",jr=zr+"-property",kr=s(zr,br),Or=s(zr,fr),qr=s(zr,mr),Er="alternate",Nr=s(Er,Os),Ar="-out",Rr="ease",Vr=Rr+"-in",Wr=Vr+Ar,Ir=Rr+Ar,Kr="step",Pr=s(Kr,J),Cr=s(Kr,H),Tr="translate",Xr="rotate",Br="perspective",Lr=s(Br,Ns),Yr=t(cs,as),Zr=t(ls,as),Dr=t(cs,os),Gr=t(ls,os),Hr="inset",Jr=s(fs,xs),Mr=s(fs,Ns),Ur=s(fs,G),Fr=s(Hr,B),Qr=s(Hr,B,H),si=s(Hr,B,J),ti=s(Hr,X),ei=s(Hr,X,H),ri=s(Hr,X,J),ii=s("fit",K),ai=s(I,K),ci=s(W,K),oi=s(xs,"sizing"),li=s(W,ns),ni=s(I,ns),pi=s(W,ds),_i=s(I,ds),bi=s(B,L),mi=s(W,bi),fi=s(I,bi),hi=s(X,L),di=s(W,hi),$i=s(I,hi),ui="snap",vi=s(Is,"behavior"),gi=s(Is,Ps),xi=s(Is,Ps,as),wi=s(Is,Ps,os),yi=s(Is,Ps,cs),zi=s(Is,Ps,ls),Si=s(Is,Ps,B),ji=s(Is,Ps,B,H),ki=s(Is,Ps,B,J),Oi=s(Is,Ps,X),qi=s(Is,Ps,X,H),Ei=s(Is,Ps,X,J),Ni=s(Is,Ks),Ai=s(Is,Ks,as),Ri=s(Is,Ks,os),Vi=s(Is,Ks,cs),Wi=s(Is,Ks,ls),Ii=s(Is,Ks,B),Ki=s(Is,Ks,B,H),Pi=s(Is,Ks,B,J),Ci=s(Is,Ks,X),Ti=s(Is,Ks,X,H),Xi=s(Is,Ks,X,J),Bi=s(Is,ui,bs),Li=s(Is,ui,"stop"),Yi=s(Is,ui,ms),Zi="mandatory",Di=t(O,Zi),Gi=t(q,Zi),Hi=t(B,Zi),Ji=t(X,Zi),Mi=t(Cs,Zi),Ui="proximity",Fi=t(O,Ui),Qi=t(q,Ui),sa=t(B,Ui),ta=t(X,Ui),ea=t(Cs,Ui),ra=s(A,"decoration"),ia=s(ra,ps),aa=s(A,fs),ca=s(A,bs),oa=s(A,_s),la=s(A,"orientation"),na=s(U,Q),pa=s(R,L),_a=R+"-weight",ba=R+"-family",ma=s(R,G),fa=s("writing",Ts),ha=s(F,ds),da=s(F,Q),$a=F+"-through",ua="over"+F,va="under"+F,ga="pre",xa=s(ga,F),wa=s(ga,ss),ya=Q+"-spaces",za=s(Q,hs),Sa=s(Q,U),ja=E+"-tb",ka=N+"-lr",Oa=N+"-rl",qa="keep-"+hs,Ea="pointer",Na="pan",Aa=s(Na,O),Ra=s(Na,cs),Va=s(Na,ls),Wa=s(Na,q),Ia=s(Na,"up"),Ka=s(Na,"down"),Pa=s("pinch",Ws),Ca=s(N,A),Ta="grab",Xa=Ta+"bing",Ba="resize",La="col-"+Ba,Ya="row-"+Ba,Za="n-"+Ba,Da="e-"+Ba,Ga="s-"+Ba,Ha="w-"+Ba,Ja="ne-"+Ba,Ma="ew-"+Ba,Ua="nw-"+Ba,Fa="se-"+Ba,Qa="sw-"+Ba,sc="ns-"+Ba,tc="nesw-"+Ba,ec="nwse-"+Ba,rc=s(Ws,"in"),ic=s(Ws,"out"),ac=s(Ea,"events"),cc=s(Is,ys),oc=s("caret",ps),lc=s("accent",ps),nc="filter",pc="backdrop-"+nc,_c="background",bc=s(_c,ps),mc=s(_c,Vs),fc=s(_c,Ns),hc=s(_c,ys),dc=s(_c,ys,O),$c=s(_c,ys,q),uc=s(_c,Xs),vc=s(_c,L),gc=s(_c,"blend",Ts),xc=s(_c,"attachment"),wc="gradient",yc=s(Ls,wc);s("radial",wc),s("conic",wc);const zc=s(K,vs);s(ks,ns),s(js,rs);const Sc=s(ps,"dodge"),jc=s(ps,"burn"),kc=s("hard",Bs),Oc=s("soft",Bs);s(ps,"mix");const qc="revert",Ec={uni:{ini:"initial",inh:"inherit",u:"unset",r:qc,rl:s(qc,"layer"),a:Ss,no:zs},ali:{s:J,e:H,c:M,st:"stretch",sb:Qe,sa:sr,se:tr,b:"baseline",fs:Fe,fe:Ue,no:zs},dis:{g:$e,ig:er,f:ge,if:xe},fd:{r:ue,rr:He,c:V,cr:Je},fw:{w:ss,nw:ts,wr:Me},rep:{rx:ce,ry:oe,r:Xs,s:qs,ro:"round",nr:le},ttf:{l:Ls,e:Rr,ei:Vr,eo:Ir,eio:Wr,ss:Pr,se:Cr},ws:{n:$s,nw:ts,p:ga,pl:xa,pw:wa,bs:ya},wb:{n:$s,ba:za,ka:qa,bw:Sa},wm:{htb:ja,vlr:ka,vrl:Oa},hyp:{no:zs,m:"manual",a:Ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:$a,o:ua,u:va},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:cs,c:M,j:ve,r:ls,s:J,e:H},tp:{all:hs,col:e(ps,bc,xt,ia),icon:e(js,ks),filter:e(nc,pc),ind:e(Ks,Ps),sz:e(ns,li,ni,ds,pi,_i),esz:e(fi,bi,mi,$i,hi,di),o:us,b:ws,f:ge,g:$e,pos:e(ys,cs,as,os,ls),tf:e(fs,Tr,gs,Xr,"skew",Br)},lb:{a:Ss,any:"anywhere",n:$s,l:"loose",s:"strict"},ov:{h:Ys,s:Is,a:Ss,c:Vs,e:"ellipsis"},v:{h:Ys,v:"visible",c:"collapse",a:Ss},wc:{a:Ss,sp:cc,c:P,tf:fs,o:us,i:Hr,tfi:fs+","+Hr},afm:{no:zs,f:"forwards",b:"backwards",both:Cs},adir:{r:Os,a:Er,ar:Nr},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:$s},app:{n:zs,a:Ss},pe:{a:Ss,no:zs,all:hs,f:js,s:ks},cur:{h:"help",a:Ss,p:Ea,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:A,vt:Ca,cp:"copy",m:"move",g:Ta,gng:Xa,cr:La,rr:Ya,nr:Za,er:Da,sr:Ga,wr:Ha,ner:Ja,ewr:Ma,nwr:Ua,ser:Fa,swr:Qa,nsr:sc,neswr:tc,nwser:ec,zi:rc,zo:ic},res:{n:zs,v:N,h:E,b:Cs},toa:{a:Ss,no:zs,px:Aa,pl:Ra,pr:Va,py:Wa,pu:Ia,pd:Ka,pz:Pa,m:"manipulation"},us:{n:zs,t:A,all:hs,a:Ss},sb:{a:Ss,s:"smooth"},sss:{n:$s,a:"always"},sst:{n:zs,x:O,y:q,b:B,i:X,both:Cs,xm:Di,ym:Gi,bm:Hi,im:Ji,bothm:Mi,xp:Fi,yp:Qi,bp:sa,ip:ta,bothp:ea},fst:{i:"italic",n:$s,o:"oblique"},pos:{r:"relative",a:"absolute",f:Es,s:"static"},posv:{b:os,t:as,c:M,l:cs,r:ls,lt:Yr,rt:Zr,lb:Dr,rb:Gr},csz:{cv:"cover",cn:"contain",a:Ss,f:js,sd:Ut},cf:{a:Ss,b:"balance"},cs:{no:zs,all:hs},box:{c:te,p:Qt,b:se,f:ee,s:re,v:ie,nc:ae,t:A},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:As,l:Rs},mm:{a:As,l:Rs,m:"match-source"},bgbm:{n:$s,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Bs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ps,lum:"luminosity",cd:Sc,cb:jc,hl:kc,sl:Oc},bga:{s:Is,f:Es,l:"local"},ls:{no:zs,dt:"dotted",i:Hr,h:Ys,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:ai,max:ci,fit:ii,no:0,a:Ss}},Nc={a:hr,an:dr,adur:gr,adel:xr,aps:wr,afm:yr,adir:ur,aic:vr,atf:$r,trn:zr,tdur:Or,tdel:qr,tb:Sr,tp:jr,ttf:kr,bor:ws,bw:tt,br:bt,bs:At,bls:Rt,brs:Vt,bts:Wt,bbs:It,bbls:Kt,bis:Pt,bbss:Ct,bbes:Tt,biss:Xt,bies:Bt,brw:it,blw:rt,btw:at,bbw:et,btlr:ht,btrr:dt,bbrr:ft,bblr:mt,biw:ot,bblw:ct,bbew:nt,bbsw:lt,bisw:pt,biew:_t,besr:gt,beer:vt,bssr:ut,bser:$t,bc:xt,blc:wt,brc:yt,btc:zt,bbc:St,bblc:jt,bic:kt,bbsc:Ot,bbec:qt,bisc:Et,biec:Nt,bgc:bc,c:ps,acc:lc,ctc:oc,st:ks,fi:js,flt:nc,bf:pc,g:$e,f:ge,dis:"display",jc:ke,ji:Oe,ai:qe,ac:Ee,gtr:Ae,gtc:Re,rg:Ve,cg:We,as:Ne,js:Ie,gre:Ke,grs:Pe,gce:Ce,gcs:Te,fd:Se,fw:je,fs:ze,fg:ye,fb:we,ord:"order",m:Ps,ml:me,mr:he,mt:fe,mb:de,p:Ks,pl:ne,pr:_e,pt:pe,pb:be,oc:Lt,ow:Yt,os:Zt,oo:Dt,l:cs,r:ls,t:as,b:os,ins:Hr,ib:Fr,ibe:Qr,ibs:si,ii:ti,iie:ei,iis:ri,wc:"will-change",app:"appearance",pe:ac,cur:"cursor",toa:"touch-action",us:"user-select",res:Ba,sb:vi,ssa:Bi,sss:Li,sst:Yi,sm:gi,sml:yi,smr:zi,smt:xi,smb:wi,sp:Ni,spl:Vi,spr:Wi,spt:Ai,spb:Ri,smbl:Si,smbe:ji,smbs:ki,smi:Oi,smie:qi,smis:Ei,spbl:Ii,spbe:Ki,spbs:Pi,spi:Ci,spie:Ti,spis:Xi,ar:"aspect-ratio",w:ns,maxw:li,minw:ni,h:ds,minh:_i,maxh:pi,bl:bi,maxb:mi,minb:fi,i:hi,mini:$i,maxi:di,per:Br,pero:Lr,rot:Xr,sc:gs,tf:fs,tfb:Jr,tfo:Mr,tfs:Ur,tr:Tr,z:Ws,lts:"letter-spacing",lh:ha,lb:da,fst:ma,ff:ba,fwg:_a,fsz:pa,tt:aa,td:ra,ta:ca,to:oa,ws:"white-space",tor:la,wb:na,wm:fa,hyp:"hyphens",bsz:oi,bsh:Ft,pos:ys,cf:Be,crs:Ye,crc:Le,crw:Ze,cs:De,cw:Ge,cc:Xe,bgcl:mc,bgp:hc,bgpx:dc,bgpy:$c,bgbm:gc,bgo:fc,bgr:uc,bga:xc,bgsz:vc,mcl:ir,mcm:ar,mm:cr,mo:or,mp:lr,mre:nr,msz:pr,mtp:_r,obf:Jt,obp:Mt,cnt:K,ov:_s,ovx:Gt,ovy:Ht,v:vs,cv:zc,o:us,zi:"z-index",zm:Ws,lg:yc,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Ac={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,t)=>(s[t]=t,s)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},Ec)},Rc=s=>`{${s}}`,Vc=Object.assign.bind(Object),Wc=(s,t)=>`${s}:${t};`,Ic=(s,t)=>["@property",s,Rc(Wc("syntax",t.syn||'"*"')+Wc("inherits",t.inh||!1)+(t.ini?Wc("initial-value",t.ini):""))].join(" "),Kc=s=>`var(${s})`,Pc=({l:s,c:t,h:e,a:r=1})=>`oklch(${s} ${t} ${e} / ${r})`,Cc=["l","c","h","a"];class Tc{constructor(s){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Ac,this._compKeys={},this._compValues={},this._analyzeParams=s=>{var t,e;if(s)for(const t in s)this._params[t]=Vc(this._params[t]||{},s[t]);const{time:r,rem:a,coef:c,szu:o,sz:l,sp:n,rad:p,th:_,fr:b,bp:m,fsz:f,lsp:O,tr:q,sk:E,rot:N,fg:A,fs:R,fb:V,fo:W,ra:I,ro:K,co:P,ca:C,ins:T,cqu:X,cqb:B,cqi:L,cqmin:Y,cqmax:Z,vu:D,vw:G,vh:H,vmin:J,vmax:M}=this._params.root,U=(s=>s&&i(s,(s=>100*Number(s)+"%")))(b);this._params.root=Vc(this._params.root,{cqb:y(B||X),cqi:z(L||X),cqmin:S(Y||X),cqmax:j(Z||X),vw:v(G||D),vh:g(H||D),vmin:x(J||D),vmax:w(M||D),fo:W||c,fg:A||c,fs:R||c,fb:V||U,ra:I||k(c),ro:K||c,ca:C||k(c),co:P||c,ins:T||U,sz:Vc(h(l)||{},o),sp:Vc(h(n)||{},o),rad:h(p),th:h(_),bp:h(m),fsz:h(f),lsp:h(O),tr:h(q),sk:u(E),rot:u(N),perc:U,time:d(r),rem:$(a)});const F=function(s,t){var e={};for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&t.indexOf(r)<0&&(e[r]=s[r]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(s);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(s,r[i])&&(e[r[i]]=s[r[i]])}return e}(this._params,["root"]),Q=Object.entries(F),ss={_mode:{root:{}}},ts={};Q.forEach((([s,t])=>{ss._mode[s]||(ss._mode[s]={}),Object.entries(t).forEach((([t,e])=>{Object.entries(e).forEach((([e,r])=>{const i=this._prepareVarName(t,e);ss._mode[s][i]=r,ss._mode.root[i]||(ss._mode.root[i]=r,ts[t]||(ts[t]={}),ts[t][e]=`var(${i})`)}))}))})),this._compValues=ts,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((s,[t,e])=>(s[`min_${t}_`]=`@media (min-width:${e})`,s[`max_${t}_`]=`@media (max-width:${e})`,s)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ss),{$r_:Object.assign(Object.assign({},ss._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ss._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ss._mode.dark}}:{}),(null===(e=ss._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:ss._mode.light}}:{})})},this._prepareVarName=(...s)=>["-",this._prefix,...s].join("-"),this._prepareKeyframesName=(...s)=>[this._prefix,...s].join("-"),this.compile=(s,t)=>{const{_:e,kf:r,k:i={},v:a={},c:c}=t,o=this._prepareSelector.bind(this),l=this._parseSelector.bind(this);let n=Vc({},c),p=Vc({},i),_=Vc({_:{}},a),b="";if(e)for(let t in e){const r=e[t];if("c"===r.typ){const e={};Cc.forEach((i=>{const a=t+i,c=this._prepareVarName(s,a);e[i]=c,p["_"+a]=e[i],b+=Ic(c,r)})),_._[t]=Pc({l:Kc(e.l),c:Kc(e.c),h:Kc(e.h),a:Kc(e.a)}),r.all&&(n["_"+t+"l"]=`&lig=>${this._prepareVarName(s,t+"l")}:{1}`,n["_"+t+"c"]=`&chr=>${this._prepareVarName(s,t+"c")}:{1}`,n["_"+t+"h"]=`&hue=>${this._prepareVarName(s,t+"h")}:{1}`,n["_"+t+"a"]=`&alp=>${this._prepareVarName(s,t+"a")}:{1}`)}else{const e=this._prepareVarName(s,t);p["_"+t]=e,_._[t]=Kc(e),b+=Ic(e,r)}}const m=s=>p[s]||this._compKeys[s]||Nc[s],f=s=>_[s]||this._compValues[s]||this._params.root[s],h=s=>s.replaceAll(/\{(.+?)\}/g,((s,t)=>{const[e,r]=t.split(".");if(r){const s=f(e);return(null==s?void 0:s[r])||(null==s?void 0:s.def)}return m(e)})),d=s=>{const t=s.split("?");let e;for(let s in t){const r=t[s],[i,a]=r.split("=>"),[c,o,l]=i.match(/(\w+)(\[[\w,]+\])?/),n=f(o);if(!n)continue;e=n;let p=Object.entries(e);const _=null==l?void 0:l.slice(1,-1).split(",");if(_){const s=new Set(_);p=p.filter((([t,e])=>s.has(t)))}if(a){let[s,t]=a.split("|");void 0===t&&(t=s,s=""),p=p.map((([e,r])=>[s.replace("{0}",e)||e,h(t.replaceAll("{1}",r))]))}(_||a)&&(e=Object.fromEntries(p));break}return e};function $(t,e,r){var i,a,c,n;let p=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(p=m(t.slice(1)),!p))return"";if(Array.isArray(e))return $(p,Object.assign({},...e.map((s=>"string"==typeof s?d(s):s))),r);if(null==e)return"";if("object"==typeof e){const t=!r||(null===(a=r.startsWith)||void 0===a?void 0:a.call(r,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:r,m:i,mv:a}=l(p);return i&&"string"!=typeof a?Object.entries(e).reduce(((e,[a,c])=>{let l;return l="object"==typeof c?Object.entries(c).reduce(((s,t)=>s+$(...t,p)),""):c+";",e+t+o({b:s,e:r,m:i,mv:a})+Rc(l)}),""):t+o({b:s,e:r,m:i,mv:a})+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}return t+p+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}{let s=""+e;return(null===(c=null==s?void 0:s.startsWith)||void 0===c?void 0:c.call(s,"&"))?$(p,d(s.slice(1)),r):(null===(n=null==s?void 0:s.includes)||void 0===n?void 0:n.call(s,"{"))?$(p,h(s),r):Wc(p,e)}}let u="";if(r)for(let t in r){const e=r[t],i=this._prepareKeyframesName(s,t);p["kf_"+t]=i,u+=`@keyframes ${i} `+Rc(Object.entries(e).reduce(((s,[t,e])=>s+t+(String(+t)===t?"%":"")+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t)),""))),""))}return b+u+Object.entries(n).reduce(((s,t)=>s+$(...t)),"")};const{mode:t,prefix:e,params:r}=s;this._mode=t||"a",this._prefix=e||"eff","c"===this._mode?this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`.${s}${(t?"__"+t:"")+(e?"_"+e:"")+(e&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`[data-${s}${t?"-"+t:""}${e?'~="'+e+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(r)}_parseSelector(s){let t,e,r,i;return s.startsWith("__")?[t,e,r]=s.slice(2).split("_"):[t,e,r]=s.split("_"),r&&([r,i]=r.split(":")),{e:t,m:e,mv:r,s:i}}expandSelector(s,t){const{e:e,m:r,mv:i,s:a}=this._parseSelector(t),c=a&&this._getStateSelector(a);return[this._prepareSelector({b:s,e:e,m:r,mv:i}),this._prepareSelector({b:s,e:e,m:r,mv:i,s:a})+"{"+c]}_getStateSelector(s){const t=s+"_",e=this._compKeys[t]||Nc[t];if(e)return(e.startsWith("&")||e.startsWith("@")?"":"&")+e}}class Xc{constructor(s){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=s=>this._stylesheets[s],this.getAll=()=>this._stylesheets,this.add=(s,t)=>{if(!this._stylesheets[s])return this._stylesheets[s]=t,this._styleSheetsArray.push(t),this.cacheRules(s,t),this.notify(),!0},this.remove=s=>{const t=this.get(s);if(!t)return;const e=this._styleSheetsArray.findIndex((s=>s===t));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[s],delete this._rules[s],delete this._expandedSelectors[s]),this.notify(),!0},this.pack=(s,t)=>{const e=new CSSStyleSheet;if(e.replaceSync(t),e.cssRules.length)return this.add(s,e);console.log(`StyleSheet '${s}' is empty`)},this.cacheRules=(s,t)=>{[...t.cssRules].forEach((t=>{const e=t.cssText.split(" {")[0];e&&(this._rules[s]||(this._rules[s]={}),this._rules[s][e]=t)})),this._expandedSelectors[s]=new Set},this.getExpandedSelectors=s=>this._expandedSelectors[s],this.expandRule=(s,t,e)=>{const r=this._rules[s];if(!r)return void console.log(`No stylesheet found with key '${s}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${s}'`);const[a,c]=i.cssText.split("{");if(i.parentStyleSheet){const t=e+"{"+c+"}",a=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),o=i.parentStyleSheet.cssRules[a],l=e.split("{")[0];return r[l]=o,this._expandedSelectors[s].add(l),!0}},this.apply=s=>{s.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=s=>{this._listeners.push(new WeakRef(s)),this.apply(s)},this.unregisterNode=s=>{const t=this._listeners.findIndex((t=>t.deref()===s));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((s,t)=>{const e=t.deref();return e&&(this.apply(e),s.push(t)),s}),[])},s)for(let t in s)this.pack(t,s[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Bc="style-provider";const Lc=((...s)=>u(Object.fromEntries(s.map((s=>[s,s])))))(-20,-15,-5,10,90),Yc="In",Zc="Out",Dc="Down",Gc="Up",Hc="Left",Jc="Right",Mc="zoom",Uc=Mc+Yc,Fc=Mc+Zc,Qc="pulse",so="bounce",to=so+Yc,eo=so+Zc,ro="fade",io=ro+Yc,ao=io+Dc,co=io+Gc,oo=io+Hc,lo=io+Jc,no=ro+Zc,po=no+Dc,_o=no+Gc,bo=no+Hc,mo=no+Jc,fo="flip",ho=fo+Yc+"x",$o=fo+Yc+"y",uo=fo+Zc+"x",vo=fo+Zc+"y",go="slide",xo=go+Yc,wo=xo+Dc,yo=xo+Gc,zo=xo+Jc,So=xo+Hc,jo=go+Zc,ko=jo+Dc,Oo=jo+Gc,qo=jo+Jc,Eo=jo+Hc,No="heartBeat",Ao="perspective"+r("25rem");var Ro,Vo={kf:{[Uc]:{0:{$o:0,$tf:a(e(.25,.25,.25))},50:{$o:1}},[Fc]:{0:{$o:1},50:{$o:0,$tf:a(e(.25,.25,.25))},to:{$o:0}},[Qc]:{0:{$tf:c(1)},50:{$tf:a(e(1.05,1.05,1.05))},to:{$tf:c(1)}},[No]:{0:{$tf:o(1)},15:{$tf:o(1.25)},30:{$tf:o(1)},45:{$tf:o(1.25)},70:{$tf:o(0)}},[to]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:a(e(.25,.25,.25))},20:{$tf:a(e(1.1,1.1,1.1))},40:{$tf:a(e(.9,.9,.9))},60:{$o:1,$tf:a(e(1.05,1.05,1.05))},80:{$tf:a(e(.95,.95,.95))},to:{$o:1,$tf:c(1)}},[eo]:{20:{$tf:a(e(.9,.9,.9))},"50%, 55%":{$o:1,$tf:a(e(1.1,1.1,1.1))},to:{$o:0,$tf:a(e(.3,.3,.3))}},[io]:{0:{$o:0},to:{$o:1}},[ao]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[oo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[lo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[co]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[no]:{0:{$o:1},to:{$o:0}},[po]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[bo]:{0:{$o:1},to:{$o:0,$tf:l("-100%",0,0)}},[mo]:{0:{$o:1},to:{$o:0,$tf:l("100%",0,0)}},[_o]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[ho]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Ao,p(Lc[90]))},40:{$atf:"{ttf.ei}",$tf:t(Ao,p(Lc[-20]))},60:{$o:1,$tf:t(Ao,p(Lc[10]))},80:{$tf:t(Ao,p(Lc[-5]))},to:{$tf:Ao}},[$o]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Ao,_(Lc[90]))},40:{$atf:"{ttf.ei}",$tf:t(Ao,_(Lc[-20]))},60:{$o:1,$tf:t(Ao,_(Lc[10]))},80:{$tf:t(Ao,_(Lc[-5]))},to:{$tf:Ao}},[uo]:{0:{$tf:Ao},30:{$o:1,$tf:t(Ao,p(Lc[-20]))},to:{$o:0,$tf:t(Ao,p(Lc[90]))}},[vo]:{0:{$tf:Ao},30:{$o:1,$tf:t(Ao,_(Lc[-15]))},to:{$o:0,$tf:t(Ao,_(Lc[90]))}},[wo]:{0:{$tf:l(0,"-100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[So]:{0:{$tf:l("-100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[zo]:{0:{$tf:l("100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[yo]:{0:{$tf:l(0,"100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[ko]:{0:{$tf:n(0)},to:{$tf:l(0,"100%",0),$v:"{v.h}"}},[Eo]:{0:{$tf:n(0)},to:{$tf:l("-100%",0,0),$v:"{v.h}"}},[qo]:{0:{$tf:n(0)},to:{$tf:l("100%",0,0),$v:"{v.h}"}},[Oo]:{0:{$tf:n(0)},to:{$tf:l(0,"-100%",0),$v:"{v.h}"}}},c:(Ro=[Uc,Fc,Qc,No,to,eo,io,ao,oo,lo,co,no,po,bo,mo,_o,ho,$o,uo,vo,wo,So,zo,yo,ko,Eo,qo,Oo],Ro.reduce(((s,t)=>(s["_"+t+"_"]={$an:`{kf_${t}}`},s)),{}))},Wo={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[f(e("a",(s=>s+":link")("a"),(s=>s+":visited")("a"),(s=>s+":hover")("a")))]:{$td:"{uni.no}"},[f("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[f("menu,ol,ul")]:{$ls:"{ls.no}"},[f("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[f(e(m("input"),b("input"),m("button"),b("button")))]:{$o:"none"}}},Io=Object.freeze({__proto__:null,kf:Vo,reset:Wo});const Ko="{_.sz}",Po=`calc(-1 * ${Ko})`,Co=`calc(0.5 * ${Ko})`,To=`calc(-0.5 * ${Ko})`,Xo="{_.c}";var Bo={_:{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(Ko,0,Co,To,Xo)},l:{$bsh:t(Po,0,Co,To,Xo)},t:{$bsh:t(0,Po,Co,To,Xo)},b:{$bsh:t(0,Ko,Co,To,Xo)},x:{$bsh:e(t(Ko,0,Co,To,Xo),t(Po,0,Co,To,Xo))},y:{$bsh:e(t(0,Po,Co,To,Xo),t(0,Ko,Co,To,Xo))},f:{$bsh:t(0,0,Ko,Co,Xo)},tr:{$bsh:t(Ko,Po,Ko,To,Xo)},tl:{$bsh:t(Po,Po,Ko,To,Xo)},br:{$bsh:t(Ko,Ko,Ko,To,Xo)},bl:{$bsh:t(Po,Ko,Ko,To,Xo)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const Lo=["sz","perc"],Yo=["cqw","cqmin","cqmax"],Zo=["vw","vmin","vmax"],Do=["cqh","cqmin","cqmax"],Go=["vh","vmin","vmax"];var Ho={c:{_w:[...Lo.map((s=>`&${s}=>{w}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...Lo.map((s=>`&${s}=>{maxw}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...Lo.map((s=>`&${s}=>{minw}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...Lo.map((s=>`&${s}=>{h}:{1}`)),...Do.map((s=>`&${s}=>{h}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...Lo.map((s=>`&${s}=>{maxh}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...Lo.map((s=>`&${s}=>{minh}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const Jo=["sz","perc"],Mo=["cqb","cqmin","cqmax"],Uo=["vw","vh","vmin","vmax"],Fo=["cqi","cqmin","cqmax"];var Qo,sl={c:{_b:[...Jo.map((s=>`&${s}=>{b}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...Jo.map((s=>`&${s}=>{maxb}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...Jo.map((s=>`&${s}=>{minb}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...Jo.map((s=>`&${s}=>{i}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...Jo.map((s=>`&${s}=>{maxi}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...Jo.map((s=>`&${s}=>{mini}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},tl={_:{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"}}},el=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:Bo,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}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{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:Ho,sze:sl,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:tl,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}"}}});Qo={config:{styles:Object.assign(Object.assign({},el),Io)}},customElements.define((null==Qo?void 0:Qo.name)||Bc,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var s;const t=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return t?JSON.parse(t):(null==Qo?void 0:Qo.config)||{}},this.compileStyleSheet=(s,t)=>{var e,r;const i=null===(e=this.processor)||void 0===e?void 0:e.compile(s,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(s,i)},this.expandStyleSheet=(s,t)=>{var e;const r=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(s);if(this.processor&&r){const e=new Set(t).difference(r),i=e.size;return i&&this.processor&&e.keys().forEach((t=>{var e;const[r,i]=this.processor.expandSelector(s,t);null===(e=this.manager)||void 0===e||e.expandRule(s,r,i)})),i}},this.processStyles=(s,t)=>{if(s)for(let t in s){const e=s[t];this.compileStyleSheet(t,e)}if(t)for(let s in t){const e=t[s];this.expandStyleSheet(s,e)}return!0}}connectedCallback(){const s=this.getSettings(),{params:t,styles:e,ext:r}=s;this.processor=new Tc({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Xc({init:`${Bc} {display: contents;}`+this.processor.baseStyles}),this.processStyles(e,r),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join("-"),t=(...e)=>e.join(" "),s=(...e)=>e.join(","),i=(e,t)=>((e,t)=>Object.fromEntries(Object.entries(e).map((e=>t(e)))))(e,(e=>[e[0],t(e[1])])),r=e=>e&&i(e,(e=>e+"rem")),o=e=>e&&i(e,(e=>e+"ms")),n=e=>e&&i(e,(e=>e+"px")),l=e=>e&&i(e,(e=>e+"deg")),a=e=>e&&i(e,(e=>e+"vw")),c=e=>e&&i(e,(e=>e+"vh")),p=e=>e&&i(e,(e=>e+"vmin")),h=e=>e&&i(e,(e=>e+"vmax")),d=e=>e&&i(e,(e=>e+"cqb")),m=e=>e&&i(e,(e=>e+"cqi")),b=e=>e&&i(e,(e=>e+"cqmin")),f=e=>e&&i(e,(e=>e+"cqmax")),u=e=>e&&i(e,(e=>"span "+e)),_="x",g="y",y="horizontal",v="vertical",x="text",w="font",S="column",j="max",$="min",z="content",k=z+"s",O="items",A="self",E="inline",q="block",N="size",V="radius",R="direction",W="outline",I="style",P="end",C="start",K="center",T="word",B="line",G="break",H="wrap",J="nowarp",L="template",M="rule",U="object",D="top",F="left",Q="bottom",X="right",Y="width",Z="color",ee="overflow",te="align",se="type",ie="transform",re="all",oe="height",ne="normal",le="opacity",ae="visibility",ce="scale",pe="box",he="border",de="position",me="none",be="auto",fe="fill",ue="stroke",_e="reverse",ge="space",ye="fixed",ve="origin",xe="alpha",we="luminance",Se="clip",je="zoom",$e="scroll",ze="padding",ke="margin",Oe="both",Ae="mode",Ee="repeat",qe="light",Ne="linear",Ve="hidden",Re=e(he,Q),We=e(he,F),Ie=e(he,X),Pe=e(he,D),Ce=e(he,q),Ke=e(he,E),Te=e(Ce,C),Be=e(Ce,P),Ge=e(Ke,C),He=e(Ke,P),Je=e(he,Y),Le=e(Re,Y),Me=e(We,Y),Ue=e(Ie,Y),De=e(Pe,Y),Fe=e(Ce,Y),Qe=e(Ke,Y),Xe=e(Te,Y),Ye=e(Be,Y),Ze=e(Ge,Y),et=e(He,Y),tt=e(he,V),st=e(he,Q,F,V),it=e(he,Q,X,V),rt=e(he,D,F,V),ot=e(he,D,X,V),nt=e(he,C,P,V),lt=e(he,C,C,V),at=e(he,P,P,V),ct=e(he,P,C,V),pt=e(he,Z),ht=e(We,Z),dt=e(Ie,Z),mt=e(Pe,Z),bt=e(Re,Z),ft=e(Ce,Z),ut=e(Ke,Z),_t=e(Te,Z),gt=e(Be,Z),yt=e(Ge,Z),vt=e(He,Z),xt=e(he,I),wt=e(We,I),St=e(Ie,I),jt=e(Pe,I),$t=e(Re,I),zt=e(Ce,I),kt=e(Ke,I),Ot=e(Te,I),At=e(Be,I),Et=e(Ge,I),qt=e(He,I),Nt=e(W,Z),Vt=e(W,Y),Rt=e(W,I),Wt=e(W,"offset"),It=e(ee,_),Pt=e(ee,g),Ct=e(U,"fit"),Kt=e(U,de),Tt=e(ce,"down"),Bt=e(pe,"shadow"),Gt=e(ze,pe),Ht=e(he,pe),Jt=e(z,pe),Lt=e(fe,pe),Mt=e(ue,pe),Ut=e("view",pe),Dt=e("no",Se),Ft=e(Ee,_),Qt=e(Ee,g),Xt=e("no",Ee),Yt=e(ze,F),Zt=e(ze,D),es=e(ze,X),ts=e(ze,Q),ss=e(ke,F),is=e(ke,D),rs=e(ke,X),os=e(ke,Q),ns="grid",ls="row",as="justify",cs="flex",ps=e(E,cs),hs=e(cs,"basis"),ds=e(cs,"grow"),ms=e(cs,"shrink"),bs=e(cs,R),fs=e(cs,H),us=e(as,z),_s=e(as,O),gs=e(te,O),ys=e(te,z),vs=e(te,A),xs=e(ns,L,ls+"s"),ws=e(ns,L,S+"s"),Ss=e(ls,"gap"),js=e(S,"gap"),$s=e(as,A),zs=e(ns,ls,P),ks=e(ns,ls,C),Os=e(ns,S,P),As=e(ns,S,C),Es=e(S,"count"),qs=e(S,fe),Ns=e(S,M,Z),Vs=e(S,M,I),Rs=e(S,M,Y),Ws=e(S,"span"),Is=e(S,Y),Ps=e(ls,_e),Cs=e(S,_e),Ks=e(H,_e),Ts=e(cs,P),Bs=e(cs,C),Gs=e(ge,"between"),Hs=e(ge,"around"),Js=e(ge,"evenly"),Ls=e(E,ns),Ms="mask",Us=e(Ms,Se),Ds=e(Ms,"composite"),Fs=e(Ms,Ae),Qs=e(Ms,ve),Xs=e(Ms,de),Ys=e(Ms,Ee),Zs=e(Ms,N),ei=e(Ms,se),ti="timing-function",si="delay",ii="duration",ri="animation",oi=e(ri,"name"),ni=e(ri,ti),li=e(ri,R),ai=e(ri,"iteration-count"),ci=e(ri,ii),pi=e(ri,si),hi=ri+"-play-state",di=e(ri,fe,Ae),mi="transition",bi=mi+"-behavior",fi=mi+"-property",ui=e(mi,ti),_i=e(mi,ii),gi=e(mi,si),yi="alternate",vi=e(yi,_e),xi="-out",wi="ease",Si=wi+"-in",ji=Si+xi,$i=wi+xi,zi="step",ki=e(zi,C),Oi=e(zi,P),Ai="translate",Ei="rotate",qi="perspective",Ni=e(qi,ve),Vi=t(F,D),Ri=t(X,D),Wi=t(F,Q),Ii=t(X,Q),Pi="inset",Ci=e(ie,pe),Ki=e(ie,ve),Ti=e(ie,I),Bi=e(Pi,q),Gi=e(Pi,q,P),Hi=e(Pi,q,C),Ji=e(Pi,E),Li=e(Pi,E,P),Mi=e(Pi,E,C),Ui=e("fit",z),Di=e($,z),Fi=e(j,z),Qi=e(pe,"sizing"),Xi=e(j,Y),Yi=e($,Y),Zi=e(j,oe),er=e($,oe),tr=e(q,N),sr=e(j,tr),ir=e($,tr),rr=e(E,N),or=e(j,rr),nr=e($,rr),lr="snap",ar=e($e,"behavior"),cr=e($e,ke),pr=e($e,ke,D),hr=e($e,ke,Q),dr=e($e,ke,F),mr=e($e,ke,X),br=e($e,ke,q),fr=e($e,ke,q,P),ur=e($e,ke,q,C),_r=e($e,ke,E),gr=e($e,ke,E,P),yr=e($e,ke,E,C),vr=e($e,ze),xr=e($e,ze,D),wr=e($e,ze,Q),Sr=e($e,ze,F),jr=e($e,ze,X),$r=e($e,ze,q),zr=e($e,ze,q,P),kr=e($e,ze,q,C),Or=e($e,ze,E),Ar=e($e,ze,E,P),Er=e($e,ze,E,C),qr=e($e,lr,te),Nr=e($e,lr,"stop"),Vr=e($e,lr,se),Rr="mandatory",Wr=t(_,Rr),Ir=t(g,Rr),Pr=t(q,Rr),Cr=t(E,Rr),Kr=t(Oe,Rr),Tr="proximity",Br=t(_,Tr),Gr=t(g,Tr),Hr=t(q,Tr),Jr=t(E,Tr),Lr=t(Oe,Tr),Mr=e(x,"decoration"),Ur=e(Mr,Z),Dr=e(x,ie),Fr=e(x,te),Qr=e(x,ee),Xr=e(x,"orientation"),Yr=e(T,G),Zr=e(w,N),eo=w+"-weight",to=w+"-family",so=e(w,I),io=e("writing",Ae),ro=e(B,oe),oo=e(B,G),no=B+"-through",lo="over"+B,ao="under"+B,co="pre",po=e(co,B),ho=e(co,H),mo=G+"-spaces",bo=e(G,re),fo=e(G,T),uo=y+"-tb",_o=v+"-lr",go=v+"-rl",yo="keep-"+re,vo="pointer",xo="pan",wo=e(xo,_),So=e(xo,F),jo=e(xo,X),$o=e(xo,g),zo=e(xo,"up"),ko=e(xo,"down"),Oo=e("pinch",je),Ao=e(v,x),Eo="grab",qo=Eo+"bing",No="resize",Vo="col-"+No,Ro="row-"+No,Wo="n-"+No,Io="e-"+No,Po="s-"+No,Co="w-"+No,Ko="ne-"+No,To="ew-"+No,Bo="nw-"+No,Go="se-"+No,Ho="sw-"+No,Jo="ns-"+No,Lo="nesw-"+No,Mo="nwse-"+No,Uo=e(je,"in"),Do=e(je,"out"),Fo=e(vo,"events"),Qo=e($e,de),Xo=e("caret",Z),Yo=e("accent",Z),Zo="filter",en="backdrop-"+Zo,tn="background",sn=e(tn,Z),rn=e(tn,Se),on=e(tn,ve),nn=e(tn,de),ln=e(tn,de,_),an=e(tn,de,g),cn=e(tn,Ee),pn=e(tn,N),hn=e(tn,"blend",Ae),dn=e(tn,"attachment"),mn="gradient",bn=e(Ne,mn);e("radial",mn),e("conic",mn);const fn=e(z,ae);e(ue,Y),e(fe,M);const un=e(Z,"dodge"),_n=e(Z,"burn"),gn=e("hard",qe),yn=e("soft",qe);e(Z,"mix");const vn="revert",xn={uni:{ini:"initial",inh:"inherit",u:"unset",r:vn,rl:e(vn,"layer"),a:be,no:me},ali:{s:C,e:P,c:K,st:"stretch",sb:Gs,sa:Hs,se:Js,b:"baseline",fs:Bs,fe:Ts,no:me},dis:{g:ns,ig:Ls,f:cs,if:ps},fd:{r:ls,rr:Ps,c:S,cr:Cs},fw:{w:H,nw:J,wr:Ks},rep:{rx:Ft,ry:Qt,r:Ee,s:ge,ro:"round",nr:Xt},ttf:{l:Ne,e:wi,ei:Si,eo:$i,eio:ji,ss:ki,se:Oi},ws:{n:ne,nw:J,p:co,pl:po,pw:ho,bs:mo},wb:{n:ne,ba:bo,ka:yo,bw:fo},wm:{htb:uo,vlr:_o,vrl:go},hyp:{no:me,m:"manual",a:be},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:no,o:lo,u:ao},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:F,c:K,j:as,r:X,s:C,e:P},tp:{all:re,col:s(Z,sn,pt,Ur),icon:s(fe,ue),filter:s(Zo,en),ind:s(ze,ke),sz:s(Y,Xi,Yi,oe,Zi,er),esz:s(ir,tr,sr,nr,rr,or),o:le,b:he,f:cs,g:ns,pos:s(de,F,D,Q,X),tf:s(ie,Ai,ce,Ei,"skew",qi)},lb:{a:be,any:"anywhere",n:ne,l:"loose",s:"strict"},ov:{h:Ve,s:$e,a:be,c:Se,e:"ellipsis"},v:{h:Ve,v:"visible",c:"collapse",a:be},wc:{a:be,sp:Qo,c:k,tf:ie,o:le,i:Pi,tfi:ie+","+Pi},afm:{no:me,f:"forwards",b:"backwards",both:Oe},adir:{r:_e,a:yi,ar:vi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:ne},app:{n:me,a:be},pe:{a:be,no:me,all:re,f:fe,s:ue},cur:{h:"help",a:be,p:vo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:Ao,cp:"copy",m:"move",g:Eo,gng:qo,cr:Vo,rr:Ro,nr:Wo,er:Io,sr:Po,wr:Co,ner:Ko,ewr:To,nwr:Bo,ser:Go,swr:Ho,nsr:Jo,neswr:Lo,nwser:Mo,zi:Uo,zo:Do},res:{n:me,v:v,h:y,b:Oe},toa:{a:be,no:me,px:wo,pl:So,pr:jo,py:$o,pu:zo,pd:ko,pz:Oo,m:"manipulation"},us:{n:me,t:x,all:re,a:be},sb:{a:be,s:"smooth"},sss:{n:ne,a:"always"},sst:{n:me,x:_,y:g,b:q,i:E,both:Oe,xm:Wr,ym:Ir,bm:Pr,im:Cr,bothm:Kr,xp:Br,yp:Gr,bp:Hr,ip:Jr,bothp:Lr},fst:{i:"italic",n:ne,o:"oblique"},pos:{r:"relative",a:"absolute",f:ye,s:"static"},posv:{b:Q,t:D,c:K,l:F,r:X,lt:Vi,rt:Ri,lb:Wi,rb:Ii},csz:{cv:"cover",cn:"contain",a:be,f:fe,sd:Tt},cf:{a:be,b:"balance"},cs:{no:me,all:re},box:{c:Jt,p:Gt,b:Ht,f:Lt,s:Mt,v:Ut,nc:Dt,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:xe,l:we},mm:{a:xe,l:we,m:"match-source"},bgbm:{n:ne,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:qe+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Z,lum:"luminosity",cd:un,cb:_n,hl:gn,sl:yn},bga:{s:$e,f:ye,l:"local"},ls:{no:me,dt:"dotted",i:Pi,h:Ve,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Di,max:Fi,fit:Ui,no:0,a:be}},wn={a:ri,an:oi,adur:ci,adel:pi,aps:hi,afm:di,adir:li,aic:ai,atf:ni,trn:mi,tdur:_i,tdel:gi,tb:bi,tp:fi,ttf:ui,bor:he,bw:Je,br:tt,bs:xt,bls:wt,brs:St,bts:jt,bbs:$t,bbls:zt,bis:kt,bbss:Ot,bbes:At,biss:Et,bies:qt,brw:Ue,blw:Me,btw:De,bbw:Le,btlr:rt,btrr:ot,bbrr:it,bblr:st,biw:Qe,bblw:Fe,bbew:Ye,bbsw:Xe,bisw:Ze,biew:et,besr:ct,beer:at,bssr:lt,bser:nt,bc:pt,blc:ht,brc:dt,btc:mt,bbc:bt,bblc:ft,bic:ut,bbsc:_t,bbec:gt,bisc:yt,biec:vt,bgc:sn,c:Z,acc:Yo,ctc:Xo,st:ue,fi:fe,flt:Zo,bf:en,g:ns,f:cs,dis:"display",jc:us,ji:_s,ai:gs,ac:ys,gtr:xs,gtc:ws,rg:Ss,cg:js,as:vs,js:$s,gre:zs,grs:ks,gce:Os,gcs:As,fd:bs,fw:fs,fs:ms,fg:ds,fb:hs,ord:"order",m:ke,ml:ss,mr:rs,mt:is,mb:os,p:ze,pl:Yt,pr:es,pt:Zt,pb:ts,oc:Nt,ow:Vt,os:Rt,oo:Wt,l:F,r:X,t:D,b:Q,ins:Pi,ib:Bi,ibe:Gi,ibs:Hi,ii:Ji,iie:Li,iis:Mi,wc:"will-change",app:"appearance",pe:Fo,cur:"cursor",toa:"touch-action",us:"user-select",res:No,sb:ar,ssa:qr,sss:Nr,sst:Vr,sm:cr,sml:dr,smr:mr,smt:pr,smb:hr,sp:vr,spl:Sr,spr:jr,spt:xr,spb:wr,smbl:br,smbe:fr,smbs:ur,smi:_r,smie:gr,smis:yr,spbl:$r,spbe:zr,spbs:kr,spi:Or,spie:Ar,spis:Er,ar:"aspect-ratio",w:Y,maxw:Xi,minw:Yi,h:oe,minh:er,maxh:Zi,bl:tr,maxb:sr,minb:ir,i:rr,mini:nr,maxi:or,per:qi,pero:Ni,rot:Ei,sc:ce,tf:ie,tfb:Ci,tfo:Ki,tfs:Ti,tr:Ai,z:je,lts:"letter-spacing",lh:ro,lb:oo,fst:so,ff:to,fwg:eo,fsz:Zr,tt:Dr,td:Mr,ta:Fr,to:Qr,ws:"white-space",tor:Xr,wb:Yr,wm:io,hyp:"hyphens",bsz:Qi,bsh:Bt,pos:de,cf:qs,crs:Vs,crc:Ns,crw:Rs,cs:Ws,cw:Is,cc:Es,bgcl:rn,bgp:nn,bgpx:ln,bgpy:an,bgbm:hn,bgo:on,bgr:cn,bga:dn,bgsz:pn,mcl:Us,mcm:Ds,mm:Fs,mo:Qs,mp:Xs,mre:Ys,msz:Zs,mtp:ei,obf:Ct,obp:Kt,cnt:z,ov:ee,ovx:It,ovy:Pt,v:ae,cv:fn,o:le,zi:"z-index",zm:je,lg:bn,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Sn={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},xn)},jn=e=>`{${e}}`,$n=Object.assign.bind(Object),zn=(e,t)=>`${e}:${t};`,kn=(e,t)=>["@property",e,jn(zn("syntax",t.syn||'"*"')+zn("inherits",t.inh||!1)+(t.ini?zn("initial-value",t.ini):""))].join(" "),On=e=>`var(${e})`,An=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,En=["l","c","h","a"];class qn{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Sn,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,s;if(e)for(const t in e)this._params[t]=$n(this._params[t]||{},e[t]);const{time:_,rem:g,coef:y,szu:v,sz:x,sp:w,rad:S,th:j,fr:$,bp:z,fsz:k,lsp:O,tr:A,sk:E,rot:q,fg:N,fs:V,fb:R,fo:W,ra:I,ro:P,co:C,ca:K,ins:T,cqu:B,cqb:G,cqi:H,cqmin:J,cqmax:L,vu:M,vw:U,vh:D,vmin:F,vmax:Q}=this._params.root,X=(e=>e&&i(e,(e=>100*Number(e)+"%")))($);this._params.root=$n(this._params.root,{cqb:d(G||B),cqi:m(H||B),cqmin:b(J||B),cqmax:f(L||B),vw:a(U||M),vh:c(D||M),vmin:p(F||M),vmax:h(Q||M),fo:W||y,fg:N||y,fs:V||y,fb:R||X,ra:I||u(y),ro:P||y,ca:K||u(y),co:C||y,ins:T||X,sz:$n(r(x)||{},v),sp:$n(r(w)||{},v),rad:r(S),th:r(j),bp:r(z),fsz:r(k),lsp:r(O),tr:r(A),sk:l(E),rot:l(q),perc:X,time:o(_),rem:n(g)});const Y=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"]),Z=Object.entries(Y),ee={_mode:{root:{}}},te={};Z.forEach((([e,t])=>{ee._mode[e]||(ee._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);ee._mode[e][r]=i,ee._mode.root[r]||(ee._mode.root[r]=i,te[t]||(te[t]={}),te[t][s]=`var(${r})`)}))}))})),this._compValues=te,this._compKeys=Object.entries(this._compValues.bp||{}).reduce(((e,[t,s])=>(e[t+"_"]=`@media (min-width:${s})`,e[t.toUpperCase()+"_"]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ee),{$r_:Object.assign(Object.assign({},ee._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ee._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ee._mode.dark}}:{}),(null===(s=ee._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:ee._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,kf:i,k:r={},v:o={},c:n}=t,l=this._prepareSelector.bind(this),a=this._parseSelector.bind(this);let c=$n({},n),p=$n({},r),h=$n({_:{}},o),d="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};En.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);s[r]=n,p["_"+o]=s[r],d+=kn(n,i)})),h._[t]=An({l:On(s.l),c:On(s.c),h:On(s.h),a:On(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]=On(s),d+=kn(s,i)}}const m=e=>p[e]||this._compKeys[e]||wn[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 m(s)})),u=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),[n,l,a]=r.match(/(\w+)(\[[\w,]+\])?/),c=b(l);if(!c)continue;s=c;let p=Object.entries(s);const h=null==a?void 0:a.slice(1,-1).split(",");if(h){const e=new Set(h);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,f(t.replaceAll("{1}",i))]))}(h||o)&&(s=Object.fromEntries(p));break}return s};function _(t,s,i){var r,o,n;let c=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(c=m(t.slice(1)),!c))return"";if(Array.isArray(s))return _(c,Object.assign({},...s.map((e=>"string"==typeof e?u(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||c.startsWith("&")||c.startsWith("@")?"":"&";if(c.startsWith("_")){const{e:i,m:r,mv:o}=a(c);return r&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,n])=>{let a;return a="object"==typeof n?Object.entries(n).reduce(((e,t)=>e+_(...t,c)),""):n+";",s+t+l({b:e,e:i,m:r,mv:o})+jn(a)}),""):t+l({b:e,e:i,m:r,mv:o})+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,c)),""))}return t+c+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,c)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?_(c,u(e.slice(1)),i):(null===(n=null==e?void 0:e.includes)||void 0===n?void 0:n.call(e,"{"))?_(c,f(e),i):zn(c,s)}}let g="";if(i)for(let e in i){const t=i[e];g+=`@keyframes ${e} `+jn(Object.entries(t).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+jn(Object.entries(s).reduce(((e,t)=>e+_(...t)),""))),""))}return d+g+Object.entries(c).reduce(((e,t)=>e+_(...t)),"")};const{mode:t,prefix:s,params:_}=e;this._mode=t||"a",this._prefix=s||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(_)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:o}=this._parseSelector(t),n=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:o})+"{"+n]}_getStateSelector(e){const t=e+"_",s=this._compKeys[t]||wn[t];if(s)return(s.startsWith("&")||s.startsWith("@")?"":"&")+s}}class Nn{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),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 found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,n]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+n+"}",o=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),l=r.parentStyleSheet.cssRules[o],a=s.split("{")[0];return i[a]=l,this._expandedSelectors[e].add(a),!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 Vn="style-provider";customElements.define(Vn,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),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)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},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),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,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}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new qn({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Nn({init:`${Vn} {display: contents;}`+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
|
|
1
|
+
"function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join("-"),t=(...e)=>e.join(" "),s=(...e)=>e.join(","),i=(e,t)=>((e,t)=>Object.fromEntries(Object.entries(e).map((e=>t(e)))))(e,(e=>[e[0],t(e[1])])),r=e=>e&&i(e,(e=>e+"rem")),o=e=>e&&i(e,(e=>e+"ms")),n=e=>e&&i(e,(e=>e+"px")),l=e=>e&&i(e,(e=>e+"deg")),a=e=>e&&i(e,(e=>e+"vw")),c=e=>e&&i(e,(e=>e+"vh")),p=e=>e&&i(e,(e=>e+"vmin")),h=e=>e&&i(e,(e=>e+"vmax")),m=e=>e&&i(e,(e=>e+"cqb")),d=e=>e&&i(e,(e=>e+"cqi")),b=e=>e&&i(e,(e=>e+"cqmin")),f=e=>e&&i(e,(e=>e+"cqmax")),u=e=>e&&i(e,(e=>"span "+e)),_="x",g="y",y="horizontal",v="vertical",x="text",w="font",S="column",j="max",$="min",k="content",z=k+"s",O="items",N="self",A="inline",E="block",q="size",R="radius",V="direction",W="outline",I="style",K="end",P="start",C="center",T="word",B="line",G="break",H="wrap",J="nowarp",L="template",M="rule",D="object",F="top",Q="left",U="bottom",X="right",Y="width",Z="color",ee="overflow",te="align",se="type",ie="transform",re="all",oe="height",ne="normal",le="opacity",ae="visibility",ce="scale",pe="box",he="border",me="position",de="none",be="auto",fe="fill",ue="stroke",_e="reverse",ge="space",ye="fixed",ve="origin",xe="alpha",we="luminance",Se="clip",je="zoom",$e="scroll",ke="padding",ze="margin",Oe="both",Ne="mode",Ae="repeat",Ee="light",qe="linear",Re="hidden",Ve=e(he,U),We=e(he,Q),Ie=e(he,X),Ke=e(he,F),Pe=e(he,E),Ce=e(he,A),Te=e(Pe,P),Be=e(Pe,K),Ge=e(Ce,P),He=e(Ce,K),Je=e(he,Y),Le=e(Ve,Y),Me=e(We,Y),De=e(Ie,Y),Fe=e(Ke,Y),Qe=e(Pe,Y),Ue=e(Ce,Y),Xe=e(Te,Y),Ye=e(Be,Y),Ze=e(Ge,Y),et=e(He,Y),tt=e(he,R),st=e(he,U,Q,R),it=e(he,U,X,R),rt=e(he,F,Q,R),ot=e(he,F,X,R),nt=e(he,P,K,R),lt=e(he,P,P,R),at=e(he,K,K,R),ct=e(he,K,P,R),pt=e(he,Z),ht=e(We,Z),mt=e(Ie,Z),dt=e(Ke,Z),bt=e(Ve,Z),ft=e(Pe,Z),ut=e(Ce,Z),_t=e(Te,Z),gt=e(Be,Z),yt=e(Ge,Z),vt=e(He,Z),xt=e(he,I),wt=e(We,I),St=e(Ie,I),jt=e(Ke,I),$t=e(Ve,I),kt=e(Pe,I),zt=e(Ce,I),Ot=e(Te,I),Nt=e(Be,I),At=e(Ge,I),Et=e(He,I),qt=e(W,Z),Rt=e(W,Y),Vt=e(W,I),Wt=e(W,"offset"),It=e(ee,_),Kt=e(ee,g),Pt=e(D,"fit"),Ct=e(D,me),Tt=e(ce,"down"),Bt=e(pe,"shadow"),Gt=e(ke,pe),Ht=e(he,pe),Jt=e(k,pe),Lt=e(fe,pe),Mt=e(ue,pe),Dt=e("view",pe),Ft=e("no",Se),Qt=e(Ae,_),Ut=e(Ae,g),Xt=e("no",Ae),Yt=e(ke,Q),Zt=e(ke,F),es=e(ke,X),ts=e(ke,U),ss=e(ze,Q),is=e(ze,F),rs=e(ze,X),os=e(ze,U),ns="grid",ls="row",as="justify",cs="flex",ps=e(A,cs),hs=e(cs,"basis"),ms=e(cs,"grow"),ds=e(cs,"shrink"),bs=e(cs,V),fs=e(cs,H),us=e(as,k),_s=e(as,O),gs=e(te,O),ys=e(te,k),vs=e(te,N),xs=e(ns,L,ls+"s"),ws=e(ns,L,S+"s"),Ss=e(ls,"gap"),js=e(S,"gap"),$s=e(as,N),ks=e(ns,ls,K),zs=e(ns,ls,P),Os=e(ns,S,K),Ns=e(ns,S,P),As=e(S,"count"),Es=e(S,fe),qs=e(S,M,Z),Rs=e(S,M,I),Vs=e(S,M,Y),Ws=e(S,"span"),Is=e(S,Y),Ks=e(ls,_e),Ps=e(S,_e),Cs=e(H,_e),Ts=e(cs,K),Bs=e(cs,P),Gs=e(ge,"between"),Hs=e(ge,"around"),Js=e(ge,"evenly"),Ls=e(A,ns),Ms="mask",Ds=e(Ms,Se),Fs=e(Ms,"composite"),Qs=e(Ms,Ne),Us=e(Ms,ve),Xs=e(Ms,me),Ys=e(Ms,Ae),Zs=e(Ms,q),ei=e(Ms,se),ti="timing-function",si="delay",ii="duration",ri="animation",oi=e(ri,"name"),ni=e(ri,ti),li=e(ri,V),ai=e(ri,"iteration-count"),ci=e(ri,ii),pi=e(ri,si),hi=ri+"-play-state",mi=e(ri,fe,Ne),di="transition",bi=di+"-behavior",fi=di+"-property",ui=e(di,ti),_i=e(di,ii),gi=e(di,si),yi="alternate",vi=e(yi,_e),xi="-out",wi="ease",Si=wi+"-in",ji=Si+xi,$i=wi+xi,ki="step",zi=e(ki,P),Oi=e(ki,K),Ni="translate",Ai="rotate",Ei="perspective",qi=e(Ei,ve),Ri=t(Q,F),Vi=t(X,F),Wi=t(Q,U),Ii=t(X,U),Ki="inset",Pi=e(ie,pe),Ci=e(ie,ve),Ti=e(ie,I),Bi=e(Ki,E),Gi=e(Ki,E,K),Hi=e(Ki,E,P),Ji=e(Ki,A),Li=e(Ki,A,K),Mi=e(Ki,A,P),Di=e("fit",k),Fi=e($,k),Qi=e(j,k),Ui=e(pe,"sizing"),Xi=e(j,Y),Yi=e($,Y),Zi=e(j,oe),er=e($,oe),tr=e(E,q),sr=e(j,tr),ir=e($,tr),rr=e(A,q),or=e(j,rr),nr=e($,rr),lr="snap",ar=e($e,"behavior"),cr=e($e,ze),pr=e($e,ze,F),hr=e($e,ze,U),mr=e($e,ze,Q),dr=e($e,ze,X),br=e($e,ze,E),fr=e($e,ze,E,K),ur=e($e,ze,E,P),_r=e($e,ze,A),gr=e($e,ze,A,K),yr=e($e,ze,A,P),vr=e($e,ke),xr=e($e,ke,F),wr=e($e,ke,U),Sr=e($e,ke,Q),jr=e($e,ke,X),$r=e($e,ke,E),kr=e($e,ke,E,K),zr=e($e,ke,E,P),Or=e($e,ke,A),Nr=e($e,ke,A,K),Ar=e($e,ke,A,P),Er=e($e,lr,te),qr=e($e,lr,"stop"),Rr=e($e,lr,se),Vr="mandatory",Wr=t(_,Vr),Ir=t(g,Vr),Kr=t(E,Vr),Pr=t(A,Vr),Cr=t(Oe,Vr),Tr="proximity",Br=t(_,Tr),Gr=t(g,Tr),Hr=t(E,Tr),Jr=t(A,Tr),Lr=t(Oe,Tr),Mr=e(x,"decoration"),Dr=e(Mr,Z),Fr=e(x,ie),Qr=e(x,te),Ur=e(x,ee),Xr=e(x,"orientation"),Yr=e(T,G),Zr=e(w,q),eo=w+"-weight",to=w+"-family",so=e(w,I),io=e("writing",Ne),ro=e(B,oe),oo=e(B,G),no=B+"-through",lo="over"+B,ao="under"+B,co="pre",po=e(co,B),ho=e(co,H),mo=G+"-spaces",bo=e(G,re),fo=e(G,T),uo=y+"-tb",_o=v+"-lr",go=v+"-rl",yo="keep-"+re,vo="pointer",xo="pan",wo=e(xo,_),So=e(xo,Q),jo=e(xo,X),$o=e(xo,g),ko=e(xo,"up"),zo=e(xo,"down"),Oo=e("pinch",je),No=e(v,x),Ao="grab",Eo=Ao+"bing",qo="resize",Ro="col-"+qo,Vo="row-"+qo,Wo="n-"+qo,Io="e-"+qo,Ko="s-"+qo,Po="w-"+qo,Co="ne-"+qo,To="ew-"+qo,Bo="nw-"+qo,Go="se-"+qo,Ho="sw-"+qo,Jo="ns-"+qo,Lo="nesw-"+qo,Mo="nwse-"+qo,Do=e(je,"in"),Fo=e(je,"out"),Qo=e(vo,"events"),Uo=e($e,me),Xo=e("caret",Z),Yo=e("accent",Z),Zo="filter",en="backdrop-"+Zo,tn="background",sn=e(tn,Z),rn=e(tn,Se),on=e(tn,ve),nn=e(tn,me),ln=e(tn,me,_),an=e(tn,me,g),cn=e(tn,Ae),pn=e(tn,q),hn=e(tn,"blend",Ne),mn=e(tn,"attachment"),dn="gradient",bn=e(qe,dn);e("radial",dn),e("conic",dn);const fn=e(k,ae);e(ue,Y),e(fe,M);const un=e(Z,"dodge"),_n=e(Z,"burn"),gn=e("hard",Ee),yn=e("soft",Ee);e(Z,"mix");const vn="revert",xn={uni:{ini:"initial",inh:"inherit",u:"unset",r:vn,rl:e(vn,"layer"),a:be,no:de},ali:{s:P,e:K,c:C,st:"stretch",sb:Gs,sa:Hs,se:Js,b:"baseline",fs:Bs,fe:Ts,no:de},dis:{g:ns,ig:Ls,f:cs,if:ps},fd:{r:ls,rr:Ks,c:S,cr:Ps},fw:{w:H,nw:J,wr:Cs},rep:{rx:Qt,ry:Ut,r:Ae,s:ge,ro:"round",nr:Xt},ttf:{l:qe,e:wi,ei:Si,eo:$i,eio:ji,ss:zi,se:Oi},ws:{n:ne,nw:J,p:co,pl:po,pw:ho,bs:mo},wb:{n:ne,ba:bo,ka:yo,bw:fo},wm:{htb:uo,vlr:_o,vrl:go},hyp:{no:de,m:"manual",a:be},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:no,o:lo,u:ao},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:Q,c:C,j:as,r:X,s:P,e:K},tp:{all:re,col:s(Z,sn,pt,Dr),icon:s(fe,ue),filter:s(Zo,en),ind:s(ke,ze),sz:s(Y,Xi,Yi,oe,Zi,er),esz:s(ir,tr,sr,nr,rr,or),o:le,b:he,f:cs,g:ns,pos:s(me,Q,F,U,X),tf:s(ie,Ni,ce,Ai,"skew",Ei)},lb:{a:be,any:"anywhere",n:ne,l:"loose",s:"strict"},ov:{h:Re,s:$e,a:be,c:Se,e:"ellipsis"},v:{h:Re,v:"visible",c:"collapse",a:be},wc:{a:be,sp:Uo,c:z,tf:ie,o:le,i:Ki,tfi:ie+","+Ki},afm:{no:de,f:"forwards",b:"backwards",both:Oe},adir:{r:_e,a:yi,ar:vi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:ne},app:{n:de,a:be},pe:{a:be,no:de,all:re,f:fe,s:ue},cur:{h:"help",a:be,p:vo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:No,cp:"copy",m:"move",g:Ao,gng:Eo,cr:Ro,rr:Vo,nr:Wo,er:Io,sr:Ko,wr:Po,ner:Co,ewr:To,nwr:Bo,ser:Go,swr:Ho,nsr:Jo,neswr:Lo,nwser:Mo,zi:Do,zo:Fo},res:{n:de,v:v,h:y,b:Oe},toa:{a:be,no:de,px:wo,pl:So,pr:jo,py:$o,pu:ko,pd:zo,pz:Oo,m:"manipulation"},us:{n:de,t:x,all:re,a:be},sb:{a:be,s:"smooth"},sss:{n:ne,a:"always"},sst:{n:de,x:_,y:g,b:E,i:A,both:Oe,xm:Wr,ym:Ir,bm:Kr,im:Pr,bothm:Cr,xp:Br,yp:Gr,bp:Hr,ip:Jr,bothp:Lr},fst:{i:"italic",n:ne,o:"oblique"},pos:{r:"relative",a:"absolute",f:ye,s:"static"},posv:{b:U,t:F,c:C,l:Q,r:X,lt:Ri,rt:Vi,lb:Wi,rb:Ii},csz:{cv:"cover",cn:"contain",a:be,f:fe,sd:Tt},cf:{a:be,b:"balance"},cs:{no:de,all:re},box:{c:Jt,p:Gt,b:Ht,f:Lt,s:Mt,v:Dt,nc:Ft,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:xe,l:we},mm:{a:xe,l:we,m:"match-source"},bgbm:{n:ne,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ee+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Z,lum:"luminosity",cd:un,cb:_n,hl:gn,sl:yn},bga:{s:$e,f:ye,l:"local"},ls:{no:de,dt:"dotted",i:Ki,h:Re,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Fi,max:Qi,fit:Di,no:0,a:be}},wn={a:ri,an:oi,adur:ci,adel:pi,aps:hi,afm:mi,adir:li,aic:ai,atf:ni,trn:di,tdur:_i,tdel:gi,tb:bi,tp:fi,ttf:ui,bor:he,bw:Je,br:tt,bs:xt,bls:wt,brs:St,bts:jt,bbs:$t,bbls:kt,bis:zt,bbss:Ot,bbes:Nt,biss:At,bies:Et,brw:De,blw:Me,btw:Fe,bbw:Le,btlr:rt,btrr:ot,bbrr:it,bblr:st,biw:Ue,bblw:Qe,bbew:Ye,bbsw:Xe,bisw:Ze,biew:et,besr:ct,beer:at,bssr:lt,bser:nt,bc:pt,blc:ht,brc:mt,btc:dt,bbc:bt,bblc:ft,bic:ut,bbsc:_t,bbec:gt,bisc:yt,biec:vt,bgc:sn,c:Z,acc:Yo,ctc:Xo,st:ue,fi:fe,flt:Zo,bf:en,g:ns,f:cs,dis:"display",jc:us,ji:_s,ai:gs,ac:ys,gtr:xs,gtc:ws,rg:Ss,cg:js,as:vs,js:$s,gre:ks,grs:zs,gce:Os,gcs:Ns,fd:bs,fw:fs,fs:ds,fg:ms,fb:hs,ord:"order",m:ze,ml:ss,mr:rs,mt:is,mb:os,p:ke,pl:Yt,pr:es,pt:Zt,pb:ts,oc:qt,ow:Rt,os:Vt,oo:Wt,l:Q,r:X,t:F,b:U,ins:Ki,ib:Bi,ibe:Gi,ibs:Hi,ii:Ji,iie:Li,iis:Mi,wc:"will-change",app:"appearance",pe:Qo,cur:"cursor",toa:"touch-action",us:"user-select",res:qo,sb:ar,ssa:Er,sss:qr,sst:Rr,sm:cr,sml:mr,smr:dr,smt:pr,smb:hr,sp:vr,spl:Sr,spr:jr,spt:xr,spb:wr,smbl:br,smbe:fr,smbs:ur,smi:_r,smie:gr,smis:yr,spbl:$r,spbe:kr,spbs:zr,spi:Or,spie:Nr,spis:Ar,ar:"aspect-ratio",w:Y,maxw:Xi,minw:Yi,h:oe,minh:er,maxh:Zi,bl:tr,maxb:sr,minb:ir,i:rr,mini:nr,maxi:or,per:Ei,pero:qi,rot:Ai,sc:ce,tf:ie,tfb:Pi,tfo:Ci,tfs:Ti,tr:Ni,z:je,lts:"letter-spacing",lh:ro,lb:oo,fst:so,ff:to,fwg:eo,fsz:Zr,tt:Fr,td:Mr,ta:Qr,to:Ur,ws:"white-space",tor:Xr,wb:Yr,wm:io,hyp:"hyphens",bsz:Ui,bsh:Bt,pos:me,cf:Es,crs:Rs,crc:qs,crw:Vs,cs:Ws,cw:Is,cc:As,bgcl:rn,bgp:nn,bgpx:ln,bgpy:an,bgbm:hn,bgo:on,bgr:cn,bga:mn,bgsz:pn,mcl:Ds,mcm:Fs,mm:Qs,mo:Us,mp:Xs,mre:Ys,msz:Zs,mtp:ei,obf:Pt,obp:Ct,cnt:k,ov:ee,ovx:It,ovy:Kt,v:ae,cv:fn,o:le,zi:"z-index",zm:je,lg:bn,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Sn={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},xn)},jn=e=>`{${e}}`,$n=Object.assign.bind(Object),kn=(e,t)=>`${e}:${t};`,zn=(e,t)=>["@property",e,jn(kn("syntax",t.syn||'"*"')+kn("inherits",t.inh||!1)+(t.ini?kn("initial-value",t.ini):""))].join(" "),On=e=>`var(${e})`,Nn=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,An=["l","c","h","a"];class En{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Sn,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,s;if(e)for(const t in e)this._params[t]=$n(this._params[t]||{},e[t]);const{time:_,rem:g,coef:y,szu:v,sz:x,sp:w,rad:S,th:j,fr:$,bp:k,fsz:z,lsp:O,tr:N,sk:A,rot:E,fg:q,fs:R,fb:V,fo:W,ra:I,ro:K,co:P,ca:C,ins:T,cqu:B,cqb:G,cqi:H,cqmin:J,cqmax:L,vu:M,vw:D,vh:F,vmin:Q,vmax:U}=this._params.root,X=(e=>e&&i(e,(e=>100*Number(e)+"%")))($);this._params.root=$n(this._params.root,{cqb:m(G||B),cqi:d(H||B),cqmin:b(J||B),cqmax:f(L||B),vw:a(D||M),vh:c(F||M),vmin:p(Q||M),vmax:h(U||M),fo:W||y,fg:q||y,fs:R||y,fb:V||X,ra:I||u(y),ro:K||y,ca:C||u(y),co:P||y,ins:T||X,sz:$n(r(x)||{},v),sp:$n(r(w)||{},v),rad:r(S),th:r(j),bp:r(k),fsz:r(z),lsp:r(O),tr:r(N),sk:l(A),rot:l(E),perc:X,time:o(_),rem:n(g)});const Y=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"]),Z=Object.entries(Y),ee={_mode:{root:{}}},te={};Z.forEach((([e,t])=>{ee._mode[e]||(ee._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);ee._mode[e][r]=i,ee._mode.root[r]||(ee._mode.root[r]=i,te[t]||(te[t]={}),te[t][s]=`var(${r})`)}))}))})),this._compValues=te,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ee),{$r_:Object.assign(Object.assign({},ee._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ee._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ee._mode.dark}}:{}),(null===(s=ee._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:ee._mode.light}}:{})})},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._prepareSelector.bind(this),a=this._parseSelector.bind(this);let c=$n({},n),p=$n({},r),h=$n({_:{}},o),m="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};An.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);s[r]=n,p["_"+o]=s[r],m+=zn(n,i)})),h._[t]=Nn({l:On(s.l),c:On(s.c),h:On(s.h),a:On(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]=On(s),m+=zn(s,i)}}const d=e=>p[e]||this._compKeys[e]||wn[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,o]=i.split("=>"),[n,l,a]=r.match(/(\w+)(\[[\w,]+\])?/),c=b(l);if(!c)continue;s=c;let p=Object.entries(s);const h=null==a?void 0:a.slice(1,-1).split(",");if(h){const e=new Set(h);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,f(t.replaceAll("{1}",i))]))}(h||o)&&(s=Object.fromEntries(p));break}return s};function _(t,s,i){var r,o,n,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===(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}=a(p);return r&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,n])=>{let a;return a="object"==typeof n?Object.entries(n).reduce(((e,t)=>e+_(...t,p)),""):n+";",s+t+l({b:e,e:i,m:r,mv:o})+jn(a)}),""):t+l({b:e,e:i,m:r,mv:o})+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}return t+p+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.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):kn(p,s)}}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} `+jn(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+jn(Object.entries(s).reduce(((e,t)=>e+_(...t)),""))),""))}return m+g+Object.entries(c).reduce(((e,t)=>e+_(...t)),"")};const{mode:t,prefix:s,params:_}=e;this._mode=t||"a",this._prefix=s||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(_)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:o}=this._parseSelector(t),n=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:o})+"{"+n]}_getStateSelector(e){const t=e+"_",s=this._compKeys[t]||wn[t];if(s)return(s.startsWith("&")||s.startsWith("@")?"":"&")+s}}class qn{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 found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,n]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+n+"}",o=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),l=r.parentStyleSheet.cssRules[o],a=s.split("{")[0];return i[a]=l,this._expandedSelectors[e].add(a),!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 Rn="style-provider";customElements.define(Rn,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),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)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},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),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,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}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new En({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new qn({init:`${Rn} {display: contents;}`+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
|
package/dist/configs/basic.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{space as s,comma as _}from"../css/functions.js";var c={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}"}},a={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}"}},p={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}"}},b={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}"}},r={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}"}},t={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}"}},m={_:{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}"}},i={c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},$={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}"}},e={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}"}},l={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}"}};const f="{_.sz}",o=`calc(-1 * ${f})`,h=`calc(0.5 * ${f})`,w=`calc(-0.5 * ${f})`,d="{_.c}";var x={_:{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:s(f,0,h,w,d)},l:{$bsh:s(o,0,h,w,d)},t:{$bsh:s(0,o,h,w,d)},b:{$bsh:s(0,f,h,w,d)},x:{$bsh:_(s(f,0,h,w,d),s(o,0,h,w,d))},y:{$bsh:_(s(0,o,h,w,d),s(0,f,h,w,d))},f:{$bsh:s(0,0,f,h,d)},tr:{$bsh:s(f,o,f,w,d)},tl:{$bsh:s(o,o,f,w,d)},br:{$bsh:s(f,f,f,w,d)},bl:{$bsh:s(o,f,f,w,d)}},_bsz:"&box[c,b]=>{bsz}:{1}"}},n={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}"}};const g=["sz","perc"],v=["cqw","cqmin","cqmax"],y=["vw","vmin","vmax"],z=["cqh","cqmin","cqmax"],u=["vh","vmin","vmax"];var k={c:{_w:[...g.map((s=>`&${s}=>{w}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...g.map((s=>`&${s}=>{maxw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...g.map((s=>`&${s}=>{minw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...g.map((s=>`&${s}=>{h}:{1}`)),...z.map((s=>`&${s}=>{h}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...g.map((s=>`&${s}=>{maxh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...g.map((s=>`&${s}=>{minh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const q=["sz","perc"],j=["cqb","cqmin","cqmax"],X=["vw","vh","vmin","vmax"],Y=["cqi","cqmin","cqmax"];var Z={c:{_b:[...q.map((s=>`&${s}=>{b}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...q.map((s=>`&${s}=>{maxb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...q.map((s=>`&${s}=>{minb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...q.map((s=>`&${s}=>{i}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...q.map((s=>`&${s}=>{maxi}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...q.map((s=>`&${s}=>{mini}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},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}"}},B={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}"}},C={c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{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}"}},D={_:{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"}}},E={c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},F={c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},G={_:{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}"}},H={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}"}},I={_:{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}"}},J={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}"}},K={_:{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}"}},L={_:{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}"}}},M={_:{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_:{$
|
|
1
|
+
import{space as s,comma as _}from"../css/functions.js";var c={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}"}},a={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}"}},p={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}"}},b={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}"}},r={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}"}},t={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}"}},m={_:{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}"}},i={c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},$={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}"}},e={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}"}},l={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}"}};const f="{_.sz}",o=`calc(-1 * ${f})`,h=`calc(0.5 * ${f})`,w=`calc(-0.5 * ${f})`,d="{_.c}";var x={_:{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:s(f,0,h,w,d)},l:{$bsh:s(o,0,h,w,d)},t:{$bsh:s(0,o,h,w,d)},b:{$bsh:s(0,f,h,w,d)},x:{$bsh:_(s(f,0,h,w,d),s(o,0,h,w,d))},y:{$bsh:_(s(0,o,h,w,d),s(0,f,h,w,d))},f:{$bsh:s(0,0,f,h,d)},tr:{$bsh:s(f,o,f,w,d)},tl:{$bsh:s(o,o,f,w,d)},br:{$bsh:s(f,f,f,w,d)},bl:{$bsh:s(o,f,f,w,d)}},_bsz:"&box[c,b]=>{bsz}:{1}"}},n={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}"}};const g=["sz","perc"],v=["cqw","cqmin","cqmax"],y=["vw","vmin","vmax"],z=["cqh","cqmin","cqmax"],u=["vh","vmin","vmax"];var k={c:{_w:[...g.map((s=>`&${s}=>{w}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...g.map((s=>`&${s}=>{maxw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...g.map((s=>`&${s}=>{minw}:{1}`)),...v.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...y.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...g.map((s=>`&${s}=>{h}:{1}`)),...z.map((s=>`&${s}=>{h}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...g.map((s=>`&${s}=>{maxh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...g.map((s=>`&${s}=>{minh}:{1}`)),...z.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...u.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const q=["sz","perc"],j=["cqb","cqmin","cqmax"],X=["vw","vh","vmin","vmax"],Y=["cqi","cqmin","cqmax"];var Z={c:{_b:[...q.map((s=>`&${s}=>{b}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...q.map((s=>`&${s}=>{maxb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...q.map((s=>`&${s}=>{minb}:{1}`)),...j.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...q.map((s=>`&${s}=>{i}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...q.map((s=>`&${s}=>{maxi}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...q.map((s=>`&${s}=>{mini}:{1}`)),...Y.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...X.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},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}"}},B={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}"}},C={c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{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}"}},D={_:{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"}}},E={c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},F={c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},G={_:{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}"}},H={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}"}},I={_:{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}"}},J={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}"}},K={_:{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}"}},L={_:{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}"}}},M={_:{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}"}}};export{A as a,M as ac,F as ag,I as b,J as be,l as bg,x as bx,L as c,m as col,t as f,c as fc,a as fi,p as gc,b as gi,n as i,C as ind,e as mk,K as o,i as obj,G as sc,H as sce,k as sz,Z as sze,B as t,D as tf,r as tx,E as u,$ as v};
|
package/dist/configs/ext.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{argsToDeg as t,scale3d as $,comma as o,scaleX as f,scale as n,translate3d as e,translateZ as i,space as a,rotateX as s,rotateY as v,perspective as u,pseudoWhere as b,pseudoHover as r,pseudoVisited as c,pseudoLink as h,pseudoActive as l,pseudoFocus as p}from"../css/functions.js";const d=t(-20,-15,-5,10,90),m="In",x="Out",z="Down",k="Up",
|
|
1
|
+
import{argsToDeg as t,scale3d as $,comma as o,scaleX as f,scale as n,translate3d as e,translateZ as i,space as a,rotateX as s,rotateY as v,perspective as u,pseudoWhere as b,pseudoHover as r,pseudoVisited as c,pseudoLink as h,pseudoActive as l,pseudoFocus as p}from"../css/functions.js";const d=t(-20,-15,-5,10,90),m="In",x="Out",z="Down",k="Up",_="Left",g="Right",y="zoom",j=y+m,w=y+x,B="pulse",D="bounce",I=D+m,L=D+x,O="fade",R=O+m,U=R+z,q=R+k,A=R+_,C=R+g,E=O+x,F=E+z,G=E+k,H=E+_,J=E+g,K="flip",M=K+m+"x",N=K+m+"y",P=K+x+"x",Q=K+x+"y",S="slide",T=S+m,V=T+z,W=T+k,X=T+g,Y=T+_,Z=S+x,tt=Z+z,$t=Z+k,ot=Z+g,ft=Z+_,nt="heartBeat",et=u("25rem");var it,at={kf:{[j]:{0:{$o:0,$tf:$(o(.25,.25,.25))},50:{$o:1}},[w]:{0:{$o:1},50:{$o:0,$tf:$(o(.25,.25,.25))},to:{$o:0}},[B]:{0:{$tf:f(1)},50:{$tf:$(o(1.05,1.05,1.05))},to:{$tf:f(1)}},[nt]:{0:{$tf:n(1)},15:{$tf:n(1.25)},30:{$tf:n(1)},45:{$tf:n(1.25)},70:{$tf:n(0)}},[I]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:$(o(.25,.25,.25))},20:{$tf:$(o(1.1,1.1,1.1))},40:{$tf:$(o(.9,.9,.9))},60:{$o:1,$tf:$(o(1.05,1.05,1.05))},80:{$tf:$(o(.95,.95,.95))},to:{$o:1,$tf:f(1)}},[L]:{20:{$tf:$(o(.9,.9,.9))},"50%, 55%":{$o:1,$tf:$(o(1.1,1.1,1.1))},to:{$o:0,$tf:$(o(.3,.3,.3))}},[R]:{0:{$o:0},to:{$o:1}},[U]:{0:{$o:0,$tf:e(0,"100%",0)},to:{$o:1,$tf:i(0)}},[A]:{0:{$o:0,$tf:e("-100%",0,0)},to:{$o:1,$tf:i(0)}},[C]:{0:{$o:0,$tf:e("-100%",0,0)},to:{$o:1,$tf:i(0)}},[q]:{0:{$o:0,$tf:e(0,"100%",0)},to:{$o:1,$tf:i(0)}},[E]:{0:{$o:1},to:{$o:0}},[F]:{0:{$o:1},to:{$o:0,$tf:e(0,"-100%",0)}},[H]:{0:{$o:1},to:{$o:0,$tf:e("-100%",0,0)}},[J]:{0:{$o:1},to:{$o:0,$tf:e("100%",0,0)}},[G]:{0:{$o:1},to:{$o:0,$tf:e(0,"-100%",0)}},[M]:{0:{$atf:"{ttf.ei}",$o:0,$tf:a(et,s(d[90]))},40:{$atf:"{ttf.ei}",$tf:a(et,s(d[-20]))},60:{$o:1,$tf:a(et,s(d[10]))},80:{$tf:a(et,s(d[-5]))},to:{$tf:et}},[N]:{0:{$atf:"{ttf.ei}",$o:0,$tf:a(et,v(d[90]))},40:{$atf:"{ttf.ei}",$tf:a(et,v(d[-20]))},60:{$o:1,$tf:a(et,v(d[10]))},80:{$tf:a(et,v(d[-5]))},to:{$tf:et}},[P]:{0:{$tf:et},30:{$o:1,$tf:a(et,s(d[-20]))},to:{$o:0,$tf:a(et,s(d[90]))}},[Q]:{0:{$tf:et},30:{$o:1,$tf:a(et,v(d[-15]))},to:{$o:0,$tf:a(et,v(d[90]))}},[V]:{0:{$tf:e(0,"-100%",0),$v:"{v.v}"},to:{$tf:i(0)}},[Y]:{0:{$tf:e("-100%",0,0),$v:"{v.v}"},to:{$tf:i(0)}},[X]:{0:{$tf:e("100%",0,0),$v:"{v.v}"},to:{$tf:i(0)}},[W]:{0:{$tf:e(0,"100%",0),$v:"{v.v}"},to:{$tf:i(0)}},[tt]:{0:{$tf:i(0)},to:{$tf:e(0,"100%",0),$v:"{v.h}"}},[ft]:{0:{$tf:i(0)},to:{$tf:e("-100%",0,0),$v:"{v.h}"}},[ot]:{0:{$tf:i(0)},to:{$tf:e("100%",0,0),$v:"{v.h}"}},[$t]:{0:{$tf:i(0)},to:{$tf:e(0,"-100%",0),$v:"{v.h}"}}},c:(it=[j,w,B,nt,I,L,R,U,A,C,q,E,F,H,J,G,M,N,P,Q,V,Y,X,W,tt,ft,ot,$t],it.reduce(((t,$)=>(t["_"+$+"_"]={$an:`{kf_${$}}`},t)),{}))},st={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[b(o("a",h("a"),c("a"),r("a")))]:{$td:"{uni.no}"},[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(o(p("input"),l("input"),p("button"),l("button")))]:{$o:"none"}}};export{at as kf,st as reset};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{values as e,keys as t}from"./css/dict.js";import{toPercent as s,toCqb as i,toCqi as r,toCqmin as l,toCqmax as o,toVw as n,toVh as c,toVmin as a,toVmax as h,toSpan as p,toRem as d,toDeg as m,toMs as f,toPx as u}from"./css/functions.js";import{COMPONENT_NAME as _,SETTINGS_ID as y,getProviderStyles as x}from"./utils.js";"function"==typeof SuppressedError&&SuppressedError;const S={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},e)},v=e=>`{${e}}`,g=Object.assign.bind(Object),b=(e,t)=>`${e}:${t};`,$=(e,t)=>["@property",e,v(b("syntax",t.syn||'"*"')+b("inherits",t.inh||!1)+(t.ini?b("initial-value",t.ini):""))].join(" "),j=e=>`var(${e})`,O=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,w=["l","c","h","a"];class k{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=S,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,_;if(e)for(const t in e)this._params[t]=g(this._params[t]||{},e[t]);const{time:y,rem:x,coef:S,szu:v,sz:b,sp:$,rad:j,th:O,fr:w,bp:k,fsz:A,lsp:z,tr:E,sk:N,rot:V,fg:R,fs:q,fb:W,fo:I,ra:P,ro:C,co:K,ca:T,ins:B,cqu:G,cqb:H,cqi:J,cqmin:L,cqmax:M,vu:U,vw:D,vh:F,vmin:Q,vmax:X}=this._params.root,Y=s(w);this._params.root=g(this._params.root,{cqb:i(H||G),cqi:r(J||G),cqmin:l(L||G),cqmax:o(M||G),vw:n(D||U),vh:c(F||U),vmin:a(Q||U),vmax:h(X||U),fo:I||S,fg:R||S,fs:q||S,fb:W||Y,ra:P||p(S),ro:C||S,ca:T||p(S),co:K||S,ins:B||Y,sz:g(d(b)||{},v),sp:g(d($)||{},v),rad:d(j),th:d(O),bp:d(k),fsz:d(A),lsp:d(z),tr:d(E),sk:m(N),rot:m(V),perc:Y,time:f(y),rem:u(x)});const Z=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"]),ee=Object.entries(Z),te={_mode:{root:{}}},se={};ee.forEach((([e,t])=>{te._mode[e]||(te._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);te._mode[e][r]=i,te._mode.root[r]||(te._mode.root[r]=i,se[t]||(se[t]={}),se[t][s]=`var(${r})`)}))}))})),this._compValues=se,this._compKeys=Object.entries(this._compValues.bp||{}).reduce(((e,[t,s])=>(e[t+"_"]=`@media (min-width:${s})`,e[t.toUpperCase()+"_"]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},te),{$r_:Object.assign(Object.assign({},te._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=te._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:te._mode.dark}}:{}),(null===(_=te._mode)||void 0===_?void 0:_.light)?{$light_:{$r_:te._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:l={},v:o={},c:n}=s,c=this._prepareSelector.bind(this),a=this._parseSelector.bind(this);let h=g({},n),p=g({},l),d=g({_:{}},o),m="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};w.forEach((r=>{const l=t+r,o=this._prepareVarName(e,l);i[r]=o,p["_"+l]=i[r],m+=$(o,s)})),d._[t]=O({l:j(i.l),c:j(i.c),h:j(i.h),a:j(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);p["_"+t]=i,d._[t]=j(i),m+=$(i,s)}}const f=e=>p[e]||this._compKeys[e]||t[e],u=e=>d[e]||this._compValues[e]||this._params.root[e],_=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=u(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return f(s)})),y=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,l]=i.split("=>"),[o,n,c]=r.match(/(\w+)(\[[\w,]+\])?/),a=u(n);if(!a)continue;s=a;let h=Object.entries(s);const p=null==c?void 0:c.slice(1,-1).split(",");if(p){const e=new Set(p);h=h.filter((([t,s])=>e.has(t)))}if(l){let[e,t]=l.split("|");void 0===t&&(t=e,e=""),h=h.map((([s,i])=>[e.replace("{0}",s)||s,_(t.replaceAll("{1}",i))]))}(p||l)&&(s=Object.fromEntries(h));break}return s};function x(t,s,i){var r,l,o;let n=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(n=f(t.slice(1)),!n))return"";if(Array.isArray(s))return x(n,Object.assign({},...s.map((e=>"string"==typeof e?y(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||n.startsWith("&")||n.startsWith("@")?"":"&";if(n.startsWith("_")){const{e:i,m:r,mv:l}=a(n);return r&&"string"!=typeof l?Object.entries(s).reduce(((s,[l,o])=>{let a;return a="object"==typeof o?Object.entries(o).reduce(((e,t)=>e+x(...t,n)),""):o+";",s+t+c({b:e,e:i,m:r,mv:l})+v(a)}),""):t+c({b:e,e:i,m:r,mv:l})+v(Object.entries(s).reduce(((e,t)=>e+x(...t,n)),""))}return t+n+v(Object.entries(s).reduce(((e,t)=>e+x(...t,n)),""))}{let e=""+s;return(null===(l=null==e?void 0:e.startsWith)||void 0===l?void 0:l.call(e,"&"))?x(n,y(e.slice(1)),i):(null===(o=null==e?void 0:e.includes)||void 0===o?void 0:o.call(e,"{"))?x(n,_(e),i):b(n,s)}}let S="";if(r)for(let e in r){const t=r[e];S+=`@keyframes ${e} `+v(Object.entries(t).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+v(Object.entries(s).reduce(((e,t)=>e+x(...t)),""))),""))}return m+S+Object.entries(h).reduce(((e,t)=>e+x(...t)),"")};const{mode:_,prefix:y,params:x}=e;this._mode=_||"a",this._prefix=y||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(x)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:l}=this._parseSelector(t),o=l&&this._getStateSelector(l);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:l})+"{"+o]}_getStateSelector(e){const s=e+"_",i=this._compKeys[s]||t[s];if(i)return(i.startsWith("&")||i.startsWith("@")?"":"&")+i}}class A{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),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 found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[l,o]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+o+"}",l=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),n=r.parentStyleSheet.cssRules[l],c=s.split("{")[0];return i[c]=n,this._expandedSelectors[e].add(c),!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 z(e){customElements.define((null==e?void 0:e.name)||_,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||y}constructor(){super(),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)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},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),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,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}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new k({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new A({init:x()+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}})}export{z as defineStyleProvider};
|
|
1
|
+
import{values as e,keys as t}from"./css/dict.js";import{toPercent as s,toCqb as i,toCqi as r,toCqmin as l,toCqmax as o,toVw as n,toVh as a,toVmin as c,toVmax as h,toSpan as p,toRem as d,toDeg as m,toMs as f,toPx as u}from"./css/functions.js";import{COMPONENT_NAME as _,SETTINGS_ID as y,getProviderStyles as x}from"./utils.js";"function"==typeof SuppressedError&&SuppressedError;const v={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:Object.assign({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},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:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),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},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{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"},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}},e)},S=e=>`{${e}}`,g=Object.assign.bind(Object),b=(e,t)=>`${e}:${t};`,$=(e,t)=>["@property",e,S(b("syntax",t.syn||'"*"')+b("inherits",t.inh||!1)+(t.ini?b("initial-value",t.ini):""))].join(" "),j=e=>`var(${e})`,O=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,k=["l","c","h","a"];class w{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=v,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,_;if(e)for(const t in e)this._params[t]=g(this._params[t]||{},e[t]);const{time:y,rem:x,coef:v,szu:S,sz:b,sp:$,rad:j,th:O,fr:k,bp:w,fsz:A,lsp:N,tr:z,sk:E,rot:R,fg:V,fs:q,fb:W,fo:I,ra:K,ro:P,co:C,ca:T,ins:B,cqu:G,cqb:H,cqi:J,cqmin:L,cqmax:M,vu:D,vw:F,vh:Q,vmin:U,vmax:X}=this._params.root,Y=s(k);this._params.root=g(this._params.root,{cqb:i(H||G),cqi:r(J||G),cqmin:l(L||G),cqmax:o(M||G),vw:n(F||D),vh:a(Q||D),vmin:c(U||D),vmax:h(X||D),fo:I||v,fg:V||v,fs:q||v,fb:W||Y,ra:K||p(v),ro:P||v,ca:T||p(v),co:C||v,ins:B||Y,sz:g(d(b)||{},S),sp:g(d($)||{},S),rad:d(j),th:d(O),bp:d(w),fsz:d(A),lsp:d(N),tr:d(z),sk:m(E),rot:m(R),perc:Y,time:f(y),rem:u(x)});const Z=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"]),ee=Object.entries(Z),te={_mode:{root:{}}},se={};ee.forEach((([e,t])=>{te._mode[e]||(te._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);te._mode[e][r]=i,te._mode.root[r]||(te._mode.root[r]=i,se[t]||(se[t]={}),se[t][s]=`var(${r})`)}))}))})),this._compValues=se,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},te),{$r_:Object.assign(Object.assign({},te._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=te._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:te._mode.dark}}:{}),(null===(_=te._mode)||void 0===_?void 0:_.light)?{$light_:{$r_:te._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:l={},v:o={},c:n}=s,a=this._prepareSelector.bind(this),c=this._parseSelector.bind(this);let h=g({},n),p=g({},l),d=g({_:{}},o),m="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};k.forEach((r=>{const l=t+r,o=this._prepareVarName(e,l);i[r]=o,p["_"+l]=i[r],m+=$(o,s)})),d._[t]=O({l:j(i.l),c:j(i.c),h:j(i.h),a:j(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);p["_"+t]=i,d._[t]=j(i),m+=$(i,s)}}const f=e=>p[e]||this._compKeys[e]||t[e],u=e=>d[e]||this._compValues[e]||this._params.root[e],_=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=u(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return f(s)})),y=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,l]=i.split("=>"),[o,n,a]=r.match(/(\w+)(\[[\w,]+\])?/),c=u(n);if(!c)continue;s=c;let h=Object.entries(s);const p=null==a?void 0:a.slice(1,-1).split(",");if(p){const e=new Set(p);h=h.filter((([t,s])=>e.has(t)))}if(l){let[e,t]=l.split("|");void 0===t&&(t=e,e=""),h=h.map((([s,i])=>[e.replace("{0}",s)||s,_(t.replaceAll("{1}",i))]))}(p||l)&&(s=Object.fromEntries(h));break}return s};function x(t,s,i){var r,l,o,n;let h=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(h=f(t.slice(1)),!h))return"";if(Array.isArray(s))return x(h,Object.assign({},...s.map((e=>"string"==typeof e?y(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(l=i.startsWith)||void 0===l?void 0:l.call(i,"@"))||h.startsWith("&")||h.startsWith("@")?"":"&";if(h.startsWith("_")){const{e:i,m:r,mv:l}=c(h);return r&&"string"!=typeof l?Object.entries(s).reduce(((s,[l,o])=>{let n;return n="object"==typeof o?Object.entries(o).reduce(((e,t)=>e+x(...t,h)),""):o+";",s+t+a({b:e,e:i,m:r,mv:l})+S(n)}),""):t+a({b:e,e:i,m:r,mv:l})+S(Object.entries(s).reduce(((e,t)=>e+x(...t,h)),""))}return t+h+S(Object.entries(s).reduce(((e,t)=>e+x(...t,h)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?x(h,y(e.slice(1)),i):(null===(n=null==e?void 0:e.includes)||void 0===n?void 0:n.call(e,"{"))?x(h,_(e),i):b(h,s)}}let v="";if(r)for(let t in r){const s=r[t],i=this._prepareKeyframesName(e,t);p["kf_"+t]=i,v+=`@keyframes ${i} `+S(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+S(Object.entries(s).reduce(((e,t)=>e+x(...t)),""))),""))}return m+v+Object.entries(h).reduce(((e,t)=>e+x(...t)),"")};const{mode:_,prefix:y,params:x}=e;this._mode=_||"a",this._prefix=y||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(x)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:l}=this._parseSelector(t),o=l&&this._getStateSelector(l);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:l})+"{"+o]}_getStateSelector(e){const s=e+"_",i=this._compKeys[s]||t[s];if(i)return(i.startsWith("&")||i.startsWith("@")?"":"&")+i}}class A{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 found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[l,o]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+o+"}",l=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),n=r.parentStyleSheet.cssRules[l],a=s.split("{")[0];return i[a]=n,this._expandedSelectors[e].add(a),!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 N(e){customElements.define((null==e?void 0:e.name)||_,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||y}constructor(){super(),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)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},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),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,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}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new w({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new A({init:x()+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}})}export{N as defineStyleProvider};
|
|
@@ -29,7 +29,7 @@ export declare class Manager implements IStyleManager {
|
|
|
29
29
|
add: (key: string, stylesheet: CSSStyleSheet) => true | undefined;
|
|
30
30
|
remove: (key: string) => true | undefined;
|
|
31
31
|
removeAll(): boolean;
|
|
32
|
-
pack: (key: string, styles: string) =>
|
|
32
|
+
pack: (key: string, styles: string) => true | undefined;
|
|
33
33
|
cacheRules: (key: string, stylesheet: CSSStyleSheet) => void;
|
|
34
34
|
getExpandedSelectors: (key: string) => Set<string>;
|
|
35
35
|
expandRule: (key: string, init: string, exp: string) => true | undefined;
|
|
@@ -92,6 +92,11 @@ export declare class Processor implements IStyleProcessor {
|
|
|
92
92
|
* @param parts
|
|
93
93
|
*/
|
|
94
94
|
protected _prepareVarName: (...parts: string[]) => string;
|
|
95
|
+
/**
|
|
96
|
+
* Prepare name of keyframes object
|
|
97
|
+
* @param parts
|
|
98
|
+
*/
|
|
99
|
+
protected _prepareKeyframesName: (...parts: string[]) => string;
|
|
95
100
|
/**
|
|
96
101
|
* Compile style config to CSS stylesheet text content
|
|
97
102
|
* @param styleConfig
|
|
@@ -33,7 +33,7 @@ export interface IStyleManager {
|
|
|
33
33
|
* @param key - stylesheet key
|
|
34
34
|
* @param styles - stylesheet content
|
|
35
35
|
*/
|
|
36
|
-
pack(key: string, styles: string):
|
|
36
|
+
pack(key: string, styles: string): boolean | void;
|
|
37
37
|
/**
|
|
38
38
|
* Cache computed CSS rules
|
|
39
39
|
* @param key
|
|
@@ -107,7 +107,7 @@ export interface IStyleProvider extends HTMLElement {
|
|
|
107
107
|
/**
|
|
108
108
|
* Compile sheet
|
|
109
109
|
*/
|
|
110
|
-
compileStyleSheet(key: string, config: TStyleConfig):
|
|
110
|
+
compileStyleSheet(key: string, config: TStyleConfig): boolean | void;
|
|
111
111
|
/**
|
|
112
112
|
* Expand stylesheet
|
|
113
113
|
* @param key
|
|
@@ -31,7 +31,7 @@ export declare const getProvider: (root?: Document) => IStyleProvider;
|
|
|
31
31
|
* @param config - style config
|
|
32
32
|
* @param provider - style provider
|
|
33
33
|
*/
|
|
34
|
-
export declare const compileStyleSheet: (key: string, config: TStyleConfig, provider?: IStyleProvider) =>
|
|
34
|
+
export declare const compileStyleSheet: (key: string, config: TStyleConfig, provider?: IStyleProvider) => boolean | void;
|
|
35
35
|
/**
|
|
36
36
|
* Expand stylesheet
|
|
37
37
|
* @param key - stylesheet key
|
|
@@ -86,7 +86,7 @@ export declare class StyleDispatcher {
|
|
|
86
86
|
root: Document;
|
|
87
87
|
provider?: IStyleProvider;
|
|
88
88
|
construstor(root?: Document): void;
|
|
89
|
-
compile: (key: string, config: TStyleConfig) =>
|
|
89
|
+
compile: (key: string, config: TStyleConfig) => boolean | void;
|
|
90
90
|
expand: (key: string, config: string[]) => number | undefined;
|
|
91
91
|
process: (styles?: Record<string, TStyleConfig>, ext?: Record<string, string[]>) => void;
|
|
92
92
|
}
|