effcss 2.0.0 → 2.0.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 CHANGED
@@ -26,6 +26,7 @@ Effcss is a self-confident CSS-in-JS library based only on the browser APIs.
26
26
  ## Use with
27
27
 
28
28
  - [React](https://stackblitz.com/edit/vitejs-react-effcss?file=index.html)
29
+ - [React SSR](https://stackblitz.com/edit/vitejs-react-ssr-effcss?file=index.html)
29
30
  - [Svelte](https://stackblitz.com/edit/vitejs-svelte-effcss?file=index.html)
30
31
  - [Vue](https://stackblitz.com/edit/vitejs-vue-effcss?file=index.html)
31
32
  - [Preact](https://stackblitz.com/edit/vitejs-preact-effcss?file=index.html)
@@ -88,20 +89,33 @@ const cardStyle = {
88
89
  c: {
89
90
  // block
90
91
  _: {
91
- $dis: 'flex',
92
- $jc: 'center'
92
+ display: 'flex',
93
+ justifyContent: 'center'
93
94
  },
94
95
  // element
95
96
  __logo: {
96
- $p: '2em'
97
+ padding: '2em'
97
98
  },
98
99
  // boolean element modifier
99
100
  __logo_c_: {
100
- $c: '#888'
101
+ color: '#888',
102
+ ':hover': {
103
+ color: 'black',
104
+ }
101
105
  },
102
106
  // element modifier with value
103
107
  __logo_sz_lg: {
104
- $w: '5rem'
108
+ width: '5rem'
109
+ },
110
+ // ordinary CSS
111
+ '.square': {
112
+ aspectRatio: 1,
113
+ ':focus': {
114
+ aspectRatio: '1/2'
115
+ }
116
+ },
117
+ body: {
118
+ boxSizing: 'border-box'
105
119
  }
106
120
  }
107
121
  };
@@ -111,12 +125,12 @@ export const App = (props) => {
111
125
 
112
126
  const attrsRef = useRef();
113
127
  if (!stylesRef.current) {
114
- const resolve = css.use(cardStyle);
128
+ const cardCSS = css.use(cardStyle);
115
129
  attrsRef.current = {
116
130
  // just block selector
117
- block: resolve()(),
131
+ block: cardCSS()(),
118
132
  // element with modifiers
119
- logoMod: resolve('logo')({
133
+ logoMod: cardCSS('logo')({
120
134
  c: '',
121
135
  sz: 'lg'
122
136
  }),
@@ -1,7 +1,7 @@
1
1
  /*
2
- * Effcss v2.0.0
2
+ * Effcss v2.0.1
3
3
  * {@link https://gitverse.ru/msabitov/effcss}
4
4
  * Copyright (c) Marat Sabitov
5
5
  * @license Apache 2.0
6
6
  */
7
- const t=Object.entries,e=(e,s,i)=>t(e).reduce(s,i),s=t=>"object"==typeof t,i=t=>`{${t}}`,r=Object.assign.bind(Object),n=(t,e)=>`${t}:${e};`,o=(t,e)=>["@property",t,i(n("syntax",e.syn||'"*"')+n("inherits",e.inh||!1)+(e.ini?n("initial-value",e.ini):""))].join(" "),l=t=>`var(${t})`,a=({l:t,c:e,h:s,a:i=1})=>`oklch(${t} ${e} ${s} / ${i})`,c=["l","c","h","a"];class h{constructor(h){this._outerKeys={},this._outerSets={},this._parseSelector=t=>{let e,s,i,r,n;return[e,n]=t.split(":"),e.startsWith("__")?[s,i,r]=e.slice(2).split("_"):[s,i,r]=e.split("_"),{e:s,m:i,mv:r,s:n}},this._prepareVarName=(...t)=>this._resolver.varName(...t),this._prepareKeyframesName=(...t)=>this._resolver.kfName(...t),this.compile=(h,p)=>{const{_:f,kf:m,k:b={},v:d={},c:u}=p,g=this._resolver.selector.bind(this),_=this._parseSelector;let y=r({},u),v=r({},b),$=r({_:{}},d),x="";if(f)for(let t in f){const e=f[t];if("c"===e.typ){const s={};c.forEach((i=>{const r=t+i,n=this._prepareVarName(h,r);s[i]=n,v["_"+r]=s[i],x+=o(n,e)})),$._[t]=a({l:l(s.l),c:l(s.c),h:l(s.h),a:l(s.a)}),e.all&&(y["_"+t+"l"]=`&lig=>${this._prepareVarName(h,t+"l")}:{1}`,y["_"+t+"c"]=`&chr=>${this._prepareVarName(h,t+"c")}:{1}`,y["_"+t+"h"]=`&hue=>${this._prepareVarName(h,t+"h")}:{1}`,y["_"+t+"a"]=`&alp=>${this._prepareVarName(h,t+"a")}:{1}`)}else{const s=this._prepareVarName(h,t);v["_"+t]=s,$._[t]=l(s),x+=o(s,e)}}const w=t=>v[t]||this._outerKeys[t],j=t=>{var e;return $[t]||this._outerSets[t]||(null===(e=this._outerSets)||void 0===e?void 0:e.root[t])},k=t=>t.replaceAll(/\{(.+?)\}/g,((t,e)=>{const[s,i]=e.split(".");if(i){const t=j(s);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+(w(s)||"")})),S=e=>{const s=e.split("?");let i;for(let e in s){const r=s[e],[n,o]=r.split("=>"),l=n.match(/(\w+)(\[[\w,]+\])?/);if(!l)continue;const[a,c,h]=l,p=j(c);if(!p)continue;i=p;let f=t(i);const m=null==h?void 0:h.slice(1,-1).split(",");if(m){const t=new Set(m);f=f.filter((([e,s])=>t.has(e)))}if(o){let[t,e]=o.split("|");void 0===e&&(e=t,t=""),f=f.map((([s,i])=>[t.replace("{0}",s)||s,k(e.replaceAll("{1}",""+i))]))}(m||o)&&(i=Object.fromEntries(f));break}return i};function O(t,r,o){var l,a,c,p;let f=""+t;if((null===(l=null==t?void 0:t.startsWith)||void 0===l?void 0:l.call(t,"$"))&&(f=""+w(t.slice(1)),!f))return"";if(Array.isArray(r))return O(f,Object.assign({},...r.map((t=>"string"==typeof t?S(t):t))),o);if(null==r)return"";if(s(r)){const t=!o||(null===(a=o.startsWith)||void 0===a?void 0:a.call(o,"@"))||f.startsWith("&")||f.startsWith("@")?"":"&";if(f.startsWith("_")){const{e:n,m:o,mv:l}=_(f);return o&&"string"!=typeof l?e(r,((r,[l,a])=>{let c;return c=s(a)?e(a,((t,e)=>t+O(...e,f)),""):a+";",r+t+g({b:h,e:n,m:o,mv:l})+i(c)}),""):t+g({b:h,e:n,m:o,mv:l})+i(e(r,((t,e)=>t+O(...e,f)),""))}return t+f+i(e(r,((t,e)=>t+O(...e,f)),""))}{let t=""+r;return(null===(c=null==t?void 0:t.startsWith)||void 0===c?void 0:c.call(t,"&"))?O(f,S(t.slice(1)),o):(null===(p=null==t?void 0:t.includes)||void 0===p?void 0:p.call(t,"{"))?O(f,k(t),o):n(f.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let z="";if(m)for(let t in m){const s=m[t],r=this._prepareKeyframesName(h,t);v["kf_"+t]=r,z+=`@keyframes ${r} `+i(e(s,((t,[s,r])=>t+s+(String(+s)===s?"%":"")+i(e(r,((t,e)=>t+O(...e)),""))),""))}return x+z+e(y,((t,e)=>t+O(...e)),"")};const{sets:p,keys:f,resolver:m}=h;this._resolver=m,f&&(this._outerKeys=f),p&&(this._outerSets=p)}}class p{constructor(){this._stylesheets={},this._rules={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.has=t=>!!t&&!!this.get(t),this.getAll=()=>this._stylesheets,this.add=(t,e)=>{if(!this._stylesheets[t])return this._stylesheets[t]=e,this._styleSheetsArray.push(e),this.notify(),!0},this.on=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;return-1===this._styleSheetsArray.findIndex((t=>t===e))?(this._styleSheetsArray.push(e),this.notify(),!0):void 0},this.off=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return-1!==s?(this._styleSheetsArray.splice(s,1),this.notify(),!0):void 0},this.remove=t=>{const e=this.get(t);if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[t],delete this._rules[t]),this.notify(),!0},this.pack=(t,e,s)=>{const i=new CSSStyleSheet;if(i.replaceSync(e),i.cssRules.length)return this.add(t,i);console.log(`StyleSheet '${t}' is empty`)},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const e=this._listeners.findIndex((e=>e.deref()===t));e>=0&&this._listeners.splice(e,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,e)=>{const s=e.deref();return s&&(this.apply(s),t.push(e)),t}),[])}}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this.notify(),!0}}const f=(...t)=>t.join(","),m="rem",b="-",d=" ",u="-x",g="-y",_="down",y="horizontal",v="vertical",$="text",x=$+b,w="font",j=w+b,k="column",S=k+b,O="max-",z="min-",A="content",N=A+"s",C="-items",E="self",K="inline",W="block",V="size",P="-radius",q="direction",I="outline",M="style",R=b+M,T="end",B=b+T,J="start",L=b+J,G="center",H="word",Z="line",D="break",F=D+b,Q="wrap",U="no"+Q,X="rule",Y="object",tt="top",et=b+tt,st="left",it=b+st,rt="bottom",nt=b+rt,ot="right",lt=b+ot,at="width",ct=b+at,ht="color",pt=b+ht,ft="overflow",mt="align",bt="type",dt="transform",ut="all",gt="height",_t="normal",yt="opacity",vt="visibility",$t="scale",xt="box",wt=b+xt,jt="border",kt="position",St="none",Ot="auto",zt="fill",At="stroke",Nt="reverse",Ct="space",Et="fixed",Kt="origin",Wt="alpha",Vt="luminance",Pt="clip",qt="zoom",It="scroll",Mt="padding",Rt="margin",Tt="both",Bt="mode",Jt="repeat",Lt="light",Gt="linear",Ht="hidden",Zt="shadow",Dt="behavior",Ft="orientation",Qt="name",Ut="after",Xt="before",Yt="image",te="list"+R,ee=te+b+bt,se=te+b+kt,ie=te+b+Yt,re=ht+"-scheme",ne=jt+nt,oe=jt+it,le=jt+lt,ae=jt+et,ce=jt+b+W,he=jt+b+K,pe=ce+L,fe=ce+B,me=he+L,be=he+B,de=jt+ct,ue=ne+ct,ge=oe+ct,_e=le+ct,ye=ae+ct,ve=ce+ct,$e=he+ct,xe=pe+ct,we=fe+ct,je=me+ct,ke=be+ct,Se=jt+P,Oe=ne+it+P,ze=ne+lt+P,Ae=ae+it+P,Ne=ae+lt+P,Ce=jt+L+B+P,Ee=jt+L+L+P,Ke=jt+B+B+P,We=jt+B+L+P,Ve=jt+pt,Pe=oe+pt,qe=le+pt,Ie=ae+pt,Me=ne+pt,Re=ce+pt,Te=he+pt,Be=pe+pt,Je=fe+pt,Le=me+pt,Ge=be+pt,He=jt+R,Ze=oe+R,De=le+R,Fe=ae+R,Qe=ne+R,Ue=ce+R,Xe=he+R,Ye=pe+R,ts=fe+R,es=me+R,ss=be+R,is=I+pt,rs=I+ct,ns=I+R,os=I+b+"offset",ls=ft+u,as=ft+g,cs=Y+b+"fit",hs=Y+b+kt,ps=$t+b+_,fs=xt+b+Zt,ms=Mt+wt,bs=jt+wt,ds=A+wt,us=zt+wt,gs=At+wt,_s="view"+wt,ys="no-"+Pt,vs=Jt+u,$s=Jt+g,xs="no-"+Jt,ws=Mt+it,js=Mt+et,ks=Mt+lt,Ss=Mt+nt,Os=Rt+it,zs=Rt+et,As=Rt+lt,Ns=Rt+nt,Cs="grid",Es="row",Ks="gap",Ws="justify",Vs="flex",Ps=Vs+b,qs="place"+C,Is=K+b+Vs,Ms=Ps+"basis",Rs=Ps+"grow",Ts=Ps+"shrink",Bs=Ps+q,Js=Ps+Q,Ls=Ws+b+A,Gs=Ws+C,Hs=mt+C,Zs=mt+b+A,Ds=mt+b+E,Fs=Cs+b+"template",Qs=Fs+b+Es+"s",Us=Fs+b+k+"s",Xs=Es+b+Ks,Ys=S+Ks,ti=Ws+b+E,ei=Cs+b+Es,si=ei+B,ii=ei+L,ri=Cs+b+k,ni=ri+B,oi=ri+L,li=S+"count",ai=S+zt,ci=S+X,hi=ci+pt,pi=ci+R,fi=ci+ct,mi=S+"span",bi=k+ct,di=Es+b+Nt,ui=S+Nt,gi=Q+b+Nt,_i=Vs+B,yi=Vs+L,vi=Ct+"-between",$i=Ct+"-around",xi=Ct+"-evenly",wi=K+b+Cs,ji="mask-",ki=ji+Pt,Si=ji+"composite",Oi=ji+Bt,zi=ji+Kt,Ai=ji+kt,Ni=ji+Jt,Ci=ji+V,Ei=ji+bt,Ki="timing-function",Wi="delay",Vi="duration",Pi="animation",qi=Pi+b,Ii=qi+Qt,Mi=qi+Ki,Ri=qi+q,Ti=qi+"iteration-count",Bi=qi+Vi,Ji=qi+Wi,Li=qi+"play-state",Gi=qi+zt+b+Bt,Hi="transition",Zi=Hi+b,Di=Zi+Dt,Fi=Zi+"property",Qi=Zi+Ki,Ui=Zi+Vi,Xi=Zi+Wi,Yi="alternate",tr=Yi+b+Nt,er="-out",sr="ease",ir=sr+"-in",rr=ir+er,nr=sr+er,or="step",lr=or+L,ar=or+B,cr="translate",hr="rotate",pr="perspective",fr=pr+b+Kt,mr=st+d+tt,br=ot+d+tt,dr=st+d+rt,ur=ot+d+rt,gr="inset",_r=gr+b,yr=dt+wt,vr=dt+b+Kt,$r=dt+R,xr=_r+W,wr=xr+B,jr=xr+L,kr=_r+K,Sr=kr+B,Or=kr+L,zr="fit-"+A,Ar=z+A,Nr=O+A,Cr=xt+"-sizing",Er=O+at,Kr=z+at,Wr=O+gt,Vr=z+gt,Pr=W+b+V,qr=O+Pr,Ir=z+Pr,Mr=K+b+V,Rr=O+Mr,Tr=z+Mr,Br=It+b+Dt,Jr=It+b+Rt,Lr=Jr+et,Gr=Jr+nt,Hr=Jr+it,Zr=Jr+lt,Dr=Jr+b+W,Fr=Dr+B,Qr=Dr+L,Ur=Jr+b+K,Xr=Ur+B,Yr=Ur+L,tn=It+b+Mt,en=tn+et,sn=tn+nt,rn=tn+it,nn=tn+lt,on=tn+b+W,ln=on+B,an=on+L,cn=tn+b+K,hn=cn+B,pn=cn+L,fn=It+b+"snap",mn=fn+b+mt,bn=fn+b+"stop",dn=fn+b+bt,un="over"+Br,gn=" mandatory",_n="x"+gn,yn="y"+gn,vn=W+gn,$n=K+gn,xn=Tt+gn,wn=" proximity",jn="x"+wn,kn="y"+wn,Sn=W+wn,On=K+wn,zn=Tt+wn,An=x+"decoration",Nn=An+b+ht,Cn=An+b+"thickness",En=An+b+M,Kn=An+b+Z,Wn="white-"+Ct,Vn=x+dt,Pn=x+mt,qn=v+b+mt,In=x+ft,Mn=x+Ft,Rn=x+"rendering",Tn=x+Zt,Bn=x+"emphasis",Jn=Bn+pt,Ln=Bn+b+kt,Gn=Bn+R,Hn=x+Q,Zn=Hn+b+Bt,Dn=Hn+R,Fn=H+b+D,Qn=j+V,Un=j+"weight",Xn=j+"family",Yn=j+M,to=j+"synthesis",eo=j+"variant",so=eo+b+Yi+"s",io=eo+"-caps",ro=eo+"-numeric",no=eo+b+kt,oo=eo+"-east-asian",lo=eo+"-ligatures",ao=eo+"-settings",co="writing-"+Bt,ho=Z+b+gt,po=Z+b+D,fo=Z+"-through",mo="over"+Z,bo="under"+Z,uo="pre",go=uo+b+Z,_o=uo+b+Q,yo=F+Ct+"s",vo=F+ut,$o=F+H,xo=F+Ut,wo=F+Xt,jo=y+"-tb",ko=v+"-lr",So=v+"-rl",Oo="keep-"+ut,zo="pointer",Ao="pan",No=Ao+u,Co=Ao+it,Eo=Ao+lt,Ko=Ao+g,Wo=Ao+b+_,Vo="pinch-"+qt,Po=v+b+$,qo="grab",Io=qo+"bing",Mo="resize",Ro="col-"+Mo,To="row-"+Mo,Bo="n-"+Mo,Jo="e-"+Mo,Lo="s-"+Mo,Go="w-"+Mo,Ho="ne-"+Mo,Zo="ew-"+Mo,Do="nw-"+Mo,Fo="se-"+Mo,Qo="sw-"+Mo,Uo="ns-"+Mo,Xo="nesw-"+Mo,Yo="nwse-"+Mo,tl=qt+b+"in",el=qt+b+"out",sl=zo+"-events",il=It+b+kt,rl="caret"+pt,nl="accent"+pt,ol="filter",ll="backdrop-"+ol,al="background",cl=al+b,hl=cl+Yt,pl=cl+ht,fl=cl+Pt,ml=cl+Kt,bl=cl+kt,dl=bl+u,ul=bl+g,gl=cl+Jt,_l=cl+V,yl=cl+"blend-"+Bt,vl=cl+"attachment",$l="gradient",xl=Gt+b+$l,wl="radial-"+$l,jl="conic-"+$l,kl=A+b+vt,Sl=At+ct,Ol=At+b+yt,zl=zt+b+X,Al=zt+b+yt,Nl=ht+"-dodge",Cl=ht+"-burn",El="hard-"+Lt,Kl="soft-"+Lt,Wl=ht+"-mix",Vl="revert",Pl=Vl+"-layer",ql="container",Il=ql+b+bt,Ml=ql+b+Qt,Rl=":first-",Tl=":last-",Bl=":only-",Jl="child",Ll="of-type",Gl=":nth-child",Hl="prefers-",Zl=Hl+re,Dl="@media",Fl=ht+"-gamut",Ql=Hl+"contrast",Ul="scripting",Xl="::"+Ut,Yl="::"+Xt,ta="sideways",ea=ta+lt,sa={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"},ia=[...Array(12).keys()].reduce(((t,e)=>(t[e]=e,t)),{}),ra={u:{ini:"initial",inh:"inherit",u:"unset",r:Vl,rl:Pl},rep:{rx:vs,ry:$s,r:Jt,s:Ct,ro:"round",nr:xs},lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},ff:{def:"Roboto, sans-serif",h:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},fst:{i:"italic",n:_t,o:"oblique"},lsp:{no:0,s:.05,m:.1,l:.2},ws:{n:_t,nw:U,p:uo,pl:go,pw:_o,bs:yo},wb:{n:_t,ba:vo,ka:Oo,bw:$o},wm:{htb:jo,vlr:ko,vrl:So},hyp:{no:St,m:"manual",a:Ot},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:fo,o:mo,u:bo},tor:{m:"mixed",u:"upright",sr:ea,s:ta,ugo:"use-glyph-"+Ft},ta:{l:st,c:G,j:Ws,r:ot,s:J,e:T},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},fr:sa,coef:ia,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},zi:{min:-1,1:1,2:2,3:3,4:4,5:5,max:10},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},usz:{a:"auto",no:0,min:Ar,max:Nr,fit:zr},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},csz:{cv:"cover",cn:"contain",a:Ot,f:zt,sd:ps},box:{c:ds,p:ms,b:bs,f:us,s:gs,v:_s,nc:ys,t:$},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},z:{s:.8,m:1,l:1.2},pers:{s:10,m:15,l:20},ali:{s:J,e:T,c:G,st:"stretch",sb:vi,sa:$i,se:xi,b:"baseline",fs:yi,fe:_i,no:St},dis:{g:Cs,ig:wi,f:Vs,if:Is,b:W,i:K},ca:ia,co:ia,ra:ia,ro:ia,fd:{r:Es,rr:di,c:k,cr:ui},fb:sa,fo:ia,fg:ia,fs:ia,fw:{w:Q,nw:U,wr:gi},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lb:{a:Ot,any:"anywhere",n:_t,l:"loose",s:"strict"},ls:{no:St,dt:"dotted",i:gr,h:Ht,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},ov:{h:Ht,s:It,a:Ot,c:Pt,e:"ellipsis"},v:{h:Ht,v:"visible",c:"collapse",a:Ot},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},ttf:{l:Gt,e:sr,ei:ir,eo:nr,eio:rr,ss:lr,se:ar},tp:{col:f(ht,pl,Ve,Nn),icon:f(zt,At),flt:f(ol,ll),ind:f(Mt,Rt),sz:f(at,Er,Kr,gt,Wr,Vr),esz:f(Ir,Pr,qr,Tr,Mr,Rr),o:yt,b:jt,f:Vs,g:Cs,pos:f(kt,st,tt,rt,ot),tf:f(dt,cr,$t,hr,"skew",pr)},tb:{ad:"allow-discrete",n:_t},aic:{inf:"infinite",1:1,2:2,3:3,4:4,5:5},wc:{a:Ot,sp:il,c:N,tf:dt,o:yt,i:gr,tfi:f(dt,gr)},afm:{no:St,f:"forwards",b:"backwards",both:Tt},adir:{r:Nt,a:Yi,ar:tr},aps:{r:"running",p:"paused"},pe:{a:Ot,no:St,all:ut,f:zt,s:At},cur:{h:"help",a:Ot,p:zo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:$,vt:Po,cp:"copy",m:"move",g:qo,gng:Io,cr:Ro,rr:To,nr:Bo,er:Jo,sr:Lo,wr:Go,ner:Ho,ewr:Zo,nwr:Do,ser:Fo,swr:Qo,nsr:Uo,neswr:Xo,nwser:Yo,zi:tl,zo:el},res:{n:St,v:v,h:y,b:Tt},toa:{a:Ot,no:St,px:No,pl:Co,pr:Eo,py:Ko,pu:"pan-up",pd:Wo,pz:Vo,m:"manipulation"},us:{n:St,t:$,all:ut,a:Ot},sb:{a:Ot,s:"smooth"},sss:{n:_t,a:"always"},sst:{n:St,x:"x",y:"y",b:W,i:K,both:Tt,xm:_n,ym:yn,bm:vn,im:$n,bothm:xn,xp:jn,yp:kn,bp:Sn,ip:On,bothp:zn},pos:{r:"relative",a:"absolute",f:Et,s:"static"},posv:{b:rt,t:tt,c:G,l:st,r:ot,lt:mr,rt:br,lb:dr,rb:ur},cf:{a:Ot,b:"balance"},cs:{no:St,all:ut},mc:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mt:{a:Wt,l:Vt},mm:{a:Wt,l:Vt,m:"match-source"},bgbm:{n:_t,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Lt+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ht,lum:"luminosity",cd:Nl,cb:Cl,hl:El,sl:Kl},bga:{s:It,f:Et,l:"local"},cnt:{n:_t,s:V,is:Mr}},na={a:Pi,an:Ii,adur:Bi,adel:Ji,aps:Li,afm:Gi,adir:Ri,aic:Ti,atf:Mi,tn:Hi,tdur:Ui,tdel:Xi,tb:Di,tp:Fi,ttf:Qi,ba:xo,bb:wo,bor:jt,bw:de,br:Se,bs:He,bls:Ze,brs:De,bts:Fe,bbs:Qe,bbls:Ue,bis:Xe,bbss:Ye,bbes:ts,biss:es,bies:ss,brw:_e,blw:ge,btw:ye,bbw:ue,btlr:Ae,btrr:Ne,bbrr:ze,bblr:Oe,biw:$e,bblw:ve,bbew:we,bbsw:xe,bisw:je,biew:ke,besr:We,beer:Ke,bssr:Ee,bser:Ce,bc:Ve,blc:Pe,brc:qe,btc:Ie,bbc:Me,bblc:Re,bic:Te,bbsc:Be,bbec:Je,bisc:Le,biec:Ge,bg:al,bgi:hl,bgc:pl,c:ht,cmix:Wl,csh:re,acc:nl,ctc:rl,st:At,stw:Sl,sto:Ol,fi:zt,fir:zl,fio:Al,flt:ol,bf:ll,dis:"display",g:Cs,jc:Ls,ji:Gs,ai:Hs,pi:qs,ac:Zs,gt:Fs,gtr:Qs,gtc:Us,gp:Ks,rg:Xs,cg:Ys,as:Ds,js:ti,gr:ei,gre:si,grs:ii,gc:ri,gce:ni,gcs:oi,fx:Vs,fxd:Bs,fxw:Js,fxs:Ts,fxg:Rs,fxb:Ms,ord:"order",dir:q,m:Rt,ml:Os,mr:As,mt:zs,mb:Ns,p:Mt,pl:ws,pr:ks,pt:js,pb:Ss,out:I,oc:is,ow:rs,os:ns,oo:os,l:st,r:ot,t:tt,b:rt,ins:gr,ib:xr,ibe:wr,ibs:jr,ii:kr,iie:Sr,iis:Or,wc:"will-change",app:"appearance",pe:sl,cur:"cursor",toa:"touch-action",us:"user-select",res:Mo,lis:te,lisp:se,lisi:ie,list:ee,sb:Br,ssa:mn,sss:bn,sst:dn,sm:Jr,sml:Hr,smr:Zr,smt:Lr,smb:Gr,sp:tn,spl:rn,spr:nn,spt:en,spb:sn,smbl:Dr,smbe:Fr,smbs:Qr,smi:Ur,smie:Xr,smis:Yr,spbl:on,spbe:ln,spbs:an,spi:cn,spie:hn,spis:pn,osb:un,ar:"aspect-ratio",w:at,maxw:Er,minw:Kr,h:gt,minh:Vr,maxh:Wr,bl:Pr,maxb:qr,minb:Ir,i:Mr,mini:Tr,maxi:Rr,per:pr,pero:fr,rot:hr,sc:$t,tf:dt,tfb:yr,tfo:vr,tfs:$r,tr:cr,z:qt,lts:"letter-spacing",lh:ho,lb:po,f:w,fst:Yn,ff:Xn,fwg:Un,fsz:Qn,fsn:to,fv:eo,fva:so,fvc:io,fvea:oo,fvl:lo,fvn:ro,fvs:ao,fvp:no,tt:Vn,td:An,tdt:Cn,tds:En,tdl:Kn,ta:Pn,to:In,trg:Rn,ts:Tn,te:Bn,tep:Ln,tec:Jn,tes:Gn,tw:Hn,twm:Zn,tws:Dn,va:qn,ws:Wn,tor:Mn,wb:Fn,wm:co,hyp:"hyphens",bsz:Cr,bsh:fs,pos:kt,cf:ai,crs:pi,crc:hi,crw:fi,cs:mi,cw:bi,cc:li,bgcl:fl,bgp:bl,bgpx:dl,bgpy:ul,bgbm:yl,bgo:ml,bgr:gl,bga:vl,bgsz:_l,mcl:ki,mcm:Si,mm:Oi,mo:zi,mp:Ai,mre:Ni,msz:Ci,mtp:Ei,obf:cs,obp:hs,con:A,ov:ft,ovx:ls,ovy:as,v:vt,cv:kl,o:yt,zi:"z-index",lgr:xl,rgr:wl,cgr:jl,inf:"infinite",cnt:Il,cnn:Ml,$:":root",$u:"*",$h:":hover",$f:":focus",$fv:":focus-visible",$a:":active",$v:":visited",$val:":valid",$inv:":invalid",$e:":empty",$d:":disabled",$r:":required",$o:":optional",$m:":modal",$l:":link",$fc:Rl+Jl,$lc:Tl+Jl,$oc:Bl+Jl,$1:Gl+"(odd)",$2:Gl+"(even)",$ft:Rl+Ll,$lt:Tl+Ll,$ot:Bl+Ll,$bef:Yl,$aft:Xl,$bd:"::backdrop",$ba:`&${Yl},&${Xl}`,$pl:":placeholder",$light:Dl+`(${Zl}: light)`,$dark:Dl+`(${Zl}: dark)`,$red_m:Dl+"(prefers-reduced-motion: reduce)",$ori_l:Dl+`(${Ft}: landscape)`,$ori_p:Dl+`(${Ft}: portrait)`,$gam_srgb:Dl+`(${Fl}: srgb)`,$gam_p3:Dl+`(${Fl}: p3)`,$gam_rec:Dl+`(${Fl}: rec2020)`,$con_no:Dl+`(${Ql}: no-preference)`,$con_m:Dl+`(${Ql}: more)`,$con_l:Dl+`(${Ql}: less)`,$con_c:Dl+`(${Ql}: custom)`,$scr_no:Dl+`(${Ul}: none)`,$scr_ini:Dl+`(${Ul}: initial-only)`,$scr_en:Dl+`(${Ul}: enabled)`},oa={xs:30+m,sm:40+m,md:48+m,lg:64+m,xl:80+m},la={xs:10+m,sm:20+m,md:30+m,lg:40+m,xl:48+m},aa={$c:"{u.inh}",$fsz:"16px",$ff:"{ff.def}",$$u:{$c:"{u.inh}",$fsz:"16px",$ff:"{ff.def}"}},ca={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}}},ha="{1}rem",pa="{1}deg",fa="span {1}",ma={fb:"calc(100% * {1})",ra:fa,ca:fa,sz:ha,sp:ha,rad:ha,th:ha,bp:ha,cbp:ha,fsz:ha,lsp:ha,tr:ha,pers:ha,sk:pa,rot:pa,time:"{1}ms"},ba="style-provider",da=t=>"object"==typeof t;class ua{constructor(t){this._counter=0,this._keys=new Set,this._configs=new Map,this.use=(t,e)=>{const s=this._configs.get(t);if(s)return s;const i=e||this._prefix+this._counter.toString(36);return this._keys.add(i),this._configs.set(t,i),this._counter++,i},this.getKey=t=>this._configs.get(t),this.getKeys=()=>[...this._keys],this.getConfigs=()=>Object.fromEntries(this._configs.entries().map((([t,e])=>[e,t]))),this._prefix=(null==t?void 0:t.prefix)||"eff",t.initContent&&Object.entries(t.initContent).forEach((([t,e])=>this.use(e,t))),t.hydrate&&(this._counter=0)}}const ga=globalThis.document,_a=t=>"application/json"===(null==t?void 0:t.getAttribute("type"));!function(t={}){const{name:e=ba,styles:s={},settings:i={}}=t,r=globalThis.customElements;!(null==r?void 0:r.get(e))&&r.define(e,class extends HTMLElement{get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")||"a"}get isolated(){return null!==this.getAttribute("isolated")}get hydrate(){return null!==this.getAttribute("hydrate")}get _settingsSelector(){return"#"+(this.getAttribute("settingsid")||"effcss")}get _initSelector(){return"."+(this.getAttribute("initcls")||"effcss_init")}get settingsContent(){const t=null==ga?void 0:ga.querySelector(this._settingsSelector);let e;return e=_a(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):t?null==t?void 0:t.effcss:i,e||{}}get initContent(){const t=ga.querySelectorAll(this._initSelector);let e=s||{};return t.forEach((t=>{let s;s=_a(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):null==t?void 0:t.effcss,e=Object.assign(Object.assign({},e),s||{})})),e}constructor(){super(),this._setState=()=>{const{units:t,keys:s,sets:i,mediaBP:r=oa,containerBP:n=la,rootStyle:o=aa,themes:l=ca}=this.settingsContent,a=Object.assign(Object.assign({},ma),t||{}),c=Object.assign(Object.assign({},na),s||{}),h=Object.assign({},ra);i&&Object.entries(i).forEach((([t,e])=>h[t]=Object.assign({},e)));const p=Object.entries(l);if(a)for(const t in a)h[t]=h[t]&&Object.fromEntries(Object.entries(h[t]).map((([e,s])=>[e,a[t].replace("{1}",""+s)])));r&&Object.entries(r).forEach((([t,e])=>{c[`min_${t}_`]=`@media (min-width:${e})`,c[`max_${t}_`]=`@media (max-width:${e})`})),n&&Object.entries(n).forEach((([t,e])=>{c[`cmin_${t}_`]=`@container (min-width:${e})`,c[`cmax_${t}_`]=`@container (max-width:${e})`}));const f={},m={};l&&h&&p.forEach((([t,e])=>{const s={};Object.entries(e).forEach((([t,e])=>{Object.entries(e).forEach((([e,i])=>{const r=this._resolver.varName(t,e);a[t]?s[r]=a[t].replace("{1}",""+i):s[r]=i,f[r]||(f[r]=h[t][e],h[t][e]=`var(${r})`)}))})),m[t]=s})),this._dict={sets:h,keys:c},this._mainConfig={c:Object.assign(Object.assign({[e]:{display:"contents"},_theme:m,$$:Object.assign(f,o)},(null==m?void 0:m.dark)?{$dark_:{$$:m.dark}}:{}),(null==m?void 0:m.light)?{$light_:{$$:m.light}}:{})}},this.use=(t,e)=>{let s=this._collector.use(t,e);return this._manager&&!this._manager.has(e)&&this._manager.pack(s,this.css(t,s)),this.resolve(s)},this.usePublic=t=>Object.fromEntries(Object.entries(t).map((([t,e])=>[t,this.use(e,t)]))),this.usePrivate=t=>t.map((t=>this.use(t))),this.css=(t,e)=>{var s;return null===(s=this._processor)||void 0===s?void 0:s.compile(e,t)},this.on=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.on(e):void 0},this.off=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.off(e):void 0},this.get=(t=this._mainConfig)=>{let e;return e="object"==typeof t?this._collector.getKey(t):t,this._manager.get(e)},this.getMany=(t=this._collector.getKeys())=>t.map((t=>this.get(t))),this.resolve=t=>this._resolver.attr(t||this._collector.getKey(this._mainConfig))}connectedCallback(){this._resolver=(t=>{const{mode:e}=t,s=t=>Object.entries(t).reduce(((t,[e,s])=>(void 0!==s&&t.push(e+(s?"-"+s:"")),t)),[]).join(" "),i=(t,e)=>Object.defineProperties({[t]:e},{k:{value:t},v:{value:e}}),r=(...t)=>"--"+t.join("-"),n=(...t)=>t.join("-");return"c"===e?{selector:({b:t,e:e,m:s,mv:i})=>`.${t}${(e?"__"+e:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")}`,attr:t=>e=>r=>{let n=r||"";da(n)&&(n=s(n));const o=t+(e?"__"+e:"");return n=o+(n?" "+(null==n?void 0:n.split(" ").map((t=>o+"_"+t.split("-").join("_"))).join(" ")):""),i("class",n)},varName:r,kfName:n}:{selector:({b:t,e:e,m:s,mv:i})=>`[data-${t}${e?"-"+e:""}${s?'~="'+(s||"")+(i?"-"+i:"")+'"':""}]`,attr:t=>e=>r=>{const n=`data-${t}${e?"-"+e:""}`;let o=r||"";return da(o)&&(o=s(o)),i(n,o)},varName:r,kfName:n}})({mode:this.mode}),this._setState();const t=this.initContent,e=this.prefix;var s;this._collector=(s={hydrate:this.hydrate,prefix:e,initContent:t},new ua(s)),this._processor=function(t){return new h(t)}({sets:this._dict.sets,keys:this._dict.keys,resolver:this._resolver}),this._manager=new p,this.use(this._mainConfig),this.usePublic(t),ga&&!this.isolated&&this._manager.registerNode(ga)}})}();
7
+ const t=Object.entries,e=(e,s,i)=>t(e).reduce(s,i),s=t=>"object"==typeof t,i=t=>`{${t}}`,r=Object.assign.bind(Object),n=(t,e)=>`${t}:${e};`,o=(t,e)=>["@property",t,i(n("syntax",e.syn||'"*"')+n("inherits",e.inh||!1)+(e.ini?n("initial-value",e.ini):""))].join(" "),l=t=>`var(${t})`,a=({l:t,c:e,h:s,a:i=1})=>`oklch(${t} ${e} ${s} / ${i})`,c=["l","c","h","a"];class h{constructor(h){this._outerKeys={},this._outerSets={},this._parseSelector=t=>{let e,s,i,r,n;return[e,n]=t.split(":"),e.startsWith("__")?[s,i,r]=e.slice(2).split("_"):[s,i,r]=e.split("_"),{e:s,m:i,mv:r,s:n}},this._prepareVarName=(...t)=>this._resolver.varName(...t),this._prepareKeyframesName=(...t)=>this._resolver.kfName(...t),this.compile=(h,p)=>{const{_:f,kf:m,k:b={},v:d={},c:u}=p,g=this._resolver.selector.bind(this),_=this._parseSelector;let y=r({},u),v=r({},b),$=r({_:{}},d),x="";if(f)for(let t in f){const e=f[t];if("c"===e.typ){const s={};c.forEach((i=>{const r=t+i,n=this._prepareVarName(h,r);s[i]=n,v["_"+r]=s[i],x+=o(n,e)})),$._[t]=a({l:l(s.l),c:l(s.c),h:l(s.h),a:l(s.a)}),e.all&&(y["_"+t+"l"]=`&lig=>${this._prepareVarName(h,t+"l")}:{1}`,y["_"+t+"c"]=`&chr=>${this._prepareVarName(h,t+"c")}:{1}`,y["_"+t+"h"]=`&hue=>${this._prepareVarName(h,t+"h")}:{1}`,y["_"+t+"a"]=`&alp=>${this._prepareVarName(h,t+"a")}:{1}`)}else{const s=this._prepareVarName(h,t);v["_"+t]=s,$._[t]=l(s),x+=o(s,e)}}const w=t=>v[t]||this._outerKeys[t],j=t=>{var e;return $[t]||this._outerSets[t]||(null===(e=this._outerSets)||void 0===e?void 0:e.root[t])},k=t=>t.replaceAll(/\{(.+?)\}/g,((t,e)=>{const[s,i]=e.split(".");if(i){const t=j(s);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+(w(s)||"")})),S=e=>{const s=e.split("?");let i;for(let e in s){const r=s[e],[n,o]=r.split("=>"),l=n.match(/(\w+)(\[[\w,]+\])?/);if(!l)continue;const[a,c,h]=l,p=j(c);if(!p)continue;i=p;let f=t(i);const m=null==h?void 0:h.slice(1,-1).split(",");if(m){const t=new Set(m);f=f.filter((([e,s])=>t.has(e)))}if(o){let[t,e]=o.split("|");void 0===e&&(e=t,t=""),f=f.map((([s,i])=>[t.replace("{0}",s)||s,k(e.replaceAll("{1}",""+i))]))}(m||o)&&(i=Object.fromEntries(f));break}return i};function O(t,r,o){var l,a,c,p;let f=""+t;if((null===(l=null==t?void 0:t.startsWith)||void 0===l?void 0:l.call(t,"$"))&&(f=""+w(t.slice(1)),!f))return"";if(Array.isArray(r))return O(f,Object.assign({},...r.map((t=>"string"==typeof t?S(t):t))),o);if(null==r)return"";if(s(r)){const t=!o||(null===(a=o.startsWith)||void 0===a?void 0:a.call(o,"@"))||f.startsWith("&")||f.startsWith("@")?"":"&";if(f.startsWith("_")){const{e:n,m:o,mv:l}=_(f);return o&&"string"!=typeof l?e(r,((r,[l,a])=>{let c;return c=s(a)?e(a,((t,e)=>t+O(...e,f)),""):a+";",r+t+g({b:h,e:n,m:o,mv:l})+i(c)}),""):t+g({b:h,e:n,m:o,mv:l})+i(e(r,((t,e)=>t+O(...e,f)),""))}return t+f+i(e(r,((t,e)=>t+O(...e,f)),""))}{let t=""+r;return(null===(c=null==t?void 0:t.startsWith)||void 0===c?void 0:c.call(t,"&"))?O(f,S(t.slice(1)),o):(null===(p=null==t?void 0:t.includes)||void 0===p?void 0:p.call(t,"{"))?O(f,k(t),o):n(f.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let z="";if(m)for(let t in m){const s=m[t],r=this._prepareKeyframesName(h,t);v["kf_"+t]=r,z+=`@keyframes ${r} `+i(e(s,((t,[s,r])=>t+s+(String(+s)===s?"%":"")+i(e(r,((t,e)=>t+O(...e)),""))),""))}return x+z+e(y,((t,e)=>t+O(...e)),"")};const{sets:p,keys:f,resolver:m}=h;this._resolver=m,f&&(this._outerKeys=f),p&&(this._outerSets=p)}}class p{constructor(){this._stylesheets={},this._rules={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.has=t=>!!t&&!!this.get(t),this.getAll=()=>this._stylesheets,this.add=(t,e)=>{if(!this._stylesheets[t])return this._stylesheets[t]=e,this._styleSheetsArray.push(e),this.notify(),!0},this.on=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;return-1===this._styleSheetsArray.findIndex((t=>t===e))?(this._styleSheetsArray.push(e),this.notify(),!0):void 0},this.off=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return-1!==s?(this._styleSheetsArray.splice(s,1),this.notify(),!0):void 0},this.remove=t=>{const e=this.get(t);if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[t],delete this._rules[t]),this.notify(),!0},this.pack=(t,e,s)=>{const i=new CSSStyleSheet;if(i.replaceSync(e),i.cssRules.length)return this.add(t,i);console.log(`StyleSheet '${t}' is empty`)},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const e=this._listeners.findIndex((e=>e.deref()===t));e>=0&&this._listeners.splice(e,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,e)=>{const s=e.deref();return s&&(this.apply(s),t.push(e)),t}),[])}}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this.notify(),!0}}const f=(...t)=>t.join(","),m="rem",b="-",d=" ",u="-x",g="-y",_="down",y="horizontal",v="vertical",$="text",x=$+b,w="font",j=w+b,k="column",S=k+b,O="max-",z="min-",A="content",N=A+"s",C="-items",E="self",K="inline",W="block",V="size",P="-radius",q="direction",I="outline",M="style",R=b+M,T="end",B=b+T,J="start",L=b+J,G="center",H="word",Z="line",D="break",F=D+b,Q="wrap",U="no"+Q,X="rule",Y="object",tt="top",et=b+tt,st="left",it=b+st,rt="bottom",nt=b+rt,ot="right",lt=b+ot,at="width",ct=b+at,ht="color",pt=b+ht,ft="overflow",mt="align",bt="type",dt="transform",ut="all",gt="height",_t="normal",yt="opacity",vt="visibility",$t="scale",xt="box",wt=b+xt,jt="border",kt="position",St="none",Ot="auto",zt="fill",At="stroke",Nt="reverse",Ct="space",Et="fixed",Kt="origin",Wt="alpha",Vt="luminance",Pt="clip",qt="zoom",It="scroll",Mt="padding",Rt="margin",Tt="both",Bt="mode",Jt="repeat",Lt="light",Gt="linear",Ht="hidden",Zt="shadow",Dt="behavior",Ft="orientation",Qt="name",Ut="after",Xt="before",Yt="image",te="list"+R,ee=te+b+bt,se=te+b+kt,ie=te+b+Yt,re=ht+"-scheme",ne=jt+nt,oe=jt+it,le=jt+lt,ae=jt+et,ce=jt+b+W,he=jt+b+K,pe=ce+L,fe=ce+B,me=he+L,be=he+B,de=jt+ct,ue=ne+ct,ge=oe+ct,_e=le+ct,ye=ae+ct,ve=ce+ct,$e=he+ct,xe=pe+ct,we=fe+ct,je=me+ct,ke=be+ct,Se=jt+P,Oe=ne+it+P,ze=ne+lt+P,Ae=ae+it+P,Ne=ae+lt+P,Ce=jt+L+B+P,Ee=jt+L+L+P,Ke=jt+B+B+P,We=jt+B+L+P,Ve=jt+pt,Pe=oe+pt,qe=le+pt,Ie=ae+pt,Me=ne+pt,Re=ce+pt,Te=he+pt,Be=pe+pt,Je=fe+pt,Le=me+pt,Ge=be+pt,He=jt+R,Ze=oe+R,De=le+R,Fe=ae+R,Qe=ne+R,Ue=ce+R,Xe=he+R,Ye=pe+R,ts=fe+R,es=me+R,ss=be+R,is=I+pt,rs=I+ct,ns=I+R,os=I+b+"offset",ls=ft+u,as=ft+g,cs=Y+b+"fit",hs=Y+b+kt,ps=$t+b+_,fs=xt+b+Zt,ms=Mt+wt,bs=jt+wt,ds=A+wt,us=zt+wt,gs=At+wt,_s="view"+wt,ys="no-"+Pt,vs=Jt+u,$s=Jt+g,xs="no-"+Jt,ws=Mt+it,js=Mt+et,ks=Mt+lt,Ss=Mt+nt,Os=Rt+it,zs=Rt+et,As=Rt+lt,Ns=Rt+nt,Cs="grid",Es="row",Ks="gap",Ws="justify",Vs="flex",Ps=Vs+b,qs="place"+C,Is=K+b+Vs,Ms=Ps+"basis",Rs=Ps+"grow",Ts=Ps+"shrink",Bs=Ps+q,Js=Ps+Q,Ls=Ws+b+A,Gs=Ws+C,Hs=mt+C,Zs=mt+b+A,Ds=mt+b+E,Fs=Cs+b+"template",Qs=Fs+b+Es+"s",Us=Fs+b+k+"s",Xs=Es+b+Ks,Ys=S+Ks,ti=Ws+b+E,ei=Cs+b+Es,si=ei+B,ii=ei+L,ri=Cs+b+k,ni=ri+B,oi=ri+L,li=S+"count",ai=S+zt,ci=S+X,hi=ci+pt,pi=ci+R,fi=ci+ct,mi=S+"span",bi=k+ct,di=Es+b+Nt,ui=S+Nt,gi=Q+b+Nt,_i=Vs+B,yi=Vs+L,vi=Ct+"-between",$i=Ct+"-around",xi=Ct+"-evenly",wi=K+b+Cs,ji="mask-",ki=ji+Pt,Si=ji+"composite",Oi=ji+Bt,zi=ji+Kt,Ai=ji+kt,Ni=ji+Jt,Ci=ji+V,Ei=ji+bt,Ki="timing-function",Wi="delay",Vi="duration",Pi="animation",qi=Pi+b,Ii=qi+Qt,Mi=qi+Ki,Ri=qi+q,Ti=qi+"iteration-count",Bi=qi+Vi,Ji=qi+Wi,Li=qi+"play-state",Gi=qi+zt+b+Bt,Hi="transition",Zi=Hi+b,Di=Zi+Dt,Fi=Zi+"property",Qi=Zi+Ki,Ui=Zi+Vi,Xi=Zi+Wi,Yi="alternate",tr=Yi+b+Nt,er="-out",sr="ease",ir=sr+"-in",rr=ir+er,nr=sr+er,or="step",lr=or+L,ar=or+B,cr="translate",hr="rotate",pr="perspective",fr=pr+b+Kt,mr=st+d+tt,br=ot+d+tt,dr=st+d+rt,ur=ot+d+rt,gr="inset",_r=gr+b,yr=dt+wt,vr=dt+b+Kt,$r=dt+R,xr=_r+W,wr=xr+B,jr=xr+L,kr=_r+K,Sr=kr+B,Or=kr+L,zr="fit-"+A,Ar=z+A,Nr=O+A,Cr=xt+"-sizing",Er=O+at,Kr=z+at,Wr=O+gt,Vr=z+gt,Pr=W+b+V,qr=O+Pr,Ir=z+Pr,Mr=K+b+V,Rr=O+Mr,Tr=z+Mr,Br=It+b+Dt,Jr=It+b+Rt,Lr=Jr+et,Gr=Jr+nt,Hr=Jr+it,Zr=Jr+lt,Dr=Jr+b+W,Fr=Dr+B,Qr=Dr+L,Ur=Jr+b+K,Xr=Ur+B,Yr=Ur+L,tn=It+b+Mt,en=tn+et,sn=tn+nt,rn=tn+it,nn=tn+lt,on=tn+b+W,ln=on+B,an=on+L,cn=tn+b+K,hn=cn+B,pn=cn+L,fn=It+b+"snap",mn=fn+b+mt,bn=fn+b+"stop",dn=fn+b+bt,un="over"+Br,gn=" mandatory",_n="x"+gn,yn="y"+gn,vn=W+gn,$n=K+gn,xn=Tt+gn,wn=" proximity",jn="x"+wn,kn="y"+wn,Sn=W+wn,On=K+wn,zn=Tt+wn,An=x+"decoration",Nn=An+b+ht,Cn=An+b+"thickness",En=An+b+M,Kn=An+b+Z,Wn="white-"+Ct,Vn=x+dt,Pn=x+mt,qn=v+b+mt,In=x+ft,Mn=x+Ft,Rn=x+"rendering",Tn=x+Zt,Bn=x+"emphasis",Jn=Bn+pt,Ln=Bn+b+kt,Gn=Bn+R,Hn=x+Q,Zn=Hn+b+Bt,Dn=Hn+R,Fn=H+b+D,Qn=j+V,Un=j+"weight",Xn=j+"family",Yn=j+M,to=j+"synthesis",eo=j+"variant",so=eo+b+Yi+"s",io=eo+"-caps",ro=eo+"-numeric",no=eo+b+kt,oo=eo+"-east-asian",lo=eo+"-ligatures",ao=eo+"-settings",co="writing-"+Bt,ho=Z+b+gt,po=Z+b+D,fo=Z+"-through",mo="over"+Z,bo="under"+Z,uo="pre",go=uo+b+Z,_o=uo+b+Q,yo=F+Ct+"s",vo=F+ut,$o=F+H,xo=F+Ut,wo=F+Xt,jo=y+"-tb",ko=v+"-lr",So=v+"-rl",Oo="keep-"+ut,zo="pointer",Ao="pan",No=Ao+u,Co=Ao+it,Eo=Ao+lt,Ko=Ao+g,Wo=Ao+b+_,Vo="pinch-"+qt,Po=v+b+$,qo="grab",Io=qo+"bing",Mo="resize",Ro="col-"+Mo,To="row-"+Mo,Bo="n-"+Mo,Jo="e-"+Mo,Lo="s-"+Mo,Go="w-"+Mo,Ho="ne-"+Mo,Zo="ew-"+Mo,Do="nw-"+Mo,Fo="se-"+Mo,Qo="sw-"+Mo,Uo="ns-"+Mo,Xo="nesw-"+Mo,Yo="nwse-"+Mo,tl=qt+b+"in",el=qt+b+"out",sl=zo+"-events",il=It+b+kt,rl="caret"+pt,nl="accent"+pt,ol="filter",ll="backdrop-"+ol,al="background",cl=al+b,hl=cl+Yt,pl=cl+ht,fl=cl+Pt,ml=cl+Kt,bl=cl+kt,dl=bl+u,ul=bl+g,gl=cl+Jt,_l=cl+V,yl=cl+"blend-"+Bt,vl=cl+"attachment",$l="gradient",xl=Gt+b+$l,wl="radial-"+$l,jl="conic-"+$l,kl=A+b+vt,Sl=At+ct,Ol=At+b+yt,zl=zt+b+X,Al=zt+b+yt,Nl=ht+"-dodge",Cl=ht+"-burn",El="hard-"+Lt,Kl="soft-"+Lt,Wl=ht+"-mix",Vl="revert",Pl=Vl+"-layer",ql="container",Il=ql+b+bt,Ml=ql+b+Qt,Rl=":first-",Tl=":last-",Bl=":only-",Jl="child",Ll="of-type",Gl=":nth-child",Hl="prefers-",Zl=Hl+re,Dl="@media",Fl=ht+"-gamut",Ql=Hl+"contrast",Ul="scripting",Xl="::"+Ut,Yl="::"+Xt,ta="sideways",ea=ta+lt,sa={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"},ia=[...Array(12).keys()].reduce(((t,e)=>(t[e]=e,t)),{}),ra={u:{ini:"initial",inh:"inherit",u:"unset",r:Vl,rl:Pl},rep:{rx:vs,ry:$s,r:Jt,s:Ct,ro:"round",nr:xs},lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},cu:{c:"currentColor",t:"transparent"},ff:{def:"Roboto, sans-serif",h:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},fst:{i:"italic",n:_t,o:"oblique"},lsp:{no:0,s:.05,m:.1,l:.2},ws:{n:_t,nw:U,p:uo,pl:go,pw:_o,bs:yo},wb:{n:_t,ba:vo,ka:Oo,bw:$o},wm:{htb:jo,vlr:ko,vrl:So},hyp:{no:St,m:"manual",a:Ot},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:fo,o:mo,u:bo},tor:{m:"mixed",u:"upright",sr:ea,s:ta,ugo:"use-glyph-"+Ft},ta:{l:st,c:G,j:Ws,r:ot,s:J,e:T},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},fr:sa,coef:ia,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},zi:{min:-1,1:1,2:2,3:3,4:4,5:5,max:10},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},usz:{a:"auto",no:0,min:Ar,max:Nr,fit:zr},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},csz:{cv:"cover",cn:"contain",a:Ot,f:zt,sd:ps},box:{c:ds,p:ms,b:bs,f:us,s:gs,v:_s,nc:ys,t:$},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},z:{s:.8,m:1,l:1.2},pers:{s:10,m:15,l:20},ali:{s:J,e:T,c:G,st:"stretch",sb:vi,sa:$i,se:xi,b:"baseline",fs:yi,fe:_i,no:St},dis:{g:Cs,ig:wi,f:Vs,if:Is,b:W,i:K},ca:ia,co:ia,ra:ia,ro:ia,fd:{r:Es,rr:di,c:k,cr:ui},fb:sa,fo:ia,fg:ia,fs:ia,fw:{w:Q,nw:U,wr:gi},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lb:{a:Ot,any:"anywhere",n:_t,l:"loose",s:"strict"},ls:{no:St,dt:"dotted",i:gr,h:Ht,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},ov:{h:Ht,s:It,a:Ot,c:Pt,e:"ellipsis"},v:{h:Ht,v:"visible",c:"collapse",a:Ot},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},ttf:{l:Gt,e:sr,ei:ir,eo:nr,eio:rr,ss:lr,se:ar},tp:{col:f(ht,pl,Ve,Nn),icon:f(zt,At),flt:f(ol,ll),ind:f(Mt,Rt),sz:f(at,Er,Kr,gt,Wr,Vr),esz:f(Ir,Pr,qr,Tr,Mr,Rr),o:yt,b:jt,f:Vs,g:Cs,pos:f(kt,st,tt,rt,ot),tf:f(dt,cr,$t,hr,"skew",pr)},tb:{ad:"allow-discrete",n:_t},aic:{inf:"infinite",1:1,2:2,3:3,4:4,5:5},wc:{a:Ot,sp:il,c:N,tf:dt,o:yt,i:gr,tfi:f(dt,gr)},afm:{no:St,f:"forwards",b:"backwards",both:Tt},adir:{r:Nt,a:Yi,ar:tr},aps:{r:"running",p:"paused"},pe:{a:Ot,no:St,all:ut,f:zt,s:At},cur:{h:"help",a:Ot,p:zo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:$,vt:Po,cp:"copy",m:"move",g:qo,gng:Io,cr:Ro,rr:To,nr:Bo,er:Jo,sr:Lo,wr:Go,ner:Ho,ewr:Zo,nwr:Do,ser:Fo,swr:Qo,nsr:Uo,neswr:Xo,nwser:Yo,zi:tl,zo:el},res:{n:St,v:v,h:y,b:Tt},toa:{a:Ot,no:St,px:No,pl:Co,pr:Eo,py:Ko,pu:"pan-up",pd:Wo,pz:Vo,m:"manipulation"},us:{n:St,t:$,all:ut,a:Ot},sb:{a:Ot,s:"smooth"},sss:{n:_t,a:"always"},sst:{n:St,x:"x",y:"y",b:W,i:K,both:Tt,xm:_n,ym:yn,bm:vn,im:$n,bothm:xn,xp:jn,yp:kn,bp:Sn,ip:On,bothp:zn},pos:{r:"relative",a:"absolute",f:Et,s:"static"},posv:{b:rt,t:tt,c:G,l:st,r:ot,lt:mr,rt:br,lb:dr,rb:ur},cf:{a:Ot,b:"balance"},cs:{no:St,all:ut},mc:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mt:{a:Wt,l:Vt},mm:{a:Wt,l:Vt,m:"match-source"},bgbm:{n:_t,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Lt+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ht,lum:"luminosity",cd:Nl,cb:Cl,hl:El,sl:Kl},bga:{s:It,f:Et,l:"local"},cnt:{n:_t,s:V,is:Mr}},na={a:Pi,an:Ii,adur:Bi,adel:Ji,aps:Li,afm:Gi,adir:Ri,aic:Ti,atf:Mi,tn:Hi,tdur:Ui,tdel:Xi,tb:Di,tp:Fi,ttf:Qi,ba:xo,bb:wo,bor:jt,bw:de,br:Se,bs:He,bls:Ze,brs:De,bts:Fe,bbs:Qe,bbls:Ue,bis:Xe,bbss:Ye,bbes:ts,biss:es,bies:ss,brw:_e,blw:ge,btw:ye,bbw:ue,btlr:Ae,btrr:Ne,bbrr:ze,bblr:Oe,biw:$e,bblw:ve,bbew:we,bbsw:xe,bisw:je,biew:ke,besr:We,beer:Ke,bssr:Ee,bser:Ce,bc:Ve,blc:Pe,brc:qe,btc:Ie,bbc:Me,bblc:Re,bic:Te,bbsc:Be,bbec:Je,bisc:Le,biec:Ge,bg:al,bgi:hl,bgc:pl,c:ht,cmix:Wl,csh:re,acc:nl,ctc:rl,st:At,stw:Sl,sto:Ol,fi:zt,fir:zl,fio:Al,flt:ol,bf:ll,dis:"display",g:Cs,jc:Ls,ji:Gs,ai:Hs,pi:qs,ac:Zs,gt:Fs,gtr:Qs,gtc:Us,gp:Ks,rg:Xs,cg:Ys,as:Ds,js:ti,gr:ei,gre:si,grs:ii,gc:ri,gce:ni,gcs:oi,fx:Vs,fxd:Bs,fxw:Js,fxs:Ts,fxg:Rs,fxb:Ms,ord:"order",dir:q,m:Rt,ml:Os,mr:As,mt:zs,mb:Ns,p:Mt,pl:ws,pr:ks,pt:js,pb:Ss,out:I,oc:is,ow:rs,os:ns,oo:os,l:st,r:ot,t:tt,b:rt,ins:gr,ib:xr,ibe:wr,ibs:jr,ii:kr,iie:Sr,iis:Or,wc:"will-change",app:"appearance",pe:sl,cur:"cursor",toa:"touch-action",us:"user-select",res:Mo,lis:te,lisp:se,lisi:ie,list:ee,sb:Br,ssa:mn,sss:bn,sst:dn,sm:Jr,sml:Hr,smr:Zr,smt:Lr,smb:Gr,sp:tn,spl:rn,spr:nn,spt:en,spb:sn,smbl:Dr,smbe:Fr,smbs:Qr,smi:Ur,smie:Xr,smis:Yr,spbl:on,spbe:ln,spbs:an,spi:cn,spie:hn,spis:pn,osb:un,ar:"aspect-ratio",w:at,maxw:Er,minw:Kr,h:gt,minh:Vr,maxh:Wr,bl:Pr,maxb:qr,minb:Ir,i:Mr,mini:Tr,maxi:Rr,per:pr,pero:fr,rot:hr,sc:$t,tf:dt,tfb:yr,tfo:vr,tfs:$r,tr:cr,z:qt,lts:"letter-spacing",lh:ho,lb:po,f:w,fst:Yn,ff:Xn,fwg:Un,fsz:Qn,fsn:to,fv:eo,fva:so,fvc:io,fvea:oo,fvl:lo,fvn:ro,fvs:ao,fvp:no,tt:Vn,td:An,tdt:Cn,tds:En,tdl:Kn,ta:Pn,to:In,trg:Rn,ts:Tn,te:Bn,tep:Ln,tec:Jn,tes:Gn,tw:Hn,twm:Zn,tws:Dn,va:qn,ws:Wn,tor:Mn,wb:Fn,wm:co,hyp:"hyphens",bsz:Cr,bsh:fs,pos:kt,cf:ai,crs:pi,crc:hi,crw:fi,cs:mi,cw:bi,cc:li,bgcl:fl,bgp:bl,bgpx:dl,bgpy:ul,bgbm:yl,bgo:ml,bgr:gl,bga:vl,bgsz:_l,mcl:ki,mcm:Si,mm:Oi,mo:zi,mp:Ai,mre:Ni,msz:Ci,mtp:Ei,obf:cs,obp:hs,con:A,ov:ft,ovx:ls,ovy:as,v:vt,cv:kl,o:yt,zi:"z-index",lgr:xl,rgr:wl,cgr:jl,inf:"infinite",cnt:Il,cnn:Ml,$:":root",$u:"*",$h:":hover",$f:":focus",$fv:":focus-visible",$a:":active",$v:":visited",$val:":valid",$inv:":invalid",$e:":empty",$d:":disabled",$r:":required",$o:":optional",$m:":modal",$l:":link",$fc:Rl+Jl,$lc:Tl+Jl,$oc:Bl+Jl,$1:Gl+"(odd)",$2:Gl+"(even)",$ft:Rl+Ll,$lt:Tl+Ll,$ot:Bl+Ll,$bef:Yl,$aft:Xl,$bd:"::backdrop",$ba:`&${Yl},&${Xl}`,$pl:":placeholder",$light:Dl+`(${Zl}: light)`,$dark:Dl+`(${Zl}: dark)`,$red_m:Dl+"(prefers-reduced-motion: reduce)",$ori_l:Dl+`(${Ft}: landscape)`,$ori_p:Dl+`(${Ft}: portrait)`,$gam_srgb:Dl+`(${Fl}: srgb)`,$gam_p3:Dl+`(${Fl}: p3)`,$gam_rec:Dl+`(${Fl}: rec2020)`,$con_no:Dl+`(${Ql}: no-preference)`,$con_m:Dl+`(${Ql}: more)`,$con_l:Dl+`(${Ql}: less)`,$con_c:Dl+`(${Ql}: custom)`,$scr_no:Dl+`(${Ul}: none)`,$scr_ini:Dl+`(${Ul}: initial-only)`,$scr_en:Dl+`(${Ul}: enabled)`},oa={xs:30+m,sm:40+m,md:48+m,lg:64+m,xl:80+m},la={xs:10+m,sm:20+m,md:30+m,lg:40+m,xl:48+m},aa={$c:"{u.inh}",$fsz:"16px",$ff:"{ff.def}",$$u:{$c:"{u.inh}",$fsz:"16px",$ff:"{ff.def}"}},ca={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}}},ha="{1}rem",pa="{1}deg",fa="span {1}",ma={fb:"calc(100% * {1})",ra:fa,ca:fa,sz:ha,sp:ha,rad:ha,th:ha,bp:ha,cbp:ha,fsz:ha,lsp:ha,tr:ha,pers:ha,sk:pa,rot:pa,time:"{1}ms"},ba="style-provider",da=t=>"object"==typeof t;class ua{constructor(t){this._counter=0,this._keys=new Set,this._configs=new Map,this.use=(t,e)=>{const s=this._configs.get(t);if(s)return s;const i=e||this._prefix+this._counter.toString(36);return this._keys.add(i),this._configs.set(t,i),this._counter++,i},this.getKey=t=>this._configs.get(t),this.getKeys=()=>[...this._keys],this.getConfigs=()=>Object.fromEntries(this._configs.entries().map((([t,e])=>[e,t]))),this._prefix=(null==t?void 0:t.prefix)||"eff",t.initContent&&Object.entries(t.initContent).forEach((([t,e])=>this.use(e,t))),t.hydrate&&(this._counter=0)}}const ga=globalThis.document,_a=t=>"application/json"===(null==t?void 0:t.getAttribute("type"));!function(t={}){const{name:e=ba,styles:s={},settings:i={}}=t,r=globalThis.customElements;!(null==r?void 0:r.get(e))&&r.define(e,class extends HTMLElement{get prefix(){return this.getAttribute("prefix")||"eff"}get mode(){return this.getAttribute("mode")||"a"}get isolated(){return null!==this.getAttribute("isolated")}get hydrate(){return null!==this.getAttribute("hydrate")}get _settingsSelector(){return"#"+(this.getAttribute("settingsid")||"effcss")}get _initSelector(){return"."+(this.getAttribute("initcls")||"effcss_init")}get settingsContent(){const t=null==ga?void 0:ga.querySelector(this._settingsSelector);let e;return e=_a(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):t?null==t?void 0:t.effcss:i,e||{}}get initContent(){const t=ga.querySelectorAll(this._initSelector);let e=s||{};return t.forEach((t=>{let s;s=_a(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):null==t?void 0:t.effcss,e=Object.assign(Object.assign({},e),s||{})})),e}constructor(){super(),this._setState=()=>{const{units:t,keys:s,sets:i,mediaBP:r=oa,containerBP:n=la,rootStyle:o=aa,themes:l=ca}=this.settingsContent,a=Object.assign(Object.assign({},ma),t||{}),c=Object.assign(Object.assign({},na),s||{}),h=Object.assign({},ra);i&&Object.entries(i).forEach((([t,e])=>h[t]=Object.assign({},e)));const p=Object.entries(l);if(a)for(const t in a)h[t]=h[t]&&Object.fromEntries(Object.entries(h[t]).map((([e,s])=>[e,a[t].replace("{1}",""+s)])));r&&Object.entries(r).forEach((([t,e])=>{c[`min_${t}_`]=`@media (min-width:${e})`,c[`max_${t}_`]=`@media (max-width:${e})`})),n&&Object.entries(n).forEach((([t,e])=>{c[`cmin_${t}_`]=`@container (min-width:${e})`,c[`cmax_${t}_`]=`@container (max-width:${e})`}));const f={},m={};l&&h&&p.forEach((([t,e])=>{const s={};Object.entries(e).forEach((([t,e])=>{Object.entries(e).forEach((([e,i])=>{const r=this._resolver.varName(t,e);a[t]?s[r]=a[t].replace("{1}",""+i):s[r]=i,f[r]||(f[r]=h[t][e],h[t][e]=`var(${r})`)}))})),m[t]=s})),this._dict={sets:h,keys:c},this._mainConfig={c:Object.assign(Object.assign({[e]:{display:"contents"},_theme:m,$$:Object.assign(f,o)},(null==m?void 0:m.dark)?{$$dark:{$$:m.dark}}:{}),(null==m?void 0:m.light)?{$$light:{$$:m.light}}:{})}},this.use=(t,e)=>{let s=this._collector.use(t,e);return this._manager&&!this._manager.has(e)&&this._manager.pack(s,this.css(t,s)),this.resolve(s)},this.usePublic=t=>Object.fromEntries(Object.entries(t).map((([t,e])=>[t,this.use(e,t)]))),this.usePrivate=t=>t.map((t=>this.use(t))),this.css=(t,e)=>{var s;return null===(s=this._processor)||void 0===s?void 0:s.compile(e,t)},this.on=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.on(e):void 0},this.off=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.off(e):void 0},this.get=(t=this._mainConfig)=>{let e;return e="object"==typeof t?this._collector.getKey(t):t,this._manager.get(e)},this.getMany=(t=this._collector.getKeys())=>t.map((t=>this.get(t))),this.resolve=t=>this._resolver.attr(t||this._collector.getKey(this._mainConfig))}connectedCallback(){this._resolver=(t=>{const{mode:e}=t,s=t=>Object.entries(t).reduce(((t,[e,s])=>(void 0!==s&&t.push(e+(s?"-"+s:"")),t)),[]).join(" "),i=(t,e)=>Object.defineProperties({[t]:e},{k:{value:t},v:{value:e}}),r=(...t)=>"--"+t.join("-"),n=(...t)=>t.join("-");return"c"===e?{selector:({b:t,e:e,m:s,mv:i})=>`.${t}${(e?"__"+e:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")}`,attr:t=>e=>r=>{let n=r||"";da(n)&&(n=s(n));const o=t+(e?"__"+e:"");return n=o+(n?" "+(null==n?void 0:n.split(" ").map((t=>o+"_"+t.split("-").join("_"))).join(" ")):""),i("class",n)},varName:r,kfName:n}:{selector:({b:t,e:e,m:s,mv:i})=>`[data-${t}${e?"-"+e:""}${s?'~="'+(s||"")+(i?"-"+i:"")+'"':""}]`,attr:t=>e=>r=>{const n=`data-${t}${e?"-"+e:""}`;let o=r||"";return da(o)&&(o=s(o)),i(n,o)},varName:r,kfName:n}})({mode:this.mode}),this._setState();const t=this.initContent,e=this.prefix;var s;this._collector=(s={hydrate:this.hydrate,prefix:e,initContent:t},new ua(s)),this._processor=function(t){return new h(t)}({sets:this._dict.sets,keys:this._dict.keys,resolver:this._resolver}),this._manager=new p,this.use(this._mainConfig),this.usePublic(t),ga&&!this.isolated&&this._manager.registerNode(ga)}})}();
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{PREFIX as t,SETTINGS_SCRIPT_ID as e,STYLES_SCRIPT_CLS as s,units as i,keys as r,sets as n,PROVIDER_TAG_NAME as l,mediaBP as o,containerBP as h,rootStyle as a,themes as c}from"./constants.js";import{createResolver as u,createCollector as _}from"./utils/common.js";const d=Object.entries,p=(t,e,s)=>d(t).reduce(e,s),f=t=>"object"==typeof t,y=t=>`{${t}}`,g=Object.assign.bind(Object),m=(t,e)=>`${t}:${e};`,v=(t,e)=>["@property",t,y(m("syntax",e.syn||'"*"')+m("inherits",e.inh||!1)+(e.ini?m("initial-value",e.ini):""))].join(" "),b=t=>`var(${t})`,S=({l:t,c:e,h:s,a:i=1})=>`oklch(${t} ${e} ${s} / ${i})`,j=["l","c","h","a"];class ${constructor(t){this._outerKeys={},this._outerSets={},this._parseSelector=t=>{let e,s,i,r,n;return[e,n]=t.split(":"),e.startsWith("__")?[s,i,r]=e.slice(2).split("_"):[s,i,r]=e.split("_"),{e:s,m:i,mv:r,s:n}},this._prepareVarName=(...t)=>this._resolver.varName(...t),this._prepareKeyframesName=(...t)=>this._resolver.kfName(...t),this.compile=(t,e)=>{const{_:s,kf:i,k:r={},v:n={},c:l}=e,o=this._resolver.selector.bind(this),h=this._parseSelector;let a=g({},l),c=g({},r),u=g({_:{}},n),_="";if(s)for(let e in s){const i=s[e];if("c"===i.typ){const s={};j.forEach((r=>{const n=e+r,l=this._prepareVarName(t,n);s[r]=l,c["_"+n]=s[r],_+=v(l,i)})),u._[e]=S({l:b(s.l),c:b(s.c),h:b(s.h),a:b(s.a)}),i.all&&(a["_"+e+"l"]=`&lig=>${this._prepareVarName(t,e+"l")}:{1}`,a["_"+e+"c"]=`&chr=>${this._prepareVarName(t,e+"c")}:{1}`,a["_"+e+"h"]=`&hue=>${this._prepareVarName(t,e+"h")}:{1}`,a["_"+e+"a"]=`&alp=>${this._prepareVarName(t,e+"a")}:{1}`)}else{const s=this._prepareVarName(t,e);c["_"+e]=s,u._[e]=b(s),_+=v(s,i)}}const $=t=>c[t]||this._outerKeys[t],O=t=>{var e;return u[t]||this._outerSets[t]||(null===(e=this._outerSets)||void 0===e?void 0:e.root[t])},A=t=>t.replaceAll(/\{(.+?)\}/g,((t,e)=>{const[s,i]=e.split(".");if(i){const t=O(s);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+($(s)||"")})),k=t=>{const e=t.split("?");let s;for(let t in e){const i=e[t],[r,n]=i.split("=>"),l=r.match(/(\w+)(\[[\w,]+\])?/);if(!l)continue;const[o,h,a]=l,c=O(h);if(!c)continue;s=c;let u=d(s);const _=null==a?void 0:a.slice(1,-1).split(",");if(_){const t=new Set(_);u=u.filter((([e,s])=>t.has(e)))}if(n){let[t,e]=n.split("|");void 0===e&&(e=t,t=""),u=u.map((([s,i])=>[t.replace("{0}",s)||s,A(e.replaceAll("{1}",""+i))]))}(_||n)&&(s=Object.fromEntries(u));break}return s};function x(e,s,i){var r,n,l,a;let c=""+e;if((null===(r=null==e?void 0:e.startsWith)||void 0===r?void 0:r.call(e,"$"))&&(c=""+$(e.slice(1)),!c))return"";if(Array.isArray(s))return x(c,Object.assign({},...s.map((t=>"string"==typeof t?k(t):t))),i);if(null==s)return"";if(f(s)){const e=!i||(null===(n=i.startsWith)||void 0===n?void 0:n.call(i,"@"))||c.startsWith("&")||c.startsWith("@")?"":"&";if(c.startsWith("_")){const{e:i,m:r,mv:n}=h(c);return r&&"string"!=typeof n?p(s,((s,[n,l])=>{let h;return h=f(l)?p(l,((t,e)=>t+x(...e,c)),""):l+";",s+e+o({b:t,e:i,m:r,mv:n})+y(h)}),""):e+o({b:t,e:i,m:r,mv:n})+y(p(s,((t,e)=>t+x(...e,c)),""))}return e+c+y(p(s,((t,e)=>t+x(...e,c)),""))}{let t=""+s;return(null===(l=null==t?void 0:t.startsWith)||void 0===l?void 0:l.call(t,"&"))?x(c,k(t.slice(1)),i):(null===(a=null==t?void 0:t.includes)||void 0===a?void 0:a.call(t,"{"))?x(c,A(t),i):m(c.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let N="";if(i)for(let e in i){const s=i[e],r=this._prepareKeyframesName(t,e);c["kf_"+e]=r,N+=`@keyframes ${r} `+y(p(s,((t,[e,s])=>t+e+(String(+e)===e?"%":"")+y(p(s,((t,e)=>t+x(...e)),""))),""))}return _+N+p(a,((t,e)=>t+x(...e)),"")};const{sets:e,keys:s,resolver:i}=t;this._resolver=i,s&&(this._outerKeys=s),e&&(this._outerSets=e)}}class O{constructor(){this._stylesheets={},this._rules={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.has=t=>!!t&&!!this.get(t),this.getAll=()=>this._stylesheets,this.add=(t,e)=>{if(!this._stylesheets[t])return this._stylesheets[t]=e,this._styleSheetsArray.push(e),this.notify(),!0},this.on=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;return-1===this._styleSheetsArray.findIndex((t=>t===e))?(this._styleSheetsArray.push(e),this.notify(),!0):void 0},this.off=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return-1!==s?(this._styleSheetsArray.splice(s,1),this.notify(),!0):void 0},this.remove=t=>{const e=this.get(t);if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[t],delete this._rules[t]),this.notify(),!0},this.pack=(t,e,s)=>{const i=new CSSStyleSheet;if(i.replaceSync(e),i.cssRules.length)return this.add(t,i);console.log(`StyleSheet '${t}' is empty`)},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const e=this._listeners.findIndex((e=>e.deref()===t));e>=0&&this._listeners.splice(e,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,e)=>{const s=e.deref();return s&&(this.apply(s),t.push(e)),t}),[])}}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this.notify(),!0}}const A=globalThis.document,k=t=>"application/json"===(null==t?void 0:t.getAttribute("type"));function x(d={}){const{name:p=l,styles:f={},settings:y={}}=d,g=globalThis.customElements;return!(null==g?void 0:g.get(p))&&(g.define(p,class extends HTMLElement{get prefix(){return this.getAttribute("prefix")||t}get mode(){return this.getAttribute("mode")||"a"}get isolated(){return null!==this.getAttribute("isolated")}get hydrate(){return null!==this.getAttribute("hydrate")}get _settingsSelector(){return"#"+(this.getAttribute("settingsid")||e)}get _initSelector(){return"."+(this.getAttribute("initcls")||s)}get settingsContent(){const t=null==A?void 0:A.querySelector(this._settingsSelector);let e;return e=k(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):t?null==t?void 0:t.effcss:y,e||{}}get initContent(){const t=A.querySelectorAll(this._initSelector);let e=f||{};return t.forEach((t=>{let s;s=k(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):null==t?void 0:t.effcss,e=Object.assign(Object.assign({},e),s||{})})),e}constructor(){super(),this._setState=()=>{const{units:t,keys:e,sets:s,mediaBP:l=o,containerBP:u=h,rootStyle:_=a,themes:d=c}=this.settingsContent,f=Object.assign(Object.assign({},i),t||{}),y=Object.assign(Object.assign({},r),e||{}),g=Object.assign({},n);s&&Object.entries(s).forEach((([t,e])=>g[t]=Object.assign({},e)));const m=Object.entries(d);if(f)for(const t in f)g[t]=g[t]&&Object.fromEntries(Object.entries(g[t]).map((([e,s])=>[e,f[t].replace("{1}",""+s)])));l&&Object.entries(l).forEach((([t,e])=>{y[`min_${t}_`]=`@media (min-width:${e})`,y[`max_${t}_`]=`@media (max-width:${e})`})),u&&Object.entries(u).forEach((([t,e])=>{y[`cmin_${t}_`]=`@container (min-width:${e})`,y[`cmax_${t}_`]=`@container (max-width:${e})`}));const v={},b={};d&&g&&m.forEach((([t,e])=>{const s={};Object.entries(e).forEach((([t,e])=>{Object.entries(e).forEach((([e,i])=>{const r=this._resolver.varName(t,e);f[t]?s[r]=f[t].replace("{1}",""+i):s[r]=i,v[r]||(v[r]=g[t][e],g[t][e]=`var(${r})`)}))})),b[t]=s})),this._dict={sets:g,keys:y},this._mainConfig={c:Object.assign(Object.assign({[p]:{display:"contents"},_theme:b,$$:Object.assign(v,_)},(null==b?void 0:b.dark)?{$dark_:{$$:b.dark}}:{}),(null==b?void 0:b.light)?{$light_:{$$:b.light}}:{})}},this.use=(t,e)=>{let s=this._collector.use(t,e);return this._manager&&!this._manager.has(e)&&this._manager.pack(s,this.css(t,s)),this.resolve(s)},this.usePublic=t=>Object.fromEntries(Object.entries(t).map((([t,e])=>[t,this.use(e,t)]))),this.usePrivate=t=>t.map((t=>this.use(t))),this.css=(t,e)=>{var s;return null===(s=this._processor)||void 0===s?void 0:s.compile(e,t)},this.on=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.on(e):void 0},this.off=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.off(e):void 0},this.get=(t=this._mainConfig)=>{let e;return e="object"==typeof t?this._collector.getKey(t):t,this._manager.get(e)},this.getMany=(t=this._collector.getKeys())=>t.map((t=>this.get(t))),this.resolve=t=>this._resolver.attr(t||this._collector.getKey(this._mainConfig))}connectedCallback(){this._resolver=u({mode:this.mode}),this._setState();const t=this.initContent,e=this.prefix;var s;this._collector=_({hydrate:this.hydrate,prefix:e,initContent:t}),this._processor=(s={sets:this._dict.sets,keys:this._dict.keys,resolver:this._resolver},new $(s)),this._manager=new O,this.use(this._mainConfig),this.usePublic(t),A&&!this.isolated&&this._manager.registerNode(A)}}),!0)}export{x as defineProvider};
1
+ import{PREFIX as t,SETTINGS_SCRIPT_ID as e,STYLES_SCRIPT_CLS as s,units as i,keys as r,sets as n,PROVIDER_TAG_NAME as l,mediaBP as o,containerBP as h,rootStyle as a,themes as c}from"./constants.js";import{createResolver as u,createCollector as _}from"./utils/common.js";const d=Object.entries,p=(t,e,s)=>d(t).reduce(e,s),f=t=>"object"==typeof t,y=t=>`{${t}}`,g=Object.assign.bind(Object),m=(t,e)=>`${t}:${e};`,v=(t,e)=>["@property",t,y(m("syntax",e.syn||'"*"')+m("inherits",e.inh||!1)+(e.ini?m("initial-value",e.ini):""))].join(" "),b=t=>`var(${t})`,S=({l:t,c:e,h:s,a:i=1})=>`oklch(${t} ${e} ${s} / ${i})`,$=["l","c","h","a"];class j{constructor(t){this._outerKeys={},this._outerSets={},this._parseSelector=t=>{let e,s,i,r,n;return[e,n]=t.split(":"),e.startsWith("__")?[s,i,r]=e.slice(2).split("_"):[s,i,r]=e.split("_"),{e:s,m:i,mv:r,s:n}},this._prepareVarName=(...t)=>this._resolver.varName(...t),this._prepareKeyframesName=(...t)=>this._resolver.kfName(...t),this.compile=(t,e)=>{const{_:s,kf:i,k:r={},v:n={},c:l}=e,o=this._resolver.selector.bind(this),h=this._parseSelector;let a=g({},l),c=g({},r),u=g({_:{}},n),_="";if(s)for(let e in s){const i=s[e];if("c"===i.typ){const s={};$.forEach((r=>{const n=e+r,l=this._prepareVarName(t,n);s[r]=l,c["_"+n]=s[r],_+=v(l,i)})),u._[e]=S({l:b(s.l),c:b(s.c),h:b(s.h),a:b(s.a)}),i.all&&(a["_"+e+"l"]=`&lig=>${this._prepareVarName(t,e+"l")}:{1}`,a["_"+e+"c"]=`&chr=>${this._prepareVarName(t,e+"c")}:{1}`,a["_"+e+"h"]=`&hue=>${this._prepareVarName(t,e+"h")}:{1}`,a["_"+e+"a"]=`&alp=>${this._prepareVarName(t,e+"a")}:{1}`)}else{const s=this._prepareVarName(t,e);c["_"+e]=s,u._[e]=b(s),_+=v(s,i)}}const j=t=>c[t]||this._outerKeys[t],O=t=>{var e;return u[t]||this._outerSets[t]||(null===(e=this._outerSets)||void 0===e?void 0:e.root[t])},A=t=>t.replaceAll(/\{(.+?)\}/g,((t,e)=>{const[s,i]=e.split(".");if(i){const t=O(s);return""+((null==t?void 0:t[i])||(null==t?void 0:t.def)||"")}return""+(j(s)||"")})),k=t=>{const e=t.split("?");let s;for(let t in e){const i=e[t],[r,n]=i.split("=>"),l=r.match(/(\w+)(\[[\w,]+\])?/);if(!l)continue;const[o,h,a]=l,c=O(h);if(!c)continue;s=c;let u=d(s);const _=null==a?void 0:a.slice(1,-1).split(",");if(_){const t=new Set(_);u=u.filter((([e,s])=>t.has(e)))}if(n){let[t,e]=n.split("|");void 0===e&&(e=t,t=""),u=u.map((([s,i])=>[t.replace("{0}",s)||s,A(e.replaceAll("{1}",""+i))]))}(_||n)&&(s=Object.fromEntries(u));break}return s};function x(e,s,i){var r,n,l,a;let c=""+e;if((null===(r=null==e?void 0:e.startsWith)||void 0===r?void 0:r.call(e,"$"))&&(c=""+j(e.slice(1)),!c))return"";if(Array.isArray(s))return x(c,Object.assign({},...s.map((t=>"string"==typeof t?k(t):t))),i);if(null==s)return"";if(f(s)){const e=!i||(null===(n=i.startsWith)||void 0===n?void 0:n.call(i,"@"))||c.startsWith("&")||c.startsWith("@")?"":"&";if(c.startsWith("_")){const{e:i,m:r,mv:n}=h(c);return r&&"string"!=typeof n?p(s,((s,[n,l])=>{let h;return h=f(l)?p(l,((t,e)=>t+x(...e,c)),""):l+";",s+e+o({b:t,e:i,m:r,mv:n})+y(h)}),""):e+o({b:t,e:i,m:r,mv:n})+y(p(s,((t,e)=>t+x(...e,c)),""))}return e+c+y(p(s,((t,e)=>t+x(...e,c)),""))}{let t=""+s;return(null===(l=null==t?void 0:t.startsWith)||void 0===l?void 0:l.call(t,"&"))?x(c,k(t.slice(1)),i):(null===(a=null==t?void 0:t.includes)||void 0===a?void 0:a.call(t,"{"))?x(c,A(t),i):m(c.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase())),t)}}let N="";if(i)for(let e in i){const s=i[e],r=this._prepareKeyframesName(t,e);c["kf_"+e]=r,N+=`@keyframes ${r} `+y(p(s,((t,[e,s])=>t+e+(String(+e)===e?"%":"")+y(p(s,((t,e)=>t+x(...e)),""))),""))}return _+N+p(a,((t,e)=>t+x(...e)),"")};const{sets:e,keys:s,resolver:i}=t;this._resolver=i,s&&(this._outerKeys=s),e&&(this._outerSets=e)}}class O{constructor(){this._stylesheets={},this._rules={},this._styleSheetsArray=[],this._listeners=[],this.get=t=>this._stylesheets[t],this.has=t=>!!t&&!!this.get(t),this.getAll=()=>this._stylesheets,this.add=(t,e)=>{if(!this._stylesheets[t])return this._stylesheets[t]=e,this._styleSheetsArray.push(e),this.notify(),!0},this.on=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;return-1===this._styleSheetsArray.findIndex((t=>t===e))?(this._styleSheetsArray.push(e),this.notify(),!0):void 0},this.off=t=>{if(!t)return;const e=this._stylesheets[t];if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return-1!==s?(this._styleSheetsArray.splice(s,1),this.notify(),!0):void 0},this.remove=t=>{const e=this.get(t);if(!e)return;const s=this._styleSheetsArray.findIndex((t=>t===e));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[t],delete this._rules[t]),this.notify(),!0},this.pack=(t,e,s)=>{const i=new CSSStyleSheet;if(i.replaceSync(e),i.cssRules.length)return this.add(t,i);console.log(`StyleSheet '${t}' is empty`)},this.apply=t=>{t.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=t=>{this._listeners.push(new WeakRef(t)),this.apply(t)},this.unregisterNode=t=>{const e=this._listeners.findIndex((e=>e.deref()===t));e>=0&&this._listeners.splice(e,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((t,e)=>{const s=e.deref();return s&&(this.apply(s),t.push(e)),t}),[])}}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this.notify(),!0}}const A=globalThis.document,k=t=>"application/json"===(null==t?void 0:t.getAttribute("type"));function x(d={}){const{name:p=l,styles:f={},settings:y={}}=d,g=globalThis.customElements;return!(null==g?void 0:g.get(p))&&(g.define(p,class extends HTMLElement{get prefix(){return this.getAttribute("prefix")||t}get mode(){return this.getAttribute("mode")||"a"}get isolated(){return null!==this.getAttribute("isolated")}get hydrate(){return null!==this.getAttribute("hydrate")}get _settingsSelector(){return"#"+(this.getAttribute("settingsid")||e)}get _initSelector(){return"."+(this.getAttribute("initcls")||s)}get settingsContent(){const t=null==A?void 0:A.querySelector(this._settingsSelector);let e;return e=k(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):t?null==t?void 0:t.effcss:y,e||{}}get initContent(){const t=A.querySelectorAll(this._initSelector);let e=f||{};return t.forEach((t=>{let s;s=k(t)?(null==t?void 0:t.textContent)&&JSON.parse(null==t?void 0:t.textContent):null==t?void 0:t.effcss,e=Object.assign(Object.assign({},e),s||{})})),e}constructor(){super(),this._setState=()=>{const{units:t,keys:e,sets:s,mediaBP:l=o,containerBP:u=h,rootStyle:_=a,themes:d=c}=this.settingsContent,f=Object.assign(Object.assign({},i),t||{}),y=Object.assign(Object.assign({},r),e||{}),g=Object.assign({},n);s&&Object.entries(s).forEach((([t,e])=>g[t]=Object.assign({},e)));const m=Object.entries(d);if(f)for(const t in f)g[t]=g[t]&&Object.fromEntries(Object.entries(g[t]).map((([e,s])=>[e,f[t].replace("{1}",""+s)])));l&&Object.entries(l).forEach((([t,e])=>{y[`min_${t}_`]=`@media (min-width:${e})`,y[`max_${t}_`]=`@media (max-width:${e})`})),u&&Object.entries(u).forEach((([t,e])=>{y[`cmin_${t}_`]=`@container (min-width:${e})`,y[`cmax_${t}_`]=`@container (max-width:${e})`}));const v={},b={};d&&g&&m.forEach((([t,e])=>{const s={};Object.entries(e).forEach((([t,e])=>{Object.entries(e).forEach((([e,i])=>{const r=this._resolver.varName(t,e);f[t]?s[r]=f[t].replace("{1}",""+i):s[r]=i,v[r]||(v[r]=g[t][e],g[t][e]=`var(${r})`)}))})),b[t]=s})),this._dict={sets:g,keys:y},this._mainConfig={c:Object.assign(Object.assign({[p]:{display:"contents"},_theme:b,$$:Object.assign(v,_)},(null==b?void 0:b.dark)?{$$dark:{$$:b.dark}}:{}),(null==b?void 0:b.light)?{$$light:{$$:b.light}}:{})}},this.use=(t,e)=>{let s=this._collector.use(t,e);return this._manager&&!this._manager.has(e)&&this._manager.pack(s,this.css(t,s)),this.resolve(s)},this.usePublic=t=>Object.fromEntries(Object.entries(t).map((([t,e])=>[t,this.use(e,t)]))),this.usePrivate=t=>t.map((t=>this.use(t))),this.css=(t,e)=>{var s;return null===(s=this._processor)||void 0===s?void 0:s.compile(e,t)},this.on=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.on(e):void 0},this.off=t=>{let e;return e="string"==typeof t?t:this._collector.getKey(t),e?this._manager.off(e):void 0},this.get=(t=this._mainConfig)=>{let e;return e="object"==typeof t?this._collector.getKey(t):t,this._manager.get(e)},this.getMany=(t=this._collector.getKeys())=>t.map((t=>this.get(t))),this.resolve=t=>this._resolver.attr(t||this._collector.getKey(this._mainConfig))}connectedCallback(){this._resolver=u({mode:this.mode}),this._setState();const t=this.initContent,e=this.prefix;var s;this._collector=_({hydrate:this.hydrate,prefix:e,initContent:t}),this._processor=(s={sets:this._dict.sets,keys:this._dict.keys,resolver:this._resolver},new j(s)),this._manager=new O,this.use(this._mainConfig),this.usePublic(t),A&&!this.isolated&&this._manager.registerNode(A)}}),!0)}export{x as defineProvider};
package/logo.svg ADDED
@@ -0,0 +1,305 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ width="156.82864mm"
6
+ height="156.82864mm"
7
+ viewBox="0 0 156.82864 156.82864"
8
+ version="1.1"
9
+ id="svg1"
10
+ xmlns:xlink="http://www.w3.org/1999/xlink"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ xmlns:svg="http://www.w3.org/2000/svg">
13
+ <defs
14
+ id="defs1">
15
+ <linearGradient
16
+ id="linearGradient31">
17
+ <stop
18
+ style="stop-color:#ffffff;stop-opacity:0.04901961;"
19
+ offset="0.05"
20
+ id="stop32" />
21
+ <stop
22
+ style="stop-color:#ffffff;stop-opacity:0.1254902;"
23
+ offset="0.17392966"
24
+ id="stop37" />
25
+ <stop
26
+ style="stop-color:#ffffff;stop-opacity:1;"
27
+ offset="0.28868502"
28
+ id="stop34" />
29
+ <stop
30
+ style="stop-color:#fcfcff;stop-opacity:0.31568629;"
31
+ offset="0.46070334"
32
+ id="stop35" />
33
+ <stop
34
+ style="stop-color:#ffffff;stop-opacity:0.40196079;"
35
+ offset="0.54999995"
36
+ id="stop38" />
37
+ <stop
38
+ style="stop-color:#ffffff;stop-opacity:1;"
39
+ offset="0.65917426"
40
+ id="stop36" />
41
+ <stop
42
+ style="stop-color:#52adc8;stop-opacity:0;"
43
+ offset="1"
44
+ id="stop33" />
45
+ </linearGradient>
46
+ <linearGradient
47
+ xlink:href="#linearGradient31"
48
+ id="linearGradient36"
49
+ x1="20.44602"
50
+ y1="137.19595"
51
+ x2="83.477043"
52
+ y2="107.80411"
53
+ gradientUnits="userSpaceOnUse"
54
+ spreadMethod="repeat"
55
+ gradientTransform="translate(-1.2886539e-5,-0.21269458)" />
56
+ </defs>
57
+ <style>
58
+ @keyframes g25{
59
+ from {
60
+ transform: translate(41.136204px,26.249998px);
61
+ }
62
+ 25% {
63
+ transform: translate(48.136204px,30.249998px);
64
+ }
65
+ 50% {
66
+ transform: translate(48.136204px,30.249998px);
67
+ }
68
+ 75% {
69
+ transform: translate(41.136204px,26.249998px);
70
+ }
71
+ to {
72
+ transform: translate(41.136204px,26.249998px);
73
+ }
74
+ }
75
+ #g25{
76
+ animation: 4s cubic-bezier(0.43, 0.02, 0.37, 0.98) infinite g25;
77
+ }
78
+ @keyframes g9{
79
+ from {
80
+ transform: translate(2.1650625px,3.75001px);
81
+ }
82
+ 25% {
83
+ transform: translate(9.1650625px,7.75001px);
84
+ }
85
+ 50% {
86
+ transform: translate(9.1650625px,7.75001px);
87
+ }
88
+ 75% {
89
+ transform: translate(2.1650625px,3.75001px);
90
+ }
91
+ to {
92
+ transform: translate(2.1650625px,3.75001px);
93
+ }
94
+ }
95
+ #g9{
96
+ animation: 4s cubic-bezier(0.43, 0.02, 0.37, 0.98) infinite g9;
97
+ }
98
+ </style>
99
+ <g
100
+ id="layer1"
101
+ transform="translate(-0.39399708,-30.165016)">
102
+ <rect
103
+ style="fill:#008080;fill-opacity:0.5;stroke-width:0.264999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:2"
104
+ id="rect3"
105
+ width="156.82863"
106
+ height="156.82863"
107
+ x="-14.196144"
108
+ y="-33.661045"
109
+ transform="translate(14.590141,63.82606)" />
110
+ <g
111
+ id="g7">
112
+ <g
113
+ id="g45"
114
+ transform="translate(-0.132245,-0.36775)">
115
+ <path
116
+ style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
117
+ d="m 14.854677,93.867759 2.598076,1.5 v 4.999991 l -2.598076,-1.500001 z"
118
+ id="path38-2" />
119
+ <path
120
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
121
+ d="m 14.854677,93.867759 2.598076,1.5 51.023324,-29.45834 -2.74242,-1.58332 z"
122
+ id="path43-7" />
123
+ <path
124
+ style="fill:#1a1a1a;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
125
+ d="m 69.414277,72.367759 -2.59808,-1.50001 -1.73205,-1.99999 1.73205,1 z"
126
+ id="path45-9" />
127
+ <path
128
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
129
+ d="m 68.548247,65.867759 2.59808,5.5 -1.73205,1 -2.59808,-2.5 -4.33013,2.5 -45.033314,27.999991 v -4.999991 z"
130
+ id="path44-5" />
131
+ <path
132
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
133
+ d="m 14.722432,93.500009 2.598076,1.5 v 4.999988 l -2.598076,-1.499998 z"
134
+ id="path38-23-1"
135
+ transform="translate(0.132245,0.36775)" />
136
+ </g>
137
+ <path
138
+ style="display:inline;fill:#000000;fill-opacity:0.394198;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
139
+ d="m 53.676485,116.95478 c 0.620305,-0.25373 1.464976,-0.11884 2.615166,0.54522 4.33013,2.49999 4.330126,2.5 4.330126,7.5 0,5.00001 0,10 4.330128,12.5 L 86.602537,150 c 4.330128,2.5 4.330128,-2.5 4.330128,-2.5 v -14.99999 c 0,-5 -4.330128,-7.50001 -4.330128,-7.50001 L 25.980762,90.000002 c -4.330127,-2.5 -4.330127,2.500001 -4.330127,2.500001 v 15.509517 c 0,4.49049 4.330127,6.99049 4.330127,6.99049 l 21.650635,12.5 c 0,0 4.330125,2.5 4.330125,-2.50001 0,-3.67187 2e-6,-7.34374 1.714963,-8.04522 M 86.602537,150 c 4.330128,2.5 4.330128,-2.5 4.330128,-2.5 v -14.99999 c 0,-5 -4.330128,-7.50001 -4.330128,-7.50001 L 25.980762,89.999999 C 21.650635,87.499999 21.650635,92.5 21.650635,92.5 v 15.50952 c 0,4.49049 4.330127,6.99049 4.330127,6.99049 l 21.650635,12.5 c 0,0 4.330125,2.5 4.330125,-2.50001 0,-5 3e-6,-9.99999 4.330129,-7.5 4.330126,2.5 4.330126,2.5 4.330126,7.5 0,5.00001 10e-7,10 4.330128,12.5 L 86.602537,150"
140
+ id="path8-3" />
141
+ <path
142
+ style="display:inline;fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
143
+ d="m 21.650634,92.499996 -1e-6,15.000014 c 0,0 1e-6,4.99999 4.330128,7.49999 4.330128,2.5 21.650633,12.49999 21.650633,12.49999 0,0 0.180899,2.12475 -1.174088,2.89893 -1.354987,0.77418 -3.466187,-0.55606 -3.156037,-0.39892 0.310149,0.15713 -21.650635,-12.5 -21.650635,-12.5 0,0 -4.330127,-2.5 -4.330127,-7.5 0,-5 0,-10.000003 0,-15.000003 0,-5.000001 4.330127,-2.500001 4.330127,-2.500001 z"
144
+ id="path10" />
145
+ <path
146
+ id="path13"
147
+ style="fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
148
+ d="m 56.291651,117.5 c 4.330126,2.5 4.330126,2.5 4.330126,7.5 0,5.00001 10e-7,10 4.76314,12.75 L 86.602538,150 h -10e-7 m 2e-6,0 c 0,0 0,5 -4.330128,2.5 L 60.621779,140 c -4.330129,-2.5 -4.330129,-7.49999 -4.330129,-12.5 0,-5 4e-6,-5.00001 -4.330126,-7.5 -1.209301,-0.69819 -2.080873,-0.81141 -2.709036,-0.50304 l 4.353433,-2.5112 0.420643,-0.15096 c 0.350083,-0.11996 1.16881,0.0323 2.265085,0.66518" />
149
+ <path
150
+ style="display:inline;mix-blend-mode:hue;fill:#00ffff;fill-opacity:0.150376;fill-rule:nonzero;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
151
+ d="m 17.320507,94.999997 c 0,0 0,11.019023 0,15.509513 0,4.49049 4.330127,6.99049 4.330127,6.99049 L 43.301269,130 c 0,0 4.330125,2.5 4.330125,-2.50001 0,-5 3e-6,-9.99999 4.330129,-7.5 4.330126,2.5 4.330126,2.5 4.330126,7.5 0,5.00001 0,10 4.330128,12.5 4.330126,2.5 17.320506,10 21.650632,12.5 4.330128,2.5 4.330128,-2.5 4.330128,-2.5 0,0 0,-10 0,-14.99999 0,-5 -4.330128,-7.50001 -4.330128,-7.50001 0,0 -56.291648,-32.499993 -60.621775,-34.999994 -4.330127,-2.5 -4.330127,2.500001 -4.330127,2.500001 z"
152
+ id="path8" />
153
+ <path
154
+ id="path8-8-1"
155
+ style="display:inline;fill:#1a1a1a;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
156
+ d="m 50.889337,127.84009 c 0.616115,-0.38464 1.072185,-1.2174 1.072185,-2.84009 0,-1.73648 10e-7,-3.47296 0.181386,-4.89527 0,0 -1.745281,-1.19218 -2.891568,-0.61011 l 4e-6,3e-5 c -0.02403,0.0128 -0.09242,0.0521 -0.115719,0.0662 -0.602683,0.36439 -0.963895,1.14701 -1.180385,2.1803 -0.323845,1.54568 -0.323844,3.65227 -0.323844,5.75887 0,1.62269 -0.45607,2.45545 -1.072185,2.84009 m 0,3e-5 4.330126,-2.5" />
157
+ <path
158
+ style="fill:#333333;fill-opacity:1;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
159
+ d="m 18.42923,92.137739 c 0,0 1.04397,-0.894884 3.221404,0.362257 2.177435,1.257142 56.291649,32.499994 60.621775,34.999994 C 86.602537,130 86.602537,135 86.602537,135 c 0,0 0,14.99999 0,14.99999 0,0 0.03918,2.20485 -1.335902,2.99228 -1.375085,0.78743 4.330126,-2.5 4.330126,-2.5 0,0 1.335902,-0.61003 1.335902,-2.99228 0,-2.38224 0,-14.99999 0,-14.99999 0,0 0,-5.00001 -4.330126,-7.50001 -4.330128,-2.5 -60.621776,-34.999994 -60.621776,-34.999994 0,0 -1.805531,-1.179711 -3.221404,-0.362257 -1.415874,0.817454 -4.330127,2.5 -4.330127,2.5 z"
160
+ id="path9" />
161
+ <g
162
+ id="g25"
163
+ transform="translate(41.136204,26.249998)">
164
+ <path
165
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
166
+ d="m 21.650633,107.50001 2.165066,-1.25001 4.330127,2.5 -2.165065,1.25001 z"
167
+ id="path14" />
168
+ <path
169
+ style="fill:#008080;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
170
+ d="m 21.650635,102.5 v -5.000003 l 4.330128,2.5 V 105 Z"
171
+ id="path15" />
172
+ <path
173
+ style="fill:#008080;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
174
+ d="m 21.650634,112.5 v -5 l 4.330128,2.5 v 5 z"
175
+ id="path16" />
176
+ <path
177
+ style="fill:#008080;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
178
+ d="m 30.310889,117.5 v -5 l 4.330128,2.5 v 5 z"
179
+ id="path17" />
180
+ <path
181
+ style="fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
182
+ d="m 30.310889,107.5 2.165064,-1.25 v 5 l -2.165064,1.25 z"
183
+ id="path18" />
184
+ <path
185
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
186
+ d="m 25.980764,99.99999 2.165062,-1.249993 V 103.75 l -2.165062,1.24999 z"
187
+ id="path19" />
188
+ <path
189
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
190
+ d="m 25.980761,110 2.165065,-1.25 v 5 L 25.980761,115 Z"
191
+ id="path20" />
192
+ <path
193
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
194
+ d="m 34.641017,115 2.165063,-1.25 v 5 L 34.641017,120 Z"
195
+ id="path21" />
196
+ <path
197
+ style="fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
198
+ d="m 25.980761,105 2.165065,-1.25 4.330127,2.5 -2.165064,1.25 z"
199
+ id="path22" />
200
+ <path
201
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
202
+ d="m 30.310889,112.5 2.165064,-1.25 4.330127,2.5 -2.165063,1.25 z"
203
+ id="path23" />
204
+ <path
205
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
206
+ d="m 25.980761,110 v -5 l 4.330128,2.5 v 5 z"
207
+ id="path24" />
208
+ <path
209
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
210
+ d="m 21.650635,97.499997 2.165064,-1.25 4.330127,2.5 -2.165063,1.25 z"
211
+ id="path25" />
212
+ </g>
213
+ <g
214
+ id="g9"
215
+ transform="translate(2.1650625,3.75001)">
216
+ <path
217
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
218
+ d="m 21.650633,107.50001 2.165066,-1.25001 4.330127,2.5 -2.165065,1.25001 z"
219
+ id="path3-9" />
220
+ <path
221
+ style="fill:#008080;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
222
+ d="m 21.650635,102.5 v -5.000003 l 4.330128,2.5 V 105 Z"
223
+ id="path1-5" />
224
+ <path
225
+ style="fill:#008080;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
226
+ d="m 21.650634,112.5 v -5 l 4.330128,2.5 v 5 z"
227
+ id="path1-8" />
228
+ <path
229
+ style="fill:#008080;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
230
+ d="m 30.310889,117.5 v -5 l 4.330128,2.5 v 5 z"
231
+ id="path1-8-1" />
232
+ <path
233
+ style="fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
234
+ d="m 30.310889,107.5 2.165064,-1.25 v 5 l -2.165064,1.25 z"
235
+ id="path2" />
236
+ <path
237
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
238
+ d="m 25.980764,99.99999 2.165062,-1.249993 V 103.75 l -2.165062,1.24999 z"
239
+ id="path2-9" />
240
+ <path
241
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
242
+ d="m 25.980761,110 2.165065,-1.25 v 5 L 25.980761,115 Z"
243
+ id="path2-8" />
244
+ <path
245
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
246
+ d="m 34.641017,115 2.165063,-1.25 v 5 L 34.641017,120 Z"
247
+ id="path2-6" />
248
+ <path
249
+ style="fill:#b3b3b3;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
250
+ d="m 25.980761,105 2.165065,-1.25 4.330127,2.5 -2.165064,1.25 z"
251
+ id="path3" />
252
+ <path
253
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
254
+ d="m 30.310889,112.5 2.165064,-1.25 4.330127,2.5 -2.165063,1.25 z"
255
+ id="path3-4" />
256
+ <path
257
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
258
+ d="m 25.980761,110 v -5 l 4.330128,2.5 v 5 z"
259
+ id="path1" />
260
+ <path
261
+ style="fill:#006161;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1"
262
+ d="m 21.650635,97.499997 2.165064,-1.25 4.330127,2.5 -2.165063,1.25 z"
263
+ id="path3-4-6" />
264
+ </g>
265
+ <path
266
+ style="display:inline;mix-blend-mode:hard-light;fill:url(#linearGradient36);fill-opacity:0.37381;fill-rule:nonzero;stroke:#000000;stroke-width:0.265;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
267
+ d="m 17.320495,94.787308 c 0,0 0,11.019032 0,15.509522 0,4.49049 4.330127,6.99049 4.330127,6.99049 l 21.650635,12.5 c 0,0 4.330125,2.5 4.330125,-2.50001 0,-5 3e-6,-9.99999 4.330129,-7.5 4.330126,2.5 4.330126,2.5 4.330126,7.5 0,5.00001 0,10 4.330128,12.5 4.330126,2.5 17.320506,10 21.650632,12.5 4.330128,2.5 4.330128,-2.5 4.330128,-2.5 0,0 0,-10 0,-14.99999 0,-5 -4.330128,-7.50001 -4.330128,-7.50001 0,0 -56.291648,-32.500002 -60.621775,-35.000002 -4.330127,-2.5 -4.330127,2.5 -4.330127,2.5 z"
268
+ id="path8-2" />
269
+ <g
270
+ id="g46">
271
+ <path
272
+ style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
273
+ d="m 86.602537,135 2.598076,1.5 v 4.99999 l -2.598076,-1.5 z"
274
+ id="path38" />
275
+ <path
276
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
277
+ d="m 86.602537,135 2.598076,1.5 v 4.99999 l -2.598076,-1.5 z"
278
+ id="path38-23" />
279
+ <path
280
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
281
+ d="m 86.602537,135 2.598076,1.5 51.023327,-29.45834 -2.74242,-1.58332 z"
282
+ id="path43" />
283
+ <path
284
+ style="fill:#1a1a1a;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
285
+ d="m 141.16214,113.5 -2.59808,-1.50001 -1.73205,-1.99999 1.73205,1 z"
286
+ id="path45" />
287
+ <path
288
+ style="fill:#333333;stroke:#000000;stroke-width:0.264583px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
289
+ d="m 140.29611,107 2.59808,5.5 -1.73205,1 -2.59808,-2.5 -4.33013,2.5 -45.033317,27.99999 V 136.5 Z"
290
+ id="path44" />
291
+ </g>
292
+ </g>
293
+ <text
294
+ xml:space="preserve"
295
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.64583px;line-height:2.64583px;font-family:Michroma;-inkscape-font-specification:Michroma;display:inline;stroke-width:0.264583"
296
+ x="93.551834"
297
+ y="191.79353"
298
+ id="text4"
299
+ transform="matrix(0.99989899,-0.58124851,-0.01421035,1.0083616,0,0)"><tspan
300
+ id="tspan4"
301
+ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.64583px;line-height:2.64583px;font-family:Michroma;-inkscape-font-specification:Michroma;text-align:start;text-anchor:start;fill:#ffffff;fill-opacity:0.8;stroke:none;stroke-width:0.264583;stroke-opacity:1"
302
+ x="93.551834"
303
+ y="191.79353">EFFCSS</tspan></text>
304
+ </g>
305
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effcss",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Self-confident CSS-in-JS",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -56,6 +56,7 @@
56
56
  "LICENSE",
57
57
  "README.md",
58
58
  "package.json",
59
+ "logo.svg",
59
60
  "dist"
60
61
  ],
61
62
  "repository": {