@master/css 2.0.0-alpha.54 → 2.0.0-alpha.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/{core.d.ts → css.d.ts} +3 -3
- package/esm/{core.js → css.js} +23 -21
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/init.d.ts +1 -1
- package/esm/init.js +1 -1
- package/esm/interfaces/config.d.ts +2 -0
- package/esm/render-from-html.d.ts +1 -1
- package/esm/render-from-html.js +1 -1
- package/esm/render-into-html.d.ts +1 -1
- package/esm/render-into-html.js +1 -1
- package/esm/render.d.ts +1 -1
- package/esm/render.js +1 -1
- package/esm/rule.d.ts +1 -1
- package/esm/rules/group.d.ts +1 -1
- package/esm/utils/test-css.d.ts +1 -1
- package/index.js +2 -1
- package/package.json +4 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { init } from './init';
|
|
2
2
|
import { MasterCSSConfig } from './interfaces/config';
|
|
3
3
|
import { MasterCSSRule } from './rule';
|
|
4
|
-
declare const MutationObserver:
|
|
4
|
+
declare const MutationObserver: {
|
|
5
5
|
new (callback: MutationCallback): MutationObserver;
|
|
6
6
|
prototype: MutationObserver;
|
|
7
|
-
};
|
|
7
|
+
} | ObjectConstructor;
|
|
8
8
|
export default class MasterCSS extends MutationObserver {
|
|
9
9
|
config: MasterCSSConfig;
|
|
10
10
|
container?: Element;
|
|
@@ -18,7 +18,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
18
18
|
static refresh(config: MasterCSSConfig): void;
|
|
19
19
|
readonly style: HTMLStyleElement;
|
|
20
20
|
readonly rules: MasterCSSRule[];
|
|
21
|
-
readonly
|
|
21
|
+
readonly ruleOfClass: Record<string, MasterCSSRule>;
|
|
22
22
|
readonly countOfName: {};
|
|
23
23
|
private cache;
|
|
24
24
|
semantics: [RegExp, string][];
|
package/esm/{core.js → css.js}
RENAMED
|
@@ -32,7 +32,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
32
32
|
}
|
|
33
33
|
style;
|
|
34
34
|
rules = [];
|
|
35
|
-
|
|
35
|
+
ruleOfClass = {};
|
|
36
36
|
countOfName = {};
|
|
37
37
|
cache() {
|
|
38
38
|
this.semantics = [];
|
|
@@ -359,7 +359,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
359
359
|
}
|
|
360
360
|
className += char;
|
|
361
361
|
}
|
|
362
|
-
if (!(className in this.
|
|
362
|
+
if (!(className in this.ruleOfClass) && !(className in this.classes)) {
|
|
363
363
|
const currentRule = this.findAndNew(className);
|
|
364
364
|
if (currentRule)
|
|
365
365
|
return currentRule;
|
|
@@ -378,7 +378,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
378
378
|
const rule = getRule(this.style.sheet.cssRules[index]);
|
|
379
379
|
if (rule) {
|
|
380
380
|
this.rules.push(rule);
|
|
381
|
-
this.
|
|
381
|
+
this.ruleOfClass[rule.className] = rule;
|
|
382
382
|
for (let i = 0; i < rule.natives.length; i++) {
|
|
383
383
|
rule.natives[i].cssRule = this.style.sheet.cssRules[index + i];
|
|
384
384
|
}
|
|
@@ -424,7 +424,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
424
424
|
disconnect() {
|
|
425
425
|
super.disconnect();
|
|
426
426
|
// @ts-ignore
|
|
427
|
-
this.
|
|
427
|
+
this.ruleOfClass = {};
|
|
428
428
|
// @ts-ignore
|
|
429
429
|
this.countOfName = {};
|
|
430
430
|
this.rules.length = 0;
|
|
@@ -440,8 +440,8 @@ export default class MasterCSS extends MutationObserver {
|
|
|
440
440
|
*/
|
|
441
441
|
findAndNew(name) {
|
|
442
442
|
const findAndNewRule = (className) => {
|
|
443
|
-
if (className in this.
|
|
444
|
-
return this.
|
|
443
|
+
if (className in this.ruleOfClass)
|
|
444
|
+
return this.ruleOfClass[className];
|
|
445
445
|
for (const EachRule of this.config.Rules) {
|
|
446
446
|
const matching = EachRule.match(className, this.colorNames);
|
|
447
447
|
if (matching)
|
|
@@ -473,7 +473,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
473
473
|
this.style = style;
|
|
474
474
|
this.rules.length = 0;
|
|
475
475
|
// @ts-ignore
|
|
476
|
-
this.
|
|
476
|
+
this.ruleOfClass = {};
|
|
477
477
|
/**
|
|
478
478
|
* 拿當前所有的 classNames 按照最新的 colors, breakpoints, config.Rules 匹配並生成新的 style
|
|
479
479
|
* 所以 refresh 過後 rules 可能會變多也可能會變少
|
|
@@ -501,8 +501,12 @@ export default class MasterCSS extends MutationObserver {
|
|
|
501
501
|
* 10. media width selectors
|
|
502
502
|
*/
|
|
503
503
|
insert(rule) {
|
|
504
|
-
if (this.
|
|
504
|
+
if (this.ruleOfClass[rule.className])
|
|
505
505
|
return;
|
|
506
|
+
const { validateRule } = this.config;
|
|
507
|
+
if (validateRule && !validateRule(rule, this)) {
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
506
510
|
let index;
|
|
507
511
|
/**
|
|
508
512
|
* 必須按斷點值遞增,並透過索引插入,
|
|
@@ -511,10 +515,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
511
515
|
* @description
|
|
512
516
|
*/
|
|
513
517
|
const endIndex = this.rules.length - 1;
|
|
514
|
-
const media = rule
|
|
515
|
-
const order = rule.order;
|
|
516
|
-
const prioritySelectorIndex = rule.prioritySelectorIndex;
|
|
517
|
-
const hasWhere = rule.hasWhere;
|
|
518
|
+
const { media, order, prioritySelectorIndex, hasWhere, className } = rule;
|
|
518
519
|
const findPrioritySelectorInsertIndex = (rules, findStartIndex, findEndIndex, ignoreRule) => {
|
|
519
520
|
let targetRules;
|
|
520
521
|
let sIndex = 0;
|
|
@@ -787,10 +788,11 @@ export default class MasterCSS extends MutationObserver {
|
|
|
787
788
|
index = findPrioritySelectorInsertIndex(this.rules, undefined, eachRule => eachRule.media);
|
|
788
789
|
}
|
|
789
790
|
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
791
|
+
this.rules.splice(index, 0, rule);
|
|
792
|
+
this.ruleOfClass[className] = rule;
|
|
793
|
+
// 只在瀏覽器端運行
|
|
794
|
+
if (this.style) {
|
|
795
|
+
try {
|
|
794
796
|
const sheet = this.style.sheet;
|
|
795
797
|
let cssRuleIndex = 0;
|
|
796
798
|
const previousRule = this.rules[index - 1];
|
|
@@ -808,9 +810,9 @@ export default class MasterCSS extends MutationObserver {
|
|
|
808
810
|
eachNative.cssRule = sheet.cssRules[cssRuleIndex++];
|
|
809
811
|
}
|
|
810
812
|
}
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
813
|
+
catch (error) {
|
|
814
|
+
console.error(error);
|
|
815
|
+
}
|
|
814
816
|
}
|
|
815
817
|
}
|
|
816
818
|
delete(className) {
|
|
@@ -820,7 +822,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
820
822
|
*/
|
|
821
823
|
const sheet = this.style.sheet;
|
|
822
824
|
const deleteRule = (name) => {
|
|
823
|
-
const rule = this.
|
|
825
|
+
const rule = this.ruleOfClass[name];
|
|
824
826
|
if (!rule
|
|
825
827
|
|| name in this.relations && this.relations[name].some(eachClassName => eachClassName in this.countOfName))
|
|
826
828
|
return;
|
|
@@ -832,7 +834,7 @@ export default class MasterCSS extends MutationObserver {
|
|
|
832
834
|
sheet.deleteRule(index);
|
|
833
835
|
}
|
|
834
836
|
this.rules.splice(this.rules.indexOf(rule), 1);
|
|
835
|
-
delete this.
|
|
837
|
+
delete this.ruleOfClass[className];
|
|
836
838
|
break;
|
|
837
839
|
}
|
|
838
840
|
}
|
package/esm/index.d.ts
CHANGED
package/esm/index.js
CHANGED
package/esm/init.d.ts
CHANGED
package/esm/init.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import MasterCSS from 'src/css';
|
|
1
2
|
import { MasterCSSRule } from 'src/rule';
|
|
2
3
|
export interface MasterCSSConfig {
|
|
3
4
|
classes?: Record<string, string>;
|
|
@@ -13,4 +14,5 @@ export interface MasterCSSConfig {
|
|
|
13
14
|
colors?: Record<string, string | Record<string, string>>;
|
|
14
15
|
}> | string[];
|
|
15
16
|
rootSize?: number;
|
|
17
|
+
validateRule?: (rule: MasterCSSRule, css?: MasterCSS) => boolean;
|
|
16
18
|
}
|
package/esm/render-from-html.js
CHANGED
package/esm/render-into-html.js
CHANGED
package/esm/render.d.ts
CHANGED
package/esm/render.js
CHANGED
package/esm/rule.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MasterCSSMedia } from './interfaces/media';
|
|
2
|
-
import MasterCSS from './
|
|
2
|
+
import MasterCSS from './css';
|
|
3
3
|
import { MasterCSSDeclaration } from './interfaces/declaration';
|
|
4
4
|
import { MasterCSSConfig } from './interfaces/config';
|
|
5
5
|
export declare const PRIORITY_SELECTORS: string[];
|
package/esm/rules/group.d.ts
CHANGED
package/esm/utils/test-css.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
var Wi=Object.defineProperty;var Bo=Object.getOwnPropertyDescriptor;var Fo=Object.getOwnPropertyNames;var Wo=Object.prototype.hasOwnProperty;var Do=(r,o,i)=>o in r?Wi(r,o,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[o]=i;var Eo=(r,o)=>{for(var i in o)Wi(r,i,{get:o[i],enumerable:!0})},Po=(r,o,i,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let l of Fo(o))!Wo.call(r,l)&&l!==i&&Wi(r,l,{get:()=>o[l],enumerable:!(a=Bo(o,l))||a.enumerable});return r};var jo=r=>Po(Wi({},"__esModule",{value:!0}),r);var e=(r,o,i)=>(Do(r,typeof o!="symbol"?o+"":o,i),i);var Ko={};Eo(Ko,{DefaultRules:()=>Zi,MasterCSSRule:()=>t,configure:()=>To,default:()=>D,defaultBreakpoints:()=>Be,defaultColors:()=>Di,defaultConfig:()=>Ie,defaultRootSize:()=>io,defaultSelectors:()=>Ei,defaultSemantics:()=>Pi,defaultThemes:()=>ji,defaultValues:()=>Li,fillColorScale:()=>W,init:()=>Ji,render:()=>wo,renderFromHTML:()=>to,renderIntoHTML:()=>Oo});module.exports=jo(Ko);var Be={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function Oi(r){r.startsWith("#")&&(r=r.slice(1));let o=r.match(/.{1,2}/g);return[parseInt(o[0],16),parseInt(o[1],16),parseInt(o[2],16)]}function mo(r,o,i){return((1<<24)+(r<<16)+(o<<8)+i).toString(16).slice(1)}function W(r){typeof r=="string"&&(r={"":r});let o=""in r,i=!1;for(let a in r)if(a&&+a>=100){i=!0;break}if(!i&&(!o||Object.keys(r).length>1)){let a=0,l="0"in r?Oi(r[0]):[0,0,0],m,f,p=[],d=()=>{let h=m-a,s=f.map((n,u)=>(n-l[u])/h);for(let n of p){let u=n-a,c=l.map((x,v)=>Math.round(x+s[v]*u));r[n]="#"+mo.call(this,...c)}};for(let h=1;h<100;h++)h in r?(p.length?(m=h,f=Oi(r[h]),d(),p.length=0,l=f):l=Oi(r[h]),a=h):p.push(h);p.length&&(m=100,f="100"in r?Oi(r[100]):[255,255,255],d())}return o||(r[""]=r[i?"500":"50"]),r}var Di={slate:W({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:W({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:W({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:W({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:W({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:W({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:W({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:W({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:W({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:W({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:W({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:W({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:W({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:W({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:W({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:W({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:W({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:W({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:W({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:W({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"};var io=16;var Ei={"::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 Pi={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",overflow:"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","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"}};var ji=["dark","light"];var Ii={content:"content-box",border:"border-box",padding:"padding-box"},Gi={min:"min-content",max:"max-content"},U={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let r in Be)U[r]=Be[r]/16+"rem";var Li={BackgroundClip:Ii,BackgroundOrigin:Ii,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...Ii,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{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"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:Gi,GridAutoRows:Gi,GridTemplateColumns:Gi,GridTemplateRows:Gi,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...Ii,margin:"margin-box"},TransformBox:{...Ii,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:U,MinWidth:U,MinHeight:U,MaxWidth:U,MaxHeight:U,Height:U,FlexBasis:U};function _i(r,o){return(r?r+":":"")+(o.unit?o.value+o.unit:o.value)+(o.important?"!important":"")}function fo(r){let o=p=>p==="+"||p==="-"||p==="*"||p==="/",i="",a,l="",m=!1;function f(){a=null,l=""}for(let p=0;p<r.length;p++){let d=r[p];if(d==="("||d===")")m=d===")",i+=l+d,f();else if(d===",")i+=l+d+" ",f();else{switch(a){case 1:break;case 2:if(o(d)){i+=l+" "+d+" ",f();continue}break;default:m&&(l+=" "),isNaN(+d)?o(d)||(a=1):a=2;break}l+=d}}return l&&(i+=l),i}var Go=/^([+-.]?\d+(\.?\d+)?)(.*)?/,Lo="var(--";function zi(r,o,i,a,l,m){let f=a?a[r]:"",p="",d="",h;if(f)return{value:f,unit:p,unitToken:d};if(typeof r=="number")f=r,p=o||"";else{if(i){let s=Object.keys(i),n=!1,u=!1;r=r.replace(new RegExp(`(^|,| |\\()(${s.join("|")})(?:-([0-9]+))?(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(c,x,v,g,N)=>{u=!0;let y=i[v]?.[g||""];if(y){let C;for(let A of m)if(C=y[A])break;if(C){n=!0;let A=C;if(N){let k=N.endsWith("%")?parseFloat(N)/100:+N;k=isNaN(k)?1:Math.min(Math.max(k,0),1),A+=Math.round(k*255).toString(16).toUpperCase().padStart(2,"0")}return x+A}}return c}),u&&(h=n)}if(o){let s=r.match(Go);if(s)if(r.includes("/")){let n=r.split("/");return{value:+n[0]/+n[1]*100+"%",unit:p,unitToken:d}}else return f=+s[1],p=d=s[3]||"",p||((o==="rem"||o==="em")&&(f=f/l),p=o||""),{value:f,unit:p,unitToken:d}}f=(r.indexOf("calc(")===-1?r:fo(r)).replace(/\$\(((\w|-)+)\)/g,Lo+"$1)")}return{value:f,unit:p,unitToken:d,colorMatched:h}}var Mr={"(":")","'":"'","{":"}"};var po=[":disabled",":active",":focus",":hover"],Hi="matches",_o="semantics",uo="symbol",xo="width",oo="max-"+xo,so="min-"+xo,no="motion",vo="reduce",ho=vo+"d-"+no,ao="px",zo="rem",Ho=["!","*",">","+","~",":","[","@","_"],Vo=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,$o=r=>r.split(Vo).map((o,i)=>i%3?o:o.replace(/\_/g," ")).join(""),t=class{constructor(o,i,a){this.className=o;this.matching=i;this.css=a;let l=this.constructor,{id:m,unit:f,propName:p,colorful:d}=l,{breakpoints:h,mediaQueries:s,semantics:n,rootSize:u}=a.config,c=a.config.values[m],x=a.relationThemesMap[o],{themeNames:v,colorsThemesMap:g,selectors:N}=a,y=o,C,A,k,E;if(i.origin===_o)k=y.slice(i.value.length),C=n[i.value];else{let O;if(i.origin===Hi)if(m==="Group"){let M=0;for(;M<y.length&&!(y[M]==="{"&&y[M-1]!=="\\");M++);A=y.slice(0,M),O=y.slice(M)}else{let M=y.indexOf(":");this.prefix=y.slice(0,M+1),this.prefix.includes("(")?(this.prefix=void 0,O=y):O=y.slice(M+1)}else i.origin===uo&&(this.symbol=y[0],O=y.slice(1));E=[];let S="",b=0;(function M(F,T,I=""){let R,B=!1;for(F&&(F===")"&&S.slice(-1)==="$"?R=S.length-1:F==="'"&&(B=!0),S+=O[b++]);b<O.length;b++){let w=O[b];if(w===F){if(S+=w,B){let P=0;for(let _=S.length-2;S[_]==="\\";_--)P++;if(P%2)continue}R!==void 0&&(S=S.slice(0,R)+S.slice(R).replace(/\$\((.*)\)/,"var(--$1)")),T||(B?E.push(S):E.push({value:S}),I="",S="");break}else if(!B&&w in Mr)M(Mr[w],T===void 0?0:T+1,I);else if(w==="|"&&F!=="}"&&(!B||I==="path"))F?S+=" ":(E.push({value:S}),S="");else{if(!F){if(w==="."){if(isNaN(+O[b+1]))break;O[b-1]==="-"&&(S+="0")}else if(w===","){E.push({value:S},","),S="";continue}else if(w==="#"&&(S||E.length&&O[b-1]!=="|")||Ho.includes(w))break;I+=w}S+=w}}})(),S&&E.push({value:S}),k=O.slice(b)}k[0]==="!"&&(this.important=!0,k=k.slice(1));let $=O=>{let S=$o(O),b=[],M="",F=0;for(let T=0;T<S.length;T++){let I=S[T];if(I==="\\"){M+=I+S[++T];continue}!F&&I===","?(b.push(M),M=""):(M+=I,F&&I===")"?F--:I==="("&&F++)}return M&&b.push(M),b};this.prefixSelectors=A?$(A):[""];let z=k.split("@"),Ti=z[0];if(Ti){this.suffixSelectors=[];let O=$(Ti);for(let S of O){for(let M of N.single)S=S.replace(M[0],M[1]);let b=M=>{for(let F of N.multiple)if(F[0].test(M)){for(let T of F[1])b(M.replace(F[0],T));return}this.suffixSelectors.push(M)};b(S)}for(let S of this.suffixSelectors){this.hasWhere!==!1&&(this.hasWhere=S.includes(":where("));for(let b=0;b<po.length;b++)if(S.includes(po[b])){(this.prioritySelectorIndex===-1||this.prioritySelectorIndex>b)&&(this.prioritySelectorIndex=b);break}}}else this.suffixSelectors=[""];for(let O=1;O<z.length;O++){let S=z[O];if(S)if(v.includes(S))this.themeName=S;else if(S==="rtl"||S==="ltr")this.direction=S;else{let b,M,F=S.indexOf("_");if(F!==-1)b=S.slice(0,F),M=S.slice(F);else{let T=S.indexOf("(");T!==-1&&(b=S.slice(0,T),M=S.slice(T))}if(!b){b="media";let T=[];this.media={token:S,features:{}};let I=S.split("&");for(let R of I)if(R==="all"||R==="print"||R==="screen"||R==="speech")this.media.type=R;else if(R==="\u{1F5A8}")this.media.type="print";else if(R==="landscape"||R==="portrait")T.push("(orientation:"+R+")");else if(R===no||R===ho)T.push("(prefers-"+ho+":"+(R===no?"no-preference":vo)+")");else if(s&&R in s)T.push(s[R]);else{let B={token:R},w="",P="",_=0;switch(R.startsWith("<=")?(P="<=",w=oo):R.startsWith(">=")||h[R]?(P=">=",w=so):R.startsWith(">")?(P=">",w=so,_=.02):R.startsWith("<")&&(P="<",w=oo,_=-.02),w){case oo:case so:let j=P?R.replace(P,""):R,Ae=h[j];Ae?Object.assign(B,zi(Ae,ao)):Object.assign(B,zi(j,ao)),B.unit===ao&&(B.value+=_),this.media.features[w]=B,T.push("("+w+":"+(B.value+B.unit)+")");break}}M="",this.media.type&&(M=this.media.type),T.length&&(M+=(M?" and ":"")+T.join(" and "))}M&&(this.at[b]=(b in this.at?this.at[b]+" and ":"")+M.replace(/\_/g," "))}}this.order===void 0&&(this.order=0);let Bi=(O,S)=>{let b,M,F=(I,R)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let w=this.prefixSelectors.map(j=>j+B),P=(j,Ae)=>{let wi=j?"."+j+" ":"",ro="."+CSS.escape(Ae);return w.map(Fi=>wi+Fi).reduce((Fi,Io)=>(Fi.push(this.suffixSelectors.reduce((co,Ao)=>(co.push(Io+ro+Ao),co),[]).join(",")),Fi),[]).join(",")},_=P(R,o)+(x?Object.entries(x).filter(([j])=>this.themeName||!d||!R||!j||j===R).map(([j,Ae])=>Ae.reduce((wi,ro)=>wi+","+P(this.themeName??(d&&R||j),ro),"")).join(""):"")+"{"+I+"}";for(let j of Object.keys(this.at).sort((Ae,wi)=>wi==="supports"?-1:1))_="@"+j+" "+this.at[j]+"{"+_+"}";return _},T=[];if(E){let I,R;for(let B of E)typeof B=="string"?T.push(B):(I=zi(B.value,f,d&&g,c,u,this.themeName?[this.themeName,""]:[O]),I.colorMatched!==void 0&&R!==!0&&(R=I.colorMatched),T.push(I.value+I.unit));if(S&&(R===void 0?O:!R))return;if(T.length===1?I?(b=I.value,M=I.unit):b=T[0]:b=T.reduce((B,w,P)=>B+w+(w===","||E[P+1]===","||P===E.length-1?"":" "),""),typeof b!="object"){this.parseValue&&(b=this.parseValue(b,this.css.config)),d&&b==="current"?b="currentColor":c&&b in c&&(b=c[b].toString());let B={unit:M,value:b,important:this.important};if(this.getThemeProps){let w=this.getThemeProps(B,a);for(let P in w)this.natives.push({unit:M,value:b,text:F(Object.entries(w[P]).map(([_,j])=>_i(_,{important:this.important,unit:"",value:j})).join(";"),P),themeName:P});return}else this.get&&(b=this.get(B))}}else b=C;this.natives.push({unit:M,value:b,text:F(typeof b=="object"?Object.entries(b).map(([I,R])=>_i(I,{...typeof R=="object"?R:{unit:"",value:R},important:this.important})).join(";"):_i(p,{unit:M,value:b,important:this.important}),O),themeName:O})};if(this.getThemeProps)Bi(void 0,!1);else if(this.themeName)Bi(this.themeName,!1);else if(d)for(let O of v)Bi(O,!0);else Bi("",!1)}prefix;symbol;token;prefixSelectors;suffixSelectors;important;media;at={};direction;themeName;unitToken;hasWhere;prioritySelectorIndex=-1;natives=[];static match(o,i){if(this.matches&&this.matches.test(o))return{origin:Hi};if(this.colorStarts&&(o.match("^"+this.colorStarts+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current))")||i.length&&o.match("^"+this.colorStarts+"("+i.join("|")+")")&&o.indexOf("|")===-1))return{origin:Hi};if(this.symbol&&o.startsWith(this.symbol))return{origin:uo};if(this.propName&&o.startsWith(this.propName+":"))return{origin:Hi}}};e(t,"id"),e(t,"propName"),e(t,"matches"),e(t,"colorStarts"),e(t,"symbol"),e(t,"unit",zo),e(t,"colorful");typeof window<"u"&&(window.MasterCSSRule=t);var Y=class extends t{};e(Y,"id","FontWeight"),e(Y,"matches",/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/),e(Y,"propName","font-weight"),e(Y,"unit","");var Fe=class extends t{};e(Fe,"id","FontFamily"),e(Fe,"matches",/^f(ont)?:(mono|sans|serif)(?!\|)/),e(Fe,"propName","font-family");var We=class extends t{};e(We,"id","FontSize"),e(We,"matches",/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(We,"propName","font-size");var Nr=class extends t{get(r){let i=this.prefix[0]==="m"?"margin":"padding",a=i+"-left",l=i+"-right",m=i+"-top",f=i+"-bottom";switch(this.prefix[1]){case"x":return{[a]:r,[l]:r};case"y":return{[m]:r,[f]:r};case"l":return{[a]:r};case"r":return{[l]:r};case"t":return{[m]:r};case"b":return{[f]:r};default:return{[i]:r}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};e(Nr,"id","Spacing"),e(Nr,"matches",/^[pm][xytblr]?:./);var De=class extends t{};e(De,"id","Width"),e(De,"matches",/^w:./),e(De,"propName","width");var Ee=class extends t{};e(Ee,"id","Height"),e(Ee,"matches",/^h:./),e(Ee,"propName","height");var Pe=class extends t{};e(Pe,"id","MinWidth"),e(Pe,"matches",/^min-w:./),e(Pe,"propName","min-width");var je=class extends t{};e(je,"id","MinHeight"),e(je,"matches",/^min-h:./),e(je,"propName","min-height");var X=class extends t{};e(X,"id","LetterSpacing"),e(X,"matches",/^ls:./),e(X,"propName","letter-spacing"),e(X,"unit","em");var Uo="subpixel-antialiased",go="-webkit-font-smoothing",So="-moz-osx-font-smoothing",Ge=class extends t{get(r){let o={};switch(r.value){case Uo:o[go]=o[So]={...r,value:"auto"};break;case"antialiased":o[go]={...r,value:"antialiased"},o[So]={...r,value:"grayscale"};break}return o}};e(Ge,"id","FontSmoothing"),e(Ge,"matches",/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/),e(Ge,"unit","");var q=class extends t{};e(q,"id","FontStyle"),e(q,"matches",/^f(ont)?:(normal|italic|oblique)(?!\|)/),e(q,"propName","font-style"),e(q,"unit","deg");var Le=class extends t{};e(Le,"id","FontVariantNumeric"),e(Le,"matches",/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/),e(Le,"propName","font-variant-numeric");var Z=class extends t{};e(Z,"id","LineHeight"),e(Z,"matches",/^lh:./),e(Z,"propName","line-height"),e(Z,"unit","");var _e=class extends t{};e(_e,"id","ObjectFit"),e(_e,"matches",/^(object|obj):(contain|cover|fill|scale-down)/),e(_e,"propName","object-fit");var ze=class extends t{};e(ze,"id","ObjectPosition"),e(ze,"matches",/^(object|obj):(top|bottom|right|left|center)/),e(ze,"propName","object-position");var He=class extends t{};e(He,"id","TextAlign"),e(He,"matches",/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/),e(He,"propName","text-align");var J=class extends t{order=-1};e(J,"id","TextDecoration"),e(J,"matches",/^t(ext)?:(underline|line-through|overline)/),e(J,"propName","text-decoration"),e(J,"colorful",!0);var Ve=class extends t{};e(Ve,"id","TextTransform"),e(Ve,"matches",/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/),e(Ve,"propName","text-transform");var $e=class extends t{};e($e,"id","VerticalAlign"),e($e,"matches",/^(?:v|vertical):./),e($e,"propName","vertical-align");var Ue=class extends t{get(r){return{overflow:{...r,value:"hidden"},display:{...r,value:"-webkit-box"},"overflow-wrap":{...r,value:"break-word"},"text-overflow":{...r,value:"ellipsis"},"-webkit-box-orient":{...r,value:"vertical"},"-webkit-line-clamp":r}}};e(Ue,"id","Lines"),e(Ue,"matches",/^lines:./),e(Ue,"unit","");var K=class extends t{};e(K,"id","TransformOrigin"),e(K,"matches",/^transform:((top|bottom|right|left|center)|\d)/),e(K,"propName","transform-origin"),e(K,"unit","px");var Ye=class extends t{};e(Ye,"id","TransformStyle"),e(Ye,"matches",/^transform:(flat|preserve-3d)(?!\|)/),e(Ye,"propName","transform-style");var Xe=class extends t{};e(Xe,"id","TransformBox"),e(Xe,"matches",/^transform:(content|border|fill|stroke|view)(?!\|)/),e(Xe,"propName","transform-box");var Q=class extends t{parseValue(r,{rootSize:o}){return r.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(i,a,l,m)=>{let f,p;switch(a){case"translate":f="rem";break;case"skew":f="deg";break;case"rotate":l==="3d"&&(p=!0),f="deg";break;default:return i}let d=m.split(",");return i.replace(m,d.map((h,s)=>!p||d.length-1===s?Number.isNaN(+h)?h:h/(f==="rem"?o:1)+f:h).join(","))})}};e(Q,"id","Transform"),e(Q,"matches",/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/),e(Q,"propName","transform"),e(Q,"unit","");var qe=class extends t{order=-1};e(qe,"id","Transition"),e(qe,"symbol","~"),e(qe,"propName","transition");var ee=class extends t{};e(ee,"id","TransitionDelay"),e(ee,"matches",/^~delay:./),e(ee,"propName","transition-delay"),e(ee,"unit","ms");var te=class extends t{};e(te,"id","TransitionDuration"),e(te,"matches",/^~duration:./),e(te,"propName","transition-duration"),e(te,"unit","ms");var Ze=class extends t{};e(Ze,"id","TransitionProperty"),e(Ze,"matches",/^~property:./),e(Ze,"propName","transition-property");var Je=class extends t{};e(Je,"id","TransitionTimingFunction"),e(Je,"matches",/^~easing:./),e(Je,"propName","transition-timing-function");var Ke=class extends t{};e(Ke,"id","MaxHeight"),e(Ke,"matches",/^max-h:./),e(Ke,"propName","max-height");var Qe=class extends t{};e(Qe,"id","MaxWidth"),e(Qe,"matches",/^max-w:./),e(Qe,"propName","max-width");var et=class extends t{};e(et,"id","Display"),e(et,"matches",/^d:./),e(et,"propName","display");var tt=class extends t{};e(tt,"id","BoxSizing"),e(tt,"matches",/^box:(content|border)(?!\|)/),e(tt,"propName","box-sizing");var rt=class extends t{};e(rt,"id","Opacity"),e(rt,"propName","opacity"),e(rt,"unit","");var kr=class extends t{};e(kr,"id","Visibility"),e(kr,"propName","visibility");var Tr=class extends t{};e(Tr,"id","Clear"),e(Tr,"propName","clear");var wr=class extends t{};e(wr,"id","Float"),e(wr,"propName","float");var Or=class extends t{};e(Or,"id","Isolation"),e(Or,"propName","isolation");var Ir=class extends t{get(r){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":r};case"y":return{"overflow-y":r}}return{overflow:r}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};e(Ir,"id","Overflow"),e(Ir,"matches",/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/);var Ar=class extends t{get(r){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":r};case"y":return{"overscroll-behavior-y":r};default:return{"overscroll-behavior":r}}}};e(Ar,"id","OverscrollBehavior"),e(Ar,"matches",/^overscroll-behavior(?:-[xy])?:/);var re=class extends t{};e(re,"id","ZIndex"),e(re,"matches",/^z:./),e(re,"propName","z-index"),e(re,"unit","");var ie=class extends t{};e(ie,"id","AnimationDelay"),e(ie,"matches",/^\@delay:./),e(ie,"propName","animation-delay"),e(ie,"unit","ms");var it=class extends t{};e(it,"id","AnimationDirection"),e(it,"matches",/^\@direction:./),e(it,"propName","animation-direction");var ot=class extends t{};e(ot,"id","AnimationFillMode"),e(ot,"matches",/^\@fill-mode:./),e(ot,"propName","animation-fill-mode");var oe=class extends t{};e(oe,"id","AnimationIterationCount"),e(oe,"matches",/^\@iteration-count:./),e(oe,"propName","animation-interation-count"),e(oe,"unit","");var st=class extends t{};e(st,"id","AnimationName"),e(st,"matches",/^\@name:./),e(st,"propName","animation-name");var at=class extends t{};e(at,"id","AnimationPlayState"),e(at,"matches",/^\@play-state:./),e(at,"propName","animation-play-state");var nt=class extends t{};e(nt,"id","AnimationTimingFunction"),e(nt,"matches",/^\@easing:./),e(nt,"propName","animation-timing-function");var se=class extends t{order=-1};e(se,"id","Animation"),e(se,"symbol","@"),e(se,"propName","animation"),e(se,"unit","");var Vi="border-";function ae(r,o,i=""){i&&(i="-"+i);let a=/^b(order)?-?(.)?/.exec(r)[2],l=Vi+"left"+i,m=Vi+"right"+i,f=Vi+"top"+i,p=Vi+"bottom"+i;switch(a){case"x":return{[l]:o,[m]:o};case"y":return{[f]:o,[p]:o};case"l":return{[l]:o};case"r":return{[m]:o};case"t":return{[f]:o};case"b":return{[p]:o};default:return{["border"+i]:o}}}var ne=class extends t{get(r){return ae(this.prefix,r,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(ne,"id","BorderColor"),e(ne,"matches",/^border(-(left|right|top|bottom))?-color:./),e(ne,"colorStarts","b([xytblr]|(order(-(left|right|top|bottom))?))?:"),e(ne,"colorful",!0);var $i="border-top-left-radius",Ui="border-top-right-radius",Yi="border-bottom-left-radius",Xi="border-bottom-right-radius",bo="border-radius",Yo=[$i,Ui,Yi,Xi],Br=class extends t{get(r){if(this.prefix){let i="",a=this.prefix.split("-");if(a.length>1)for(let l=1;l<a.length-1;l++)i+=a[l][0];else i=this.prefix.slice(1,-1);switch(i){case"t":return{[$i]:r,[Ui]:r};case"tl":case"lt":return{[$i]:r};case"rt":case"tr":return{[Ui]:r};case"b":return{[Yi]:r,[Xi]:r};case"bl":case"lb":return{[Yi]:r};case"br":case"rb":return{[Xi]:r};case"l":return{[$i]:r,[Yi]:r};case"r":return{[Ui]:r,[Xi]:r};default:return{[bo]:r}}}let o=this.prefix?.slice(0,-1);return{[Yo.includes(o)?o:bo]:r}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};e(Br,"id","BorderRadius"),e(Br,"matches",/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/);var Fr=class extends t{get(r){return ae(this.prefix,r,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Fr,"id","BorderStyle"),e(Fr,"matches",/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/);var Wr=class extends t{get(r){return ae(this.prefix,r,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Wr,"id","BorderWidth"),e(Wr,"matches",/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/);var lt=class extends t{get(r){return ae(this.prefix,r)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};e(lt,"id","Border"),e(lt,"matches",/^b([xytblr]?|order(-(left|right|top|bottom))?):./),e(lt,"colorful",!0);var ct=class extends t{};e(ct,"id","BackgroundAttachment"),e(ct,"matches",/^(bg|background):(fixed|local|scroll)(?!\|)/),e(ct,"propName","background-attachment");var Dr=class extends t{};e(Dr,"id","BackgroundBlendMode"),e(Dr,"propName","background-blend-mode");var dt=class extends t{get(r){return{"-webkit-background-clip":r,"background-clip":r}}};e(dt,"id","BackgroundClip"),e(dt,"matches",/^(bg|background):text(?!\|)/),e(dt,"propName","background-clip");var H=class extends t{};e(H,"id","BackgroundColor"),e(H,"colorStarts","(bg|background):"),e(H,"propName","background-color"),e(H,"unit",""),e(H,"colorful",!0);var mt=class extends t{};e(mt,"id","BackgroundOrigin"),e(mt,"matches",/^(bg|background):(content|border|padding)(?!\|)/),e(mt,"propName","background-origin");var le=class extends t{};e(le,"id","BackgroundPosition"),e(le,"matches",/^(bg|background):(top|bottom|right|left|center)(?!\|)/),e(le,"propName","background-position"),e(le,"unit","px");var ft=class extends t{};e(ft,"id","BackgroundRepeat"),e(ft,"matches",/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/),e(ft,"propName","background-repeat");var pt=class extends t{};e(pt,"id","BackgroundSize"),e(pt,"matches",/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/),e(pt,"propName","background-size");var ce=class extends t{};e(ce,"id","BackgroundImage"),e(ce,"matches",/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(ce,"propName","background-image"),e(ce,"colorful",!0);var de=class extends t{order=-1};e(de,"id","Background"),e(de,"matches",/^bg:./),e(de,"propName","background"),e(de,"colorful",!0);var ut=class extends t{};e(ut,"id","MixBlendMode"),e(ut,"matches",/^blend:./),e(ut,"propName","mix-blend-mode");var Er=class extends t{};e(Er,"id","Position"),e(Er,"propName","position");var Pr=class extends t{get(r){let o=this.prefix.slice(0,-1);switch(o){case"top":case"left":case"right":case"bottom":return{[o]:r};case"center":return{left:r,right:r,"margin-left":{...r,unit:""},"margin-right":{...r,unit:""}};case"middle":return{top:r,bottom:r,"margin-top":{...r,unit:""},"margin-bottom":{...r,unit:""}}}}};e(Pr,"id","Placement"),e(Pr,"matches",/^(top|left|right|bottom|center|middle):./);function qi(r,o,{rootSize:i}){let a="",l=0;return function m(f,p){let d="",h=p?o(p):"",s=()=>{d&&(a+=!h||Number.isNaN(+d)?d:+d/(h==="rem"?i:1)+h,d="")};for(;l<r.length;l++){let n=r[l];if(n===f&&(f!=="'"||r[l+1]===")")){s(),a+=n;break}else n===","||n===" "?(s(),a+=n):!d&&n==="'"?(a+=n,l++,m(n),d=""):d&&n==="("?(a+=d+n,l++,m(")",d),d=""):d+=n}s()}(),a}var ht=class extends t{get(r){return{"backdrop-filter":r,"-webkit-backdrop-filter":r}}parseValue(r,o){return qi(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(ht,"id","BackdropFilter"),e(ht,"matches",/^bd:./),e(ht,"propName","backdrop-filter");var me=class extends t{};e(me,"id","Fill"),e(me,"propName","fill"),e(me,"colorStarts","fill:"),e(me,"colorful",!0);var xt=class extends t{};e(xt,"id","Stroke"),e(xt,"propName","stroke"),e(xt,"colorful",!0);var vt=class extends t{};e(vt,"id","StrokeWidth"),e(vt,"matches",/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(vt,"propName","stroke-width");var gt=class extends t{parseValue(r,o){return qi(r,i=>{switch(i){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},o)}};e(gt,"id","Filter"),e(gt,"matches",/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/),e(gt,"propName","filter");var jr=class extends t{};e(jr,"id","Cursor"),e(jr,"propName","cursor");var Gr=class extends t{};e(Gr,"id","PointerEvents"),e(Gr,"propName","pointer-events");var Lr=class extends t{};e(Lr,"id","Resize"),e(Lr,"propName","resize");var _r=class extends t{};e(_r,"id","TouchAction"),e(_r,"propName","touch-action");var zr=class extends t{get(r){return{"user-drag":r,"-webkit-user-drag":r}}};e(zr,"id","UserDrag"),e(zr,"propName","user-drag");var Hr=class extends t{get(r){return{"user-select":r,"-webkit-user-select":r}}};e(Hr,"id","UserSelect"),e(Hr,"propName","user-select");var fe=class extends t{};e(fe,"id","BoxShadow"),e(fe,"matches",/^s(?:hadow)?:./),e(fe,"propName","box-shadow"),e(fe,"colorful",!0);var St=class extends t{};e(St,"id","TextShadow"),e(St,"propName","text-shadow"),e(St,"colorful",!0);var Vr=class extends t{get(r){return{"font-size":r,"line-height":{...r,value:r.unit==="rem"?r.value+.375+r.unit:"calc("+r.value+r.unit+" + .375rem)",unit:""}}}};e(Vr,"id","TextSize"),e(Vr,"matches",/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/);var bt=class extends t{};e(bt,"id","WordBreak"),e(bt,"propName","word-break"),e(bt,"unit","");var pe=class extends t{get(r){return{display:{...r,value:"grid"},"grid-template-columns":{...this,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(pe,"id","GridColumns"),e(pe,"matches",/^grid-cols:./),e(pe,"propName","grid-columns"),e(pe,"unit","");var yt=class extends t{get(r){return{display:{...r,value:"grid"},"grid-auto-flow":{...r,value:"column"},"grid-template-rows":{...r,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(yt,"id","GridRows"),e(yt,"propName","grid-rows"),e(yt,"unit","");var $r=class extends t{get(r){switch(this.prefix[4]){case"x":return{"column-gap":r};case"y":return{"row-gap":r};default:return{gap:r}}}order=-1};e($r,"id","Gap"),e($r,"matches",/^gap(-x|-y)?:./);var Ct=class extends t{};e(Ct,"id","WordSpacing"),e(Ct,"propName","word-spacing"),e(Ct,"unit","em");var Rt=class extends t{get(r){return{["--"+this.prefix.slice(1,-1)]:r}}};e(Rt,"id","Variable"),e(Rt,"matches",/^\$[^ {}A-Z]+:[^ ]/),e(Rt,"unit","");var ue=class extends t{};e(ue,"id","AspectRadio"),e(ue,"matches",/^aspect:./),e(ue,"propName","aspect-ratio"),e(ue,"unit","");var Mt=class extends t{get(r){return{"box-decoration-break":r,"-webkit-box-decoration-break":r}}};e(Mt,"id","BoxDecorationBreak"),e(Mt,"matches",/^box:(slice|clone)(?!\|)/),e(Mt,"propName","box-decoration-break");var Ur=class extends t{};e(Ur,"id","BreakAfter"),e(Ur,"propName","break-after");var Yr=class extends t{};e(Yr,"id","BreakBefore"),e(Yr,"propName","break-before");var Xr=class extends t{};e(Xr,"id","BreakInside"),e(Xr,"propName","break-inside");var Nt=class extends t{};e(Nt,"id","FlexShrink"),e(Nt,"propName","flex-shrink"),e(Nt,"unit","");var kt=class extends t{};e(kt,"id","FlexDirection"),e(kt,"matches",/^flex:((row|col|column)(-reverse)?)(?!\|)/),e(kt,"propName","flex-direction");var Tt=class extends t{};e(Tt,"id","FlexGrow"),e(Tt,"propName","flex-grow"),e(Tt,"unit","");var wt=class extends t{};e(wt,"id","FlexWrap"),e(wt,"matches",/^flex:(wrap(-reverse)?|nowrap)(?!\|)/),e(wt,"propName","flex-wrap");var qr=class extends t{};e(qr,"id","FlexBasis"),e(qr,"propName","flex-basis");var Ot=class extends t{order=-1};e(Ot,"id","Flex"),e(Ot,"propName","flex"),e(Ot,"unit","");var he=class extends t{};e(he,"id","Order"),e(he,"matches",/^o:./),e(he,"propName","order"),e(he,"unit","");var xe=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(xe,"id","GridColumn"),e(xe,"matches",/^grid-col(?:umn)?(?:-span)?:./),e(xe,"propName","grid-column"),e(xe,"unit","");var It=class extends t{};e(It,"id","ColumnSpan"),e(It,"matches",/^col-span:./),e(It,"propName","column-span");var ve=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(ve,"id","GridRow"),e(ve,"matches",/^grid-row-span:./),e(ve,"propName","grid-row"),e(ve,"unit","");var V=class extends t{};e(V,"id","Color"),e(V,"colorStarts","(?:color|fg|foreground):"),e(V,"colorful",!0),e(V,"propName","color"),e(V,"unit","");var At=class extends t{};e(At,"id","AlignContent"),e(At,"matches",/^ac:./),e(At,"propName","align-content");var Bt=class extends t{};e(Bt,"id","AlignItems"),e(Bt,"matches",/^ai:./),e(Bt,"propName","align-items");var Ft=class extends t{};e(Ft,"id","AlignSelf"),e(Ft,"matches",/^as:./),e(Ft,"propName","align-self");var Wt=class extends t{};e(Wt,"id","GridAutoColumns"),e(Wt,"matches",/^grid-auto-cols:./),e(Wt,"propName","grid-auto-columns");var Dt=class extends t{};e(Dt,"id","GridAutoFlow"),e(Dt,"matches",/^grid-flow:./),e(Dt,"propName","grid-auto-flow");var Zr=class extends t{};e(Zr,"id","GridAutoRows"),e(Zr,"propName","grid-auto-rows");var Et=class extends t{};e(Et,"id","JustifyContent"),e(Et,"matches",/^jc:./),e(Et,"propName","justify-content");var Pt=class extends t{};e(Pt,"id","JustifyItems"),e(Pt,"matches",/^ji:./),e(Pt,"propName","justify-items");var jt=class extends t{};e(jt,"id","JustifySelf"),e(jt,"matches",/^js:./),e(jt,"propName","justify-self");var Jr=class extends t{order=-1};e(Jr,"id","PlaceContent"),e(Jr,"propName","place-content");var Kr=class extends t{order=-1};e(Kr,"id","PlaceItems"),e(Kr,"propName","place-items");var Qr=class extends t{order=-1};e(Qr,"id","PlaceSelf"),e(Qr,"propName","place-self");var ei=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="padding:"?-1:0}};e(ei,"id","Padding"),e(ei,"matches",/^padding(?:-(?:left|right|top|bottom))?:./);var ti=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="margin:"?-1:0}};e(ti,"id","Margin"),e(ti,"matches",/^margin(-(left|right|top|bottom))?:./);var Gt=class extends t{};e(Gt,"id","TextOverflow"),e(Gt,"matches",/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/),e(Gt,"propName","text-overflow");var Lt=class extends t{};e(Lt,"id","ListStylePosition"),e(Lt,"matches",/^list-style:(inside|outside)(?!\|)/),e(Lt,"propName","list-style-position");var _t=class extends t{};e(_t,"id","ListStyleType"),e(_t,"matches",/^list-style:(disc|decimal)(?!\|)/),e(_t,"propName","list-style-type");var ri=class extends t{order=-1};e(ri,"id","ListStyle"),e(ri,"propName","list-style");var ge=class extends t{};e(ge,"id","TextDecorationColor"),e(ge,"propName","text-decoration-color"),e(ge,"colorStarts","text-decoration:"),e(ge,"colorful",!0);var zt=class extends t{};e(zt,"id","TextDecorationStyle"),e(zt,"matches",/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/),e(zt,"propName","text-decoration-style");var Se=class extends t{};e(Se,"id","TextDecorationThickness"),e(Se,"matches",/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/),e(Se,"propName","text-decoration-thickness"),e(Se,"unit","em");var ii=class extends t{};e(ii,"id","TextIndent"),e(ii,"propName","text-indent");var oi=class extends t{};e(oi,"id","Content"),e(oi,"propName","content");var be=class extends t{};e(be,"id","OutlineColor"),e(be,"propName","outline-color"),e(be,"colorStarts","outline:"),e(be,"colorful",!0);var si=class extends t{};e(si,"id","OutlineOffset"),e(si,"propName","outline-offset");var Ht=class extends t{};e(Ht,"id","OutlineStyle"),e(Ht,"matches",/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/),e(Ht,"propName","outline-style");var Vt=class extends t{};e(Vt,"id","OutlineWidth"),e(Vt,"matches",/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Vt,"propName","outline-width");var $t=class extends t{order=-1};e($t,"id","Outline"),e($t,"propName","outline"),e($t,"colorful",!0);var Ut=class extends t{};e(Ut,"id","BorderCollapse"),e(Ut,"matches",/^b(order)?:(collapse|separate)(?!\|)/),e(Ut,"propName","border-collapse");var ai=class extends t{};e(ai,"id","BorderSpacing"),e(ai,"propName","border-spacing");var ni=class extends t{};e(ni,"id","TableLayout"),e(ni,"propName","table-layout");var ye=class extends t{};e(ye,"id","AccentColor"),e(ye,"propName","accent-color"),e(ye,"colorStarts","accent:"),e(ye,"colorful",!0);var li=class extends t{};e(li,"id","Appearance"),e(li,"propName","appearance");var Ce=class extends t{};e(Ce,"id","CaretColor"),e(Ce,"propName","caret-color"),e(Ce,"colorStarts","caret:"),e(Ce,"colorful",!0);var ci=class extends t{};e(ci,"id","ScrollBehavior"),e(ci,"propName","scroll-behavior");var di=class extends t{get(r){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":r,"scroll-margin-right":r};case"y":return{"scroll-margin-top":r,"scroll-margin-bottom":r};case"l":return{"scroll-margin-left":r};case"r":return{"scroll-margin-right":r};case"t":return{"scroll-margin-top":r};case"b":return{"scroll-margin-bottom":r}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};e(di,"id","ScrollMargin"),e(di,"matches",/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./);var mi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":r,"scroll-padding-right":r};case"y":return{"scroll-padding-top":r,"scroll-padding-bottom":r};case"l":return{"scroll-padding-left":r};case"r":return{"scroll-padding-right":r};case"t":return{"scroll-padding-top":r};case"b":return{"scroll-padding-bottom":r}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};e(mi,"id","ScrollPadding"),e(mi,"matches",/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./);var Yt=class extends t{};e(Yt,"id","ScrollSnapAlign"),e(Yt,"matches",/^scroll-snap:(start|end|center)/),e(Yt,"propName","scroll-snap-align");var Xt=class extends t{};e(Xt,"id","ScrollSnapStop"),e(Xt,"matches",/^scroll-snap:(normal|always)(?!\|)/),e(Xt,"propName","scroll-snap-stop");var qt=class extends t{};e(qt,"id","ScrollSnapType"),e(qt,"matches",/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/),e(qt,"propName","scroll-snap-type");var fi=class extends t{};e(fi,"id","WillChange"),e(fi,"propName","will-change");var pi=class extends t{};e(pi,"id","TextUnderlineOffset"),e(pi,"propName","text-underline-offset");var Zt=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}};e(Zt,"id","Inset"),e(Zt,"matches",/^(?:top|bottom|left|right):./),e(Zt,"propName","inset");var Re=class extends t{order=-1};e(Re,"id","Columns"),e(Re,"matches",/^(columns|cols):./),e(Re,"propName","columns"),e(Re,"unit","");var Jt=class extends t{};e(Jt,"id","WhiteSpace"),e(Jt,"propName","white-space"),e(Jt,"unit","");var Kt=class extends t{};e(Kt,"id","TextOrientation"),e(Kt,"matches",/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/),e(Kt,"propName","text-orientation");var Qt=class extends t{};e(Qt,"id","WritingMode"),e(Qt,"matches",/^writing:./),e(Qt,"propName","writing-mode");var ui=class extends t{};e(ui,"id","Contain"),e(ui,"propName","contain");var Me=class extends t{};e(Me,"id","AnimationDuration"),e(Me,"matches",/^\@duration:./),e(Me,"propName","animation-duration"),e(Me,"unit","ms");var er=class extends t{};e(er,"id","TextRendering"),e(er,"matches",/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/),e(er,"propName","text-rendering");var hi=class extends t{};e(hi,"id","Direction"),e(hi,"propName","direction");var tr=class extends t{};e(tr,"id","TextDecorationLine"),e(tr,"matches",/^t(ext)?:(none|underline|overline|line-through)(?!\|)/),e(tr,"propName","text-decoration-line");var Ne=class extends t{};e(Ne,"id","GridColumnStart"),e(Ne,"matches",/^grid-col-start:./),e(Ne,"propName","grid-column-start"),e(Ne,"unit","");var rr=class extends t{};e(rr,"id","ListStyleImage"),e(rr,"matches",/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(rr,"propName","list-style-image");var ir=class extends t{};e(ir,"id","ShapeOutside"),e(ir,"matches",/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/),e(ir,"propName","shape-outside");var or=class extends t{};e(or,"id","ShapeMargin"),e(or,"matches",/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(or,"propName","shape-margin");var sr=class extends t{};e(sr,"id","ShapeImageThreshold"),e(sr,"propName","shape-image-threshold"),e(sr,"unit","");var ar=class extends t{};e(ar,"id","ClipPath"),e(ar,"matches",/^clip:./),e(ar,"propName","clip-path");var xi=class extends t{order=-1};e(xi,"id","Grid"),e(xi,"propName","grid");var ke=class extends t{order=-1};e(ke,"id","Font"),e(ke,"matches",/^f:./),e(ke,"propName","font"),e(ke,"unit","");var vi=class extends t{};e(vi,"id","Quotes"),e(vi,"propName","quotes");var gi=class extends t{order=-1};e(gi,"id","GridTemplate"),e(gi,"propName","grid-template");var nr=class extends t{};e(nr,"id","GridRowStart"),e(nr,"propName","grid-row-start"),e(nr,"unit","");var Si=class extends t{};e(Si,"id","GridTemplateAreas"),e(Si,"propName","grid-template-areas");var lr=class extends t{};e(lr,"id","GridTemplateColumns"),e(lr,"matches",/^grid-template-cols:./),e(lr,"propName","grid-template-columns");var bi=class extends t{};e(bi,"id","GridTemplateRows"),e(bi,"propName","grid-template-rows");var cr=class extends t{order=-1};e(cr,"id","GridArea"),e(cr,"propName","grid-area"),e(cr,"unit","");var Te=class extends t{};e(Te,"id","GridColumnEnd"),e(Te,"matches",/^grid-col-end:./),e(Te,"propName","grid-column-end"),e(Te,"unit","");var dr=class extends t{};e(dr,"id","GridRowEnd"),e(dr,"propName","grid-row-end"),e(dr,"unit","");var yi=class extends t{get(r){return{"mask-image":r,"-webkit-mask-image":r}}};e(yi,"id","MaskImage"),e(yi,"propName","mask-image");var we=class extends t{get(r){return{"-webkit-text-fill-color":r}}};e(we,"id","TextFillColor"),e(we,"matches",/^text-fill-color:./),e(we,"colorStarts","(text-fill|text|t):"),e(we,"colorful",!0);var Ci=class extends t{get(r){return{"-webkit-text-stroke":r}}};e(Ci,"id","TextStroke"),e(Ci,"matches",/^text-stroke:./);var Ri=class extends t{get(r){return{"-webkit-text-stroke-width":r}}};e(Ri,"id","TextStrokeWidth"),e(Ri,"matches",/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/);var Oe=class extends t{get(r){return{"-webkit-text-stroke-color":r}}};e(Oe,"id","TextStrokeColor"),e(Oe,"matches",/^text-stroke-color:./),e(Oe,"colorStarts","text-stroke:"),e(Oe,"colorful",!0);var Mi=class extends t{};e(Mi,"id","StrokeDasharray"),e(Mi,"propName","stroke-dasharray");var Ni=class extends t{};e(Ni,"id","StrokeDashoffset"),e(Ni,"propName","stroke-dash-offset");var mr=class extends t{};e(mr,"id","X"),e(mr,"propName","x"),e(mr,"unit","");var fr=class extends t{};e(fr,"id","Y"),e(fr,"propName","y"),e(fr,"unit","");var pr=class extends t{};e(pr,"id","Cx"),e(pr,"propName","cx"),e(pr,"unit","");var ur=class extends t{};e(ur,"id","Cy"),e(ur,"propName","cy"),e(ur,"unit","");var hr=class extends t{};e(hr,"id","Rx"),e(hr,"propName","rx"),e(hr,"unit","");var xr=class extends t{};e(xr,"id","Ry"),e(xr,"propName","ry"),e(xr,"unit","");var ki=class extends t{};e(ki,"id","BorderImageOutset"),e(ki,"propName","border-image-outset");var vr=class extends t{};e(vr,"id","BorderImageRepeat"),e(vr,"matches",/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/),e(vr,"propName","border-image-repeat");var gr=class extends t{};e(gr,"id","BorderImageSlice"),e(gr,"propName","border-image-slice"),e(gr,"unit","");var Sr=class extends t{};e(Sr,"id","BorderImageSource"),e(Sr,"matches",/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/),e(Sr,"propName","border-image-source");var br=class extends t{};e(br,"id","BorderImageWidth"),e(br,"matches",/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/),e(br,"propName","border-image-width");var yr=class extends t{};e(yr,"id","BorderImage"),e(yr,"propName","border-image"),e(yr,"unit","");var Xo=/\{(.*)\}/,Cr=class extends t{getThemeProps(r,o){let i={},a=(h,s)=>{let n=s.indexOf(":");if(n!==-1){h in i||(i[h]={});let u=i[h],c=s.slice(0,n);c in u||(u[c]=s.slice(n+1))}},l=h=>{let s=(n,u)=>{let c=u.slice(CSS.escape(h.className).length).match(Xo)[1].split(";");for(let x of c)a(n,x)};if(this.themeName){let n=h.natives.find(u=>u.themeName===this.themeName)??h.natives.find(u=>!u.themeName);n&&s(this.themeName,n.text)}else for(let n of h.natives)s(n.themeName,n.text)},m=[],f="",p=()=>{f&&(m.push(f),f="")},d=1;(function h(s){for(;d<r.value.length;d++){let n=r.value[d];if(!s){if(n===";"){p();continue}if(n==="}")break}if(f+=n,s===n){if(s==="'"){let u=0;for(let c=f.length-2;f[c]==="\\";c--)u++;if(u%2)continue}break}else n in Mr&&s!=="'"&&(d++,h(Mr[n]))}})(void 0),p();for(let h of m){let s=o.findAndNew(h);if(Array.isArray(s))for(let n of s)l(n);else s?l(s):a(this.themeName??"",h)}return i}};e(Cr,"id","Group"),e(Cr,"matches",/^(?:.+?[*_>~+])?\{.+?\}/),e(Cr,"unit","");var Rr=class extends t{};e(Rr,"id","CounterIncrement"),e(Rr,"propName","counter-increment"),e(Rr,"unit","");var Zi=[Cr,Rt,We,Y,Fe,Ge,q,Le,ke,V,Nr,ti,ei,qr,wt,Tt,Nt,kt,Ot,et,De,Ee,Pe,je,ui,oi,Rr,X,Z,_e,ze,He,ge,zt,Se,tr,J,pi,Gt,Kt,Ve,er,ii,$e,Re,Jt,Zt,Ue,Ke,Qe,tt,rt,kr,Tr,wr,Or,Ir,Ar,re,Er,Pr,jr,Gr,Lr,_r,bt,Ct,zr,Hr,St,Vr,we,Ri,Oe,Ci,fe,ni,Xe,Ye,K,Q,Ze,Je,te,ee,qe,ie,it,Me,ot,oe,st,at,nt,se,ne,Br,Fr,Wr,Ut,ai,ki,vr,gr,Sr,br,yr,lt,ct,Dr,dt,H,mt,le,ft,pt,ce,de,ut,ht,gt,me,Mi,Ni,vt,xt,mr,fr,pr,ur,hr,xr,Ne,Te,xe,pe,nr,dr,ve,yt,Wt,Dt,Zr,Si,lr,bi,gi,cr,xi,$r,he,Xr,Yr,Ur,Mt,ue,It,At,Bt,Ft,Et,Pt,jt,Jr,Kr,Qr,Lt,_t,rr,ri,be,si,Ht,Vt,$t,ye,li,Ce,ci,di,mi,Yt,Xt,qt,fi,Qt,hi,ir,or,sr,ar,vi,yi];var Ie={colors:Di,breakpoints:Be,semantics:Pi,values:Li,selectors:Ei,themes:ji,Rules:Zi,rootSize:16};function Ji(r){if(typeof window<"u"){let o=new D(r,document.head);return D.root=o,o.observe(document.documentElement),o}else return new D(r)}var qo=[",",".","#","[","!","*",">","+","~",":","@"],yo=typeof document<"u",Ki;yo&&(Ki=document.createElement("style"),Ki.title="master");var L="max-width",G="min-width",Zo="attributes",Co=typeof window<"u",Jo=Co?window.MutationObserver:Object,Qi=class extends Jo{constructor(i=Ie,a){super(l=>{let m={},f=[],p=[],d=[],h=(c,x)=>{x?c.classList.forEach(n):c.classList.forEach(s);let v=c.children;for(let g=0;g<v.length;g++){let N=v[g];N.classList&&(p.push(N),h(N,x))}},s=c=>{c in m?m[c]++:m[c]=1},n=c=>{c in m?m[c]--:m[c]=-1},u=(c,x)=>{for(let v=0;v<c.length;v++){let g=c[v];g.classList&&!p.includes(g)&&!d.includes(g)&&(g.isConnected!==x?(p.push(g),h(g,x)):d.push(g))}};for(let c=0;c<l.length;c++){let x=l[c],{addedNodes:v,removedNodes:g,type:N,target:y,oldValue:C}=x;if(N===Zo){if(y.className===C||f.find(A=>A.target===y))continue;f.push(x)}else u(v,!1),u(g,!0)}if(!(!f.length&&!Object.keys(m).length)){for(let{oldValue:c,target:x}of f){let v=p.includes(x),g=x.classList,N=c?c.split(" "):[];if(v){if(x.isConnected)continue;for(let y of N)g.contains(y)||n(y)}else if(x.isConnected){g.forEach(y=>{N.includes(y)||s(y)});for(let y of N)g.contains(y)||n(y)}else for(let y of N)n(y)}for(let c in m){let x=m[c],v=(this.countOfName[c]||0)+x;v===0?(delete this.countOfName[c],this.delete(c)):(c in this.countOfName||this.findAndInsert(c),this.countOfName[c]=v)}}});this.config=i;this.container=a;if(this.cache(),!!yo){if(a){let l;for(let m of a.shadowRoot?.styleSheets||document.styleSheets)m.title==="master"&&(l=m.ownerNode);if(l){this.style=l;for(let m=0;m<this.style.sheet.cssRules.length;m++){let f=d=>{if(d.selectorText){let s=d.selectorText.split(", ")[0].split(" ");for(let n=0;n<s.length;n++){let u=s[n];if(u[0]==="."){let c=u.slice(1),x="";for(let v=0;v<c.length;v++){let g=c[v],N=c[v+1];if(g==="\\"){if(v++,N!=="\\"){x+=N;continue}}else if(qo.includes(g))break;x+=g}if(!(x in this.ruleOfName)&&!(x in this.classes)){let v=this.findAndNew(x);if(v)return v}}}}else if(d.cssRules)for(let h=0;h<d.cssRules.length;h++){let s=f(d.cssRules[h]);if(s)return s}},p=f(this.style.sheet.cssRules[m]);if(p){this.rules.push(p),this.ruleOfName[p.className]=p;for(let d=0;d<p.natives.length;d++)p.natives[d].cssRule=this.style.sheet.cssRules[m+d];m+=p.natives.length-1}}}else this.style=Ki.cloneNode(),this.container?.prepend(this.style)}Qi.instances.push(this)}}static refresh(i){for(let a of this.instances)a.refresh(i)}style;rules=[];ruleOfName={};countOfName={};cache(){this.semantics=[],this.classes={},this.colorsThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={single:[],multiple:[]};let{semantics:i,classes:a,selectors:l,themes:m,colors:f}=this.config;function p(s){return s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}if(i)for(let s in i)this.semantics.push([new RegExp("^"+p(s)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),s]);if(l)for(let s of Object.entries(l)){let n=typeof s[1]=="string";this.selectors[n?"single":"multiple"].push([new RegExp(p(s[0])+"(?![a-z-])",n?"g":""),s[1]])}let d=(s,n)=>{if(!!n){for(let u in n){let c=n[u],x=Array.isArray(c)?c:c.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");u in this.classes||(this.classes[u]=[]);let v=this.classes[u];for(let g of x)g in this.relationThemesMap?s in this.relationThemesMap[g]?this.relationThemesMap[g][s].push(u):this.relationThemesMap[g][s]=[u]:this.relationThemesMap[g]={[s]:[u]},v.includes(g)||v.push(g)}for(let u in this.relationThemesMap){this.relations[u]=[];for(let c of Object.values(this.relationThemesMap[u]))for(let x of c)this.relations[u].includes(x)||this.relations[u].push(x)}}},h=(s,n)=>{if(!!n)for(let u in n){let c=n[u];if(typeof c=="string"&&(c={"":c}),u in this.colorsThemesMap){let x=this.colorsThemesMap[u];for(let v in c){let g=c[v];v in x?x[v][s]=g:x[v]={[s]:g}}}else this.colorNames.push(u),this.colorsThemesMap[u]=Object.entries(c).reduce((x,[v,g])=>(x[v]={[s]:g},x),{})}};if(d("",a),h("",f),m)if(Array.isArray(m))this.themeNames.push(...m);else for(let s in m){let n=m[s];d(s,n.classes),h(s,n.colors),this.themeNames.push(s)}}semantics;classes;colorsThemesMap;colorNames;themeNames;relationThemesMap;relations;selectors;observe(i,a={subtree:!0,childList:!0}){return a.subtree&&i.querySelectorAll("[class]").forEach(l=>{l.classList.forEach(m=>{m in this.countOfName?this.countOfName[m]++:(this.countOfName[m]=1,this.findAndInsert(m))})}),super.observe(i,{...a,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this}disconnect(){super.disconnect(),this.ruleOfName={},this.countOfName={},this.rules.length=0;let i=this.style.sheet;if(i)for(let a=i.cssRules.length-1;a>=0;a--)i.deleteRule(a)}findAndNew(i){let a=l=>{if(l in this.ruleOfName)return this.ruleOfName[l];for(let m of this.config.Rules){let f=m.match(l,this.colorNames);if(f)return new m(l,f,this)}for(let m of this.semantics)if(l.match(m[0]))return new t(l,{origin:"semantics",value:m[1]},this)};return i in this.classes?this.classes[i].map(a).filter(l=>l):a(i)}refresh(i){if(this.config=i,this.cache(),!this.style)return;let a=Ki.cloneNode();this.style.replaceWith(a),this.style=style,this.rules.length=0,this.ruleOfName={};for(let l in this.countOfName)this.findAndInsert(l)}destroy(){let i=Qi.instances;this.disconnect(),i.splice(i.indexOf(this),1),this.style.remove()}insert(i){if(this.ruleOfName[i.className])return;let a,l=this.rules.length-1,m=i.media,f=i.order,p=i.prioritySelectorIndex,d=i.hasWhere,h=(s,n,u,c)=>{let x,v=0,g;n&&(v=s.findIndex(n)),u&&(g=s.findIndex(u)),v===-1&&(v=s.length),(g===void 0||g===-1)&&(g=s.length),x=s.slice(v,g);for(let N=0;N<x.length;N++){let y=x[N];if(!(y.prioritySelectorIndex===-1||c&&c(y))&&(y.prioritySelectorIndex<p||y.prioritySelectorIndex===p&&(d&&!y.hasWhere||y.order>=f)))return v+N}return v+x.length};if(m){let s=this.rules.findIndex(n=>n.media);if(s!==-1){let n=m.features[L],u=m.features[G];if(n&&u){let c=n.value-u.value;for(let x=l;x>=s;x--){a=x;let v=this.rules[x],g=v.media,N=g.features[L],y=g.features[G];if(!N||!y){a++;break}let C=N.value-y.value;if(C===c){if(d!==v.hasWhere)continue;if(p!==-1){let A=[this.rules[x]];for(let k=x-1;k>=s;k--){let E=this.rules[k];if(E.hasWhere!==d)break;let $=E.media,z=$.features[L],Ti=$.features[G];if(!z||!Ti||z.value-Ti.value!==C)break;A.unshift(this.rules[k])}a=h(this.rules,k=>k.media&&k.prioritySelectorIndex!==-1&&k.media.features[G]&&k.media.features[L])}break}else if(C>c)break}}else if(u)for(let c=s;c<=l;c++){a=c;let x=this.rules[c],v=x.media,g=v.features[L],N=v.features[G];if(g){if(N)break;continue}let y=N?.value;if(y===u.value){if(!d&&x.hasWhere){a++;continue}if(p!==-1)a=h(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[G]&&C.media.features[L],C=>!C.media.features[G]&&!C.media.features[L]);else for(let C=c;C<=l;C++){let A=this.rules[C],k=A.media,E=k.features[G];if(!k.features[L]){if(A.hasWhere!==d||E.value!==y||A.order>=f)break;a=C+1}}break}else{if(y>u.value)break;a++}}else if(n)for(let c=l;c>=s;c--){a=c;let x=this.rules[c],v=x.media,g=v.features[L];if(v.features[G])continue;let y=g?.value;if(!y||y>n.value){a++;break}else if(y===n.value){if(d&&!x.hasWhere)continue;if(p!==-1)a=h(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[G]&&C.media.features[L],C=>!C.media.features[G]&&!C.media.features[L]);else{let C=[this.rules[c]];for(let A=c-1;A>=s;A--){let k=this.rules[A],E=k.media,$=E.features[G],z=E.features[L];if(!$&&(!z||z.value!==y||k.hasWhere!==d))break;C.unshift(k)}for(let A=0;A<C.length;A++){let k=C[A];if(!k.media.features[G]){if(k.order>=f)break;a=c-C.length+2+A}}}break}}}if(a===void 0)if(s===-1)a=l+1;else if(p!==-1)a=s+h(this.rules.slice(s),void 0,n=>n.media.features[L]||n.media.features[G]);else if(d){let n=s;for(;n<this.rules.length;n++){let u=this.rules[n];if(u.prioritySelectorIndex!==-1||!u.hasWhere||u.order>=f){a=n;break}}a===void 0&&(a=n)}else for(let n=s;n<=l;n++){a=n;let u=this.rules[n],c=u.media;if(u.prioritySelectorIndex!==-1||c.features[L]||c.features[G])break;if(u.hasWhere)a++;else if(u.order>=f)break}}else if(p===-1)if(d)a=this.rules.findIndex(s=>!s.hasWhere||s.media||s.prioritySelectorIndex!==-1||s.order>=f),a===-1&&(a=l+1);else{let s=0;for(;s<this.rules.length;s++){let n=this.rules[s];if(n.media||!n.hasWhere&&(n.order>=f||n.prioritySelectorIndex!==-1)){a=s;break}}a===void 0&&(a=s)}else a=h(this.rules,void 0,s=>s.media);try{if(this.rules.splice(a,0,i),this.ruleOfName[i.className]=i,this.style){let s=this.style.sheet,n=0,u=this.rules[a-1];if(u){let c=u.natives[u.natives.length-1].cssRule;for(let x=0;x<s.cssRules.length;x++)if(s.cssRules[x]===c){n=x+1;break}}for(let c of i.natives)s.insertRule(c.text,n),c.cssRule=s.cssRules[n++]}}catch(s){console.error(s)}}delete(i){let a=this.style.sheet,l=m=>{let f=this.ruleOfName[m];if(!f||m in this.relations&&this.relations[m].some(d=>d in this.countOfName))return;let p=f.natives[0];for(let d=0;d<a.cssRules.length;d++)if(a.cssRules[d]===p.cssRule){for(let s=0;s<f.natives.length;s++)a.deleteRule(d);this.rules.splice(this.rules.indexOf(f),1),delete this.ruleOfName[f.className];break}};if(i in this.classes)for(let m of this.classes[i])m in this.countOfName||l(m);else l(i)}findAndInsert(i){let a=this.findAndNew(i);if(Array.isArray(a))for(let l of a)this.insert(l);else a&&this.insert(a)}},D=Qi;e(D,"init",Ji),e(D,"defaultConfig",Ie),e(D,"instances",[]),e(D,"root");Co&&(window.MasterCSS=D);function Ro(r,o){return Array.isArray(r)&&Array.isArray(o)?r.concat(o):o}function eo(r){return Object.prototype.toString.call(r).slice(8,-1)}function Ai(r){return eo(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function lo(r){return eo(r)==="Symbol"}function Mo(r,o,i,a){let l={}.propertyIsEnumerable.call(a,o)?"enumerable":"nonenumerable";l==="enumerable"&&(r[o]=i),l==="nonenumerable"&&Object.defineProperty(r,o,{value:i,enumerable:!1,writable:!0,configurable:!0})}function No(r,o,i){if(!Ai(o))return o;let a={};if(Ai(r)){let p=Object.getOwnPropertyNames(r),d=Object.getOwnPropertySymbols(r);a=[...p,...d].reduce((h,s)=>{let n=r[s];return(!lo(s)&&!Object.getOwnPropertyNames(o).includes(s)||lo(s)&&!Object.getOwnPropertySymbols(o).includes(s))&&Mo(h,s,n,r),h},{})}let l=Object.getOwnPropertyNames(o),m=Object.getOwnPropertySymbols(o);return[...l,...m].reduce((p,d)=>{let h=o[d],s=Ai(r)?r[d]:void 0;s!==void 0&&Ai(h)&&(h=No(s,h,i));let n=i?i(s,h,d):h;return Mo(p,d,n,o),p},a)}function ko(r,...o){return o.reduce((i,a)=>No(i,a,Ro),r)}function To(...r){return r.length?ko(Ie,...r):Ie}function wo(r,o=new D){if(!!r?.length){for(let i of r)i in o.countOfName||(o.findAndInsert(i),o.countOfName[i]=1);return o.rules.map(i=>i.natives.reduce((a,l)=>a+l.text,"")).join("")}}function to(r,o=new D){if(!r)return;let i=/\sclass="([^"]*)"/gm,a;for(;a=i.exec(r);){let l=a[1].replace(/\n/g,"").split(" ").filter(m=>m);for(let m of l)m in o.countOfName||(o.findAndInsert(m),o.countOfName[m]=1)}return o.rules.map(l=>l.natives.reduce((m,f)=>m+f.text,"")).join("")}function Oo(r,o=new D){if(!!r)return r.replace(/(<head>)/,`$1<style title="master">${to(r,o)}</style>`)}
|
|
1
|
+
var Po=Object.create;var Ai=Object.defineProperty;var jo=Object.getOwnPropertyDescriptor;var Go=Object.getOwnPropertyNames;var Lo=Object.getPrototypeOf,_o=Object.prototype.hasOwnProperty;var zo=(r,i,o)=>i in r?Ai(r,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[i]=o;var Ho=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports),Vo=(r,i)=>{for(var o in i)Ai(r,o,{get:i[o],enumerable:!0})},uo=(r,i,o,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(let s of Go(i))!_o.call(r,s)&&s!==o&&Ai(r,s,{get:()=>i[s],enumerable:!(n=jo(i,s))||n.enumerable});return r};var oo=(r,i,o)=>(o=r!=null?Po(Lo(r)):{},uo(i||!r||!r.__esModule?Ai(o,"default",{value:r,enumerable:!0}):o,r)),$o=r=>uo(Ai({},"__esModule",{value:!0}),r);var e=(r,i,o)=>(zo(r,typeof i!="symbol"?i+"":i,o),o);var to=Ho((fo,Bo)=>{(function(r,i){typeof fo=="object"?Bo.exports=i(r):typeof define=="function"&&define.amd?define([],i.bind(r,r)):i(r)})(typeof global<"u"?global:fo,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var i=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");var n=String(o),s=n.length,l=-1,d,u="",c=n.charCodeAt(0);if(s==1&&c==45)return"\\"+n;for(;++l<s;){if(d=n.charCodeAt(l),d==0){u+="\uFFFD";continue}if(d>=1&&d<=31||d==127||l==0&&d>=48&&d<=57||l==1&&d>=48&&d<=57&&c==45){u+="\\"+d.toString(16)+" ";continue}if(d>=128||d==45||d==95||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122){u+=n.charAt(l);continue}u+="\\"+n.charAt(l)}return u};return r.CSS||(r.CSS={}),r.CSS.escape=i,i})});var ss={};Vo(ss,{DefaultRules:()=>Zi,MasterCSSRule:()=>t,configure:()=>Io,default:()=>P,defaultBreakpoints:()=>De,defaultColors:()=>Wi,defaultConfig:()=>Be,defaultRootSize:()=>so,defaultSelectors:()=>Ei,defaultSemantics:()=>Pi,defaultThemes:()=>ji,defaultValues:()=>Li,fillColorScale:()=>D,init:()=>Ji,render:()=>Fo,renderFromHTML:()=>ro,renderIntoHTML:()=>Do});module.exports=$o(ss);var De={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560};function Ii(r){r.startsWith("#")&&(r=r.slice(1));let i=r.match(/.{1,2}/g);return[parseInt(i[0],16),parseInt(i[1],16),parseInt(i[2],16)]}function ho(r,i,o){return((1<<24)+(r<<16)+(i<<8)+o).toString(16).slice(1)}function D(r){typeof r=="string"&&(r={"":r});let i=""in r,o=!1;for(let n in r)if(n&&+n>=100){o=!0;break}if(!o&&(!i||Object.keys(r).length>1)){let n=0,s="0"in r?Ii(r[0]):[0,0,0],l,d,u=[],c=()=>{let h=l-n,f=d.map((p,m)=>(p-s[m])/h);for(let p of u){let m=p-n,a=s.map((v,x)=>Math.round(v+f[x]*m));r[p]="#"+ho.call(this,...a)}};for(let h=1;h<100;h++)h in r?(u.length?(l=h,d=Ii(r[h]),c(),u.length=0,s=d):s=Ii(r[h]),n=h):u.push(h);u.length&&(l=100,d="100"in r?Ii(r[100]):[255,255,255],c())}return i||(r[""]=r[o?"500":"50"]),r}var Wi={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"}),black:"#000000",white:"#ffffff"};var so=16;var Ei={"::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 Pi={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",overflow:"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","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"}};var ji=["dark","light"];var Bi={content:"content-box",border:"border-box",padding:"padding-box"},Gi={min:"min-content",max:"max-content"},q={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let r in De)q[r]=De[r]/16+"rem";var Li={BackgroundClip:Bi,BackgroundOrigin:Bi,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...Bi,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{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"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:Gi,GridAutoRows:Gi,GridTemplateColumns:Gi,GridTemplateRows:Gi,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...Bi,margin:"margin-box"},TransformBox:{...Bi,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:q,MinWidth:q,MinHeight:q,MaxWidth:q,MaxHeight:q,Height:q,FlexBasis:q};function _i(r,i){return(r?r+":":"")+(i.unit?i.value+i.unit:i.value)+(i.important?"!important":"")}function xo(r){let i=u=>u==="+"||u==="-"||u==="*"||u==="/",o="",n,s="",l=!1;function d(){n=null,s=""}for(let u=0;u<r.length;u++){let c=r[u];if(c==="("||c===")")l=c===")",o+=s+c,d();else if(c===",")o+=s+c+" ",d();else{switch(n){case 1:break;case 2:if(i(c)){o+=s+" "+c+" ",d();continue}break;default:l&&(s+=" "),isNaN(+c)?i(c)||(n=1):n=2;break}s+=c}}return s&&(o+=s),o}var Uo=/^([+-.]?\d+(\.?\d+)?)(.*)?/,Yo="var(--";function zi(r,i,o,n,s,l){let d=n?n[r]:"",u="",c="",h;if(d)return{value:d,unit:u,unitToken:c};if(typeof r=="number")d=r,u=i||"";else{if(o){let f=Object.keys(o),p=!1,m=!1;r=r.replace(new RegExp(`(^|,| |\\()(${f.join("|")})(?:-([0-9]+))?(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(a,v,x,g,N)=>{m=!0;let y=o[x]?.[g||""];if(y){let E;for(let k of l)if(E=y[k])break;if(E){p=!0;let k=E;if(N){let C=N.endsWith("%")?parseFloat(N)/100:+N;C=isNaN(C)?1:Math.min(Math.max(C,0),1),k+=Math.round(C*255).toString(16).toUpperCase().padStart(2,"0")}return v+k}}return a}),m&&(h=p)}if(i){let f=r.match(Uo);if(f)if(r.includes("/")){let p=r.split("/");return{value:+p[0]/+p[1]*100+"%",unit:u,unitToken:c}}else return d=+f[1],u=c=f[3]||"",u||((i==="rem"||i==="em")&&(d=d/s),u=i||""),{value:d,unit:u,unitToken:c}}d=(r.indexOf("calc(")===-1?r:xo(r)).replace(/\$\(((\w|-)+)\)/g,Yo+"$1)")}return{value:d,unit:u,unitToken:c,colorMatched:h}}var kr={"(":")","'":"'","{":"}"};var vo=[":disabled",":active",":focus",":hover"],Hi="matches",qo="semantics",go="symbol",bo="width",ao="max-"+bo,no="min-"+bo,co="motion",Co="reduce",So=Co+"d-"+co,lo="px",Xo="rem",Zo=["!","*",">","+","~",":","[","@","_"],Jo=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,Ko=r=>r.split(Jo).map((i,o)=>o%3?i:i.replace(/\_/g," ")).join(""),t=class{constructor(i,o,n){this.className=i;this.matching=o;this.css=n;let s=this.constructor,{id:l,unit:d,propName:u,colorful:c}=s,{breakpoints:h,mediaQueries:f,semantics:p,rootSize:m}=n.config,a=n.config.values[l],v=n.relationThemesMap[i],{themeNames:x,colorsThemesMap:g,selectors:N}=n,y=i,E,k,C,A;if(o.origin===qo)C=y.slice(o.value.length),E=p[o.value];else{let T;if(o.origin===Hi)if(l==="Group"){let M=0;for(;M<y.length&&!(y[M]==="{"&&y[M-1]!=="\\");M++);k=y.slice(0,M),T=y.slice(M)}else{let M=y.indexOf(":");this.prefix=y.slice(0,M+1),this.prefix.includes("(")?(this.prefix=void 0,T=y):T=y.slice(M+1)}else o.origin===go&&(this.symbol=y[0],T=y.slice(1));A=[];let S="",b=0;(function M(F,w,I=""){let R,B=!1;for(F&&(F===")"&&S.slice(-1)==="$"?R=S.length-1:F==="'"&&(B=!0),S+=T[b++]);b<T.length;b++){let O=T[b];if(O===F){if(S+=O,B){let j=0;for(let z=S.length-2;S[z]==="\\";z--)j++;if(j%2)continue}R!==void 0&&(S=S.slice(0,R)+S.slice(R).replace(/\$\((.*)\)/,"var(--$1)")),w||(B?A.push(S):A.push({value:S}),I="",S="");break}else if(!B&&O in kr)M(kr[O],w===void 0?0:w+1,I);else if(O==="|"&&F!=="}"&&(!B||I==="path"))F?S+=" ":(A.push({value:S}),S="");else{if(!F){if(O==="."){if(isNaN(+T[b+1]))break;T[b-1]==="-"&&(S+="0")}else if(O===","){A.push({value:S},","),S="";continue}else if(O==="#"&&(S||A.length&&T[b-1]!=="|")||Zo.includes(O))break;I+=O}S+=O}}})(),S&&A.push({value:S}),C=T.slice(b)}C[0]==="!"&&(this.important=!0,C=C.slice(1));let W=T=>{let S=Ko(T),b=[],M="",F=0;for(let w=0;w<S.length;w++){let I=S[w];if(I==="\\"){M+=I+S[++w];continue}!F&&I===","?(b.push(M),M=""):(M+=I,F&&I===")"?F--:I==="("&&F++)}return M&&b.push(M),b};this.prefixSelectors=k?W(k):[""];let H=C.split("@"),Y=H[0];if(Y){this.suffixSelectors=[];let T=W(Y);for(let S of T){for(let M of N.single)S=S.replace(M[0],M[1]);let b=M=>{for(let F of N.multiple)if(F[0].test(M)){for(let w of F[1])b(M.replace(F[0],w));return}this.suffixSelectors.push(M)};b(S)}for(let S of this.suffixSelectors){this.hasWhere!==!1&&(this.hasWhere=S.includes(":where("));for(let b=0;b<vo.length;b++)if(S.includes(vo[b])){(this.prioritySelectorIndex===-1||this.prioritySelectorIndex>b)&&(this.prioritySelectorIndex=b);break}}}else this.suffixSelectors=[""];for(let T=1;T<H.length;T++){let S=H[T];if(S)if(x.includes(S))this.themeName=S;else if(S==="rtl"||S==="ltr")this.direction=S;else{let b,M,F=S.indexOf("_");if(F!==-1)b=S.slice(0,F),M=S.slice(F);else{let w=S.indexOf("(");w!==-1&&(b=S.slice(0,w),M=S.slice(w))}if(!b){b="media";let w=[];this.media={token:S,features:{}};let I=S.split("&");for(let R of I)if(R==="all"||R==="print"||R==="screen"||R==="speech")this.media.type=R;else if(R==="\u{1F5A8}")this.media.type="print";else if(R==="landscape"||R==="portrait")w.push("(orientation:"+R+")");else if(R===co||R===So)w.push("(prefers-"+So+":"+(R===co?"no-preference":Co)+")");else if(f&&R in f)w.push(f[R]);else{let B={token:R},O="",j="",z=0;switch(R.startsWith("<=")?(j="<=",O=ao):R.startsWith(">=")||h[R]?(j=">=",O=no):R.startsWith(">")?(j=">",O=no,z=.02):R.startsWith("<")&&(j="<",O=ao,z=-.02),O){case ao:case no:let G=j?R.replace(j,""):R,Fe=h[G];Fe?Object.assign(B,zi(Fe,lo)):Object.assign(B,zi(G,lo)),B.unit===lo&&(B.value+=z),this.media.features[O]=B,w.push("("+O+":"+(B.value+B.unit)+")");break}}M="",this.media.type&&(M=this.media.type),w.length&&(M+=(M?" and ":"")+w.join(" and "))}M&&(this.at[b]=(b in this.at?this.at[b]+" and ":"")+M.replace(/\_/g," "))}}this.order===void 0&&(this.order=0);let V=(T,S)=>{let b,M,F=(I,R)=>{let B="";this.direction&&(B+="[dir="+this.direction+"] ");let O=this.prefixSelectors.map(G=>G+B),j=(G,Fe)=>{let Oi=G?"."+G+" ":"",io="."+CSS.escape(Fe);return O.map(Di=>Oi+Di).reduce((Di,Wo)=>(Di.push(this.suffixSelectors.reduce((po,Eo)=>(po.push(Wo+io+Eo),po),[]).join(",")),Di),[]).join(",")},z=j(R,i)+(v?Object.entries(v).filter(([G])=>this.themeName||!c||!R||!G||G===R).map(([G,Fe])=>Fe.reduce((Oi,io)=>Oi+","+j(this.themeName??(c&&R||G),io),"")).join(""):"")+"{"+I+"}";for(let G of Object.keys(this.at).sort((Fe,Oi)=>Oi==="supports"?-1:1))z="@"+G+" "+this.at[G]+"{"+z+"}";return z},w=[];if(A){let I,R;for(let B of A)typeof B=="string"?w.push(B):(I=zi(B.value,d,c&&g,a,m,this.themeName?[this.themeName,""]:[T]),I.colorMatched!==void 0&&R!==!0&&(R=I.colorMatched),w.push(I.value+I.unit));if(S&&(R===void 0?T:!R))return;if(w.length===1?I?(b=I.value,M=I.unit):b=w[0]:b=w.reduce((B,O,j)=>B+O+(O===","||A[j+1]===","||j===A.length-1?"":" "),""),typeof b!="object"){this.parseValue&&(b=this.parseValue(b,this.css.config)),c&&b==="current"?b="currentColor":a&&b in a&&(b=a[b].toString());let B={unit:M,value:b,important:this.important};if(this.getThemeProps){let O=this.getThemeProps(B,n);for(let j in O)this.natives.push({unit:M,value:b,text:F(Object.entries(O[j]).map(([z,G])=>_i(z,{important:this.important,unit:"",value:G})).join(";"),j),themeName:j});return}else this.get&&(b=this.get(B))}}else b=E;this.natives.push({unit:M,value:b,text:F(typeof b=="object"?Object.entries(b).map(([I,R])=>_i(I,{...typeof R=="object"?R:{unit:"",value:R},important:this.important})).join(";"):_i(u,{unit:M,value:b,important:this.important}),T),themeName:T})};if(this.getThemeProps)V(void 0,!1);else if(this.themeName)V(this.themeName,!1);else if(c)for(let T of x)V(T,!0);else V("",!1)}prefix;symbol;token;prefixSelectors;suffixSelectors;important;media;at={};direction;themeName;unitToken;hasWhere;prioritySelectorIndex=-1;natives=[];static match(i,o){if(this.matches&&this.matches.test(i))return{origin:Hi};if(this.colorStarts&&(i.match("^"+this.colorStarts+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current))")||o.length&&i.match("^"+this.colorStarts+"("+o.join("|")+")")&&i.indexOf("|")===-1))return{origin:Hi};if(this.symbol&&i.startsWith(this.symbol))return{origin:go};if(this.propName&&i.startsWith(this.propName+":"))return{origin:Hi}}};e(t,"id"),e(t,"propName"),e(t,"matches"),e(t,"colorStarts"),e(t,"symbol"),e(t,"unit",Xo),e(t,"colorful");typeof window<"u"&&(window.MasterCSSRule=t);var X=class extends t{};e(X,"id","FontWeight"),e(X,"matches",/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/),e(X,"propName","font-weight"),e(X,"unit","");var We=class extends t{};e(We,"id","FontFamily"),e(We,"matches",/^f(ont)?:(mono|sans|serif)(?!\|)/),e(We,"propName","font-family");var Ee=class extends t{};e(Ee,"id","FontSize"),e(Ee,"matches",/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Ee,"propName","font-size");var Tr=class extends t{get(r){let o=this.prefix[0]==="m"?"margin":"padding",n=o+"-left",s=o+"-right",l=o+"-top",d=o+"-bottom";switch(this.prefix[1]){case"x":return{[n]:r,[s]:r};case"y":return{[l]:r,[d]:r};case"l":return{[n]:r};case"r":return{[s]:r};case"t":return{[l]:r};case"b":return{[d]:r};default:return{[o]:r}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};e(Tr,"id","Spacing"),e(Tr,"matches",/^[pm][xytblr]?:./);var Pe=class extends t{};e(Pe,"id","Width"),e(Pe,"matches",/^w:./),e(Pe,"propName","width");var je=class extends t{};e(je,"id","Height"),e(je,"matches",/^h:./),e(je,"propName","height");var Ge=class extends t{};e(Ge,"id","MinWidth"),e(Ge,"matches",/^min-w:./),e(Ge,"propName","min-width");var Le=class extends t{};e(Le,"id","MinHeight"),e(Le,"matches",/^min-h:./),e(Le,"propName","min-height");var Z=class extends t{};e(Z,"id","LetterSpacing"),e(Z,"matches",/^ls:./),e(Z,"propName","letter-spacing"),e(Z,"unit","em");var Qo="subpixel-antialiased",yo="-webkit-font-smoothing",Ro="-moz-osx-font-smoothing",_e=class extends t{get(r){let i={};switch(r.value){case Qo:i[yo]=i[Ro]={...r,value:"auto"};break;case"antialiased":i[yo]={...r,value:"antialiased"},i[Ro]={...r,value:"grayscale"};break}return i}};e(_e,"id","FontSmoothing"),e(_e,"matches",/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/),e(_e,"unit","");var J=class extends t{};e(J,"id","FontStyle"),e(J,"matches",/^f(ont)?:(normal|italic|oblique)(?!\|)/),e(J,"propName","font-style"),e(J,"unit","deg");var ze=class extends t{};e(ze,"id","FontVariantNumeric"),e(ze,"matches",/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/),e(ze,"propName","font-variant-numeric");var K=class extends t{};e(K,"id","LineHeight"),e(K,"matches",/^lh:./),e(K,"propName","line-height"),e(K,"unit","");var He=class extends t{};e(He,"id","ObjectFit"),e(He,"matches",/^(object|obj):(contain|cover|fill|scale-down)/),e(He,"propName","object-fit");var Ve=class extends t{};e(Ve,"id","ObjectPosition"),e(Ve,"matches",/^(object|obj):(top|bottom|right|left|center)/),e(Ve,"propName","object-position");var $e=class extends t{};e($e,"id","TextAlign"),e($e,"matches",/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/),e($e,"propName","text-align");var Q=class extends t{order=-1};e(Q,"id","TextDecoration"),e(Q,"matches",/^t(ext)?:(underline|line-through|overline)/),e(Q,"propName","text-decoration"),e(Q,"colorful",!0);var Ue=class extends t{};e(Ue,"id","TextTransform"),e(Ue,"matches",/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/),e(Ue,"propName","text-transform");var Ye=class extends t{};e(Ye,"id","VerticalAlign"),e(Ye,"matches",/^(?:v|vertical):./),e(Ye,"propName","vertical-align");var qe=class extends t{get(r){return{overflow:{...r,value:"hidden"},display:{...r,value:"-webkit-box"},"overflow-wrap":{...r,value:"break-word"},"text-overflow":{...r,value:"ellipsis"},"-webkit-box-orient":{...r,value:"vertical"},"-webkit-line-clamp":r}}};e(qe,"id","Lines"),e(qe,"matches",/^lines:./),e(qe,"unit","");var ee=class extends t{};e(ee,"id","TransformOrigin"),e(ee,"matches",/^transform:((top|bottom|right|left|center)|\d)/),e(ee,"propName","transform-origin"),e(ee,"unit","px");var Xe=class extends t{};e(Xe,"id","TransformStyle"),e(Xe,"matches",/^transform:(flat|preserve-3d)(?!\|)/),e(Xe,"propName","transform-style");var Ze=class extends t{};e(Ze,"id","TransformBox"),e(Ze,"matches",/^transform:(content|border|fill|stroke|view)(?!\|)/),e(Ze,"propName","transform-box");var te=class extends t{parseValue(r,{rootSize:i}){return r.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(o,n,s,l)=>{let d,u;switch(n){case"translate":d="rem";break;case"skew":d="deg";break;case"rotate":s==="3d"&&(u=!0),d="deg";break;default:return o}let c=l.split(",");return o.replace(l,c.map((h,f)=>!u||c.length-1===f?Number.isNaN(+h)?h:h/(d==="rem"?i:1)+d:h).join(","))})}};e(te,"id","Transform"),e(te,"matches",/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/),e(te,"propName","transform"),e(te,"unit","");var Je=class extends t{order=-1};e(Je,"id","Transition"),e(Je,"symbol","~"),e(Je,"propName","transition");var re=class extends t{};e(re,"id","TransitionDelay"),e(re,"matches",/^~delay:./),e(re,"propName","transition-delay"),e(re,"unit","ms");var ie=class extends t{};e(ie,"id","TransitionDuration"),e(ie,"matches",/^~duration:./),e(ie,"propName","transition-duration"),e(ie,"unit","ms");var Ke=class extends t{};e(Ke,"id","TransitionProperty"),e(Ke,"matches",/^~property:./),e(Ke,"propName","transition-property");var Qe=class extends t{};e(Qe,"id","TransitionTimingFunction"),e(Qe,"matches",/^~easing:./),e(Qe,"propName","transition-timing-function");var et=class extends t{};e(et,"id","MaxHeight"),e(et,"matches",/^max-h:./),e(et,"propName","max-height");var tt=class extends t{};e(tt,"id","MaxWidth"),e(tt,"matches",/^max-w:./),e(tt,"propName","max-width");var rt=class extends t{};e(rt,"id","Display"),e(rt,"matches",/^d:./),e(rt,"propName","display");var it=class extends t{};e(it,"id","BoxSizing"),e(it,"matches",/^box:(content|border)(?!\|)/),e(it,"propName","box-sizing");var ot=class extends t{};e(ot,"id","Opacity"),e(ot,"propName","opacity"),e(ot,"unit","");var wr=class extends t{};e(wr,"id","Visibility"),e(wr,"propName","visibility");var Or=class extends t{};e(Or,"id","Clear"),e(Or,"propName","clear");var Ar=class extends t{};e(Ar,"id","Float"),e(Ar,"propName","float");var Ir=class extends t{};e(Ir,"id","Isolation"),e(Ir,"propName","isolation");var Br=class extends t{get(r){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":r};case"y":return{"overflow-y":r}}return{overflow:r}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};e(Br,"id","Overflow"),e(Br,"matches",/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/);var Fr=class extends t{get(r){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":r};case"y":return{"overscroll-behavior-y":r};default:return{"overscroll-behavior":r}}}};e(Fr,"id","OverscrollBehavior"),e(Fr,"matches",/^overscroll-behavior(?:-[xy])?:/);var oe=class extends t{};e(oe,"id","ZIndex"),e(oe,"matches",/^z:./),e(oe,"propName","z-index"),e(oe,"unit","");var se=class extends t{};e(se,"id","AnimationDelay"),e(se,"matches",/^\@delay:./),e(se,"propName","animation-delay"),e(se,"unit","ms");var st=class extends t{};e(st,"id","AnimationDirection"),e(st,"matches",/^\@direction:./),e(st,"propName","animation-direction");var at=class extends t{};e(at,"id","AnimationFillMode"),e(at,"matches",/^\@fill-mode:./),e(at,"propName","animation-fill-mode");var ae=class extends t{};e(ae,"id","AnimationIterationCount"),e(ae,"matches",/^\@iteration-count:./),e(ae,"propName","animation-interation-count"),e(ae,"unit","");var nt=class extends t{};e(nt,"id","AnimationName"),e(nt,"matches",/^\@name:./),e(nt,"propName","animation-name");var lt=class extends t{};e(lt,"id","AnimationPlayState"),e(lt,"matches",/^\@play-state:./),e(lt,"propName","animation-play-state");var ct=class extends t{};e(ct,"id","AnimationTimingFunction"),e(ct,"matches",/^\@easing:./),e(ct,"propName","animation-timing-function");var ne=class extends t{order=-1};e(ne,"id","Animation"),e(ne,"symbol","@"),e(ne,"propName","animation"),e(ne,"unit","");var Vi="border-";function le(r,i,o=""){o&&(o="-"+o);let n=/^b(order)?-?(.)?/.exec(r)[2],s=Vi+"left"+o,l=Vi+"right"+o,d=Vi+"top"+o,u=Vi+"bottom"+o;switch(n){case"x":return{[s]:i,[l]:i};case"y":return{[d]:i,[u]:i};case"l":return{[s]:i};case"r":return{[l]:i};case"t":return{[d]:i};case"b":return{[u]:i};default:return{["border"+o]:i}}}var ce=class extends t{get(r){return le(this.prefix,r,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(ce,"id","BorderColor"),e(ce,"matches",/^border(-(left|right|top|bottom))?-color:./),e(ce,"colorStarts","b([xytblr]|(order(-(left|right|top|bottom))?))?:"),e(ce,"colorful",!0);var $i="border-top-left-radius",Ui="border-top-right-radius",Yi="border-bottom-left-radius",qi="border-bottom-right-radius",Mo="border-radius",es=[$i,Ui,Yi,qi],Dr=class extends t{get(r){if(this.prefix){let o="",n=this.prefix.split("-");if(n.length>1)for(let s=1;s<n.length-1;s++)o+=n[s][0];else o=this.prefix.slice(1,-1);switch(o){case"t":return{[$i]:r,[Ui]:r};case"tl":case"lt":return{[$i]:r};case"rt":case"tr":return{[Ui]:r};case"b":return{[Yi]:r,[qi]:r};case"bl":case"lb":return{[Yi]:r};case"br":case"rb":return{[qi]:r};case"l":return{[$i]:r,[Yi]:r};case"r":return{[Ui]:r,[qi]:r};default:return{[Mo]:r}}}let i=this.prefix?.slice(0,-1);return{[es.includes(i)?i:Mo]:r}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};e(Dr,"id","BorderRadius"),e(Dr,"matches",/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/);var Wr=class extends t{get(r){return le(this.prefix,r,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Wr,"id","BorderStyle"),e(Wr,"matches",/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/);var Er=class extends t{get(r){return le(this.prefix,r,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};e(Er,"id","BorderWidth"),e(Er,"matches",/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/);var dt=class extends t{get(r){return le(this.prefix,r)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};e(dt,"id","Border"),e(dt,"matches",/^b([xytblr]?|order(-(left|right|top|bottom))?):./),e(dt,"colorful",!0);var mt=class extends t{};e(mt,"id","BackgroundAttachment"),e(mt,"matches",/^(bg|background):(fixed|local|scroll)(?!\|)/),e(mt,"propName","background-attachment");var Pr=class extends t{};e(Pr,"id","BackgroundBlendMode"),e(Pr,"propName","background-blend-mode");var ft=class extends t{get(r){return{"-webkit-background-clip":r,"background-clip":r}}};e(ft,"id","BackgroundClip"),e(ft,"matches",/^(bg|background):text(?!\|)/),e(ft,"propName","background-clip");var $=class extends t{};e($,"id","BackgroundColor"),e($,"colorStarts","(bg|background):"),e($,"propName","background-color"),e($,"unit",""),e($,"colorful",!0);var pt=class extends t{};e(pt,"id","BackgroundOrigin"),e(pt,"matches",/^(bg|background):(content|border|padding)(?!\|)/),e(pt,"propName","background-origin");var de=class extends t{};e(de,"id","BackgroundPosition"),e(de,"matches",/^(bg|background):(top|bottom|right|left|center)(?!\|)/),e(de,"propName","background-position"),e(de,"unit","px");var ut=class extends t{};e(ut,"id","BackgroundRepeat"),e(ut,"matches",/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/),e(ut,"propName","background-repeat");var ht=class extends t{};e(ht,"id","BackgroundSize"),e(ht,"matches",/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/),e(ht,"propName","background-size");var me=class extends t{};e(me,"id","BackgroundImage"),e(me,"matches",/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(me,"propName","background-image"),e(me,"colorful",!0);var fe=class extends t{order=-1};e(fe,"id","Background"),e(fe,"matches",/^bg:./),e(fe,"propName","background"),e(fe,"colorful",!0);var xt=class extends t{};e(xt,"id","MixBlendMode"),e(xt,"matches",/^blend:./),e(xt,"propName","mix-blend-mode");var jr=class extends t{};e(jr,"id","Position"),e(jr,"propName","position");var Gr=class extends t{get(r){let i=this.prefix.slice(0,-1);switch(i){case"top":case"left":case"right":case"bottom":return{[i]:r};case"center":return{left:r,right:r,"margin-left":{...r,unit:""},"margin-right":{...r,unit:""}};case"middle":return{top:r,bottom:r,"margin-top":{...r,unit:""},"margin-bottom":{...r,unit:""}}}}};e(Gr,"id","Placement"),e(Gr,"matches",/^(top|left|right|bottom|center|middle):./);function Xi(r,i,{rootSize:o}){let n="",s=0;return function l(d,u){let c="",h=u?i(u):"",f=()=>{c&&(n+=!h||Number.isNaN(+c)?c:+c/(h==="rem"?o:1)+h,c="")};for(;s<r.length;s++){let p=r[s];if(p===d&&(d!=="'"||r[s+1]===")")){f(),n+=p;break}else p===","||p===" "?(f(),n+=p):!c&&p==="'"?(n+=p,s++,l(p),c=""):c&&p==="("?(n+=c+p,s++,l(")",c),c=""):c+=p}f()}(),n}var vt=class extends t{get(r){return{"backdrop-filter":r,"-webkit-backdrop-filter":r}}parseValue(r,i){return Xi(r,o=>{switch(o){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},i)}};e(vt,"id","BackdropFilter"),e(vt,"matches",/^bd:./),e(vt,"propName","backdrop-filter");var pe=class extends t{};e(pe,"id","Fill"),e(pe,"propName","fill"),e(pe,"colorStarts","fill:"),e(pe,"colorful",!0);var gt=class extends t{};e(gt,"id","Stroke"),e(gt,"propName","stroke"),e(gt,"colorful",!0);var St=class extends t{};e(St,"id","StrokeWidth"),e(St,"matches",/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(St,"propName","stroke-width");var bt=class extends t{parseValue(r,i){return Xi(r,o=>{switch(o){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},i)}};e(bt,"id","Filter"),e(bt,"matches",/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/),e(bt,"propName","filter");var Lr=class extends t{};e(Lr,"id","Cursor"),e(Lr,"propName","cursor");var _r=class extends t{};e(_r,"id","PointerEvents"),e(_r,"propName","pointer-events");var zr=class extends t{};e(zr,"id","Resize"),e(zr,"propName","resize");var Hr=class extends t{};e(Hr,"id","TouchAction"),e(Hr,"propName","touch-action");var Vr=class extends t{get(r){return{"user-drag":r,"-webkit-user-drag":r}}};e(Vr,"id","UserDrag"),e(Vr,"propName","user-drag");var $r=class extends t{get(r){return{"user-select":r,"-webkit-user-select":r}}};e($r,"id","UserSelect"),e($r,"propName","user-select");var ue=class extends t{};e(ue,"id","BoxShadow"),e(ue,"matches",/^s(?:hadow)?:./),e(ue,"propName","box-shadow"),e(ue,"colorful",!0);var Ct=class extends t{};e(Ct,"id","TextShadow"),e(Ct,"propName","text-shadow"),e(Ct,"colorful",!0);var Ur=class extends t{get(r){return{"font-size":r,"line-height":{...r,value:r.unit==="rem"?r.value+.375+r.unit:"calc("+r.value+r.unit+" + .375rem)",unit:""}}}};e(Ur,"id","TextSize"),e(Ur,"matches",/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/);var yt=class extends t{};e(yt,"id","WordBreak"),e(yt,"propName","word-break"),e(yt,"unit","");var he=class extends t{get(r){return{display:{...r,value:"grid"},"grid-template-columns":{...this,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(he,"id","GridColumns"),e(he,"matches",/^grid-cols:./),e(he,"propName","grid-columns"),e(he,"unit","");var Rt=class extends t{get(r){return{display:{...r,value:"grid"},"grid-auto-flow":{...r,value:"column"},"grid-template-rows":{...r,value:"repeat("+r.value+",minmax("+0+","+1+"fr))"}}}};e(Rt,"id","GridRows"),e(Rt,"propName","grid-rows"),e(Rt,"unit","");var Yr=class extends t{get(r){switch(this.prefix[4]){case"x":return{"column-gap":r};case"y":return{"row-gap":r};default:return{gap:r}}}order=-1};e(Yr,"id","Gap"),e(Yr,"matches",/^gap(-x|-y)?:./);var Mt=class extends t{};e(Mt,"id","WordSpacing"),e(Mt,"propName","word-spacing"),e(Mt,"unit","em");var Nt=class extends t{get(r){return{["--"+this.prefix.slice(1,-1)]:r}}};e(Nt,"id","Variable"),e(Nt,"matches",/^\$[^ {}A-Z]+:[^ ]/),e(Nt,"unit","");var xe=class extends t{};e(xe,"id","AspectRadio"),e(xe,"matches",/^aspect:./),e(xe,"propName","aspect-ratio"),e(xe,"unit","");var kt=class extends t{get(r){return{"box-decoration-break":r,"-webkit-box-decoration-break":r}}};e(kt,"id","BoxDecorationBreak"),e(kt,"matches",/^box:(slice|clone)(?!\|)/),e(kt,"propName","box-decoration-break");var qr=class extends t{};e(qr,"id","BreakAfter"),e(qr,"propName","break-after");var Xr=class extends t{};e(Xr,"id","BreakBefore"),e(Xr,"propName","break-before");var Zr=class extends t{};e(Zr,"id","BreakInside"),e(Zr,"propName","break-inside");var Tt=class extends t{};e(Tt,"id","FlexShrink"),e(Tt,"propName","flex-shrink"),e(Tt,"unit","");var wt=class extends t{};e(wt,"id","FlexDirection"),e(wt,"matches",/^flex:((row|col|column)(-reverse)?)(?!\|)/),e(wt,"propName","flex-direction");var Ot=class extends t{};e(Ot,"id","FlexGrow"),e(Ot,"propName","flex-grow"),e(Ot,"unit","");var At=class extends t{};e(At,"id","FlexWrap"),e(At,"matches",/^flex:(wrap(-reverse)?|nowrap)(?!\|)/),e(At,"propName","flex-wrap");var Jr=class extends t{};e(Jr,"id","FlexBasis"),e(Jr,"propName","flex-basis");var It=class extends t{order=-1};e(It,"id","Flex"),e(It,"propName","flex"),e(It,"unit","");var ve=class extends t{};e(ve,"id","Order"),e(ve,"matches",/^o:./),e(ve,"propName","order"),e(ve,"unit","");var ge=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(ge,"id","GridColumn"),e(ge,"matches",/^grid-col(?:umn)?(?:-span)?:./),e(ge,"propName","grid-column"),e(ge,"unit","");var Bt=class extends t{};e(Bt,"id","ColumnSpan"),e(Bt,"matches",/^col-span:./),e(Bt,"propName","column-span");var Se=class extends t{parseValue(r){return this.prefix.slice(-5,-1)==="span"&&r!=="auto"?"span "+r+"/span "+r:r}order=-1};e(Se,"id","GridRow"),e(Se,"matches",/^grid-row-span:./),e(Se,"propName","grid-row"),e(Se,"unit","");var U=class extends t{};e(U,"id","Color"),e(U,"colorStarts","(?:color|fg|foreground):"),e(U,"colorful",!0),e(U,"propName","color"),e(U,"unit","");var Ft=class extends t{};e(Ft,"id","AlignContent"),e(Ft,"matches",/^ac:./),e(Ft,"propName","align-content");var Dt=class extends t{};e(Dt,"id","AlignItems"),e(Dt,"matches",/^ai:./),e(Dt,"propName","align-items");var Wt=class extends t{};e(Wt,"id","AlignSelf"),e(Wt,"matches",/^as:./),e(Wt,"propName","align-self");var Et=class extends t{};e(Et,"id","GridAutoColumns"),e(Et,"matches",/^grid-auto-cols:./),e(Et,"propName","grid-auto-columns");var Pt=class extends t{};e(Pt,"id","GridAutoFlow"),e(Pt,"matches",/^grid-flow:./),e(Pt,"propName","grid-auto-flow");var Kr=class extends t{};e(Kr,"id","GridAutoRows"),e(Kr,"propName","grid-auto-rows");var jt=class extends t{};e(jt,"id","JustifyContent"),e(jt,"matches",/^jc:./),e(jt,"propName","justify-content");var Gt=class extends t{};e(Gt,"id","JustifyItems"),e(Gt,"matches",/^ji:./),e(Gt,"propName","justify-items");var Lt=class extends t{};e(Lt,"id","JustifySelf"),e(Lt,"matches",/^js:./),e(Lt,"propName","justify-self");var Qr=class extends t{order=-1};e(Qr,"id","PlaceContent"),e(Qr,"propName","place-content");var ei=class extends t{order=-1};e(ei,"id","PlaceItems"),e(ei,"propName","place-items");var ti=class extends t{order=-1};e(ti,"id","PlaceSelf"),e(ti,"propName","place-self");var ri=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="padding:"?-1:0}};e(ri,"id","Padding"),e(ri,"matches",/^padding(?:-(?:left|right|top|bottom))?:./);var ii=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}get order(){return this.prefix==="margin:"?-1:0}};e(ii,"id","Margin"),e(ii,"matches",/^margin(-(left|right|top|bottom))?:./);var _t=class extends t{};e(_t,"id","TextOverflow"),e(_t,"matches",/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/),e(_t,"propName","text-overflow");var zt=class extends t{};e(zt,"id","ListStylePosition"),e(zt,"matches",/^list-style:(inside|outside)(?!\|)/),e(zt,"propName","list-style-position");var Ht=class extends t{};e(Ht,"id","ListStyleType"),e(Ht,"matches",/^list-style:(disc|decimal)(?!\|)/),e(Ht,"propName","list-style-type");var oi=class extends t{order=-1};e(oi,"id","ListStyle"),e(oi,"propName","list-style");var be=class extends t{};e(be,"id","TextDecorationColor"),e(be,"propName","text-decoration-color"),e(be,"colorStarts","text-decoration:"),e(be,"colorful",!0);var Vt=class extends t{};e(Vt,"id","TextDecorationStyle"),e(Vt,"matches",/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/),e(Vt,"propName","text-decoration-style");var Ce=class extends t{};e(Ce,"id","TextDecorationThickness"),e(Ce,"matches",/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/),e(Ce,"propName","text-decoration-thickness"),e(Ce,"unit","em");var si=class extends t{};e(si,"id","TextIndent"),e(si,"propName","text-indent");var ai=class extends t{};e(ai,"id","Content"),e(ai,"propName","content");var ye=class extends t{};e(ye,"id","OutlineColor"),e(ye,"propName","outline-color"),e(ye,"colorStarts","outline:"),e(ye,"colorful",!0);var ni=class extends t{};e(ni,"id","OutlineOffset"),e(ni,"propName","outline-offset");var $t=class extends t{};e($t,"id","OutlineStyle"),e($t,"matches",/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/),e($t,"propName","outline-style");var Ut=class extends t{};e(Ut,"id","OutlineWidth"),e(Ut,"matches",/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(Ut,"propName","outline-width");var Yt=class extends t{order=-1};e(Yt,"id","Outline"),e(Yt,"propName","outline"),e(Yt,"colorful",!0);var qt=class extends t{};e(qt,"id","BorderCollapse"),e(qt,"matches",/^b(order)?:(collapse|separate)(?!\|)/),e(qt,"propName","border-collapse");var li=class extends t{};e(li,"id","BorderSpacing"),e(li,"propName","border-spacing");var ci=class extends t{};e(ci,"id","TableLayout"),e(ci,"propName","table-layout");var Re=class extends t{};e(Re,"id","AccentColor"),e(Re,"propName","accent-color"),e(Re,"colorStarts","accent:"),e(Re,"colorful",!0);var di=class extends t{};e(di,"id","Appearance"),e(di,"propName","appearance");var Me=class extends t{};e(Me,"id","CaretColor"),e(Me,"propName","caret-color"),e(Me,"colorStarts","caret:"),e(Me,"colorful",!0);var mi=class extends t{};e(mi,"id","ScrollBehavior"),e(mi,"propName","scroll-behavior");var fi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":r,"scroll-margin-right":r};case"y":return{"scroll-margin-top":r,"scroll-margin-bottom":r};case"l":return{"scroll-margin-left":r};case"r":return{"scroll-margin-right":r};case"t":return{"scroll-margin-top":r};case"b":return{"scroll-margin-bottom":r}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};e(fi,"id","ScrollMargin"),e(fi,"matches",/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./);var pi=class extends t{get(r){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":r,"scroll-padding-right":r};case"y":return{"scroll-padding-top":r,"scroll-padding-bottom":r};case"l":return{"scroll-padding-left":r};case"r":return{"scroll-padding-right":r};case"t":return{"scroll-padding-top":r};case"b":return{"scroll-padding-bottom":r}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:r}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};e(pi,"id","ScrollPadding"),e(pi,"matches",/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./);var Xt=class extends t{};e(Xt,"id","ScrollSnapAlign"),e(Xt,"matches",/^scroll-snap:(start|end|center)/),e(Xt,"propName","scroll-snap-align");var Zt=class extends t{};e(Zt,"id","ScrollSnapStop"),e(Zt,"matches",/^scroll-snap:(normal|always)(?!\|)/),e(Zt,"propName","scroll-snap-stop");var Jt=class extends t{};e(Jt,"id","ScrollSnapType"),e(Jt,"matches",/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/),e(Jt,"propName","scroll-snap-type");var ui=class extends t{};e(ui,"id","WillChange"),e(ui,"propName","will-change");var hi=class extends t{};e(hi,"id","TextUnderlineOffset"),e(hi,"propName","text-underline-offset");var Kt=class extends t{get(r){return{[this.prefix.slice(0,-1)]:r}}};e(Kt,"id","Inset"),e(Kt,"matches",/^(?:top|bottom|left|right):./),e(Kt,"propName","inset");var Ne=class extends t{order=-1};e(Ne,"id","Columns"),e(Ne,"matches",/^(columns|cols):./),e(Ne,"propName","columns"),e(Ne,"unit","");var Qt=class extends t{};e(Qt,"id","WhiteSpace"),e(Qt,"propName","white-space"),e(Qt,"unit","");var er=class extends t{};e(er,"id","TextOrientation"),e(er,"matches",/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/),e(er,"propName","text-orientation");var tr=class extends t{};e(tr,"id","WritingMode"),e(tr,"matches",/^writing:./),e(tr,"propName","writing-mode");var xi=class extends t{};e(xi,"id","Contain"),e(xi,"propName","contain");var ke=class extends t{};e(ke,"id","AnimationDuration"),e(ke,"matches",/^\@duration:./),e(ke,"propName","animation-duration"),e(ke,"unit","ms");var rr=class extends t{};e(rr,"id","TextRendering"),e(rr,"matches",/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/),e(rr,"propName","text-rendering");var vi=class extends t{};e(vi,"id","Direction"),e(vi,"propName","direction");var ir=class extends t{};e(ir,"id","TextDecorationLine"),e(ir,"matches",/^t(ext)?:(none|underline|overline|line-through)(?!\|)/),e(ir,"propName","text-decoration-line");var Te=class extends t{};e(Te,"id","GridColumnStart"),e(Te,"matches",/^grid-col-start:./),e(Te,"propName","grid-column-start"),e(Te,"unit","");var or=class extends t{};e(or,"id","ListStyleImage"),e(or,"matches",/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/),e(or,"propName","list-style-image");var sr=class extends t{};e(sr,"id","ShapeOutside"),e(sr,"matches",/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/),e(sr,"propName","shape-outside");var ar=class extends t{};e(ar,"id","ShapeMargin"),e(ar,"matches",/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/),e(ar,"propName","shape-margin");var nr=class extends t{};e(nr,"id","ShapeImageThreshold"),e(nr,"propName","shape-image-threshold"),e(nr,"unit","");var lr=class extends t{};e(lr,"id","ClipPath"),e(lr,"matches",/^clip:./),e(lr,"propName","clip-path");var gi=class extends t{order=-1};e(gi,"id","Grid"),e(gi,"propName","grid");var we=class extends t{order=-1};e(we,"id","Font"),e(we,"matches",/^f:./),e(we,"propName","font"),e(we,"unit","");var Si=class extends t{};e(Si,"id","Quotes"),e(Si,"propName","quotes");var bi=class extends t{order=-1};e(bi,"id","GridTemplate"),e(bi,"propName","grid-template");var cr=class extends t{};e(cr,"id","GridRowStart"),e(cr,"propName","grid-row-start"),e(cr,"unit","");var Ci=class extends t{};e(Ci,"id","GridTemplateAreas"),e(Ci,"propName","grid-template-areas");var dr=class extends t{};e(dr,"id","GridTemplateColumns"),e(dr,"matches",/^grid-template-cols:./),e(dr,"propName","grid-template-columns");var yi=class extends t{};e(yi,"id","GridTemplateRows"),e(yi,"propName","grid-template-rows");var mr=class extends t{order=-1};e(mr,"id","GridArea"),e(mr,"propName","grid-area"),e(mr,"unit","");var Oe=class extends t{};e(Oe,"id","GridColumnEnd"),e(Oe,"matches",/^grid-col-end:./),e(Oe,"propName","grid-column-end"),e(Oe,"unit","");var fr=class extends t{};e(fr,"id","GridRowEnd"),e(fr,"propName","grid-row-end"),e(fr,"unit","");var Ri=class extends t{get(r){return{"mask-image":r,"-webkit-mask-image":r}}};e(Ri,"id","MaskImage"),e(Ri,"propName","mask-image");var Ae=class extends t{get(r){return{"-webkit-text-fill-color":r}}};e(Ae,"id","TextFillColor"),e(Ae,"matches",/^text-fill-color:./),e(Ae,"colorStarts","(text-fill|text|t):"),e(Ae,"colorful",!0);var Mi=class extends t{get(r){return{"-webkit-text-stroke":r}}};e(Mi,"id","TextStroke"),e(Mi,"matches",/^text-stroke:./);var Ni=class extends t{get(r){return{"-webkit-text-stroke-width":r}}};e(Ni,"id","TextStrokeWidth"),e(Ni,"matches",/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/);var Ie=class extends t{get(r){return{"-webkit-text-stroke-color":r}}};e(Ie,"id","TextStrokeColor"),e(Ie,"matches",/^text-stroke-color:./),e(Ie,"colorStarts","text-stroke:"),e(Ie,"colorful",!0);var ki=class extends t{};e(ki,"id","StrokeDasharray"),e(ki,"propName","stroke-dasharray");var Ti=class extends t{};e(Ti,"id","StrokeDashoffset"),e(Ti,"propName","stroke-dash-offset");var pr=class extends t{};e(pr,"id","X"),e(pr,"propName","x"),e(pr,"unit","");var ur=class extends t{};e(ur,"id","Y"),e(ur,"propName","y"),e(ur,"unit","");var hr=class extends t{};e(hr,"id","Cx"),e(hr,"propName","cx"),e(hr,"unit","");var xr=class extends t{};e(xr,"id","Cy"),e(xr,"propName","cy"),e(xr,"unit","");var vr=class extends t{};e(vr,"id","Rx"),e(vr,"propName","rx"),e(vr,"unit","");var gr=class extends t{};e(gr,"id","Ry"),e(gr,"propName","ry"),e(gr,"unit","");var wi=class extends t{};e(wi,"id","BorderImageOutset"),e(wi,"propName","border-image-outset");var Sr=class extends t{};e(Sr,"id","BorderImageRepeat"),e(Sr,"matches",/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/),e(Sr,"propName","border-image-repeat");var br=class extends t{};e(br,"id","BorderImageSlice"),e(br,"propName","border-image-slice"),e(br,"unit","");var Cr=class extends t{};e(Cr,"id","BorderImageSource"),e(Cr,"matches",/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/),e(Cr,"propName","border-image-source");var yr=class extends t{};e(yr,"id","BorderImageWidth"),e(yr,"matches",/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/),e(yr,"propName","border-image-width");var Rr=class extends t{};e(Rr,"id","BorderImage"),e(Rr,"propName","border-image"),e(Rr,"unit","");var ts=/\{(.*)\}/,Mr=class extends t{getThemeProps(r,i){let o={},n=(h,f)=>{let p=f.indexOf(":");if(p!==-1){h in o||(o[h]={});let m=o[h],a=f.slice(0,p);a in m||(m[a]=f.slice(p+1))}},s=h=>{let f=(p,m)=>{let a=m.slice(CSS.escape(h.className).length).match(ts)[1].split(";");for(let v of a)n(p,v)};if(this.themeName){let p=h.natives.find(m=>m.themeName===this.themeName)??h.natives.find(m=>!m.themeName);p&&f(this.themeName,p.text)}else for(let p of h.natives)f(p.themeName,p.text)},l=[],d="",u=()=>{d&&(l.push(d),d="")},c=1;(function h(f){for(;c<r.value.length;c++){let p=r.value[c];if(!f){if(p===";"){u();continue}if(p==="}")break}if(d+=p,f===p){if(f==="'"){let m=0;for(let a=d.length-2;d[a]==="\\";a--)m++;if(m%2)continue}break}else p in kr&&f!=="'"&&(c++,h(kr[p]))}})(void 0),u();for(let h of l){let f=i.findAndNew(h);if(Array.isArray(f))for(let p of f)s(p);else f?s(f):n(this.themeName??"",h)}return o}};e(Mr,"id","Group"),e(Mr,"matches",/^(?:.+?[*_>~+])?\{.+?\}/),e(Mr,"unit","");var Nr=class extends t{};e(Nr,"id","CounterIncrement"),e(Nr,"propName","counter-increment"),e(Nr,"unit","");var Zi=[Mr,Nt,Ee,X,We,_e,J,ze,we,U,Tr,ii,ri,Jr,At,Ot,Tt,wt,It,rt,Pe,je,Ge,Le,xi,ai,Nr,Z,K,He,Ve,$e,be,Vt,Ce,ir,Q,hi,_t,er,Ue,rr,si,Ye,Ne,Qt,Kt,qe,et,tt,it,ot,wr,Or,Ar,Ir,Br,Fr,oe,jr,Gr,Lr,_r,zr,Hr,yt,Mt,Vr,$r,Ct,Ur,Ae,Ni,Ie,Mi,ue,ci,Ze,Xe,ee,te,Ke,Qe,ie,re,Je,se,st,ke,at,ae,nt,lt,ct,ne,ce,Dr,Wr,Er,qt,li,wi,Sr,br,Cr,yr,Rr,dt,mt,Pr,ft,$,pt,de,ut,ht,me,fe,xt,vt,bt,pe,ki,Ti,St,gt,pr,ur,hr,xr,vr,gr,Te,Oe,ge,he,cr,fr,Se,Rt,Et,Pt,Kr,Ci,dr,yi,bi,mr,gi,Yr,ve,Zr,Xr,qr,kt,xe,Bt,Ft,Dt,Wt,jt,Gt,Lt,Qr,ei,ti,zt,Ht,or,oi,ye,ni,$t,Ut,Yt,Re,di,Me,mi,fi,pi,Xt,Zt,Jt,ui,tr,vi,sr,ar,nr,lr,Si,Ri];var Be={colors:Wi,breakpoints:De,semantics:Pi,values:Li,selectors:Ei,themes:ji,Rules:Zi,rootSize:16};function Ji(r){if(typeof window<"u"){let i=new P(r,document.head);return P.root=i,i.observe(document.documentElement),i}else return new P(r)}var rs=[",",".","#","[","!","*",">","+","~",":","@"],No=typeof document<"u",Ki;No&&(Ki=document.createElement("style"),Ki.title="master");var _="max-width",L="min-width",is="attributes",ko=typeof window<"u",os=ko?window.MutationObserver:Object,Qi=class extends os{constructor(o=Be,n){super(s=>{let l={},d=[],u=[],c=[],h=(a,v)=>{v?a.classList.forEach(p):a.classList.forEach(f);let x=a.children;for(let g=0;g<x.length;g++){let N=x[g];N.classList&&(u.push(N),h(N,v))}},f=a=>{a in l?l[a]++:l[a]=1},p=a=>{a in l?l[a]--:l[a]=-1},m=(a,v)=>{for(let x=0;x<a.length;x++){let g=a[x];g.classList&&!u.includes(g)&&!c.includes(g)&&(g.isConnected!==v?(u.push(g),h(g,v)):c.push(g))}};for(let a=0;a<s.length;a++){let v=s[a],{addedNodes:x,removedNodes:g,type:N,target:y,oldValue:E}=v;if(N===is){if(y.className===E||d.find(k=>k.target===y))continue;d.push(v)}else m(x,!1),m(g,!0)}if(!(!d.length&&!Object.keys(l).length)){for(let{oldValue:a,target:v}of d){let x=u.includes(v),g=v.classList,N=a?a.split(" "):[];if(x){if(v.isConnected)continue;for(let y of N)g.contains(y)||p(y)}else if(v.isConnected){g.forEach(y=>{N.includes(y)||f(y)});for(let y of N)g.contains(y)||p(y)}else for(let y of N)p(y)}for(let a in l){let v=l[a],x=(this.countOfName[a]||0)+v;x===0?(delete this.countOfName[a],this.delete(a)):(a in this.countOfName||this.findAndInsert(a),this.countOfName[a]=x)}}});this.config=o;this.container=n;if(this.cache(),!!No){if(n){let s;for(let l of n.shadowRoot?.styleSheets||document.styleSheets)l.title==="master"&&(s=l.ownerNode);if(s){this.style=s;for(let l=0;l<this.style.sheet.cssRules.length;l++){let d=c=>{if(c.selectorText){let f=c.selectorText.split(", ")[0].split(" ");for(let p=0;p<f.length;p++){let m=f[p];if(m[0]==="."){let a=m.slice(1),v="";for(let x=0;x<a.length;x++){let g=a[x],N=a[x+1];if(g==="\\"){if(x++,N!=="\\"){v+=N;continue}}else if(rs.includes(g))break;v+=g}if(!(v in this.ruleOfClass)&&!(v in this.classes)){let x=this.findAndNew(v);if(x)return x}}}}else if(c.cssRules)for(let h=0;h<c.cssRules.length;h++){let f=d(c.cssRules[h]);if(f)return f}},u=d(this.style.sheet.cssRules[l]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let c=0;c<u.natives.length;c++)u.natives[c].cssRule=this.style.sheet.cssRules[l+c];l+=u.natives.length-1}}}else this.style=Ki.cloneNode(),this.container?.prepend(this.style)}Qi.instances.push(this)}}static refresh(o){for(let n of this.instances)n.refresh(o)}style;rules=[];ruleOfClass={};countOfName={};cache(){this.semantics=[],this.classes={},this.colorsThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={single:[],multiple:[]};let{semantics:o,classes:n,selectors:s,themes:l,colors:d}=this.config;function u(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}if(o)for(let f in o)this.semantics.push([new RegExp("^"+u(f)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),f]);if(s)for(let f of Object.entries(s)){let p=typeof f[1]=="string";this.selectors[p?"single":"multiple"].push([new RegExp(u(f[0])+"(?![a-z-])",p?"g":""),f[1]])}let c=(f,p)=>{if(!!p){for(let m in p){let a=p[m],v=Array.isArray(a)?a:a.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");m in this.classes||(this.classes[m]=[]);let x=this.classes[m];for(let g of v)g in this.relationThemesMap?f in this.relationThemesMap[g]?this.relationThemesMap[g][f].push(m):this.relationThemesMap[g][f]=[m]:this.relationThemesMap[g]={[f]:[m]},x.includes(g)||x.push(g)}for(let m in this.relationThemesMap){this.relations[m]=[];for(let a of Object.values(this.relationThemesMap[m]))for(let v of a)this.relations[m].includes(v)||this.relations[m].push(v)}}},h=(f,p)=>{if(!!p)for(let m in p){let a=p[m];if(typeof a=="string"&&(a={"":a}),m in this.colorsThemesMap){let v=this.colorsThemesMap[m];for(let x in a){let g=a[x];x in v?v[x][f]=g:v[x]={[f]:g}}}else this.colorNames.push(m),this.colorsThemesMap[m]=Object.entries(a).reduce((v,[x,g])=>(v[x]={[f]:g},v),{})}};if(c("",n),h("",d),l)if(Array.isArray(l))this.themeNames.push(...l);else for(let f in l){let p=l[f];c(f,p.classes),h(f,p.colors),this.themeNames.push(f)}}semantics;classes;colorsThemesMap;colorNames;themeNames;relationThemesMap;relations;selectors;observe(o,n={subtree:!0,childList:!0}){return n.subtree&&o.querySelectorAll("[class]").forEach(s=>{s.classList.forEach(l=>{l in this.countOfName?this.countOfName[l]++:(this.countOfName[l]=1,this.findAndInsert(l))})}),super.observe(o,{...n,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]}),this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfName={},this.rules.length=0;let o=this.style.sheet;if(o)for(let n=o.cssRules.length-1;n>=0;n--)o.deleteRule(n)}findAndNew(o){let n=s=>{if(s in this.ruleOfClass)return this.ruleOfClass[s];for(let l of this.config.Rules){let d=l.match(s,this.colorNames);if(d)return new l(s,d,this)}for(let l of this.semantics)if(s.match(l[0]))return new t(s,{origin:"semantics",value:l[1]},this)};return o in this.classes?this.classes[o].map(n).filter(s=>s):n(o)}refresh(o){if(this.config=o,this.cache(),!this.style)return;let n=Ki.cloneNode();this.style.replaceWith(n),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let s in this.countOfName)this.findAndInsert(s)}destroy(){let o=Qi.instances;this.disconnect(),o.splice(o.indexOf(this),1),this.style.remove()}insert(o){if(this.ruleOfClass[o.className])return;let{validateRule:n}=this.config;if(n&&!n(o,this))return;let s,l=this.rules.length-1,{media:d,order:u,prioritySelectorIndex:c,hasWhere:h,className:f}=o,p=(m,a,v,x)=>{let g,N=0,y;a&&(N=m.findIndex(a)),v&&(y=m.findIndex(v)),N===-1&&(N=m.length),(y===void 0||y===-1)&&(y=m.length),g=m.slice(N,y);for(let E=0;E<g.length;E++){let k=g[E];if(!(k.prioritySelectorIndex===-1||x&&x(k))&&(k.prioritySelectorIndex<c||k.prioritySelectorIndex===c&&(h&&!k.hasWhere||k.order>=u)))return N+E}return N+g.length};if(d){let m=this.rules.findIndex(a=>a.media);if(m!==-1){let a=d.features[_],v=d.features[L];if(a&&v){let x=a.value-v.value;for(let g=l;g>=m;g--){s=g;let N=this.rules[g],y=N.media,E=y.features[_],k=y.features[L];if(!E||!k){s++;break}let C=E.value-k.value;if(C===x){if(h!==N.hasWhere)continue;if(c!==-1){let A=[this.rules[g]];for(let W=g-1;W>=m;W--){let H=this.rules[W];if(H.hasWhere!==h)break;let Y=H.media,V=Y.features[_],T=Y.features[L];if(!V||!T||V.value-T.value!==C)break;A.unshift(this.rules[W])}s=p(this.rules,W=>W.media&&W.prioritySelectorIndex!==-1&&W.media.features[L]&&W.media.features[_])}break}else if(C>x)break}}else if(v)for(let x=m;x<=l;x++){s=x;let g=this.rules[x],N=g.media,y=N.features[_],E=N.features[L];if(y){if(E)break;continue}let k=E?.value;if(k===v.value){if(!h&&g.hasWhere){s++;continue}if(c!==-1)s=p(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[_],C=>!C.media.features[L]&&!C.media.features[_]);else for(let C=x;C<=l;C++){let A=this.rules[C],W=A.media,H=W.features[L];if(!W.features[_]){if(A.hasWhere!==h||H.value!==k||A.order>=u)break;s=C+1}}break}else{if(k>v.value)break;s++}}else if(a)for(let x=l;x>=m;x--){s=x;let g=this.rules[x],N=g.media,y=N.features[_];if(N.features[L])continue;let k=y?.value;if(!k||k>a.value){s++;break}else if(k===a.value){if(h&&!g.hasWhere)continue;if(c!==-1)s=p(this.rules,C=>C.media,C=>C.media&&C.prioritySelectorIndex!==-1&&C.media.features[L]&&C.media.features[_],C=>!C.media.features[L]&&!C.media.features[_]);else{let C=[this.rules[x]];for(let A=x-1;A>=m;A--){let W=this.rules[A],H=W.media,Y=H.features[L],V=H.features[_];if(!Y&&(!V||V.value!==k||W.hasWhere!==h))break;C.unshift(W)}for(let A=0;A<C.length;A++){let W=C[A];if(!W.media.features[L]){if(W.order>=u)break;s=x-C.length+2+A}}}break}}}if(s===void 0)if(m===-1)s=l+1;else if(c!==-1)s=m+p(this.rules.slice(m),void 0,a=>a.media.features[_]||a.media.features[L]);else if(h){let a=m;for(;a<this.rules.length;a++){let v=this.rules[a];if(v.prioritySelectorIndex!==-1||!v.hasWhere||v.order>=u){s=a;break}}s===void 0&&(s=a)}else for(let a=m;a<=l;a++){s=a;let v=this.rules[a],x=v.media;if(v.prioritySelectorIndex!==-1||x.features[_]||x.features[L])break;if(v.hasWhere)s++;else if(v.order>=u)break}}else if(c===-1)if(h)s=this.rules.findIndex(m=>!m.hasWhere||m.media||m.prioritySelectorIndex!==-1||m.order>=u),s===-1&&(s=l+1);else{let m=0;for(;m<this.rules.length;m++){let a=this.rules[m];if(a.media||!a.hasWhere&&(a.order>=u||a.prioritySelectorIndex!==-1)){s=m;break}}s===void 0&&(s=m)}else s=p(this.rules,void 0,m=>m.media);if(this.rules.splice(s,0,o),this.ruleOfClass[f]=o,this.style)try{let m=this.style.sheet,a=0,v=this.rules[s-1];if(v){let x=v.natives[v.natives.length-1].cssRule;for(let g=0;g<m.cssRules.length;g++)if(m.cssRules[g]===x){a=g+1;break}}for(let x of o.natives)m.insertRule(x.text,a),x.cssRule=m.cssRules[a++]}catch(m){console.error(m)}}delete(o){let n=this.style.sheet,s=l=>{let d=this.ruleOfClass[l];if(!d||l in this.relations&&this.relations[l].some(c=>c in this.countOfName))return;let u=d.natives[0];for(let c=0;c<n.cssRules.length;c++)if(n.cssRules[c]===u.cssRule){for(let f=0;f<d.natives.length;f++)n.deleteRule(c);this.rules.splice(this.rules.indexOf(d),1),delete this.ruleOfClass[o];break}};if(o in this.classes)for(let l of this.classes[o])l in this.countOfName||s(l);else s(o)}findAndInsert(o){let n=this.findAndNew(o);if(Array.isArray(n))for(let s of n)this.insert(s);else n&&this.insert(n)}},P=Qi;e(P,"init",Ji),e(P,"defaultConfig",Be),e(P,"instances",[]),e(P,"root");ko&&(window.MasterCSS=P);function To(r,i){return Array.isArray(r)&&Array.isArray(i)?r.concat(i):i}function eo(r){return Object.prototype.toString.call(r).slice(8,-1)}function Fi(r){return eo(r)!=="Object"?!1:r.constructor===Object&&Object.getPrototypeOf(r)===Object.prototype}function mo(r){return eo(r)==="Symbol"}function wo(r,i,o,n){let s={}.propertyIsEnumerable.call(n,i)?"enumerable":"nonenumerable";s==="enumerable"&&(r[i]=o),s==="nonenumerable"&&Object.defineProperty(r,i,{value:o,enumerable:!1,writable:!0,configurable:!0})}function Oo(r,i,o){if(!Fi(i))return i;let n={};if(Fi(r)){let u=Object.getOwnPropertyNames(r),c=Object.getOwnPropertySymbols(r);n=[...u,...c].reduce((h,f)=>{let p=r[f];return(!mo(f)&&!Object.getOwnPropertyNames(i).includes(f)||mo(f)&&!Object.getOwnPropertySymbols(i).includes(f))&&wo(h,f,p,r),h},{})}let s=Object.getOwnPropertyNames(i),l=Object.getOwnPropertySymbols(i);return[...s,...l].reduce((u,c)=>{let h=i[c],f=Fi(r)?r[c]:void 0;f!==void 0&&Fi(h)&&(h=Oo(f,h,o));let p=o?o(f,h,c):h;return wo(u,c,p,i),u},n)}function Ao(r,...i){return i.reduce((o,n)=>Oo(o,n,To),r)}function Io(...r){return r.length?Ao(Be,...r):Be}var mR=oo(to());function Fo(r,i=new P){if(!!r?.length){for(let o of r)o in i.countOfName||(i.findAndInsert(o),i.countOfName[o]=1);return i.rules.map(o=>o.natives.reduce((n,s)=>n+s.text,"")).join("")}}var uR=oo(to());function ro(r,i=new P){if(!r)return;let o=/\sclass="([^"]*)"/gm,n;for(;n=o.exec(r);){let s=n[1].replace(/\n/g,"").split(" ").filter(l=>l);for(let l of s)l in i.countOfName||(i.findAndInsert(l),i.countOfName[l]=1)}return i.rules.map(s=>s.natives.reduce((l,d)=>l+d.text,"")).join("")}var vR=oo(to());function Do(r,i=new P){if(!!r)return r.replace(/(<head>)/,`$1<style title="master">${ro(r,i)}</style>`)}
|
|
2
|
+
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
|
package/package.json
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"module": "esm/index.js",
|
|
8
8
|
"types": "esm/index.d.ts",
|
|
9
|
-
"sideEffects":
|
|
9
|
+
"sideEffects": [
|
|
10
|
+
"./polyfills/css-escape.js"
|
|
11
|
+
],
|
|
10
12
|
"exports": {
|
|
11
13
|
".": {
|
|
12
14
|
"require": "./index.js",
|
|
@@ -34,5 +36,5 @@
|
|
|
34
36
|
"type": "git",
|
|
35
37
|
"url": "https://github.com/master-co/css.git"
|
|
36
38
|
},
|
|
37
|
-
"version": "2.0.0-alpha.
|
|
39
|
+
"version": "2.0.0-alpha.56"
|
|
38
40
|
}
|