@master/css 1.35.2 → 1.35.3-alpha.3
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/breakpoints.js +1 -1
- package/color.scss +1 -0
- package/colors.js +1 -1
- package/index.d.ts +3 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/render.d.ts +1 -4
- package/render.js +1 -1
- package/style.d.ts +0 -1
- package/styles/background-image.d.ts +1 -0
- package/breakpoints.d.ts +0 -12
- package/colors.d.ts +0 -224
- package/utils/generate-color-variables-text.d.ts +0 -1
- package/utils/hex-to-rgb.d.ts +0 -1
- package/utils/rgb-to-hex.d.ts +0 -1
package/breakpoints.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return e={642:e=>{e.exports={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}}},t={},o=function o(r){var s=t[r];if(void 0!==s)return s.exports;var x=t[r]={exports:{}};return e[r](x,x.exports,o),x.exports}(642),o;var e,t,o}));
|
package/color.scss
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$fade-2: #040405;$fade-4: #08080a;$fade-6: #0b0d0e;$fade-8: #0f1113;$fade-10: #131518;$fade-12: #16181c;$fade-14: #1a1c20;$fade-16: #1d1f25;$fade-18: #212329;$fade-20: #24262d;$fade-22: #282a32;$fade-24: #2b2e36;$fade-26: #2f313b;$fade-28: #32353f;$fade-30: #363944;$fade-32: #3a3e49;$fade-34: #3f434f;$fade-36: #434754;$fade-38: #484c5a;$fade-40: #4c515f;$fade-42: #515665;$fade-44: #555b6b;$fade-46: #5a5f70;$fade-48: #5e6476;$fade-50: #63697c;$fade-52: #6a7083;$fade-54: #71778a;$fade-56: #797f91;$fade-58: #808698;$fade-60: #878d9f;$fade-62: #8d93a4;$fade-64: #9399a9;$fade-66: #9a9fae;$fade-68: #a0a5b3;$fade-70: #a6abb8;$fade-72: #acb0bd;$fade-74: #b2b6c1;$fade-76: #b7bbc6;$fade-78: #bdc1ca;$fade-80: #c3c6cf;$fade-82: #cdcfd7;$fade-84: #d7d8df;$fade-86: #e0e2e6;$fade-88: #eaebee;$fade-90: #f4f4f6;$fade-92: #f6f6f8;$fade-94: #f8f8fa;$fade-96: #fbfbfb;$fade-98: #fdfdfd;$fade: #63697c;$gray-2: #040404;$gray-4: #080808;$gray-6: #0d0d0d;$gray-8: #111111;$gray-10: #151515;$gray-12: #181818;$gray-14: #1b1b1b;$gray-16: #1e1e1e;$gray-18: #212121;$gray-20: #242424;$gray-22: #282829;$gray-24: #2c2c2d;$gray-26: #313132;$gray-28: #353536;$gray-30: #39393b;$gray-32: #3e3e40;$gray-34: #434345;$gray-36: #474749;$gray-38: #4c4c4e;$gray-40: #515153;$gray-42: #565658;$gray-44: #5b5b5d;$gray-46: #606062;$gray-48: #656567;$gray-50: #6a6a6c;$gray-52: #717173;$gray-54: #78787a;$gray-56: #7f7f81;$gray-58: #868688;$gray-60: #8d8d8f;$gray-62: #939395;$gray-64: #99999b;$gray-66: #9e9ea0;$gray-68: #a4a4a6;$gray-70: #aaaaac;$gray-72: #b0b0b2;$gray-74: #b5b5b7;$gray-76: #bbbbbd;$gray-78: #c0c0c2;$gray-80: #c6c6c8;$gray-82: #cfcfd1;$gray-84: #d8d8da;$gray-86: #e2e2e4;$gray-88: #ebebed;$gray-90: #f4f4f6;$gray-92: #f6f6f8;$gray-94: #f8f8fa;$gray-96: #fbfbfb;$gray-98: #fdfdfd;$gray: #6a6a6c;$brown-2: #060403;$brown-4: #0b0806;$brown-6: #110b09;$brown-8: #160f0c;$brown-10: #1c130f;$brown-12: #201611;$brown-14: #241914;$brown-16: #291c16;$brown-18: #2d1f19;$brown-20: #31221b;$brown-22: #36261e;$brown-24: #3b2921;$brown-26: #412d23;$brown-28: #463026;$brown-30: #4b3429;$brown-32: #51382c;$brown-34: #573d30;$brown-36: #5e4133;$brown-38: #644637;$brown-40: #6a4a3a;$brown-42: #704e3e;$brown-44: #775341;$brown-46: #7d5745;$brown-48: #845c48;$brown-50: #8a604c;$brown-52: #916753;$brown-54: #996e5a;$brown-56: #a07560;$brown-58: #a87c67;$brown-60: #af836e;$brown-62: #b38976;$brown-64: #b7907d;$brown-66: #bc9685;$brown-68: #c09d8c;$brown-70: #c4a394;$brown-72: #c8a99b;$brown-74: #ccafa2;$brown-76: #d0b6aa;$brown-78: #d4bcb1;$brown-80: #d8c2b8;$brown-82: #deccc3;$brown-84: #e5d6cf;$brown-86: #ebdfda;$brown-88: #f2e9e6;$brown-90: #f8f3f1;$brown-92: #f9f5f4;$brown-94: #fbf8f7;$brown-96: #fcfaf9;$brown-98: #fefdfc;$brown: #8a604c;$orange-2: #070401;$orange-4: #0e0702;$orange-6: #140b03;$orange-8: #1b0e04;$orange-10: #221205;$orange-12: #271506;$orange-14: #2c1706;$orange-16: #301a07;$orange-18: #351c07;$orange-20: #3a1f08;$orange-22: #402209;$orange-24: #46250a;$orange-26: #4c290b;$orange-28: #522c0c;$orange-30: #582f0d;$orange-32: #5f330e;$orange-34: #66370f;$orange-36: #6e3b10;$orange-38: #753f11;$orange-40: #7c4312;$orange-42: #834713;$orange-44: #8b4b14;$orange-46: #924f15;$orange-48: #9a5316;$orange-50: #a15717;$orange-52: #ab5d18;$orange-54: #b6621a;$orange-56: #c0681b;$orange-58: #cb6d1d;$orange-60: #d5731e;$orange-62: #d97a29;$orange-64: #dc8234;$orange-66: #e0893f;$orange-68: #e3914a;$orange-70: #e79855;$orange-72: #e99f61;$orange-74: #eaa76d;$orange-76: #ecae7a;$orange-78: #edb686;$orange-80: #efbd92;$orange-82: #f2c7a3;$orange-84: #f4d2b4;$orange-86: #f7dcc5;$orange-88: #f9e7d6;$orange-90: #fcf1e7;$orange-92: #fdf4ec;$orange-94: #fdf7f1;$orange-96: #fef9f5;$orange-98: #fefcfa;$orange: #a15717;$gold-2: #060400;$gold-4: #0c0800;$gold-6: #120c00;$gold-8: #181000;$gold-10: #1e1400;$gold-12: #221700;$gold-14: #271a00;$gold-16: #2b1d00;$gold-18: #302000;$gold-20: #342300;$gold-22: #392600;$gold-24: #3e2a00;$gold-26: #442d00;$gold-28: #493100;$gold-30: #4e3400;$gold-32: #543800;$gold-34: #5b3c00;$gold-36: #614100;$gold-38: #684500;$gold-40: #6e4900;$gold-42: #754e00;$gold-44: #7c5200;$gold-46: #825700;$gold-48: #895b00;$gold-50: #906000;$gold-52: #9a6600;$gold-54: #a36d00;$gold-56: #ad7300;$gold-58: #b67a00;$gold-60: #c08000;$gold-62: #c88500;$gold-64: #d08a00;$gold-66: #d89000;$gold-68: #e09500;$gold-70: #e89a00;$gold-72: #eda00a;$gold-74: #f1a713;$gold-76: #f6ad1d;$gold-78: #fab426;$gold-80: #ffba30;$gold-82: #ffc552;$gold-84: #ffd174;$gold-86: #ffdc96;$gold-88: #ffe8b8;$gold-90: #fff3da;$gold-92: #fff5e1;$gold-94: #fff8e9;$gold-96: #fffaf0;$gold-98: #fffdf8;$gold: #906000;$yellow-2: #050400;$yellow-4: #0b0800;$yellow-6: #100d00;$yellow-8: #161100;$yellow-10: #1b1500;$yellow-12: #1f1800;$yellow-14: #231b00;$yellow-16: #271f00;$yellow-18: #2b2200;$yellow-20: #2f2500;$yellow-22: #342900;$yellow-24: #392d00;$yellow-26: #3d3000;$yellow-28: #423400;$yellow-30: #473800;$yellow-32: #4d3d00;$yellow-34: #524100;$yellow-36: #584600;$yellow-38: #5d4a00;$yellow-40: #634f00;$yellow-42: #695400;$yellow-44: #6f5900;$yellow-46: #745d00;$yellow-48: #7a6200;$yellow-50: #806700;$yellow-52: #896e00;$yellow-54: #927500;$yellow-56: #9a7c00;$yellow-58: #a38300;$yellow-60: #ac8a00;$yellow-62: #b39000;$yellow-64: #ba9600;$yellow-66: #c29b00;$yellow-68: #c9a100;$yellow-70: #d0a700;$yellow-72: #d6ac00;$yellow-74: #ddb100;$yellow-76: #e3b700;$yellow-78: #eabc00;$yellow-80: #f0c100;$yellow-82: #f3cb28;$yellow-84: #f6d651;$yellow-86: #f9e079;$yellow-88: #fceba2;$yellow-90: #fff5ca;$yellow-92: #fff7d5;$yellow-94: #fff9df;$yellow-96: #fffbea;$yellow-98: #fffdf4;$yellow: #806700;$grass-2: #030501;$grass-4: #060a01;$grass-6: #0a0e02;$grass-8: #0d1302;$grass-10: #101803;$grass-12: #121c03;$grass-14: #151f04;$grass-16: #172304;$grass-18: #1a2605;$grass-20: #1c2a05;$grass-22: #1f2e06;$grass-24: #223306;$grass-26: #243707;$grass-28: #273c07;$grass-30: #2a4008;$grass-32: #2e4509;$grass-34: #314a09;$grass-36: #35500a;$grass-38: #38550a;$grass-40: #3c5a0b;$grass-42: #405f0c;$grass-44: #43650c;$grass-46: #476a0d;$grass-48: #4a700d;$grass-50: #4e750e;$grass-52: #537d0f;$grass-54: #588510;$grass-56: #5e8c11;$grass-58: #639412;$grass-60: #689c13;$grass-62: #6ca214;$grass-64: #70a915;$grass-66: #75af15;$grass-68: #79b616;$grass-70: #7dbc17;$grass-72: #81c218;$grass-74: #85c818;$grass-76: #8ace19;$grass-78: #8ed419;$grass-80: #92da1a;$grass-82: #a4e03f;$grass-84: #b6e764;$grass-86: #c7ed8a;$grass-88: #d9f4af;$grass-90: #ebfad4;$grass-92: #effbdd;$grass-94: #f3fce5;$grass-96: #f7fdee;$grass-98: #fbfef6;$grass: #4e750e;$green-2: #000502;$green-4: #000a04;$green-6: #011007;$green-8: #011509;$green-10: #011a0b;$green-12: #011e0d;$green-14: #01220e;$green-16: #022510;$green-18: #022911;$green-20: #022d13;$green-22: #023215;$green-24: #023617;$green-26: #033b19;$green-28: #033f1b;$green-30: #03441d;$green-32: #03491f;$green-34: #044f21;$green-36: #045424;$green-38: #055a26;$green-40: #055f28;$green-42: #05652a;$green-44: #056a2d;$green-46: #06702f;$green-48: #067532;$green-50: #067b34;$green-52: #068337;$green-54: #078b3b;$green-56: #07933e;$green-58: #089b42;$green-60: #08a345;$green-62: #08aa48;$green-64: #09b14b;$green-66: #09b74d;$green-68: #0abe50;$green-70: #0ac553;$green-72: #0acb56;$green-74: #0ad259;$green-76: #0bd85b;$green-78: #0bdf5e;$green-80: #0be561;$green-82: #33ea7b;$green-84: #5cef96;$green-86: #84f3b0;$green-88: #adf8cb;$green-90: #d5fde5;$green-92: #ddfdea;$green-94: #e6feef;$green-96: #eefef5;$green-98: #f7fffa;$green: #067b34;$beryl-2: #000504;$beryl-4: #000a07;$beryl-6: #000f0b;$beryl-8: #00140e;$beryl-10: #001912;$beryl-12: #001d15;$beryl-14: #002017;$beryl-16: #00241a;$beryl-18: #00271c;$beryl-20: #002b1f;$beryl-22: #003022;$beryl-24: #003525;$beryl-26: #003929;$beryl-28: #003e2c;$beryl-30: #00432f;$beryl-32: #004833;$beryl-34: #004d36;$beryl-36: #00533a;$beryl-38: #00583d;$beryl-40: #005d41;$beryl-42: #006345;$beryl-44: #006849;$beryl-46: #006e4c;$beryl-48: #007350;$beryl-50: #007954;$beryl-52: #00815a;$beryl-54: #00895f;$beryl-56: #009165;$beryl-58: #00996a;$beryl-60: #00a170;$beryl-62: #00a875;$beryl-64: #00af79;$beryl-66: #00b57e;$beryl-68: #00bc82;$beryl-70: #00c387;$beryl-72: #00c98b;$beryl-74: #00cf8f;$beryl-76: #00d594;$beryl-78: #00db98;$beryl-80: #00e19c;$beryl-82: #28e7ac;$beryl-84: #50edbd;$beryl-86: #79f3cd;$beryl-88: #a1f9de;$beryl-90: #c9ffee;$beryl-92: #d4fff1;$beryl-94: #dffff5;$beryl-96: #e9fff8;$beryl-98: #f4fffc;$beryl: #007954;$teal-2: #000505;$teal-4: #000a0a;$teal-6: #000f0e;$teal-8: #001413;$teal-10: #001918;$teal-12: #001d1b;$teal-14: #00201e;$teal-16: #002422;$teal-18: #002725;$teal-20: #002b28;$teal-22: #002f2c;$teal-24: #003430;$teal-26: #003835;$teal-28: #003d39;$teal-30: #00413d;$teal-32: #004642;$teal-34: #004b47;$teal-36: #00514b;$teal-38: #005650;$teal-40: #005b55;$teal-42: #00615a;$teal-44: #00665f;$teal-46: #006c65;$teal-48: #00716a;$teal-50: #00776f;$teal-52: #007f76;$teal-54: #00877e;$teal-56: #008f85;$teal-58: #00978d;$teal-60: #009f94;$teal-62: #00a59a;$teal-64: #00aca0;$teal-66: #00b2a6;$teal-68: #00b9ac;$teal-70: #00bfb2;$teal-72: #00c5b8;$teal-74: #00cbbd;$teal-76: #00d1c3;$teal-78: #00d7c8;$teal-80: #00ddce;$teal-82: #27e4d7;$teal-84: #4febe0;$teal-86: #76f1e9;$teal-88: #9ef8f2;$teal-90: #c5fffb;$teal-92: #d1fffc;$teal-94: #dcfffd;$teal-96: #e8fffd;$teal-98: #f3fffe;$teal: #00776f;$cyan-2: #000506;$cyan-4: #000a0c;$cyan-6: #000e13;$cyan-8: #001319;$cyan-10: #00181f;$cyan-12: #001c23;$cyan-14: #001f28;$cyan-16: #00232c;$cyan-18: #002631;$cyan-20: #002a35;$cyan-22: #002e3b;$cyan-24: #003240;$cyan-26: #003746;$cyan-28: #003b4b;$cyan-30: #003f51;$cyan-32: #004458;$cyan-34: #00495f;$cyan-36: #004f65;$cyan-38: #00546c;$cyan-40: #005973;$cyan-42: #005e79;$cyan-44: #00637f;$cyan-46: #006985;$cyan-48: #006e8b;$cyan-50: #007391;$cyan-52: #007b9b;$cyan-54: #0082a4;$cyan-56: #008aae;$cyan-58: #0091b7;$cyan-60: #0099c1;$cyan-62: #009fc9;$cyan-64: #00a6d1;$cyan-66: #00acd9;$cyan-68: #00b3e1;$cyan-70: #00b9e9;$cyan-72: #0cbfed;$cyan-74: #18c5f2;$cyan-76: #25cbf6;$cyan-78: #31d1fb;$cyan-80: #3dd7ff;$cyan-82: #5ddeff;$cyan-84: #7ee4ff;$cyan-86: #9eebff;$cyan-88: #bff1ff;$cyan-90: #dff8ff;$cyan-92: #e5f9ff;$cyan-94: #ecfbff;$cyan-96: #f2fcff;$cyan-98: #f9feff;$cyan: #007391;$sky-2: #000508;$sky-4: #01090f;$sky-6: #010e17;$sky-8: #02121e;$sky-10: #021726;$sky-12: #021a2b;$sky-14: #021e31;$sky-16: #032136;$sky-18: #03253c;$sky-20: #032841;$sky-22: #032c47;$sky-24: #03304e;$sky-26: #043454;$sky-28: #04385b;$sky-30: #043c61;$sky-32: #044169;$sky-34: #054671;$sky-36: #054a79;$sky-38: #064f81;$sky-40: #065489;$sky-42: #065991;$sky-44: #075e9a;$sky-46: #0764a2;$sky-48: #0869ab;$sky-50: #086eb3;$sky-52: #0975bf;$sky-54: #097ccb;$sky-56: #0a84d6;$sky-58: #0a8be2;$sky-60: #0b92ee;$sky-62: #1899f0;$sky-64: #259ff2;$sky-66: #33a6f3;$sky-68: #40acf5;$sky-70: #4db3f7;$sky-72: #5ab8f8;$sky-74: #66bef8;$sky-76: #73c3f9;$sky-78: #7fc9f9;$sky-80: #8ccefa;$sky-82: #9fd6fb;$sky-84: #b2defc;$sky-86: #c4e6fc;$sky-88: #d7eefd;$sky-90: #eaf6fe;$sky-92: #eef8fe;$sky-94: #f2fafe;$sky-96: #f7fbff;$sky-98: #fbfdff;$sky: #086eb3;$blue-2: #01040b;$blue-4: #020816;$blue-6: #030b22;$blue-8: #040f2d;$blue-10: #051338;$blue-12: #061640;$blue-14: #071847;$blue-16: #071b4f;$blue-18: #081d56;$blue-20: #09205e;$blue-22: #0a2367;$blue-24: #0b2771;$blue-26: #0b2a7a;$blue-28: #0c2e84;$blue-30: #0d318d;$blue-32: #0e3598;$blue-34: #0f39a3;$blue-36: #113cae;$blue-38: #1240b9;$blue-40: #1344c4;$blue-42: #1449cb;$blue-44: #154fd3;$blue-46: #1554da;$blue-48: #165ae2;$blue-50: #175fe9;$blue-52: #2368ea;$blue-54: #2f71eb;$blue-56: #3b7aec;$blue-58: #4783ed;$blue-60: #538cee;$blue-62: #5c92ef;$blue-64: #6599f0;$blue-66: #6f9ff1;$blue-68: #78a6f2;$blue-70: #81acf3;$blue-72: #88b1f5;$blue-74: #8fb7f7;$blue-76: #97bcf9;$blue-78: #9ec2fb;$blue-80: #a5c7fd;$blue-82: #b3d0fd;$blue-84: #c2d9fd;$blue-86: #d0e2fe;$blue-88: #dfebfe;$blue-90: #edf4fe;$blue-92: #f1f6fe;$blue-94: #f4f8fe;$blue-96: #f8fbff;$blue-98: #fbfdff;$blue: #175fe9;$indigo-2: #04030a;$indigo-4: #090614;$indigo-6: #0d0a1d;$indigo-8: #120d27;$indigo-10: #161031;$indigo-12: #19123a;$indigo-14: #1c1443;$indigo-16: #1e154c;$indigo-18: #211755;$indigo-20: #24195e;$indigo-22: #271b68;$indigo-24: #2a1e73;$indigo-26: #2d207d;$indigo-28: #302388;$indigo-30: #332592;$indigo-32: #37289e;$indigo-34: #3b2ba9;$indigo-36: #402fb5;$indigo-38: #4432c0;$indigo-40: #4835cc;$indigo-42: #4c3dce;$indigo-44: #4f44d0;$indigo-46: #534cd1;$indigo-48: #5653d3;$indigo-50: #5a5bd5;$indigo-52: #6163d9;$indigo-54: #686bdd;$indigo-56: #6f74e0;$indigo-58: #767ce4;$indigo-60: #7d84e8;$indigo-62: #848be9;$indigo-64: #8b91ea;$indigo-66: #9398ec;$indigo-68: #9a9eed;$indigo-70: #a1a5ee;$indigo-72: #a7abef;$indigo-74: #adb1f0;$indigo-76: #b3b6f2;$indigo-78: #b9bcf3;$indigo-80: #bfc2f4;$indigo-82: #c9ccf6;$indigo-84: #d3d5f8;$indigo-86: #dddffb;$indigo-88: #e7e8fd;$indigo-90: #f1f2ff;$indigo-92: #f4f5ff;$indigo-94: #f7f7ff;$indigo-96: #f9faff;$indigo-98: #fcfcff;$indigo: #5a5bd5;$violet-2: #06020b;$violet-4: #0c0317;$violet-6: #130522;$violet-8: #19062e;$violet-10: #1f0839;$violet-12: #230941;$violet-14: #260a4a;$violet-16: #2a0c52;$violet-18: #2d0d5b;$violet-20: #310e63;$violet-22: #360f6d;$violet-24: #3b1177;$violet-26: #3f1281;$violet-28: #44148b;$violet-30: #491595;$violet-32: #4e17a1;$violet-34: #5419ad;$violet-36: #591aba;$violet-38: #5f1cc6;$violet-40: #641ed2;$violet-42: #6827d6;$violet-44: #6c2fda;$violet-46: #7138dd;$violet-48: #7540e1;$violet-50: #7949e5;$violet-52: #8052e8;$violet-54: #885beb;$violet-56: #8f65ef;$violet-58: #976ef2;$violet-60: #9e77f5;$violet-62: #a37ef6;$violet-64: #a885f7;$violet-66: #ae8df7;$violet-68: #b394f8;$violet-70: #b89bf9;$violet-72: #bda2f9;$violet-74: #c2a9fa;$violet-76: #c6affa;$violet-78: #cbb6fb;$violet-80: #d0bdfb;$violet-82: #d7c7fc;$violet-84: #dfd2fd;$violet-86: #e6dcfd;$violet-88: #eee7fe;$violet-90: #f5f1ff;$violet-92: #f7f4ff;$violet-94: #f9f7ff;$violet-96: #fbf9ff;$violet-98: #fdfcff;$violet: #7949e5;$purple-2: #07010b;$purple-4: #0e0316;$purple-6: #140420;$purple-8: #1b062b;$purple-10: #220736;$purple-12: #27083d;$purple-14: #2b0945;$purple-16: #300a4c;$purple-18: #340b54;$purple-20: #390c5b;$purple-22: #3f0d64;$purple-24: #440e6d;$purple-26: #4a1075;$purple-28: #4f117e;$purple-30: #551287;$purple-32: #5c1392;$purple-34: #63159d;$purple-36: #6916a7;$purple-38: #7018b2;$purple-40: #7719bd;$purple-42: #7e1ec5;$purple-44: #8423cd;$purple-46: #8b28d4;$purple-48: #912ddc;$purple-50: #9832e4;$purple-52: #9e3ee6;$purple-54: #a449e7;$purple-56: #a955e9;$purple-58: #af60ea;$purple-60: #b56cec;$purple-62: #b974ed;$purple-64: #bd7dee;$purple-66: #c285ef;$purple-68: #c68ef0;$purple-70: #ca96f1;$purple-72: #ce9df2;$purple-74: #d1a4f3;$purple-76: #d5acf4;$purple-78: #d8b3f5;$purple-80: #dcbaf6;$purple-82: #e2c5f8;$purple-84: #e8d0fa;$purple-86: #eddafb;$purple-88: #f3e5fd;$purple-90: #f9f0ff;$purple-92: #faf3ff;$purple-94: #fbf6ff;$purple-96: #fdf9ff;$purple-98: #fefcff;$purple: #9832e4;$fuchsia-2: #090106;$fuchsia-4: #11030d;$fuchsia-6: #1a0413;$fuchsia-8: #22061a;$fuchsia-10: #2b0720;$fuchsia-12: #310826;$fuchsia-14: #36092c;$fuchsia-16: #3c0931;$fuchsia-18: #410a37;$fuchsia-20: #470b3d;$fuchsia-22: #4e0c44;$fuchsia-24: #540d4b;$fuchsia-26: #5b0e51;$fuchsia-28: #610f58;$fuchsia-30: #68105f;$fuchsia-32: #701169;$fuchsia-34: #771273;$fuchsia-36: #7f147d;$fuchsia-38: #861587;$fuchsia-40: #8e1691;$fuchsia-42: #961799;$fuchsia-44: #9e18a2;$fuchsia-46: #a61aaa;$fuchsia-48: #ae1bb3;$fuchsia-50: #b61cbb;$fuchsia-52: #be26c3;$fuchsia-54: #c730cc;$fuchsia-56: #cf3ad4;$fuchsia-58: #d844dd;$fuchsia-60: #e04ee5;$fuchsia-62: #e259e7;$fuchsia-64: #e464e8;$fuchsia-66: #e670ea;$fuchsia-68: #e87beb;$fuchsia-70: #ea86ed;$fuchsia-72: #eb8fee;$fuchsia-74: #ed97ef;$fuchsia-76: #eea0f1;$fuchsia-78: #f0a8f2;$fuchsia-80: #f1b1f3;$fuchsia-82: #f4bdf5;$fuchsia-84: #f6caf8;$fuchsia-86: #f9d6fa;$fuchsia-88: #fbe3fd;$fuchsia-90: #feefff;$fuchsia-92: #fef2ff;$fuchsia-94: #fef5ff;$fuchsia-96: #fff9ff;$fuchsia-98: #fffcff;$fuchsia: #b61cbb;$pink-2: #090105;$pink-4: #12020a;$pink-6: #1b030f;$pink-8: #240414;$pink-10: #2d0519;$pink-12: #33061d;$pink-14: #390620;$pink-16: #400724;$pink-18: #460727;$pink-20: #4c082b;$pink-22: #54092f;$pink-24: #5b0a33;$pink-26: #630a38;$pink-28: #6a0b3c;$pink-30: #720c40;$pink-32: #7b0d45;$pink-34: #830e4a;$pink-36: #8c0e4f;$pink-38: #940f54;$pink-40: #9d1059;$pink-42: #a6115e;$pink-44: #af1263;$pink-46: #b81269;$pink-48: #c1136e;$pink-50: #ca1473;$pink-52: #d1207d;$pink-54: #d82d86;$pink-56: #e03990;$pink-58: #e74699;$pink-60: #ee52a3;$pink-62: #ef5da9;$pink-64: #f068af;$pink-66: #f172b4;$pink-68: #f27dba;$pink-70: #f388c0;$pink-72: #f490c4;$pink-74: #f599c9;$pink-76: #f5a1cd;$pink-78: #f6aad2;$pink-80: #f7b2d6;$pink-82: #f9bedd;$pink-84: #facbe4;$pink-86: #fcd7ea;$pink-88: #fde4f1;$pink-90: #fff0f8;$pink-92: #fff3f9;$pink-94: #fff6fb;$pink-96: #fff9fc;$pink-98: #fffcfe;$pink: #ca1473;$crimson-2: #0a0003;$crimson-4: #140106;$crimson-6: #1f0109;$crimson-8: #29020c;$crimson-10: #33020f;$crimson-12: #390211;$crimson-14: #3f0212;$crimson-16: #440314;$crimson-18: #4a0315;$crimson-20: #500317;$crimson-22: #580319;$crimson-24: #60041b;$crimson-26: #68041e;$crimson-28: #700520;$crimson-30: #780522;$crimson-32: #800726;$crimson-34: #89082a;$crimson-36: #910a2d;$crimson-38: #9a0b31;$crimson-40: #a20d35;$crimson-42: #ab1039;$crimson-44: #b4123e;$crimson-46: #bc1542;$crimson-48: #c51747;$crimson-50: #ce1a4b;$crimson-52: #d42756;$crimson-54: #d93461;$crimson-56: #df416c;$crimson-58: #e44e77;$crimson-60: #ea5b82;$crimson-62: #ec6589;$crimson-64: #ee6e91;$crimson-66: #f17898;$crimson-68: #f381a0;$crimson-70: #f58ba7;$crimson-72: #f793ad;$crimson-74: #f99ab3;$crimson-76: #fba2ba;$crimson-78: #fda9c0;$crimson-80: #ffb1c6;$crimson-82: #ffbecf;$crimson-84: #ffcbd8;$crimson-86: #ffd7e2;$crimson-88: #ffe4eb;$crimson-90: #fff1f4;$crimson-92: #fff4f6;$crimson-94: #fff7f8;$crimson-96: #fff9fb;$crimson-98: #fffcfd;$crimson: #ce1a4b;$red-2: #0b0000;$red-4: #150000;$red-6: #200001;$red-8: #2a0001;$red-10: #350001;$red-12: #3b0001;$red-14: #410001;$red-16: #470001;$red-18: #4d0001;$red-20: #530001;$red-22: #5a0102;$red-24: #620203;$red-26: #690304;$red-28: #710405;$red-30: #780506;$red-32: #810506;$red-34: #8a0607;$red-36: #940607;$red-38: #9d0708;$red-40: #a60708;$red-42: #af0b0c;$red-44: #b70f11;$red-46: #c01215;$red-48: #c8161a;$red-50: #d11a1e;$red-52: #d6282c;$red-54: #db363a;$red-56: #e14347;$red-58: #e65155;$red-60: #eb5f63;$red-62: #ee686b;$red-64: #f17174;$red-66: #f4797c;$red-68: #f78285;$red-70: #fa8b8d;$red-72: #fb9395;$red-74: #fb9b9d;$red-76: #fca3a5;$red-78: #fcabad;$red-80: #fdb3b5;$red-82: #fdbfc1;$red-84: #fecccd;$red-86: #fed8d9;$red-88: #ffe5e5;$red-90: #fff1f1;$red-92: #fff4f4;$red-94: #fff7f7;$red-96: #fff9f9;$red-98: #fffcfc;$red: #d11a1e;$black: #000000;$white: #ffffff;
|
package/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(f,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@master/styles"]=e():f["@master/styles"]=e()}(this,(function(){return
|
|
1
|
+
!function(f,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["@master/styles"]=e():f["@master/styles"]=e()}(this,(function(){return f={580:f=>{f.exports={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},e={},a=function a(c){var b=e[c];if(void 0!==b)return b.exports;var d=e[c]={exports:{}};return f[c](d,d.exports,a),d.exports}(580),a;var f,e,a}));
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{"use strict";var e={955:(e,t,s)=>{s.d(t,{breakpoints:()=>i});const i={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},563:(e,t,s)=>{s.d(t,{colors:()=>i});const i={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{Style:()=>It,StyleSheet:()=>Tt,Styles:()=>Pn,breakpoints:()=>t.breakpoints,colors:()=>e.colors,init:()=>Fn,sheets:()=>Rt});var e=s(563),t=s(955);function r(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}const n=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function a(e,t,s,i){let r=i?i[e]:"",a="",c="";if(r)return{value:r,unit:a,unitToken:c};if("number"==typeof e)r=e,a=t||"";else{if(s){const[t,i]=e.split("/");for(const e in s)if(t.startsWith(e)){const s=t[e.length];if(!s||"-"===s)return r="rgb(var(--"+t+")"+(i?"/"+i:"")+")",{value:r,unit:a,unitToken:c}}}if(t){const s=e.match(n);if(s){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:a,unitToken:c}}return r=+s[1],a=c=s[3]||"",a||("rem"!==t&&"em"!==t||(r/=16),a=t||""),{value:r,unit:a,unitToken:c}}}r=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:r,unit:a,unitToken:c}}const c=[":disabled",":active",":focus",":hover"];function l(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}function o(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}const d={"(":")","'":"'","{":"}"},h=(...e)=>e.join("-"),u="border",f="radius",m="margin",p="padding",x="font",b="currentColor",g=",",y="flow",k="template",v="column",w="columns",O="gap",j="row",S="rows",N="shadow",R="user",I="content",W="image",$="stroke",z="filter",A="blend",C="background",E="repeat",M="color",T="scroll",V="animation",q="direction",L="mode",_="behavior",P=h("overscroll",_),Z="y",F="x",Q="height",X="width",Y="max",B="min",U="block",D="inline",G="flex",H="grid",J="transition",K="origin",ee="delay",te="rotate",se="deg",ie="timing-function",re="duration",ne="display",ae="hidden",ce="box",le="fill",oe="clip",de="none",he="text",ue="align",fe="transform",me="vertical",pe="word",xe="space",be="decoration",ge="break",ye="size",ke="auto",ve="line",we="object",Oe="position",je="rem",Se="style",Ne="smoothing",Re="antialiased",Ie="spacing",We=h("letter",Ie),$e=h(Y,X),ze=h(B,X),Ae=h(Y,Q),Ce=h(B,Q),Ee="table",Me="group",Te="list",Ve="item",qe="span",Le="justify",_e="items",Pe="self",Ze="place",Fe="type",Qe="offset",Xe="outline",Ye="snap",Be="shape",Ue="view",De="area",Ge="start",He="blur",Je="drop",Ke={full:"100%",fit:h("fit",I),max:h(Y,I),min:h(B,I)};for(const e in t.breakpoints)Ke[e]=t.breakpoints[e]/16+"rem";const et="matches",tt="semantics",st="symbol",it="max-width",rt="min-width",nt="motion",at="reduce",ct="reduced-motion",lt="::scrollbar",ot="::slider-thumb",dt="::slider-runnable-track",ht="::search",ut="::meter",ft="::resizer",mt="::progress",pt="px",xt=["!","*",">","+","~",":","[","@","_"],bt=[...xt,void 0,"."],gt=new RegExp(lt,"g"),yt=new RegExp(ht,"g"),kt=new RegExp(ut,"g"),vt=new RegExp(dt,"g"),wt=new RegExp(ot,"g"),Ot=new RegExp(ft,"g"),jt=new RegExp(mt,"g"),St=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,Nt=e=>e.split(St).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Rt=[];class It{constructor(e,t){this.name=e,this.matching=t,this.at={},this.prioritySelectorIndex=-1;const s=this.constructor;if(void 0===t&&!(t=s.match(e)))return;let i,n,l,{id:o,semantics:h,unit:u,colors:f,key:m,values:p,colorful:x,breakpoints:b,mediaQueries:g,colorSchemes:y}=s,k=e;if(x||(f=null),t.origin===tt)i=t.value,l=k.slice(t.value.length),this.value=h[t.value];else{if(t.origin===et)if(o===Me){let e=0;for(;e<k.length&&("{"!==k[e]||"\\"===k[e-1]);e++);n=k.slice(0,e),i=k.slice(e)}else{const e=k.indexOf(":");this.prefix=k.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,i=k):i=k.slice(e+1)}else t.origin===st&&(this.symbol=k[0],i=k.slice(1));let e,s="",r=[],c=0;!function t(n,l,o=""){let h,m=!1;for(n&&(")"===n&&"$"===s.slice(-1)?h=s.length-1:"'"===n&&(m=!0),s+=i[c++]);c<i.length;c++){const x=i[c];if(x===n){if(s+=x,m){let e=0;for(let t=s.length-2;"\\"===s[t];t--)e++;if(e%2)continue}void 0!==h&&(s=s.slice(0,h)+s.slice(h).replace(/\$\((.*)\)/,"var(--$1)")),l||(m?r.push(s):(e=a(s,u,f,p),r.push(e.value+e.unit)),o="",s="");break}if(!m&&x in d)t(d[x],void 0===l?0:l+1,o);else if("|"!==x||"}"===n||m&&"path"!==o){if(!n){if("."===x){if(isNaN(+i[c+1]))break;"-"===i[c-1]&&(s+="0")}else{if(","===x){e=a(s,u,f,p),r.push(e.value+e.unit,","),s="";continue}if("#"===x&&(s||r.length&&"|"!==i[c-1])||xt.includes(x))break}o+=x}s+=x}else n?s+=" ":(e=a(s,u,f,p),r.push(e.value+e.unit),s="")}}(),s&&(e=a(s,u,f,p),r.push(e.value+e.unit)),l=i.slice(c),1===r.length?e?(this.value=e.value,this.unit=e.unit):(this.value=r[0],this.unit=""):this.value=r.reduce(((e,t,s)=>e+t+(","===t||","===r[s+1]||s===r.length-1?"":" ")),"")}l.includes(lt)&&(l=l.replace(gt,"::-webkit-scrollbar")),l.includes(ht)&&(l=l.replace(yt,"::-webkit-search")),l.includes(ot)&&(l=l.replace(wt,"::-webkit-slider-thumb")),l.includes(dt)&&(l=l.replace(vt,"::-webkit-slider-runnable-track")),l.includes(ut)&&(l=l.replace(kt,"::-webkit-meter")),l.includes(ft)&&(l=l.replace(Ot,"::-webkit-resizer")),l.includes(mt)&&(l=l.replace(jt,"::-webkit-progress")),l.includes(":first")&&(l=l.replace(/:first(?![a-z-])/g,":first-child")),l.includes(":last")&&(l=l.replace(/:last(?![a-z-])/g,":last-child")),l.includes(":even")&&(l=l.replace(/:even(?![a-z-])/g,":nth-child(2n)")),l.includes(":odd")&&(l=l.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),l.includes(":nth(")&&(l=l.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===l[0]&&(this.important=!0,l=l.slice(1)),this.prefixSelector=n?Nt(n):"";const v=l.split("@");let w=v[0];if(w){w=Nt(w),this.hasWhere=w.includes(":where(");for(let e=0;e<c.length;e++)if(w.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=w;for(let e=1;e<v.length;e++){const t=v[e];if(t)if(y.includes(t))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===nt||e===ct)i.push("(prefers-reduced-motion:"+(e===nt?"no-preference":at)+")");else if(e in g)i.push(g[e]);else{const t={token:e};let s="",r="",n=0;switch(e.startsWith("<=")?(r="<=",s=it):e.startsWith(">=")||b[e]?(r=">=",s=rt):e.startsWith(">")?(r=">",s=rt,n=.02):e.startsWith("<")&&(r="<",s=it,n=-.02),s){case it:case rt:const c=r?e.replace(r,""):e,l=b[c];l?Object.assign(t,a(l,pt)):Object.assign(t,a(c,pt)),t.unit===pt&&(t.value+=n),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let O="";this.colorScheme&&(O+="."+this.colorScheme+" "),this.prefixSelector&&(O+=this.prefixSelector),this.direction&&(O+="[dir="+this.direction+"] "),this.text=O+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in It.relations?It.relations[this.name].map((e=>", "+O+"."+e+this.suffixSelector)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((e=>r(e,Object.assign(Object.assign({},this),{unit:"",value:this.value[e]})))).join(";"):this.props?Object.keys(this.props).map((e=>r(e,this.props[e]))).join(";"):r(m,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.matches&&this.matches.test(e))return{origin:et};if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&&bt.includes(e[t.length]))return{origin:tt,value:t};return this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:et}:this.symbol&&e.startsWith(this.symbol)?{origin:st}:this.key&&e.startsWith(this.key+":")?{origin:et}:void 0}static extend(e,...t){if(!t.length)return this;const s=Object.assign({},...t),i=(e,t,i)=>{var r;for(const n in s){const a=s[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==t?void 0:t(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>{const s=this.colorNames.indexOf(e);-1!==s?null==$t||$t.deleteRule(s):this.colorNames.push(e);const i={};"string"==typeof t&&(t={"":t});const r=""in t;r&&(i[""]=l(t[""]).join(" "));let n=!1;for(const e in t)if(e&&+e>=100){n=!0;break}if(n)for(const e in t)i[e]=l(t[e]).join(" ");else if(!r||Object.keys(t).length>1){let e,s,r=0,n="0"in t?l(t[0]):[0,0,0];const a=[],c=()=>{const c=e-r,l=s.map(((e,t)=>(e-n[t])/c));for(const e of a){const s=e-r,a=n.map(((e,t)=>Math.round(e+l[t]*s)));i[e]=a.join(" "),t[e]=o.call(this,...a)}};for(let o=1;o<100;o++){const d=o%2==0;o in t?(a.length?(e=o,s=l(t[o]),c(),a.length=0,n=s):n=l(t[o]),r=o,d&&(i[o]=n.join(" "))):d&&a.push(o)}a.length&&(e=100,s="100"in t?l(t[100]):[255,255,255],c())}if(!r){const e=t[n?"500":"50"];t[""]=e,i[""]=l(e).join(" ")}return null==$t||$t.insertRule(function(e,t){let s=":root{";for(const i in t)s+="--"+e+(i?"-"+i:"")+":"+t[i]+";";return s+="}",s}(e,i),-1===s?Object.keys(this.colors).length:s),this.rgbColors[e]=i,t}),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1),null==$t||$t.deleteRule(t),delete this.rgbColors[e]}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}return this}}let Wt,$t;if(It.unit="rem",It.rgbColors={},It.mediaQueries={},It.sheets=Rt,It.colors={},It.classes={},It.colorNames=[],It.relations={},It.colorSchemes=["dark","light"],"undefined"!=typeof window&&(window.MasterStyle=It),"undefined"!=typeof document){const e=document.head.querySelector('[id="master-colors"]');if(e){const t=document.head.querySelector('[name="master:colors"]');if(t&&t.content){Wt=e;const s={},i=t.content.split(",");for(let e=0;e<Wt.sheet.cssRules.length;e++){const t=Wt.sheet.cssRules[e].cssText.slice(8,-1).split(";").slice(0,-1);if(t.length){const r=i[e],n=r.length+2,a={};for(const e of t){let[t,s]=e.split(":");t=t.trim().slice(n),t&&(t=t.slice(1)),a[t]=o.call(void 0,...s.split(" ").map((e=>+e)))}s[r]=a}}It.extend("colors",s),$t=Wt.sheet}}Wt||(Wt=document.createElement("style"),Wt.id="master-colors",document.head.prepend(Wt),$t=Wt.sheet)}const zt=[",",".","#","[","!","*",">","+","~",":","@"],At="undefined"!=typeof document;let Ct;At&&(Ct=document.createElement("style"),Ct.id="master-styles");const Et="undefined"!=typeof window,Mt=Et?window.MutationObserver:Object;class Tt extends Mt{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t)=>{t?e.classList.forEach(c):e.classList.forEach(a);const s=e.children;for(let e=0;e<s.length;e++){const r=s[e];r.classList&&(i.push(r),n(r,t))}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1},l=(e,t)=>{for(let s=0;s<e.length;s++){const a=e[s];!a.classList||i.includes(a)||r.includes(a)||(a.isConnected!==t?(i.push(a),n(a,t)):r.push(a))}};for(let t=0;t<e.length;t++){const i=e[t],{addedNodes:r,removedNodes:n,type:a,target:c,oldValue:o}=i;if("attributes"===a){if(c.className===o||s.find((e=>e.target===c)))continue;s.push(i)}else l(r,!1),l(n,!0)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){const s=i.includes(t),r=t.classList,n=e?e.split(" "):[];if(s){if(t.isConnected)continue;for(const e of n)r.contains(e)||c(e)}else if(t.isConnected){r.forEach((e=>{n.includes(e)||a(e)}));for(const e of n)r.contains(e)||c(e)}else for(const e of n)c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},At){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");for(let i=0;i<e.length;i++){const r=e[i];if("."===r[0]){const e=r.slice(1);let i="";for(let t=0;t<e.length;t++){const s=e[t],r=e[t+1];if("\\"===s){if(t++,"\\"!==r){i+=r;continue}}else if(zt.includes(s))break;i+=s}if(!(i in this.styleOfName)&&!(i in It.classes)){const e=Tt.findAndNew(i);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t.cssRules[i])};e(t.sheet,void 0)}else this.element=Ct.cloneNode(),null==e||e.prepend(this.element)}Rt.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in It.classes?It.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in It.classes?It.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Rt)e.refresh()}refresh(){if(!this.element)return;const e=Ct.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Rt.splice(Rt.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features["max-width"],o=r.features["min-width"];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features["max-width"],d=n.features["min-width"];if(!o||!d){s++;break}const h=o.value-d.value;if(h===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features["max-width"],n=t.features["min-width"];if(!r||!n||r.value-n.value!==h)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]))}break}if(h>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features["max-width"],h=r.features["min-width"];if(d){if(h)break;continue}const u=null==h?void 0:h.value;if(u===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features["min-width"];if(!i.features["max-width"]){if(t.hasWhere!==c||r.value!==u||t.order>=n)break;s=e+1}}break}if(u>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features["max-width"];if(o.features["min-width"])continue;const h=null==d?void 0:d.value;if(!h||h>t.value){s++;break}if(h===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features["min-width"],n=i.features["max-width"];if(!(r||n&&n.value===h&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features["min-width"]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features["max-width"]||e.media.features["min-width"]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features["max-width"]||i.features["min-width"])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in It.relations&&It.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in It.classes)for(const t of It.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=Tt.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}Tt.Styles=[],Et&&(window.MasterStyleSheet=Tt);class Vt extends It{}Vt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,Vt.key=h(x,"weight"),Vt.unit="",Vt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const qt="var(--font-";class Lt extends It{}Lt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Lt.key=h(x,"family"),Lt.values={mono:qt+"mono)",sans:qt+"sans)",serif:qt+"serif)"};class _t extends It{}_t.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,_t.key=h(x,ye);const Pt="top",Zt="bottom",Ft="left",Qt="right",Xt="l",Yt="r",Bt="t",Ut="b",Dt="x",Gt="y";class Ht extends It{get props(){const e="m"===this.prefix[0]?m:p,t=h(e,Ft),s=h(e,Qt),i=h(e,Pt),r=h(e,Zt);switch(this.prefix[1]){case Dt:return{[t]:this,[s]:this};case Gt:return{[i]:this,[r]:this};case Xt:return{[t]:this};case Yt:return{[s]:this};case Bt:return{[i]:this};case Ut:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Ht.id="spacing",Ht.matches=/^[pm][xytblr]?:./;class Jt extends It{}Jt.matches=/^w:./,Jt.key=X,Jt.values=Ke;class Kt extends It{}Kt.matches=/^h:./,Kt.key=Q,Kt.values=Ke;class es extends It{}es.matches=/^min-w:./,es.key=ze,es.values=Ke;class ts extends It{}ts.matches=/^min-h:./,ts.key=Ce,ts.values=Ke;class ss extends It{}ss.matches=/^ls:./,ss.key=We,ss.unit="em";const is=h("subpixel",Re),rs=h("-webkit-font",Ne),ns=h("-moz-osxfont",Ne);class as extends It{get props(){const e={};switch(this.value){case is:e[rs]=e[ns]=Object.assign(Object.assign({},this),{value:ke});break;case Re:e[rs]=Object.assign(Object.assign({},this),{value:Re}),e[ns]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}as.id="fontSmoothing",as.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,as.unit="";class cs extends It{}cs.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,cs.key=h(x,Se),cs.unit="deg",cs.semantics={italic:"italic",oblique:"oblique"};class ls extends It{}ls.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,ls.key=h(x,"variant","numeric");class os extends It{}os.matches=/^lh:./,os.key=h(ve,Q),os.unit="";class ds extends It{}ds.matches=/^(object|obj):(contain|cover|fill|scale-down)/,ds.key=h(we,"fit");class hs extends It{}hs.matches=/^(object|obj):(top|bottom|right|left|center)/,hs.key=h(we,Oe);class us extends It{}us.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,us.key=h(he,ue);class fs extends It{constructor(){super(...arguments),this.order=-1}}fs.matches=/^t(ext)?:(underline|line-through|overline)/,fs.key=h(he,be),fs.colorful=!0;class ms extends It{}ms.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,ms.key=h(he,fe),ms.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class ps extends It{}ps.matches=/^(?:v|vertical):./,ps.key=h(me,ue);class xs extends It{get props(){return{overflow:Object.assign(Object.assign({},this),{value:ae}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:h(ge,pe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:me}),"-webkit-line-clamp":this}}}xs.id="lines",xs.matches=/^lines:./,xs.unit="";class bs extends It{}bs.matches=/^transform:((top|bottom|right|left|center)|\d)/,bs.key=h(fe,K),bs.unit="px";class gs extends It{}gs.matches=/^transform:(flat|preserve-3d)(?!\|)/,gs.key=h(fe,Se);class ys extends It{}ys.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,ys.key=h(fe,ce),ys.values={content:h(I,ce),border:h(u,ce),fill:h(le,ce),stroke:h($,ce),view:h(Ue,ce)};class ks extends It{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=je;break;case"skew":r=se;break;case te:"3d"===s&&(n=!0),r=se;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===je?16:1)+r})).join(","))}))}}ks.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,ks.key=fe,ks.unit="";class vs extends It{constructor(){super(...arguments),this.order=-1}}vs.symbol="~",vs.key=J;class ws extends It{}ws.matches=/^~delay:./,ws.key=h(J,ee),ws.unit="ms";class Os extends It{}Os.matches=/^~duration:./,Os.key=h(J,re),Os.unit="ms";class js extends It{}js.matches=/^~property:./,js.key=h(J,"property");class Ss extends It{}Ss.matches=/^~easing:./,Ss.key=h(J,ie);class Ns extends It{}Ns.matches=/^max-h:./,Ns.key=Ae,Ns.values=Ke;class Rs extends It{}Rs.matches=/^max-w:./,Rs.key=$e,Rs.values=Ke;class Is extends It{}Is.matches=/^d:./,Is.key=ne,Is.semantics={hidden:de,hide:de,block:U,table:Ee,flex:G,grid:H,contents:"contents",inline:D,"inline-block":h(D,U),"inline-flex":h(D,G),"inline-grid":h(D,H),"inline-table":h(D,Ee),"table-cell":h(Ee,"cell"),"table-caption":h(Ee,"caption"),"flow-root":h(y,"root"),"list-item":h(Te,Ve),"table-row":h(Ee,j),"table-column":h(Ee,v),"table-row-group":h(Ee,j,Me),"table-column-group":h(Ee,v,Me),"table-header-group":h(Ee,"header",Me),"table-footer-group":h(Ee,"footer",Me)};class Ws extends It{}Ws.matches=/^box:(content|border)(?!\|)/,Ws.key=h(ce,"sizing"),Ws.values={content:h(I,ce),border:h(u,ce)};class $s extends It{}$s.key="opacity",$s.unit="";class zs extends It{}zs.key="visibility",zs.semantics={visible:"visible",invisible:ae};class As extends It{}As.key="clear";class Cs extends It{}Cs.key="float";class Es extends It{}Es.key="isolation",Es.semantics={isolate:"isolate"};class Ms extends It{get props(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case F:return{"overflow-x":this};case Z:return{"overflow-y":this}}return{overflow:this}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case F:case Z:return 0}return-1}}Ms.id="overflow",Ms.matches=/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/,Ms.semantics={overflow:"visible"};class Ts extends It{get props(){switch(this.prefix.slice(-2,-1)){case F:return{[h(P,F)]:this};case Z:return{[h(P,Z)]:this};default:return{[P]:this}}}}Ts.id="overscrollBehavior",Ts.matches=/^overscroll-behavior(?:-[xy])?:/;class Vs extends It{}Vs.matches=/^z:./,Vs.key="z-index",Vs.unit="";class qs extends It{}qs.matches=/^\@delay:./,qs.key=h(V,ee),qs.unit="ms";class Ls extends It{}Ls.matches=/^\@direction:./,Ls.key=h(V,q);class _s extends It{}_s.matches=/^\@fill-mode:./,_s.key=h(V,le,L);class Ps extends It{}Ps.matches=/^\@iteration-count:./,Ps.key=h(V,"iteration","count"),Ps.unit="";class Zs extends It{}Zs.matches=/^\@name:./,Zs.key=h(V,"name");class Fs extends It{}Fs.matches=/^\@play-state:./,Fs.key=h(V,"play-state");class Qs extends It{}Qs.matches=/^\@easing:./,Qs.key=h(V,ie);class Xs extends It{constructor(){super(...arguments),this.order=-1}}Xs.symbol="@",Xs.key=V,Xs.unit="";function Ys(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Dt:return{[i]:t,[r]:t};case Gt:return{[n]:t,[a]:t};case Xt:return{[i]:t};case Yt:return{[r]:t};case Bt:return{[n]:t};case Ut:return{[a]:t};default:return{[u+s]:t}}}class Bs extends It{get props(){return Ys(this.prefix,this,M)}get order(){return this.prefix===h(u,M)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Bs.id="borderColor",Bs.matches=/^border(-(left|right|top|bottom))?-color:./,Bs.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Bs.colorful=!0,Bs.values={current:b};const Us=h(u,Pt,Ft,f),Ds=h(u,Pt,Qt,f),Gs=h(u,Zt,Ft,f),Hs=h(u,Zt,Qt,f),Js=h(u,f),Ks=[Us,Ds,Gs,Hs];class ei extends It{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Bt:return{[Us]:this,[Ds]:this};case"tl":case"lt":return{[Us]:this};case"rt":case"tr":return{[Ds]:this};case Ut:return{[Gs]:this,[Hs]:this};case"bl":case"lb":return{[Gs]:this};case"br":case"rb":return{[Hs]:this};case Xt:return{[Us]:this,[Gs]:this};case Yt:return{[Ds]:this,[Hs]:this};default:return{[Js]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Ks.includes(t)?t:Js]:this}}get order(){return this.prefix===h(u,f)+":"||"r:"===this.prefix?-1:0}}ei.id="borderRadius",ei.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,ei.semantics={rounded:"1e9em",round:"50%"};class ti extends It{get props(){return Ys(this.prefix,this,Se)}get order(){return this.prefix===h(u,Se)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ti.id="borderStyle",ti.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class si extends It{get props(){return Ys(this.prefix,this,X)}get order(){return this.prefix===h(u,X)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}si.id="borderWidth",si.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class ii extends It{get props(){return Ys(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}ii.id="border",ii.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,ii.colorful=!0;class ri extends It{}ri.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ri.key=h(C,"attachment");class ni extends It{}ni.key=h(C,A,L);class ai extends It{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ai.matches=/^(bg|background):text(?!\|)/,ai.key=h(C,oe),ai.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce)};class ci extends It{}ci.matches=/^(bg|background):transparent(?!\|)/,ci.colorStarts="(bg|background):",ci.key=h(C,M),ci.unit="",ci.colorful=!0,ci.values={current:b};class li extends It{}li.matches=/^(bg|background):(content|border|padding)(?!\|)/,li.key=h(C,K),li.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce)};class oi extends It{}oi.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,oi.key=h(C,Oe),oi.unit="px";class di extends It{}di.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,di.key=h(C,E);class hi extends It{}hi.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,hi.key=h(C,ye);class ui extends It{}ui.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,ui.key=h(C,W);class fi extends It{constructor(){super(...arguments),this.order=-1}}fi.matches=/^bg:./,fi.key=C,fi.colorful=!0;class mi extends It{}mi.matches=/^blend:./,mi.key=h("mix",A,L);class pi extends It{}pi.key=Oe,pi.values={abs:"absolute",rel:"relative"},pi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class xi extends It{get props(){const e=this.prefix.slice(0,-1);switch(e){case Pt:case Ft:case Qt:case Zt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function bi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===je?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}xi.matches=/^(top|left|right|bottom|center|middle):./;class gi extends It{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return bi(this.value,(e=>{switch(e){case He:case h(Je,N):return je;case h("hue",te):return se}return""}))}}gi.matches=/^bd:./,gi.key=h("backdrop",z);class yi extends It{}yi.key=le,yi.colorStarts="fill:",yi.colorful=!0,yi.values={current:b};class ki extends It{}ki.key=$,ki.colorful=!0;class vi extends It{}vi.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,vi.key=h($,X);class wi extends It{get parseValue(){return bi(this.value,(e=>{switch(e){case He:case h(Je,N):return je;case h("hue",te):return se}return""}))}}wi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,wi.key=z;class Oi extends It{}Oi.key="cursor";class ji extends It{}ji.key=h("pointer","events"),ji.semantics={untouchable:"none"};class Si extends It{}Si.key="resize";class Ni extends It{}Ni.key=h("touch","action");class Ri extends It{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Ri.key=h(R,"drag");class Ii extends It{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ii.key=h(R,"select");class Wi extends It{}Wi.matches=/^s(?:hadow)?:./,Wi.key=h(ce,N),Wi.colorful=!0;class $i extends It{}$i.key=h(he,N),$i.colorful=!0;class zi extends It{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===je?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}zi.id="textSize",zi.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class Ai extends It{}Ai.key=h(pe,ge),Ai.unit="";class Ci extends It{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,k,w)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ci.matches=/^grid-cols:./,Ci.key=h(H,w),Ci.unit="";class Ei extends It{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,ke,y)]:Object.assign(Object.assign({},this),{value:v}),[h(H,k,S)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+B+"max(0"+",1fr))"})}}}Ei.key=h(H,S),Ei.unit="";class Mi extends It{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case F:return{[h(v,O)]:this};case Z:return{[h(j,O)]:this};default:return{[O]:this}}}}Mi.id="gap",Mi.matches=/^gap(-x|-y)?:./;class Ti extends It{}Ti.key=h(pe,Ie);class Vi extends It{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Vi.id="variable",Vi.matches=/^\$.+:./,Vi.unit="";class qi extends It{}qi.matches=/^aspect:./,qi.key=h("aspect","ratio"),qi.unit="",qi.semantics={square:"1/1",video:"16/9"};class Li extends It{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Li.matches=/^box:(slice|clone)(?!\|)/,Li.key=h(ce,be,ge);class _i extends It{}_i.key=h(ge,"after");class Pi extends It{}Pi.key=h(ge,"before");class Zi extends It{}Zi.key=h(ge,"inside");class Fi extends It{}Fi.key=h(G,"shrink"),Fi.unit="";class Qi extends It{}Qi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Qi.key=h(G,q),Qi.values={col:v,"col-reverse":h(v,"reverse")};class Xi extends It{}Xi.key=h(G,"grow"),Xi.unit="";class Yi extends It{}Yi.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Yi.key=h(G,"wrap");class Bi extends It{}Bi.key=h(G,"basis"),Bi.values=Ke;class Ui extends It{constructor(){super(...arguments),this.order=-1}}Ui.key=G,Ui.unit="";const Di="999999";class Gi extends It{}Gi.matches=/^o:./,Gi.key="order",Gi.values={first:"-999999",last:Di},Gi.unit="";class Hi extends It{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Hi.matches=/^grid-col(?:umn)?(?:-span)?:./,Hi.key=h(H,v),Hi.unit="";class Ji extends It{}Ji.matches=/^col-span:./,Ji.key=h(v,qe);class Ki extends It{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Ki.matches=/^grid-row-span:./,Ki.key=h(H,j),Ki.unit="";class er extends It{}er.matches=/^(font-color:.|font:current)/,er.colorStarts="(?:f(ont)?|color):",er.colorful=!0,er.key=M,er.unit="",er.values={current:b};class tr extends It{}tr.matches=/^ac:./,tr.key=h(ue,I);class sr extends It{}sr.matches=/^ai:./,sr.key=h(ue,_e);class ir extends It{}ir.matches=/^as:./,ir.key=h(ue,Pe);class rr extends It{}rr.matches=/^grid-auto-cols:./,rr.key=h(H,ke,w),rr.values={min:h(B,I),max:h(Y,I)};class nr extends It{}nr.matches=/^grid-flow:./,nr.key=h(H,ke,y);class ar extends It{}ar.key=h(H,ke,S),ar.values={min:h(B,I),max:h(Y,I)};class cr extends It{}cr.matches=/^jc:./,cr.key=h(Le,I);class lr extends It{}lr.matches=/^ji:./,lr.key=h(Le,_e);class or extends It{}or.matches=/^js:./,or.key=h(Le,Pe);class dr extends It{constructor(){super(...arguments),this.order=-1}}dr.key=h(Ze,I);class hr extends It{constructor(){super(...arguments),this.order=-1}}hr.key=h(Ze,_e);class ur extends It{constructor(){super(...arguments),this.order=-1}}ur.key=h(Ze,Pe);class fr extends It{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}fr.id="padding",fr.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class mr extends It{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}mr.id="margin",mr.matches=/^margin(-(left|right|top|bottom))?:./;class pr extends It{}pr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,pr.key=h(he,"overflow");class xr extends It{}xr.matches=/^list-style:(inside|outside)(?!\|)/,xr.key=h(Te,Se,Oe);class br extends It{}br.matches=/^list-style:(disc|decimal)(?!\|)/,br.key=h(Te,Se,Fe);class gr extends It{constructor(){super(...arguments),this.order=-1}}gr.key=h(Te,Se);class yr extends It{}yr.key=h(he,be,M),yr.colorStarts="text-decoration:",yr.colorful=!0,yr.values={current:b};class kr extends It{}kr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,kr.key=h(he,be,Se);class vr extends It{}vr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,vr.key=h(he,be,"thickness"),vr.unit="em";class wr extends It{}wr.key=h(he,"indent");class Or extends It{}Or.key=I;class jr extends It{}jr.key=h(Xe,M),jr.colorStarts="outline:",jr.colorful=!0,jr.values={current:b};class Sr extends It{}Sr.key=h(Xe,Qe);class Nr extends It{}Nr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Nr.key=h(Xe,Se);class Rr extends It{}Rr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Rr.key=h(Xe,X);class Ir extends It{constructor(){super(...arguments),this.order=-1}}Ir.key=Xe,Ir.colorful=!0;class Wr extends It{}Wr.matches=/^b(order)?:(collapse|separate)(?!\|)/,Wr.key=h(u,"collapse");class $r extends It{}$r.key=h(u,Ie);class zr extends It{}zr.key=h(Ee,"layout");class Ar extends It{}Ar.key=h("accent",M),Ar.colorStarts="accent:",Ar.colorful=!0;class Cr extends It{}Cr.key="appearance";class Er extends It{}Er.key=h("caret",M),Er.matches=/^caret:transparent(?!\|)/,Er.colorStarts="caret:",Er.colorful=!0,Er.values={current:b};class Mr extends It{}Mr.key=h(T,_);class Tr extends It{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=h(T,m)+"-",t=e+Ft,s=e+Qt,i=e+Pt,r=e+Zt;switch(this.prefix.slice(-2,-1)){case Dt:return{[t]:this,[s]:this};case Gt:return{[i]:this,[r]:this};case Xt:return{[t]:this};case Yt:return{[s]:this};case Bt:return{[i]:this};case Ut:return{[r]:this}}}}get order(){return this.prefix===h(T,m)+":"||this.prefix===h(T,"m:")?-1:0}}Tr.id="scrollMargin",Tr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Vr extends It{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=h(T,p)+"-",t=e+Ft,s=e+Qt,i=e+Pt,r=e+Zt;switch(this.prefix.slice(-2,-1)){case Dt:return{[t]:this,[s]:this};case Gt:return{[i]:this,[r]:this};case Xt:return{[t]:this};case Yt:return{[s]:this};case Bt:return{[i]:this};case Ut:return{[r]:this}}}}get order(){return this.prefix===h(T,p)+":"||this.prefix===h(T,"p:")?-1:0}}Vr.id="scrollPadding",Vr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class qr extends It{}qr.matches=/^scroll-snap:(start|end|center)/,qr.key=h(T,Ye,ue);class Lr extends It{}Lr.matches=/^scroll-snap:(normal|always)(?!\|)/,Lr.key=h(T,Ye,"stop");class _r extends It{}_r.matches=/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/,_r.key=h(T,Ye,Fe);class Pr extends It{}Pr.key="will-change";class Zr extends It{}Zr.key=h(he,"underline",Qe);class Fr extends It{get props(){return{[this.prefix.slice(0,-1)]:this}}}Fr.matches=/^(?:top|bottom|left|right):./,Fr.key="inset";class Qr extends It{constructor(){super(...arguments),this.order=-1}}Qr.matches=/^(columns|cols):./,Qr.key=w,Qr.unit="";class Xr extends It{}Xr.key=h("white",xe),Xr.unit="";class Yr extends It{}Yr.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Yr.key=h(he,"orientation");class Br extends It{}Br.key=h("writing",L);class Ur extends It{}Ur.key="contain";class Dr extends It{}Dr.matches=/^\@duration:./,Dr.key=h(V,re),Dr.unit="ms";class Gr extends It{}Gr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Gr.key=h(he,"rendering");class Hr extends It{}Hr.key=q;class Jr extends It{}Jr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Jr.key=h(he,be,ve);class Kr extends It{}Kr.matches=/^grid-col-start:./,Kr.key=h(H,v,Ge),Kr.unit="";class en extends It{}en.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,en.key=h(Te,Se,W);class tn extends It{}tn.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,tn.key=h(Be,"outside"),tn.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce)};class sn extends It{}sn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,sn.key=h(Be,m);class rn extends It{}rn.key=h(Be,W,"threshold"),rn.unit="";class nn extends It{}nn.matches=/^clip:./,nn.key=h(oe,"path"),nn.values={content:h(I,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce),fill:h(le,ce),stroke:h($,ce),view:h(Ue,ce)};class an extends It{constructor(){super(...arguments),this.order=-1}}an.key=H;class cn extends It{constructor(){super(...arguments),this.order=-1}}cn.matches=/^f:./,cn.key=x,cn.unit="",cn.colorful=!0;class ln extends It{}ln.key="quotes";class on extends It{constructor(){super(...arguments),this.order=-1}}on.key=h(H,k);class dn extends It{}dn.key=h(H,j,Ge),dn.unit="";class hn extends It{}hn.key=h(H,k,De)+"s";class un extends It{}un.matches=/^grid-template-cols:./,un.key=h(H,k,w),un.values={min:h(B,I),max:h(Y,I)};class fn extends It{}fn.key=h(H,k,S),fn.values={min:h(B,I),max:h(Y,I)};class mn extends It{constructor(){super(...arguments),this.order=-1}}mn.key=h(H,De),mn.unit="";class pn extends It{}pn.matches=/^grid-col-end:./,pn.key=h(H,v,"end"),pn.unit="";class xn extends It{}xn.key=h(H,j,"end"),xn.unit="";class bn extends It{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}bn.key=h("mask",W);class gn extends It{get props(){return{"-webkit-text-fill-color":this}}}gn.id="textFillColor",gn.matches=/^text-fill-color:./,gn.colorStarts="text-fill:",gn.colorful=!0,gn.values={current:b};class yn extends It{get props(){return{"-webkit-text-stroke":this}}}yn.id="textStroke",yn.matches=/^text-stroke:./;class kn extends It{get props(){return{"-webkit-text-stroke-width":this}}}kn.id="textStrokeWidth",kn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class vn extends It{get props(){return{"-webkit-text-stroke-color":this}}}vn.id="textStrokeColor",vn.matches=/^text-stroke-color:./,vn.colorStarts="text-stroke:",vn.colorful=!0,vn.values={current:b};class wn extends It{}wn.key=h($,"dasharray");class On extends It{}On.key=h($,"dash")+Qe;class jn extends It{}jn.key="x",jn.unit="";class Sn extends It{}Sn.key="y",Sn.unit="";class Nn extends It{}Nn.key="cx",Nn.unit="";class Rn extends It{}Rn.key="cy",Rn.unit="";class In extends It{}In.key="rx",In.unit="";class Wn extends It{}Wn.key="ry",Wn.unit="";class $n extends It{}$n.key=h(u,W,"outset");class zn extends It{}zn.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,zn.key=h(u,W,E);class An extends It{}An.key=h(u,W,"slice"),An.unit="";class Cn extends It{}Cn.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,Cn.key=h(u,W,"source");class En extends It{}En.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,En.key=h(u,W,X);class Mn extends It{}Mn.key=h(u,W),Mn.unit="";const Tn=/\{(.*)\}/;class Vn extends It{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Tn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.value.length;a++){const t=this.value[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in d&&"'"!==e&&(a++,c(d[t]))}};c(void 0),n();for(const e of i){const i=Tt.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Vn.id=Me,Vn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,Vn.unit="";class qn extends It{}qn.key="counter-increment",qn.unit="";class Ln extends It{}Ln.semantics={"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1",height:"1",padding:"0",margin:"-1",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":ke,"margin-right":ke},middle:{top:0,bottom:0,"margin-top":ke,"margin-bottom":ke},"break-spaces":{"white-space":h(ge,xe)+"s"},"break-word":{"overflow-wrap":h(ge,pe),overflow:ae}};const _n="undefined"!=typeof window,Pn=[Ln,Vn,Vi,Vt,Lt,er,Ht,mr,fr,_t,Bi,Yi,Xi,Fi,Qi,Ui,Is,Jt,Kt,es,ts,Ur,Or,qn,ss,as,cs,ls,cn,os,ds,hs,us,yr,kr,vr,Jr,fs,Zr,pr,Yr,ms,Gr,wr,ps,Qr,Xr,Fr,xs,Ns,Rs,Ws,$s,zs,As,Cs,Es,Ms,Ts,Vs,pi,xi,Oi,ji,Si,Ni,Ai,Ti,Ri,Ii,$i,zi,gn,kn,vn,yn,Wi,zr,ys,gs,bs,ks,js,Ss,Os,ws,vs,qs,Ls,Dr,_s,Ps,Zs,Fs,Qs,Xs,Bs,ei,ti,si,Wr,$r,ii,$n,zn,An,Cn,En,Mn,ri,ni,ai,ci,li,oi,di,hi,ui,fi,mi,gi,wi,yi,wn,On,vi,ki,jn,Sn,Nn,Rn,In,Wn,Kr,pn,Hi,Ci,dn,xn,Ki,Ei,rr,nr,ar,hn,un,fn,on,mn,an,Mi,Gi,Zi,Pi,_i,Li,qi,Ji,tr,sr,ir,cr,lr,or,dr,hr,ur,xr,br,en,gr,jr,Sr,Nr,Rr,Ir,Ar,Cr,Er,Mr,Tr,Vr,qr,Lr,_r,Pr,Br,Hr,tn,sn,rn,nn,ln,bn],Zn=Pn.get=e=>Pn.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function Fn(){if(_n){const e=new Tt(document.head);Tt.root=e,e.observe(document.documentElement)}}Pn.extend=function(e,...t){const s=Object.assign({},...t);for(const t in s){const i=Zn(t);if(i){const r=s[t];i.extend(e,r)}}return this},It.extend("colors",e.colors).extend("breakpoints",t.breakpoints),Tt.Styles.push(...Pn);_n&&(window.initMasterCSS=Fn,window.MasterStyles=Pn,window.MasterCSSManual||Fn())})(),i})()}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{var e={642:e=>{e.exports={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560}},580:e=>{e.exports={fade:{10:"131518",20:"24262d",30:"363944",40:"4c515f",50:"63697c",60:"878d9f",70:"a6abb8",80:"c3c6cf",90:"f4f4f6"},gray:{10:"151515",20:"242424",30:"39393b",40:"515153",50:"6a6a6c",60:"8d8d8f",70:"aaaaac",80:"c6c6c8",90:"f4f4f6"},brown:{10:"1c130f",20:"31221b",30:"4b3429",40:"6a4a3a",50:"8a604c",60:"af836e",70:"c4a394",80:"d8c2b8",90:"f8f3f1"},orange:{10:"221205",20:"3a1f08",30:"582f0d",40:"7c4312",50:"a15717",60:"d5731e",70:"e79855",80:"efbd92",90:"fcf1e7"},gold:{10:"1e1400",20:"342300",30:"4e3400",40:"6e4900",50:"906000",60:"c08000",70:"e89a00",80:"ffba30",90:"fff3da"},yellow:{10:"1b1500",20:"2f2500",30:"473800",40:"634f00",50:"806700",60:"ac8a00",70:"d0a700",80:"f0c100",90:"fff5ca"},grass:{10:"101803",20:"1c2a05",30:"2a4008",40:"3c5a0b",50:"4e750e",60:"689c13",70:"7dbc17",80:"92da1a",90:"ebfad4"},green:{10:"011a0b",20:"022d13",30:"03441d",40:"055f28",50:"067b34",60:"08a345",70:"0ac553",80:"0be561",90:"d5fde5"},beryl:{10:"001912",20:"002b1f",30:"00432f",40:"005d41",50:"007954",60:"00a170",70:"00c387",80:"00e19c",90:"c9ffee"},teal:{10:"001918",20:"002b28",30:"00413d",40:"005b55",50:"00776f",60:"009f94",70:"00bfb2",80:"00ddce",90:"c5fffb"},cyan:{10:"00181f",20:"002a35",30:"003f51",40:"005973",50:"007391",60:"0099c1",70:"00b9e9",80:"3dd7ff",90:"dff8ff"},sky:{10:"021726",20:"032841",30:"043c61",40:"065489",50:"086eb3",60:"0b92ee",70:"4db3f7",80:"8ccefa",90:"eaf6fe"},blue:{10:"051338",20:"09205e",30:"0d318d",40:"1344c4",50:"175fe9",60:"538cee",70:"81acf3",80:"a5c7fd",90:"edf4fe"},indigo:{10:"161031",20:"24195e",30:"332592",40:"4835cc",50:"5a5bd5",60:"7d84e8",70:"a1a5ee",80:"bfc2f4",90:"f1f2ff"},violet:{10:"1f0839",20:"310e63",30:"491595",40:"641ed2",50:"7949e5",60:"9e77f5",70:"b89bf9",80:"d0bdfb",90:"f5f1ff"},purple:{10:"220736",20:"390c5b",30:"551287",40:"7719bd",50:"9832e4",60:"b56cec",70:"ca96f1",80:"dcbaf6",90:"f9f0ff"},fuchsia:{10:"2b0720",20:"470b3d",30:"68105f",40:"8e1691",50:"b61cbb",60:"e04ee5",70:"ea86ed",80:"f1b1f3",90:"feefff"},pink:{10:"2d0519",20:"4c082b",30:"720c40",40:"9d1059",50:"ca1473",60:"ee52a3",70:"f388c0",80:"f7b2d6",90:"fff0f8"},crimson:{10:"33020f",20:"500317",30:"780522",40:"a20d35",50:"ce1a4b",60:"ea5b82",70:"f58ba7",80:"ffb1c6",90:"fff1f4"},red:{10:"350001",20:"530001",30:"780506",40:"a60708",50:"d11a1e",60:"eb5f63",70:"fa8b8d",80:"fdb3b5",90:"fff1f1"},black:"000000",white:"ffffff"}},989:(e,t,s)=>{const i=s(824),r=s(860);s(580);e.exports=function(e){"string"==typeof e&&(e={"":e});const t=""in e;let s=!1;for(const t in e)if(t&&+t>=100){s=!0;break}if(!s&&(!t||Object.keys(e).length>1)){let t,s,n=0,a="0"in e?i(e[0]):[0,0,0];const c=[],l=()=>{const i=t-n,l=s.map(((e,t)=>(e-a[t])/i));for(const t of c){const s=t-n,i=a.map(((e,t)=>Math.round(e+l[t]*s)));e[t]=r.call(this,...i)}};for(let r=1;r<100;r++){const o=r%2==0;r in e?(c.length?(t=r,s=i(e[r]),l(),c.length=0,a=s):a=i(e[r]),n=r):o&&c.push(r)}c.length&&(t=100,s="100"in e?i(e[100]):[255,255,255],l())}return t||(e[""]=e[s?"500":"50"]),e}},824:e=>{e.exports=function(e){const t=e.match(/.{1,2}/g);return[parseInt(t[0],16),parseInt(t[1],16),parseInt(t[2],16)]}},860:e=>{e.exports=function(e,t,s){return((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)}}},t={};function s(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,s),n.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";function e(e,t){return e+":"+(t.unit?t.value+t.unit:t.value)+(t.important?"!important":"")}s.r(i),s.d(i,{Style:()=>Rt,StyleSheet:()=>Ct,Styles:()=>Zn,breakpoints:()=>Xn,colors:()=>Un,init:()=>Qn,sheets:()=>Wt});const t=/var\(--(.*?)(?:,.+?)?\)/g,r=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function n(e,s,i,n){let c=n?n[e]:"",l="",o="";if(c)return{value:c,unit:l,unitToken:o};if("number"==typeof e)c=e,l=s||"";else{if(i){const s=a(i,e);if(s)return{value:s,unit:l,unitToken:o};e=e.replace(t,((e,t)=>{var s;return null!==(s=a(i,t))&&void 0!==s?s:e}))}if(s){const t=e.match(r);if(t){if(e.includes("/")){const t=e.split("/");return{value:+t[0]/+t[1]*100+"%",unit:l,unitToken:o}}return c=+t[1],l=o=t[3]||"",l||("rem"!==s&&"em"!==s||(c/=16),l=s||""),{value:c,unit:l,unitToken:o}}}c=(-1===e.indexOf("calc(")?e:function(e){const t=e=>"+"===e||"-"===e||"*"===e||"/"===e;let s,i="",r="",n=!1;function a(){s=null,r=""}for(let c=0;c<e.length;c++){const l=e[c];if("("===l||")"===l)n=")"===l,i+=r+l,a();else if(","===l)i+=r+l+" ",a();else{switch(s){case 1:break;case 2:if(t(l)){i+=r+" "+l+" ",a();continue}break;default:n&&(r+=" "),isNaN(+l)?t(l)||(s=1):s=2}r+=l}}return r&&(i+=r),i}(e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:c,unit:l,unitToken:o}}const a=(e,t)=>{let s;const[i,r]=t.split("/");for(const t in e)if(i.startsWith(t)){const n=i[t.length],a=n?"-"===n?i.slice(t.length+1):void 0:"";if(void 0!==a){const i=e[t][a];if(i){if(s="#"+i,r){let e=+r;e=isNaN(e)?1:Math.min(Math.max(e,0),1),s+=Math.round(255*e).toString(16).toUpperCase().padStart(2,"0")}break}}}return s},c=[":disabled",":active",":focus",":hover"],l={"(":")","'":"'","{":"}"};var o=s(642),d=s.n(o);const h=(...e)=>e.join("-"),u="border",f="radius",m="margin",p="padding",x="font",b="currentColor",g=",",y="flow",k="template",v="column",w="columns",O="gap",j="row",S="rows",N="shadow",I="user",W="content",R="image",$="stroke",z="filter",A="blend",M="background",E="repeat",C="color",V="scroll",_="animation",T="direction",L="mode",q="behavior",P=h("overscroll",q),Z="y",F="x",Q="height",U="width",X="max",Y="min",B="block",D="inline",G="flex",H="grid",J="transition",K="origin",ee="delay",te="rotate",se="deg",ie="timing-function",re="duration",ne="display",ae="hidden",ce="box",le="fill",oe="clip",de="none",he="text",ue="align",fe="transform",me="vertical",pe="word",xe="space",be="decoration",ge="break",ye="size",ke="auto",ve="line",we="object",Oe="position",je="rem",Se="style",Ne="smoothing",Ie="antialiased",We="spacing",Re=h("letter",We),$e=h(X,U),ze=h(Y,U),Ae=h(X,Q),Me=h(Y,Q),Ee="table",Ce="group",Ve="list",_e="item",Te="span",Le="justify",qe="items",Pe="self",Ze="place",Fe="type",Qe="offset",Ue="outline",Xe="snap",Ye="shape",Be="view",De="area",Ge="start",He="blur",Je="drop",Ke={full:"100%",fit:h("fit",W),max:h(X,W),min:h(Y,W)};for(const e in d())Ke[e]=d()[e]/16+"rem";const et=s(989),tt="matches",st="semantics",it="symbol",rt="max-width",nt="min-width",at="motion",ct="reduce",lt="reduced-motion",ot="::scrollbar",dt="::slider-thumb",ht="::slider-runnable-track",ut="::search",ft="::meter",mt="::resizer",pt="::progress",xt="px",bt=["!","*",">","+","~",":","[","@","_"],gt=[...bt,void 0,"."],yt=new RegExp(ot,"g"),kt=new RegExp(ut,"g"),vt=new RegExp(ft,"g"),wt=new RegExp(ht,"g"),Ot=new RegExp(dt,"g"),jt=new RegExp(mt,"g"),St=new RegExp(pt,"g"),Nt=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])/,It=e=>e.split(Nt).map(((e,t)=>t%2?e:e.replace(/\_/g," "))).join(""),Wt=[];class Rt{constructor(t,s){this.name=t,this.matching=s,this.at={},this.prioritySelectorIndex=-1;const i=this.constructor;if(void 0===s&&!(s=i.match(t)))return;let r,a,o,{id:d,semantics:h,unit:u,colors:f,key:m,values:p,colorful:x,breakpoints:b,mediaQueries:g,colorSchemes:y}=i,k=t;if(x||(f=null),s.origin===st)r=s.value,o=k.slice(s.value.length),this.value=h[s.value];else{if(s.origin===tt)if(d===Ce){let e=0;for(;e<k.length&&("{"!==k[e]||"\\"===k[e-1]);e++);a=k.slice(0,e),r=k.slice(e)}else{const e=k.indexOf(":");this.prefix=k.slice(0,e+1),this.prefix.includes("(")?(this.prefix=void 0,r=k):r=k.slice(e+1)}else s.origin===it&&(this.symbol=k[0],r=k.slice(1));let e,t="",i=[],c=0;!function s(a,o,d=""){let h,m=!1;for(a&&(")"===a&&"$"===t.slice(-1)?h=t.length-1:"'"===a&&(m=!0),t+=r[c++]);c<r.length;c++){const x=r[c];if(x===a){if(t+=x,m){let e=0;for(let s=t.length-2;"\\"===t[s];s--)e++;if(e%2)continue}void 0!==h&&(t=t.slice(0,h)+t.slice(h).replace(/\$\((.*)\)/,"var(--$1)")),o||(m?i.push(t):(e=n(t,u,f,p),i.push(e.value+e.unit)),d="",t="");break}if(!m&&x in l)s(l[x],void 0===o?0:o+1,d);else if("|"!==x||"}"===a||m&&"path"!==d){if(!a){if("."===x){if(isNaN(+r[c+1]))break;"-"===r[c-1]&&(t+="0")}else{if(","===x){e=n(t,u,f,p),i.push(e.value+e.unit,","),t="";continue}if("#"===x&&(t||i.length&&"|"!==r[c-1])||bt.includes(x))break}d+=x}t+=x}else a?t+=" ":(e=n(t,u,f,p),i.push(e.value+e.unit),t="")}}(),t&&(e=n(t,u,f,p),i.push(e.value+e.unit)),o=r.slice(c),1===i.length?e?(this.value=e.value,this.unit=e.unit):(this.value=i[0],this.unit=""):this.value=i.reduce(((e,t,s)=>e+t+(","===t||","===i[s+1]||s===i.length-1?"":" ")),"")}o.includes(ot)&&(o=o.replace(yt,"::-webkit-scrollbar")),o.includes(ut)&&(o=o.replace(kt,"::-webkit-search")),o.includes(dt)&&(o=o.replace(Ot,"::-webkit-slider-thumb")),o.includes(ht)&&(o=o.replace(wt,"::-webkit-slider-runnable-track")),o.includes(ft)&&(o=o.replace(vt,"::-webkit-meter")),o.includes(mt)&&(o=o.replace(jt,"::-webkit-resizer")),o.includes(pt)&&(o=o.replace(St,"::-webkit-progress")),o.includes(":first")&&(o=o.replace(/:first(?![a-z-])/g,":first-child")),o.includes(":last")&&(o=o.replace(/:last(?![a-z-])/g,":last-child")),o.includes(":even")&&(o=o.replace(/:even(?![a-z-])/g,":nth-child(2n)")),o.includes(":odd")&&(o=o.replace(/:odd(?![a-z-])/g,":nth-child(odd)")),o.includes(":nth(")&&(o=o.replace(/:nth\(/g,":nth-child(")),this.parseValue&&(this.value=this.parseValue),p&&this.value in p&&(this.value=p[this.value]),"!"===o[0]&&(this.important=!0,o=o.slice(1)),this.prefixSelector=a?It(a):"";const v=o.split("@");let w=v[0];if(w){w=It(w),this.hasWhere=w.includes(":where(");for(let e=0;e<c.length;e++)if(w.includes(c[e])){this.prioritySelectorIndex=e;break}}this.suffixSelector=w;for(let e=1;e<v.length;e++){const t=v[e];if(t)if(y.includes(t))this.colorScheme=t;else if("rtl"===t||"ltr"===t)this.direction=t;else{let e,s;const i=t.indexOf("_");if(-1!==i)e=t.slice(0,i),s=t.slice(i);else{const i=t.indexOf("(");-1!==i&&(e=t.slice(0,i),s=t.slice(i))}if(!e){e="media";const i=[];this.media={token:t,features:{}};const r=t.split("&");for(const e of r)if("all"===e||"print"===e||"screen"===e||"speech"===e)this.media.type=e;else if("🖨"===e)this.media.type="print";else if("landscape"===e||"portrait"===e)i.push("(orientation:"+e+")");else if(e===at||e===lt)i.push("(prefers-reduced-motion:"+(e===at?"no-preference":ct)+")");else if(e in g)i.push(g[e]);else{const t={token:e};let s="",r="",a=0;switch(e.startsWith("<=")?(r="<=",s=rt):e.startsWith(">=")||b[e]?(r=">=",s=nt):e.startsWith(">")?(r=">",s=nt,a=.02):e.startsWith("<")&&(r="<",s=rt,a=-.02),s){case rt:case nt:const c=r?e.replace(r,""):e,l=b[c];l?Object.assign(t,n(l,xt)):Object.assign(t,n(c,xt)),t.unit===xt&&(t.value+=a),this.media.features[s]=t,i.push("("+s+":"+(t.value+t.unit)+")")}}s="",this.media.type&&(s=this.media.type),i.length&&(s+=(s?" and ":"")+i.join(" and "))}s&&(this.at[e]=s.replace(/\_/g," "))}}let O="";this.colorScheme&&(O+="."+this.colorScheme+" "),this.prefixSelector&&(O+=this.prefixSelector),this.direction&&(O+="[dir="+this.direction+"] "),this.text=O+"."+CSS.escape(this.name)+this.suffixSelector+(this.name in Rt.relations?Rt.relations[this.name].map((e=>", "+O+"."+e+this.suffixSelector)).join(""):"")+"{"+("object"==typeof this.value?Object.keys(this.value).map((t=>e(t,Object.assign(Object.assign({},this),{unit:"",value:this.value[t]})))).join(";"):this.props?Object.keys(this.props).map((t=>e(t,this.props[t]))).join(";"):e(m,this))+"}";for(const e of Object.keys(this.at).sort(((e,t)=>"supports"===t?-1:1)))this.text="@"+e+" "+this.at[e]+"{"+this.text+"}";void 0===this.order&&(this.order=0)}static match(e){if(this.matches&&this.matches.test(e))return{origin:tt};if(this.semantics)for(const t in this.semantics)if(e===t||e.startsWith(t)&>.includes(e[t.length]))return{origin:st,value:t};return this.colorStarts&&(e.match("^"+this.colorStarts+"(#|(rgb|hsl)\\(.*\\))((?!\\|).)*$")||this.colorNames.length&&e.match("^"+this.colorStarts+"("+this.colorNames.join("|")+")")&&-1===e.indexOf("|"))?{origin:tt}:this.symbol&&e.startsWith(this.symbol)?{origin:it}:this.key&&e.startsWith(this.key+":")?{origin:tt}:void 0}static extend(e,...t){if(!t.length)return this;const s=Object.assign({},...t),i=(e,t,i)=>{var r;for(const n in s){const a=s[n];null==a?n in e&&(null==i||i(n),delete e[n]):e[n]=null!==(r=null==t?void 0:t(n,a))&&void 0!==r?r:a}};switch(e){case"classes":i(this.classes,((e,t)=>{if(e in this.classes)for(const t in this.relations){const s=this.relations[t],i=s.indexOf(e);-1!==i&&(s.length>1?s.splice(i,1):delete this.relations[t])}const s=Array.isArray(t)?t:t.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(const t of s)t in this.relations?this.relations[t].push(e):this.relations[t]=[e];return s}),(e=>{for(const t of this.classes[e]){const s=this.relations[t];s.length>1?s.splice(s.indexOf(e),1):delete this.relations[t]}}));break;case"colors":i(this.colors,((e,t)=>(-1===this.colorNames.indexOf(e)&&this.colorNames.push(e),et(t))),(e=>{const t=this.colorNames.indexOf(e);-1!==t&&this.colorNames.splice(t,1)}));break;default:let t=this[e];t||(t=this[e]={}),i(t)}return this}}Rt.unit="rem",Rt.mediaQueries={},Rt.sheets=Wt,Rt.colors={},Rt.classes={},Rt.colorNames=[],Rt.relations={},Rt.colorSchemes=["dark","light"],"undefined"!=typeof window&&(window.MasterStyle=Rt);const $t=[",",".","#","[","!","*",">","+","~",":","@"],zt="undefined"!=typeof document;let At;zt&&(At=document.createElement("style"),At.id="master-styles");const Mt="undefined"!=typeof window,Et=Mt?window.MutationObserver:Object;class Ct extends Et{constructor(e){if(super((e=>{const t={},s=[],i=[],r=[],n=(e,t)=>{t?e.classList.forEach(c):e.classList.forEach(a);const s=e.children;for(let e=0;e<s.length;e++){const r=s[e];r.classList&&(i.push(r),n(r,t))}},a=e=>{e in t?t[e]++:t[e]=1},c=e=>{e in t?t[e]--:t[e]=-1},l=(e,t)=>{for(let s=0;s<e.length;s++){const a=e[s];!a.classList||i.includes(a)||r.includes(a)||(a.isConnected!==t?(i.push(a),n(a,t)):r.push(a))}};for(let t=0;t<e.length;t++){const i=e[t],{addedNodes:r,removedNodes:n,type:a,target:c,oldValue:o}=i;if("attributes"===a){if(c.className===o||s.find((e=>e.target===c)))continue;s.push(i)}else l(r,!1),l(n,!0)}if(s.length||Object.keys(t).length){for(const{oldValue:e,target:t}of s){const s=i.includes(t),r=t.classList,n=e?e.split(" "):[];if(s){if(t.isConnected)continue;for(const e of n)r.contains(e)||c(e)}else if(t.isConnected){r.forEach((e=>{n.includes(e)||a(e)}));for(const e of n)r.contains(e)||c(e)}else for(const e of n)c(e)}for(const e in t){const s=t[e],i=(this.countOfName[e]||0)+s;0===i?(delete this.countOfName[e],this.delete(e)):(e in this.countOfName||this.findAndInsert(e),this.countOfName[e]=i)}}})),this.container=e,this.styles=[],this.styleOfName={},this.countOfName={},zt){if(e){const t=e.querySelector('[id="master-styles"]');if(t){this.element=t;const e=(t,s)=>{if(t.selectorText){const e=t.selectorText.split(", ")[0].split(" ");for(let i=0;i<e.length;i++){const r=e[i];if("."===r[0]){const e=r.slice(1);let i="";for(let t=0;t<e.length;t++){const s=e[t],r=e[t+1];if("\\"===s){if(t++,"\\"!==r){i+=r;continue}}else if($t.includes(s))break;i+=s}if(!(i in this.styleOfName)&&!(i in Rt.classes)){const e=Ct.findAndNew(i);e&&(e.cssRule=null!=s?s:t,this.styles.push(e),this.styleOfName[e.name]=e)}}}}else if(t.cssRules)for(let i=0;i<t.cssRules.length;i++)e(t.cssRules[i],null!=s?s:t.cssRules[i])};e(t.sheet,void 0)}else this.element=At.cloneNode(),null==e||e.prepend(this.element)}Wt.push(this)}}observe(e,t={subtree:!0,childList:!0}){return t.subtree&&e.querySelectorAll("[class]").forEach((e=>{e.classList.forEach((e=>{e in this.countOfName?this.countOfName[e]++:(this.countOfName[e]=1,this.findAndInsert(e))}))})),super.observe(e,Object.assign(Object.assign({},t),{attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})),this}disconnect(){super.disconnect(),this.styleOfName={},this.countOfName={},this.styles.length=0;const e=this.element.sheet;for(let t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}static findAndNew(e){const t=e=>{for(const t of this.Styles){const s=t.match(e);if(s)return new t(e,s)}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static find(e){const t=e=>{for(const t of this.Styles){if(t.match(e))return t}};return e in Rt.classes?Rt.classes[e].map(t).filter((e=>e)):t(e)}static refresh(){for(const e of Wt)e.refresh()}refresh(){if(!this.element)return;const e=At.cloneNode();this.element.replaceWith(e),this.element=e,this.styles.length=0,this.styleOfName={};for(const e in this.countOfName)this.findAndInsert(e)}destroy(){this.element.remove(),this.disconnect(),Wt.splice(Wt.indexOf(this),1)}insert(e){if(this.styleOfName[e.name])return;const t=e.text;let s;const i=this.styles.length-1,r=e.media,n=e.order,a=e.prioritySelectorIndex,c=e.hasWhere,l=(e,t,s,i)=>{let r,l,o=0;t&&(o=e.findIndex(t)),s&&(l=e.findIndex(s)),-1===o&&(o=e.length),void 0!==l&&-1!==l||(l=e.length),r=e.slice(o,l);for(let e=0;e<r.length;e++){const t=r[e];if(!(-1===t.prioritySelectorIndex||i&&i(t))&&(t.prioritySelectorIndex<a||t.prioritySelectorIndex===a&&(c&&!t.hasWhere||t.order>=n)))return o+e}return o+r.length};if(r){const e=this.styles.findIndex((e=>e.media));if(-1!==e){const t=r.features["max-width"],o=r.features["min-width"];if(t&&o){const r=t.value-o.value;for(let t=i;t>=e;t--){s=t;const i=this.styles[t],n=i.media,o=n.features["max-width"],d=n.features["min-width"];if(!o||!d){s++;break}const h=o.value-d.value;if(h===r){if(c!==i.hasWhere)continue;if(-1!==a){const i=[this.styles[t]];for(let s=t-1;s>=e;s--){const e=this.styles[s];if(e.hasWhere!==c)break;const t=e.media,r=t.features["max-width"],n=t.features["min-width"];if(!r||!n||r.value-n.value!==h)break;i.unshift(this.styles[s])}s=l(this.styles,(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]))}break}if(h>r)break}}else if(o)for(let t=e;t<=i;t++){s=t;const e=this.styles[t],r=e.media,d=r.features["max-width"],h=r.features["min-width"];if(d){if(h)break;continue}const u=null==h?void 0:h.value;if(u===o.value){if(!c&&e.hasWhere){s++;continue}if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else for(let e=t;e<=i;e++){const t=this.styles[e],i=t.media,r=i.features["min-width"];if(!i.features["max-width"]){if(t.hasWhere!==c||r.value!==u||t.order>=n)break;s=e+1}}break}if(u>o.value)break;s++}else if(t)for(let r=i;r>=e;r--){s=r;const i=this.styles[r],o=i.media,d=o.features["max-width"];if(o.features["min-width"])continue;const h=null==d?void 0:d.value;if(!h||h>t.value){s++;break}if(h===t.value){if(c&&!i.hasWhere)continue;if(-1!==a)s=l(this.styles,(e=>e.media),(e=>e.media&&-1!==e.prioritySelectorIndex&&e.media.features["min-width"]&&e.media.features["max-width"]),(e=>!e.media.features["min-width"]&&!e.media.features["max-width"]));else{const t=[this.styles[r]];for(let s=r-1;s>=e;s--){const e=this.styles[s],i=e.media,r=i.features["min-width"],n=i.features["max-width"];if(!(r||n&&n.value===h&&e.hasWhere===c))break;t.unshift(e)}for(let e=0;e<t.length;e++){const i=t[e];if(!i.media.features["min-width"]){if(i.order>=n)break;s=r-t.length+2+e}}}break}}}if(void 0===s)if(-1===e)s=i+1;else if(-1!==a)s=e+l(this.styles.slice(e),void 0,(e=>e.media.features["max-width"]||e.media.features["min-width"]));else if(c){let t=e;for(;t<this.styles.length;t++){const e=this.styles[t];if(-1!==e.prioritySelectorIndex||!e.hasWhere||e.order>=n){s=t;break}}void 0===s&&(s=t)}else for(let t=e;t<=i;t++){s=t;const e=this.styles[t],i=e.media;if(-1!==e.prioritySelectorIndex||i.features["max-width"]||i.features["min-width"])break;if(e.hasWhere)s++;else if(e.order>=n)break}}else if(-1===a)if(c)s=this.styles.findIndex((e=>!e.hasWhere||e.media||-1!==e.prioritySelectorIndex||e.order>=n)),-1===s&&(s=i+1);else{let e=0;for(;e<this.styles.length;e++){const t=this.styles[e];if(t.media||!t.hasWhere&&(t.order>=n||-1!==t.prioritySelectorIndex)){s=e;break}}void 0===s&&(s=e)}else s=l(this.styles,void 0,(e=>e.media));try{if(this.element){const i=this.element.sheet;i.insertRule(t,s),e.cssRule=i.cssRules[s]}this.styles.splice(s,0,e),this.styleOfName[e.name]=e}catch(e){}}delete(e){const t=this.element.sheet,s=e=>{const s=this.styleOfName[e];if(!(!(null==s?void 0:s.cssRule)||e in Rt.relations&&Rt.relations[e].some((e=>e in this.countOfName))))for(let e=0;e<t.cssRules.length;e++){t.cssRules[e]===s.cssRule&&(t.deleteRule(e),this.styles.splice(e,1),delete this.styleOfName[s.name])}};if(e in Rt.classes)for(const t of Rt.classes[e])t in this.countOfName||s(t);else s(e)}findAndInsert(e){const t=Ct.findAndNew(e);if(Array.isArray(t))for(const e of t)this.insert(e);else t&&this.insert(t)}}Ct.Styles=[],Mt&&(window.MasterStyleSheet=Ct);class Vt extends Rt{}Vt.matches=/^f(ont)?:(thin|extralight|light|regular|medium|semibold|bold|bolder|extrabold|heavy)(?!\|)/,Vt.key=h(x,"weight"),Vt.unit="",Vt.values={thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900};const _t="var(--font-";class Tt extends Rt{}Tt.matches=/^f(ont)?:(mono|sans|serif)(?!\|)/,Tt.key=h(x,"family"),Tt.values={mono:_t+"mono)",sans:_t+"sans)",serif:_t+"serif)"};class Lt extends Rt{}Lt.matches=/^f(ont)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Lt.key=h(x,ye);const qt="top",Pt="bottom",Zt="left",Ft="right",Qt="l",Ut="r",Xt="t",Yt="b",Bt="x",Dt="y";class Gt extends Rt{get props(){const e="m"===this.prefix[0]?m:p,t=h(e,Zt),s=h(e,Ft),i=h(e,qt),r=h(e,Pt);switch(this.prefix[1]){case Bt:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Ut:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this};default:return{[e]:this}}}get order(){return"p:"===this.prefix||"m:"===this.prefix?-1:0}}Gt.id="spacing",Gt.matches=/^[pm][xytblr]?:./;class Ht extends Rt{}Ht.matches=/^w:./,Ht.key=U,Ht.values=Ke;class Jt extends Rt{}Jt.matches=/^h:./,Jt.key=Q,Jt.values=Ke;class Kt extends Rt{}Kt.matches=/^min-w:./,Kt.key=ze,Kt.values=Ke;class es extends Rt{}es.matches=/^min-h:./,es.key=Me,es.values=Ke;class ts extends Rt{}ts.matches=/^ls:./,ts.key=Re,ts.unit="em";const ss=h("subpixel",Ie),is=h("-webkit-font",Ne),rs=h("-moz-osxfont",Ne);class ns extends Rt{get props(){const e={};switch(this.value){case ss:e[is]=e[rs]=Object.assign(Object.assign({},this),{value:ke});break;case Ie:e[is]=Object.assign(Object.assign({},this),{value:Ie}),e[rs]=Object.assign(Object.assign({},this),{value:"grayscale"})}return e}}ns.id="fontSmoothing",ns.matches=/^f(ont)?:(antialiased|subpixel-antialiased)(?!\|)/,ns.unit="";class as extends Rt{}as.matches=/^f(ont)?:(normal|italic|oblique)(?!\|)/,as.key=h(x,Se),as.unit="deg",as.semantics={italic:"italic",oblique:"oblique"};class cs extends Rt{}cs.matches=/^f(ont)?:(ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions)(?!\|)/,cs.key=h(x,"variant","numeric");class ls extends Rt{}ls.matches=/^lh:./,ls.key=h(ve,Q),ls.unit="";class os extends Rt{}os.matches=/^(object|obj):(contain|cover|fill|scale-down)/,os.key=h(we,"fit");class ds extends Rt{}ds.matches=/^(object|obj):(top|bottom|right|left|center)/,ds.key=h(we,Oe);class hs extends Rt{}hs.matches=/^t(ext)?:(justify|center|left|right|start|end)(?!\|)/,hs.key=h(he,ue);class us extends Rt{constructor(){super(...arguments),this.order=-1}}us.matches=/^t(ext)?:(underline|line-through|overline)/,us.key=h(he,be),us.colorful=!0;class fs extends Rt{}fs.matches=/^t(ext)?:(uppercase|lowercase|capitalize)(?!\|)/,fs.key=h(he,fe),fs.semantics={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize"};class ms extends Rt{}ms.matches=/^(?:v|vertical):./,ms.key=h(me,ue);class ps extends Rt{get props(){return{overflow:Object.assign(Object.assign({},this),{value:ae}),display:Object.assign(Object.assign({},this),{value:"-webkit-box"}),"overflow-wrap":Object.assign(Object.assign({},this),{value:h(ge,pe)}),"text-overflow":Object.assign(Object.assign({},this),{value:"ellipsis"}),"-webkit-box-orient":Object.assign(Object.assign({},this),{value:me}),"-webkit-line-clamp":this}}}ps.id="lines",ps.matches=/^lines:./,ps.unit="";class xs extends Rt{}xs.matches=/^transform:((top|bottom|right|left|center)|\d)/,xs.key=h(fe,K),xs.unit="px";class bs extends Rt{}bs.matches=/^transform:(flat|preserve-3d)(?!\|)/,bs.key=h(fe,Se);class gs extends Rt{}gs.matches=/^transform:(content|border|fill|stroke|view)(?!\|)/,gs.key=h(fe,ce),gs.values={content:h(W,ce),border:h(u,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class ys extends Rt{get parseValue(){return this.value.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,((e,t,s,i)=>{let r,n;switch(t){case"translate":r=je;break;case"skew":r=se;break;case te:"3d"===s&&(n=!0),r=se;break;default:return e}const a=i.split(",");return e.replace(i,a.map(((e,t)=>{if(n&&a.length-1!==t)return e;return Number.isNaN(+e)?e:e/(r===je?16:1)+r})).join(","))}))}}ys.matches=/^(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\(/,ys.key=fe,ys.unit="";class ks extends Rt{constructor(){super(...arguments),this.order=-1}}ks.symbol="~",ks.key=J;class vs extends Rt{}vs.matches=/^~delay:./,vs.key=h(J,ee),vs.unit="ms";class ws extends Rt{}ws.matches=/^~duration:./,ws.key=h(J,re),ws.unit="ms";class Os extends Rt{}Os.matches=/^~property:./,Os.key=h(J,"property");class js extends Rt{}js.matches=/^~easing:./,js.key=h(J,ie);class Ss extends Rt{}Ss.matches=/^max-h:./,Ss.key=Ae,Ss.values=Ke;class Ns extends Rt{}Ns.matches=/^max-w:./,Ns.key=$e,Ns.values=Ke;class Is extends Rt{}Is.matches=/^d:./,Is.key=ne,Is.semantics={hidden:de,hide:de,block:B,table:Ee,flex:G,grid:H,contents:"contents",inline:D,"inline-block":h(D,B),"inline-flex":h(D,G),"inline-grid":h(D,H),"inline-table":h(D,Ee),"table-cell":h(Ee,"cell"),"table-caption":h(Ee,"caption"),"flow-root":h(y,"root"),"list-item":h(Ve,_e),"table-row":h(Ee,j),"table-column":h(Ee,v),"table-row-group":h(Ee,j,Ce),"table-column-group":h(Ee,v,Ce),"table-header-group":h(Ee,"header",Ce),"table-footer-group":h(Ee,"footer",Ce)};class Ws extends Rt{}Ws.matches=/^box:(content|border)(?!\|)/,Ws.key=h(ce,"sizing"),Ws.values={content:h(W,ce),border:h(u,ce)};class Rs extends Rt{}Rs.key="opacity",Rs.unit="";class $s extends Rt{}$s.key="visibility",$s.semantics={visible:"visible",invisible:ae};class zs extends Rt{}zs.key="clear";class As extends Rt{}As.key="float";class Ms extends Rt{}Ms.key="isolation",Ms.semantics={isolate:"isolate"};class Es extends Rt{get props(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case F:return{"overflow-x":this};case Z:return{"overflow-y":this}}return{overflow:this}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case F:case Z:return 0}return-1}}Es.id="overflow",Es.matches=/^overflow(-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\$|var)/,Es.semantics={overflow:"visible"};class Cs extends Rt{get props(){switch(this.prefix.slice(-2,-1)){case F:return{[h(P,F)]:this};case Z:return{[h(P,Z)]:this};default:return{[P]:this}}}}Cs.id="overscrollBehavior",Cs.matches=/^overscroll-behavior(?:-[xy])?:/;class Vs extends Rt{}Vs.matches=/^z:./,Vs.key="z-index",Vs.unit="";class _s extends Rt{}_s.matches=/^\@delay:./,_s.key=h(_,ee),_s.unit="ms";class Ts extends Rt{}Ts.matches=/^\@direction:./,Ts.key=h(_,T);class Ls extends Rt{}Ls.matches=/^\@fill-mode:./,Ls.key=h(_,le,L);class qs extends Rt{}qs.matches=/^\@iteration-count:./,qs.key=h(_,"iteration","count"),qs.unit="";class Ps extends Rt{}Ps.matches=/^\@name:./,Ps.key=h(_,"name");class Zs extends Rt{}Zs.matches=/^\@play-state:./,Zs.key=h(_,"play-state");class Fs extends Rt{}Fs.matches=/^\@easing:./,Fs.key=h(_,ie);class Qs extends Rt{constructor(){super(...arguments),this.order=-1}}Qs.symbol="@",Qs.key=_,Qs.unit="";function Us(e,t,s=""){s&&(s="-"+s);const i="border-left"+s,r="border-right"+s,n="border-top"+s,a="border-bottom"+s;switch(/^b(order)?-?(.)?/.exec(e)[2]){case Bt:return{[i]:t,[r]:t};case Dt:return{[n]:t,[a]:t};case Qt:return{[i]:t};case Ut:return{[r]:t};case Xt:return{[n]:t};case Yt:return{[a]:t};default:return{[u+s]:t}}}class Xs extends Rt{get props(){return Us(this.prefix,this,C)}get order(){return this.prefix===h(u,C)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}Xs.id="borderColor",Xs.matches=/^border(-(left|right|top|bottom))?-color:./,Xs.colorStarts="b([xytblr]|(order(-(left|right|top|bottom))?))?:",Xs.colorful=!0,Xs.values={current:b};const Ys=h(u,qt,Zt,f),Bs=h(u,qt,Ft,f),Ds=h(u,Pt,Zt,f),Gs=h(u,Pt,Ft,f),Hs=h(u,f),Js=[Ys,Bs,Ds,Gs];class Ks extends Rt{get props(){var e;if(this.prefix){let e="";const t=this.prefix.split("-");if(t.length>1)for(let s=1;s<t.length-1;s++)e+=t[s][0];else e=this.prefix.slice(1,-1);switch(e){case Xt:return{[Ys]:this,[Bs]:this};case"tl":case"lt":return{[Ys]:this};case"rt":case"tr":return{[Bs]:this};case Yt:return{[Ds]:this,[Gs]:this};case"bl":case"lb":return{[Ds]:this};case"br":case"rb":return{[Gs]:this};case Qt:return{[Ys]:this,[Ds]:this};case Ut:return{[Bs]:this,[Gs]:this};default:return{[Hs]:this}}}const t=null===(e=this.prefix)||void 0===e?void 0:e.slice(0,-1);return{[Js.includes(t)?t:Hs]:this}}get order(){return this.prefix===h(u,f)+":"||"r:"===this.prefix?-1:0}}Ks.id="borderRadius",Ks.matches=/^((r[tblr]?[tblr]?|border(-(top|bottom)-(left|right))?-radius):.)/,Ks.semantics={rounded:"1e9em",round:"50%"};class ei extends Rt{get props(){return Us(this.prefix,this,Se)}get order(){return this.prefix===h(u,Se)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ei.id="borderStyle",ei.matches=/^(border(-(left|right|top|bottom))?-style:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|))/;class ti extends Rt{get props(){return Us(this.prefix,this,U)}get order(){return this.prefix===h(u,U)+":"||"b:"===this.prefix||"border:"===this.prefix?-1:0}}ti.id="borderWidth",ti.matches=/^(border(-(left|right|top|bottom))?-width:.|b([xytblr]|order(-(left|right|top|bottom))?)?:(([0-9]|(max|min|calc|clamp)\(.*\))|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/;class si extends Rt{get props(){return Us(this.prefix,this)}get order(){return"border:"===this.prefix||"b:"===this.prefix?-2:-1}}si.id="border",si.matches=/^b([xytblr]?|order(-(left|right|top|bottom))?):./,si.colorful=!0;class ii extends Rt{}ii.matches=/^(bg|background):(fixed|local|scroll)(?!\|)/,ii.key=h(M,"attachment");class ri extends Rt{}ri.key=h(M,A,L);class ni extends Rt{get props(){return{"-webkit-background-clip":this,"background-clip":this}}}ni.matches=/^(bg|background):text(?!\|)/,ni.key=h(M,oe),ni.values={content:h(W,ce),border:h(u,ce),padding:h(p,ce)};class ai extends Rt{}ai.matches=/^(bg|background):transparent(?!\|)/,ai.colorStarts="(bg|background):",ai.key=h(M,C),ai.unit="",ai.colorful=!0,ai.values={current:b};class ci extends Rt{}ci.matches=/^(bg|background):(content|border|padding)(?!\|)/,ci.key=h(M,K),ci.values={content:h(W,ce),border:h(u,ce),padding:h(p,ce)};class li extends Rt{}li.matches=/^(bg|background):(top|bottom|right|left|center)(?!\|)/,li.key=h(M,Oe),li.unit="px";class oi extends Rt{}oi.matches=/^(bg|background):(space|round|repeat|no-repeat|repeat-x|repeat-y)(?![;a-zA-Z])/,oi.key=h(M,E);class di extends Rt{}di.matches=/^(bg|background):((auto|cover|contain)(?!\|)|\.?\d((?!\|).)*$)/,di.key=h(M,ye);class hi extends Rt{}hi.matches=/^(bg|background):(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,hi.key=h(M,R),hi.colorful=!0;class ui extends Rt{constructor(){super(...arguments),this.order=-1}}ui.matches=/^bg:./,ui.key=M,ui.colorful=!0;class fi extends Rt{}fi.matches=/^blend:./,fi.key=h("mix",A,L);class mi extends Rt{}mi.key=Oe,mi.values={abs:"absolute",rel:"relative"},mi.semantics={static:"static",fixed:"fixed",abs:"absolute",rel:"relative",sticky:"sticky"};class pi extends Rt{get props(){const e=this.prefix.slice(0,-1);switch(e){case qt:case Zt:case Ft:case Pt:return{[e]:this};case"center":return{left:this,right:this,"margin-left":Object.assign(Object.assign({},this),{unit:""}),"margin-right":Object.assign(Object.assign({},this),{unit:""})};case"middle":return{top:this,bottom:this,"margin-top":Object.assign(Object.assign({},this),{unit:""}),"margin-bottom":Object.assign(Object.assign({},this),{unit:""})}}}}function xi(e,t){let s="",i=0;return function r(n,a){let c="";const l=a?t(a):"",o=()=>{c&&(s+=!l||Number.isNaN(+c)?c:+c/(l===je?16:1)+l,c="")};for(;i<e.length;i++){const t=e[i];if(t===n&&("'"!==n||")"===e[i+1])){o(),s+=t;break}","===t||" "===t?(o(),s+=t):c||"'"!==t?c&&"("===t?(s+=c+t,i++,r(")",c),c=""):c+=t:(s+=t,i++,r(t),c="")}o()}(),s}pi.matches=/^(top|left|right|bottom|center|middle):./;class bi extends Rt{get props(){return{"backdrop-filter":this,"-webkit-backdrop-filter":this}}get parseValue(){return xi(this.value,(e=>{switch(e){case He:case h(Je,N):return je;case h("hue",te):return se}return""}))}}bi.matches=/^bd:./,bi.key=h("backdrop",z);class gi extends Rt{}gi.key=le,gi.colorStarts="fill:",gi.colorful=!0,gi.values={current:b};class yi extends Rt{}yi.key=$,yi.colorful=!0;class ki extends Rt{}ki.matches=/^stroke:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,ki.key=h($,U);class vi extends Rt{get parseValue(){return xi(this.value,(e=>{switch(e){case He:case h(Je,N):return je;case h("hue",te):return se}return""}))}}vi.matches=/^(blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\(/,vi.key=z;class wi extends Rt{}wi.key="cursor";class Oi extends Rt{}Oi.key=h("pointer","events"),Oi.semantics={untouchable:"none"};class ji extends Rt{}ji.key="resize";class Si extends Rt{}Si.key=h("touch","action");class Ni extends Rt{get props(){return{"user-drag":this,"-webkit-user-drag":this}}}Ni.key=h(I,"drag");class Ii extends Rt{get props(){return{"user-select":this,"-webkit-user-select":this}}}Ii.key=h(I,"select");class Wi extends Rt{}Wi.matches=/^s(?:hadow)?:./,Wi.key=h(ce,N),Wi.colorful=!0;class Ri extends Rt{}Ri.key=h(he,N),Ri.colorful=!0;class $i extends Rt{get props(){return{"font-size":this,"line-height":Object.assign(Object.assign({},this),{value:this.unit===je?this.value+.375+this.unit:"calc("+this.value+this.unit+" + .375rem)",unit:""})}}}$i.id="textSize",$i.matches=/^t(ext)?:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/;class zi extends Rt{}zi.key=h(pe,ge),zi.unit="";class Ai extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,k,w)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+Y+"max(0"+",1fr))"})}}}Ai.matches=/^grid-cols:./,Ai.key=h(H,w),Ai.unit="";class Mi extends Rt{get props(){return{[ne]:Object.assign(Object.assign({},this),{value:H}),[h(H,ke,y)]:Object.assign(Object.assign({},this),{value:v}),[h(H,k,S)]:Object.assign(Object.assign({},this),{value:"repeat("+this.value+g+Y+"max(0"+",1fr))"})}}}Mi.key=h(H,S),Mi.unit="";class Ei extends Rt{constructor(){super(...arguments),this.order=-1}get props(){switch(this.prefix[4]){case F:return{[h(v,O)]:this};case Z:return{[h(j,O)]:this};default:return{[O]:this}}}}Ei.id="gap",Ei.matches=/^gap(-x|-y)?:./;class Ci extends Rt{}Ci.key=h(pe,We);class Vi extends Rt{get props(){return{["--"+this.prefix.slice(1,-1)]:this}}}Vi.id="variable",Vi.matches=/^\$.+:./,Vi.unit="";class _i extends Rt{}_i.matches=/^aspect:./,_i.key=h("aspect","ratio"),_i.unit="",_i.semantics={square:"1/1",video:"16/9"};class Ti extends Rt{get props(){return{"box-decoration-break":this,"-webkit-box-decoration-break":this}}}Ti.matches=/^box:(slice|clone)(?!\|)/,Ti.key=h(ce,be,ge);class Li extends Rt{}Li.key=h(ge,"after");class qi extends Rt{}qi.key=h(ge,"before");class Pi extends Rt{}Pi.key=h(ge,"inside");class Zi extends Rt{}Zi.key=h(G,"shrink"),Zi.unit="";class Fi extends Rt{}Fi.matches=/^flex:((row|col|column)(-reverse)?)(?!\|)/,Fi.key=h(G,T),Fi.values={col:v,"col-reverse":h(v,"reverse")};class Qi extends Rt{}Qi.key=h(G,"grow"),Qi.unit="";class Ui extends Rt{}Ui.matches=/^flex:(wrap(-reverse)?|nowrap)(?!\|)/,Ui.key=h(G,"wrap");class Xi extends Rt{}Xi.key=h(G,"basis"),Xi.values=Ke;class Yi extends Rt{constructor(){super(...arguments),this.order=-1}}Yi.key=G,Yi.unit="";const Bi="999999";class Di extends Rt{}Di.matches=/^o:./,Di.key="order",Di.values={first:"-999999",last:Bi},Di.unit="";class Gi extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Gi.matches=/^grid-col(?:umn)?(?:-span)?:./,Gi.key=h(H,v),Gi.unit="";class Hi extends Rt{}Hi.matches=/^col-span:./,Hi.key=h(v,Te);class Ji extends Rt{constructor(){super(...arguments),this.order=-1}get parseValue(){return"span"===this.prefix.slice(-5,-1)&&"auto"!==this.value?"span "+this.value+"/"+"span "+this.value:this.value}}Ji.matches=/^grid-row-span:./,Ji.key=h(H,j),Ji.unit="";class Ki extends Rt{}Ki.matches=/^(font-color:.|font:current)/,Ki.colorStarts="(?:f(ont)?|color):",Ki.colorful=!0,Ki.key=C,Ki.unit="",Ki.values={current:b};class er extends Rt{}er.matches=/^ac:./,er.key=h(ue,W);class tr extends Rt{}tr.matches=/^ai:./,tr.key=h(ue,qe);class sr extends Rt{}sr.matches=/^as:./,sr.key=h(ue,Pe);class ir extends Rt{}ir.matches=/^grid-auto-cols:./,ir.key=h(H,ke,w),ir.values={min:h(Y,W),max:h(X,W)};class rr extends Rt{}rr.matches=/^grid-flow:./,rr.key=h(H,ke,y);class nr extends Rt{}nr.key=h(H,ke,S),nr.values={min:h(Y,W),max:h(X,W)};class ar extends Rt{}ar.matches=/^jc:./,ar.key=h(Le,W);class cr extends Rt{}cr.matches=/^ji:./,cr.key=h(Le,qe);class lr extends Rt{}lr.matches=/^js:./,lr.key=h(Le,Pe);class or extends Rt{constructor(){super(...arguments),this.order=-1}}or.key=h(Ze,W);class dr extends Rt{constructor(){super(...arguments),this.order=-1}}dr.key=h(Ze,qe);class hr extends Rt{constructor(){super(...arguments),this.order=-1}}hr.key=h(Ze,Pe);class ur extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"padding:"===this.prefix?-1:0}}ur.id="padding",ur.matches=/^padding(?:-(?:left|right|top|bottom))?:./;class fr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}get order(){return"margin:"===this.prefix?-1:0}}fr.id="margin",fr.matches=/^margin(-(left|right|top|bottom))?:./;class mr extends Rt{}mr.matches=/^(text-(overflow|ovf):.|t(ext)?:(ellipsis|clip)(?!\|))/,mr.key=h(he,"overflow");class pr extends Rt{}pr.matches=/^list-style:(inside|outside)(?!\|)/,pr.key=h(Ve,Se,Oe);class xr extends Rt{}xr.matches=/^list-style:(disc|decimal)(?!\|)/,xr.key=h(Ve,Se,Fe);class br extends Rt{constructor(){super(...arguments),this.order=-1}}br.key=h(Ve,Se);class gr extends Rt{}gr.key=h(he,be,C),gr.colorStarts="text-decoration:",gr.colorful=!0,gr.values={current:b};class yr extends Rt{}yr.matches=/^t(ext)?:(solid|double|dotted|dashed|wavy)(?!\|)/,yr.key=h(he,be,Se);class kr extends Rt{}kr.matches=/^text-decoration:(from-font(?!\|)|([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$)/,kr.key=h(he,be,"thickness"),kr.unit="em";class vr extends Rt{}vr.key=h(he,"indent");class wr extends Rt{}wr.key=W;class Or extends Rt{}Or.key=h(Ue,C),Or.colorStarts="outline:",Or.colorful=!0,Or.values={current:b};class jr extends Rt{}jr.key=h(Ue,Qe);class Sr extends Rt{}Sr.matches=/^outline:(none|dotted|dashed|solid|double|groove|ridge|inset|outset)(?!\|)/,Sr.key=h(Ue,Se);class Nr extends Rt{}Nr.matches=/^outline:(medium|thick|thin|[0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,Nr.key=h(Ue,U);class Ir extends Rt{constructor(){super(...arguments),this.order=-1}}Ir.key=Ue,Ir.colorful=!0;class Wr extends Rt{}Wr.matches=/^b(order)?:(collapse|separate)(?!\|)/,Wr.key=h(u,"collapse");class Rr extends Rt{}Rr.key=h(u,We);class $r extends Rt{}$r.key=h(Ee,"layout");class zr extends Rt{}zr.key=h("accent",C),zr.colorStarts="accent:",zr.colorful=!0;class Ar extends Rt{}Ar.key="appearance";class Mr extends Rt{}Mr.key=h("caret",C),Mr.matches=/^caret:transparent(?!\|)/,Mr.colorStarts="caret:",Mr.colorful=!0,Mr.values={current:b};class Er extends Rt{}Er.key=h(V,q);class Cr extends Rt{get props(){if("m"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:this};{const e=h(V,m)+"-",t=e+Zt,s=e+Ft,i=e+qt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Ut:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===h(V,m)+":"||this.prefix===h(V,"m:")?-1:0}}Cr.id="scrollMargin",Cr.matches=/^scroll-m([xytblr]|argin(-(top|bottom|left|right))?)?:./;class Vr extends Rt{get props(){if("p"!==this.prefix.slice(-3,-2))return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:this};{const e=h(V,p)+"-",t=e+Zt,s=e+Ft,i=e+qt,r=e+Pt;switch(this.prefix.slice(-2,-1)){case Bt:return{[t]:this,[s]:this};case Dt:return{[i]:this,[r]:this};case Qt:return{[t]:this};case Ut:return{[s]:this};case Xt:return{[i]:this};case Yt:return{[r]:this}}}}get order(){return this.prefix===h(V,p)+":"||this.prefix===h(V,"p:")?-1:0}}Vr.id="scrollPadding",Vr.matches=/^scroll-p([xytblr]|adding(-(top|bottom|left|right))?)?:./;class _r extends Rt{}_r.matches=/^scroll-snap:(start|end|center)/,_r.key=h(V,Xe,ue);class Tr extends Rt{}Tr.matches=/^scroll-snap:(normal|always)(?!\|)/,Tr.key=h(V,Xe,"stop");class Lr extends Rt{}Lr.matches=/^scroll-snap:(([xy]|block|inline|both)(\|(proximity|mandatory))?)(?!\|)/,Lr.key=h(V,Xe,Fe);class qr extends Rt{}qr.key="will-change";class Pr extends Rt{}Pr.key=h(he,"underline",Qe);class Zr extends Rt{get props(){return{[this.prefix.slice(0,-1)]:this}}}Zr.matches=/^(?:top|bottom|left|right):./,Zr.key="inset";class Fr extends Rt{constructor(){super(...arguments),this.order=-1}}Fr.matches=/^(columns|cols):./,Fr.key=w,Fr.unit="";class Qr extends Rt{}Qr.key=h("white",xe),Qr.unit="";class Ur extends Rt{}Ur.matches=/^t(ext)?:(mixed|upright|sideways-right|sideways|use-glyph-orientation)(?!\|)/,Ur.key=h(he,"orientation");class Xr extends Rt{}Xr.key=h("writing",L);class Yr extends Rt{}Yr.key="contain";class Br extends Rt{}Br.matches=/^\@duration:./,Br.key=h(_,re),Br.unit="ms";class Dr extends Rt{}Dr.matches=/^t(ext)?:(optimizeSpeed|optimizeLegibility|geometricPrecision)(?!\|)/,Dr.key=h(he,"rendering");class Gr extends Rt{}Gr.key=T;class Hr extends Rt{}Hr.matches=/^t(ext)?:(none|underline|overline|line-through)(?!\|)/,Hr.key=h(he,be,ve);class Jr extends Rt{}Jr.matches=/^grid-col-start:./,Jr.key=h(H,v,Ge),Jr.unit="";class Kr extends Rt{}Kr.matches=/^list-style:(url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)((?!\|).)*$/,Kr.key=h(Ve,Se,R);class en extends Rt{}en.matches=/^shape:((margin|content|border|padding)(?!\|)|(inset|circle|ellipse|polygon|url|linear-gradient)\(.*\)((?!\|).)*$)/,en.key=h(Ye,"outside"),en.values={content:h(W,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce)};class tn extends Rt{}tn.matches=/^shape:([0-9]|(max|min|calc|clamp)\(.*\))((?!\|).)*$/,tn.key=h(Ye,m);class sn extends Rt{}sn.key=h(Ye,R,"threshold"),sn.unit="";class rn extends Rt{}rn.matches=/^clip:./,rn.key=h(oe,"path"),rn.values={content:h(W,ce),border:h(u,ce),padding:h(p,ce),margin:h(m,ce),fill:h(le,ce),stroke:h($,ce),view:h(Be,ce)};class nn extends Rt{constructor(){super(...arguments),this.order=-1}}nn.key=H;class an extends Rt{constructor(){super(...arguments),this.order=-1}}an.matches=/^f:./,an.key=x,an.unit="",an.colorful=!0;class cn extends Rt{}cn.key="quotes";class ln extends Rt{constructor(){super(...arguments),this.order=-1}}ln.key=h(H,k);class on extends Rt{}on.key=h(H,j,Ge),on.unit="";class dn extends Rt{}dn.key=h(H,k,De)+"s";class hn extends Rt{}hn.matches=/^grid-template-cols:./,hn.key=h(H,k,w),hn.values={min:h(Y,W),max:h(X,W)};class un extends Rt{}un.key=h(H,k,S),un.values={min:h(Y,W),max:h(X,W)};class fn extends Rt{constructor(){super(...arguments),this.order=-1}}fn.key=h(H,De),fn.unit="";class mn extends Rt{}mn.matches=/^grid-col-end:./,mn.key=h(H,v,"end"),mn.unit="";class pn extends Rt{}pn.key=h(H,j,"end"),pn.unit="";class xn extends Rt{get props(){return{"mask-image":this,"-webkit-mask-image":this}}}xn.key=h("mask",R);class bn extends Rt{get props(){return{"-webkit-text-fill-color":this}}}bn.id="textFillColor",bn.matches=/^text-fill-color:./,bn.colorStarts="text-fill:",bn.colorful=!0,bn.values={current:b};class gn extends Rt{get props(){return{"-webkit-text-stroke":this}}}gn.id="textStroke",gn.matches=/^text-stroke:./;class yn extends Rt{get props(){return{"-webkit-text-stroke-width":this}}}yn.id="textStrokeWidth",yn.matches=/^text-stroke(:((thin|medium|thick)(?!\|)|\.?\d((?!\|).)*$)|-width:.)/;class kn extends Rt{get props(){return{"-webkit-text-stroke-color":this}}}kn.id="textStrokeColor",kn.matches=/^text-stroke-color:./,kn.colorStarts="text-stroke:",kn.colorful=!0,kn.values={current:b};class vn extends Rt{}vn.key=h($,"dasharray");class wn extends Rt{}wn.key=h($,"dash")+Qe;class On extends Rt{}On.key="x",On.unit="";class jn extends Rt{}jn.key="y",jn.unit="";class Sn extends Rt{}Sn.key="cx",Sn.unit="";class Nn extends Rt{}Nn.key="cy",Nn.unit="";class In extends Rt{}In.key="rx",In.unit="";class Wn extends Rt{}Wn.key="ry",Wn.unit="";class Rn extends Rt{}Rn.key=h(u,R,"outset");class $n extends Rt{}$n.matches=/^border-image:(?:stretch|repeat|round|space)(?:(?!\|).)*$/,$n.key=h(u,R,E);class zn extends Rt{}zn.key=h(u,R,"slice"),zn.unit="";class An extends Rt{}An.matches=/^border-image:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\(.*\)(?:(?!\|).)*$/,An.key=h(u,R,"source");class Mn extends Rt{}Mn.matches=/^border-image:(?:\.?[0-9]|(max|min|calc|clamp)\(.*\))(?:(?!\|).)*$/,Mn.key=h(u,R,U);class En extends Rt{}En.key=h(u,R),En.unit="";const Cn=/\{(.*)\}/;class Vn extends Rt{get props(){const e={},t=t=>{const s=t.indexOf(":");if(-1!==s){const i=t.slice(0,s);i in e||(e[i]={value:t.slice(s+1)})}},s=e=>{const s=e.text.slice(CSS.escape(e.name).length).match(Cn)[1].split(";");for(const e of s)t(e)},i=[];let r="";const n=()=>{r&&(i.push(r),r="")};let a=1;const c=e=>{for(;a<this.value.length;a++){const t=this.value[a];if(!e){if(";"===t){n();continue}if("}"===t)break}if(r+=t,e===t){if("'"===e){let e=0;for(let t=r.length-2;"\\"===r[t];t--)e++;if(e%2)continue}break}t in l&&"'"!==e&&(a++,c(l[t]))}};c(void 0),n();for(const e of i){const i=Ct.findAndNew(e);if(Array.isArray(i))for(const e of i)s(e);else i?s(i):t(e)}return e}}Vn.id=Ce,Vn.matches=/^(?:.+?[*_>~+])?\{.+?\}/,Vn.unit="";class _n extends Rt{}_n.key="counter-increment",_n.unit="";var Tn=s(580),Ln=s.n(Tn);class qn extends Rt{}qn.semantics={"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1",height:"1",padding:"0",margin:"-1",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":ke,"margin-right":ke},middle:{top:0,bottom:0,"margin-top":ke,"margin-bottom":ke},"break-spaces":{"white-space":h(ge,xe)+"s"},"break-word":{"overflow-wrap":h(ge,pe),overflow:ae}};const Pn="undefined"!=typeof window,Zn=[qn,Vn,Vi,Vt,Tt,Ki,Gt,fr,ur,Lt,Xi,Ui,Qi,Zi,Fi,Yi,Is,Ht,Jt,Kt,es,Yr,wr,_n,ts,ns,as,cs,an,ls,os,ds,hs,gr,yr,kr,Hr,us,Pr,mr,Ur,fs,Dr,vr,ms,Fr,Qr,Zr,ps,Ss,Ns,Ws,Rs,$s,zs,As,Ms,Es,Cs,Vs,mi,pi,wi,Oi,ji,Si,zi,Ci,Ni,Ii,Ri,$i,bn,yn,kn,gn,Wi,$r,gs,bs,xs,ys,Os,js,ws,vs,ks,_s,Ts,Br,Ls,qs,Ps,Zs,Fs,Qs,Xs,Ks,ei,ti,Wr,Rr,si,Rn,$n,zn,An,Mn,En,ii,ri,ni,ai,ci,li,oi,di,hi,ui,fi,bi,vi,gi,vn,wn,ki,yi,On,jn,Sn,Nn,In,Wn,Jr,mn,Gi,Ai,on,pn,Ji,Mi,ir,rr,nr,dn,hn,un,ln,fn,nn,Ei,Di,Pi,qi,Li,Ti,_i,Hi,er,tr,sr,ar,cr,lr,or,dr,hr,pr,xr,Kr,br,Or,jr,Sr,Nr,Ir,zr,Ar,Mr,Er,Cr,Vr,_r,Tr,Lr,qr,Xr,Gr,en,tn,sn,rn,cn,xn],Fn=Zn.get=e=>Zn.find((t=>{var s;return e===t.id||e===(null===(s=t.key)||void 0===s?void 0:s.replace(/-./g,(e=>e[1].toUpperCase())))||e===t.key}));function Qn(){if(Pn){const e=new Ct(document.head);Ct.root=e,e.observe(document.documentElement)}}Zn.extend=function(e,...t){const s=Object.assign({},...t);for(const t in s){const i=Fn(t);if(i){const r=s[t];i.extend(e,r)}}return this},Rt.extend("colors",Ln()).extend("breakpoints",d()),Ct.Styles.push(...Zn);Pn&&(window.initMasterCSS=Qn,window.MasterStyles=Zn,window.MasterCSSManual||Qn());const Un=s(580),Xn=s(642)})(),i})()}));
|
package/package.json
CHANGED
package/render.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyleSheet } from './';
|
|
2
2
|
import './polyfills/css-escape';
|
|
3
3
|
export declare function render(html: string, options: {
|
|
4
|
-
Style: typeof Style;
|
|
5
4
|
StyleSheet: typeof StyleSheet;
|
|
6
5
|
}): {
|
|
7
6
|
stylesCss: string;
|
|
8
|
-
colorsCss: string;
|
|
9
|
-
colorsMetaContent: string;
|
|
10
7
|
html: string;
|
|
11
8
|
};
|
package/render.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{var e={131:function(e,t,r){var
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["@master/styles"]=t():e["@master/styles"]=t()}(this,(function(){return(()=>{var e={131:function(e,t,r){var n;n=void 0!==r.g?r.g:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,r=String(e),n=r.length,o=-1,s="",i=r.charCodeAt(0);++o<n;)0!=(t=r.charCodeAt(o))?s+=t>=1&&t<=31||127==t||0==o&&t>=48&&t<=57||1==o&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==o&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(o):r.charAt(o):s+="�";return s};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{render:()=>e});r(131);function e(e,t){if(!e)return{stylesCss:"",html:e};const r=new(0,t.StyleSheet),n=/\sclass="([^"]*)"/gm;let o;for(;o=n.exec(e);){const e=o[1].replace(/\n/g,"").split(" ").filter((e=>e));for(const t of e)t in r.countOfName||(r.findAndInsert(t),r.countOfName[t]=1)}const s=r.styles.map((e=>e.text)).join("");return{stylesCss:s,html:e.includes("<head>")?e.replace(/(<head>)/,`$1\n <style id="master-styles">${s}</style>`):e}}})(),n})()}));
|
package/style.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ export declare class Style {
|
|
|
34
34
|
static symbol: string;
|
|
35
35
|
static unit: string;
|
|
36
36
|
static colorful: boolean;
|
|
37
|
-
static rgbColors: Record<string, Record<string, string>>;
|
|
38
37
|
static readonly values: Record<string, any>;
|
|
39
38
|
static readonly semantics: {
|
|
40
39
|
[key: string]: any;
|
package/breakpoints.d.ts
DELETED
package/colors.d.ts
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
fade: {
|
|
3
|
-
10: string;
|
|
4
|
-
20: string;
|
|
5
|
-
30: string;
|
|
6
|
-
40: string;
|
|
7
|
-
50: string;
|
|
8
|
-
60: string;
|
|
9
|
-
70: string;
|
|
10
|
-
80: string;
|
|
11
|
-
90: string;
|
|
12
|
-
};
|
|
13
|
-
gray: {
|
|
14
|
-
10: string;
|
|
15
|
-
20: string;
|
|
16
|
-
30: string;
|
|
17
|
-
40: string;
|
|
18
|
-
50: string;
|
|
19
|
-
60: string;
|
|
20
|
-
70: string;
|
|
21
|
-
80: string;
|
|
22
|
-
90: string;
|
|
23
|
-
};
|
|
24
|
-
brown: {
|
|
25
|
-
10: string;
|
|
26
|
-
20: string;
|
|
27
|
-
30: string;
|
|
28
|
-
40: string;
|
|
29
|
-
50: string;
|
|
30
|
-
60: string;
|
|
31
|
-
70: string;
|
|
32
|
-
80: string;
|
|
33
|
-
90: string;
|
|
34
|
-
};
|
|
35
|
-
orange: {
|
|
36
|
-
10: string;
|
|
37
|
-
20: string;
|
|
38
|
-
30: string;
|
|
39
|
-
40: string;
|
|
40
|
-
50: string;
|
|
41
|
-
60: string;
|
|
42
|
-
70: string;
|
|
43
|
-
80: string;
|
|
44
|
-
90: string;
|
|
45
|
-
};
|
|
46
|
-
gold: {
|
|
47
|
-
10: string;
|
|
48
|
-
20: string;
|
|
49
|
-
30: string;
|
|
50
|
-
40: string;
|
|
51
|
-
50: string;
|
|
52
|
-
60: string;
|
|
53
|
-
70: string;
|
|
54
|
-
80: string;
|
|
55
|
-
90: string;
|
|
56
|
-
};
|
|
57
|
-
yellow: {
|
|
58
|
-
10: string;
|
|
59
|
-
20: string;
|
|
60
|
-
30: string;
|
|
61
|
-
40: string;
|
|
62
|
-
50: string;
|
|
63
|
-
60: string;
|
|
64
|
-
70: string;
|
|
65
|
-
80: string;
|
|
66
|
-
90: string;
|
|
67
|
-
};
|
|
68
|
-
grass: {
|
|
69
|
-
10: string;
|
|
70
|
-
20: string;
|
|
71
|
-
30: string;
|
|
72
|
-
40: string;
|
|
73
|
-
50: string;
|
|
74
|
-
60: string;
|
|
75
|
-
70: string;
|
|
76
|
-
80: string;
|
|
77
|
-
90: string;
|
|
78
|
-
};
|
|
79
|
-
green: {
|
|
80
|
-
10: string;
|
|
81
|
-
20: string;
|
|
82
|
-
30: string;
|
|
83
|
-
40: string;
|
|
84
|
-
50: string;
|
|
85
|
-
60: string;
|
|
86
|
-
70: string;
|
|
87
|
-
80: string;
|
|
88
|
-
90: string;
|
|
89
|
-
};
|
|
90
|
-
beryl: {
|
|
91
|
-
10: string;
|
|
92
|
-
20: string;
|
|
93
|
-
30: string;
|
|
94
|
-
40: string;
|
|
95
|
-
50: string;
|
|
96
|
-
60: string;
|
|
97
|
-
70: string;
|
|
98
|
-
80: string;
|
|
99
|
-
90: string;
|
|
100
|
-
};
|
|
101
|
-
teal: {
|
|
102
|
-
10: string;
|
|
103
|
-
20: string;
|
|
104
|
-
30: string;
|
|
105
|
-
40: string;
|
|
106
|
-
50: string;
|
|
107
|
-
60: string;
|
|
108
|
-
70: string;
|
|
109
|
-
80: string;
|
|
110
|
-
90: string;
|
|
111
|
-
};
|
|
112
|
-
cyan: {
|
|
113
|
-
10: string;
|
|
114
|
-
20: string;
|
|
115
|
-
30: string;
|
|
116
|
-
40: string;
|
|
117
|
-
50: string;
|
|
118
|
-
60: string;
|
|
119
|
-
70: string;
|
|
120
|
-
80: string;
|
|
121
|
-
90: string;
|
|
122
|
-
};
|
|
123
|
-
sky: {
|
|
124
|
-
10: string;
|
|
125
|
-
20: string;
|
|
126
|
-
30: string;
|
|
127
|
-
40: string;
|
|
128
|
-
50: string;
|
|
129
|
-
60: string;
|
|
130
|
-
70: string;
|
|
131
|
-
80: string;
|
|
132
|
-
90: string;
|
|
133
|
-
};
|
|
134
|
-
blue: {
|
|
135
|
-
10: string;
|
|
136
|
-
20: string;
|
|
137
|
-
30: string;
|
|
138
|
-
40: string;
|
|
139
|
-
50: string;
|
|
140
|
-
60: string;
|
|
141
|
-
70: string;
|
|
142
|
-
80: string;
|
|
143
|
-
90: string;
|
|
144
|
-
};
|
|
145
|
-
indigo: {
|
|
146
|
-
10: string;
|
|
147
|
-
20: string;
|
|
148
|
-
30: string;
|
|
149
|
-
40: string;
|
|
150
|
-
50: string;
|
|
151
|
-
60: string;
|
|
152
|
-
70: string;
|
|
153
|
-
80: string;
|
|
154
|
-
90: string;
|
|
155
|
-
};
|
|
156
|
-
violet: {
|
|
157
|
-
10: string;
|
|
158
|
-
20: string;
|
|
159
|
-
30: string;
|
|
160
|
-
40: string;
|
|
161
|
-
50: string;
|
|
162
|
-
60: string;
|
|
163
|
-
70: string;
|
|
164
|
-
80: string;
|
|
165
|
-
90: string;
|
|
166
|
-
};
|
|
167
|
-
purple: {
|
|
168
|
-
10: string;
|
|
169
|
-
20: string;
|
|
170
|
-
30: string;
|
|
171
|
-
40: string;
|
|
172
|
-
50: string;
|
|
173
|
-
60: string;
|
|
174
|
-
70: string;
|
|
175
|
-
80: string;
|
|
176
|
-
90: string;
|
|
177
|
-
};
|
|
178
|
-
fuchsia: {
|
|
179
|
-
10: string;
|
|
180
|
-
20: string;
|
|
181
|
-
30: string;
|
|
182
|
-
40: string;
|
|
183
|
-
50: string;
|
|
184
|
-
60: string;
|
|
185
|
-
70: string;
|
|
186
|
-
80: string;
|
|
187
|
-
90: string;
|
|
188
|
-
};
|
|
189
|
-
pink: {
|
|
190
|
-
10: string;
|
|
191
|
-
20: string;
|
|
192
|
-
30: string;
|
|
193
|
-
40: string;
|
|
194
|
-
50: string;
|
|
195
|
-
60: string;
|
|
196
|
-
70: string;
|
|
197
|
-
80: string;
|
|
198
|
-
90: string;
|
|
199
|
-
};
|
|
200
|
-
crimson: {
|
|
201
|
-
10: string;
|
|
202
|
-
20: string;
|
|
203
|
-
30: string;
|
|
204
|
-
40: string;
|
|
205
|
-
50: string;
|
|
206
|
-
60: string;
|
|
207
|
-
70: string;
|
|
208
|
-
80: string;
|
|
209
|
-
90: string;
|
|
210
|
-
};
|
|
211
|
-
red: {
|
|
212
|
-
10: string;
|
|
213
|
-
20: string;
|
|
214
|
-
30: string;
|
|
215
|
-
40: string;
|
|
216
|
-
50: string;
|
|
217
|
-
60: string;
|
|
218
|
-
70: string;
|
|
219
|
-
80: string;
|
|
220
|
-
90: string;
|
|
221
|
-
};
|
|
222
|
-
black: string;
|
|
223
|
-
white: string;
|
|
224
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function generateColorVariablesText(colorName: string, rgbColors: Record<string, string>): string;
|
package/utils/hex-to-rgb.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hexToRgb(hex: string): number[];
|
package/utils/rgb-to-hex.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function rgbToHex(r: number, g: number, b: number): string;
|