@master/css 2.0.0-beta.162 → 2.0.0-beta.164

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.
@@ -16,7 +16,7 @@ import type { RuleConfig } from '../rule';
16
16
  type Classes = {
17
17
  [key: string]: string | Classes;
18
18
  };
19
- type Colors = {
19
+ export type Colors = {
20
20
  [key: string]: string | Colors;
21
21
  };
22
22
  type Breakpoints = {
@@ -55,6 +55,5 @@ export interface Config {
55
55
  override?: boolean;
56
56
  functions?: Record<string, FunctionConfig>;
57
57
  keyframes?: Record<string, Record<string, Record<string, string | number>>>;
58
- precedence?: 'highest' | 'higher' | 'lowest';
59
58
  themeDriver?: 'class' | 'media' | 'host';
60
59
  }
@@ -15,4 +15,5 @@ export declare const selectors: {
15
15
  ':even': string;
16
16
  ':odd': string;
17
17
  ':nth(': string;
18
+ ':only': string;
18
19
  };
@@ -183,4 +183,8 @@ export declare const semantics: {
183
183
  '-webkit-background-clip': string;
184
184
  'background-clip': string;
185
185
  };
186
+ fit: {
187
+ width: string;
188
+ height: string;
189
+ };
186
190
  };
package/dist/core.d.ts CHANGED
@@ -32,6 +32,7 @@ export declare class MasterCSS {
32
32
  readonly countBy: {};
33
33
  readonly observing = false;
34
34
  observer: MutationObserver;
35
+ private colorByThemeByColorName;
35
36
  constructor(config?: Config);
36
37
  cache(): void;
37
38
  /**
@@ -84,6 +85,7 @@ export declare class MasterCSS {
84
85
  */
85
86
  insertRules(rules: Rule[]): void;
86
87
  get text(): string;
88
+ private getExtendedConfig;
87
89
  }
88
90
  declare global {
89
91
  interface Window {
@@ -1 +1 @@
1
- (()=>{function pe(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function be(t){if(typeof Buffer<"u"&&Buffer&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function ve(t){let e=[];return t.forEach(function(n,s){typeof n=="object"&&n!==null?Array.isArray(n)?e[s]=ve(n):pe(n)?e[s]=be(n):e[s]=K({},n):e[s]=n}),e}function ge(t,e){return e==="__proto__"?void 0:t[e]}function K(...t){let e={},n,s;return t.forEach(function(x){typeof x!="object"||x===null||Array.isArray(x)||Object.keys(x).forEach(function(o){if(s=ge(e,o),n=ge(x,o),n!==e)if(typeof n!="object"||n===null){e[o]=n;return}else if(Array.isArray(n)){e[o]=ve(n);return}else if(pe(n)){e[o]=be(n);return}else if(typeof s!="object"||s===null||Array.isArray(s)){e[o]=K({},n);return}else{e[o]=K(s,n);return}})}),e}var te={"(":")","'":"'",'"':'"',"{":"}"};function re(t){if(typeof CSS<"u")return CSS.escape(t);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let e=String(t),n=e.length,s=-1,x="",o,b=e.charCodeAt(0);if(n==1&&b==45)return"\\"+e;for(;++s<n;){if(o=e.charCodeAt(s),o==0){x+="\uFFFD";continue}if(o>=1&&o<=31||o==127||s==0&&o>=48&&o<=57||s==1&&o>=48&&o<=57&&b==45){x+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){x+=e.charAt(s);continue}x+="\\"+e.charAt(s)}return x}var Te={unit:"",order:0,separators:[","]},Oe=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,ae=class{constructor(e,n={},s){this.className=e;this.meta=n;this.css=s;this.config=K(Te,n.config);let{unit:x,order:o,colored:b,native:c,analyze:p,transform:g,declare:u,create:l}=this.config,{scope:d,important:f,functions:h,themeDriver:v,keyframes:m}=s.config,{themeNames:i,colorNames:r,colorThemesMap:a,selectors:y,breakpoints:k,mediaQueries:R,classesBy:O,globalValues:V}=s,H=O[e];l&&l.call(this,e);let U,se,ce,ee,Q;if(n.origin==="semantics"){let[L,E]=n.value;ee=e.slice(L.length),U=E}else{let L;if(p)[L,ce]=p.call(this,e);else{let T=e.indexOf(":");this.prefix=e.slice(0,T+1),L=e.slice(T+1)}Q=[];let E=this,I=this.values,A=[","];this.config.separators.length&&A.push(...this.config.separators);let C="",w=0;(function T($,S,B,M=void 0,j=[],X=[],W){let D=M===void 0,Y,J=N=>N==="'"||N==='"',G=()=>Y=C.length,q=()=>{if(C){let N=C,z=D?N:C.slice(Y);if(C="",_="",I&&z in I&&!j.includes(z)){let F=w;w=0,T(I[z].toString(),S,void 0,M,[...j,z],X,W),w=F,D||(C=C.slice(0,Y)+C)}else if(V&&z in V&&!X.includes(z)){let F=w;w=0,T(V[z].toString(),S,void 0,M,j,[...X,z],W),w=F,D||(C=C.slice(0,Y)+C)}else if(D){let F=!W&&E.analyzeUnitValue(z,S);Q.push({value:F?.value??z,unit:F?.unit})}else{let F=!W&&E.analyzeUnitValue(z,S);C=F?N.slice(0,Y)+F.value+F.unit:N}G()}},Z=J(B);G();let _="";for(;w<$.length;w++){let N=$[w];if(N===B){if(Z){C+=N;let z=0;for(let F=C.length-2;C[F]==="\\";F--)z++;if(z%2)continue}else q(),C+=N;return}else if(!Z&&N in te){let z=N==="("&&_&&h?.[_];z?.name&&(C=C.slice(0,C.length-_.length)+z.name,_=z.name),C+=N,w++;let F=te[N];T($,z?.unit??S,F,_||M||"",j,X,W||!!z?.transform),z?.transform&&(C=C.slice(0,Y+_.length+1)+z.transform.call(E,C.slice(Y+_.length+1,-1))+C.slice(-1)),D&&(J(F)?(Q.push(C),C=""):q()),_=""}else if((N==="|"||N===" ")&&B!=="}"&&(!Z||M==="path"))q(),D||(C+=" ",Y++);else{if(!Z){if(N==="."){if(isNaN(+$[w+1]))break;$[w-1]==="-"&&(C+="0")}else if(A.includes(N)){q(),D?Q.push(N):(C+=N,Y++);continue}else if(D&&(N==="#"&&(C||Q.length&&$[w-1]!=="|"&&Q[w-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(N)))break;_+=N}C+=N}}M===void 0&&q()})(L,x),ee=L.slice(w)}this.order=typeof o=="function"?o.call(this,this.prefix):o,ee[0]==="!"&&(this.important=!0,ee=ee.slice(1));let he=L=>{let E=L.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((w,T)=>T%3?w:w.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),I=[],A="",C=0;for(let w=0;w<E.length;w++){let T=E[w];if(T==="\\"){A+=T+E[++w];continue}!C&&T===","?(I.push(A),A=""):(A+=T,C&&T===")"?C--:T==="("&&C++)}return A&&I.push(A),I};this.prefixSelectors=ce?he(ce):[""];let ue=ee.split("@"),de=ue[0];if(de){this.vendorSuffixSelectors={};let L=(w,T,$,S)=>{for(let[B,M]of T)if(B.test(w)){for(let j of M)L(w.replace(B,j),T,$,!0);return}S&&$.push(w)},E=[];""in y?L(de,y[""],E,!0):E.push(de);let I={};for(let[w,T]of Object.entries(y)){if(!w)continue;let $=[];for(let S of E)L(S,T,$,!1);$.length&&(I[w]=$)}let A=(w,T)=>{let $=T.reduce((S,B)=>(S.push(...he(B)),S),[]);w in this.vendorSuffixSelectors?this.vendorSuffixSelectors[w].push(...$):this.vendorSuffixSelectors[w]=$},C=Object.keys(I);if(C.length)for(let w of C)A(w,I[w]);else A("",E);for(let w of Object.values(this.vendorSuffixSelectors))for(let T of w){this.hasWhere!==!1&&(this.hasWhere=T.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let S=0;S<$.length;S++)if(T.includes($[S])){(this.priority===-1||this.priority>S)&&(this.priority=S);break}}}else this.vendorSuffixSelectors={"":[""]};for(let L=1;L<ue.length;L++){let E=ue[L];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let I,A,C=Oe.exec(E);if(C)I=C[1],A=E.slice(I.length);else{this.media={token:E,features:{}};let w=[],T=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")w.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")w.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else if(R&&S in R)w.push(R[S]);else{let B={token:S},M="",j="",X=0;S.startsWith("<=")?(j="<=",M="max-width"):S.startsWith(">=")||k[S]?(j=">=",M="min-width"):S.startsWith(">")?(j=">",M="min-width",X=.02):S.startsWith("<")&&(j="<",M="max-width",X=-.02);let W=j?S.replace(j,""):S,D=k[W];switch(M){case"max-width":case"min-width":D?Object.assign(B,this.analyzeUnitValue(D.toString(),"px")):Object.assign(B,this.analyzeUnitValue(W,"px")),B.unit==="px"&&(B.value+=X),this.media.features[M]=B,w.push("("+M+":"+(B.value+B.unit)+")");break}}},$=E.includes("&");if($){let S=E.split("&");for(let B of S)T(B)}else T(E);if(this.media.type&&(A=this.media.type),w.length&&(A=w.join(" and ")),A)I="media";else if(!$){this.theme=E;continue}}A&&(this.at[I]=(I in this.at?this.at[I]+" and ":"")+A.replace(/\|/g," "))}}let fe=(L,E)=>{let I,A=(T,$,S)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let M=this.prefixSelectors.map(W=>W+B),j=(W,D)=>M.map(Y=>(W&&v!=="media"?v==="host"?`:host(.${W}) `:`.${W} `:"")+(d?d+" ":"")+Y).reduce((Y,J)=>(Y.push(S.reduce((G,q)=>(G.push(J+"."+re(D)+q),G),[]).join(",")),Y),[]).join(","),X=j($,e)+(H?H.reduce((W,D)=>W+","+j(this.theme??(b||se?$:""),D),""):"")+"{"+T+"}";for(let W of Object.keys(this.at).sort((D,Y)=>Y==="supports"?-1:1))X="@"+W+(W.includes(" ")?"":" ")+this.at[W]+"{"+X+"}";return $&&v==="media"&&(X=`@media(prefers-color-scheme:${$}){`+X+"}"),X},C=[];if(Q){let T=[this.theme??L,""],$,S=!1;for(let B of Q)if(typeof B=="string")C.push(B);else{let M=B.value;if(B.unit)M+=B.unit;else if(b&&a&&r){let j=!1;M=M.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(X,W,D,Y)=>{let J=a[D];if(J){let G,q;for(let Z of T)if(G=J[Z]){q=Z;break}if(G){j=!E||q===L,$||($=j);let Z=G;if(Y){let _=Y.endsWith("%")?parseFloat(Y)/100:+Y;_=isNaN(_)?1:Math.min(Math.max(_,0),1),Z+=Math.round(_*255).toString(16).toUpperCase().padStart(2,"0")}return W+Z}else S=!0}return X})}C.push(M)}if(E&&(S||($===void 0?L:!$)))return;if(I=C.reduce((B,M,j)=>B+M+(M===","||Q[j+1]===","||j===Q.length-1?"":" "),""),g&&(I=g.call(this,I,this.css.config)),b&&I==="current"&&(I="currentColor"),u){let B,M;if(Q.length===1){let j=Q[0];typeof j=="object"&&(B=j.value,M=j.unit)}U=u.call(this,M?B:I,M||"")}else U={[c]:I}}let w={};for(let T in U){let $=(M,j)=>{if(m&&(j.startsWith("animation")||j.startsWith("animation-name"))){let W=j.split(":")[1].split("!important")[0].split(" ").filter(D=>D in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(D)));W.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...W))}let X=j+((this.important||f)&&!j.endsWith("!important")?"!important":"");M in w?w[M].push(X):w[M]=[X]},S=T+":",B=U[T];if(typeof B=="object")if(Array.isArray(B))for(let M of B)$(L,S+M.toString());else{se=!0;for(let M in B)$(M,S+B[M])}else $(L,S+B.toString())}for(let T of Object.values(this.vendorSuffixSelectors))for(let $ in w)this.natives.push({text:A(w[$].join(";"),$,T),theme:$})};if(this.theme)fe(this.theme,!1);else if(b)for(let L of i)fe(L,!0);else fe("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(e=>e.text).join("")}resolveValue(e,n){return Number.isNaN(+e)?e:e/(n==="rem"||n==="em"?this.css.config.rootSize:1)+n}analyzeUnitValue(e,n){let s=n??this.config.unit;if(s){let x="",o=e.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(o)if(e.includes("/")){let[b,c]=e.split("/");return{value:+b/+c*100+"%",unit:x}}else{let b=+o[1];return x=o[3]||"",x||((s==="rem"||s==="em")&&(b=b/this.css.config.rootSize),x=s||""),{value:b,unit:x}}}}};var xe={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function ie(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function le(t,e,n){return((1<<24)+(t<<16)+(e<<8)+n).toString(16).slice(1)}function P(t){typeof t=="string"&&(t={"":t});let e=""in t,n=!1;for(let s in t)if(s&&+s>=100){n=!0;break}if(!n&&(!e||Object.keys(t).length>1)){let s=0,x="0"in t?ie(t[0]):[0,0,0],o,b,c=[],p=()=>{let g=o-s,u=b.map((l,d)=>(l-x[d])/g);for(let l of c){let d=l-s,f=x.map((h,v)=>Math.round(h+u[v]*d));t[l]="#"+le.call(this,...f)}};for(let g=1;g<100;g++)g in t?(c.length?(o=g,b=ie(t[g]),p(),c.length=0,x=b):x=ie(t[g]),s=g):c.push(g);c.length&&(o=100,b="100"in t?ie(t[100]):[255,255,255],p())}return e||(t[""]=t[n?"500":"50"]),t}var ye={black:"#000000",white:"#ffffff",slate:P({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:P({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:P({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:P({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:P({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:P({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:P({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:P({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:P({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:P({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:P({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:P({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:P({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:P({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:P({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:P({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:P({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:P({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:P({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:P({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var we="";var Se={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("};var ke={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"}};var je={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(t){let e=0;for(;e<t.length&&!(t[e]==="{"&&t[e-1]!=="\\");e++);return[t.slice(e),t.slice(0,e)]},declare(t){let e={},n=(g,u)=>{let l=u.indexOf(":");if(l!==-1){g in e||(e[g]={});let d=e[g],f=u.slice(0,l);f in d||(d[f]=u.slice(l+1))}},s=g=>{let u=(l,d)=>{let f=d.slice(re(g.className).length).match(/\{(.*)\}/)[1].split(";");for(let h of f)n(l,h)};if(this.theme){let l=g.natives.find(d=>d.theme===this.theme)??g.natives.find(d=>!d.theme);l&&u(this.theme,l.text)}else for(let l of g.natives)u(l.theme,l.text);if(g.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let l of g.keyframeNames)this.keyframeNames.includes(l)||this.keyframeNames.push(l)}},x=[],o="",b=()=>{o&&(x.push(o.replace(/ /g,"|")),o="")},c=1;(function g(u){for(;c<t.length;c++){let l=t[c];if(!u){if(l===";"){b();continue}if(l==="}")break}if(o+=l,u===l){if(u==="'"||u==='"'){let d=0;for(let f=o.length-2;o[f]==="\\";f--)d++;if(d%2)continue}break}else l in te&&u!=="'"&&u!=='"'&&(c++,g(te[l]))}})(void 0),b();for(let g of x){let u=this.css.create(g);if(Array.isArray(u))if(u.length)for(let l of u)s(l);else n(this.theme??"",g);else s(u)}let p={};for(let g in e)for(let[u,l]of Object.entries(e[g]))u in p?p[u][g]=l:p[u]={[g]:l};return p}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(t){switch(t){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,n]=t.split(" x ");return{width:e,height:n}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,n]=t.split(" x ");return{"min-width":e,"min-height":n}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,n]=t.split(" x ");return{"max-width":e,"max-height":n}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(t,e){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":t+e}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{native:!0,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{native:!0,order:-1,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{native:!0,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",native:!0,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(t){return[t.startsWith("transform")?t.slice(10):t]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(t){if(t.startsWith("~"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(t){if(t.startsWith("@"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(t){if(t.startsWith("gradient"))return["linear-"+t];let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"backdrop-filter":t+e,"-webkit-backdrop-filter":t+e}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridColumns:{match:"^grid-cols:.",declare(t,e){return{display:"grid","grid-template-columns":"repeat("+t+e+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridRows:{match:"^grid-rows:.",declare(t,e){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+t+e+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},Ce=je;var Re={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var $e={$:{name:"var",transform(t){return"--"+t}},calc:{transform(t){let e=this.values,n=this.css.globalValues,s=this.css.config.functions,x=this,o=0,b="",c="";return function p(g,u){let l=!1,d=(f,h=!1,v=!1)=>{if(f!=="("&&(e&&c in e?c=e[c].toString():n&&c in n&&(c=n[c].toString())),c&&!l&&!u){let m=x.analyzeUnitValue(c,s.calc.unit);m&&(c=m.value+m.unit)}b+=c+(h&&t[o-1]!==" "?" ":"")+f+(v&&t[o+1]!==" "?" ":""),c="",l=!1};for(;o<t.length;o++){let f=t[o];if(f==="("){let h=c,v=l,m=b.length;if(d(f),o++,p(h,v||u),h!=="calc"){let i=s[h];if(i){let r=b.slice(m+2,b.length-1);b=b.slice(0,m-h.length+1)+(i.name??h)+"("+(i.transform?.(r)??r)+")"}}}else if(f===")"){d(f);break}else if(f===",")d(f,!1,!0);else if(f===" ")d(f);else{let h=t[o-1];switch(f){case"+":!c&&h!==")"?c+=f:d(f,!0,!0);break;case"-":g==="var"||!c&&h!==")"?c+=f:d(f,!0,!0);break;case"*":d(f,!0,!0);break;case"/":d(f,!0,!0),l=!0;break;default:c+=f;break}}}o>=t.length-1&&d("")}("",!1),b}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Be="class";var ne={breakpoints:xe,colors:ye,rootSize:16,scope:we,selectors:Se,semantics:ke,rules:Ce,override:!1,important:!1,functions:$e,keyframes:Re,themeDriver:Be};var Me=[",",".","#","[","!","*",">","+","~",":","@"];var oe=class t{constructor(e=ne){this.config=e;if(!e?.override){let n=x=>{let o=K({},x),b=(c,p)=>{for(let g in c){let u=c[g];typeof u=="object"&&!Array.isArray(u)?b(u,p):p?p(g,u,c):g&&(c[g]={"":u})}};return b(o.classes),b(o.colors,(c,p,g)=>{if(c.startsWith("@"))return p;let u={},l=/(?:rgba?\(.*?\).*?(?= |$))|(?:[^ ]+)(?= |$)/g,d;for(;(d=l.exec(p))!==null;){let[f,h]=d[0].split("@");u[h?"@"+h:""]=f}c?g[c]=u:(Object.assign(g,u),Object.prototype.hasOwnProperty.call(u,"")||delete g[c])}),b(o.breakpoints),b(o.mediaQueries),b(o.selectors),b(o.values),o},s=(x,o)=>{let b=o.extends?.length?K({},o,...o.extends.map(p=>s(o,"config"in p?p.config:p))):o,c=K(n(x),n(b));return Object.prototype.hasOwnProperty.call(b,"keyframes")&&Object.assign(c.keyframes,b.keyframes),c};this.config=s(ne,e)}this.cache(),t.instances.push(this)}static root;static config=ne;static instances=[];static refresh=e=>{for(let n of this.instances)n.refresh(e)};rules=[];ruleBy={};countBy={};observing=!1;observer;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:e,classes:n,selectors:s,colors:x,values:o,breakpoints:b,mediaQueries:c,rules:p}=this.config;function g(i){return i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function u(i,r,a="",y={}){let k=H=>H?(a?a+"-":"")+H:a,R=Object.entries(i),O=[],V=[];for(let H of R){let U=H[1];(typeof U=="object"&&!Array.isArray(U)?O:V).push(H)}for(let[H,U]of O)u(U,r,k(H),y);if(r&&a)V.length&&(y[a]=V.reduce((H,[U,se])=>(H[U]=se,H),{}));else for(let[H,U]of V)y[k(H)]=U;return y}function l(i){for(let[r,a]of Object.entries(i))/^[0-9]+x$/.test(r)&&typeof a=="number"&&(i["-"+r]=a*-1);return i}if(e)for(let[i,r]of Object.entries(u(e,!0)))this.semantics.push([new RegExp("^"+g(i)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[i,r]]);if(s)for(let[i,r]of Object.entries(u(s,!1))){let a=new RegExp(g(i)+"(?![a-z-])");for(let y of Array.isArray(r)?r:[r]){let k=y.match(/^::-[a-z]+-/m)?.[0]??"",R=this.selectors[k];R||(R=this.selectors[k]=[]);let O=R.find(([V])=>V===a);O||(O=[a,[]],R.push(O)),O[1].push(y)}}o&&(this.globalValues=l(u(o,!1))),b&&(this.breakpoints=u(b,!1)),c&&(this.mediaQueries=u(c,!1));let d=n?u(n,!1):{},f=Object.keys(d),h=i=>{if(Object.prototype.hasOwnProperty.call(this.classes,i))return;let r=this.classes[i]=[],a=d[i];if(!a)return;let y=a.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let k of y){let R=O=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,O)){let V=this.classesBy[O];V.includes(i)||V.push(i)}else this.classesBy[O]=[i];r.includes(O)||r.push(O)};if(f.includes(k)){h(k);for(let O of this.classes[k])R(O)}else R(k)}};for(let i of f)h(i);let v=x?u(x,!0):{};for(let[i,r]of Object.entries(v)){let a=typeof r=="string"?{"":r}:r;for(let[y,k]of Object.entries(a)){let R=(O,V)=>{Object.prototype.hasOwnProperty.call(this.colorThemesMap,V)?this.colorThemesMap[V][O]=k:this.colorThemesMap[V]={[O]:k}};if(y.startsWith("@")){let O=y.slice(1);R(O,i),this.themeNames.includes(O)||this.themeNames.push(O)}else R("",i+(y?"-"+y:""))}}this.colorNames=x?Object.keys(x):[];let m=i=>{for(let[r,a]of Object.entries(this.colorThemesMap))for(let[y,k]of Object.entries(a))k.startsWith("#")||i(r,a,y,k)};if(m((i,r,a,y)=>{let k=/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/.exec(y);if(k){let R="#"+le(+k[1],+k[2],+k[3]);k[4]&&(R+=Math.round(255*+k[4]).toString(16)),r[a]=R}}),m((i,r,a,y)=>{let[k,R]=y.split("/"),O=this.colorThemesMap[k];if(O){let V=(a?O[a]:void 0)??O[""];r[a]=R?V.slice(0,7)+Math.round(255*+R).toString(16):V}else console.error(`"${i}: ${y}" is an invalid ".colors" config`)}),p)for(let i in p){let r=p[i],{native:a,values:y,colored:k}=r,R=r.match;if(r.id=i,r.native=a===!0?i.replace(/(?!^)[A-Z]/g,O=>"-"+O).toLowerCase():void 0,y&&(this.values[i]=l(u(y,!1))),R){let O=Object.keys(this.values[i]??{});R.includes("$values")&&(R=O.length?R.replace(/\$values/,O.join("|")):R.replace(/(?:\|)?\$values/,"")),k&&R.includes("$colors")&&(R=this.colorNames.length?R.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):R.replace(/(?:\|)?\$colors/,"")),this.matches[i]=new RegExp(R)}}}observe(e,n={subtree:!0,childList:!0}){if(typeof window<"u"){if(e||(e=document),this.root===e)return this;this.root=e;let s=e===document;s&&(t.root=this),this.host=s?document.documentElement:this.root.host;let x=s?document.head:e,o=s?document.styleSheets:e.styleSheets;for(let c of o){let{ownerNode:p}=c;if(p&&p.id==="master"){this.style=p;break}}if(this.style)for(let c=0;c<this.style.sheet.cssRules.length;c++){let p=this.style.sheet.cssRules[c];if(p.constructor.name==="CSSKeyframesRule")continue;let g=l=>{if(l.selectorText){let f=l.selectorText.split(", ")[0].split(" ");for(let h=0;h<f.length;h++){let v=f[h];if(v[0]==="."){let m=v.slice(1),i="";for(let r=0;r<m.length;r++){let a=m[r],y=m[r+1];if(a==="\\"){if(r++,y!=="\\"){i+=y;continue}}else if(Me.includes(a))break;i+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,i)&&!Object.prototype.hasOwnProperty.call(this.classes,i)){let r=this.create(i)[0];if(r)return r}}}}else if(l.cssRules)for(let d=0;d<l.cssRules.length;d++){let f=g(l.cssRules[d]);if(f)return f}},u=g(p);if(u){this.rules.push(u),this.ruleBy[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[c+l];c+=u.natives.length-1,u.config.insert?.call(u)}}else this.style=document.createElement("style"),this.style.id="master",x.append(this.style);let b=c=>{c.forEach(p=>{Object.prototype.hasOwnProperty.call(this.countBy,p)?this.countBy[p]++:(this.countBy[p]=1,this.insert(p))})};b(this.host.classList),n.subtree&&this.host.querySelectorAll("[class]").forEach(c=>b(c.classList)),this.observer=new MutationObserver(c=>{let p={},g=[],u=[],l=[],d=(m,i)=>{i?m.classList.forEach(h):m.classList.forEach(f);let r=m.children;for(let a=0;a<r.length;a++){let y=r[a];y.classList&&(u.push(y),d(y,i))}},f=m=>{Object.prototype.hasOwnProperty.call(p,m)?p[m]++:p[m]=1},h=m=>{Object.prototype.hasOwnProperty.call(p,m)?p[m]--:Object.prototype.hasOwnProperty.call(this.countBy,m)&&(p[m]=-1)},v=(m,i)=>{for(let r=0;r<m.length;r++){let a=m[r];a.classList&&!u.includes(a)&&!l.includes(a)&&(a.isConnected!==i?(u.push(a),d(a,i)):l.push(a))}};for(let m=0;m<c.length;m++){let i=c[m],{addedNodes:r,removedNodes:a,type:y,target:k}=i;if(y==="attributes"){if(g.find(R=>R.target===k))continue;g.push(i)}else v(r,!1),(!k.isConnected||!u.includes(k))&&v(a,!0)}if(!(!g.length&&!Object.keys(p).length)){for(let{oldValue:m,target:i}of g){let r=u.includes(i),a=i.classList,y=m?m.split(" "):[];if(r){if(i.isConnected)continue;for(let k of y)a.contains(k)||h(k)}else if(i.isConnected){a.forEach(k=>{y.includes(k)||f(k)});for(let k of y)a.contains(k)||h(k)}}for(let m in p){let i=p[m],r=(this.countBy[m]||0)+i;r===0?(delete this.countBy[m],this.delete(m)):(Object.prototype.hasOwnProperty.call(this.countBy,m)||this.insert(m),this.countBy[m]=r)}}}),this.observer.observe(e,{...n,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let e=this.style?.sheet;if(e?.cssRules)for(let n=e.cssRules.length-1;n>=0;n--)e.deleteRule(n);this.style?.remove(),this.style=null,this.root=null}match(e){for(let n in this.config.rules){let s=this.config.rules[n],x=this.matches[n],{native:o}=s;if(x&&x.test(e))return{origin:"match",config:s};if(o&&e.startsWith(o+":"))return{origin:"match",config:s}}for(let n of this.semantics)if(e.match(n[0]))return{origin:"semantics",value:n[1]}}create(e){let n=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let x=this.match(s);if(x)return new ae(s,x,this)};return(Object.prototype.hasOwnProperty.call(this.classes,e)?this.classes[e].map(s=>n(s)):[n(e)]).filter(s=>s&&s.text)}refresh(e){if(e?.override?this.config=e:this.config=K(ne,e),this.cache(),!this.style)return;let n=document.createElement("style");n.id="master",this.style.replaceWith(n),this.style=n,this.rules.length=0,this.ruleBy={};for(let s in this.countBy)this.insert(s)}destroy(){let e=t.instances;this.disconnect(),e.splice(e.indexOf(this),1)}delete(e){let n=this.style?.sheet,s=x=>{let o=this.ruleBy[x];if(!(!o||Object.prototype.hasOwnProperty.call(this.classesBy,x)&&this.classesBy[x].some(b=>Object.prototype.hasOwnProperty.call(this.countBy,b)))){if(n&&o.natives.length){let b=o.natives[0];for(let c=0;c<n.cssRules.length;c++)if(n.cssRules[c]===b.cssRule){for(let g=0;g<o.natives.length;g++)n.deleteRule(c);break}}if(this.rules.splice(this.rules.indexOf(o),1),delete this.ruleBy[x],o.keyframeNames){let b=this.rules[0];for(let c of o.keyframeNames){let p=this.keyframes[c];if(!--p.count){let g=b.natives.indexOf(p.native);this.style.sheet.deleteRule(g),b.natives.splice(g,1),delete this.keyframes[c]}}b.natives.length||this.rules.splice(0,1)}o.config.delete?.call(o,x)}};if(Object.prototype.hasOwnProperty.call(this.classes,e)){for(let x of this.classes[e])Object.prototype.hasOwnProperty.call(this.countBy,x)||s(x);delete this.ruleBy[e]}else s(e)}insert(e){let n=this.create(e);return n.length?(this.insertRules(n),!0):!1}insertRules(e){for(let n of e){if(this.ruleBy[n.className])continue;let s,x=Object.keys(this.keyframes).length,o=this.rules.length-1,{media:b,order:c,priority:p,hasWhere:g,className:u}=n,l=(h,v,m)=>{let i=h;for(;i<=o;i++){let r=this.rules[i];if(v?.(r))return m?-1:i-1;if(m?.(r))return i}return m?-1:i-1},d,f;if(b){let h=this.rules.findIndex(v=>v.media);if(h===-1)s=o+1;else{let{"max-width":v,"min-width":m}=b.features;if(v||m){let i=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(i===-1)s=o+1;else if(v&&m){if(p===-1?(d=l(i,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),f=l(i,r=>r.priority!==-1)):(d=l(i,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=o),d!==-1){let r=v.value-m.value,a=f,y=d;for(d=void 0;a>=y;a--){let{"max-width":k,"min-width":R}=this.rules[a].media.features,O=k.value-R.value;if(O<r)f=a-1;else if(O===r)d=a;else break}}if(d!==-1){let r=v.value-m.value;for(let a=f;a>=d;a--){let{"max-width":y,"min-width":k}=this.rules[a].media.features,R=y.value-k.value;if(R<r)f=a-1;else if(R>r){d=a+1;break}}}}else if(m){if(p===-1?(d=l(i,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),f=l(i,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(d=l(i,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=l(i,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["min-width"].value;if(a>m.value)f=r-1;else if(a<m.value){d=r+1;break}}}else if(p===-1?(d=l(i,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),f=l(i,r=>r.media.features["min-width"]||r.priority!==-1)):(d=l(i,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),f=l(i,r=>r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["max-width"].value;if(a<v.value)f=r-1;else if(a>v.value){d=r+1;break}}}else p===-1?(d=h,f=l(h,i=>i.media?.features["max-width"]||i.media?.features["min-width"]||i.priority!==-1)):(d=l(h,i=>i.media?.features["max-width"]||i.media?.features["min-width"],i=>i.priority!==-1),f=l(h,i=>i.media?.features["max-width"]||i.media?.features["min-width"]))}}else{let h=x?1:0;p===-1?(d=h,f=l(h,v=>v.media||v.priority!==-1)):(d=l(h,v=>v.media,v=>v.priority!==-1),f=l(h,v=>v.media))}if(s===void 0)if(d===-1)s=f+1;else{if(p===-1)for(let h=d;h<=f;h++){let v=this.rules[h];if(!(!g&&v.hasWhere)&&(g&&!v.hasWhere||v.order>=c)){s=h;break}}else for(let h=d;h<=f;h++){let v=this.rules[h];if(!(!g&&v.hasWhere)){if(g&&!v.hasWhere){s=h;break}if(v.priority<p){s=h;break}else if(v.priority===p){if(v.order>=c){s=h;break}}else s=h+1}}s===void 0&&(s=f+1)}if(this.rules.splice(s,0,n),this.ruleBy[u]=n,this.style){let h=this.style.sheet,v=0,m=i=>{let r=this.rules[i];if(r){if(!r.natives.length)return m(i-1);let a=r.natives[r.natives.length-1].cssRule;for(let y=0;y<h.cssRules.length;y++)if(h.cssRules[y]===a){v=y+1;break}}};m(s-1);for(let i=0;i<n.natives.length;)try{let r=n.natives[i];h.insertRule(r.text,v),r.cssRule=h.cssRules[v++],i++}catch(r){console.error(r),n.natives.splice(i,1)}}if(n.keyframeNames){let h=this.style?.sheet;for(let v of n.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,v))this.keyframes[v].count++;else{let m={text:`@keyframes ${v}{`+Object.entries(this.config.keyframes[v]).map(([r,a])=>`${r}{${Object.entries(a).map(([y,k])=>y+":"+k).join(";")}}`).join("")+"}",theme:""},i;if(Object.keys(this.keyframes).length?(i=this.rules[0]).natives.push(m):this.rules.splice(0,0,i={natives:[m],get text(){return this.natives.map(r=>r.text).join("")}}),h){let r;for(let a=0;a<h.cssRules.length;a++){let y=h.cssRules[a];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===v){r=y;break}}if(r)m.cssRule=r;else{let a=i.natives.length-1;h.insertRule(m.text,a),m.cssRule=h.cssRules[a]}}this.keyframes[v]={native:m,count:1}}}n.config.insert?.call(n)}}get text(){return this.rules.map(e=>e.text).join("")}};typeof window<"u"&&(window.MasterCSS=oe);function me(t,e){return new oe(t).observe(e)}me(window.masterCSSConfig);})();
1
+ (()=>{function be(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function ve(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function xe(e){let t=[];return e.forEach(function(o,a){typeof o=="object"&&o!==null?Array.isArray(o)?t[a]=xe(o):be(o)?t[a]=ve(o):t[a]=ne({},o):t[a]=o}),t}function pe(e,t){return t==="__proto__"?void 0:e[t]}function ne(...e){let t={},o,a;return e.forEach(function(x){typeof x!="object"||x===null||Array.isArray(x)||Object.keys(x).forEach(function(s){if(a=pe(t,s),o=pe(x,s),o!==t)if(typeof o!="object"||o===null){t[s]=o;return}else if(Array.isArray(o)){t[s]=xe(o);return}else if(be(o)){t[s]=ve(o);return}else if(typeof a!="object"||a===null||Array.isArray(a)){t[s]=ne({},o);return}else{t[s]=ne(a,o);return}})}),t}var se={"(":")","'":"'",'"':'"',"{":"}"};function le(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),o=t.length,a=-1,x="",s,d=t.charCodeAt(0);if(o==1&&d==45)return"\\"+t;for(;++a<o;){if(s=t.charCodeAt(a),s==0){x+="\uFFFD";continue}if(s>=1&&s<=31||s==127||a==0&&s>=48&&s<=57||a==1&&s>=48&&s<=57&&d==45){x+="\\"+s.toString(16)+" ";continue}if(s>=128||s==45||s==95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){x+=t.charAt(a);continue}x+="\\"+t.charAt(a)}return x}var je={unit:"",order:0,separators:[","]},Me=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,fe=class{constructor(t,o={},a){this.className=t;this.meta=o;this.css=a;this.config=ne(je,o.config);let{unit:x,order:s,colored:d,native:u,analyze:v,transform:b,declare:g,create:c}=this.config,{scope:m,important:h,functions:p,themeDriver:l,keyframes:i}=a.config,{themeNames:n,colorNames:r,colorThemesMap:f,selectors:y,breakpoints:w,mediaQueries:S,classesBy:P,globalValues:j}=a,L=P[t];c&&c.call(this,t);let _,G,te,Q,F;if(o.origin==="semantics"){let[A,E]=o.value;Q=t.slice(A.length),_=E}else{let A;if(v)[A,te]=v.call(this,t);else{let O=t.indexOf(":");this.prefix=t.slice(0,O+1),A=t.slice(O+1)}F=[];let E=this,W=this.values,Y=[","];this.config.separators.length&&Y.push(...this.config.separators);let R="",C=0;(function O($,k,B,T=void 0,M=[],H=[],I){let V=T===void 0,X,oe=N=>N==="'"||N==='"',re=()=>X=R.length,J=()=>{if(R){let N=R,z=V?N:R.slice(X);if(R="",Z="",W&&z in W&&!M.includes(z)){let U=C;C=0,O(W[z].toString(),k,void 0,T,[...M,z],H,I),C=U,V||(R=R.slice(0,X)+R)}else if(j&&z in j&&!H.includes(z)){let U=C;C=0,O(j[z].toString(),k,void 0,T,M,[...H,z],I),C=U,V||(R=R.slice(0,X)+R)}else if(V){let U=!I&&E.analyzeUnitValue(z,k);F.push({value:U?.value??z,unit:U?.unit})}else{let U=!I&&E.analyzeUnitValue(z,k);R=U?N.slice(0,X)+U.value+U.unit:N}re()}},ee=oe(B);re();let Z="";for(;C<$.length;C++){let N=$[C];if(N===B){if(ee){R+=N;let z=0;for(let U=R.length-2;R[U]==="\\";U--)z++;if(z%2)continue}else J(),R+=N;return}else if(!ee&&N in se){let z=N==="("&&Z&&p?.[Z];z?.name&&(R=R.slice(0,R.length-Z.length)+z.name,Z=z.name),R+=N,C++;let U=se[N];O($,z?.unit??k,U,Z||T||"",M,H,I||!!z?.transform),z?.transform&&(R=R.slice(0,X+Z.length+1)+z.transform.call(E,R.slice(X+Z.length+1,-1))+R.slice(-1)),V&&(oe(U)?(F.push(R),R=""):J()),Z=""}else if((N==="|"||N===" ")&&B!=="}"&&(!ee||T==="path"))J(),V||(R+=" ",X++);else{if(!ee){if(N==="."){if(isNaN(+$[C+1]))break;$[C-1]==="-"&&(R+="0")}else if(Y.includes(N)){J(),V?F.push(N):(R+=N,X++);continue}else if(V&&(N==="#"&&(R||F.length&&$[C-1]!=="|"&&F[C-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(N)))break;Z+=N}R+=N}}T===void 0&&J()})(A,x),Q=A.slice(C)}this.order=typeof s=="function"?s.call(this,this.prefix):s,Q[0]==="!"&&(this.important=!0,Q=Q.slice(1));let q=A=>{let E=A.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((C,O)=>O%3?C:C.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),W=[],Y="",R=0;for(let C=0;C<E.length;C++){let O=E[C];if(O==="\\"){Y+=O+E[++C];continue}!R&&O===","?(W.push(Y),Y=""):(Y+=O,R&&O===")"?R--:O==="("&&R++)}return Y&&W.push(Y),W};this.prefixSelectors=te?q(te):[""];let K=Q.split("@"),ie=K[0];if(ie){this.vendorSuffixSelectors={};let A=(C,O,$,k)=>{for(let[B,T]of O)if(B.test(C)){for(let M of T)A(C.replace(B,M),O,$,!0);return}k&&$.push(C)},E=[];""in y?A(ie,y[""],E,!0):E.push(ie);let W={};for(let[C,O]of Object.entries(y)){if(!C)continue;let $=[];for(let k of E)A(k,O,$,!1);$.length&&(W[C]=$)}let Y=(C,O)=>{let $=O.reduce((k,B)=>(k.push(...q(B)),k),[]);C in this.vendorSuffixSelectors?this.vendorSuffixSelectors[C].push(...$):this.vendorSuffixSelectors[C]=$},R=Object.keys(W);if(R.length)for(let C of R)Y(C,W[C]);else Y("",E);for(let C of Object.values(this.vendorSuffixSelectors))for(let O of C){this.hasWhere!==!1&&(this.hasWhere=O.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let k=0;k<$.length;k++)if(O.includes($[k])){(this.priority===-1||this.priority>k)&&(this.priority=k);break}}}else this.vendorSuffixSelectors={"":[""]};for(let A=1;A<K.length;A++){let E=K[A];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let W,Y,R=Me.exec(E);if(R)W=R[1],Y=E.slice(W.length);else{this.media={token:E,features:{}};let C=[],O=k=>{if(k==="all"||k==="print"||k==="screen"||k==="speech")this.media.type=k;else if(k==="\u{1F5A8}")this.media.type="print";else if(k==="landscape"||k==="portrait")C.push("(orientation:"+k+")");else if(k==="motion"||k==="reduced-motion")C.push("(prefers-reduced-motion:"+(k==="motion"?"no-preference":"reduce")+")");else if(S&&k in S)C.push(S[k]);else{let B={token:k},T="",M="",H=0;k.startsWith("<=")?(M="<=",T="max-width"):k.startsWith(">=")||w[k]?(M=">=",T="min-width"):k.startsWith(">")?(M=">",T="min-width",H=.02):k.startsWith("<")&&(M="<",T="max-width",H=-.02);let I=M?k.replace(M,""):k,V=w[I];switch(T){case"max-width":case"min-width":V?Object.assign(B,this.analyzeUnitValue(V.toString(),"px")):Object.assign(B,this.analyzeUnitValue(I,"px")),B.unit==="px"&&(B.value+=H),this.media.features[T]=B,C.push("("+T+":"+(B.value+B.unit)+")");break}}},$=E.includes("&");if($){let k=E.split("&");for(let B of k)O(B)}else O(E);if(this.media.type&&(Y=this.media.type),C.length&&(Y=C.join(" and ")),Y)W="media";else if(!$){this.theme=E;continue}}Y&&(this.at[W]=(W in this.at?this.at[W]+" and ":"")+Y.replace(/\|/g," "))}}let ae=(A,E)=>{let W,Y=(O,$,k)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let T=this.prefixSelectors.map(I=>I+B),M=(I,V)=>T.map(X=>(I&&l!=="media"?l==="host"?`:host(.${I}) `:`.${I} `:"")+(m?m+" ":"")+X).reduce((X,oe)=>(X.push(k.reduce((re,J)=>(re.push(oe+"."+le(V)+J),re),[]).join(",")),X),[]).join(","),H=M($,t)+(L?L.reduce((I,V)=>I+","+M(this.theme??(d||G?$:""),V),""):"")+"{"+O+"}";for(let I of Object.keys(this.at).sort((V,X)=>X==="supports"?-1:1))H="@"+I+(I.includes(" ")?"":" ")+this.at[I]+"{"+H+"}";return $&&l==="media"&&(H=`@media(prefers-color-scheme:${$}){`+H+"}"),H},R=[];if(F){let O=[this.theme??A,""],$,k=!1;for(let B of F)if(typeof B=="string")R.push(B);else{let T=B.value;if(B.unit)T+=B.unit;else if(d&&f&&r){let M=!1;T=T.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(H,I,V,X)=>{let oe=f[V];if(oe){let re,J;for(let ee of O)if(re=oe[ee]){J=ee;break}if(re){M=!E||J===A,$||($=M);let ee=re;if(X){let Z=X.endsWith("%")?parseFloat(X)/100:+X;Z=isNaN(Z)?1:Math.min(Math.max(Z,0),1),ee+=Math.round(Z*255).toString(16).toUpperCase().padStart(2,"0")}return I+ee}else k=!0}return H})}R.push(T)}if(E&&(k||($===void 0?A:!$)))return;if(W=R.reduce((B,T,M)=>B+T+(T===","||F[M+1]===","||M===F.length-1?"":" "),""),b&&(W=b.call(this,W,this.css.config)),d&&W==="current"&&(W="currentColor"),g){let B,T;if(F.length===1){let M=F[0];typeof M=="object"&&(B=M.value,T=M.unit)}_=g.call(this,T?B:W,T||"")}else _={[u]:W}}let C={};for(let O in _){let $=(T,M)=>{if(i&&(M.startsWith("animation")||M.startsWith("animation-name"))){let I=M.split(":")[1].split("!important")[0].split(" ").filter(V=>V in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(V)));I.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...I))}let H=M+((this.important||h)&&!M.endsWith("!important")?"!important":"");T in C?C[T].push(H):C[T]=[H]},k=O+":",B=_[O];if(typeof B=="object")if(Array.isArray(B))for(let T of B)$(A,k+T.toString());else{G=!0;for(let T in B)$(T,k+B[T])}else $(A,k+B.toString())}for(let O of Object.values(this.vendorSuffixSelectors))for(let $ in C)this.natives.push({text:Y(C[$].join(";"),$,O),theme:$})};if(this.theme)ae(this.theme,!1);else if(d)for(let A of n)ae(A,!0);else ae("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(t=>t.text).join("")}resolveValue(t,o){return Number.isNaN(+t)?t:t/(o==="rem"||o==="em"?this.css.config.rootSize:1)+o}analyzeUnitValue(t,o){let a=o??this.config.unit;if(a){let x="",s=t.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(s)if(t.includes("/")){let[d,u]=t.split("/");return{value:+d/+u*100+"%",unit:x}}else{let d=+s[1];return x=s[3]||"",x||((a==="rem"||a==="em")&&(d=d/this.css.config.rootSize),x=a||""),{value:d,unit:x}}}}};var ye={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function ce(e){e.startsWith("#")&&(e=e.slice(1));let t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function me(e,t,o){return((1<<24)+(e<<16)+(t<<8)+o).toString(16).slice(1)}function D(e){typeof e=="string"&&(e={"":e});let t=""in e,o=!1;for(let a in e)if(a&&+a>=100){o=!0;break}if(!o&&(!t||Object.keys(e).length>1)){let a=0,x="0"in e?ce(e[0]):[0,0,0],s,d,u=[],v=()=>{let b=s-a,g=d.map((c,m)=>(c-x[m])/b);for(let c of u){let m=c-a,h=x.map((p,l)=>Math.round(p+g[l]*m));e[c]="#"+me.call(this,...h)}};for(let b=1;b<100;b++)b in e?(u.length?(s=b,d=ce(e[b]),v(),u.length=0,x=d):x=ce(e[b]),a=b):u.push(b);u.length&&(s=100,d="100"in e?ce(e[100]):[255,255,255],v())}return t||(e[""]=e[o?"500":"50"]),e}var we={black:"#000000",white:"#ffffff",slate:D({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:D({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:D({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:D({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:D({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:D({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:D({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:D({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:D({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:D({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:D({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:D({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:D({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:D({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:D({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:D({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:D({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:D({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:D({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:D({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var Ce="";var ke={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child(",":only":":only-child"};var Se={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"},fit:{width:"fit-content",height:"fit-content"}};var Ee={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},o=(b,g)=>{let c=g.indexOf(":");if(c!==-1){b in t||(t[b]={});let m=t[b],h=g.slice(0,c);h in m||(m[h]=g.slice(c+1))}},a=b=>{let g=(c,m)=>{let h=m.slice(le(b.className).length).match(/\{(.*)\}/)[1].split(";");for(let p of h)o(c,p)};if(this.theme){let c=b.natives.find(m=>m.theme===this.theme)??b.natives.find(m=>!m.theme);c&&g(this.theme,c.text)}else for(let c of b.natives)g(c.theme,c.text);if(b.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let c of b.keyframeNames)this.keyframeNames.includes(c)||this.keyframeNames.push(c)}},x=[],s="",d=()=>{s&&(x.push(s.replace(/ /g,"|")),s="")},u=1;(function b(g){for(;u<e.length;u++){let c=e[u];if(!g){if(c===";"){d();continue}if(c==="}")break}if(s+=c,g===c){if(g==="'"||g==='"'){let m=0;for(let h=s.length-2;s[h]==="\\";h--)m++;if(m%2)continue}break}else c in se&&g!=="'"&&g!=='"'&&(u++,b(se[c]))}})(void 0),d();for(let b of x){let g=this.css.create(b);if(Array.isArray(g))if(g.length)for(let c of g)a(c);else o(this.theme??"",b);else a(g)}let v={};for(let b in t)for(let[g,c]of Object.entries(t[b]))g in v?v[g][b]=c:v[g]={[b]:c};return v}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,o]=e.split(" x ");return{width:t,height:o}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,o]=e.split(" x ");return{"min-width":t,"min-height":o}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,o]=e.split(" x ");return{"max-width":t,"max-height":o}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},overflowY:{native:!0,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{native:!0,order:-1,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},userSelect:{native:!0,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-fill-color":e+t}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(e,t){return{"-webkit-text-stroke-width":e+t}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-stroke-color":e+t}}},textStroke:{unit:"rem",native:!0,declare(e,t){return{"-webkit-text-stroke":e+t}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(e){return[e.startsWith("transform")?e.slice(10):e]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-left":e,"border-right":e}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(e){if(e.startsWith("gradient"))return["linear-"+e];let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridColumns:{match:"^grid-cols:.",declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridRows:{match:"^grid-rows:.",declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},Re=Ee;var $e={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Be={$:{name:"var",transform(e){return"--"+e}},calc:{transform(e){let t=this.values,o=this.css.globalValues,a=this.css.config.functions,x=this,s=0,d="",u="";return function v(b,g){let c=!1,m=(h,p=!1,l=!1)=>{if(h!=="("&&(t&&u in t?u=t[u].toString():o&&u in o&&(u=o[u].toString())),u&&!c&&!g){let i=x.analyzeUnitValue(u,a.calc.unit);i&&(u=i.value+i.unit)}d+=u+(p&&e[s-1]!==" "?" ":"")+h+(l&&e[s+1]!==" "?" ":""),u="",c=!1};for(;s<e.length;s++){let h=e[s];if(h==="("){let p=u,l=c,i=d.length;if(m(h),s++,v(p,l||g),p!=="calc"){let n=a[p];if(n){let r=d.slice(i+2,d.length-1);d=d.slice(0,i-p.length+1)+(n.name??p)+"("+(n.transform?.(r)??r)+")"}}}else if(h===")"){m(h);break}else if(h===",")m(h,!1,!0);else if(h===" ")m(h);else{let p=e[s-1];switch(h){case"+":!u&&p!==")"?u+=h:m(h,!0,!0);break;case"-":b==="var"||!u&&p!==")"?u+=h:m(h,!0,!0);break;case"*":m(h,!0,!0);break;case"/":m(h,!0,!0),c=!0;break;default:u+=h;break}}}s>=e.length-1&&m("")}("",!1),d}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Te="class";var ue={breakpoints:ye,colors:we,rootSize:16,scope:Ce,selectors:ke,semantics:Se,rules:Re,override:!1,important:!1,functions:Be,keyframes:$e,themeDriver:Te};var Oe=[",",".","#","[","!","*",">","+","~",":","@"];var he="_CNO_",de=class e{constructor(t=ue){this.config=t;t?.override?this.config=this.getExtendedConfig(this.config):this.config=this.getExtendedConfig(ue,t),this.cache(),e.instances.push(this)}static root;static config=ue;static instances=[];static refresh=t=>{for(let o of this.instances)o.refresh(t)};rules=[];ruleBy={};countBy={};observing=!1;observer;colorByThemeByColorName;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:t,classes:o,selectors:a,colors:x,values:s,breakpoints:d,mediaQueries:u,rules:v}=this.config;function b(i){return i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function g(i,n,r="",f={}){let y=j=>j?(r?r+"-":"")+j:r,w=Object.entries(i),S=[],P=[];for(let j of w){let L=j[1];(typeof L=="object"&&!Array.isArray(L)?S:P).push(j)}for(let[j,L]of S)g(L,n,y(j),f);if(n&&r)P.length&&(f[r]=P.reduce((j,[L,_])=>(j[L]=_,j),{}));else for(let[j,L]of P)f[y(j)]=L;return f}function c(i){for(let[n,r]of Object.entries(i))/^[0-9]+x$/.test(n)&&typeof r=="number"&&(i["-"+n]=r*-1);return i}if(t)for(let[i,n]of Object.entries(g(t,!0)))this.semantics.push([new RegExp("^"+b(i)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[i,n]]);if(a)for(let[i,n]of Object.entries(g(a,!1))){let r=new RegExp(b(i)+"(?![a-z-])");for(let f of Array.isArray(n)?n:[n]){let y=f.match(/^::-[a-z]+-/m)?.[0]??"",w=this.selectors[y];w||(w=this.selectors[y]=[]);let S=w.find(([P])=>P===r);S||(S=[r,[]],w.push(S)),S[1].push(f)}}s&&(this.globalValues=c(g(s,!1))),d&&(this.breakpoints=g(d,!1)),u&&(this.mediaQueries=g(u,!1));let m=o?g(o,!1):{},h=Object.keys(m),p=i=>{if(Object.prototype.hasOwnProperty.call(this.classes,i))return;let n=this.classes[i]=[],r=m[i];if(!r)return;let f=r.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let y of f){let w=S=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,S)){let P=this.classesBy[S];P.includes(i)||P.push(i)}else this.classesBy[S]=[i];n.includes(S)||n.push(S)};if(h.includes(y)){p(y);for(let S of this.classes[y])w(S)}else w(y)}};for(let i of h)p(i);this.colorNames=Object.keys(x);let l=Object.entries(this.colorByThemeByColorName).reduce((i,[n,r])=>(i[n]=()=>{let f=(S,P)=>P?S.slice(0,7)+Math.round(255*+P).toString(16):S,y={};for(let S in r){let P=r[S].split(" ");for(let j of P){let L=j.lastIndexOf("@"),_=L!==-1?j.slice(0,L):j,G=L!==-1?j.slice(L+1):"",te=S.slice(1)||G;if(j.startsWith("#"))y[te]=_;else if(j.startsWith(he)){let[Q,F]=_.slice(he.length).split("/");if(Object.prototype.hasOwnProperty.call(l,Q)){let K=l[Q];delete l[Q],K()}let q=Object.prototype.hasOwnProperty.call(this.colorThemesMap,Q)&&this.colorThemesMap[Q];if(q)for(let K in q){let ie=q[K];y[K]=f(ie,F)}else console.error(`"${n}${S}: ${j}" is an invalid ".colors" config`)}else{let[Q,F]=_.split("@"),[q,K]=Q.split("/");if(Object.prototype.hasOwnProperty.call(l,q)){let ae=l[q];delete l[q],ae()}let ie=Object.prototype.hasOwnProperty.call(this.colorThemesMap,q)&&this.colorThemesMap[q][(S?G:F)||""];ie?y[te]=f(ie,K):console.error(`"${n}${S}: ${j}" is an invalid ".colors" config`)}}}let w=Object.keys(y);if(w.length){this.colorThemesMap[n]=y;for(let S of w)S&&!this.themeNames.includes(S)&&this.themeNames.push(S)}delete l[n]},i),{});for(let i of Object.keys(l))l[i]?.();if(v)for(let i in v){let n=v[i],{native:r,values:f,colored:y}=n,w=n.match;if(n.id=i,n.native=r===!0?i.replace(/(?!^)[A-Z]/g,S=>"-"+S).toLowerCase():void 0,f&&(this.values[i]=c(g(f,!1))),w){let S=Object.keys(this.values[i]??{});w.includes("$values")&&(w=S.length?w.replace(/\$values/,S.join("|")):w.replace(/(?:\|)?\$values/,"")),y&&w.includes("$colors")&&(w=this.colorNames.length?w.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):w.replace(/(?:\|)?\$colors/,"")),this.matches[i]=new RegExp(w)}}}observe(t,o={subtree:!0,childList:!0}){if(typeof window<"u"){if(t||(t=document),this.root===t)return this;this.root=t;let a=t===document;a&&(e.root=this),this.host=a?document.documentElement:this.root.host;let x=a?document.head:t,s=a?document.styleSheets:t.styleSheets;for(let u of s){let{ownerNode:v}=u;if(v&&v.id==="master"){this.style=v;break}}if(this.style)for(let u=0;u<this.style.sheet.cssRules.length;u++){let v=this.style.sheet.cssRules[u];if(v.constructor.name==="CSSKeyframesRule")continue;let b=c=>{if(c.selectorText){let h=c.selectorText.split(", ")[0].split(" ");for(let p=0;p<h.length;p++){let l=h[p];if(l[0]==="."){let i=l.slice(1),n="";for(let r=0;r<i.length;r++){let f=i[r],y=i[r+1];if(f==="\\"){if(r++,y!=="\\"){n+=y;continue}}else if(Oe.includes(f))break;n+=f}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,n)&&!Object.prototype.hasOwnProperty.call(this.classes,n)){let r=this.create(n)[0];if(r)return r}}}}else if(c.cssRules)for(let m=0;m<c.cssRules.length;m++){let h=b(c.cssRules[m]);if(h)return h}},g=b(v);if(g){this.rules.push(g),this.ruleBy[g.className]=g;for(let c=0;c<g.natives.length;c++)g.natives[c].cssRule=this.style.sheet.cssRules[u+c];u+=g.natives.length-1,g.config.insert?.call(g)}}else this.style=document.createElement("style"),this.style.id="master",x.append(this.style);let d=u=>{u.forEach(v=>{Object.prototype.hasOwnProperty.call(this.countBy,v)?this.countBy[v]++:(this.countBy[v]=1,this.insert(v))})};d(this.host.classList),o.subtree&&this.host.querySelectorAll("[class]").forEach(u=>d(u.classList)),this.observer=new MutationObserver(u=>{let v={},b=[],g=[],c=[],m=(i,n)=>{n?i.classList.forEach(p):i.classList.forEach(h);let r=i.children;for(let f=0;f<r.length;f++){let y=r[f];y.classList&&(g.push(y),m(y,n))}},h=i=>{Object.prototype.hasOwnProperty.call(v,i)?v[i]++:v[i]=1},p=i=>{Object.prototype.hasOwnProperty.call(v,i)?v[i]--:Object.prototype.hasOwnProperty.call(this.countBy,i)&&(v[i]=-1)},l=(i,n)=>{for(let r=0;r<i.length;r++){let f=i[r];f.classList&&!g.includes(f)&&!c.includes(f)&&(f.isConnected!==n?(g.push(f),m(f,n)):c.push(f))}};for(let i=0;i<u.length;i++){let n=u[i],{addedNodes:r,removedNodes:f,type:y,target:w}=n;if(y==="attributes"){if(b.find(S=>S.target===w))continue;b.push(n)}else l(r,!1),(!w.isConnected||!g.includes(w))&&l(f,!0)}if(!(!b.length&&!Object.keys(v).length)){for(let{oldValue:i,target:n}of b){let r=g.includes(n),f=n.classList,y=i?i.split(" "):[];if(r){if(n.isConnected)continue;for(let w of y)f.contains(w)||p(w)}else if(n.isConnected){f.forEach(w=>{y.includes(w)||h(w)});for(let w of y)f.contains(w)||p(w)}}for(let i in v){let n=v[i],r=(this.countBy[i]||0)+n;r===0?(delete this.countBy[i],this.delete(i)):(Object.prototype.hasOwnProperty.call(this.countBy,i)||this.insert(i),this.countBy[i]=r)}}}),this.observer.observe(t,{...o,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let t=this.style?.sheet;if(t?.cssRules)for(let o=t.cssRules.length-1;o>=0;o--)t.deleteRule(o);this.style?.remove(),this.style=null,this.root=null}match(t){for(let o in this.config.rules){let a=this.config.rules[o],x=this.matches[o],{native:s}=a;if(x&&x.test(t))return{origin:"match",config:a};if(s&&t.startsWith(s+":"))return{origin:"match",config:a}}for(let o of this.semantics)if(t.match(o[0]))return{origin:"semantics",value:o[1]}}create(t){let o=a=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,a))return this.ruleBy[a];let x=this.match(a);if(x)return new fe(a,x,this)};return(Object.prototype.hasOwnProperty.call(this.classes,t)?this.classes[t].map(a=>o(a)):[o(t)]).filter(a=>a&&a.text)}refresh(t){if(t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(ue,t),this.cache(),!this.style)return;let o=document.createElement("style");o.id="master",this.style.replaceWith(o),this.style=o,this.rules.length=0,this.ruleBy={};for(let a in this.countBy)this.insert(a)}destroy(){let t=e.instances;this.disconnect(),t.splice(t.indexOf(this),1)}delete(t){let o=this.style?.sheet,a=x=>{let s=this.ruleBy[x];if(!(!s||Object.prototype.hasOwnProperty.call(this.classesBy,x)&&this.classesBy[x].some(d=>Object.prototype.hasOwnProperty.call(this.countBy,d)))){if(o&&s.natives.length){let d=s.natives[0];for(let u=0;u<o.cssRules.length;u++)if(o.cssRules[u]===d.cssRule){for(let b=0;b<s.natives.length;b++)o.deleteRule(u);break}}if(this.rules.splice(this.rules.indexOf(s),1),delete this.ruleBy[x],s.keyframeNames){let d=this.rules[0];for(let u of s.keyframeNames){let v=this.keyframes[u];if(!--v.count){let b=d.natives.indexOf(v.native);this.style.sheet.deleteRule(b),d.natives.splice(b,1),delete this.keyframes[u]}}d.natives.length||this.rules.splice(0,1)}s.config.delete?.call(s,x)}};if(Object.prototype.hasOwnProperty.call(this.classes,t)){for(let x of this.classes[t])Object.prototype.hasOwnProperty.call(this.countBy,x)||a(x);delete this.ruleBy[t]}else a(t)}insert(t){let o=this.create(t);return o.length?(this.insertRules(o),!0):!1}insertRules(t){for(let o of t){if(this.ruleBy[o.className])continue;let a,x=Object.keys(this.keyframes).length,s=this.rules.length-1,{media:d,order:u,priority:v,hasWhere:b,className:g}=o,c=(p,l,i)=>{let n=p;for(;n<=s;n++){let r=this.rules[n];if(l?.(r))return i?-1:n-1;if(i?.(r))return n}return i?-1:n-1},m,h;if(d){let p=this.rules.findIndex(l=>l.media);if(p===-1)a=s+1;else{let{"max-width":l,"min-width":i}=d.features;if(l||i){let n=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(n===-1)a=s+1;else if(l&&i){if(v===-1?(m=c(n,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.priority!==-1)):(m=c(n,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=s),m!==-1){let r=l.value-i.value,f=h,y=m;for(m=void 0;f>=y;f--){let{"max-width":w,"min-width":S}=this.rules[f].media.features,P=w.value-S.value;if(P<r)h=f-1;else if(P===r)m=f;else break}}if(m!==-1){let r=l.value-i.value;for(let f=h;f>=m;f--){let{"max-width":y,"min-width":w}=this.rules[f].media.features,S=y.value-w.value;if(S<r)h=f-1;else if(S>r){m=f+1;break}}}}else if(i){if(v===-1?(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["min-width"].value;if(f>i.value)h=r-1;else if(f<i.value){m=r+1;break}}}else if(v===-1?(m=c(n,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),h=c(n,r=>r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["max-width"].value;if(f<l.value)h=r-1;else if(f>l.value){m=r+1;break}}}else v===-1?(m=p,h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]||n.priority!==-1)):(m=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"],n=>n.priority!==-1),h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]))}}else{let p=x?1:0;v===-1?(m=p,h=c(p,l=>l.media||l.priority!==-1)):(m=c(p,l=>l.media,l=>l.priority!==-1),h=c(p,l=>l.media))}if(a===void 0)if(m===-1)a=h+1;else{if(v===-1)for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!b&&l.hasWhere)&&(b&&!l.hasWhere||l.order>=u)){a=p;break}}else for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!b&&l.hasWhere)){if(b&&!l.hasWhere){a=p;break}if(l.priority<v){a=p;break}else if(l.priority===v){if(l.order>=u){a=p;break}}else a=p+1}}a===void 0&&(a=h+1)}if(this.rules.splice(a,0,o),this.ruleBy[g]=o,this.style){let p=this.style.sheet,l=0,i=n=>{let r=this.rules[n];if(r){if(!r.natives.length)return i(n-1);let f=r.natives[r.natives.length-1].cssRule;for(let y=0;y<p.cssRules.length;y++)if(p.cssRules[y]===f){l=y+1;break}}};i(a-1);for(let n=0;n<o.natives.length;)try{let r=o.natives[n];p.insertRule(r.text,l),r.cssRule=p.cssRules[l++],n++}catch(r){console.error(r),o.natives.splice(n,1)}}if(o.keyframeNames){let p=this.style?.sheet;for(let l of o.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,l))this.keyframes[l].count++;else{let i={text:`@keyframes ${l}{`+Object.entries(this.config.keyframes[l]).map(([r,f])=>`${r}{${Object.entries(f).map(([y,w])=>y+":"+w).join(";")}}`).join("")+"}",theme:""},n;if(Object.keys(this.keyframes).length?(n=this.rules[0]).natives.push(i):this.rules.splice(0,0,n={natives:[i],get text(){return this.natives.map(r=>r.text).join("")}}),p){let r;for(let f=0;f<p.cssRules.length;f++){let y=p.cssRules[f];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===l){r=y;break}}if(r)i.cssRule=r;else{let f=n.natives.length-1;p.insertRule(i.text,f),i.cssRule=p.cssRules[f]}}this.keyframes[l]={native:i,count:1}}}o.config.insert?.call(o)}}get text(){return this.rules.map(t=>t.text).join("")}getExtendedConfig(...t){this.colorByThemeByColorName={};let o=s=>{let d=ne({},s),u=v=>{for(let b in v){let g=v[b];typeof g=="object"&&!Array.isArray(g)?u(g):b&&(v[b]={"":g})}};if(d.classes?u(d.classes):d.classes={},d.breakpoints?u(d.breakpoints):d.breakpoints={},d.mediaQueries?u(d.mediaQueries):d.mediaQueries={},d.selectors?u(d.selectors):d.selectors={},d.values?u(d.values):d.values={},d.colors){let v=(b,g)=>{let c=(l,i,n)=>{Object.prototype.hasOwnProperty.call(this.colorByThemeByColorName,l)||(this.colorByThemeByColorName[l]={});let r=this.colorByThemeByColorName[l],f=r[""]?.includes(he),y=w=>w.replace(/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,(S,P,j,L,_)=>{let G="#"+me(+P,+j,+L);return _&&(G+=Math.round(255*+_).toString(16)),G});for(let[w,S]of i)if(S){let P=/(?:^| )(?:(rgba?\(.*?\).*?)|([^ ]+))(?= |$)/g,j;for(;(j=P.exec(S))!==null;){let L=j[0].trimStart(),_=L.lastIndexOf("@"),G=_!==-1?L.slice(0,_):L,te=_!==-1?L.slice(_):"",Q=w||te,F=n&&j[2]&&!j[2].startsWith("#")&&!te,q=j[1]?y(G):w?j[0]:G;if(f||F){Object.prototype.hasOwnProperty.call(r,"")||(r[""]="");for(let K in r)K&&(r[""]+=" "+r[K],delete r[K]);r[""]+=(r[""]?" ":"")+(F?he:"")+q+Q}else r[Q]=q;if(w)break}}else if(n){delete this.colorByThemeByColorName[l];return}else delete r[w];Object.keys(r).length||delete this.colorByThemeByColorName[l]},m=Object.entries(b),h=m.filter(([l])=>l===""||l.startsWith("@"));h.length&&c(g,h,!1);let p=m.filter(([l])=>l!==""&&!l.startsWith("@"));for(let[l,i]of p){let n=(g?g+"-":"")+l;typeof i=="string"?c(n,[["",i]],!0):v(i,n)}};v(d.colors,"")}return d},a=[];for(let s of t)(function d(u){if(u.extends?.length)for(let v of u.extends)d("config"in v?v.config:v);a.push(o(u))})(s);let x=a[0];for(let s=1;s<a.length;s++){let d=a[s];x=ne(x,d),Object.prototype.hasOwnProperty.call(d,"keyframes")&&Object.assign(x.keyframes,d.keyframes)}return x}};typeof window<"u"&&(window.MasterCSS=de);function ge(e,t){return new de(e).observe(t)}ge(window.masterCSSConfig);})();
@@ -1,4 +1,4 @@
1
- var pe=Object.defineProperty;var De=Object.getOwnPropertyDescriptor;var Ye=Object.getOwnPropertyNames;var Fe=Object.prototype.hasOwnProperty;var Xe=(t,e)=>{for(var i in e)pe(t,i,{get:e[i],enumerable:!0})},Ve=(t,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let h of Ye(e))!Fe.call(t,h)&&h!==i&&pe(t,h,{get:()=>e[h],enumerable:!(s=De(e,h))||s.enumerable});return t};var _e=t=>Ve(pe({},"__esModule",{value:!0}),t);var qe={};Xe(qe,{CONFIG_ESM_TEXT:()=>Pe,CONFIG_TEXT:()=>ze,CONFIG_TS_TEXT:()=>Ae,MasterCSS:()=>K,Rule:()=>ie,breakpoints:()=>be,colors:()=>ve,config:()=>ne,default:()=>K,extend:()=>q,extractClassesFromHTML:()=>le,fillColorScale:()=>z,functions:()=>Te,generateFromClasses:()=>ce,generateFromHTML:()=>oe,important:()=>Re,initRuntime:()=>Be,keyframes:()=>$e,override:()=>ke,renderHTML:()=>Oe,rootSize:()=>xe,rules:()=>Ce,scope:()=>ye,selectors:()=>we,semantics:()=>Se,themeDriver:()=>Me});module.exports=_e(qe);function Ie(t){let e=typeof Buffer<"u"?Buffer:null;return!!(e&&t instanceof e||t instanceof Date||t instanceof RegExp)}function Le(t){if(typeof Buffer<"u"&&Buffer&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function Ne(t){let e=[];return t.forEach(function(i,s){typeof i=="object"&&i!==null?Array.isArray(i)?e[s]=Ne(i):Ie(i)?e[s]=Le(i):e[s]=q({},i):e[s]=i}),e}function Ee(t,e){return e==="__proto__"?void 0:t[e]}function q(...t){let e={},i,s;return t.forEach(function(h){typeof h!="object"||h===null||Array.isArray(h)||Object.keys(h).forEach(function(o){if(s=Ee(e,o),i=Ee(h,o),i!==e)if(typeof i!="object"||i===null){e[o]=i;return}else if(Array.isArray(i)){e[o]=Ne(i);return}else if(Ie(i)){e[o]=Le(i);return}else if(typeof s!="object"||s===null||Array.isArray(s)){e[o]=q({},i);return}else{e[o]=q(s,i);return}})}),e}var re={"(":")","'":"'",'"':'"',"{":"}"};function se(t){if(typeof CSS<"u")return CSS.escape(t);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let e=String(t),i=e.length,s=-1,h="",o,v=e.charCodeAt(0);if(i==1&&v==45)return"\\"+e;for(;++s<i;){if(o=e.charCodeAt(s),o==0){h+="\uFFFD";continue}if(o>=1&&o<=31||o==127||s==0&&o>=48&&o<=57||s==1&&o>=48&&o<=57&&v==45){h+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){h+=e.charAt(s);continue}h+="\\"+e.charAt(s)}return h}var He={unit:"",order:0,separators:[","]},Qe=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,ie=class{constructor(e,i={},s){this.className=e;this.meta=i;this.css=s;this.config=q(He,i.config);let{unit:h,order:o,colored:v,native:c,analyze:b,transform:p,declare:u,create:l}=this.config,{scope:d,important:f,functions:g,themeDriver:x,keyframes:m}=s.config,{themeNames:n,colorNames:r,colorThemesMap:a,selectors:y,breakpoints:C,mediaQueries:R,classesBy:O,globalValues:F}=s,_=O[e];l&&l.call(this,e);let Q,ue,fe,te,U;if(i.origin==="semantics"){let[N,E]=i.value;te=e.slice(N.length),Q=E}else{let N;if(b)[N,fe]=b.call(this,e);else{let B=e.indexOf(":");this.prefix=e.slice(0,B+1),N=e.slice(B+1)}U=[];let E=this,I=this.values,A=[","];this.config.separators.length&&A.push(...this.config.separators);let k="",w=0;(function B($,S,T,M=void 0,j=[],X=[],L){let D=M===void 0,Y,ee=W=>W==="'"||W==='"',J=()=>Y=k.length,G=()=>{if(k){let W=k,P=D?W:k.slice(Y);if(k="",H="",I&&P in I&&!j.includes(P)){let V=w;w=0,B(I[P].toString(),S,void 0,M,[...j,P],X,L),w=V,D||(k=k.slice(0,Y)+k)}else if(F&&P in F&&!X.includes(P)){let V=w;w=0,B(F[P].toString(),S,void 0,M,j,[...X,P],L),w=V,D||(k=k.slice(0,Y)+k)}else if(D){let V=!L&&E.analyzeUnitValue(P,S);U.push({value:V?.value??P,unit:V?.unit})}else{let V=!L&&E.analyzeUnitValue(P,S);k=V?W.slice(0,Y)+V.value+V.unit:W}J()}},Z=ee(T);J();let H="";for(;w<$.length;w++){let W=$[w];if(W===T){if(Z){k+=W;let P=0;for(let V=k.length-2;k[V]==="\\";V--)P++;if(P%2)continue}else G(),k+=W;return}else if(!Z&&W in re){let P=W==="("&&H&&g?.[H];P?.name&&(k=k.slice(0,k.length-H.length)+P.name,H=P.name),k+=W,w++;let V=re[W];B($,P?.unit??S,V,H||M||"",j,X,L||!!P?.transform),P?.transform&&(k=k.slice(0,Y+H.length+1)+P.transform.call(E,k.slice(Y+H.length+1,-1))+k.slice(-1)),D&&(ee(V)?(U.push(k),k=""):G()),H=""}else if((W==="|"||W===" ")&&T!=="}"&&(!Z||M==="path"))G(),D||(k+=" ",Y++);else{if(!Z){if(W==="."){if(isNaN(+$[w+1]))break;$[w-1]==="-"&&(k+="0")}else if(A.includes(W)){G(),D?U.push(W):(k+=W,Y++);continue}else if(D&&(W==="#"&&(k||U.length&&$[w-1]!=="|"&&U[w-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(W)))break;H+=W}k+=W}}M===void 0&&G()})(N,h),te=N.slice(w)}this.order=typeof o=="function"?o.call(this,this.prefix):o,te[0]==="!"&&(this.important=!0,te=te.slice(1));let je=N=>{let E=N.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((w,B)=>B%3?w:w.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),I=[],A="",k=0;for(let w=0;w<E.length;w++){let B=E[w];if(B==="\\"){A+=B+E[++w];continue}!k&&B===","?(I.push(A),A=""):(A+=B,k&&B===")"?k--:B==="("&&k++)}return A&&I.push(A),I};this.prefixSelectors=fe?je(fe):[""];let me=te.split("@"),he=me[0];if(he){this.vendorSuffixSelectors={};let N=(w,B,$,S)=>{for(let[T,M]of B)if(T.test(w)){for(let j of M)N(w.replace(T,j),B,$,!0);return}S&&$.push(w)},E=[];""in y?N(he,y[""],E,!0):E.push(he);let I={};for(let[w,B]of Object.entries(y)){if(!w)continue;let $=[];for(let S of E)N(S,B,$,!1);$.length&&(I[w]=$)}let A=(w,B)=>{let $=B.reduce((S,T)=>(S.push(...je(T)),S),[]);w in this.vendorSuffixSelectors?this.vendorSuffixSelectors[w].push(...$):this.vendorSuffixSelectors[w]=$},k=Object.keys(I);if(k.length)for(let w of k)A(w,I[w]);else A("",E);for(let w of Object.values(this.vendorSuffixSelectors))for(let B of w){this.hasWhere!==!1&&(this.hasWhere=B.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let S=0;S<$.length;S++)if(B.includes($[S])){(this.priority===-1||this.priority>S)&&(this.priority=S);break}}}else this.vendorSuffixSelectors={"":[""]};for(let N=1;N<me.length;N++){let E=me[N];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let I,A,k=Qe.exec(E);if(k)I=k[1],A=E.slice(I.length);else{this.media={token:E,features:{}};let w=[],B=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")w.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")w.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else if(R&&S in R)w.push(R[S]);else{let T={token:S},M="",j="",X=0;S.startsWith("<=")?(j="<=",M="max-width"):S.startsWith(">=")||C[S]?(j=">=",M="min-width"):S.startsWith(">")?(j=">",M="min-width",X=.02):S.startsWith("<")&&(j="<",M="max-width",X=-.02);let L=j?S.replace(j,""):S,D=C[L];switch(M){case"max-width":case"min-width":D?Object.assign(T,this.analyzeUnitValue(D.toString(),"px")):Object.assign(T,this.analyzeUnitValue(L,"px")),T.unit==="px"&&(T.value+=X),this.media.features[M]=T,w.push("("+M+":"+(T.value+T.unit)+")");break}}},$=E.includes("&");if($){let S=E.split("&");for(let T of S)B(T)}else B(E);if(this.media.type&&(A=this.media.type),w.length&&(A=w.join(" and ")),A)I="media";else if(!$){this.theme=E;continue}}A&&(this.at[I]=(I in this.at?this.at[I]+" and ":"")+A.replace(/\|/g," "))}}let ge=(N,E)=>{let I,A=(B,$,S)=>{let T="";this.direction&&(T+="[dir="+this.direction+"] ");let M=this.prefixSelectors.map(L=>L+T),j=(L,D)=>M.map(Y=>(L&&x!=="media"?x==="host"?`:host(.${L}) `:`.${L} `:"")+(d?d+" ":"")+Y).reduce((Y,ee)=>(Y.push(S.reduce((J,G)=>(J.push(ee+"."+se(D)+G),J),[]).join(",")),Y),[]).join(","),X=j($,e)+(_?_.reduce((L,D)=>L+","+j(this.theme??(v||ue?$:""),D),""):"")+"{"+B+"}";for(let L of Object.keys(this.at).sort((D,Y)=>Y==="supports"?-1:1))X="@"+L+(L.includes(" ")?"":" ")+this.at[L]+"{"+X+"}";return $&&x==="media"&&(X=`@media(prefers-color-scheme:${$}){`+X+"}"),X},k=[];if(U){let B=[this.theme??N,""],$,S=!1;for(let T of U)if(typeof T=="string")k.push(T);else{let M=T.value;if(T.unit)M+=T.unit;else if(v&&a&&r){let j=!1;M=M.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(X,L,D,Y)=>{let ee=a[D];if(ee){let J,G;for(let Z of B)if(J=ee[Z]){G=Z;break}if(J){j=!E||G===N,$||($=j);let Z=J;if(Y){let H=Y.endsWith("%")?parseFloat(Y)/100:+Y;H=isNaN(H)?1:Math.min(Math.max(H,0),1),Z+=Math.round(H*255).toString(16).toUpperCase().padStart(2,"0")}return L+Z}else S=!0}return X})}k.push(M)}if(E&&(S||($===void 0?N:!$)))return;if(I=k.reduce((T,M,j)=>T+M+(M===","||U[j+1]===","||j===U.length-1?"":" "),""),p&&(I=p.call(this,I,this.css.config)),v&&I==="current"&&(I="currentColor"),u){let T,M;if(U.length===1){let j=U[0];typeof j=="object"&&(T=j.value,M=j.unit)}Q=u.call(this,M?T:I,M||"")}else Q={[c]:I}}let w={};for(let B in Q){let $=(M,j)=>{if(m&&(j.startsWith("animation")||j.startsWith("animation-name"))){let L=j.split(":")[1].split("!important")[0].split(" ").filter(D=>D in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(D)));L.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...L))}let X=j+((this.important||f)&&!j.endsWith("!important")?"!important":"");M in w?w[M].push(X):w[M]=[X]},S=B+":",T=Q[B];if(typeof T=="object")if(Array.isArray(T))for(let M of T)$(N,S+M.toString());else{ue=!0;for(let M in T)$(M,S+T[M])}else $(N,S+T.toString())}for(let B of Object.values(this.vendorSuffixSelectors))for(let $ in w)this.natives.push({text:A(w[$].join(";"),$,B),theme:$})};if(this.theme)ge(this.theme,!1);else if(v)for(let N of n)ge(N,!0);else ge("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(e=>e.text).join("")}resolveValue(e,i){return Number.isNaN(+e)?e:e/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(e,i){let s=i??this.config.unit;if(s){let h="",o=e.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(o)if(e.includes("/")){let[v,c]=e.split("/");return{value:+v/+c*100+"%",unit:h}}else{let v=+o[1];return h=o[3]||"",h||((s==="rem"||s==="em")&&(v=v/this.css.config.rootSize),h=s||""),{value:v,unit:h}}}}};var be={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function ae(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function de(t,e,i){return((1<<24)+(t<<16)+(e<<8)+i).toString(16).slice(1)}function z(t){typeof t=="string"&&(t={"":t});let e=""in t,i=!1;for(let s in t)if(s&&+s>=100){i=!0;break}if(!i&&(!e||Object.keys(t).length>1)){let s=0,h="0"in t?ae(t[0]):[0,0,0],o,v,c=[],b=()=>{let p=o-s,u=v.map((l,d)=>(l-h[d])/p);for(let l of c){let d=l-s,f=h.map((g,x)=>Math.round(g+u[x]*d));t[l]="#"+de.call(this,...f)}};for(let p=1;p<100;p++)p in t?(c.length?(o=p,v=ae(t[p]),b(),c.length=0,h=v):h=ae(t[p]),s=p):c.push(p);c.length&&(o=100,v="100"in t?ae(t[100]):[255,255,255],b())}return e||(t[""]=t[i?"500":"50"]),t}var ve={black:"#000000",white:"#ffffff",slate:z({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:z({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:z({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:z({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:z({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:z({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:z({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:z({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:z({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:z({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:z({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:z({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:z({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:z({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:z({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:z({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:z({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:z({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:z({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:z({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var xe=16;var ye="";var we={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("};var Se={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"}};var Ue={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(t){let e=0;for(;e<t.length&&!(t[e]==="{"&&t[e-1]!=="\\");e++);return[t.slice(e),t.slice(0,e)]},declare(t){let e={},i=(p,u)=>{let l=u.indexOf(":");if(l!==-1){p in e||(e[p]={});let d=e[p],f=u.slice(0,l);f in d||(d[f]=u.slice(l+1))}},s=p=>{let u=(l,d)=>{let f=d.slice(se(p.className).length).match(/\{(.*)\}/)[1].split(";");for(let g of f)i(l,g)};if(this.theme){let l=p.natives.find(d=>d.theme===this.theme)??p.natives.find(d=>!d.theme);l&&u(this.theme,l.text)}else for(let l of p.natives)u(l.theme,l.text);if(p.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let l of p.keyframeNames)this.keyframeNames.includes(l)||this.keyframeNames.push(l)}},h=[],o="",v=()=>{o&&(h.push(o.replace(/ /g,"|")),o="")},c=1;(function p(u){for(;c<t.length;c++){let l=t[c];if(!u){if(l===";"){v();continue}if(l==="}")break}if(o+=l,u===l){if(u==="'"||u==='"'){let d=0;for(let f=o.length-2;o[f]==="\\";f--)d++;if(d%2)continue}break}else l in re&&u!=="'"&&u!=='"'&&(c++,p(re[l]))}})(void 0),v();for(let p of h){let u=this.css.create(p);if(Array.isArray(u))if(u.length)for(let l of u)s(l);else i(this.theme??"",p);else s(u)}let b={};for(let p in e)for(let[u,l]of Object.entries(e[p]))u in b?b[u][p]=l:b[u]={[p]:l};return b}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(t){return{["--"+this.prefix.slice(1,-1)]:t}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(t){switch(t){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(t,e){return{"margin-left":t+e,"margin-right":t+e}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(t,e){return{"margin-top":t+e,"margin-bottom":t+e}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(t,e){return{"padding-left":t+e,"padding-right":t+e}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(t,e){return{"padding-top":t+e,"padding-bottom":t+e}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t]},declare(t){let[e,i]=t.split(" x ");return{width:e,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"min-width":e,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(t){return[t.slice(4)]},declare(t){let[e,i]=t.split(" x ");return{"max-width":e,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(t,e){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":t+e}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(t,e){return t==="overlay"?{"overflow-x":["auto",t]}:{"overflow-x":t}}},overflowY:{native:!0,declare(t,e){return t==="overlay"?{"overflow-y":["auto",t]}:{"overflow-y":t}}},overflow:{native:!0,order:-1,declare(t,e){return t==="overlay"?{overflow:["auto",t]}:{overflow:t}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(t,e){return{"user-drag":t+e,"-webkit-user-drag":t+e}}},userSelect:{native:!0,declare(t,e){return{"user-select":t+e,"-webkit-user-select":t+e}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(t,e){return{"font-size":t+e,"line-height":e==="em"?t+.875+e:`calc(${t}${e} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-fill-color":t+e}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(t,e){return{"-webkit-text-stroke-width":t+e}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"-webkit-text-stroke-color":t+e}}},textStroke:{unit:"rem",native:!0,declare(t,e){return{"-webkit-text-stroke":t+e}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(t){return[t.startsWith("transform")?t.slice(10):t]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(t){if(t.startsWith("~"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(t){if(t.startsWith("@"))return[t.slice(1)];{let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-left-color":t+e,"border-right-color":t+e}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(t,e){return{"border-top-color":t+e,"border-bottom-color":t+e}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-top-right-radius":t+e}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(t,e){return{"border-bottom-left-radius":t+e,"border-bottom-right-radius":t+e}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-left-radius":t+e,"border-bottom-left-radius":t+e}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(t,e){return{"border-top-right-radius":t+e,"border-bottom-right-radius":t+e}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-left-style":t+e,"border-right-style":t+e}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(t,e){return{"border-top-style":t+e,"border-bottom-style":t+e}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-left-width":t+e,"border-right-width":t+e}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(t,e){return{"border-top-width":t+e,"border-bottom-width":t+e}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-left":t,"border-right":t}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(t){return{"border-top":t,"border-bottom":t}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(t,e){return{"-webkit-background-clip":t+e,"background-clip":t+e}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(t){if(t.startsWith("gradient"))return["linear-"+t];let e=t.indexOf(":");return this.prefix=t.slice(0,e+1),[t.slice(e+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(t,e){return{"backdrop-filter":t+e,"-webkit-backdrop-filter":t+e}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridColumns:{match:"^grid-cols:.",declare(t,e){return{display:"grid","grid-template-columns":"repeat("+t+e+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}},gridRows:{match:"^grid-rows:.",declare(t,e){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+t+e+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(t,e){return{"box-decoration-break":t+e,"-webkit-box-decoration-break":t+e}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-left":t+e,"scroll-margin-right":t+e}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-margin-top":t+e,"scroll-margin-bottom":t+e}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-left":t+e,"scroll-padding-right":t+e}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(t,e){return{"scroll-padding-top":t+e,"scroll-padding-bottom":t+e}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(t,e){return{"mask-image":t+e,"-webkit-mask-image":t+e}}}},Ce=Ue;var ke=!1;var Re=!1;var $e={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Te={$:{name:"var",transform(t){return"--"+t}},calc:{transform(t){let e=this.values,i=this.css.globalValues,s=this.css.config.functions,h=this,o=0,v="",c="";return function b(p,u){let l=!1,d=(f,g=!1,x=!1)=>{if(f!=="("&&(e&&c in e?c=e[c].toString():i&&c in i&&(c=i[c].toString())),c&&!l&&!u){let m=h.analyzeUnitValue(c,s.calc.unit);m&&(c=m.value+m.unit)}v+=c+(g&&t[o-1]!==" "?" ":"")+f+(x&&t[o+1]!==" "?" ":""),c="",l=!1};for(;o<t.length;o++){let f=t[o];if(f==="("){let g=c,x=l,m=v.length;if(d(f),o++,b(g,x||u),g!=="calc"){let n=s[g];if(n){let r=v.slice(m+2,v.length-1);v=v.slice(0,m-g.length+1)+(n.name??g)+"("+(n.transform?.(r)??r)+")"}}}else if(f===")"){d(f);break}else if(f===",")d(f,!1,!0);else if(f===" ")d(f);else{let g=t[o-1];switch(f){case"+":!c&&g!==")"?c+=f:d(f,!0,!0);break;case"-":p==="var"||!c&&g!==")"?c+=f:d(f,!0,!0);break;case"*":d(f,!0,!0);break;case"/":d(f,!0,!0),l=!0;break;default:c+=f;break}}}o>=t.length-1&&d("")}("",!1),v}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Me="class";var ne={breakpoints:be,colors:ve,rootSize:16,scope:ye,selectors:we,semantics:Se,rules:Ce,override:!1,important:!1,functions:Te,keyframes:$e,themeDriver:Me};var We=[",",".","#","[","!","*",">","+","~",":","@"];var K=class t{constructor(e=ne){this.config=e;if(!e?.override){let i=h=>{let o=q({},h),v=(c,b)=>{for(let p in c){let u=c[p];typeof u=="object"&&!Array.isArray(u)?v(u,b):b?b(p,u,c):p&&(c[p]={"":u})}};return v(o.classes),v(o.colors,(c,b,p)=>{if(c.startsWith("@"))return b;let u={},l=/(?:rgba?\(.*?\).*?(?= |$))|(?:[^ ]+)(?= |$)/g,d;for(;(d=l.exec(b))!==null;){let[f,g]=d[0].split("@");u[g?"@"+g:""]=f}c?p[c]=u:(Object.assign(p,u),Object.prototype.hasOwnProperty.call(u,"")||delete p[c])}),v(o.breakpoints),v(o.mediaQueries),v(o.selectors),v(o.values),o},s=(h,o)=>{let v=o.extends?.length?q({},o,...o.extends.map(b=>s(o,"config"in b?b.config:b))):o,c=q(i(h),i(v));return Object.prototype.hasOwnProperty.call(v,"keyframes")&&Object.assign(c.keyframes,v.keyframes),c};this.config=s(ne,e)}this.cache(),t.instances.push(this)}static root;static config=ne;static instances=[];static refresh=e=>{for(let i of this.instances)i.refresh(e)};rules=[];ruleBy={};countBy={};observing=!1;observer;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:e,classes:i,selectors:s,colors:h,values:o,breakpoints:v,mediaQueries:c,rules:b}=this.config;function p(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function u(n,r,a="",y={}){let C=_=>_?(a?a+"-":"")+_:a,R=Object.entries(n),O=[],F=[];for(let _ of R){let Q=_[1];(typeof Q=="object"&&!Array.isArray(Q)?O:F).push(_)}for(let[_,Q]of O)u(Q,r,C(_),y);if(r&&a)F.length&&(y[a]=F.reduce((_,[Q,ue])=>(_[Q]=ue,_),{}));else for(let[_,Q]of F)y[C(_)]=Q;return y}function l(n){for(let[r,a]of Object.entries(n))/^[0-9]+x$/.test(r)&&typeof a=="number"&&(n["-"+r]=a*-1);return n}if(e)for(let[n,r]of Object.entries(u(e,!0)))this.semantics.push([new RegExp("^"+p(n)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[n,r]]);if(s)for(let[n,r]of Object.entries(u(s,!1))){let a=new RegExp(p(n)+"(?![a-z-])");for(let y of Array.isArray(r)?r:[r]){let C=y.match(/^::-[a-z]+-/m)?.[0]??"",R=this.selectors[C];R||(R=this.selectors[C]=[]);let O=R.find(([F])=>F===a);O||(O=[a,[]],R.push(O)),O[1].push(y)}}o&&(this.globalValues=l(u(o,!1))),v&&(this.breakpoints=u(v,!1)),c&&(this.mediaQueries=u(c,!1));let d=i?u(i,!1):{},f=Object.keys(d),g=n=>{if(Object.prototype.hasOwnProperty.call(this.classes,n))return;let r=this.classes[n]=[],a=d[n];if(!a)return;let y=a.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of y){let R=O=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,O)){let F=this.classesBy[O];F.includes(n)||F.push(n)}else this.classesBy[O]=[n];r.includes(O)||r.push(O)};if(f.includes(C)){g(C);for(let O of this.classes[C])R(O)}else R(C)}};for(let n of f)g(n);let x=h?u(h,!0):{};for(let[n,r]of Object.entries(x)){let a=typeof r=="string"?{"":r}:r;for(let[y,C]of Object.entries(a)){let R=(O,F)=>{Object.prototype.hasOwnProperty.call(this.colorThemesMap,F)?this.colorThemesMap[F][O]=C:this.colorThemesMap[F]={[O]:C}};if(y.startsWith("@")){let O=y.slice(1);R(O,n),this.themeNames.includes(O)||this.themeNames.push(O)}else R("",n+(y?"-"+y:""))}}this.colorNames=h?Object.keys(h):[];let m=n=>{for(let[r,a]of Object.entries(this.colorThemesMap))for(let[y,C]of Object.entries(a))C.startsWith("#")||n(r,a,y,C)};if(m((n,r,a,y)=>{let C=/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/.exec(y);if(C){let R="#"+de(+C[1],+C[2],+C[3]);C[4]&&(R+=Math.round(255*+C[4]).toString(16)),r[a]=R}}),m((n,r,a,y)=>{let[C,R]=y.split("/"),O=this.colorThemesMap[C];if(O){let F=(a?O[a]:void 0)??O[""];r[a]=R?F.slice(0,7)+Math.round(255*+R).toString(16):F}else console.error(`"${n}: ${y}" is an invalid ".colors" config`)}),b)for(let n in b){let r=b[n],{native:a,values:y,colored:C}=r,R=r.match;if(r.id=n,r.native=a===!0?n.replace(/(?!^)[A-Z]/g,O=>"-"+O).toLowerCase():void 0,y&&(this.values[n]=l(u(y,!1))),R){let O=Object.keys(this.values[n]??{});R.includes("$values")&&(R=O.length?R.replace(/\$values/,O.join("|")):R.replace(/(?:\|)?\$values/,"")),C&&R.includes("$colors")&&(R=this.colorNames.length?R.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):R.replace(/(?:\|)?\$colors/,"")),this.matches[n]=new RegExp(R)}}}observe(e,i={subtree:!0,childList:!0}){if(typeof window<"u"){if(e||(e=document),this.root===e)return this;this.root=e;let s=e===document;s&&(t.root=this),this.host=s?document.documentElement:this.root.host;let h=s?document.head:e,o=s?document.styleSheets:e.styleSheets;for(let c of o){let{ownerNode:b}=c;if(b&&b.id==="master"){this.style=b;break}}if(this.style)for(let c=0;c<this.style.sheet.cssRules.length;c++){let b=this.style.sheet.cssRules[c];if(b.constructor.name==="CSSKeyframesRule")continue;let p=l=>{if(l.selectorText){let f=l.selectorText.split(", ")[0].split(" ");for(let g=0;g<f.length;g++){let x=f[g];if(x[0]==="."){let m=x.slice(1),n="";for(let r=0;r<m.length;r++){let a=m[r],y=m[r+1];if(a==="\\"){if(r++,y!=="\\"){n+=y;continue}}else if(We.includes(a))break;n+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,n)&&!Object.prototype.hasOwnProperty.call(this.classes,n)){let r=this.create(n)[0];if(r)return r}}}}else if(l.cssRules)for(let d=0;d<l.cssRules.length;d++){let f=p(l.cssRules[d]);if(f)return f}},u=p(b);if(u){this.rules.push(u),this.ruleBy[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[c+l];c+=u.natives.length-1,u.config.insert?.call(u)}}else this.style=document.createElement("style"),this.style.id="master",h.append(this.style);let v=c=>{c.forEach(b=>{Object.prototype.hasOwnProperty.call(this.countBy,b)?this.countBy[b]++:(this.countBy[b]=1,this.insert(b))})};v(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(c=>v(c.classList)),this.observer=new MutationObserver(c=>{let b={},p=[],u=[],l=[],d=(m,n)=>{n?m.classList.forEach(g):m.classList.forEach(f);let r=m.children;for(let a=0;a<r.length;a++){let y=r[a];y.classList&&(u.push(y),d(y,n))}},f=m=>{Object.prototype.hasOwnProperty.call(b,m)?b[m]++:b[m]=1},g=m=>{Object.prototype.hasOwnProperty.call(b,m)?b[m]--:Object.prototype.hasOwnProperty.call(this.countBy,m)&&(b[m]=-1)},x=(m,n)=>{for(let r=0;r<m.length;r++){let a=m[r];a.classList&&!u.includes(a)&&!l.includes(a)&&(a.isConnected!==n?(u.push(a),d(a,n)):l.push(a))}};for(let m=0;m<c.length;m++){let n=c[m],{addedNodes:r,removedNodes:a,type:y,target:C}=n;if(y==="attributes"){if(p.find(R=>R.target===C))continue;p.push(n)}else x(r,!1),(!C.isConnected||!u.includes(C))&&x(a,!0)}if(!(!p.length&&!Object.keys(b).length)){for(let{oldValue:m,target:n}of p){let r=u.includes(n),a=n.classList,y=m?m.split(" "):[];if(r){if(n.isConnected)continue;for(let C of y)a.contains(C)||g(C)}else if(n.isConnected){a.forEach(C=>{y.includes(C)||f(C)});for(let C of y)a.contains(C)||g(C)}}for(let m in b){let n=b[m],r=(this.countBy[m]||0)+n;r===0?(delete this.countBy[m],this.delete(m)):(Object.prototype.hasOwnProperty.call(this.countBy,m)||this.insert(m),this.countBy[m]=r)}}}),this.observer.observe(e,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let e=this.style?.sheet;if(e?.cssRules)for(let i=e.cssRules.length-1;i>=0;i--)e.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(e){for(let i in this.config.rules){let s=this.config.rules[i],h=this.matches[i],{native:o}=s;if(h&&h.test(e))return{origin:"match",config:s};if(o&&e.startsWith(o+":"))return{origin:"match",config:s}}for(let i of this.semantics)if(e.match(i[0]))return{origin:"semantics",value:i[1]}}create(e){let i=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let h=this.match(s);if(h)return new ie(s,h,this)};return(Object.prototype.hasOwnProperty.call(this.classes,e)?this.classes[e].map(s=>i(s)):[i(e)]).filter(s=>s&&s.text)}refresh(e){if(e?.override?this.config=e:this.config=q(ne,e),this.cache(),!this.style)return;let i=document.createElement("style");i.id="master",this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let s in this.countBy)this.insert(s)}destroy(){let e=t.instances;this.disconnect(),e.splice(e.indexOf(this),1)}delete(e){let i=this.style?.sheet,s=h=>{let o=this.ruleBy[h];if(!(!o||Object.prototype.hasOwnProperty.call(this.classesBy,h)&&this.classesBy[h].some(v=>Object.prototype.hasOwnProperty.call(this.countBy,v)))){if(i&&o.natives.length){let v=o.natives[0];for(let c=0;c<i.cssRules.length;c++)if(i.cssRules[c]===v.cssRule){for(let p=0;p<o.natives.length;p++)i.deleteRule(c);break}}if(this.rules.splice(this.rules.indexOf(o),1),delete this.ruleBy[h],o.keyframeNames){let v=this.rules[0];for(let c of o.keyframeNames){let b=this.keyframes[c];if(!--b.count){let p=v.natives.indexOf(b.native);this.style.sheet.deleteRule(p),v.natives.splice(p,1),delete this.keyframes[c]}}v.natives.length||this.rules.splice(0,1)}o.config.delete?.call(o,h)}};if(Object.prototype.hasOwnProperty.call(this.classes,e)){for(let h of this.classes[e])Object.prototype.hasOwnProperty.call(this.countBy,h)||s(h);delete this.ruleBy[e]}else s(e)}insert(e){let i=this.create(e);return i.length?(this.insertRules(i),!0):!1}insertRules(e){for(let i of e){if(this.ruleBy[i.className])continue;let s,h=Object.keys(this.keyframes).length,o=this.rules.length-1,{media:v,order:c,priority:b,hasWhere:p,className:u}=i,l=(g,x,m)=>{let n=g;for(;n<=o;n++){let r=this.rules[n];if(x?.(r))return m?-1:n-1;if(m?.(r))return n}return m?-1:n-1},d,f;if(v){let g=this.rules.findIndex(x=>x.media);if(g===-1)s=o+1;else{let{"max-width":x,"min-width":m}=v.features;if(x||m){let n=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(n===-1)s=o+1;else if(x&&m){if(b===-1?(d=l(n,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),f=l(n,r=>r.priority!==-1)):(d=l(n,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=o),d!==-1){let r=x.value-m.value,a=f,y=d;for(d=void 0;a>=y;a--){let{"max-width":C,"min-width":R}=this.rules[a].media.features,O=C.value-R.value;if(O<r)f=a-1;else if(O===r)d=a;else break}}if(d!==-1){let r=x.value-m.value;for(let a=f;a>=d;a--){let{"max-width":y,"min-width":C}=this.rules[a].media.features,R=y.value-C.value;if(R<r)f=a-1;else if(R>r){d=a+1;break}}}}else if(m){if(b===-1?(d=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),f=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(d=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["min-width"].value;if(a>m.value)f=r-1;else if(a<m.value){d=r+1;break}}}else if(b===-1?(d=l(n,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),f=l(n,r=>r.media.features["min-width"]||r.priority!==-1)):(d=l(n,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),f=l(n,r=>r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["max-width"].value;if(a<x.value)f=r-1;else if(a>x.value){d=r+1;break}}}else b===-1?(d=g,f=l(g,n=>n.media?.features["max-width"]||n.media?.features["min-width"]||n.priority!==-1)):(d=l(g,n=>n.media?.features["max-width"]||n.media?.features["min-width"],n=>n.priority!==-1),f=l(g,n=>n.media?.features["max-width"]||n.media?.features["min-width"]))}}else{let g=h?1:0;b===-1?(d=g,f=l(g,x=>x.media||x.priority!==-1)):(d=l(g,x=>x.media,x=>x.priority!==-1),f=l(g,x=>x.media))}if(s===void 0)if(d===-1)s=f+1;else{if(b===-1)for(let g=d;g<=f;g++){let x=this.rules[g];if(!(!p&&x.hasWhere)&&(p&&!x.hasWhere||x.order>=c)){s=g;break}}else for(let g=d;g<=f;g++){let x=this.rules[g];if(!(!p&&x.hasWhere)){if(p&&!x.hasWhere){s=g;break}if(x.priority<b){s=g;break}else if(x.priority===b){if(x.order>=c){s=g;break}}else s=g+1}}s===void 0&&(s=f+1)}if(this.rules.splice(s,0,i),this.ruleBy[u]=i,this.style){let g=this.style.sheet,x=0,m=n=>{let r=this.rules[n];if(r){if(!r.natives.length)return m(n-1);let a=r.natives[r.natives.length-1].cssRule;for(let y=0;y<g.cssRules.length;y++)if(g.cssRules[y]===a){x=y+1;break}}};m(s-1);for(let n=0;n<i.natives.length;)try{let r=i.natives[n];g.insertRule(r.text,x),r.cssRule=g.cssRules[x++],n++}catch(r){console.error(r),i.natives.splice(n,1)}}if(i.keyframeNames){let g=this.style?.sheet;for(let x of i.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,x))this.keyframes[x].count++;else{let m={text:`@keyframes ${x}{`+Object.entries(this.config.keyframes[x]).map(([r,a])=>`${r}{${Object.entries(a).map(([y,C])=>y+":"+C).join(";")}}`).join("")+"}",theme:""},n;if(Object.keys(this.keyframes).length?(n=this.rules[0]).natives.push(m):this.rules.splice(0,0,n={natives:[m],get text(){return this.natives.map(r=>r.text).join("")}}),g){let r;for(let a=0;a<g.cssRules.length;a++){let y=g.cssRules[a];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===x){r=y;break}}if(r)m.cssRule=r;else{let a=n.natives.length-1;g.insertRule(m.text,a),m.cssRule=g.cssRules[a]}}this.keyframes[x]={native:m,count:1}}}i.config.insert?.call(i)}}get text(){return this.rules.map(e=>e.text).join("")}};typeof window<"u"&&(window.MasterCSS=K);var ze=`/** @type {import('@master/css').Config} */
1
+ var ve=Object.defineProperty;var Fe=Object.getOwnPropertyDescriptor;var Ye=Object.getOwnPropertyNames;var Xe=Object.prototype.hasOwnProperty;var Ve=(e,t)=>{for(var i in t)ve(e,i,{get:t[i],enumerable:!0})},_e=(e,t,i,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let b of Ye(t))!Xe.call(e,b)&&b!==i&&ve(e,b,{get:()=>t[b],enumerable:!(s=Fe(t,b))||s.enumerable});return e};var He=e=>_e(ve({},"__esModule",{value:!0}),e);var Ge={};Ve(Ge,{CONFIG_ESM_TEXT:()=>ze,CONFIG_TEXT:()=>Pe,CONFIG_TS_TEXT:()=>De,MasterCSS:()=>re,Rule:()=>le,breakpoints:()=>xe,colors:()=>ye,config:()=>ce,default:()=>re,extend:()=>te,extractClassesFromHTML:()=>he,fillColorScale:()=>A,functions:()=>Oe,generateFromClasses:()=>ge,generateFromHTML:()=>ue,important:()=>Te,initRuntime:()=>je,keyframes:()=>Be,override:()=>$e,renderHTML:()=>Ee,rootSize:()=>Ce,rules:()=>Re,scope:()=>we,selectors:()=>Se,semantics:()=>ke,themeDriver:()=>Me});module.exports=He(Ge);function We(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function Ne(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function Le(e){let t=[];return e.forEach(function(i,s){typeof i=="object"&&i!==null?Array.isArray(i)?t[s]=Le(i):We(i)?t[s]=Ne(i):t[s]=te({},i):t[s]=i}),t}function Ie(e,t){return t==="__proto__"?void 0:e[t]}function te(...e){let t={},i,s;return e.forEach(function(b){typeof b!="object"||b===null||Array.isArray(b)||Object.keys(b).forEach(function(a){if(s=Ie(t,a),i=Ie(b,a),i!==t)if(typeof i!="object"||i===null){t[a]=i;return}else if(Array.isArray(i)){t[a]=Le(i);return}else if(We(i)){t[a]=Ne(i);return}else if(typeof s!="object"||s===null||Array.isArray(s)){t[a]=te({},i);return}else{t[a]=te(s,i);return}})}),t}var ae={"(":")","'":"'",'"':'"',"{":"}"};function fe(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),i=t.length,s=-1,b="",a,u=t.charCodeAt(0);if(i==1&&u==45)return"\\"+t;for(;++s<i;){if(a=t.charCodeAt(s),a==0){b+="\uFFFD";continue}if(a>=1&&a<=31||a==127||s==0&&a>=48&&a<=57||s==1&&a>=48&&a<=57&&u==45){b+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){b+=t.charAt(s);continue}b+="\\"+t.charAt(s)}return b}var Qe={unit:"",order:0,separators:[","]},Ue=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,le=class{constructor(t,i={},s){this.className=t;this.meta=i;this.css=s;this.config=te(Qe,i.config);let{unit:b,order:a,colored:u,native:d,analyze:x,transform:v,declare:g,create:c}=this.config,{scope:m,important:h,functions:p,themeDriver:l,keyframes:o}=s.config,{themeNames:n,colorNames:r,colorThemesMap:f,selectors:y,breakpoints:C,mediaQueries:k,classesBy:P,globalValues:M}=s,z=P[t];c&&c.call(this,t);let V,K,ie,Q,_;if(i.origin==="semantics"){let[N,E]=i.value;Q=t.slice(N.length),V=E}else{let N;if(x)[N,ie]=x.call(this,t);else{let O=t.indexOf(":");this.prefix=t.slice(0,O+1),N=t.slice(O+1)}_=[];let E=this,I=this.values,F=[","];this.config.separators.length&&F.push(...this.config.separators);let R="",w=0;(function O($,S,T,B=void 0,j=[],H=[],W){let Y=B===void 0,X,se=L=>L==="'"||L==='"',oe=()=>X=R.length,J=()=>{if(R){let L=R,D=Y?L:R.slice(X);if(R="",G="",I&&D in I&&!j.includes(D)){let U=w;w=0,O(I[D].toString(),S,void 0,B,[...j,D],H,W),w=U,Y||(R=R.slice(0,X)+R)}else if(M&&D in M&&!H.includes(D)){let U=w;w=0,O(M[D].toString(),S,void 0,B,j,[...H,D],W),w=U,Y||(R=R.slice(0,X)+R)}else if(Y){let U=!W&&E.analyzeUnitValue(D,S);_.push({value:U?.value??D,unit:U?.unit})}else{let U=!W&&E.analyzeUnitValue(D,S);R=U?L.slice(0,X)+U.value+U.unit:L}oe()}},ee=se(T);oe();let G="";for(;w<$.length;w++){let L=$[w];if(L===T){if(ee){R+=L;let D=0;for(let U=R.length-2;R[U]==="\\";U--)D++;if(D%2)continue}else J(),R+=L;return}else if(!ee&&L in ae){let D=L==="("&&G&&p?.[G];D?.name&&(R=R.slice(0,R.length-G.length)+D.name,G=D.name),R+=L,w++;let U=ae[L];O($,D?.unit??S,U,G||B||"",j,H,W||!!D?.transform),D?.transform&&(R=R.slice(0,X+G.length+1)+D.transform.call(E,R.slice(X+G.length+1,-1))+R.slice(-1)),Y&&(se(U)?(_.push(R),R=""):J()),G=""}else if((L==="|"||L===" ")&&T!=="}"&&(!ee||B==="path"))J(),Y||(R+=" ",X++);else{if(!ee){if(L==="."){if(isNaN(+$[w+1]))break;$[w-1]==="-"&&(R+="0")}else if(F.includes(L)){J(),Y?_.push(L):(R+=L,X++);continue}else if(Y&&(L==="#"&&(R||_.length&&$[w-1]!=="|"&&_[w-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(L)))break;G+=L}R+=L}}B===void 0&&J()})(N,b),Q=N.slice(w)}this.order=typeof a=="function"?a.call(this,this.prefix):a,Q[0]==="!"&&(this.important=!0,Q=Q.slice(1));let q=N=>{let E=N.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((w,O)=>O%3?w:w.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),I=[],F="",R=0;for(let w=0;w<E.length;w++){let O=E[w];if(O==="\\"){F+=O+E[++w];continue}!R&&O===","?(I.push(F),F=""):(F+=O,R&&O===")"?R--:O==="("&&R++)}return F&&I.push(F),I};this.prefixSelectors=ie?q(ie):[""];let Z=Q.split("@"),ne=Z[0];if(ne){this.vendorSuffixSelectors={};let N=(w,O,$,S)=>{for(let[T,B]of O)if(T.test(w)){for(let j of B)N(w.replace(T,j),O,$,!0);return}S&&$.push(w)},E=[];""in y?N(ne,y[""],E,!0):E.push(ne);let I={};for(let[w,O]of Object.entries(y)){if(!w)continue;let $=[];for(let S of E)N(S,O,$,!1);$.length&&(I[w]=$)}let F=(w,O)=>{let $=O.reduce((S,T)=>(S.push(...q(T)),S),[]);w in this.vendorSuffixSelectors?this.vendorSuffixSelectors[w].push(...$):this.vendorSuffixSelectors[w]=$},R=Object.keys(I);if(R.length)for(let w of R)F(w,I[w]);else F("",E);for(let w of Object.values(this.vendorSuffixSelectors))for(let O of w){this.hasWhere!==!1&&(this.hasWhere=O.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let S=0;S<$.length;S++)if(O.includes($[S])){(this.priority===-1||this.priority>S)&&(this.priority=S);break}}}else this.vendorSuffixSelectors={"":[""]};for(let N=1;N<Z.length;N++){let E=Z[N];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let I,F,R=Ue.exec(E);if(R)I=R[1],F=E.slice(I.length);else{this.media={token:E,features:{}};let w=[],O=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")w.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")w.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else if(k&&S in k)w.push(k[S]);else{let T={token:S},B="",j="",H=0;S.startsWith("<=")?(j="<=",B="max-width"):S.startsWith(">=")||C[S]?(j=">=",B="min-width"):S.startsWith(">")?(j=">",B="min-width",H=.02):S.startsWith("<")&&(j="<",B="max-width",H=-.02);let W=j?S.replace(j,""):S,Y=C[W];switch(B){case"max-width":case"min-width":Y?Object.assign(T,this.analyzeUnitValue(Y.toString(),"px")):Object.assign(T,this.analyzeUnitValue(W,"px")),T.unit==="px"&&(T.value+=H),this.media.features[B]=T,w.push("("+B+":"+(T.value+T.unit)+")");break}}},$=E.includes("&");if($){let S=E.split("&");for(let T of S)O(T)}else O(E);if(this.media.type&&(F=this.media.type),w.length&&(F=w.join(" and ")),F)I="media";else if(!$){this.theme=E;continue}}F&&(this.at[I]=(I in this.at?this.at[I]+" and ":"")+F.replace(/\|/g," "))}}let de=(N,E)=>{let I,F=(O,$,S)=>{let T="";this.direction&&(T+="[dir="+this.direction+"] ");let B=this.prefixSelectors.map(W=>W+T),j=(W,Y)=>B.map(X=>(W&&l!=="media"?l==="host"?`:host(.${W}) `:`.${W} `:"")+(m?m+" ":"")+X).reduce((X,se)=>(X.push(S.reduce((oe,J)=>(oe.push(se+"."+fe(Y)+J),oe),[]).join(",")),X),[]).join(","),H=j($,t)+(z?z.reduce((W,Y)=>W+","+j(this.theme??(u||K?$:""),Y),""):"")+"{"+O+"}";for(let W of Object.keys(this.at).sort((Y,X)=>X==="supports"?-1:1))H="@"+W+(W.includes(" ")?"":" ")+this.at[W]+"{"+H+"}";return $&&l==="media"&&(H=`@media(prefers-color-scheme:${$}){`+H+"}"),H},R=[];if(_){let O=[this.theme??N,""],$,S=!1;for(let T of _)if(typeof T=="string")R.push(T);else{let B=T.value;if(T.unit)B+=T.unit;else if(u&&f&&r){let j=!1;B=B.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(H,W,Y,X)=>{let se=f[Y];if(se){let oe,J;for(let ee of O)if(oe=se[ee]){J=ee;break}if(oe){j=!E||J===N,$||($=j);let ee=oe;if(X){let G=X.endsWith("%")?parseFloat(X)/100:+X;G=isNaN(G)?1:Math.min(Math.max(G,0),1),ee+=Math.round(G*255).toString(16).toUpperCase().padStart(2,"0")}return W+ee}else S=!0}return H})}R.push(B)}if(E&&(S||($===void 0?N:!$)))return;if(I=R.reduce((T,B,j)=>T+B+(B===","||_[j+1]===","||j===_.length-1?"":" "),""),v&&(I=v.call(this,I,this.css.config)),u&&I==="current"&&(I="currentColor"),g){let T,B;if(_.length===1){let j=_[0];typeof j=="object"&&(T=j.value,B=j.unit)}V=g.call(this,B?T:I,B||"")}else V={[d]:I}}let w={};for(let O in V){let $=(B,j)=>{if(o&&(j.startsWith("animation")||j.startsWith("animation-name"))){let W=j.split(":")[1].split("!important")[0].split(" ").filter(Y=>Y in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(Y)));W.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...W))}let H=j+((this.important||h)&&!j.endsWith("!important")?"!important":"");B in w?w[B].push(H):w[B]=[H]},S=O+":",T=V[O];if(typeof T=="object")if(Array.isArray(T))for(let B of T)$(N,S+B.toString());else{K=!0;for(let B in T)$(B,S+T[B])}else $(N,S+T.toString())}for(let O of Object.values(this.vendorSuffixSelectors))for(let $ in w)this.natives.push({text:F(w[$].join(";"),$,O),theme:$})};if(this.theme)de(this.theme,!1);else if(u)for(let N of n)de(N,!0);else de("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(t=>t.text).join("")}resolveValue(t,i){return Number.isNaN(+t)?t:t/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(t,i){let s=i??this.config.unit;if(s){let b="",a=t.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(a)if(t.includes("/")){let[u,d]=t.split("/");return{value:+u/+d*100+"%",unit:b}}else{let u=+a[1];return b=a[3]||"",b||((s==="rem"||s==="em")&&(u=u/this.css.config.rootSize),b=s||""),{value:u,unit:b}}}}};var xe={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function me(e){e.startsWith("#")&&(e=e.slice(1));let t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function pe(e,t,i){return((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)}function A(e){typeof e=="string"&&(e={"":e});let t=""in e,i=!1;for(let s in e)if(s&&+s>=100){i=!0;break}if(!i&&(!t||Object.keys(e).length>1)){let s=0,b="0"in e?me(e[0]):[0,0,0],a,u,d=[],x=()=>{let v=a-s,g=u.map((c,m)=>(c-b[m])/v);for(let c of d){let m=c-s,h=b.map((p,l)=>Math.round(p+g[l]*m));e[c]="#"+pe.call(this,...h)}};for(let v=1;v<100;v++)v in e?(d.length?(a=v,u=me(e[v]),x(),d.length=0,b=u):b=me(e[v]),s=v):d.push(v);d.length&&(a=100,u="100"in e?me(e[100]):[255,255,255],x())}return t||(e[""]=e[i?"500":"50"]),e}var ye={black:"#000000",white:"#ffffff",slate:A({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:A({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:A({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:A({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:A({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:A({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:A({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:A({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:A({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:A({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:A({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:A({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:A({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:A({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:A({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:A({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:A({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:A({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:A({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:A({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var Ce=16;var we="";var Se={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child(",":only":":only-child"};var ke={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"},fit:{width:"fit-content",height:"fit-content"}};var qe={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},i=(v,g)=>{let c=g.indexOf(":");if(c!==-1){v in t||(t[v]={});let m=t[v],h=g.slice(0,c);h in m||(m[h]=g.slice(c+1))}},s=v=>{let g=(c,m)=>{let h=m.slice(fe(v.className).length).match(/\{(.*)\}/)[1].split(";");for(let p of h)i(c,p)};if(this.theme){let c=v.natives.find(m=>m.theme===this.theme)??v.natives.find(m=>!m.theme);c&&g(this.theme,c.text)}else for(let c of v.natives)g(c.theme,c.text);if(v.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let c of v.keyframeNames)this.keyframeNames.includes(c)||this.keyframeNames.push(c)}},b=[],a="",u=()=>{a&&(b.push(a.replace(/ /g,"|")),a="")},d=1;(function v(g){for(;d<e.length;d++){let c=e[d];if(!g){if(c===";"){u();continue}if(c==="}")break}if(a+=c,g===c){if(g==="'"||g==='"'){let m=0;for(let h=a.length-2;a[h]==="\\";h--)m++;if(m%2)continue}break}else c in ae&&g!=="'"&&g!=='"'&&(d++,v(ae[c]))}})(void 0),u();for(let v of b){let g=this.css.create(v);if(Array.isArray(g))if(g.length)for(let c of g)s(c);else i(this.theme??"",v);else s(g)}let x={};for(let v in t)for(let[g,c]of Object.entries(t[v]))g in x?x[g][v]=c:x[g]={[v]:c};return x}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,i]=e.split(" x ");return{width:t,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"min-width":t,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"max-width":t,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},overflowY:{native:!0,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{native:!0,order:-1,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},userSelect:{native:!0,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-fill-color":e+t}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(e,t){return{"-webkit-text-stroke-width":e+t}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-stroke-color":e+t}}},textStroke:{unit:"rem",native:!0,declare(e,t){return{"-webkit-text-stroke":e+t}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(e){return[e.startsWith("transform")?e.slice(10):e]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-left":e,"border-right":e}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(e){if(e.startsWith("gradient"))return["linear-"+e];let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridColumns:{match:"^grid-cols:.",declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridRows:{match:"^grid-rows:.",declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},Re=qe;var $e=!1;var Te=!1;var Be={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Oe={$:{name:"var",transform(e){return"--"+e}},calc:{transform(e){let t=this.values,i=this.css.globalValues,s=this.css.config.functions,b=this,a=0,u="",d="";return function x(v,g){let c=!1,m=(h,p=!1,l=!1)=>{if(h!=="("&&(t&&d in t?d=t[d].toString():i&&d in i&&(d=i[d].toString())),d&&!c&&!g){let o=b.analyzeUnitValue(d,s.calc.unit);o&&(d=o.value+o.unit)}u+=d+(p&&e[a-1]!==" "?" ":"")+h+(l&&e[a+1]!==" "?" ":""),d="",c=!1};for(;a<e.length;a++){let h=e[a];if(h==="("){let p=d,l=c,o=u.length;if(m(h),a++,x(p,l||g),p!=="calc"){let n=s[p];if(n){let r=u.slice(o+2,u.length-1);u=u.slice(0,o-p.length+1)+(n.name??p)+"("+(n.transform?.(r)??r)+")"}}}else if(h===")"){m(h);break}else if(h===",")m(h,!1,!0);else if(h===" ")m(h);else{let p=e[a-1];switch(h){case"+":!d&&p!==")"?d+=h:m(h,!0,!0);break;case"-":v==="var"||!d&&p!==")"?d+=h:m(h,!0,!0);break;case"*":m(h,!0,!0);break;case"/":m(h,!0,!0),c=!0;break;default:d+=h;break}}}a>=e.length-1&&m("")}("",!1),u}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Me="class";var ce={breakpoints:xe,colors:ye,rootSize:16,scope:we,selectors:Se,semantics:ke,rules:Re,override:!1,important:!1,functions:Oe,keyframes:Be,themeDriver:Me};var Ae=[",",".","#","[","!","*",">","+","~",":","@"];var be="_CNO_",re=class e{constructor(t=ce){this.config=t;t?.override?this.config=this.getExtendedConfig(this.config):this.config=this.getExtendedConfig(ce,t),this.cache(),e.instances.push(this)}static root;static config=ce;static instances=[];static refresh=t=>{for(let i of this.instances)i.refresh(t)};rules=[];ruleBy={};countBy={};observing=!1;observer;colorByThemeByColorName;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:t,classes:i,selectors:s,colors:b,values:a,breakpoints:u,mediaQueries:d,rules:x}=this.config;function v(o){return o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function g(o,n,r="",f={}){let y=M=>M?(r?r+"-":"")+M:r,C=Object.entries(o),k=[],P=[];for(let M of C){let z=M[1];(typeof z=="object"&&!Array.isArray(z)?k:P).push(M)}for(let[M,z]of k)g(z,n,y(M),f);if(n&&r)P.length&&(f[r]=P.reduce((M,[z,V])=>(M[z]=V,M),{}));else for(let[M,z]of P)f[y(M)]=z;return f}function c(o){for(let[n,r]of Object.entries(o))/^[0-9]+x$/.test(n)&&typeof r=="number"&&(o["-"+n]=r*-1);return o}if(t)for(let[o,n]of Object.entries(g(t,!0)))this.semantics.push([new RegExp("^"+v(o)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[o,n]]);if(s)for(let[o,n]of Object.entries(g(s,!1))){let r=new RegExp(v(o)+"(?![a-z-])");for(let f of Array.isArray(n)?n:[n]){let y=f.match(/^::-[a-z]+-/m)?.[0]??"",C=this.selectors[y];C||(C=this.selectors[y]=[]);let k=C.find(([P])=>P===r);k||(k=[r,[]],C.push(k)),k[1].push(f)}}a&&(this.globalValues=c(g(a,!1))),u&&(this.breakpoints=g(u,!1)),d&&(this.mediaQueries=g(d,!1));let m=i?g(i,!1):{},h=Object.keys(m),p=o=>{if(Object.prototype.hasOwnProperty.call(this.classes,o))return;let n=this.classes[o]=[],r=m[o];if(!r)return;let f=r.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let y of f){let C=k=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,k)){let P=this.classesBy[k];P.includes(o)||P.push(o)}else this.classesBy[k]=[o];n.includes(k)||n.push(k)};if(h.includes(y)){p(y);for(let k of this.classes[y])C(k)}else C(y)}};for(let o of h)p(o);this.colorNames=Object.keys(b);let l=Object.entries(this.colorByThemeByColorName).reduce((o,[n,r])=>(o[n]=()=>{let f=(k,P)=>P?k.slice(0,7)+Math.round(255*+P).toString(16):k,y={};for(let k in r){let P=r[k].split(" ");for(let M of P){let z=M.lastIndexOf("@"),V=z!==-1?M.slice(0,z):M,K=z!==-1?M.slice(z+1):"",ie=k.slice(1)||K;if(M.startsWith("#"))y[ie]=V;else if(M.startsWith(be)){let[Q,_]=V.slice(be.length).split("/");if(Object.prototype.hasOwnProperty.call(l,Q)){let Z=l[Q];delete l[Q],Z()}let q=Object.prototype.hasOwnProperty.call(this.colorThemesMap,Q)&&this.colorThemesMap[Q];if(q)for(let Z in q){let ne=q[Z];y[Z]=f(ne,_)}else console.error(`"${n}${k}: ${M}" is an invalid ".colors" config`)}else{let[Q,_]=V.split("@"),[q,Z]=Q.split("/");if(Object.prototype.hasOwnProperty.call(l,q)){let de=l[q];delete l[q],de()}let ne=Object.prototype.hasOwnProperty.call(this.colorThemesMap,q)&&this.colorThemesMap[q][(k?K:_)||""];ne?y[ie]=f(ne,Z):console.error(`"${n}${k}: ${M}" is an invalid ".colors" config`)}}}let C=Object.keys(y);if(C.length){this.colorThemesMap[n]=y;for(let k of C)k&&!this.themeNames.includes(k)&&this.themeNames.push(k)}delete l[n]},o),{});for(let o of Object.keys(l))l[o]?.();if(x)for(let o in x){let n=x[o],{native:r,values:f,colored:y}=n,C=n.match;if(n.id=o,n.native=r===!0?o.replace(/(?!^)[A-Z]/g,k=>"-"+k).toLowerCase():void 0,f&&(this.values[o]=c(g(f,!1))),C){let k=Object.keys(this.values[o]??{});C.includes("$values")&&(C=k.length?C.replace(/\$values/,k.join("|")):C.replace(/(?:\|)?\$values/,"")),y&&C.includes("$colors")&&(C=this.colorNames.length?C.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):C.replace(/(?:\|)?\$colors/,"")),this.matches[o]=new RegExp(C)}}}observe(t,i={subtree:!0,childList:!0}){if(typeof window<"u"){if(t||(t=document),this.root===t)return this;this.root=t;let s=t===document;s&&(e.root=this),this.host=s?document.documentElement:this.root.host;let b=s?document.head:t,a=s?document.styleSheets:t.styleSheets;for(let d of a){let{ownerNode:x}=d;if(x&&x.id==="master"){this.style=x;break}}if(this.style)for(let d=0;d<this.style.sheet.cssRules.length;d++){let x=this.style.sheet.cssRules[d];if(x.constructor.name==="CSSKeyframesRule")continue;let v=c=>{if(c.selectorText){let h=c.selectorText.split(", ")[0].split(" ");for(let p=0;p<h.length;p++){let l=h[p];if(l[0]==="."){let o=l.slice(1),n="";for(let r=0;r<o.length;r++){let f=o[r],y=o[r+1];if(f==="\\"){if(r++,y!=="\\"){n+=y;continue}}else if(Ae.includes(f))break;n+=f}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,n)&&!Object.prototype.hasOwnProperty.call(this.classes,n)){let r=this.create(n)[0];if(r)return r}}}}else if(c.cssRules)for(let m=0;m<c.cssRules.length;m++){let h=v(c.cssRules[m]);if(h)return h}},g=v(x);if(g){this.rules.push(g),this.ruleBy[g.className]=g;for(let c=0;c<g.natives.length;c++)g.natives[c].cssRule=this.style.sheet.cssRules[d+c];d+=g.natives.length-1,g.config.insert?.call(g)}}else this.style=document.createElement("style"),this.style.id="master",b.append(this.style);let u=d=>{d.forEach(x=>{Object.prototype.hasOwnProperty.call(this.countBy,x)?this.countBy[x]++:(this.countBy[x]=1,this.insert(x))})};u(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(d=>u(d.classList)),this.observer=new MutationObserver(d=>{let x={},v=[],g=[],c=[],m=(o,n)=>{n?o.classList.forEach(p):o.classList.forEach(h);let r=o.children;for(let f=0;f<r.length;f++){let y=r[f];y.classList&&(g.push(y),m(y,n))}},h=o=>{Object.prototype.hasOwnProperty.call(x,o)?x[o]++:x[o]=1},p=o=>{Object.prototype.hasOwnProperty.call(x,o)?x[o]--:Object.prototype.hasOwnProperty.call(this.countBy,o)&&(x[o]=-1)},l=(o,n)=>{for(let r=0;r<o.length;r++){let f=o[r];f.classList&&!g.includes(f)&&!c.includes(f)&&(f.isConnected!==n?(g.push(f),m(f,n)):c.push(f))}};for(let o=0;o<d.length;o++){let n=d[o],{addedNodes:r,removedNodes:f,type:y,target:C}=n;if(y==="attributes"){if(v.find(k=>k.target===C))continue;v.push(n)}else l(r,!1),(!C.isConnected||!g.includes(C))&&l(f,!0)}if(!(!v.length&&!Object.keys(x).length)){for(let{oldValue:o,target:n}of v){let r=g.includes(n),f=n.classList,y=o?o.split(" "):[];if(r){if(n.isConnected)continue;for(let C of y)f.contains(C)||p(C)}else if(n.isConnected){f.forEach(C=>{y.includes(C)||h(C)});for(let C of y)f.contains(C)||p(C)}}for(let o in x){let n=x[o],r=(this.countBy[o]||0)+n;r===0?(delete this.countBy[o],this.delete(o)):(Object.prototype.hasOwnProperty.call(this.countBy,o)||this.insert(o),this.countBy[o]=r)}}}),this.observer.observe(t,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let t=this.style?.sheet;if(t?.cssRules)for(let i=t.cssRules.length-1;i>=0;i--)t.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(t){for(let i in this.config.rules){let s=this.config.rules[i],b=this.matches[i],{native:a}=s;if(b&&b.test(t))return{origin:"match",config:s};if(a&&t.startsWith(a+":"))return{origin:"match",config:s}}for(let i of this.semantics)if(t.match(i[0]))return{origin:"semantics",value:i[1]}}create(t){let i=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let b=this.match(s);if(b)return new le(s,b,this)};return(Object.prototype.hasOwnProperty.call(this.classes,t)?this.classes[t].map(s=>i(s)):[i(t)]).filter(s=>s&&s.text)}refresh(t){if(t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(ce,t),this.cache(),!this.style)return;let i=document.createElement("style");i.id="master",this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let s in this.countBy)this.insert(s)}destroy(){let t=e.instances;this.disconnect(),t.splice(t.indexOf(this),1)}delete(t){let i=this.style?.sheet,s=b=>{let a=this.ruleBy[b];if(!(!a||Object.prototype.hasOwnProperty.call(this.classesBy,b)&&this.classesBy[b].some(u=>Object.prototype.hasOwnProperty.call(this.countBy,u)))){if(i&&a.natives.length){let u=a.natives[0];for(let d=0;d<i.cssRules.length;d++)if(i.cssRules[d]===u.cssRule){for(let v=0;v<a.natives.length;v++)i.deleteRule(d);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[b],a.keyframeNames){let u=this.rules[0];for(let d of a.keyframeNames){let x=this.keyframes[d];if(!--x.count){let v=u.natives.indexOf(x.native);this.style.sheet.deleteRule(v),u.natives.splice(v,1),delete this.keyframes[d]}}u.natives.length||this.rules.splice(0,1)}a.config.delete?.call(a,b)}};if(Object.prototype.hasOwnProperty.call(this.classes,t)){for(let b of this.classes[t])Object.prototype.hasOwnProperty.call(this.countBy,b)||s(b);delete this.ruleBy[t]}else s(t)}insert(t){let i=this.create(t);return i.length?(this.insertRules(i),!0):!1}insertRules(t){for(let i of t){if(this.ruleBy[i.className])continue;let s,b=Object.keys(this.keyframes).length,a=this.rules.length-1,{media:u,order:d,priority:x,hasWhere:v,className:g}=i,c=(p,l,o)=>{let n=p;for(;n<=a;n++){let r=this.rules[n];if(l?.(r))return o?-1:n-1;if(o?.(r))return n}return o?-1:n-1},m,h;if(u){let p=this.rules.findIndex(l=>l.media);if(p===-1)s=a+1;else{let{"max-width":l,"min-width":o}=u.features;if(l||o){let n=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(n===-1)s=a+1;else if(l&&o){if(x===-1?(m=c(n,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.priority!==-1)):(m=c(n,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=a),m!==-1){let r=l.value-o.value,f=h,y=m;for(m=void 0;f>=y;f--){let{"max-width":C,"min-width":k}=this.rules[f].media.features,P=C.value-k.value;if(P<r)h=f-1;else if(P===r)m=f;else break}}if(m!==-1){let r=l.value-o.value;for(let f=h;f>=m;f--){let{"max-width":y,"min-width":C}=this.rules[f].media.features,k=y.value-C.value;if(k<r)h=f-1;else if(k>r){m=f+1;break}}}}else if(o){if(x===-1?(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["min-width"].value;if(f>o.value)h=r-1;else if(f<o.value){m=r+1;break}}}else if(x===-1?(m=c(n,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),h=c(n,r=>r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["max-width"].value;if(f<l.value)h=r-1;else if(f>l.value){m=r+1;break}}}else x===-1?(m=p,h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]||n.priority!==-1)):(m=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"],n=>n.priority!==-1),h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]))}}else{let p=b?1:0;x===-1?(m=p,h=c(p,l=>l.media||l.priority!==-1)):(m=c(p,l=>l.media,l=>l.priority!==-1),h=c(p,l=>l.media))}if(s===void 0)if(m===-1)s=h+1;else{if(x===-1)for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!v&&l.hasWhere)&&(v&&!l.hasWhere||l.order>=d)){s=p;break}}else for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!v&&l.hasWhere)){if(v&&!l.hasWhere){s=p;break}if(l.priority<x){s=p;break}else if(l.priority===x){if(l.order>=d){s=p;break}}else s=p+1}}s===void 0&&(s=h+1)}if(this.rules.splice(s,0,i),this.ruleBy[g]=i,this.style){let p=this.style.sheet,l=0,o=n=>{let r=this.rules[n];if(r){if(!r.natives.length)return o(n-1);let f=r.natives[r.natives.length-1].cssRule;for(let y=0;y<p.cssRules.length;y++)if(p.cssRules[y]===f){l=y+1;break}}};o(s-1);for(let n=0;n<i.natives.length;)try{let r=i.natives[n];p.insertRule(r.text,l),r.cssRule=p.cssRules[l++],n++}catch(r){console.error(r),i.natives.splice(n,1)}}if(i.keyframeNames){let p=this.style?.sheet;for(let l of i.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,l))this.keyframes[l].count++;else{let o={text:`@keyframes ${l}{`+Object.entries(this.config.keyframes[l]).map(([r,f])=>`${r}{${Object.entries(f).map(([y,C])=>y+":"+C).join(";")}}`).join("")+"}",theme:""},n;if(Object.keys(this.keyframes).length?(n=this.rules[0]).natives.push(o):this.rules.splice(0,0,n={natives:[o],get text(){return this.natives.map(r=>r.text).join("")}}),p){let r;for(let f=0;f<p.cssRules.length;f++){let y=p.cssRules[f];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===l){r=y;break}}if(r)o.cssRule=r;else{let f=n.natives.length-1;p.insertRule(o.text,f),o.cssRule=p.cssRules[f]}}this.keyframes[l]={native:o,count:1}}}i.config.insert?.call(i)}}get text(){return this.rules.map(t=>t.text).join("")}getExtendedConfig(...t){this.colorByThemeByColorName={};let i=a=>{let u=te({},a),d=x=>{for(let v in x){let g=x[v];typeof g=="object"&&!Array.isArray(g)?d(g):v&&(x[v]={"":g})}};if(u.classes?d(u.classes):u.classes={},u.breakpoints?d(u.breakpoints):u.breakpoints={},u.mediaQueries?d(u.mediaQueries):u.mediaQueries={},u.selectors?d(u.selectors):u.selectors={},u.values?d(u.values):u.values={},u.colors){let x=(v,g)=>{let c=(l,o,n)=>{Object.prototype.hasOwnProperty.call(this.colorByThemeByColorName,l)||(this.colorByThemeByColorName[l]={});let r=this.colorByThemeByColorName[l],f=r[""]?.includes(be),y=C=>C.replace(/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,(k,P,M,z,V)=>{let K="#"+pe(+P,+M,+z);return V&&(K+=Math.round(255*+V).toString(16)),K});for(let[C,k]of o)if(k){let P=/(?:^| )(?:(rgba?\(.*?\).*?)|([^ ]+))(?= |$)/g,M;for(;(M=P.exec(k))!==null;){let z=M[0].trimStart(),V=z.lastIndexOf("@"),K=V!==-1?z.slice(0,V):z,ie=V!==-1?z.slice(V):"",Q=C||ie,_=n&&M[2]&&!M[2].startsWith("#")&&!ie,q=M[1]?y(K):C?M[0]:K;if(f||_){Object.prototype.hasOwnProperty.call(r,"")||(r[""]="");for(let Z in r)Z&&(r[""]+=" "+r[Z],delete r[Z]);r[""]+=(r[""]?" ":"")+(_?be:"")+q+Q}else r[Q]=q;if(C)break}}else if(n){delete this.colorByThemeByColorName[l];return}else delete r[C];Object.keys(r).length||delete this.colorByThemeByColorName[l]},m=Object.entries(v),h=m.filter(([l])=>l===""||l.startsWith("@"));h.length&&c(g,h,!1);let p=m.filter(([l])=>l!==""&&!l.startsWith("@"));for(let[l,o]of p){let n=(g?g+"-":"")+l;typeof o=="string"?c(n,[["",o]],!0):x(o,n)}};x(u.colors,"")}return u},s=[];for(let a of t)(function u(d){if(d.extends?.length)for(let x of d.extends)u("config"in x?x.config:x);s.push(i(d))})(a);let b=s[0];for(let a=1;a<s.length;a++){let u=s[a];b=te(b,u),Object.prototype.hasOwnProperty.call(u,"keyframes")&&Object.assign(b.keyframes,u.keyframes)}return b}};typeof window<"u"&&(window.MasterCSS=re);var Pe=`/** @type {import('@master/css').Config} */
2
2
  module.exports = {
3
3
  classes: {},
4
4
  colors: {},
@@ -12,7 +12,7 @@ module.exports = {
12
12
  selectors: {},
13
13
  functions: {}
14
14
  }
15
- `;var Pe=`/** @type {import('@master/css').Config} */
15
+ `;var ze=`/** @type {import('@master/css').Config} */
16
16
  export default {
17
17
  classes: {},
18
18
  colors: {},
@@ -26,7 +26,7 @@ export default {
26
26
  selectors: {},
27
27
  functions: {}
28
28
  }
29
- `;var Ae=`import type { Config } from '@master/css'
29
+ `;var De=`import type { Config } from '@master/css'
30
30
 
31
31
  export default {
32
32
  classes: {},
@@ -41,4 +41,4 @@ export default {
41
41
  selectors: {},
42
42
  functions: {}
43
43
  } as Config
44
- `;function le(t){if(!t)return;let e=/&(amp|#38|lt|#60|gt|#62|apos|#39|#x27|quot|#34);/g,i={amp:"&","#38":"&",lt:"<","#60":"<",gt:">","#62":">",apos:"'","#39":"'","#x27":"'",quot:'"',"#34":'"'};return t.split(/\sclass="([^"]*)"/gm).filter((s,h)=>h%2===1).map(s=>s.split(" ")).flat().map(s=>s.replace(e,(h,o)=>i[o]))}function ce(t,e){if(!t.length)return;let i=new K(e);for(let s of t)i.insert(s);return i.text}function oe(t,e){if(!t)return;let i=le(t);if(i.length)return ce(i,e)}function Be(t,e){return new K(t).observe(e)}function Oe(t,e){if(!t)return;let i=!1;if(t=t.replace(/(<style id="master">).*?(<\/style>)/,(h,o,v)=>(i=!0,o+oe(t,e)+v)),i)return t;let s=`<style id="master">${oe(t,e)}</style>`;return t.replace(/<\/head>/,`${s}$&`)}
44
+ `;function he(e){if(!e)return;let t=/&(amp|#38|lt|#60|gt|#62|apos|#39|#x27|quot|#34);/g,i={amp:"&","#38":"&",lt:"<","#60":"<",gt:">","#62":">",apos:"'","#39":"'","#x27":"'",quot:'"',"#34":'"'};return e.split(/\sclass="([^"]*)"/gm).filter((s,b)=>b%2===1).map(s=>s.split(" ")).flat().map(s=>s.replace(t,(b,a)=>i[a]))}function ge(e,t){if(!e.length)return;let i=new re(t);for(let s of e)i.insert(s);return i.text}function ue(e,t){if(!e)return;let i=he(e);if(i.length)return ge(i,t)}function je(e,t){return new re(e).observe(t)}function Ee(e,t){if(!e)return;let i=!1;if(e=e.replace(/(<style id="master">).*?(<\/style>)/,(b,a,u)=>(i=!0,a+ue(e,t)+u)),i)return e;let s=`<style id="master">${ue(e,t)}</style>`;return e.replace(/<\/head>/,`${s}$&`)}
@@ -1,4 +1,4 @@
1
- function ve(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function xe(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function ye(e){let t=[];return e.forEach(function(i,s){typeof i=="object"&&i!==null?Array.isArray(i)?t[s]=ye(i):ve(i)?t[s]=xe(i):t[s]=q({},i):t[s]=i}),t}function be(e,t){return t==="__proto__"?void 0:e[t]}function q(...e){let t={},i,s;return e.forEach(function(b){typeof b!="object"||b===null||Array.isArray(b)||Object.keys(b).forEach(function(o){if(s=be(t,o),i=be(b,o),i!==t)if(typeof i!="object"||i===null){t[o]=i;return}else if(Array.isArray(i)){t[o]=ye(i);return}else if(ve(i)){t[o]=xe(i);return}else if(typeof s!="object"||s===null||Array.isArray(s)){t[o]=q({},i);return}else{t[o]=q(s,i);return}})}),t}var re={"(":")","'":"'",'"':'"',"{":"}"};function ie(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),i=t.length,s=-1,b="",o,v=t.charCodeAt(0);if(i==1&&v==45)return"\\"+t;for(;++s<i;){if(o=t.charCodeAt(s),o==0){b+="\uFFFD";continue}if(o>=1&&o<=31||o==127||s==0&&o>=48&&o<=57||s==1&&o>=48&&o<=57&&v==45){b+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){b+=t.charAt(s);continue}b+="\\"+t.charAt(s)}return b}var We={unit:"",order:0,separators:[","]},ze=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,ne=class{constructor(t,i={},s){this.className=t;this.meta=i;this.css=s;this.config=q(We,i.config);let{unit:b,order:o,colored:v,native:c,analyze:p,transform:g,declare:u,create:l}=this.config,{scope:d,important:f,functions:h,themeDriver:x,keyframes:m}=s.config,{themeNames:n,colorNames:r,colorThemesMap:a,selectors:y,breakpoints:C,mediaQueries:R,classesBy:O,globalValues:F}=s,_=O[t];l&&l.call(this,t);let Q,le,fe,te,U;if(i.origin==="semantics"){let[N,E]=i.value;te=t.slice(N.length),Q=E}else{let N;if(p)[N,fe]=p.call(this,t);else{let B=t.indexOf(":");this.prefix=t.slice(0,B+1),N=t.slice(B+1)}U=[];let E=this,I=this.values,A=[","];this.config.separators.length&&A.push(...this.config.separators);let k="",w=0;(function B($,S,T,M=void 0,j=[],X=[],L){let D=M===void 0,Y,ee=W=>W==="'"||W==='"',K=()=>Y=k.length,G=()=>{if(k){let W=k,P=D?W:k.slice(Y);if(k="",H="",I&&P in I&&!j.includes(P)){let V=w;w=0,B(I[P].toString(),S,void 0,M,[...j,P],X,L),w=V,D||(k=k.slice(0,Y)+k)}else if(F&&P in F&&!X.includes(P)){let V=w;w=0,B(F[P].toString(),S,void 0,M,j,[...X,P],L),w=V,D||(k=k.slice(0,Y)+k)}else if(D){let V=!L&&E.analyzeUnitValue(P,S);U.push({value:V?.value??P,unit:V?.unit})}else{let V=!L&&E.analyzeUnitValue(P,S);k=V?W.slice(0,Y)+V.value+V.unit:W}K()}},Z=ee(T);K();let H="";for(;w<$.length;w++){let W=$[w];if(W===T){if(Z){k+=W;let P=0;for(let V=k.length-2;k[V]==="\\";V--)P++;if(P%2)continue}else G(),k+=W;return}else if(!Z&&W in re){let P=W==="("&&H&&h?.[H];P?.name&&(k=k.slice(0,k.length-H.length)+P.name,H=P.name),k+=W,w++;let V=re[W];B($,P?.unit??S,V,H||M||"",j,X,L||!!P?.transform),P?.transform&&(k=k.slice(0,Y+H.length+1)+P.transform.call(E,k.slice(Y+H.length+1,-1))+k.slice(-1)),D&&(ee(V)?(U.push(k),k=""):G()),H=""}else if((W==="|"||W===" ")&&T!=="}"&&(!Z||M==="path"))G(),D||(k+=" ",Y++);else{if(!Z){if(W==="."){if(isNaN(+$[w+1]))break;$[w-1]==="-"&&(k+="0")}else if(A.includes(W)){G(),D?U.push(W):(k+=W,Y++);continue}else if(D&&(W==="#"&&(k||U.length&&$[w-1]!=="|"&&U[w-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(W)))break;H+=W}k+=W}}M===void 0&&G()})(N,b),te=N.slice(w)}this.order=typeof o=="function"?o.call(this,this.prefix):o,te[0]==="!"&&(this.important=!0,te=te.slice(1));let pe=N=>{let E=N.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((w,B)=>B%3?w:w.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),I=[],A="",k=0;for(let w=0;w<E.length;w++){let B=E[w];if(B==="\\"){A+=B+E[++w];continue}!k&&B===","?(I.push(A),A=""):(A+=B,k&&B===")"?k--:B==="("&&k++)}return A&&I.push(A),I};this.prefixSelectors=fe?pe(fe):[""];let me=te.split("@"),he=me[0];if(he){this.vendorSuffixSelectors={};let N=(w,B,$,S)=>{for(let[T,M]of B)if(T.test(w)){for(let j of M)N(w.replace(T,j),B,$,!0);return}S&&$.push(w)},E=[];""in y?N(he,y[""],E,!0):E.push(he);let I={};for(let[w,B]of Object.entries(y)){if(!w)continue;let $=[];for(let S of E)N(S,B,$,!1);$.length&&(I[w]=$)}let A=(w,B)=>{let $=B.reduce((S,T)=>(S.push(...pe(T)),S),[]);w in this.vendorSuffixSelectors?this.vendorSuffixSelectors[w].push(...$):this.vendorSuffixSelectors[w]=$},k=Object.keys(I);if(k.length)for(let w of k)A(w,I[w]);else A("",E);for(let w of Object.values(this.vendorSuffixSelectors))for(let B of w){this.hasWhere!==!1&&(this.hasWhere=B.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let S=0;S<$.length;S++)if(B.includes($[S])){(this.priority===-1||this.priority>S)&&(this.priority=S);break}}}else this.vendorSuffixSelectors={"":[""]};for(let N=1;N<me.length;N++){let E=me[N];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let I,A,k=ze.exec(E);if(k)I=k[1],A=E.slice(I.length);else{this.media={token:E,features:{}};let w=[],B=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")w.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")w.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else if(R&&S in R)w.push(R[S]);else{let T={token:S},M="",j="",X=0;S.startsWith("<=")?(j="<=",M="max-width"):S.startsWith(">=")||C[S]?(j=">=",M="min-width"):S.startsWith(">")?(j=">",M="min-width",X=.02):S.startsWith("<")&&(j="<",M="max-width",X=-.02);let L=j?S.replace(j,""):S,D=C[L];switch(M){case"max-width":case"min-width":D?Object.assign(T,this.analyzeUnitValue(D.toString(),"px")):Object.assign(T,this.analyzeUnitValue(L,"px")),T.unit==="px"&&(T.value+=X),this.media.features[M]=T,w.push("("+M+":"+(T.value+T.unit)+")");break}}},$=E.includes("&");if($){let S=E.split("&");for(let T of S)B(T)}else B(E);if(this.media.type&&(A=this.media.type),w.length&&(A=w.join(" and ")),A)I="media";else if(!$){this.theme=E;continue}}A&&(this.at[I]=(I in this.at?this.at[I]+" and ":"")+A.replace(/\|/g," "))}}let ge=(N,E)=>{let I,A=(B,$,S)=>{let T="";this.direction&&(T+="[dir="+this.direction+"] ");let M=this.prefixSelectors.map(L=>L+T),j=(L,D)=>M.map(Y=>(L&&x!=="media"?x==="host"?`:host(.${L}) `:`.${L} `:"")+(d?d+" ":"")+Y).reduce((Y,ee)=>(Y.push(S.reduce((K,G)=>(K.push(ee+"."+ie(D)+G),K),[]).join(",")),Y),[]).join(","),X=j($,t)+(_?_.reduce((L,D)=>L+","+j(this.theme??(v||le?$:""),D),""):"")+"{"+B+"}";for(let L of Object.keys(this.at).sort((D,Y)=>Y==="supports"?-1:1))X="@"+L+(L.includes(" ")?"":" ")+this.at[L]+"{"+X+"}";return $&&x==="media"&&(X=`@media(prefers-color-scheme:${$}){`+X+"}"),X},k=[];if(U){let B=[this.theme??N,""],$,S=!1;for(let T of U)if(typeof T=="string")k.push(T);else{let M=T.value;if(T.unit)M+=T.unit;else if(v&&a&&r){let j=!1;M=M.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(X,L,D,Y)=>{let ee=a[D];if(ee){let K,G;for(let Z of B)if(K=ee[Z]){G=Z;break}if(K){j=!E||G===N,$||($=j);let Z=K;if(Y){let H=Y.endsWith("%")?parseFloat(Y)/100:+Y;H=isNaN(H)?1:Math.min(Math.max(H,0),1),Z+=Math.round(H*255).toString(16).toUpperCase().padStart(2,"0")}return L+Z}else S=!0}return X})}k.push(M)}if(E&&(S||($===void 0?N:!$)))return;if(I=k.reduce((T,M,j)=>T+M+(M===","||U[j+1]===","||j===U.length-1?"":" "),""),g&&(I=g.call(this,I,this.css.config)),v&&I==="current"&&(I="currentColor"),u){let T,M;if(U.length===1){let j=U[0];typeof j=="object"&&(T=j.value,M=j.unit)}Q=u.call(this,M?T:I,M||"")}else Q={[c]:I}}let w={};for(let B in Q){let $=(M,j)=>{if(m&&(j.startsWith("animation")||j.startsWith("animation-name"))){let L=j.split(":")[1].split("!important")[0].split(" ").filter(D=>D in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(D)));L.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...L))}let X=j+((this.important||f)&&!j.endsWith("!important")?"!important":"");M in w?w[M].push(X):w[M]=[X]},S=B+":",T=Q[B];if(typeof T=="object")if(Array.isArray(T))for(let M of T)$(N,S+M.toString());else{le=!0;for(let M in T)$(M,S+T[M])}else $(N,S+T.toString())}for(let B of Object.values(this.vendorSuffixSelectors))for(let $ in w)this.natives.push({text:A(w[$].join(";"),$,B),theme:$})};if(this.theme)ge(this.theme,!1);else if(v)for(let N of n)ge(N,!0);else ge("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(t=>t.text).join("")}resolveValue(t,i){return Number.isNaN(+t)?t:t/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(t,i){let s=i??this.config.unit;if(s){let b="",o=t.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(o)if(t.includes("/")){let[v,c]=t.split("/");return{value:+v/+c*100+"%",unit:b}}else{let v=+o[1];return b=o[3]||"",b||((s==="rem"||s==="em")&&(v=v/this.css.config.rootSize),b=s||""),{value:v,unit:b}}}}};var we={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function oe(e){e.startsWith("#")&&(e=e.slice(1));let t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function ce(e,t,i){return((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)}function z(e){typeof e=="string"&&(e={"":e});let t=""in e,i=!1;for(let s in e)if(s&&+s>=100){i=!0;break}if(!i&&(!t||Object.keys(e).length>1)){let s=0,b="0"in e?oe(e[0]):[0,0,0],o,v,c=[],p=()=>{let g=o-s,u=v.map((l,d)=>(l-b[d])/g);for(let l of c){let d=l-s,f=b.map((h,x)=>Math.round(h+u[x]*d));e[l]="#"+ce.call(this,...f)}};for(let g=1;g<100;g++)g in e?(c.length?(o=g,v=oe(e[g]),p(),c.length=0,b=v):b=oe(e[g]),s=g):c.push(g);c.length&&(o=100,v="100"in e?oe(e[100]):[255,255,255],p())}return t||(e[""]=e[i?"500":"50"]),e}var Se={black:"#000000",white:"#ffffff",slate:z({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:z({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:z({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:z({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:z({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:z({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:z({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:z({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:z({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:z({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:z({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:z({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:z({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:z({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:z({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:z({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:z({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:z({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:z({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:z({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var Ce=16;var ke="";var Re={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("};var $e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"}};var Pe={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},i=(g,u)=>{let l=u.indexOf(":");if(l!==-1){g in t||(t[g]={});let d=t[g],f=u.slice(0,l);f in d||(d[f]=u.slice(l+1))}},s=g=>{let u=(l,d)=>{let f=d.slice(ie(g.className).length).match(/\{(.*)\}/)[1].split(";");for(let h of f)i(l,h)};if(this.theme){let l=g.natives.find(d=>d.theme===this.theme)??g.natives.find(d=>!d.theme);l&&u(this.theme,l.text)}else for(let l of g.natives)u(l.theme,l.text);if(g.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let l of g.keyframeNames)this.keyframeNames.includes(l)||this.keyframeNames.push(l)}},b=[],o="",v=()=>{o&&(b.push(o.replace(/ /g,"|")),o="")},c=1;(function g(u){for(;c<e.length;c++){let l=e[c];if(!u){if(l===";"){v();continue}if(l==="}")break}if(o+=l,u===l){if(u==="'"||u==='"'){let d=0;for(let f=o.length-2;o[f]==="\\";f--)d++;if(d%2)continue}break}else l in re&&u!=="'"&&u!=='"'&&(c++,g(re[l]))}})(void 0),v();for(let g of b){let u=this.css.create(g);if(Array.isArray(u))if(u.length)for(let l of u)s(l);else i(this.theme??"",g);else s(u)}let p={};for(let g in t)for(let[u,l]of Object.entries(t[g]))u in p?p[u][g]=l:p[u]={[g]:l};return p}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,i]=e.split(" x ");return{width:t,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"min-width":t,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"max-width":t,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},overflowY:{native:!0,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{native:!0,order:-1,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},userSelect:{native:!0,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-fill-color":e+t}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(e,t){return{"-webkit-text-stroke-width":e+t}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-stroke-color":e+t}}},textStroke:{unit:"rem",native:!0,declare(e,t){return{"-webkit-text-stroke":e+t}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(e){return[e.startsWith("transform")?e.slice(10):e]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(e){return{"border-left":e,"border-right":e}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(e){if(e.startsWith("gradient"))return["linear-"+e];let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridColumns:{match:"^grid-cols:.",declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridRows:{match:"^grid-rows:.",declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},Te=Pe;var Me=!1;var Be=!1;var Oe={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var je={$:{name:"var",transform(e){return"--"+e}},calc:{transform(e){let t=this.values,i=this.css.globalValues,s=this.css.config.functions,b=this,o=0,v="",c="";return function p(g,u){let l=!1,d=(f,h=!1,x=!1)=>{if(f!=="("&&(t&&c in t?c=t[c].toString():i&&c in i&&(c=i[c].toString())),c&&!l&&!u){let m=b.analyzeUnitValue(c,s.calc.unit);m&&(c=m.value+m.unit)}v+=c+(h&&e[o-1]!==" "?" ":"")+f+(x&&e[o+1]!==" "?" ":""),c="",l=!1};for(;o<e.length;o++){let f=e[o];if(f==="("){let h=c,x=l,m=v.length;if(d(f),o++,p(h,x||u),h!=="calc"){let n=s[h];if(n){let r=v.slice(m+2,v.length-1);v=v.slice(0,m-h.length+1)+(n.name??h)+"("+(n.transform?.(r)??r)+")"}}}else if(f===")"){d(f);break}else if(f===",")d(f,!1,!0);else if(f===" ")d(f);else{let h=e[o-1];switch(f){case"+":!c&&h!==")"?c+=f:d(f,!0,!0);break;case"-":g==="var"||!c&&h!==")"?c+=f:d(f,!0,!0);break;case"*":d(f,!0,!0);break;case"/":d(f,!0,!0),l=!0;break;default:c+=f;break}}}o>=e.length-1&&d("")}("",!1),v}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Ee="class";var se={breakpoints:we,colors:Se,rootSize:16,scope:ke,selectors:Re,semantics:$e,rules:Te,override:!1,important:!1,functions:je,keyframes:Oe,themeDriver:Ee};var Ie=[",",".","#","[","!","*",">","+","~",":","@"];var J=class e{constructor(t=se){this.config=t;if(!t?.override){let i=b=>{let o=q({},b),v=(c,p)=>{for(let g in c){let u=c[g];typeof u=="object"&&!Array.isArray(u)?v(u,p):p?p(g,u,c):g&&(c[g]={"":u})}};return v(o.classes),v(o.colors,(c,p,g)=>{if(c.startsWith("@"))return p;let u={},l=/(?:rgba?\(.*?\).*?(?= |$))|(?:[^ ]+)(?= |$)/g,d;for(;(d=l.exec(p))!==null;){let[f,h]=d[0].split("@");u[h?"@"+h:""]=f}c?g[c]=u:(Object.assign(g,u),Object.prototype.hasOwnProperty.call(u,"")||delete g[c])}),v(o.breakpoints),v(o.mediaQueries),v(o.selectors),v(o.values),o},s=(b,o)=>{let v=o.extends?.length?q({},o,...o.extends.map(p=>s(o,"config"in p?p.config:p))):o,c=q(i(b),i(v));return Object.prototype.hasOwnProperty.call(v,"keyframes")&&Object.assign(c.keyframes,v.keyframes),c};this.config=s(se,t)}this.cache(),e.instances.push(this)}static root;static config=se;static instances=[];static refresh=t=>{for(let i of this.instances)i.refresh(t)};rules=[];ruleBy={};countBy={};observing=!1;observer;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:t,classes:i,selectors:s,colors:b,values:o,breakpoints:v,mediaQueries:c,rules:p}=this.config;function g(n){return n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function u(n,r,a="",y={}){let C=_=>_?(a?a+"-":"")+_:a,R=Object.entries(n),O=[],F=[];for(let _ of R){let Q=_[1];(typeof Q=="object"&&!Array.isArray(Q)?O:F).push(_)}for(let[_,Q]of O)u(Q,r,C(_),y);if(r&&a)F.length&&(y[a]=F.reduce((_,[Q,le])=>(_[Q]=le,_),{}));else for(let[_,Q]of F)y[C(_)]=Q;return y}function l(n){for(let[r,a]of Object.entries(n))/^[0-9]+x$/.test(r)&&typeof a=="number"&&(n["-"+r]=a*-1);return n}if(t)for(let[n,r]of Object.entries(u(t,!0)))this.semantics.push([new RegExp("^"+g(n)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[n,r]]);if(s)for(let[n,r]of Object.entries(u(s,!1))){let a=new RegExp(g(n)+"(?![a-z-])");for(let y of Array.isArray(r)?r:[r]){let C=y.match(/^::-[a-z]+-/m)?.[0]??"",R=this.selectors[C];R||(R=this.selectors[C]=[]);let O=R.find(([F])=>F===a);O||(O=[a,[]],R.push(O)),O[1].push(y)}}o&&(this.globalValues=l(u(o,!1))),v&&(this.breakpoints=u(v,!1)),c&&(this.mediaQueries=u(c,!1));let d=i?u(i,!1):{},f=Object.keys(d),h=n=>{if(Object.prototype.hasOwnProperty.call(this.classes,n))return;let r=this.classes[n]=[],a=d[n];if(!a)return;let y=a.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let C of y){let R=O=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,O)){let F=this.classesBy[O];F.includes(n)||F.push(n)}else this.classesBy[O]=[n];r.includes(O)||r.push(O)};if(f.includes(C)){h(C);for(let O of this.classes[C])R(O)}else R(C)}};for(let n of f)h(n);let x=b?u(b,!0):{};for(let[n,r]of Object.entries(x)){let a=typeof r=="string"?{"":r}:r;for(let[y,C]of Object.entries(a)){let R=(O,F)=>{Object.prototype.hasOwnProperty.call(this.colorThemesMap,F)?this.colorThemesMap[F][O]=C:this.colorThemesMap[F]={[O]:C}};if(y.startsWith("@")){let O=y.slice(1);R(O,n),this.themeNames.includes(O)||this.themeNames.push(O)}else R("",n+(y?"-"+y:""))}}this.colorNames=b?Object.keys(b):[];let m=n=>{for(let[r,a]of Object.entries(this.colorThemesMap))for(let[y,C]of Object.entries(a))C.startsWith("#")||n(r,a,y,C)};if(m((n,r,a,y)=>{let C=/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/.exec(y);if(C){let R="#"+ce(+C[1],+C[2],+C[3]);C[4]&&(R+=Math.round(255*+C[4]).toString(16)),r[a]=R}}),m((n,r,a,y)=>{let[C,R]=y.split("/"),O=this.colorThemesMap[C];if(O){let F=(a?O[a]:void 0)??O[""];r[a]=R?F.slice(0,7)+Math.round(255*+R).toString(16):F}else console.error(`"${n}: ${y}" is an invalid ".colors" config`)}),p)for(let n in p){let r=p[n],{native:a,values:y,colored:C}=r,R=r.match;if(r.id=n,r.native=a===!0?n.replace(/(?!^)[A-Z]/g,O=>"-"+O).toLowerCase():void 0,y&&(this.values[n]=l(u(y,!1))),R){let O=Object.keys(this.values[n]??{});R.includes("$values")&&(R=O.length?R.replace(/\$values/,O.join("|")):R.replace(/(?:\|)?\$values/,"")),C&&R.includes("$colors")&&(R=this.colorNames.length?R.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):R.replace(/(?:\|)?\$colors/,"")),this.matches[n]=new RegExp(R)}}}observe(t,i={subtree:!0,childList:!0}){if(typeof window<"u"){if(t||(t=document),this.root===t)return this;this.root=t;let s=t===document;s&&(e.root=this),this.host=s?document.documentElement:this.root.host;let b=s?document.head:t,o=s?document.styleSheets:t.styleSheets;for(let c of o){let{ownerNode:p}=c;if(p&&p.id==="master"){this.style=p;break}}if(this.style)for(let c=0;c<this.style.sheet.cssRules.length;c++){let p=this.style.sheet.cssRules[c];if(p.constructor.name==="CSSKeyframesRule")continue;let g=l=>{if(l.selectorText){let f=l.selectorText.split(", ")[0].split(" ");for(let h=0;h<f.length;h++){let x=f[h];if(x[0]==="."){let m=x.slice(1),n="";for(let r=0;r<m.length;r++){let a=m[r],y=m[r+1];if(a==="\\"){if(r++,y!=="\\"){n+=y;continue}}else if(Ie.includes(a))break;n+=a}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,n)&&!Object.prototype.hasOwnProperty.call(this.classes,n)){let r=this.create(n)[0];if(r)return r}}}}else if(l.cssRules)for(let d=0;d<l.cssRules.length;d++){let f=g(l.cssRules[d]);if(f)return f}},u=g(p);if(u){this.rules.push(u),this.ruleBy[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[c+l];c+=u.natives.length-1,u.config.insert?.call(u)}}else this.style=document.createElement("style"),this.style.id="master",b.append(this.style);let v=c=>{c.forEach(p=>{Object.prototype.hasOwnProperty.call(this.countBy,p)?this.countBy[p]++:(this.countBy[p]=1,this.insert(p))})};v(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(c=>v(c.classList)),this.observer=new MutationObserver(c=>{let p={},g=[],u=[],l=[],d=(m,n)=>{n?m.classList.forEach(h):m.classList.forEach(f);let r=m.children;for(let a=0;a<r.length;a++){let y=r[a];y.classList&&(u.push(y),d(y,n))}},f=m=>{Object.prototype.hasOwnProperty.call(p,m)?p[m]++:p[m]=1},h=m=>{Object.prototype.hasOwnProperty.call(p,m)?p[m]--:Object.prototype.hasOwnProperty.call(this.countBy,m)&&(p[m]=-1)},x=(m,n)=>{for(let r=0;r<m.length;r++){let a=m[r];a.classList&&!u.includes(a)&&!l.includes(a)&&(a.isConnected!==n?(u.push(a),d(a,n)):l.push(a))}};for(let m=0;m<c.length;m++){let n=c[m],{addedNodes:r,removedNodes:a,type:y,target:C}=n;if(y==="attributes"){if(g.find(R=>R.target===C))continue;g.push(n)}else x(r,!1),(!C.isConnected||!u.includes(C))&&x(a,!0)}if(!(!g.length&&!Object.keys(p).length)){for(let{oldValue:m,target:n}of g){let r=u.includes(n),a=n.classList,y=m?m.split(" "):[];if(r){if(n.isConnected)continue;for(let C of y)a.contains(C)||h(C)}else if(n.isConnected){a.forEach(C=>{y.includes(C)||f(C)});for(let C of y)a.contains(C)||h(C)}}for(let m in p){let n=p[m],r=(this.countBy[m]||0)+n;r===0?(delete this.countBy[m],this.delete(m)):(Object.prototype.hasOwnProperty.call(this.countBy,m)||this.insert(m),this.countBy[m]=r)}}}),this.observer.observe(t,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let t=this.style?.sheet;if(t?.cssRules)for(let i=t.cssRules.length-1;i>=0;i--)t.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(t){for(let i in this.config.rules){let s=this.config.rules[i],b=this.matches[i],{native:o}=s;if(b&&b.test(t))return{origin:"match",config:s};if(o&&t.startsWith(o+":"))return{origin:"match",config:s}}for(let i of this.semantics)if(t.match(i[0]))return{origin:"semantics",value:i[1]}}create(t){let i=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let b=this.match(s);if(b)return new ne(s,b,this)};return(Object.prototype.hasOwnProperty.call(this.classes,t)?this.classes[t].map(s=>i(s)):[i(t)]).filter(s=>s&&s.text)}refresh(t){if(t?.override?this.config=t:this.config=q(se,t),this.cache(),!this.style)return;let i=document.createElement("style");i.id="master",this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let s in this.countBy)this.insert(s)}destroy(){let t=e.instances;this.disconnect(),t.splice(t.indexOf(this),1)}delete(t){let i=this.style?.sheet,s=b=>{let o=this.ruleBy[b];if(!(!o||Object.prototype.hasOwnProperty.call(this.classesBy,b)&&this.classesBy[b].some(v=>Object.prototype.hasOwnProperty.call(this.countBy,v)))){if(i&&o.natives.length){let v=o.natives[0];for(let c=0;c<i.cssRules.length;c++)if(i.cssRules[c]===v.cssRule){for(let g=0;g<o.natives.length;g++)i.deleteRule(c);break}}if(this.rules.splice(this.rules.indexOf(o),1),delete this.ruleBy[b],o.keyframeNames){let v=this.rules[0];for(let c of o.keyframeNames){let p=this.keyframes[c];if(!--p.count){let g=v.natives.indexOf(p.native);this.style.sheet.deleteRule(g),v.natives.splice(g,1),delete this.keyframes[c]}}v.natives.length||this.rules.splice(0,1)}o.config.delete?.call(o,b)}};if(Object.prototype.hasOwnProperty.call(this.classes,t)){for(let b of this.classes[t])Object.prototype.hasOwnProperty.call(this.countBy,b)||s(b);delete this.ruleBy[t]}else s(t)}insert(t){let i=this.create(t);return i.length?(this.insertRules(i),!0):!1}insertRules(t){for(let i of t){if(this.ruleBy[i.className])continue;let s,b=Object.keys(this.keyframes).length,o=this.rules.length-1,{media:v,order:c,priority:p,hasWhere:g,className:u}=i,l=(h,x,m)=>{let n=h;for(;n<=o;n++){let r=this.rules[n];if(x?.(r))return m?-1:n-1;if(m?.(r))return n}return m?-1:n-1},d,f;if(v){let h=this.rules.findIndex(x=>x.media);if(h===-1)s=o+1;else{let{"max-width":x,"min-width":m}=v.features;if(x||m){let n=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(n===-1)s=o+1;else if(x&&m){if(p===-1?(d=l(n,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),f=l(n,r=>r.priority!==-1)):(d=l(n,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=o),d!==-1){let r=x.value-m.value,a=f,y=d;for(d=void 0;a>=y;a--){let{"max-width":C,"min-width":R}=this.rules[a].media.features,O=C.value-R.value;if(O<r)f=a-1;else if(O===r)d=a;else break}}if(d!==-1){let r=x.value-m.value;for(let a=f;a>=d;a--){let{"max-width":y,"min-width":C}=this.rules[a].media.features,R=y.value-C.value;if(R<r)f=a-1;else if(R>r){d=a+1;break}}}}else if(m){if(p===-1?(d=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),f=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(d=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),f=l(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["min-width"].value;if(a>m.value)f=r-1;else if(a<m.value){d=r+1;break}}}else if(p===-1?(d=l(n,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),f=l(n,r=>r.media.features["min-width"]||r.priority!==-1)):(d=l(n,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),f=l(n,r=>r.media.features["min-width"]&&r.priority!==-1)),d!==-1)for(let r=f;r>=d;r--){let a=this.rules[r].media.features["max-width"].value;if(a<x.value)f=r-1;else if(a>x.value){d=r+1;break}}}else p===-1?(d=h,f=l(h,n=>n.media?.features["max-width"]||n.media?.features["min-width"]||n.priority!==-1)):(d=l(h,n=>n.media?.features["max-width"]||n.media?.features["min-width"],n=>n.priority!==-1),f=l(h,n=>n.media?.features["max-width"]||n.media?.features["min-width"]))}}else{let h=b?1:0;p===-1?(d=h,f=l(h,x=>x.media||x.priority!==-1)):(d=l(h,x=>x.media,x=>x.priority!==-1),f=l(h,x=>x.media))}if(s===void 0)if(d===-1)s=f+1;else{if(p===-1)for(let h=d;h<=f;h++){let x=this.rules[h];if(!(!g&&x.hasWhere)&&(g&&!x.hasWhere||x.order>=c)){s=h;break}}else for(let h=d;h<=f;h++){let x=this.rules[h];if(!(!g&&x.hasWhere)){if(g&&!x.hasWhere){s=h;break}if(x.priority<p){s=h;break}else if(x.priority===p){if(x.order>=c){s=h;break}}else s=h+1}}s===void 0&&(s=f+1)}if(this.rules.splice(s,0,i),this.ruleBy[u]=i,this.style){let h=this.style.sheet,x=0,m=n=>{let r=this.rules[n];if(r){if(!r.natives.length)return m(n-1);let a=r.natives[r.natives.length-1].cssRule;for(let y=0;y<h.cssRules.length;y++)if(h.cssRules[y]===a){x=y+1;break}}};m(s-1);for(let n=0;n<i.natives.length;)try{let r=i.natives[n];h.insertRule(r.text,x),r.cssRule=h.cssRules[x++],n++}catch(r){console.error(r),i.natives.splice(n,1)}}if(i.keyframeNames){let h=this.style?.sheet;for(let x of i.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,x))this.keyframes[x].count++;else{let m={text:`@keyframes ${x}{`+Object.entries(this.config.keyframes[x]).map(([r,a])=>`${r}{${Object.entries(a).map(([y,C])=>y+":"+C).join(";")}}`).join("")+"}",theme:""},n;if(Object.keys(this.keyframes).length?(n=this.rules[0]).natives.push(m):this.rules.splice(0,0,n={natives:[m],get text(){return this.natives.map(r=>r.text).join("")}}),h){let r;for(let a=0;a<h.cssRules.length;a++){let y=h.cssRules[a];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===x){r=y;break}}if(r)m.cssRule=r;else{let a=n.natives.length-1;h.insertRule(m.text,a),m.cssRule=h.cssRules[a]}}this.keyframes[x]={native:m,count:1}}}i.config.insert?.call(i)}}get text(){return this.rules.map(t=>t.text).join("")}};typeof window<"u"&&(window.MasterCSS=J);var Ae=`/** @type {import('@master/css').Config} */
1
+ function xe(e){let t=typeof Buffer<"u"?Buffer:null;return!!(t&&e instanceof t||e instanceof Date||e instanceof RegExp)}function ye(e){if(typeof Buffer<"u"&&Buffer&&e instanceof Buffer){let t=Buffer.alloc(e.length);return e.copy(t),t}else{if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);throw new Error("Unexpected situation")}}function Ce(e){let t=[];return e.forEach(function(i,s){typeof i=="object"&&i!==null?Array.isArray(i)?t[s]=Ce(i):xe(i)?t[s]=ye(i):t[s]=ie({},i):t[s]=i}),t}function ve(e,t){return t==="__proto__"?void 0:e[t]}function ie(...e){let t={},i,s;return e.forEach(function(x){typeof x!="object"||x===null||Array.isArray(x)||Object.keys(x).forEach(function(a){if(s=ve(t,a),i=ve(x,a),i!==t)if(typeof i!="object"||i===null){t[a]=i;return}else if(Array.isArray(i)){t[a]=Ce(i);return}else if(xe(i)){t[a]=ye(i);return}else if(typeof s!="object"||s===null||Array.isArray(s)){t[a]=ie({},i);return}else{t[a]=ie(s,i);return}})}),t}var ae={"(":")","'":"'",'"':'"',"{":"}"};function ce(e){if(typeof CSS<"u")return CSS.escape(e);if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let t=String(e),i=t.length,s=-1,x="",a,u=t.charCodeAt(0);if(i==1&&u==45)return"\\"+t;for(;++s<i;){if(a=t.charCodeAt(s),a==0){x+="\uFFFD";continue}if(a>=1&&a<=31||a==127||s==0&&a>=48&&a<=57||s==1&&a>=48&&a<=57&&u==45){x+="\\"+a.toString(16)+" ";continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){x+=t.charAt(s);continue}x+="\\"+t.charAt(s)}return x}var Ae={unit:"",order:0,separators:[","]},Pe=/^(media|supports|page|font-face|keyframes|counter-style|font-feature-values|property|layer)(?=\||{|\(|$)/,ue=class{constructor(t,i={},s){this.className=t;this.meta=i;this.css=s;this.config=ie(Ae,i.config);let{unit:x,order:a,colored:u,native:d,analyze:v,transform:b,declare:g,create:c}=this.config,{scope:m,important:h,functions:p,themeDriver:l,keyframes:o}=s.config,{themeNames:n,colorNames:r,colorThemesMap:f,selectors:y,breakpoints:C,mediaQueries:k,classesBy:A,globalValues:M}=s,P=A[t];c&&c.call(this,t);let V,K,te,Q,_;if(i.origin==="semantics"){let[N,E]=i.value;Q=t.slice(N.length),V=E}else{let N;if(v)[N,te]=v.call(this,t);else{let O=t.indexOf(":");this.prefix=t.slice(0,O+1),N=t.slice(O+1)}_=[];let E=this,I=this.values,F=[","];this.config.separators.length&&F.push(...this.config.separators);let R="",w=0;(function O($,S,T,B=void 0,j=[],H=[],W){let Y=B===void 0,X,se=L=>L==="'"||L==='"',re=()=>X=R.length,J=()=>{if(R){let L=R,D=Y?L:R.slice(X);if(R="",G="",I&&D in I&&!j.includes(D)){let U=w;w=0,O(I[D].toString(),S,void 0,B,[...j,D],H,W),w=U,Y||(R=R.slice(0,X)+R)}else if(M&&D in M&&!H.includes(D)){let U=w;w=0,O(M[D].toString(),S,void 0,B,j,[...H,D],W),w=U,Y||(R=R.slice(0,X)+R)}else if(Y){let U=!W&&E.analyzeUnitValue(D,S);_.push({value:U?.value??D,unit:U?.unit})}else{let U=!W&&E.analyzeUnitValue(D,S);R=U?L.slice(0,X)+U.value+U.unit:L}re()}},ee=se(T);re();let G="";for(;w<$.length;w++){let L=$[w];if(L===T){if(ee){R+=L;let D=0;for(let U=R.length-2;R[U]==="\\";U--)D++;if(D%2)continue}else J(),R+=L;return}else if(!ee&&L in ae){let D=L==="("&&G&&p?.[G];D?.name&&(R=R.slice(0,R.length-G.length)+D.name,G=D.name),R+=L,w++;let U=ae[L];O($,D?.unit??S,U,G||B||"",j,H,W||!!D?.transform),D?.transform&&(R=R.slice(0,X+G.length+1)+D.transform.call(E,R.slice(X+G.length+1,-1))+R.slice(-1)),Y&&(se(U)?(_.push(R),R=""):J()),G=""}else if((L==="|"||L===" ")&&T!=="}"&&(!ee||B==="path"))J(),Y||(R+=" ",X++);else{if(!ee){if(L==="."){if(isNaN(+$[w+1]))break;$[w-1]==="-"&&(R+="0")}else if(F.includes(L)){J(),Y?_.push(L):(R+=L,X++);continue}else if(Y&&(L==="#"&&(R||_.length&&$[w-1]!=="|"&&_[w-1]!==" ")||["!","*",">","+","~",":","[","@","_"].includes(L)))break;G+=L}R+=L}}B===void 0&&J()})(N,x),Q=N.slice(w)}this.order=typeof a=="function"?a.call(this,this.prefix):a,Q[0]==="!"&&(this.important=!0,Q=Q.slice(1));let q=N=>{let E=N.split(/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/).map((w,O)=>O%3?w:w.replace(/(^|[^_])_(?!_)/g,"$1 ")).join(""),I=[],F="",R=0;for(let w=0;w<E.length;w++){let O=E[w];if(O==="\\"){F+=O+E[++w];continue}!R&&O===","?(I.push(F),F=""):(F+=O,R&&O===")"?R--:O==="("&&R++)}return F&&I.push(F),I};this.prefixSelectors=te?q(te):[""];let Z=Q.split("@"),ne=Z[0];if(ne){this.vendorSuffixSelectors={};let N=(w,O,$,S)=>{for(let[T,B]of O)if(T.test(w)){for(let j of B)N(w.replace(T,j),O,$,!0);return}S&&$.push(w)},E=[];""in y?N(ne,y[""],E,!0):E.push(ne);let I={};for(let[w,O]of Object.entries(y)){if(!w)continue;let $=[];for(let S of E)N(S,O,$,!1);$.length&&(I[w]=$)}let F=(w,O)=>{let $=O.reduce((S,T)=>(S.push(...q(T)),S),[]);w in this.vendorSuffixSelectors?this.vendorSuffixSelectors[w].push(...$):this.vendorSuffixSelectors[w]=$},R=Object.keys(I);if(R.length)for(let w of R)F(w,I[w]);else F("",E);for(let w of Object.values(this.vendorSuffixSelectors))for(let O of w){this.hasWhere!==!1&&(this.hasWhere=O.includes(":where("));let $=[":disabled",":active",":focus",":hover"];for(let S=0;S<$.length;S++)if(O.includes($[S])){(this.priority===-1||this.priority>S)&&(this.priority=S);break}}}else this.vendorSuffixSelectors={"":[""]};for(let N=1;N<Z.length;N++){let E=Z[N];if(E)if(E==="rtl"||E==="ltr")this.direction=E;else{let I,F,R=Pe.exec(E);if(R)I=R[1],F=E.slice(I.length);else{this.media={token:E,features:{}};let w=[],O=S=>{if(S==="all"||S==="print"||S==="screen"||S==="speech")this.media.type=S;else if(S==="\u{1F5A8}")this.media.type="print";else if(S==="landscape"||S==="portrait")w.push("(orientation:"+S+")");else if(S==="motion"||S==="reduced-motion")w.push("(prefers-reduced-motion:"+(S==="motion"?"no-preference":"reduce")+")");else if(k&&S in k)w.push(k[S]);else{let T={token:S},B="",j="",H=0;S.startsWith("<=")?(j="<=",B="max-width"):S.startsWith(">=")||C[S]?(j=">=",B="min-width"):S.startsWith(">")?(j=">",B="min-width",H=.02):S.startsWith("<")&&(j="<",B="max-width",H=-.02);let W=j?S.replace(j,""):S,Y=C[W];switch(B){case"max-width":case"min-width":Y?Object.assign(T,this.analyzeUnitValue(Y.toString(),"px")):Object.assign(T,this.analyzeUnitValue(W,"px")),T.unit==="px"&&(T.value+=H),this.media.features[B]=T,w.push("("+B+":"+(T.value+T.unit)+")");break}}},$=E.includes("&");if($){let S=E.split("&");for(let T of S)O(T)}else O(E);if(this.media.type&&(F=this.media.type),w.length&&(F=w.join(" and ")),F)I="media";else if(!$){this.theme=E;continue}}F&&(this.at[I]=(I in this.at?this.at[I]+" and ":"")+F.replace(/\|/g," "))}}let le=(N,E)=>{let I,F=(O,$,S)=>{let T="";this.direction&&(T+="[dir="+this.direction+"] ");let B=this.prefixSelectors.map(W=>W+T),j=(W,Y)=>B.map(X=>(W&&l!=="media"?l==="host"?`:host(.${W}) `:`.${W} `:"")+(m?m+" ":"")+X).reduce((X,se)=>(X.push(S.reduce((re,J)=>(re.push(se+"."+ce(Y)+J),re),[]).join(",")),X),[]).join(","),H=j($,t)+(P?P.reduce((W,Y)=>W+","+j(this.theme??(u||K?$:""),Y),""):"")+"{"+O+"}";for(let W of Object.keys(this.at).sort((Y,X)=>X==="supports"?-1:1))H="@"+W+(W.includes(" ")?"":" ")+this.at[W]+"{"+H+"}";return $&&l==="media"&&(H=`@media(prefers-color-scheme:${$}){`+H+"}"),H},R=[];if(_){let O=[this.theme??N,""],$,S=!1;for(let T of _)if(typeof T=="string")R.push(T);else{let B=T.value;if(T.unit)B+=T.unit;else if(u&&f&&r){let j=!1;B=B.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(H,W,Y,X)=>{let se=f[Y];if(se){let re,J;for(let ee of O)if(re=se[ee]){J=ee;break}if(re){j=!E||J===N,$||($=j);let ee=re;if(X){let G=X.endsWith("%")?parseFloat(X)/100:+X;G=isNaN(G)?1:Math.min(Math.max(G,0),1),ee+=Math.round(G*255).toString(16).toUpperCase().padStart(2,"0")}return W+ee}else S=!0}return H})}R.push(B)}if(E&&(S||($===void 0?N:!$)))return;if(I=R.reduce((T,B,j)=>T+B+(B===","||_[j+1]===","||j===_.length-1?"":" "),""),b&&(I=b.call(this,I,this.css.config)),u&&I==="current"&&(I="currentColor"),g){let T,B;if(_.length===1){let j=_[0];typeof j=="object"&&(T=j.value,B=j.unit)}V=g.call(this,B?T:I,B||"")}else V={[d]:I}}let w={};for(let O in V){let $=(B,j)=>{if(o&&(j.startsWith("animation")||j.startsWith("animation-name"))){let W=j.split(":")[1].split("!important")[0].split(" ").filter(Y=>Y in this.css.config.keyframes&&(!this.keyframeNames||!this.keyframeNames.includes(Y)));W.length&&(this.keyframeNames||(this.keyframeNames=[]),this.keyframeNames.push(...W))}let H=j+((this.important||h)&&!j.endsWith("!important")?"!important":"");B in w?w[B].push(H):w[B]=[H]},S=O+":",T=V[O];if(typeof T=="object")if(Array.isArray(T))for(let B of T)$(N,S+B.toString());else{K=!0;for(let B in T)$(B,S+T[B])}else $(N,S+T.toString())}for(let O of Object.values(this.vendorSuffixSelectors))for(let $ in w)this.natives.push({text:F(w[$].join(";"),$,O),theme:$})};if(this.theme)le(this.theme,!1);else if(u)for(let N of n)le(N,!0);else le("",!1)}at={};priority=-1;natives=[];keyframeNames;config;get values(){return this.css.values[this.config.id]}get text(){return this.natives.map(t=>t.text).join("")}resolveValue(t,i){return Number.isNaN(+t)?t:t/(i==="rem"||i==="em"?this.css.config.rootSize:1)+i}analyzeUnitValue(t,i){let s=i??this.config.unit;if(s){let x="",a=t.match(/^([+-.]?\d+(\.?\d+)?)(.*)?/);if(a)if(t.includes("/")){let[u,d]=t.split("/");return{value:+u/+d*100+"%",unit:x}}else{let u=+a[1];return x=a[3]||"",x||((s==="rem"||s==="em")&&(u=u/this.css.config.rootSize),x=s||""),{value:u,unit:x}}}}};var we={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function de(e){e.startsWith("#")&&(e=e.slice(1));let t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function he(e,t,i){return((1<<24)+(e<<16)+(t<<8)+i).toString(16).slice(1)}function z(e){typeof e=="string"&&(e={"":e});let t=""in e,i=!1;for(let s in e)if(s&&+s>=100){i=!0;break}if(!i&&(!t||Object.keys(e).length>1)){let s=0,x="0"in e?de(e[0]):[0,0,0],a,u,d=[],v=()=>{let b=a-s,g=u.map((c,m)=>(c-x[m])/b);for(let c of d){let m=c-s,h=x.map((p,l)=>Math.round(p+g[l]*m));e[c]="#"+he.call(this,...h)}};for(let b=1;b<100;b++)b in e?(d.length?(a=b,u=de(e[b]),v(),d.length=0,x=u):x=de(e[b]),s=b):d.push(b);d.length&&(a=100,u="100"in e?de(e[100]):[255,255,255],v())}return t||(e[""]=e[i?"500":"50"]),e}var Se={black:"#000000",white:"#ffffff",slate:z({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:z({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:z({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:z({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:z({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:z({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:z({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:z({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:z({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:z({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:z({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:z({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:z({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:z({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:z({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:z({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:z({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:z({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:z({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:z({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"})};var ke=16;var Re="";var $e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child(",":only":":only-child"};var Te={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflowed:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"},"gradient-text":{"-webkit-text-fill-color":"transparent","-webkit-background-clip":"text","background-clip":"text"},fit:{width:"fit-content",height:"fit-content"}};var ze={group:{match:"^(?:.+?[*_>~+])?\\{.+?\\}",analyze(e){let t=0;for(;t<e.length&&!(e[t]==="{"&&e[t-1]!=="\\");t++);return[e.slice(t),e.slice(0,t)]},declare(e){let t={},i=(b,g)=>{let c=g.indexOf(":");if(c!==-1){b in t||(t[b]={});let m=t[b],h=g.slice(0,c);h in m||(m[h]=g.slice(c+1))}},s=b=>{let g=(c,m)=>{let h=m.slice(ce(b.className).length).match(/\{(.*)\}/)[1].split(";");for(let p of h)i(c,p)};if(this.theme){let c=b.natives.find(m=>m.theme===this.theme)??b.natives.find(m=>!m.theme);c&&g(this.theme,c.text)}else for(let c of b.natives)g(c.theme,c.text);if(b.keyframeNames){this.keyframeNames||(this.keyframeNames=[]);for(let c of b.keyframeNames)this.keyframeNames.includes(c)||this.keyframeNames.push(c)}},x=[],a="",u=()=>{a&&(x.push(a.replace(/ /g,"|")),a="")},d=1;(function b(g){for(;d<e.length;d++){let c=e[d];if(!g){if(c===";"){u();continue}if(c==="}")break}if(a+=c,g===c){if(g==="'"||g==='"'){let m=0;for(let h=a.length-2;a[h]==="\\";h--)m++;if(m%2)continue}break}else c in ae&&g!=="'"&&g!=='"'&&(d++,b(ae[c]))}})(void 0),u();for(let b of x){let g=this.css.create(b);if(Array.isArray(g))if(g.length)for(let c of g)s(c);else i(this.theme??"",b);else s(g)}let v={};for(let b in t)for(let[g,c]of Object.entries(t[b]))g in v?v[g][b]=c:v[g]={[b]:c};return v}},variable:{match:"^\\$[^ (){}A-Z]+:[^ ]",declare(e){return{["--"+this.prefix.slice(1,-1)]:e}}},fontSize:{match:"^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},fontWeight:{match:"^f(?:ont)?:(?:bolder|$values)(?!\\|)",native:!0,values:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900}},fontFamily:{match:"^f(?:ont)?:(?:$values)(?!\\|)",native:!0,values:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"}},fontSmoothing:{match:"^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)",declare(e){switch(e){case"subpixel-antialiased":return{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"};case"antialiased":return{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}}}},fontStyle:{match:"^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)",native:!0,unit:"deg"},fontVariantNumeric:{match:"^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)",native:!0},fontFeatureSettings:{match:"^font-feature:.",native:!0},font:{match:"^f:.",native:!0,order:-1},color:{match:"^(?:color|fg|foreground):.",native:!0,colored:!0,values:{current:"currentColor"}},marginLeft:{match:"^ml:.",native:!0,unit:"rem"},marginRight:{match:"^mr:.",native:!0,unit:"rem"},marginTop:{match:"^mt:.",native:!0,unit:"rem"},marginBottom:{match:"^mb:.",native:!0,unit:"rem"},marginX:{match:"^(?:mx|margin-x):.",unit:"rem",order:-.5,declare(e,t){return{"margin-left":e+t,"margin-right":e+t}}},marginY:{match:"^(?:my|margin-y):.",unit:"rem",order:-.5,declare(e,t){return{"margin-top":e+t,"margin-bottom":e+t}}},margin:{match:"^m:.",native:!0,unit:"rem",order:-1},paddingLeft:{match:"^pl:.",native:!0,unit:"rem"},paddingRight:{match:"^pr:.",native:!0,unit:"rem"},paddingTop:{match:"^pt:.",native:!0,unit:"rem"},paddingBottom:{match:"^pb:.",native:!0,unit:"rem"},paddingX:{match:"^(?:px|padding-x):.",unit:"rem",order:-.5,declare(e,t){return{"padding-left":e+t,"padding-right":e+t}}},paddingY:{match:"^(?:py|padding-y):.",unit:"rem",order:-.5,declare(e,t){return{"padding-top":e+t,"padding-bottom":e+t}}},padding:{match:"^p:.",native:!0,unit:"rem",order:-1},flexBasis:{values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},unit:"rem",native:!0},flexWrap:{match:"^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)",native:!0},flexGrow:{native:!0},flexShrink:{native:!0},flexDirection:{match:"^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)",native:!0,values:{col:"column","col-reverse":"column-reverse"}},flex:{native:!0,order:-1},display:{match:"^d:.",native:!0},width:{match:"^w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},height:{match:"^h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minWidth:{match:"^min-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},minHeight:{match:"^min-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},box:{match:"^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e]},declare(e){let[t,i]=e.split(" x ");return{width:t,height:i}}},minBox:{match:"^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"min-width":t,"min-height":i}}},maxBox:{match:"^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)",unit:"rem",separators:["x"],analyze(e){return[e.slice(4)]},declare(e){let[t,i]=e.split(" x ");return{"max-width":t,"max-height":i}}},contain:{native:!0},content:{native:!0},counterIncrement:{native:!0},counterReset:{native:!0},letterSpacing:{match:"^ls:.",native:!0,unit:"em"},lineHeight:{match:"^lh:.",native:!0},objectFit:{match:"^(?:object|obj):(?:contain|cover|fill|scale-down|$values)",native:!0},objectPosition:{match:"^(?:object|obj):(?:top|bottom|right|left|center|$values)",native:!0},textAlign:{match:"^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)",native:!0},textDecorationColor:{match:"^text-decoration:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},textDecorationStyle:{match:"^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)",native:!0},textDecorationThickness:{match:"^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$",native:!0,unit:"em"},textDecorationLine:{match:"^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)",native:!0},textDecoration:{match:"^t(?:ext)?:(?:underline|line-through|overline)",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"},order:-1},textUnderlineOffset:{unit:"rem",native:!0},textOverflow:{match:"^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))",native:!0},textOrientation:{match:"^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)",native:!0},textTransform:{match:"^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)",native:!0},textRendering:{match:"^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)",native:!0},textIndent:{unit:"rem",native:!0},verticalAlign:{match:"^(?:v|vertical):.",native:!0},columns:{match:"^(?:columns|cols):.",native:!0,order:-1},whiteSpace:{native:!0},top:{native:!0,unit:"rem"},bottom:{native:!0,unit:"rem"},left:{native:!0,unit:"rem"},right:{native:!0,unit:"rem"},inset:{native:!0,unit:"rem",order:-1},lines:{match:"^lines:.",declare(e,t){return{overflow:"hidden",display:"-webkit-box","overflow-wrap":"break-word","text-overflow":"ellipsis","-webkit-box-orient":"vertical","-webkit-line-clamp":e+t}}},maxHeight:{match:"^max-h:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},maxWidth:{match:"^max-w:.",unit:"rem",native:!0,values:{full:"100%",fit:"fit-content",max:"max-content",min:"min-content","3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},boxSizing:{match:"^box:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box"}},opacity:{native:!0},visibility:{native:!0},clear:{native:!0},float:{native:!0},isolation:{native:!0},overflowX:{native:!0,declare(e,t){return e==="overlay"?{"overflow-x":["auto",e]}:{"overflow-x":e}}},overflowY:{native:!0,declare(e,t){return e==="overlay"?{"overflow-y":["auto",e]}:{"overflow-y":e}}},overflow:{native:!0,order:-1,declare(e,t){return e==="overlay"?{overflow:["auto",e]}:{overflow:e}}},overscrollBehaviorX:{native:!0},overscrollBehaviorY:{native:!0},overscrollBehavior:{native:!0,order:-1},zIndex:{match:"^z:.",native:!0},position:{native:!0,values:{abs:"absolute",rel:"relative"}},cursor:{native:!0},pointerEvents:{native:!0},resize:{native:!0},touchAction:{native:!0},wordBreak:{native:!0},wordSpacing:{native:!0,unit:"em"},userDrag:{native:!0,declare(e,t){return{"user-drag":e+t,"-webkit-user-drag":e+t}}},userSelect:{native:!0,declare(e,t){return{"user-select":e+t,"-webkit-user-select":e+t}}},textShadow:{unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},textSize:{match:"^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",declare(e,t){return{"font-size":e+t,"line-height":t==="em"?e+.875+t:`calc(${e}${t} + ${.875}em)`}}},textFillColor:{native:!0,match:"^(?:text-fill|text|t):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-fill-color":e+t}}},textStrokeWidth:{match:"^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)",unit:"rem",declare(e,t){return{"-webkit-text-stroke-width":e+t}}},textStrokeColor:{match:"^text-stroke:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"-webkit-text-stroke-color":e+t}}},textStroke:{unit:"rem",native:!0,declare(e,t){return{"-webkit-text-stroke":e+t}}},boxShadow:{match:"^s(?:hadow)?:.",unit:"rem",native:!0,colored:!0,values:{current:"currentColor"}},tableLayout:{native:!0},transformBox:{match:"^transform:(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},transformStyle:{match:"^transform:(?:flat|preserve-3d|$values)(?!\\|)",native:!0},transformOrigin:{match:"^transform:(?:top|bottom|right|left|center|[0-9]|$values)",native:!0,unit:"px"},transform:{match:"^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\(",native:!0,analyze(e){return[e.startsWith("transform")?e.slice(10):e]}},transitionProperty:{match:"^~property:.",native:!0},transitionTimingFunction:{match:"^~easing:.",native:!0},transitionDuration:{match:"^~duration:.",native:!0,unit:"ms"},transitionDelay:{match:"^~delay:.",native:!0,unit:"ms"},transition:{match:"^~[^!*>+~:[@_]+\\|",native:!0,analyze(e){if(e.startsWith("~"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},order:-1},animationDelay:{match:"^@delay:.",native:!0,unit:"ms"},animationDirection:{match:"^@direction:.",native:!0,values:{alt:"alternate","alt-reverse":"alternate-reverse"}},animationDuration:{match:"^@duration:.",native:!0,unit:"ms"},animationFillMode:{match:"^@fill:.",native:!0},animationIterationCount:{match:"^@iteration:.",native:!0},animationName:{match:"^@name:.",native:!0},animationPlayState:{match:"^@play:.",native:!0},animationTimingFunction:{match:"^@easing:.",native:!0},animation:{match:"^@[^!*>+~:[@_]+\\|",native:!0,order:-1,analyze(e){if(e.startsWith("@"))return[e.slice(1)];{let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}}},borderCollapse:{match:"^b(?:order)?:(?:collapse|separate|$values)(?!\\|)",native:!0},borderSpacing:{unit:"rem",native:!0},borderTopColor:{match:"^b(?:t|order-top(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderBottomColor:{match:"^b(?:b|order-bottom(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderLeftColor:{match:"^b(?:l|order-left(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderRightColor:{match:"^b(?:r|order-right(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},borderXColor:{match:"^b(?:x|order-x(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-left-color":e+t,"border-right-color":e+t}}},borderYColor:{match:"^b(?:y|order-y(?:-color)?):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",order:-.5,colored:!0,values:{current:"currentColor"},declare(e,t){return{"border-top-color":e+t,"border-bottom-color":e+t}}},borderColor:{match:"^b(?:order)?(?:-color)?:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,order:-1,colored:!0,values:{current:"currentColor"}},borderTopLeftRadius:{match:"^r(?:tl|lt):.",unit:"rem",native:!0},borderTopRightRadius:{match:"^r(?:tr|rt):.",unit:"rem",native:!0},borderBottomLeftRadius:{match:"^r(?:bl|lb):.",unit:"rem",native:!0},borderBottomRightRadius:{match:"^r(?:br|rb):.",unit:"rem",native:!0},borderTopRadius:{match:"^rt:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-top-right-radius":e+t}}},borderBottomRadius:{match:"^rb:.",unit:"rem",order:-.5,declare(e,t){return{"border-bottom-left-radius":e+t,"border-bottom-right-radius":e+t}}},borderLeftRadius:{match:"^rl:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-left-radius":e+t,"border-bottom-left-radius":e+t}}},borderRightRadius:{match:"^rr:.",unit:"rem",order:-.5,declare(e,t){return{"border-top-right-radius":e+t,"border-bottom-right-radius":e+t}}},borderRadius:{match:"^r:.",unit:"rem",native:!0,order:-1},borderTopStyle:{match:"^b(?:t|order-top(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderBottomStyle:{match:"^b(?:b|order-bottom(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderLeftStyle:{match:"^b(?:l|order-left(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderRightStyle:{match:"^b(?:r|order-right(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},borderXStyle:{match:"^b(?:x|order-x(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-left-style":e+t,"border-right-style":e+t}}},borderYStyle:{match:"^b(?:y|order-y(?:-style)?):(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",order:-.5,declare(e,t){return{"border-top-style":e+t,"border-bottom-style":e+t}}},borderStyle:{match:"^b(?:order)?(?:-style)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0,order:-1},borderTopWidth:{match:"^b(?:t|order-top(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderBottomWidth:{match:"^b(?:b|order-bottom(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderLeftWidth:{match:"^b(?:l|order-left(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderRightWidth:{match:"^b(?:r|order-right(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderXWidth:{match:"^b(?:x|order-x(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-left-width":e+t,"border-right-width":e+t}}},borderYWidth:{match:"^b(?:y|order-y(?:-width)?):(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",order:-.5,declare(e,t){return{"border-top-width":e+t,"border-bottom-width":e+t}}},borderWidth:{match:"^b(?:order)?(?:-width)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0,order:-1},borderImageOutset:{unit:"rem",native:!0},borderImageRepeat:{match:"^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)",native:!0},borderImageSlice:{native:!0},borderImageSource:{match:"^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},borderImageWidth:{match:"^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},borderImage:{native:!0,order:-1},borderTop:{match:"^bt:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderBottom:{match:"^bb:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderLeft:{match:"^bl:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderRight:{match:"^br:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},borderX:{match:"^(?:bx|border-x):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-left":e,"border-right":e}}},borderY:{match:"^(?:by|border-y):.",unit:"rem",colored:!0,order:-.5,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},declare(e){return{"border-top":e,"border-bottom":e}}},border:{match:"^b:.",native:!0,unit:"rem",colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e},order:-2},backgroundAttachment:{match:"^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)",native:!0},backgroundBlendMode:{native:!0},backgroundColor:{match:"^(?:bg|background):(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},backgroundClip:{match:"^(?:bg|background):(?:text|$values)(?!\\|)",native:!0,declare(e,t){return{"-webkit-background-clip":e+t,"background-clip":e+t}},values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundOrigin:{match:"^(?:bg|background):(?:$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box"}},backgroundPosition:{match:"^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)",native:!0,unit:"px"},backgroundRepeat:{match:"^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])",native:!0},backgroundSize:{match:"^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)",unit:"rem",native:!0},backgroundImage:{match:"^(?:(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)|gradient\\(.*\\))(?!\\|)",native:!0,colored:!0,values:{current:"currentColor"},analyze(e){if(e.startsWith("gradient"))return["linear-"+e];let t=e.indexOf(":");return this.prefix=e.slice(0,t+1),[e.slice(t+1)]}},background:{match:"^bg:.",native:!0,colored:!0,values:{current:"currentColor"},order:-1},mixBlendMode:{match:"^blend:.",native:!0},backdropFilter:{match:"^bd:.",native:!0,colored:!0,values:{current:"currentColor"},declare(e,t){return{"backdrop-filter":e+t,"-webkit-backdrop-filter":e+t}}},filter:{match:"^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\(",native:!0,colored:!0,values:{current:"currentColor"}},fill:{match:"^fill:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},strokeDasharray:{native:!0},strokeDashoffset:{native:!0},strokeWidth:{match:"^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",native:!0},stroke:{native:!0,colored:!0,values:{current:"currentColor"}},x:{native:!0},y:{native:!0},cx:{native:!0},cy:{native:!0},rx:{native:!0},ry:{native:!0},gridColumnStart:{match:"^grid-col-start:.",native:!0},gridColumnEnd:{match:"^grid-col-end:.",native:!0},gridColumn:{match:"^grid-col(?:umn)?(?:-span)?:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridColumns:{match:"^grid-cols:.",declare(e,t){return{display:"grid","grid-template-columns":"repeat("+e+t+",minmax(0,1fr))"}}},gridRowStart:{native:!0},gridRowEnd:{native:!0},gridRow:{match:"^grid-row-span:.",native:!0,order:-1,transform(e){return this.prefix.slice(-5,-1)==="span"&&e!=="auto"?"span "+e+"/span "+e:e}},gridRows:{match:"^grid-rows:.",declare(e,t){return{display:"grid","grid-auto-flow":"column","grid-template-rows":"repeat("+e+t+",minmax(0,1fr))"}}},gridAutoColumns:{match:"^grid-auto-cols:.",native:!0,values:{min:"min-content",max:"max-content"}},gridAutoFlow:{match:"^grid-flow:.",native:!0},gridAutoRows:{values:{min:"min-content",max:"max-content"},native:!0},gridTemplateAreas:{native:!0},gridTemplateColumns:{match:"^grid-template-cols:.",native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplateRows:{native:!0,unit:"rem",values:{min:"min-content",max:"max-content"}},gridTemplate:{native:!0,order:-1},gridArea:{native:!0,order:-1},grid:{native:!0,order:-1},columnGap:{match:"^gap-x:.",unit:"rem",native:!0},rowGap:{match:"^gap-y:.",unit:"rem",native:!0},gap:{unit:"rem",native:!0,order:-1},order:{match:"^o:.",native:!0,values:{first:-999999,last:999999}},breakInside:{native:!0},breakBefore:{native:!0},breakAfter:{native:!0},boxDecorationBreak:{match:"^box:(?:slice|clone|$values)(?!\\|)",native:!0,declare(e,t){return{"box-decoration-break":e+t,"-webkit-box-decoration-break":e+t}}},aspectRatio:{match:"^aspect:.",native:!0},columnSpan:{match:"^col-span:.",native:!0},alignContent:{match:"^ac:.",native:!0},alignItems:{match:"^ai:.",native:!0},alignSelf:{match:"^as:",native:!0},justifyContent:{match:"^jc:.",native:!0},justifyItems:{match:"^ji:.",native:!0},justifySelf:{match:"^js:.",native:!0},placeContent:{native:!0,order:-1},placeItems:{native:!0,order:-1},placeSelf:{native:!0,order:-1},listStylePosition:{match:"^list-style:(?:inside|outside|$values)(?!\\|)",native:!0},listStyleType:{match:"^list-style:(?:disc|decimal|$values)(?!\\|)",native:!0},listStyleImage:{match:"^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)",native:!0},listStyle:{native:!0,order:-1},outlineColor:{match:"^outline:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},outlineOffset:{unit:"rem",native:!0},outlineStyle:{match:"^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)",native:!0},outlineWidth:{match:"^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},outline:{native:!0,unit:"rem",order:-1,colored:!0,values:{current:"currentColor"},transform(e){return/none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset/i.test(e)||(e+=" solid"),e}},accentColor:{match:"^accent:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},appearance:{native:!0},caretColor:{match:"^caret:(?:#|(?:rgb|hsl)\\(.*\\)|transparent|currentColor|inherit|$values|$colors)[^|]*$",native:!0,colored:!0,values:{current:"currentColor"}},scrollBehavior:{native:!0},scrollMarginLeft:{match:"^scroll-ml:.",native:!0,unit:"rem"},scrollMarginRight:{match:"^scroll-mr:.",native:!0,unit:"rem"},scrollMarginTop:{match:"^scroll-mt:.",native:!0,unit:"rem"},scrollMarginBottom:{match:"^scroll-mb:.",native:!0,unit:"rem"},scrollMarginX:{match:"^(?:scroll-margin-x|scroll-mx):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-left":e+t,"scroll-margin-right":e+t}}},scrollMarginY:{match:"^(?:scroll-margin-y|scroll-my):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-margin-top":e+t,"scroll-margin-bottom":e+t}}},scrollMargin:{match:"^scroll-m:.",native:!0,unit:"rem",order:-1},scrollPaddingLeft:{match:"^scroll-pl:.",native:!0,unit:"rem"},scrollPaddingRight:{match:"^scroll-pr:.",native:!0,unit:"rem"},scrollPaddingTop:{match:"^scroll-pt:.",native:!0,unit:"rem"},scrollPaddingBottom:{match:"^scroll-pb:.",native:!0,unit:"rem"},scrollPaddingX:{match:"^(?:scroll-padding-x|scroll-px):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-left":e+t,"scroll-padding-right":e+t}}},scrollPaddingY:{match:"^(?:scroll-padding-y|scroll-py):.",unit:"rem",order:-.5,declare(e,t){return{"scroll-padding-top":e+t,"scroll-padding-bottom":e+t}}},scrollPadding:{match:"^scroll-p:.",native:!0,unit:"rem",order:-1},scrollSnapAlign:{match:"^scroll-snap:(?:start|end|center|$values)",native:!0},scrollSnapStop:{match:"^scroll-snap:(?:normal|always|$values)(?!\\|)",native:!0},scrollSnapType:{match:"^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)",native:!0},willChange:{native:!0},writingMode:{match:"^writing:.",native:!0},direction:{native:!0},shapeOutside:{match:"^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box"}},shapeMargin:{match:"^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$",unit:"rem",native:!0},shapeImageThreshold:{native:!0},clipPath:{match:"^clip:.",native:!0,values:{content:"content-box",border:"border-box",padding:"padding-box",margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"}},quotes:{native:!0},maskImage:{native:!0,declare(e,t){return{"mask-image":e+t,"-webkit-mask-image":e+t}}}},Be=ze;var Oe=!1;var Me=!1;var je={fade:{"0%":{opacity:0},to:{opacity:1}},flash:{"0%,50%,to":{opacity:1},"25%,75%":{opacity:0}},float:{"0%":{transform:"none"},"50%":{transform:"translateY(-1.25rem)"},to:{transform:"none"}},heart:{"0%":{transform:"scale(1)"},"14%":{transform:"scale(1.3)"},"28%":{transform:"scale(1)"},"42%":{transform:"scale(1.3)"},"70%":{transform:"scale(1)"}},jump:{"0%,to":{transform:"translateY(-25%)","animation-timing-function":"cubic-bezier(.8,0,1,1)"},"50%":{transform:"translateY(0)","animation-timing-function":"cubic-bezier(0,0,.2,1)"}},ping:{"75%,to":{transform:"scale(2)",opacity:0}},pulse:{"0%":{transform:"none"},"50%":{transform:"scale(1.05)"},to:{transform:"none"}},rotate:{"0%":{transform:"rotate(-360deg)"},to:{transform:"none"}},shake:{"0%":{transform:"none"},"6.5%":{transform:"translateX(-6px) rotateY(-9deg)"},"18.5%":{transform:"translateX(5px) rotateY(7deg)"},"31.5%":{transform:"translateX(-3px) rotateY(-5deg)"},"43.5%":{transform:"translateX(2px) rotateY(3deg)"},"50%":{transform:"none"}},zoom:{"0%":{transform:"scale(0)"},to:{transform:"none"}}};var Ee={$:{name:"var",transform(e){return"--"+e}},calc:{transform(e){let t=this.values,i=this.css.globalValues,s=this.css.config.functions,x=this,a=0,u="",d="";return function v(b,g){let c=!1,m=(h,p=!1,l=!1)=>{if(h!=="("&&(t&&d in t?d=t[d].toString():i&&d in i&&(d=i[d].toString())),d&&!c&&!g){let o=x.analyzeUnitValue(d,s.calc.unit);o&&(d=o.value+o.unit)}u+=d+(p&&e[a-1]!==" "?" ":"")+h+(l&&e[a+1]!==" "?" ":""),d="",c=!1};for(;a<e.length;a++){let h=e[a];if(h==="("){let p=d,l=c,o=u.length;if(m(h),a++,v(p,l||g),p!=="calc"){let n=s[p];if(n){let r=u.slice(o+2,u.length-1);u=u.slice(0,o-p.length+1)+(n.name??p)+"("+(n.transform?.(r)??r)+")"}}}else if(h===")"){m(h);break}else if(h===",")m(h,!1,!0);else if(h===" ")m(h);else{let p=e[a-1];switch(h){case"+":!d&&p!==")"?d+=h:m(h,!0,!0);break;case"-":b==="var"||!d&&p!==")"?d+=h:m(h,!0,!0);break;case"*":m(h,!0,!0);break;case"/":m(h,!0,!0),c=!0;break;default:d+=h;break}}}a>=e.length-1&&m("")}("",!1),u}},translate:{unit:"rem"},translateX:{unit:"rem"},translateY:{unit:"rem"},translateZ:{unit:"rem"},translate3d:{unit:"rem"},skew:{unit:"deg"},skewX:{unit:"deg"},skewY:{unit:"deg"},skewZ:{unit:"deg"},skew3d:{unit:"deg"},rotate:{unit:"deg"},rotateX:{unit:"deg"},rotateY:{unit:"deg"},rotateZ:{unit:"deg"},rotate3d:{unit:"deg"},blur:{unit:"rem"},"drop-shadow":{unit:"rem"},"hue-rotate":{unit:"deg"},rgb:{unit:""},rgba:{unit:""},hsl:{unit:""},hsla:{unit:""},repeat:{unit:""}};var Ie="class";var fe={breakpoints:we,colors:Se,rootSize:16,scope:Re,selectors:$e,semantics:Te,rules:Be,override:!1,important:!1,functions:Ee,keyframes:je,themeDriver:Ie};var We=[",",".","#","[","!","*",">","+","~",":","@"];var ge="_CNO_",oe=class e{constructor(t=fe){this.config=t;t?.override?this.config=this.getExtendedConfig(this.config):this.config=this.getExtendedConfig(fe,t),this.cache(),e.instances.push(this)}static root;static config=fe;static instances=[];static refresh=t=>{for(let i of this.instances)i.refresh(t)};rules=[];ruleBy={};countBy={};observing=!1;observer;colorByThemeByColorName;cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.classesBy={},this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={},this.keyframes={};let{semantics:t,classes:i,selectors:s,colors:x,values:a,breakpoints:u,mediaQueries:d,rules:v}=this.config;function b(o){return o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function g(o,n,r="",f={}){let y=M=>M?(r?r+"-":"")+M:r,C=Object.entries(o),k=[],A=[];for(let M of C){let P=M[1];(typeof P=="object"&&!Array.isArray(P)?k:A).push(M)}for(let[M,P]of k)g(P,n,y(M),f);if(n&&r)A.length&&(f[r]=A.reduce((M,[P,V])=>(M[P]=V,M),{}));else for(let[M,P]of A)f[y(M)]=P;return f}function c(o){for(let[n,r]of Object.entries(o))/^[0-9]+x$/.test(n)&&typeof r=="number"&&(o["-"+n]=r*-1);return o}if(t)for(let[o,n]of Object.entries(g(t,!0)))this.semantics.push([new RegExp("^"+b(o)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[o,n]]);if(s)for(let[o,n]of Object.entries(g(s,!1))){let r=new RegExp(b(o)+"(?![a-z-])");for(let f of Array.isArray(n)?n:[n]){let y=f.match(/^::-[a-z]+-/m)?.[0]??"",C=this.selectors[y];C||(C=this.selectors[y]=[]);let k=C.find(([A])=>A===r);k||(k=[r,[]],C.push(k)),k[1].push(f)}}a&&(this.globalValues=c(g(a,!1))),u&&(this.breakpoints=g(u,!1)),d&&(this.mediaQueries=g(d,!1));let m=i?g(i,!1):{},h=Object.keys(m),p=o=>{if(Object.prototype.hasOwnProperty.call(this.classes,o))return;let n=this.classes[o]=[],r=m[o];if(!r)return;let f=r.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let y of f){let C=k=>{if(Object.prototype.hasOwnProperty.call(this.classesBy,k)){let A=this.classesBy[k];A.includes(o)||A.push(o)}else this.classesBy[k]=[o];n.includes(k)||n.push(k)};if(h.includes(y)){p(y);for(let k of this.classes[y])C(k)}else C(y)}};for(let o of h)p(o);this.colorNames=Object.keys(x);let l=Object.entries(this.colorByThemeByColorName).reduce((o,[n,r])=>(o[n]=()=>{let f=(k,A)=>A?k.slice(0,7)+Math.round(255*+A).toString(16):k,y={};for(let k in r){let A=r[k].split(" ");for(let M of A){let P=M.lastIndexOf("@"),V=P!==-1?M.slice(0,P):M,K=P!==-1?M.slice(P+1):"",te=k.slice(1)||K;if(M.startsWith("#"))y[te]=V;else if(M.startsWith(ge)){let[Q,_]=V.slice(ge.length).split("/");if(Object.prototype.hasOwnProperty.call(l,Q)){let Z=l[Q];delete l[Q],Z()}let q=Object.prototype.hasOwnProperty.call(this.colorThemesMap,Q)&&this.colorThemesMap[Q];if(q)for(let Z in q){let ne=q[Z];y[Z]=f(ne,_)}else console.error(`"${n}${k}: ${M}" is an invalid ".colors" config`)}else{let[Q,_]=V.split("@"),[q,Z]=Q.split("/");if(Object.prototype.hasOwnProperty.call(l,q)){let le=l[q];delete l[q],le()}let ne=Object.prototype.hasOwnProperty.call(this.colorThemesMap,q)&&this.colorThemesMap[q][(k?K:_)||""];ne?y[te]=f(ne,Z):console.error(`"${n}${k}: ${M}" is an invalid ".colors" config`)}}}let C=Object.keys(y);if(C.length){this.colorThemesMap[n]=y;for(let k of C)k&&!this.themeNames.includes(k)&&this.themeNames.push(k)}delete l[n]},o),{});for(let o of Object.keys(l))l[o]?.();if(v)for(let o in v){let n=v[o],{native:r,values:f,colored:y}=n,C=n.match;if(n.id=o,n.native=r===!0?o.replace(/(?!^)[A-Z]/g,k=>"-"+k).toLowerCase():void 0,f&&(this.values[o]=c(g(f,!1))),C){let k=Object.keys(this.values[o]??{});C.includes("$values")&&(C=k.length?C.replace(/\$values/,k.join("|")):C.replace(/(?:\|)?\$values/,"")),y&&C.includes("$colors")&&(C=this.colorNames.length?C.replace(/\$colors/,"(?:"+this.colorNames.join("|")+")(?![0-9A-Za-z])"):C.replace(/(?:\|)?\$colors/,"")),this.matches[o]=new RegExp(C)}}}observe(t,i={subtree:!0,childList:!0}){if(typeof window<"u"){if(t||(t=document),this.root===t)return this;this.root=t;let s=t===document;s&&(e.root=this),this.host=s?document.documentElement:this.root.host;let x=s?document.head:t,a=s?document.styleSheets:t.styleSheets;for(let d of a){let{ownerNode:v}=d;if(v&&v.id==="master"){this.style=v;break}}if(this.style)for(let d=0;d<this.style.sheet.cssRules.length;d++){let v=this.style.sheet.cssRules[d];if(v.constructor.name==="CSSKeyframesRule")continue;let b=c=>{if(c.selectorText){let h=c.selectorText.split(", ")[0].split(" ");for(let p=0;p<h.length;p++){let l=h[p];if(l[0]==="."){let o=l.slice(1),n="";for(let r=0;r<o.length;r++){let f=o[r],y=o[r+1];if(f==="\\"){if(r++,y!=="\\"){n+=y;continue}}else if(We.includes(f))break;n+=f}if(!Object.prototype.hasOwnProperty.call(this.ruleBy,n)&&!Object.prototype.hasOwnProperty.call(this.classes,n)){let r=this.create(n)[0];if(r)return r}}}}else if(c.cssRules)for(let m=0;m<c.cssRules.length;m++){let h=b(c.cssRules[m]);if(h)return h}},g=b(v);if(g){this.rules.push(g),this.ruleBy[g.className]=g;for(let c=0;c<g.natives.length;c++)g.natives[c].cssRule=this.style.sheet.cssRules[d+c];d+=g.natives.length-1,g.config.insert?.call(g)}}else this.style=document.createElement("style"),this.style.id="master",x.append(this.style);let u=d=>{d.forEach(v=>{Object.prototype.hasOwnProperty.call(this.countBy,v)?this.countBy[v]++:(this.countBy[v]=1,this.insert(v))})};u(this.host.classList),i.subtree&&this.host.querySelectorAll("[class]").forEach(d=>u(d.classList)),this.observer=new MutationObserver(d=>{let v={},b=[],g=[],c=[],m=(o,n)=>{n?o.classList.forEach(p):o.classList.forEach(h);let r=o.children;for(let f=0;f<r.length;f++){let y=r[f];y.classList&&(g.push(y),m(y,n))}},h=o=>{Object.prototype.hasOwnProperty.call(v,o)?v[o]++:v[o]=1},p=o=>{Object.prototype.hasOwnProperty.call(v,o)?v[o]--:Object.prototype.hasOwnProperty.call(this.countBy,o)&&(v[o]=-1)},l=(o,n)=>{for(let r=0;r<o.length;r++){let f=o[r];f.classList&&!g.includes(f)&&!c.includes(f)&&(f.isConnected!==n?(g.push(f),m(f,n)):c.push(f))}};for(let o=0;o<d.length;o++){let n=d[o],{addedNodes:r,removedNodes:f,type:y,target:C}=n;if(y==="attributes"){if(b.find(k=>k.target===C))continue;b.push(n)}else l(r,!1),(!C.isConnected||!g.includes(C))&&l(f,!0)}if(!(!b.length&&!Object.keys(v).length)){for(let{oldValue:o,target:n}of b){let r=g.includes(n),f=n.classList,y=o?o.split(" "):[];if(r){if(n.isConnected)continue;for(let C of y)f.contains(C)||p(C)}else if(n.isConnected){f.forEach(C=>{y.includes(C)||h(C)});for(let C of y)f.contains(C)||p(C)}}for(let o in v){let n=v[o],r=(this.countBy[o]||0)+n;r===0?(delete this.countBy[o],this.delete(o)):(Object.prototype.hasOwnProperty.call(this.countBy,o)||this.insert(o),this.countBy[o]=r)}}}),this.observer.observe(t,{...i,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this.host.style.display=null,this.observing=!0}return this}disconnect(){this.observer&&(this.observer.disconnect(),this.observer=null),this.observing=!1,this.ruleBy={},this.countBy={},this.rules.length=0;let t=this.style?.sheet;if(t?.cssRules)for(let i=t.cssRules.length-1;i>=0;i--)t.deleteRule(i);this.style?.remove(),this.style=null,this.root=null}match(t){for(let i in this.config.rules){let s=this.config.rules[i],x=this.matches[i],{native:a}=s;if(x&&x.test(t))return{origin:"match",config:s};if(a&&t.startsWith(a+":"))return{origin:"match",config:s}}for(let i of this.semantics)if(t.match(i[0]))return{origin:"semantics",value:i[1]}}create(t){let i=s=>{if(Object.prototype.hasOwnProperty.call(this.ruleBy,s))return this.ruleBy[s];let x=this.match(s);if(x)return new ue(s,x,this)};return(Object.prototype.hasOwnProperty.call(this.classes,t)?this.classes[t].map(s=>i(s)):[i(t)]).filter(s=>s&&s.text)}refresh(t){if(t?.override?this.config=this.getExtendedConfig(t):this.config=this.getExtendedConfig(fe,t),this.cache(),!this.style)return;let i=document.createElement("style");i.id="master",this.style.replaceWith(i),this.style=i,this.rules.length=0,this.ruleBy={};for(let s in this.countBy)this.insert(s)}destroy(){let t=e.instances;this.disconnect(),t.splice(t.indexOf(this),1)}delete(t){let i=this.style?.sheet,s=x=>{let a=this.ruleBy[x];if(!(!a||Object.prototype.hasOwnProperty.call(this.classesBy,x)&&this.classesBy[x].some(u=>Object.prototype.hasOwnProperty.call(this.countBy,u)))){if(i&&a.natives.length){let u=a.natives[0];for(let d=0;d<i.cssRules.length;d++)if(i.cssRules[d]===u.cssRule){for(let b=0;b<a.natives.length;b++)i.deleteRule(d);break}}if(this.rules.splice(this.rules.indexOf(a),1),delete this.ruleBy[x],a.keyframeNames){let u=this.rules[0];for(let d of a.keyframeNames){let v=this.keyframes[d];if(!--v.count){let b=u.natives.indexOf(v.native);this.style.sheet.deleteRule(b),u.natives.splice(b,1),delete this.keyframes[d]}}u.natives.length||this.rules.splice(0,1)}a.config.delete?.call(a,x)}};if(Object.prototype.hasOwnProperty.call(this.classes,t)){for(let x of this.classes[t])Object.prototype.hasOwnProperty.call(this.countBy,x)||s(x);delete this.ruleBy[t]}else s(t)}insert(t){let i=this.create(t);return i.length?(this.insertRules(i),!0):!1}insertRules(t){for(let i of t){if(this.ruleBy[i.className])continue;let s,x=Object.keys(this.keyframes).length,a=this.rules.length-1,{media:u,order:d,priority:v,hasWhere:b,className:g}=i,c=(p,l,o)=>{let n=p;for(;n<=a;n++){let r=this.rules[n];if(l?.(r))return o?-1:n-1;if(o?.(r))return n}return o?-1:n-1},m,h;if(u){let p=this.rules.findIndex(l=>l.media);if(p===-1)s=a+1;else{let{"max-width":l,"min-width":o}=u.features;if(l||o){let n=this.rules.findIndex(r=>r.media?.features["max-width"]||r.media?.features["min-width"]);if(n===-1)s=a+1;else if(l&&o){if(v===-1?(m=c(n,r=>r.priority!==-1,r=>r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.priority!==-1)):(m=c(n,void 0,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=a),m!==-1){let r=l.value-o.value,f=h,y=m;for(m=void 0;f>=y;f--){let{"max-width":C,"min-width":k}=this.rules[f].media.features,A=C.value-k.value;if(A<r)h=f-1;else if(A===r)m=f;else break}}if(m!==-1){let r=l.value-o.value;for(let f=h;f>=m;f--){let{"max-width":y,"min-width":C}=this.rules[f].media.features,k=y.value-C.value;if(k<r)h=f-1;else if(k>r){m=f+1;break}}}}else if(o){if(v===-1?(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1,r=>!r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["max-width"]&&r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["min-width"].value;if(f>o.value)h=r-1;else if(f<o.value){m=r+1;break}}}else if(v===-1?(m=c(n,r=>r.media.features["min-width"]||r.priority!==-1,r=>r.media.features["max-width"]),h=c(n,r=>r.media.features["min-width"]||r.priority!==-1)):(m=c(n,r=>r.media.features["min-width"]&&r.priority!==-1,r=>r.media.features["max-width"]&&r.priority!==-1),h=c(n,r=>r.media.features["min-width"]&&r.priority!==-1)),m!==-1)for(let r=h;r>=m;r--){let f=this.rules[r].media.features["max-width"].value;if(f<l.value)h=r-1;else if(f>l.value){m=r+1;break}}}else v===-1?(m=p,h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]||n.priority!==-1)):(m=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"],n=>n.priority!==-1),h=c(p,n=>n.media?.features["max-width"]||n.media?.features["min-width"]))}}else{let p=x?1:0;v===-1?(m=p,h=c(p,l=>l.media||l.priority!==-1)):(m=c(p,l=>l.media,l=>l.priority!==-1),h=c(p,l=>l.media))}if(s===void 0)if(m===-1)s=h+1;else{if(v===-1)for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!b&&l.hasWhere)&&(b&&!l.hasWhere||l.order>=d)){s=p;break}}else for(let p=m;p<=h;p++){let l=this.rules[p];if(!(!b&&l.hasWhere)){if(b&&!l.hasWhere){s=p;break}if(l.priority<v){s=p;break}else if(l.priority===v){if(l.order>=d){s=p;break}}else s=p+1}}s===void 0&&(s=h+1)}if(this.rules.splice(s,0,i),this.ruleBy[g]=i,this.style){let p=this.style.sheet,l=0,o=n=>{let r=this.rules[n];if(r){if(!r.natives.length)return o(n-1);let f=r.natives[r.natives.length-1].cssRule;for(let y=0;y<p.cssRules.length;y++)if(p.cssRules[y]===f){l=y+1;break}}};o(s-1);for(let n=0;n<i.natives.length;)try{let r=i.natives[n];p.insertRule(r.text,l),r.cssRule=p.cssRules[l++],n++}catch(r){console.error(r),i.natives.splice(n,1)}}if(i.keyframeNames){let p=this.style?.sheet;for(let l of i.keyframeNames)if(Object.prototype.hasOwnProperty.call(this.keyframes,l))this.keyframes[l].count++;else{let o={text:`@keyframes ${l}{`+Object.entries(this.config.keyframes[l]).map(([r,f])=>`${r}{${Object.entries(f).map(([y,C])=>y+":"+C).join(";")}}`).join("")+"}",theme:""},n;if(Object.keys(this.keyframes).length?(n=this.rules[0]).natives.push(o):this.rules.splice(0,0,n={natives:[o],get text(){return this.natives.map(r=>r.text).join("")}}),p){let r;for(let f=0;f<p.cssRules.length;f++){let y=p.cssRules[f];if(y.constructor.name!=="CSSKeyframesRule")break;if(y.name===l){r=y;break}}if(r)o.cssRule=r;else{let f=n.natives.length-1;p.insertRule(o.text,f),o.cssRule=p.cssRules[f]}}this.keyframes[l]={native:o,count:1}}}i.config.insert?.call(i)}}get text(){return this.rules.map(t=>t.text).join("")}getExtendedConfig(...t){this.colorByThemeByColorName={};let i=a=>{let u=ie({},a),d=v=>{for(let b in v){let g=v[b];typeof g=="object"&&!Array.isArray(g)?d(g):b&&(v[b]={"":g})}};if(u.classes?d(u.classes):u.classes={},u.breakpoints?d(u.breakpoints):u.breakpoints={},u.mediaQueries?d(u.mediaQueries):u.mediaQueries={},u.selectors?d(u.selectors):u.selectors={},u.values?d(u.values):u.values={},u.colors){let v=(b,g)=>{let c=(l,o,n)=>{Object.prototype.hasOwnProperty.call(this.colorByThemeByColorName,l)||(this.colorByThemeByColorName[l]={});let r=this.colorByThemeByColorName[l],f=r[""]?.includes(ge),y=C=>C.replace(/^rgba?\( *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:\|| |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,(k,A,M,P,V)=>{let K="#"+he(+A,+M,+P);return V&&(K+=Math.round(255*+V).toString(16)),K});for(let[C,k]of o)if(k){let A=/(?:^| )(?:(rgba?\(.*?\).*?)|([^ ]+))(?= |$)/g,M;for(;(M=A.exec(k))!==null;){let P=M[0].trimStart(),V=P.lastIndexOf("@"),K=V!==-1?P.slice(0,V):P,te=V!==-1?P.slice(V):"",Q=C||te,_=n&&M[2]&&!M[2].startsWith("#")&&!te,q=M[1]?y(K):C?M[0]:K;if(f||_){Object.prototype.hasOwnProperty.call(r,"")||(r[""]="");for(let Z in r)Z&&(r[""]+=" "+r[Z],delete r[Z]);r[""]+=(r[""]?" ":"")+(_?ge:"")+q+Q}else r[Q]=q;if(C)break}}else if(n){delete this.colorByThemeByColorName[l];return}else delete r[C];Object.keys(r).length||delete this.colorByThemeByColorName[l]},m=Object.entries(b),h=m.filter(([l])=>l===""||l.startsWith("@"));h.length&&c(g,h,!1);let p=m.filter(([l])=>l!==""&&!l.startsWith("@"));for(let[l,o]of p){let n=(g?g+"-":"")+l;typeof o=="string"?c(n,[["",o]],!0):v(o,n)}};v(u.colors,"")}return u},s=[];for(let a of t)(function u(d){if(d.extends?.length)for(let v of d.extends)u("config"in v?v.config:v);s.push(i(d))})(a);let x=s[0];for(let a=1;a<s.length;a++){let u=s[a];x=ie(x,u),Object.prototype.hasOwnProperty.call(u,"keyframes")&&Object.assign(x.keyframes,u.keyframes)}return x}};typeof window<"u"&&(window.MasterCSS=oe);var De=`/** @type {import('@master/css').Config} */
2
2
  module.exports = {
3
3
  classes: {},
4
4
  colors: {},
@@ -12,7 +12,7 @@ module.exports = {
12
12
  selectors: {},
13
13
  functions: {}
14
14
  }
15
- `;var De=`/** @type {import('@master/css').Config} */
15
+ `;var Fe=`/** @type {import('@master/css').Config} */
16
16
  export default {
17
17
  classes: {},
18
18
  colors: {},
@@ -41,4 +41,4 @@ export default {
41
41
  selectors: {},
42
42
  functions: {}
43
43
  } as Config
44
- `;function ue(e){if(!e)return;let t=/&(amp|#38|lt|#60|gt|#62|apos|#39|#x27|quot|#34);/g,i={amp:"&","#38":"&",lt:"<","#60":"<",gt:">","#62":">",apos:"'","#39":"'","#x27":"'",quot:'"',"#34":'"'};return e.split(/\sclass="([^"]*)"/gm).filter((s,b)=>b%2===1).map(s=>s.split(" ")).flat().map(s=>s.replace(t,(b,o)=>i[o]))}function de(e,t){if(!e.length)return;let i=new J(t);for(let s of e)i.insert(s);return i.text}function ae(e,t){if(!e)return;let i=ue(e);if(i.length)return de(i,t)}function Le(e,t){return new J(e).observe(t)}function Ne(e,t){if(!e)return;let i=!1;if(e=e.replace(/(<style id="master">).*?(<\/style>)/,(b,o,v)=>(i=!0,o+ae(e,t)+v)),i)return e;let s=`<style id="master">${ae(e,t)}</style>`;return e.replace(/<\/head>/,`${s}$&`)}export{De as CONFIG_ESM_TEXT,Ae as CONFIG_TEXT,Ye as CONFIG_TS_TEXT,J as MasterCSS,ne as Rule,we as breakpoints,Se as colors,se as config,J as default,q as extend,ue as extractClassesFromHTML,z as fillColorScale,je as functions,de as generateFromClasses,ae as generateFromHTML,Be as important,Le as initRuntime,Oe as keyframes,Me as override,Ne as renderHTML,Ce as rootSize,Te as rules,ke as scope,Re as selectors,$e as semantics,Ee as themeDriver};
44
+ `;function pe(e){if(!e)return;let t=/&(amp|#38|lt|#60|gt|#62|apos|#39|#x27|quot|#34);/g,i={amp:"&","#38":"&",lt:"<","#60":"<",gt:">","#62":">",apos:"'","#39":"'","#x27":"'",quot:'"',"#34":'"'};return e.split(/\sclass="([^"]*)"/gm).filter((s,x)=>x%2===1).map(s=>s.split(" ")).flat().map(s=>s.replace(t,(x,a)=>i[a]))}function be(e,t){if(!e.length)return;let i=new oe(t);for(let s of e)i.insert(s);return i.text}function me(e,t){if(!e)return;let i=pe(e);if(i.length)return be(i,t)}function Ne(e,t){return new oe(e).observe(t)}function Le(e,t){if(!e)return;let i=!1;if(e=e.replace(/(<style id="master">).*?(<\/style>)/,(x,a,u)=>(i=!0,a+me(e,t)+u)),i)return e;let s=`<style id="master">${me(e,t)}</style>`;return e.replace(/<\/head>/,`${s}$&`)}export{Fe as CONFIG_ESM_TEXT,De as CONFIG_TEXT,Ye as CONFIG_TS_TEXT,oe as MasterCSS,ue as Rule,we as breakpoints,Se as colors,fe as config,oe as default,ie as extend,pe as extractClassesFromHTML,z as fillColorScale,Ee as functions,be as generateFromClasses,me as generateFromHTML,Me as important,Ne as initRuntime,je as keyframes,Oe as override,Le as renderHTML,ke as rootSize,Be as rules,Re as scope,$e as selectors,Te as semantics,Ie as themeDriver};
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"npm run build -- --watch","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://docs.master.co/css/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/index.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/index.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.162","@techor/fs":"^2.4.1","@techor/log":"^2.4.1","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.4.1","shared":"","vite":"^4.2.1"},"version":"2.0.0-beta.162"}
1
+ {"name":"@master/css","scripts":{"build":"techor pack --external @master/css-renderer @master/css-extractor","dev":"npm run build -- --watch","test":"jest","type-check":"tsc --noEmit","lint":"eslint src"},"license":"MIT","description":"A markup-driven CSS language with enhanced syntax","author":"Aoyue Design LLC.","funding":"https://docs.master.co/css/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/css"},"keywords":["style","styles","html","variants","virtual","virtual-css","utility","css","ui","lightweight","class","webpack","plugin","integration","vite","parcel","build-tools","mastercss"],"sideEffects":false,"main":"./dist/index.bundle.js","jsnext:main":"./dist/index.bundle.mjs","esnext":"./dist/index.bundle.mjs","module":"./dist/index.bundle.mjs","browser":"./dist/index.browser.bundle.js","types":"./dist/index.d.ts","exports":{".":{"browser":{"import":"./dist/index.bundle.mjs","types":"./dist/index.browser.d.ts"},"require":"./dist/index.bundle.js","import":"./dist/index.bundle.mjs","types":"./dist/index.d.ts"}},"files":["dist"],"bin":{"mcss":"./dist/bin/index.bundle.js","mastercss":"./dist/bin/index.bundle.js"},"publishConfig":{"access":"public"},"dependencies":{"@master/normal.css":"^2.0.0-beta.164","@techor/fs":"^2.4.1","@techor/log":"^2.4.1","commander":"^11.0.0"},"devDependencies":{"@techor/extend":"^2.4.1","shared":"","vite":"^4.2.1"},"version":"2.0.0-beta.164"}