@react-email/tailwind 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +20 -20
- package/dist/index.mjs +281 -272
- package/dist/tailwind.d.ts.map +1 -1
- package/dist/utils/css/remove-if-empty-recursively.d.ts +3 -0
- package/dist/utils/css/remove-if-empty-recursively.d.ts.map +1 -0
- package/dist/utils/css/remove-rule-duplicates-from-root.d.ts +3 -0
- package/dist/utils/css/remove-rule-duplicates-from-root.d.ts.map +1 -0
- package/dist/utils/css/resolve-all-css-variables.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as Ms } from "react/jsx-runtime";
|
|
2
2
|
import * as mr from "react";
|
|
3
3
|
import gt from "react";
|
|
4
|
-
var
|
|
4
|
+
var ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function Qe(s) {
|
|
6
6
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
|
7
7
|
}
|
|
@@ -26,19 +26,19 @@ function Is(s) {
|
|
|
26
26
|
});
|
|
27
27
|
}), t;
|
|
28
28
|
}
|
|
29
|
-
var bn = { exports: {} }, Re = String,
|
|
29
|
+
var bn = { exports: {} }, Re = String, Di = function() {
|
|
30
30
|
return { isColorSupported: !1, reset: Re, bold: Re, dim: Re, italic: Re, underline: Re, inverse: Re, hidden: Re, strikethrough: Re, black: Re, red: Re, green: Re, yellow: Re, blue: Re, magenta: Re, cyan: Re, white: Re, gray: Re, bgBlack: Re, bgRed: Re, bgGreen: Re, bgYellow: Re, bgBlue: Re, bgMagenta: Re, bgCyan: Re, bgWhite: Re };
|
|
31
31
|
};
|
|
32
|
-
bn.exports =
|
|
33
|
-
bn.exports.createColors =
|
|
32
|
+
bn.exports = Di();
|
|
33
|
+
bn.exports.createColors = Di;
|
|
34
34
|
var Rs = bn.exports;
|
|
35
35
|
const $s = {}, Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
36
36
|
__proto__: null,
|
|
37
37
|
default: $s
|
|
38
38
|
}, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Is(Ds);
|
|
39
|
-
let
|
|
39
|
+
let ii = Rs, ai = Le, Dr = class Ni extends Error {
|
|
40
40
|
constructor(e, t, r, n, l, i) {
|
|
41
|
-
super(e), this.name = "CssSyntaxError", this.reason = e, l && (this.file = l), n && (this.source = n), i && (this.plugin = i), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this,
|
|
41
|
+
super(e), this.name = "CssSyntaxError", this.reason = e, l && (this.file = l), n && (this.source = n), i && (this.plugin = i), typeof t < "u" && typeof r < "u" && (typeof t == "number" ? (this.line = t, this.column = r) : (this.line = t.line, this.column = t.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, Ni);
|
|
42
42
|
}
|
|
43
43
|
setMessage() {
|
|
44
44
|
this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", typeof this.line < "u" && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason;
|
|
@@ -47,10 +47,10 @@ let ni = Rs, ii = Le, Dr = class Di extends Error {
|
|
|
47
47
|
if (!this.source)
|
|
48
48
|
return "";
|
|
49
49
|
let t = this.source;
|
|
50
|
-
e == null && (e =
|
|
50
|
+
e == null && (e = ii.isColorSupported), ai && e && (t = ai(t));
|
|
51
51
|
let r = t.split(/\r?\n/), n = Math.max(this.line - 3, 0), l = Math.min(this.line + 2, r.length), i = String(l).length, c, a;
|
|
52
52
|
if (e) {
|
|
53
|
-
let { bold: o, gray: f, red: u } =
|
|
53
|
+
let { bold: o, gray: f, red: u } = ii.createColors(!0);
|
|
54
54
|
c = (p) => o(u(p)), a = (p) => f(p);
|
|
55
55
|
} else
|
|
56
56
|
c = a = (o) => o;
|
|
@@ -78,7 +78,7 @@ Dr.default = Dr;
|
|
|
78
78
|
var _t = {};
|
|
79
79
|
_t.isClean = Symbol("isClean");
|
|
80
80
|
_t.my = Symbol("my");
|
|
81
|
-
const
|
|
81
|
+
const si = {
|
|
82
82
|
after: `
|
|
83
83
|
`,
|
|
84
84
|
beforeClose: `
|
|
@@ -163,7 +163,7 @@ let Nr = class {
|
|
|
163
163
|
if (r === "before" && (!l || l.type === "root" && l.first === e || l && l.type === "document"))
|
|
164
164
|
return "";
|
|
165
165
|
if (!l)
|
|
166
|
-
return
|
|
166
|
+
return si[r];
|
|
167
167
|
let i = e.root();
|
|
168
168
|
if (i.rawCache || (i.rawCache = {}), typeof i.rawCache[r] < "u")
|
|
169
169
|
return i.rawCache[r];
|
|
@@ -176,7 +176,7 @@ let Nr = class {
|
|
|
176
176
|
return !1;
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
return typeof n > "u" && (n =
|
|
179
|
+
return typeof n > "u" && (n = si[r]), i.rawCache[r] = n, n;
|
|
180
180
|
}
|
|
181
181
|
rawBeforeClose(e) {
|
|
182
182
|
let t;
|
|
@@ -269,15 +269,15 @@ let Nr = class {
|
|
|
269
269
|
this[e.type](e, t);
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
|
-
var
|
|
272
|
+
var Li = Nr;
|
|
273
273
|
Nr.default = Nr;
|
|
274
|
-
let Ls =
|
|
274
|
+
let Ls = Li;
|
|
275
275
|
function Lr(s, e) {
|
|
276
276
|
new Ls(e).stringify(s);
|
|
277
277
|
}
|
|
278
278
|
var Kt = Lr;
|
|
279
279
|
Lr.default = Lr;
|
|
280
|
-
let { isClean: Mt, my: Fs } = _t, zs = xn, Us =
|
|
280
|
+
let { isClean: Mt, my: Fs } = _t, zs = xn, Us = Li, js = Kt;
|
|
281
281
|
function Fr(s, e) {
|
|
282
282
|
let t = new s.constructor();
|
|
283
283
|
for (let r in s) {
|
|
@@ -511,7 +511,7 @@ let Ws = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Bs
|
|
|
511
511
|
return e;
|
|
512
512
|
};
|
|
513
513
|
var Gs = { nanoid: qs, customAlphabet: Bs };
|
|
514
|
-
let { SourceMapConsumer:
|
|
514
|
+
let { SourceMapConsumer: oi, SourceMapGenerator: li } = Le, { existsSync: Ys, readFileSync: Hs } = Le, { dirname: gr, join: Qs } = Le;
|
|
515
515
|
function Js(s) {
|
|
516
516
|
return Buffer ? Buffer.from(s, "base64").toString() : window.atob(s);
|
|
517
517
|
}
|
|
@@ -524,7 +524,7 @@ let jr = class {
|
|
|
524
524
|
!this.mapFile && t.from && (this.mapFile = t.from), this.mapFile && (this.root = gr(this.mapFile)), n && (this.text = n);
|
|
525
525
|
}
|
|
526
526
|
consumer() {
|
|
527
|
-
return this.consumerCache || (this.consumerCache = new
|
|
527
|
+
return this.consumerCache || (this.consumerCache = new oi(this.text)), this.consumerCache;
|
|
528
528
|
}
|
|
529
529
|
decodeInline(e) {
|
|
530
530
|
let t = /^data:application\/json;charset=utf-?8;base64,/, r = /^data:application\/json;base64,/, n = /^data:application\/json;charset=utf-?8,/, l = /^data:application\/json,/;
|
|
@@ -569,9 +569,9 @@ let jr = class {
|
|
|
569
569
|
return n;
|
|
570
570
|
}
|
|
571
571
|
} else {
|
|
572
|
-
if (t instanceof si)
|
|
573
|
-
return oi.fromSourceMap(t).toString();
|
|
574
572
|
if (t instanceof oi)
|
|
573
|
+
return li.fromSourceMap(t).toString();
|
|
574
|
+
if (t instanceof li)
|
|
575
575
|
return t.toString();
|
|
576
576
|
if (this.isMap(t))
|
|
577
577
|
return JSON.stringify(t);
|
|
@@ -595,13 +595,13 @@ let jr = class {
|
|
|
595
595
|
return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0);
|
|
596
596
|
}
|
|
597
597
|
};
|
|
598
|
-
var
|
|
598
|
+
var Fi = jr;
|
|
599
599
|
jr.default = jr;
|
|
600
|
-
let { SourceMapConsumer: Ks, SourceMapGenerator: Xs } = Le, { fileURLToPath:
|
|
600
|
+
let { SourceMapConsumer: Ks, SourceMapGenerator: Xs } = Le, { fileURLToPath: ui, pathToFileURL: It } = Le, { isAbsolute: Vr, resolve: Wr } = Le, { nanoid: Zs } = Gs, vr = Le, fi = xn, eo = Fi, yr = Symbol("fromOffsetCache"), to = !!(Ks && Xs), ci = !!(Wr && Vr), qt = class {
|
|
601
601
|
constructor(e, t = {}) {
|
|
602
602
|
if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
|
|
603
603
|
throw new Error(`PostCSS received ${e} instead of CSS string`);
|
|
604
|
-
if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, t.from && (!
|
|
604
|
+
if (this.css = e.toString(), this.css[0] === "\uFEFF" || this.css[0] === "" ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, t.from && (!ci || /^\w+:\/\//.test(t.from) || Vr(t.from) ? this.file = t.from : this.file = Wr(t.from)), ci && to) {
|
|
605
605
|
let r = new eo(this.css, t);
|
|
606
606
|
if (r.text) {
|
|
607
607
|
this.map = r;
|
|
@@ -630,14 +630,14 @@ let { SourceMapConsumer: Ks, SourceMapGenerator: Xs } = Le, { fileURLToPath: li,
|
|
|
630
630
|
t = o.line, r = o.col;
|
|
631
631
|
}
|
|
632
632
|
let a = this.origin(t, r, i, c);
|
|
633
|
-
return a ? l = new
|
|
633
|
+
return a ? l = new fi(
|
|
634
634
|
e,
|
|
635
635
|
a.endLine === void 0 ? a.line : { column: a.column, line: a.line },
|
|
636
636
|
a.endLine === void 0 ? a.column : { column: a.endColumn, line: a.endLine },
|
|
637
637
|
a.source,
|
|
638
638
|
a.file,
|
|
639
639
|
n.plugin
|
|
640
|
-
) : l = new
|
|
640
|
+
) : l = new fi(
|
|
641
641
|
e,
|
|
642
642
|
i === void 0 ? t : { column: r, line: t },
|
|
643
643
|
i === void 0 ? r : { column: c, line: i },
|
|
@@ -704,8 +704,8 @@ let { SourceMapConsumer: Ks, SourceMapGenerator: Xs } = Le, { fileURLToPath: li,
|
|
|
704
704
|
url: a.toString()
|
|
705
705
|
};
|
|
706
706
|
if (a.protocol === "file:")
|
|
707
|
-
if (
|
|
708
|
-
o.file =
|
|
707
|
+
if (ui)
|
|
708
|
+
o.file = ui(a);
|
|
709
709
|
else
|
|
710
710
|
throw new Error("file: protocol is not available in this PostCSS build");
|
|
711
711
|
let f = l.sourceContentFor(i.source);
|
|
@@ -724,7 +724,7 @@ let { SourceMapConsumer: Ks, SourceMapGenerator: Xs } = Le, { fileURLToPath: li,
|
|
|
724
724
|
var er = qt;
|
|
725
725
|
qt.default = qt;
|
|
726
726
|
vr && vr.registerInput && vr.registerInput(qt);
|
|
727
|
-
let { SourceMapConsumer:
|
|
727
|
+
let { SourceMapConsumer: zi, SourceMapGenerator: Wt } = Le, { dirname: Bt, relative: Ui, resolve: ji, sep: Vi } = Le, { pathToFileURL: di } = Le, ro = er, no = !!(zi && Wt), io = !!(Bt && ji && Ui && Vi), ao = class {
|
|
728
728
|
constructor(e, t, r, n) {
|
|
729
729
|
this.stringify = e, this.mapOpts = r.map || {}, this.root = t, this.opts = r, this.css = n, this.originalCSS = n, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
|
|
730
730
|
}
|
|
@@ -740,7 +740,7 @@ let { SourceMapConsumer: Fi, SourceMapGenerator: Wt } = Le, { dirname: Bt, relat
|
|
|
740
740
|
applyPrevMaps() {
|
|
741
741
|
for (let e of this.previous()) {
|
|
742
742
|
let t = this.toUrl(this.path(e.file)), r = e.root || Bt(e.file), n;
|
|
743
|
-
this.mapOpts.sourcesContent === !1 ? (n = new
|
|
743
|
+
this.mapOpts.sourcesContent === !1 ? (n = new zi(e.text), n.sourcesContent && (n.sourcesContent = null)) : n = e.consumer(), this.map.applySourceMap(n, t, this.toUrl(this.path(r)));
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
746
|
clearAnnotation() {
|
|
@@ -824,8 +824,8 @@ let { SourceMapConsumer: Fi, SourceMapGenerator: Wt } = Le, { dirname: Bt, relat
|
|
|
824
824
|
if (t)
|
|
825
825
|
return t;
|
|
826
826
|
let r = this.opts.to ? Bt(this.opts.to) : ".";
|
|
827
|
-
typeof this.mapOpts.annotation == "string" && (r = Bt(
|
|
828
|
-
let n =
|
|
827
|
+
typeof this.mapOpts.annotation == "string" && (r = Bt(ji(r, this.mapOpts.annotation)));
|
|
828
|
+
let n = Ui(r, e);
|
|
829
829
|
return this.memoizedPaths.set(e, n), n;
|
|
830
830
|
}
|
|
831
831
|
previous() {
|
|
@@ -871,8 +871,8 @@ let { SourceMapConsumer: Fi, SourceMapGenerator: Wt } = Le, { dirname: Bt, relat
|
|
|
871
871
|
let t = this.memoizedFileURLs.get(e);
|
|
872
872
|
if (t)
|
|
873
873
|
return t;
|
|
874
|
-
if (
|
|
875
|
-
let r =
|
|
874
|
+
if (di) {
|
|
875
|
+
let r = di(e).toString();
|
|
876
876
|
return this.memoizedFileURLs.set(e, r), r;
|
|
877
877
|
} else
|
|
878
878
|
throw new Error(
|
|
@@ -883,12 +883,12 @@ let { SourceMapConsumer: Fi, SourceMapGenerator: Wt } = Le, { dirname: Bt, relat
|
|
|
883
883
|
let t = this.memoizedURLs.get(e);
|
|
884
884
|
if (t)
|
|
885
885
|
return t;
|
|
886
|
-
|
|
886
|
+
Vi === "\\" && (e = e.replace(/\\/g, "/"));
|
|
887
887
|
let r = encodeURI(e).replace(/[#?]/g, encodeURIComponent);
|
|
888
888
|
return this.memoizedURLs.set(e, r), r;
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
|
-
var
|
|
891
|
+
var Wi = ao;
|
|
892
892
|
let so = Xt, Br = class extends so {
|
|
893
893
|
constructor(e) {
|
|
894
894
|
super(e), this.type = "comment";
|
|
@@ -896,16 +896,16 @@ let so = Xt, Br = class extends so {
|
|
|
896
896
|
};
|
|
897
897
|
var tr = Br;
|
|
898
898
|
Br.default = Br;
|
|
899
|
-
let { isClean:
|
|
900
|
-
function Qi(s) {
|
|
901
|
-
return s.map((e) => (e.nodes && (e.nodes = Qi(e.nodes)), delete e.source, e));
|
|
902
|
-
}
|
|
899
|
+
let { isClean: Bi, my: qi } = _t, Gi = Zt, Yi = tr, oo = Xt, Hi, _n, Sn, Qi;
|
|
903
900
|
function Ji(s) {
|
|
904
|
-
|
|
901
|
+
return s.map((e) => (e.nodes && (e.nodes = Ji(e.nodes)), delete e.source, e));
|
|
902
|
+
}
|
|
903
|
+
function Ki(s) {
|
|
904
|
+
if (s[Bi] = !1, s.proxyOf.nodes)
|
|
905
905
|
for (let e of s.proxyOf.nodes)
|
|
906
|
-
|
|
906
|
+
Ki(e);
|
|
907
907
|
}
|
|
908
|
-
let Ze = class
|
|
908
|
+
let Ze = class Xi extends oo {
|
|
909
909
|
append(...e) {
|
|
910
910
|
for (let t of e) {
|
|
911
911
|
let r = this.normalize(t, this.last);
|
|
@@ -978,7 +978,7 @@ let Ze = class Ki extends oo {
|
|
|
978
978
|
}
|
|
979
979
|
normalize(e, t) {
|
|
980
980
|
if (typeof e == "string")
|
|
981
|
-
e =
|
|
981
|
+
e = Ji(Hi(e).nodes);
|
|
982
982
|
else if (typeof e > "u")
|
|
983
983
|
e = [];
|
|
984
984
|
else if (Array.isArray(e)) {
|
|
@@ -994,16 +994,16 @@ let Ze = class Ki extends oo {
|
|
|
994
994
|
else if (e.prop) {
|
|
995
995
|
if (typeof e.value > "u")
|
|
996
996
|
throw new Error("Value field is missed in node creation");
|
|
997
|
-
typeof e.value != "string" && (e.value = String(e.value)), e = [new
|
|
997
|
+
typeof e.value != "string" && (e.value = String(e.value)), e = [new Gi(e)];
|
|
998
998
|
} else if (e.selector)
|
|
999
999
|
e = [new _n(e)];
|
|
1000
1000
|
else if (e.name)
|
|
1001
1001
|
e = [new Sn(e)];
|
|
1002
1002
|
else if (e.text)
|
|
1003
|
-
e = [new
|
|
1003
|
+
e = [new Yi(e)];
|
|
1004
1004
|
else
|
|
1005
1005
|
throw new Error("Unknown node type in node creation");
|
|
1006
|
-
return e.map((n) => (n[
|
|
1006
|
+
return e.map((n) => (n[qi] || Xi.rebuild(n), n = n.proxyOf, n.parent && n.parent.removeChild(n), n[Bi] && Ki(n), typeof n.raws.before > "u" && t && typeof t.raws.before < "u" && (n.raws.before = t.raws.before.replace(/\S/g, "")), n.parent = this.proxyOf, n));
|
|
1007
1007
|
}
|
|
1008
1008
|
prepend(...e) {
|
|
1009
1009
|
e = e.reverse();
|
|
@@ -1102,7 +1102,7 @@ let Ze = class Ki extends oo {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
1104
|
Ze.registerParse = (s) => {
|
|
1105
|
-
|
|
1105
|
+
Hi = s;
|
|
1106
1106
|
};
|
|
1107
1107
|
Ze.registerRule = (s) => {
|
|
1108
1108
|
_n = s;
|
|
@@ -1111,34 +1111,34 @@ Ze.registerAtRule = (s) => {
|
|
|
1111
1111
|
Sn = s;
|
|
1112
1112
|
};
|
|
1113
1113
|
Ze.registerRoot = (s) => {
|
|
1114
|
-
|
|
1114
|
+
Qi = s;
|
|
1115
1115
|
};
|
|
1116
1116
|
var st = Ze;
|
|
1117
1117
|
Ze.default = Ze;
|
|
1118
1118
|
Ze.rebuild = (s) => {
|
|
1119
|
-
s.type === "atrule" ? Object.setPrototypeOf(s, Sn.prototype) : s.type === "rule" ? Object.setPrototypeOf(s, _n.prototype) : s.type === "decl" ? Object.setPrototypeOf(s,
|
|
1119
|
+
s.type === "atrule" ? Object.setPrototypeOf(s, Sn.prototype) : s.type === "rule" ? Object.setPrototypeOf(s, _n.prototype) : s.type === "decl" ? Object.setPrototypeOf(s, Gi.prototype) : s.type === "comment" ? Object.setPrototypeOf(s, Yi.prototype) : s.type === "root" && Object.setPrototypeOf(s, Qi.prototype), s[qi] = !0, s.nodes && s.nodes.forEach((e) => {
|
|
1120
1120
|
Ze.rebuild(e);
|
|
1121
1121
|
});
|
|
1122
1122
|
};
|
|
1123
|
-
let lo = st,
|
|
1123
|
+
let lo = st, Zi, ea, vt = class extends lo {
|
|
1124
1124
|
constructor(e) {
|
|
1125
1125
|
super({ type: "document", ...e }), this.nodes || (this.nodes = []);
|
|
1126
1126
|
}
|
|
1127
1127
|
toResult(e = {}) {
|
|
1128
|
-
return new
|
|
1128
|
+
return new Zi(new ea(), this, e).stringify();
|
|
1129
1129
|
}
|
|
1130
1130
|
};
|
|
1131
1131
|
vt.registerLazyResult = (s) => {
|
|
1132
|
-
|
|
1132
|
+
Zi = s;
|
|
1133
1133
|
};
|
|
1134
1134
|
vt.registerProcessor = (s) => {
|
|
1135
|
-
|
|
1135
|
+
ea = s;
|
|
1136
1136
|
};
|
|
1137
1137
|
var On = vt;
|
|
1138
1138
|
vt.default = vt;
|
|
1139
|
-
let
|
|
1140
|
-
var
|
|
1141
|
-
|
|
1139
|
+
let pi = {};
|
|
1140
|
+
var ta = function(e) {
|
|
1141
|
+
pi[e] || (pi[e] = !0, typeof console < "u" && console.warn && console.warn(e));
|
|
1142
1142
|
};
|
|
1143
1143
|
let qr = class {
|
|
1144
1144
|
constructor(e, t = {}) {
|
|
@@ -1157,9 +1157,9 @@ let qr = class {
|
|
|
1157
1157
|
}).message : this.plugin ? this.plugin + ": " + this.text : this.text;
|
|
1158
1158
|
}
|
|
1159
1159
|
};
|
|
1160
|
-
var
|
|
1160
|
+
var ra = qr;
|
|
1161
1161
|
qr.default = qr;
|
|
1162
|
-
let uo =
|
|
1162
|
+
let uo = ra, Gr = class {
|
|
1163
1163
|
constructor(e, t, r) {
|
|
1164
1164
|
this.processor = e, this.messages = [], this.root = t, this.opts = r, this.css = void 0, this.map = void 0;
|
|
1165
1165
|
}
|
|
@@ -1180,7 +1180,7 @@ let uo = ta, Gr = class {
|
|
|
1180
1180
|
};
|
|
1181
1181
|
var kn = Gr;
|
|
1182
1182
|
Gr.default = Gr;
|
|
1183
|
-
const wr = 39,
|
|
1183
|
+
const wr = 39, hi = 34, Rt = 92, mi = 47, $t = 10, ht = 32, Dt = 12, Nt = 9, Lt = 13, fo = 91, co = 93, po = 40, ho = 41, mo = 123, go = 125, vo = 59, yo = 42, wo = 58, bo = 64, Ft = /[\t\n\f\r "#'()/;[\\\]{}]/g, zt = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, xo = /.[\r\n"'(/\\]/, gi = /[\da-f]/i;
|
|
1184
1184
|
var _o = function(e, t = {}) {
|
|
1185
1185
|
let r = e.css.valueOf(), n = t.ignoreErrors, l, i, c, a, o, f, u, p, _, x, h = r.length, m = 0, C = [], S = [];
|
|
1186
1186
|
function k() {
|
|
@@ -1223,7 +1223,7 @@ var _o = function(e, t = {}) {
|
|
|
1223
1223
|
break;
|
|
1224
1224
|
}
|
|
1225
1225
|
case po: {
|
|
1226
|
-
if (p = C.length ? C.pop()[1] : "", _ = r.charCodeAt(m + 1), p === "url" && _ !== wr && _ !==
|
|
1226
|
+
if (p = C.length ? C.pop()[1] : "", _ = r.charCodeAt(m + 1), p === "url" && _ !== wr && _ !== hi && _ !== ht && _ !== $t && _ !== Nt && _ !== Dt && _ !== Lt) {
|
|
1227
1227
|
i = m;
|
|
1228
1228
|
do {
|
|
1229
1229
|
if (f = !1, i = r.indexOf(")", i + 1), i === -1)
|
|
@@ -1241,7 +1241,7 @@ var _o = function(e, t = {}) {
|
|
|
1241
1241
|
break;
|
|
1242
1242
|
}
|
|
1243
1243
|
case wr:
|
|
1244
|
-
case
|
|
1244
|
+
case hi: {
|
|
1245
1245
|
c = l === wr ? "'" : '"', i = m;
|
|
1246
1246
|
do {
|
|
1247
1247
|
if (f = !1, i = r.indexOf(c, i + 1), i === -1)
|
|
@@ -1263,8 +1263,8 @@ var _o = function(e, t = {}) {
|
|
|
1263
1263
|
case Rt: {
|
|
1264
1264
|
for (i = m, o = !0; r.charCodeAt(i + 1) === Rt; )
|
|
1265
1265
|
i += 1, o = !o;
|
|
1266
|
-
if (l = r.charCodeAt(i + 1), o && l !==
|
|
1267
|
-
for (;
|
|
1266
|
+
if (l = r.charCodeAt(i + 1), o && l !== mi && l !== ht && l !== $t && l !== Nt && l !== Lt && l !== Dt && (i += 1, gi.test(r.charAt(i)))) {
|
|
1267
|
+
for (; gi.test(r.charAt(i + 1)); )
|
|
1268
1268
|
i += 1;
|
|
1269
1269
|
r.charCodeAt(i + 1) === ht && (i += 1);
|
|
1270
1270
|
}
|
|
@@ -1272,7 +1272,7 @@ var _o = function(e, t = {}) {
|
|
|
1272
1272
|
break;
|
|
1273
1273
|
}
|
|
1274
1274
|
default: {
|
|
1275
|
-
l ===
|
|
1275
|
+
l === mi && r.charCodeAt(m + 1) === yo ? (i = r.indexOf("*/", m + 2) + 1, i === 0 && (n || b ? i = r.length : O("comment")), x = ["comment", r.slice(m, i + 1), m, i], m = i) : (zt.lastIndex = m + 1, zt.test(r), zt.lastIndex === 0 ? i = r.length - 1 : i = zt.lastIndex - 2, x = ["word", r.slice(m, i + 1), m, i], C.push(x), m = i);
|
|
1276
1276
|
break;
|
|
1277
1277
|
}
|
|
1278
1278
|
}
|
|
@@ -1288,7 +1288,7 @@ var _o = function(e, t = {}) {
|
|
|
1288
1288
|
position: k
|
|
1289
1289
|
};
|
|
1290
1290
|
};
|
|
1291
|
-
let
|
|
1291
|
+
let na = st, Gt = class extends na {
|
|
1292
1292
|
constructor(e) {
|
|
1293
1293
|
super(e), this.type = "atrule";
|
|
1294
1294
|
}
|
|
@@ -1301,8 +1301,8 @@ let ra = st, Gt = class extends ra {
|
|
|
1301
1301
|
};
|
|
1302
1302
|
var An = Gt;
|
|
1303
1303
|
Gt.default = Gt;
|
|
1304
|
-
|
|
1305
|
-
let
|
|
1304
|
+
na.registerAtRule(Gt);
|
|
1305
|
+
let ia = st, aa, sa, ut = class extends ia {
|
|
1306
1306
|
constructor(e) {
|
|
1307
1307
|
super(e), this.type = "root", this.nodes || (this.nodes = []);
|
|
1308
1308
|
}
|
|
@@ -1322,18 +1322,18 @@ let na = st, ia, aa, ut = class extends na {
|
|
|
1322
1322
|
return !t && r === 0 && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[r].raws.before), super.removeChild(e);
|
|
1323
1323
|
}
|
|
1324
1324
|
toResult(e = {}) {
|
|
1325
|
-
return new
|
|
1325
|
+
return new aa(new sa(), this, e).stringify();
|
|
1326
1326
|
}
|
|
1327
1327
|
};
|
|
1328
1328
|
ut.registerLazyResult = (s) => {
|
|
1329
|
-
|
|
1329
|
+
aa = s;
|
|
1330
1330
|
};
|
|
1331
1331
|
ut.registerProcessor = (s) => {
|
|
1332
|
-
|
|
1332
|
+
sa = s;
|
|
1333
1333
|
};
|
|
1334
1334
|
var St = ut;
|
|
1335
1335
|
ut.default = ut;
|
|
1336
|
-
|
|
1336
|
+
ia.registerRoot(ut);
|
|
1337
1337
|
let yt = {
|
|
1338
1338
|
comma(s) {
|
|
1339
1339
|
return yt.split(s, [","], !0);
|
|
@@ -1350,9 +1350,9 @@ let yt = {
|
|
|
1350
1350
|
return (t || n !== "") && r.push(n.trim()), r;
|
|
1351
1351
|
}
|
|
1352
1352
|
};
|
|
1353
|
-
var
|
|
1353
|
+
var oa = yt;
|
|
1354
1354
|
yt.default = yt;
|
|
1355
|
-
let
|
|
1355
|
+
let la = st, So = oa, Yt = class extends la {
|
|
1356
1356
|
constructor(e) {
|
|
1357
1357
|
super(e), this.type = "rule", this.nodes || (this.nodes = []);
|
|
1358
1358
|
}
|
|
@@ -1366,9 +1366,9 @@ let oa = st, So = sa, Yt = class extends oa {
|
|
|
1366
1366
|
};
|
|
1367
1367
|
var Cn = Yt;
|
|
1368
1368
|
Yt.default = Yt;
|
|
1369
|
-
|
|
1370
|
-
let Oo = Zt, ko = _o, Ao = tr, Co = An, Eo = St,
|
|
1371
|
-
const
|
|
1369
|
+
la.registerRule(Yt);
|
|
1370
|
+
let Oo = Zt, ko = _o, Ao = tr, Co = An, Eo = St, vi = Cn;
|
|
1371
|
+
const yi = {
|
|
1372
1372
|
empty: !0,
|
|
1373
1373
|
space: !0
|
|
1374
1374
|
};
|
|
@@ -1511,7 +1511,7 @@ let To = class {
|
|
|
1511
1511
|
);
|
|
1512
1512
|
}
|
|
1513
1513
|
emptyRule(e) {
|
|
1514
|
-
let t = new
|
|
1514
|
+
let t = new vi();
|
|
1515
1515
|
this.init(t, e[2]), t.selector = "", t.raws.between = "", this.current = t;
|
|
1516
1516
|
}
|
|
1517
1517
|
end(e) {
|
|
@@ -1608,7 +1608,7 @@ let To = class {
|
|
|
1608
1608
|
raw(e, t, r, n) {
|
|
1609
1609
|
let l, i, c = r.length, a = "", o = !0, f, u;
|
|
1610
1610
|
for (let p = 0; p < c; p += 1)
|
|
1611
|
-
l = r[p], i = l[0], i === "space" && p === c - 1 && !n ? o = !1 : i === "comment" ? (u = r[p - 1] ? r[p - 1][0] : "empty", f = r[p + 1] ? r[p + 1][0] : "empty", !
|
|
1611
|
+
l = r[p], i = l[0], i === "space" && p === c - 1 && !n ? o = !1 : i === "comment" ? (u = r[p - 1] ? r[p - 1][0] : "empty", f = r[p + 1] ? r[p + 1][0] : "empty", !yi[u] && !yi[f] ? a.slice(-1) === "," ? o = !1 : a += l[1] : o = !1) : a += l[1];
|
|
1612
1612
|
if (!o) {
|
|
1613
1613
|
let p = r.reduce((_, x) => _ + x[1], "");
|
|
1614
1614
|
e.raws[t] = { raw: p, value: a };
|
|
@@ -1617,7 +1617,7 @@ let To = class {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
rule(e) {
|
|
1619
1619
|
e.pop();
|
|
1620
|
-
let t = new
|
|
1620
|
+
let t = new vi();
|
|
1621
1621
|
this.init(t, e[0][2]), t.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(t, "selector", e), this.current = t;
|
|
1622
1622
|
}
|
|
1623
1623
|
spacesAndCommentsFromEnd(e) {
|
|
@@ -1695,7 +1695,7 @@ You tried to parse Less with the standard CSS parser; try again with the postcss
|
|
|
1695
1695
|
var En = Ht;
|
|
1696
1696
|
Ht.default = Ht;
|
|
1697
1697
|
Io.registerParse(Ht);
|
|
1698
|
-
let { isClean: Je, my: Do } = _t, No =
|
|
1698
|
+
let { isClean: Je, my: Do } = _t, No = Wi, Lo = Kt, Fo = st, zo = On, Uo = ta, wi = kn, jo = En, Vo = St;
|
|
1699
1699
|
const Wo = {
|
|
1700
1700
|
atrule: "AtRule",
|
|
1701
1701
|
comment: "Comment",
|
|
@@ -1728,7 +1728,7 @@ const Wo = {
|
|
|
1728
1728
|
function mt(s) {
|
|
1729
1729
|
return typeof s == "object" && typeof s.then == "function";
|
|
1730
1730
|
}
|
|
1731
|
-
function
|
|
1731
|
+
function ua(s) {
|
|
1732
1732
|
let e = !1, t = Wo[s.type];
|
|
1733
1733
|
return s.type === "decl" ? e = s.prop.toLowerCase() : s.type === "atrule" && (e = s.name.toLowerCase()), e && s.append ? [
|
|
1734
1734
|
t,
|
|
@@ -1738,9 +1738,9 @@ function la(s) {
|
|
|
1738
1738
|
t + "Exit-" + e
|
|
1739
1739
|
] : e ? [t, t + "-" + e, t + "Exit", t + "Exit-" + e] : s.append ? [t, ft, t + "Exit"] : [t, t + "Exit"];
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1741
|
+
function bi(s) {
|
|
1742
1742
|
let e;
|
|
1743
|
-
return s.type === "document" ? e = ["Document", ft, "DocumentExit"] : s.type === "root" ? e = ["Root", ft, "RootExit"] : e =
|
|
1743
|
+
return s.type === "document" ? e = ["Document", ft, "DocumentExit"] : s.type === "root" ? e = ["Root", ft, "RootExit"] : e = ua(s), {
|
|
1744
1744
|
eventIndex: 0,
|
|
1745
1745
|
events: e,
|
|
1746
1746
|
iterator: 0,
|
|
@@ -1752,13 +1752,13 @@ function wi(s) {
|
|
|
1752
1752
|
function Yr(s) {
|
|
1753
1753
|
return s[Je] = !1, s.nodes && s.nodes.forEach((e) => Yr(e)), s;
|
|
1754
1754
|
}
|
|
1755
|
-
let Hr = {}, ct = class
|
|
1755
|
+
let Hr = {}, ct = class fa {
|
|
1756
1756
|
constructor(e, t, r) {
|
|
1757
1757
|
this.stringified = !1, this.processed = !1;
|
|
1758
1758
|
let n;
|
|
1759
1759
|
if (typeof t == "object" && t !== null && (t.type === "root" || t.type === "document"))
|
|
1760
1760
|
n = Yr(t);
|
|
1761
|
-
else if (t instanceof
|
|
1761
|
+
else if (t instanceof fa || t instanceof wi)
|
|
1762
1762
|
n = Yr(t.root), t.map && (typeof r.map > "u" && (r.map = {}), r.map.inline || (r.map.inline = !1), r.map.prev = t.map);
|
|
1763
1763
|
else {
|
|
1764
1764
|
let l = jo;
|
|
@@ -1770,7 +1770,7 @@ let Hr = {}, ct = class ua {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
n && !n[Do] && Fo.rebuild(n);
|
|
1772
1772
|
}
|
|
1773
|
-
this.result = new
|
|
1773
|
+
this.result = new wi(e, n, r), this.helpers = { ...Hr, postcss: Hr, result: this.result }, this.plugins = this.processor.plugins.map((l) => typeof l == "object" && l.prepare ? { ...l, ...l.prepare(this.result) } : l);
|
|
1774
1774
|
}
|
|
1775
1775
|
async() {
|
|
1776
1776
|
return this.error ? Promise.reject(this.error) : this.processed ? Promise.resolve(this.result) : (this.processing || (this.processing = this.runAsync()), this.processing);
|
|
@@ -1840,7 +1840,7 @@ let Hr = {}, ct = class ua {
|
|
|
1840
1840
|
let e = this.result.root;
|
|
1841
1841
|
for (; !e[Je]; ) {
|
|
1842
1842
|
e[Je] = !0;
|
|
1843
|
-
let t = [
|
|
1843
|
+
let t = [bi(e)];
|
|
1844
1844
|
for (; t.length > 0; ) {
|
|
1845
1845
|
let r = this.visitTick(t);
|
|
1846
1846
|
if (mt(r))
|
|
@@ -1965,7 +1965,7 @@ let Hr = {}, ct = class ua {
|
|
|
1965
1965
|
let i = t.iterator, c;
|
|
1966
1966
|
for (; c = r.nodes[r.indexes[i]]; )
|
|
1967
1967
|
if (r.indexes[i] += 1, !c[Je]) {
|
|
1968
|
-
c[Je] = !0, e.push(
|
|
1968
|
+
c[Je] = !0, e.push(bi(c));
|
|
1969
1969
|
return;
|
|
1970
1970
|
}
|
|
1971
1971
|
t.iterator = 0, delete r.indexes[i];
|
|
@@ -1985,7 +1985,7 @@ let Hr = {}, ct = class ua {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
walkSync(e) {
|
|
1987
1987
|
e[Je] = !0;
|
|
1988
|
-
let t =
|
|
1988
|
+
let t = ua(e);
|
|
1989
1989
|
for (let r of t)
|
|
1990
1990
|
if (r === ft)
|
|
1991
1991
|
e.nodes && e.each((n) => {
|
|
@@ -2028,11 +2028,11 @@ let Hr = {}, ct = class ua {
|
|
|
2028
2028
|
ct.registerPostcss = (s) => {
|
|
2029
2029
|
Hr = s;
|
|
2030
2030
|
};
|
|
2031
|
-
var
|
|
2031
|
+
var ca = ct;
|
|
2032
2032
|
ct.default = ct;
|
|
2033
2033
|
Vo.registerLazyResult(ct);
|
|
2034
2034
|
zo.registerLazyResult(ct);
|
|
2035
|
-
let Go =
|
|
2035
|
+
let Go = Wi, Yo = Kt, Ho = ta, Qo = En;
|
|
2036
2036
|
const Jo = kn;
|
|
2037
2037
|
let Qr = class {
|
|
2038
2038
|
constructor(e, t, r) {
|
|
@@ -2114,7 +2114,7 @@ let Qr = class {
|
|
|
2114
2114
|
};
|
|
2115
2115
|
var Ko = Qr;
|
|
2116
2116
|
Qr.default = Qr;
|
|
2117
|
-
let Xo = Ko, Zo =
|
|
2117
|
+
let Xo = Ko, Zo = ca, el = On, tl = St, wt = class {
|
|
2118
2118
|
constructor(e = []) {
|
|
2119
2119
|
this.version = "8.4.40", this.plugins = this.normalize(e);
|
|
2120
2120
|
}
|
|
@@ -2147,7 +2147,7 @@ var rl = wt;
|
|
|
2147
2147
|
wt.default = wt;
|
|
2148
2148
|
tl.registerProcessor(wt);
|
|
2149
2149
|
el.registerProcessor(wt);
|
|
2150
|
-
let nl = Zt, il =
|
|
2150
|
+
let nl = Zt, il = Fi, al = tr, sl = An, ol = er, ll = St, ul = Cn;
|
|
2151
2151
|
function bt(s, e) {
|
|
2152
2152
|
if (Array.isArray(s))
|
|
2153
2153
|
return s.map((n) => bt(n));
|
|
@@ -2180,7 +2180,7 @@ function bt(s, e) {
|
|
|
2180
2180
|
}
|
|
2181
2181
|
var fl = bt;
|
|
2182
2182
|
bt.default = bt;
|
|
2183
|
-
let cl = xn,
|
|
2183
|
+
let cl = xn, da = Zt, dl = ca, pl = st, Pn = rl, hl = Kt, ml = fl, pa = On, gl = ra, ha = tr, ma = An, vl = kn, yl = er, wl = En, bl = oa, ga = Cn, va = St, xl = Xt;
|
|
2184
2184
|
function Ee(...s) {
|
|
2185
2185
|
return s.length === 1 && Array.isArray(s[0]) && (s = s[0]), new Pn(s);
|
|
2186
2186
|
}
|
|
@@ -2210,24 +2210,24 @@ Ee.stringify = hl;
|
|
|
2210
2210
|
Ee.parse = wl;
|
|
2211
2211
|
Ee.fromJSON = ml;
|
|
2212
2212
|
Ee.list = bl;
|
|
2213
|
-
Ee.comment = (s) => new
|
|
2214
|
-
Ee.atRule = (s) => new
|
|
2215
|
-
Ee.decl = (s) => new
|
|
2216
|
-
Ee.rule = (s) => new
|
|
2217
|
-
Ee.root = (s) => new
|
|
2218
|
-
Ee.document = (s) => new
|
|
2213
|
+
Ee.comment = (s) => new ha(s);
|
|
2214
|
+
Ee.atRule = (s) => new ma(s);
|
|
2215
|
+
Ee.decl = (s) => new da(s);
|
|
2216
|
+
Ee.rule = (s) => new ga(s);
|
|
2217
|
+
Ee.root = (s) => new va(s);
|
|
2218
|
+
Ee.document = (s) => new pa(s);
|
|
2219
2219
|
Ee.CssSyntaxError = cl;
|
|
2220
|
-
Ee.Declaration =
|
|
2220
|
+
Ee.Declaration = da;
|
|
2221
2221
|
Ee.Container = pl;
|
|
2222
2222
|
Ee.Processor = Pn;
|
|
2223
|
-
Ee.Document =
|
|
2224
|
-
Ee.Comment =
|
|
2223
|
+
Ee.Document = pa;
|
|
2224
|
+
Ee.Comment = ha;
|
|
2225
2225
|
Ee.Warning = gl;
|
|
2226
|
-
Ee.AtRule =
|
|
2226
|
+
Ee.AtRule = ma;
|
|
2227
2227
|
Ee.Result = vl;
|
|
2228
2228
|
Ee.Input = yl;
|
|
2229
|
-
Ee.Rule =
|
|
2230
|
-
Ee.Root =
|
|
2229
|
+
Ee.Rule = ga;
|
|
2230
|
+
Ee.Root = va;
|
|
2231
2231
|
Ee.Node = xl;
|
|
2232
2232
|
dl.registerPostcss(Ee);
|
|
2233
2233
|
var qe = Ee;
|
|
@@ -2253,10 +2253,10 @@ De.Warning;
|
|
|
2253
2253
|
const kl = De.AtRule;
|
|
2254
2254
|
De.Result;
|
|
2255
2255
|
De.Input;
|
|
2256
|
-
const
|
|
2256
|
+
const xi = De.Rule, Al = De.Root;
|
|
2257
2257
|
De.Node;
|
|
2258
2258
|
const Cl = (s) => s.replace(/\/\*[\s\S]*?\*\//gm, "").replace(/;\s+/gm, ";").replace(/:\s+/gm, ":").replace(/\)\s*{/gm, "){").replace(/\s+\(/gm, "(").replace(/{\s+/gm, "{").replace(/}\s+/gm, "}").replace(/\s*{/gm, "{").replace(/;?\s*}/gm, "}");
|
|
2259
|
-
var
|
|
2259
|
+
var ya = {}, wa = { exports: {} };
|
|
2260
2260
|
(function(s, e) {
|
|
2261
2261
|
(function(t, r) {
|
|
2262
2262
|
s.exports = function(n, l, i, c, a) {
|
|
@@ -2265,8 +2265,8 @@ var va = {}, ya = { exports: {} };
|
|
|
2265
2265
|
return n === a ? i : n;
|
|
2266
2266
|
};
|
|
2267
2267
|
})();
|
|
2268
|
-
})(
|
|
2269
|
-
var
|
|
2268
|
+
})(wa);
|
|
2269
|
+
var ba = wa.exports, xa = { exports: {} };
|
|
2270
2270
|
(function(s) {
|
|
2271
2271
|
(function() {
|
|
2272
2272
|
function e(n, l, i) {
|
|
@@ -2314,8 +2314,8 @@ var wa = ya.exports, ba = { exports: {} };
|
|
|
2314
2314
|
return o[a][c];
|
|
2315
2315
|
}
|
|
2316
2316
|
})();
|
|
2317
|
-
})(
|
|
2318
|
-
var El =
|
|
2317
|
+
})(xa);
|
|
2318
|
+
var El = xa.exports, Ot = {}, dt = {};
|
|
2319
2319
|
(function(s) {
|
|
2320
2320
|
Object.defineProperty(s, "__esModule", {
|
|
2321
2321
|
value: !0
|
|
@@ -2492,24 +2492,24 @@ var br = 40, xr = 41, Ut = 39, _r = 34, Sr = 92, lt = 47, Or = 44, kr = 58, jt =
|
|
|
2492
2492
|
for (n = 0, l = e.length; n < l; n += 1)
|
|
2493
2493
|
i = e[n], r || (c = t(i, n, e)), c !== !1 && i.type === "function" && Array.isArray(i.nodes) && s(i.nodes, t, r), r && t(i, n, e);
|
|
2494
2494
|
};
|
|
2495
|
-
function
|
|
2495
|
+
function _i(s, e) {
|
|
2496
2496
|
var t = s.type, r = s.value, n, l;
|
|
2497
|
-
return e && (l = e(s)) !== void 0 ? l : t === "word" || t === "space" ? r : t === "string" ? (n = s.quote || "", n + r + (s.unclosed ? "" : n)) : t === "comment" ? "/*" + r + (s.unclosed ? "" : "*/") : t === "div" ? (s.before || "") + r + (s.after || "") : Array.isArray(s.nodes) ? (n =
|
|
2497
|
+
return e && (l = e(s)) !== void 0 ? l : t === "word" || t === "space" ? r : t === "string" ? (n = s.quote || "", n + r + (s.unclosed ? "" : n)) : t === "comment" ? "/*" + r + (s.unclosed ? "" : "*/") : t === "div" ? (s.before || "") + r + (s.after || "") : Array.isArray(s.nodes) ? (n = _a(s.nodes, e), t !== "function" ? n : r + "(" + (s.before || "") + n + (s.after || "") + (s.unclosed ? "" : ")")) : r;
|
|
2498
2498
|
}
|
|
2499
|
-
function
|
|
2499
|
+
function _a(s, e) {
|
|
2500
2500
|
var t, r;
|
|
2501
2501
|
if (Array.isArray(s)) {
|
|
2502
2502
|
for (t = "", r = s.length - 1; ~r; r -= 1)
|
|
2503
|
-
t =
|
|
2503
|
+
t = _i(s[r], e) + t;
|
|
2504
2504
|
return t;
|
|
2505
2505
|
}
|
|
2506
|
-
return
|
|
2506
|
+
return _i(s, e);
|
|
2507
2507
|
}
|
|
2508
|
-
var Dl =
|
|
2508
|
+
var Dl = _a, Ar, Si;
|
|
2509
2509
|
function Nl() {
|
|
2510
|
-
if (
|
|
2510
|
+
if (Si)
|
|
2511
2511
|
return Ar;
|
|
2512
|
-
|
|
2512
|
+
Si = 1;
|
|
2513
2513
|
var s = 45, e = 43, t = 46, r = 101, n = 69;
|
|
2514
2514
|
function l(i) {
|
|
2515
2515
|
var c = i.charCodeAt(0), a;
|
|
@@ -2539,19 +2539,19 @@ function Nl() {
|
|
|
2539
2539
|
};
|
|
2540
2540
|
}, Ar;
|
|
2541
2541
|
}
|
|
2542
|
-
var Ll = Rl,
|
|
2542
|
+
var Ll = Rl, Sa = $l, Oa = Dl;
|
|
2543
2543
|
function nt(s) {
|
|
2544
2544
|
return this instanceof nt ? (this.nodes = Ll(s), this) : new nt(s);
|
|
2545
2545
|
}
|
|
2546
2546
|
nt.prototype.toString = function() {
|
|
2547
|
-
return Array.isArray(this.nodes) ?
|
|
2547
|
+
return Array.isArray(this.nodes) ? Oa(this.nodes) : "";
|
|
2548
2548
|
};
|
|
2549
2549
|
nt.prototype.walk = function(s, e) {
|
|
2550
|
-
return
|
|
2550
|
+
return Sa(this.nodes, s, e), this;
|
|
2551
2551
|
};
|
|
2552
2552
|
nt.unit = Nl();
|
|
2553
|
-
nt.walk =
|
|
2554
|
-
nt.stringify =
|
|
2553
|
+
nt.walk = Sa;
|
|
2554
|
+
nt.stringify = Oa;
|
|
2555
2555
|
var Fl = nt, rr = {};
|
|
2556
2556
|
(function(s) {
|
|
2557
2557
|
Object.defineProperty(s, "__esModule", {
|
|
@@ -2715,7 +2715,7 @@ var ir = {};
|
|
|
2715
2715
|
return t.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
2716
2716
|
}
|
|
2717
2717
|
})(ir);
|
|
2718
|
-
var kt = {}, Tn = {},
|
|
2718
|
+
var kt = {}, Tn = {}, ka = {};
|
|
2719
2719
|
(function(s) {
|
|
2720
2720
|
Object.defineProperty(s, "__esModule", {
|
|
2721
2721
|
value: !0
|
|
@@ -3467,7 +3467,7 @@ var kt = {}, Tn = {}, Oa = {};
|
|
|
3467
3467
|
50
|
|
3468
3468
|
]
|
|
3469
3469
|
};
|
|
3470
|
-
})(
|
|
3470
|
+
})(ka);
|
|
3471
3471
|
(function(s) {
|
|
3472
3472
|
Object.defineProperty(s, "__esModule", {
|
|
3473
3473
|
value: !0
|
|
@@ -3487,7 +3487,7 @@ var kt = {}, Tn = {}, Oa = {};
|
|
|
3487
3487
|
return _;
|
|
3488
3488
|
}
|
|
3489
3489
|
});
|
|
3490
|
-
const t = /* @__PURE__ */ r(
|
|
3490
|
+
const t = /* @__PURE__ */ r(ka);
|
|
3491
3491
|
function r(x) {
|
|
3492
3492
|
return x && x.__esModule ? x : {
|
|
3493
3493
|
default: x
|
|
@@ -4056,7 +4056,7 @@ var sr = {};
|
|
|
4056
4056
|
return `calc(${t} * -1)`;
|
|
4057
4057
|
}
|
|
4058
4058
|
})(sr);
|
|
4059
|
-
var
|
|
4059
|
+
var Aa = {};
|
|
4060
4060
|
(function(s) {
|
|
4061
4061
|
Object.defineProperty(s, "__esModule", {
|
|
4062
4062
|
value: !0
|
|
@@ -4077,13 +4077,13 @@ var ka = {};
|
|
|
4077
4077
|
return c.length === 1 && l.includes(c[0]) ? !0 : c.length !== 1 && c.length !== 2 ? !1 : c.every((a) => (0, e.length)(a) || (0, e.percentage)(a) || a === "auto");
|
|
4078
4078
|
});
|
|
4079
4079
|
}
|
|
4080
|
-
})(
|
|
4081
|
-
var it = {}, In = { exports: {} }, we = String,
|
|
4080
|
+
})(Aa);
|
|
4081
|
+
var it = {}, In = { exports: {} }, we = String, Ca = function() {
|
|
4082
4082
|
return { isColorSupported: !1, reset: we, bold: we, dim: we, italic: we, underline: we, inverse: we, hidden: we, strikethrough: we, black: we, red: we, green: we, yellow: we, blue: we, magenta: we, cyan: we, white: we, gray: we, bgBlack: we, bgRed: we, bgGreen: we, bgYellow: we, bgBlue: we, bgMagenta: we, bgCyan: we, bgWhite: we, blackBright: we, redBright: we, greenBright: we, yellowBright: we, blueBright: we, magentaBright: we, cyanBright: we, whiteBright: we, bgBlackBright: we, bgRedBright: we, bgGreenBright: we, bgYellowBright: we, bgBlueBright: we, bgMagentaBright: we, bgCyanBright: we, bgWhiteBright: we };
|
|
4083
4083
|
};
|
|
4084
|
-
In.exports =
|
|
4085
|
-
In.exports.createColors =
|
|
4086
|
-
var
|
|
4084
|
+
In.exports = Ca();
|
|
4085
|
+
In.exports.createColors = Ca;
|
|
4086
|
+
var Ea = In.exports, et = {};
|
|
4087
4087
|
(function(s) {
|
|
4088
4088
|
Object.defineProperty(s, "__esModule", {
|
|
4089
4089
|
value: !0
|
|
@@ -4103,7 +4103,7 @@ var Ca = In.exports, et = {};
|
|
|
4103
4103
|
return c;
|
|
4104
4104
|
}
|
|
4105
4105
|
});
|
|
4106
|
-
const t = /* @__PURE__ */ r(
|
|
4106
|
+
const t = /* @__PURE__ */ r(Ea);
|
|
4107
4107
|
function r(a) {
|
|
4108
4108
|
return a && a.__esModule ? a : {
|
|
4109
4109
|
default: a
|
|
@@ -4165,7 +4165,7 @@ var Ca = In.exports, et = {};
|
|
|
4165
4165
|
return f;
|
|
4166
4166
|
}
|
|
4167
4167
|
});
|
|
4168
|
-
const t = /* @__PURE__ */ n(
|
|
4168
|
+
const t = /* @__PURE__ */ n(Ea), r = /* @__PURE__ */ n(et);
|
|
4169
4169
|
function n(u) {
|
|
4170
4170
|
return u && u.__esModule ? u : {
|
|
4171
4171
|
default: u
|
|
@@ -4253,7 +4253,7 @@ var Ca = In.exports, et = {};
|
|
|
4253
4253
|
return P;
|
|
4254
4254
|
}
|
|
4255
4255
|
});
|
|
4256
|
-
const t = /* @__PURE__ */ a(ar), r = kt, n = Ct, l = /* @__PURE__ */ a(sr), i =
|
|
4256
|
+
const t = /* @__PURE__ */ a(ar), r = kt, n = Ct, l = /* @__PURE__ */ a(sr), i = Aa, c = it;
|
|
4257
4257
|
function a(b) {
|
|
4258
4258
|
return b && b.__esModule ? b : {
|
|
4259
4259
|
default: b
|
|
@@ -4423,7 +4423,7 @@ var Ca = In.exports, et = {};
|
|
|
4423
4423
|
return P;
|
|
4424
4424
|
}
|
|
4425
4425
|
});
|
|
4426
|
-
const e = /* @__PURE__ */ u(
|
|
4426
|
+
const e = /* @__PURE__ */ u(ba), t = /* @__PURE__ */ u(El), r = /* @__PURE__ */ u(Ot), n = /* @__PURE__ */ u(Fl), l = rr, i = /* @__PURE__ */ u(nr), c = ir, a = kt, o = At, f = /* @__PURE__ */ u(et);
|
|
4427
4427
|
function u(b) {
|
|
4428
4428
|
return b && b.__esModule ? b : {
|
|
4429
4429
|
default: b
|
|
@@ -4578,9 +4578,9 @@ var Ca = In.exports, et = {};
|
|
|
4578
4578
|
});
|
|
4579
4579
|
};
|
|
4580
4580
|
}
|
|
4581
|
-
})(
|
|
4582
|
-
const zl = /* @__PURE__ */ Qe(
|
|
4583
|
-
var
|
|
4581
|
+
})(ya);
|
|
4582
|
+
const zl = /* @__PURE__ */ Qe(ya);
|
|
4583
|
+
var Pa = {}, Jr = { exports: {} }, Kr = { exports: {} }, Xr = { exports: {} }, Zr = { exports: {} }, en = { exports: {} }, tn = { exports: {} }, Be = {}, rn = { exports: {} };
|
|
4584
4584
|
(function(s, e) {
|
|
4585
4585
|
e.__esModule = !0, e.default = n;
|
|
4586
4586
|
function t(l) {
|
|
@@ -5085,7 +5085,7 @@ var $n = en.exports;
|
|
|
5085
5085
|
}(t.default);
|
|
5086
5086
|
e.default = o, s.exports = e.default;
|
|
5087
5087
|
})(Zr, Zr.exports);
|
|
5088
|
-
var
|
|
5088
|
+
var Ta = Zr.exports, on = { exports: {} };
|
|
5089
5089
|
(function(s, e) {
|
|
5090
5090
|
e.__esModule = !0, e.default = void 0;
|
|
5091
5091
|
var t = n($n), r = be;
|
|
@@ -5110,7 +5110,7 @@ var Pa = Zr.exports, on = { exports: {} };
|
|
|
5110
5110
|
}(t.default);
|
|
5111
5111
|
e.default = c, s.exports = e.default;
|
|
5112
5112
|
})(on, on.exports);
|
|
5113
|
-
var
|
|
5113
|
+
var Ma = on.exports, ln = { exports: {} };
|
|
5114
5114
|
/*! https://mths.be/cssesc v3.0.0 by @mathias */
|
|
5115
5115
|
var au = {}, su = au.hasOwnProperty, ou = function(e, t) {
|
|
5116
5116
|
if (!e)
|
|
@@ -5195,7 +5195,7 @@ var Nn = Dn;
|
|
|
5195
5195
|
}(n.default);
|
|
5196
5196
|
e.default = u, s.exports = e.default;
|
|
5197
5197
|
})(ln, ln.exports);
|
|
5198
|
-
var
|
|
5198
|
+
var Ia = ln.exports, un = { exports: {} };
|
|
5199
5199
|
(function(s, e) {
|
|
5200
5200
|
e.__esModule = !0, e.default = void 0;
|
|
5201
5201
|
var t = n(at), r = be;
|
|
@@ -5220,7 +5220,7 @@ var Ma = ln.exports, un = { exports: {} };
|
|
|
5220
5220
|
}(t.default);
|
|
5221
5221
|
e.default = c, s.exports = e.default;
|
|
5222
5222
|
})(un, un.exports);
|
|
5223
|
-
var
|
|
5223
|
+
var Ra = un.exports, fn = { exports: {} };
|
|
5224
5224
|
(function(s, e) {
|
|
5225
5225
|
e.__esModule = !0, e.default = void 0;
|
|
5226
5226
|
var t = n(at), r = be;
|
|
@@ -5248,7 +5248,7 @@ var Ia = un.exports, fn = { exports: {} };
|
|
|
5248
5248
|
}(t.default);
|
|
5249
5249
|
e.default = c, s.exports = e.default;
|
|
5250
5250
|
})(fn, fn.exports);
|
|
5251
|
-
var
|
|
5251
|
+
var $a = fn.exports, cn = { exports: {} }, dn = { exports: {} };
|
|
5252
5252
|
(function(s, e) {
|
|
5253
5253
|
e.__esModule = !0, e.default = void 0;
|
|
5254
5254
|
var t = l(Nn), r = Be, n = l(at);
|
|
@@ -5343,7 +5343,7 @@ var Ln = dn.exports;
|
|
|
5343
5343
|
}(t.default);
|
|
5344
5344
|
e.default = c, s.exports = e.default;
|
|
5345
5345
|
})(cn, cn.exports);
|
|
5346
|
-
var
|
|
5346
|
+
var Da = cn.exports, pn = { exports: {} };
|
|
5347
5347
|
(function(s, e) {
|
|
5348
5348
|
e.__esModule = !0, e.default = void 0;
|
|
5349
5349
|
var t = n(at), r = be;
|
|
@@ -5368,7 +5368,7 @@ var $a = cn.exports, pn = { exports: {} };
|
|
|
5368
5368
|
}(t.default);
|
|
5369
5369
|
e.default = c, s.exports = e.default;
|
|
5370
5370
|
})(pn, pn.exports);
|
|
5371
|
-
var
|
|
5371
|
+
var Na = pn.exports, hn = { exports: {} };
|
|
5372
5372
|
(function(s, e) {
|
|
5373
5373
|
e.__esModule = !0, e.default = void 0;
|
|
5374
5374
|
var t = n($n), r = be;
|
|
@@ -5397,7 +5397,7 @@ var Da = pn.exports, hn = { exports: {} };
|
|
|
5397
5397
|
}(t.default);
|
|
5398
5398
|
e.default = c, s.exports = e.default;
|
|
5399
5399
|
})(hn, hn.exports);
|
|
5400
|
-
var
|
|
5400
|
+
var La = hn.exports, Fn = {}, cu = du;
|
|
5401
5401
|
function du(s, e) {
|
|
5402
5402
|
if (Cr("noDeprecation"))
|
|
5403
5403
|
return s;
|
|
@@ -5414,12 +5414,12 @@ function du(s, e) {
|
|
|
5414
5414
|
}
|
|
5415
5415
|
function Cr(s) {
|
|
5416
5416
|
try {
|
|
5417
|
-
if (!
|
|
5417
|
+
if (!ni.localStorage)
|
|
5418
5418
|
return !1;
|
|
5419
5419
|
} catch {
|
|
5420
5420
|
return !1;
|
|
5421
5421
|
}
|
|
5422
|
-
var e =
|
|
5422
|
+
var e = ni.localStorage[s];
|
|
5423
5423
|
return e == null ? !1 : String(e).toLowerCase() === "true";
|
|
5424
5424
|
}
|
|
5425
5425
|
(function(s) {
|
|
@@ -5677,7 +5677,7 @@ var mn = { exports: {} };
|
|
|
5677
5677
|
}(t.default);
|
|
5678
5678
|
e.default = c, s.exports = e.default;
|
|
5679
5679
|
})(mn, mn.exports);
|
|
5680
|
-
var
|
|
5680
|
+
var Fa = mn.exports, gn = { exports: {} };
|
|
5681
5681
|
(function(s, e) {
|
|
5682
5682
|
e.__esModule = !0, e.default = void 0;
|
|
5683
5683
|
var t = n(at), r = be;
|
|
@@ -5702,7 +5702,7 @@ var La = mn.exports, gn = { exports: {} };
|
|
|
5702
5702
|
}(t.default);
|
|
5703
5703
|
e.default = c, s.exports = e.default;
|
|
5704
5704
|
})(gn, gn.exports);
|
|
5705
|
-
var
|
|
5705
|
+
var za = gn.exports, vn = { exports: {} };
|
|
5706
5706
|
(function(s, e) {
|
|
5707
5707
|
e.__esModule = !0, e.default = void 0;
|
|
5708
5708
|
var t = n(at), r = be;
|
|
@@ -5727,7 +5727,7 @@ var Fa = gn.exports, vn = { exports: {} };
|
|
|
5727
5727
|
}(t.default);
|
|
5728
5728
|
e.default = c, s.exports = e.default;
|
|
5729
5729
|
})(vn, vn.exports);
|
|
5730
|
-
var
|
|
5730
|
+
var Ua = vn.exports, yn = { exports: {} };
|
|
5731
5731
|
(function(s, e) {
|
|
5732
5732
|
e.__esModule = !0, e.default = t;
|
|
5733
5733
|
function t(r) {
|
|
@@ -5737,7 +5737,7 @@ var za = vn.exports, yn = { exports: {} };
|
|
|
5737
5737
|
}
|
|
5738
5738
|
s.exports = e.default;
|
|
5739
5739
|
})(yn, yn.exports);
|
|
5740
|
-
var pu = yn.exports,
|
|
5740
|
+
var pu = yn.exports, ja = {}, ie = {};
|
|
5741
5741
|
ie.__esModule = !0;
|
|
5742
5742
|
ie.word = ie.tilde = ie.tab = ie.str = ie.space = ie.slash = ie.singleQuote = ie.semicolon = ie.plus = ie.pipe = ie.openSquare = ie.openParenthesis = ie.newline = ie.greaterThan = ie.feed = ie.equals = ie.doubleQuote = ie.dollar = ie.cr = ie.comment = ie.comma = ie.combinator = ie.colon = ie.closeSquare = ie.closeParenthesis = ie.caret = ie.bang = ie.backslash = ie.at = ie.asterisk = ie.ampersand = void 0;
|
|
5743
5743
|
var hu = 38;
|
|
@@ -5776,8 +5776,8 @@ var Tu = 62;
|
|
|
5776
5776
|
ie.greaterThan = Tu;
|
|
5777
5777
|
var Mu = 32;
|
|
5778
5778
|
ie.space = Mu;
|
|
5779
|
-
var
|
|
5780
|
-
ie.singleQuote =
|
|
5779
|
+
var Va = 39;
|
|
5780
|
+
ie.singleQuote = Va;
|
|
5781
5781
|
var Iu = 34;
|
|
5782
5782
|
ie.doubleQuote = Iu;
|
|
5783
5783
|
var Ru = 47;
|
|
@@ -5794,7 +5794,7 @@ var Fu = 10;
|
|
|
5794
5794
|
ie.newline = Fu;
|
|
5795
5795
|
var zu = 9;
|
|
5796
5796
|
ie.tab = zu;
|
|
5797
|
-
var Uu =
|
|
5797
|
+
var Uu = Va;
|
|
5798
5798
|
ie.str = Uu;
|
|
5799
5799
|
var ju = -1;
|
|
5800
5800
|
ie.comment = ju;
|
|
@@ -5942,10 +5942,10 @@ ie.combinator = Wu;
|
|
|
5942
5942
|
}
|
|
5943
5943
|
return m;
|
|
5944
5944
|
}
|
|
5945
|
-
})(
|
|
5945
|
+
})(ja);
|
|
5946
5946
|
(function(s, e) {
|
|
5947
5947
|
e.__esModule = !0, e.default = void 0;
|
|
5948
|
-
var t = D(
|
|
5948
|
+
var t = D(Ta), r = D(Ma), n = D(Ia), l = D(Ra), i = D($a), c = D(Da), a = D(Na), o = D(La), f = M(Fn), u = D(Fa), p = D(za), _ = D(Ua), x = D(pu), h = M(ja), m = M(ie), C = M(be), S = Be, k, O;
|
|
5949
5949
|
function E(z) {
|
|
5950
5950
|
if (typeof WeakMap != "function")
|
|
5951
5951
|
return null;
|
|
@@ -6627,10 +6627,10 @@ var Bu = Xr.exports;
|
|
|
6627
6627
|
}();
|
|
6628
6628
|
e.default = n, s.exports = e.default;
|
|
6629
6629
|
})(Kr, Kr.exports);
|
|
6630
|
-
var qu = Kr.exports,
|
|
6630
|
+
var qu = Kr.exports, Wa = {}, Me = {};
|
|
6631
6631
|
Me.__esModule = !0;
|
|
6632
6632
|
Me.universal = Me.tag = Me.string = Me.selector = Me.root = Me.pseudo = Me.nesting = Me.id = Me.comment = Me.combinator = Me.className = Me.attribute = void 0;
|
|
6633
|
-
var Gu = Ge(Fn), Yu = Ge(
|
|
6633
|
+
var Gu = Ge(Fn), Yu = Ge(Ia), Hu = Ge(za), Qu = Ge(Ra), Ju = Ge($a), Ku = Ge(Ua), Xu = Ge(La), Zu = Ge(Ta), ef = Ge(Ma), tf = Ge(Na), rf = Ge(Da), nf = Ge(Fa);
|
|
6634
6634
|
function Ge(s) {
|
|
6635
6635
|
return s && s.__esModule ? s : { default: s };
|
|
6636
6636
|
}
|
|
@@ -6692,7 +6692,7 @@ ke.isNesting = void 0;
|
|
|
6692
6692
|
ke.isNode = zn;
|
|
6693
6693
|
ke.isPseudo = void 0;
|
|
6694
6694
|
ke.isPseudoClass = Cf;
|
|
6695
|
-
ke.isPseudoElement =
|
|
6695
|
+
ke.isPseudoElement = Ga;
|
|
6696
6696
|
ke.isUniversal = ke.isTag = ke.isString = ke.isSelector = ke.isRoot = void 0;
|
|
6697
6697
|
var $e = be, je, vf = (je = {}, je[$e.ATTRIBUTE] = !0, je[$e.CLASS] = !0, je[$e.COMBINATOR] = !0, je[$e.COMMENT] = !0, je[$e.ID] = !0, je[$e.NESTING] = !0, je[$e.PSEUDO] = !0, je[$e.ROOT] = !0, je[$e.SELECTOR] = !0, je[$e.STRING] = !0, je[$e.TAG] = !0, je[$e.UNIVERSAL] = !0, je);
|
|
6698
6698
|
function zn(s) {
|
|
@@ -6701,8 +6701,8 @@ function zn(s) {
|
|
|
6701
6701
|
function Ye(s, e) {
|
|
6702
6702
|
return zn(e) && e.type === s;
|
|
6703
6703
|
}
|
|
6704
|
-
var
|
|
6705
|
-
ke.isAttribute =
|
|
6704
|
+
var Ba = Ye.bind(null, $e.ATTRIBUTE);
|
|
6705
|
+
ke.isAttribute = Ba;
|
|
6706
6706
|
var yf = Ye.bind(null, $e.CLASS);
|
|
6707
6707
|
ke.isClassName = yf;
|
|
6708
6708
|
var wf = Ye.bind(null, $e.COMBINATOR);
|
|
@@ -6721,21 +6721,21 @@ var Of = Ye.bind(null, $e.SELECTOR);
|
|
|
6721
6721
|
ke.isSelector = Of;
|
|
6722
6722
|
var kf = Ye.bind(null, $e.STRING);
|
|
6723
6723
|
ke.isString = kf;
|
|
6724
|
-
var
|
|
6725
|
-
ke.isTag =
|
|
6724
|
+
var qa = Ye.bind(null, $e.TAG);
|
|
6725
|
+
ke.isTag = qa;
|
|
6726
6726
|
var Af = Ye.bind(null, $e.UNIVERSAL);
|
|
6727
6727
|
ke.isUniversal = Af;
|
|
6728
|
-
function
|
|
6728
|
+
function Ga(s) {
|
|
6729
6729
|
return Un(s) && s.value && (s.value.startsWith("::") || s.value.toLowerCase() === ":before" || s.value.toLowerCase() === ":after" || s.value.toLowerCase() === ":first-letter" || s.value.toLowerCase() === ":first-line");
|
|
6730
6730
|
}
|
|
6731
6731
|
function Cf(s) {
|
|
6732
|
-
return Un(s) && !
|
|
6732
|
+
return Un(s) && !Ga(s);
|
|
6733
6733
|
}
|
|
6734
6734
|
function Ef(s) {
|
|
6735
6735
|
return !!(zn(s) && s.walk);
|
|
6736
6736
|
}
|
|
6737
6737
|
function Pf(s) {
|
|
6738
|
-
return
|
|
6738
|
+
return Ba(s) || qa(s);
|
|
6739
6739
|
}
|
|
6740
6740
|
(function(s) {
|
|
6741
6741
|
s.__esModule = !0;
|
|
@@ -6751,10 +6751,10 @@ function Pf(s) {
|
|
|
6751
6751
|
Object.keys(r).forEach(function(n) {
|
|
6752
6752
|
n === "default" || n === "__esModule" || n in s && s[n] === r[n] || (s[n] = r[n]);
|
|
6753
6753
|
});
|
|
6754
|
-
})(
|
|
6754
|
+
})(Wa);
|
|
6755
6755
|
(function(s, e) {
|
|
6756
6756
|
e.__esModule = !0, e.default = void 0;
|
|
6757
|
-
var t = i(qu), r = l(
|
|
6757
|
+
var t = i(qu), r = l(Wa);
|
|
6758
6758
|
function n(o) {
|
|
6759
6759
|
if (typeof WeakMap != "function")
|
|
6760
6760
|
return null;
|
|
@@ -6792,12 +6792,12 @@ function Pf(s) {
|
|
|
6792
6792
|
var Ke = Jr.exports;
|
|
6793
6793
|
const Qt = /* @__PURE__ */ Qe(Ke);
|
|
6794
6794
|
var Er = {}, jn = {}, Vn = { exports: {} };
|
|
6795
|
-
const { Rule:
|
|
6796
|
-
let
|
|
6795
|
+
const { Rule: Ya, AtRule: Tf } = qe;
|
|
6796
|
+
let Ha = Ke;
|
|
6797
6797
|
function wn(s, e) {
|
|
6798
6798
|
let t;
|
|
6799
6799
|
try {
|
|
6800
|
-
|
|
6800
|
+
Ha((r) => {
|
|
6801
6801
|
t = r;
|
|
6802
6802
|
}).processSync(s);
|
|
6803
6803
|
} catch (r) {
|
|
@@ -6805,7 +6805,7 @@ function wn(s, e) {
|
|
|
6805
6805
|
}
|
|
6806
6806
|
return t.at(0);
|
|
6807
6807
|
}
|
|
6808
|
-
function
|
|
6808
|
+
function Qa(s, e) {
|
|
6809
6809
|
let t = !1;
|
|
6810
6810
|
return s.each((r) => {
|
|
6811
6811
|
if (r.type === "nesting") {
|
|
@@ -6814,10 +6814,10 @@ function Ha(s, e) {
|
|
|
6814
6814
|
wn(r.value.replace("&", n.toString()))
|
|
6815
6815
|
) : r.replaceWith(n), t = !0;
|
|
6816
6816
|
} else
|
|
6817
|
-
"nodes" in r && r.nodes &&
|
|
6817
|
+
"nodes" in r && r.nodes && Qa(r, e) && (t = !0);
|
|
6818
6818
|
}), t;
|
|
6819
6819
|
}
|
|
6820
|
-
function
|
|
6820
|
+
function Ja(s, e) {
|
|
6821
6821
|
let t = [];
|
|
6822
6822
|
return s.selectors.forEach((r) => {
|
|
6823
6823
|
let n = wn(r, s);
|
|
@@ -6825,7 +6825,7 @@ function Qa(s, e) {
|
|
|
6825
6825
|
if (!l)
|
|
6826
6826
|
return;
|
|
6827
6827
|
let i = wn(l, e);
|
|
6828
|
-
|
|
6828
|
+
Qa(i, n) || (i.prepend(Ha.combinator({ value: " " })), i.prepend(n.clone({}))), t.push(i.toString());
|
|
6829
6829
|
});
|
|
6830
6830
|
}), t;
|
|
6831
6831
|
}
|
|
@@ -6841,7 +6841,7 @@ function Mf(s) {
|
|
|
6841
6841
|
return function e(t, r, n, l = n) {
|
|
6842
6842
|
let i = [];
|
|
6843
6843
|
if (r.each((c) => {
|
|
6844
|
-
c.type === "rule" && n ? l && (c.selectors =
|
|
6844
|
+
c.type === "rule" && n ? l && (c.selectors = Ja(t, c)) : c.type === "atrule" && c.nodes ? s[c.name] ? e(t, c, l) : r[Wn] !== !1 && i.push(c) : i.push(c);
|
|
6845
6845
|
}), n && i.length) {
|
|
6846
6846
|
let c = t.clone({ nodes: [] });
|
|
6847
6847
|
for (let a of i)
|
|
@@ -6851,13 +6851,13 @@ function Mf(s) {
|
|
|
6851
6851
|
};
|
|
6852
6852
|
}
|
|
6853
6853
|
function Pr(s, e, t) {
|
|
6854
|
-
let r = new
|
|
6854
|
+
let r = new Ya({
|
|
6855
6855
|
selector: s,
|
|
6856
6856
|
nodes: []
|
|
6857
6857
|
});
|
|
6858
6858
|
return r.append(e), t.after(r), r;
|
|
6859
6859
|
}
|
|
6860
|
-
function
|
|
6860
|
+
function Oi(s, e) {
|
|
6861
6861
|
let t = {};
|
|
6862
6862
|
for (let r of s)
|
|
6863
6863
|
t[r] = !0;
|
|
@@ -6893,7 +6893,7 @@ function Rf(s) {
|
|
|
6893
6893
|
return e;
|
|
6894
6894
|
}
|
|
6895
6895
|
function $f(s) {
|
|
6896
|
-
let e = s[
|
|
6896
|
+
let e = s[Ka];
|
|
6897
6897
|
if (!e)
|
|
6898
6898
|
s.after(s.nodes);
|
|
6899
6899
|
else {
|
|
@@ -6919,7 +6919,7 @@ function $f(s) {
|
|
|
6919
6919
|
}
|
|
6920
6920
|
s.remove();
|
|
6921
6921
|
}
|
|
6922
|
-
const Wn = Symbol("rootRuleMergeSel"),
|
|
6922
|
+
const Wn = Symbol("rootRuleMergeSel"), Ka = Symbol("rootRuleEscapes");
|
|
6923
6923
|
function Df(s) {
|
|
6924
6924
|
let { params: e } = s, { type: t, selector: r, escapes: n } = If(e);
|
|
6925
6925
|
if (t === "unknown")
|
|
@@ -6927,17 +6927,17 @@ function Df(s) {
|
|
|
6927
6927
|
`Unknown @${s.name} parameter ${JSON.stringify(e)}`
|
|
6928
6928
|
);
|
|
6929
6929
|
if (t === "basic" && r) {
|
|
6930
|
-
let l = new
|
|
6930
|
+
let l = new Ya({ selector: r, nodes: s.nodes });
|
|
6931
6931
|
s.removeAll(), s.append(l);
|
|
6932
6932
|
}
|
|
6933
|
-
s[
|
|
6933
|
+
s[Ka] = n, s[Wn] = n ? !n("all") : t === "noop";
|
|
6934
6934
|
}
|
|
6935
6935
|
const Tr = Symbol("hasRootRule");
|
|
6936
6936
|
Vn.exports = (s = {}) => {
|
|
6937
|
-
let e =
|
|
6937
|
+
let e = Oi(
|
|
6938
6938
|
["media", "supports", "layer", "container"],
|
|
6939
6939
|
s.bubble
|
|
6940
|
-
), t = Mf(e), r =
|
|
6940
|
+
), t = Mf(e), r = Oi(
|
|
6941
6941
|
[
|
|
6942
6942
|
"document",
|
|
6943
6943
|
"font-face",
|
|
@@ -6957,7 +6957,7 @@ Vn.exports = (s = {}) => {
|
|
|
6957
6957
|
Rule(i) {
|
|
6958
6958
|
let c = !1, a = i, o = !1, f = [];
|
|
6959
6959
|
i.each((u) => {
|
|
6960
|
-
u.type === "rule" ? (f.length && (a = Pr(i.selector, f, a), f = []), o = !0, c = !0, u.selectors =
|
|
6960
|
+
u.type === "rule" ? (f.length && (a = Pr(i.selector, f, a), f = []), o = !0, c = !0, u.selectors = Ja(i, u), a = Vt(u, a)) : u.type === "atrule" ? (f.length && (a = Pr(i.selector, f, a), f = []), u.name === n ? (c = !0, t(i, u, !0, u[Wn]), a = Vt(u, a)) : e[u.name] ? (o = !0, c = !0, t(i, u, !0), a = Vt(u, a)) : r[u.name] ? (o = !0, c = !0, t(i, u, !1), a = Vt(u, a)) : o && f.push(u)) : u.type === "decl" && o && f.push(u);
|
|
6961
6961
|
}), f.length && (a = Pr(i.selector, f, a)), c && l !== !0 && (i.raws.semicolon = !0, i.nodes.length === 0 && i.remove());
|
|
6962
6962
|
},
|
|
6963
6963
|
RootExit(i) {
|
|
@@ -6966,10 +6966,10 @@ Vn.exports = (s = {}) => {
|
|
|
6966
6966
|
};
|
|
6967
6967
|
};
|
|
6968
6968
|
Vn.exports.postcss = !0;
|
|
6969
|
-
var Nf = Vn.exports,
|
|
6969
|
+
var Nf = Vn.exports, ki = /-(\w|$)/g, Ai = function(e, t) {
|
|
6970
6970
|
return t.toUpperCase();
|
|
6971
6971
|
}, Lf = function(e) {
|
|
6972
|
-
return e = e.toLowerCase(), e === "float" ? "cssFloat" : e.charCodeAt(0) === 45 && e.charCodeAt(1) === 109 && e.charCodeAt(2) === 115 && e.charCodeAt(3) === 45 ? e.substr(1).replace(
|
|
6972
|
+
return e = e.toLowerCase(), e === "float" ? "cssFloat" : e.charCodeAt(0) === 45 && e.charCodeAt(1) === 109 && e.charCodeAt(2) === 115 && e.charCodeAt(3) === 45 ? e.substr(1).replace(ki, Ai) : e.replace(ki, Ai);
|
|
6973
6973
|
}, Ff = Lf;
|
|
6974
6974
|
let zf = Ff, Uf = {
|
|
6975
6975
|
boxFlex: !0,
|
|
@@ -7017,8 +7017,8 @@ function Bn(s) {
|
|
|
7017
7017
|
}
|
|
7018
7018
|
}), t;
|
|
7019
7019
|
}
|
|
7020
|
-
var
|
|
7021
|
-
let xt = qe,
|
|
7020
|
+
var Xa = Bn;
|
|
7021
|
+
let xt = qe, Ci = /\s*!important\s*$/i, jf = {
|
|
7022
7022
|
"box-flex": !0,
|
|
7023
7023
|
"box-flex-group": !0,
|
|
7024
7024
|
"column-count": !0,
|
|
@@ -7045,10 +7045,10 @@ let xt = qe, Ai = /\s*!important\s*$/i, jf = {
|
|
|
7045
7045
|
function Vf(s) {
|
|
7046
7046
|
return s.replace(/([A-Z])/g, "-$1").replace(/^ms-/, "-ms-").toLowerCase();
|
|
7047
7047
|
}
|
|
7048
|
-
function Ci(s, e, t) {
|
|
7049
|
-
t === !1 || t === null || (e.startsWith("--") || (e = Vf(e)), typeof t == "number" && (t === 0 || jf[e] ? t = t.toString() : t += "px"), e === "css-float" && (e = "float"), Ai.test(t) ? (t = t.replace(Ai, ""), s.push(xt.decl({ prop: e, value: t, important: !0 }))) : s.push(xt.decl({ prop: e, value: t })));
|
|
7050
|
-
}
|
|
7051
7048
|
function Ei(s, e, t) {
|
|
7049
|
+
t === !1 || t === null || (e.startsWith("--") || (e = Vf(e)), typeof t == "number" && (t === 0 || jf[e] ? t = t.toString() : t += "px"), e === "css-float" && (e = "float"), Ci.test(t) ? (t = t.replace(Ci, ""), s.push(xt.decl({ prop: e, value: t, important: !0 }))) : s.push(xt.decl({ prop: e, value: t })));
|
|
7050
|
+
}
|
|
7051
|
+
function Pi(s, e, t) {
|
|
7052
7052
|
let r = xt.atRule({ name: e[1], params: e[3] || "" });
|
|
7053
7053
|
typeof t == "object" && (r.nodes = [], qn(t, r)), s.push(r);
|
|
7054
7054
|
}
|
|
@@ -7060,27 +7060,27 @@ function qn(s, e) {
|
|
|
7060
7060
|
let l = t.match(/@(\S+)(\s+([\W\w]*)\s*)?/);
|
|
7061
7061
|
if (Array.isArray(r))
|
|
7062
7062
|
for (let i of r)
|
|
7063
|
-
|
|
7063
|
+
Pi(e, l, i);
|
|
7064
7064
|
else
|
|
7065
|
-
|
|
7065
|
+
Pi(e, l, r);
|
|
7066
7066
|
} else if (Array.isArray(r))
|
|
7067
7067
|
for (let l of r)
|
|
7068
|
-
|
|
7068
|
+
Ei(e, t, l);
|
|
7069
7069
|
else
|
|
7070
|
-
typeof r == "object" ? (n = xt.rule({ selector: t }), qn(r, n), e.push(n)) :
|
|
7070
|
+
typeof r == "object" ? (n = xt.rule({ selector: t }), qn(r, n), e.push(n)) : Ei(e, t, r);
|
|
7071
7071
|
}
|
|
7072
7072
|
var Gn = function(s) {
|
|
7073
7073
|
let e = xt.root();
|
|
7074
7074
|
return qn(s, e), e;
|
|
7075
7075
|
};
|
|
7076
|
-
let Wf =
|
|
7077
|
-
var
|
|
7076
|
+
let Wf = Xa;
|
|
7077
|
+
var Za = function(e) {
|
|
7078
7078
|
return console && console.warn && e.warnings().forEach((t) => {
|
|
7079
7079
|
let r = t.plugin || "PostCSS";
|
|
7080
7080
|
console.warn(r + ": " + t.text);
|
|
7081
7081
|
}), Wf(e.root);
|
|
7082
7082
|
};
|
|
7083
|
-
let Bf = qe, qf =
|
|
7083
|
+
let Bf = qe, qf = Za, Gf = Gn;
|
|
7084
7084
|
var Yf = function(e) {
|
|
7085
7085
|
let t = Bf(e);
|
|
7086
7086
|
return async (r) => {
|
|
@@ -7091,7 +7091,7 @@ var Yf = function(e) {
|
|
|
7091
7091
|
return qf(n);
|
|
7092
7092
|
};
|
|
7093
7093
|
};
|
|
7094
|
-
let Hf = qe, Qf =
|
|
7094
|
+
let Hf = qe, Qf = Za, Jf = Gn;
|
|
7095
7095
|
var Kf = function(s) {
|
|
7096
7096
|
let e = Hf(s);
|
|
7097
7097
|
return (t) => {
|
|
@@ -7099,7 +7099,7 @@ var Kf = function(s) {
|
|
|
7099
7099
|
return Qf(r);
|
|
7100
7100
|
};
|
|
7101
7101
|
};
|
|
7102
|
-
let Xf =
|
|
7102
|
+
let Xf = Xa, Zf = Gn, ec = Yf, tc = Kf;
|
|
7103
7103
|
var rc = {
|
|
7104
7104
|
objectify: Xf,
|
|
7105
7105
|
parse: Zf,
|
|
@@ -7595,7 +7595,7 @@ var Hn = {};
|
|
|
7595
7595
|
return o === "DEFAULT" ? a : o === "-" || o === "-DEFAULT" ? `-${a}` : o.startsWith("-") ? `-${a}${o}` : o.startsWith("/") ? `${a}${o}` : `${a}-${o}`;
|
|
7596
7596
|
}
|
|
7597
7597
|
})(Hn);
|
|
7598
|
-
var Ir = {}, Rr = {},
|
|
7598
|
+
var Ir = {}, Rr = {}, es = {};
|
|
7599
7599
|
(function(s) {
|
|
7600
7600
|
Object.defineProperty(s, "__esModule", {
|
|
7601
7601
|
value: !0
|
|
@@ -7639,8 +7639,8 @@ var Ir = {}, Rr = {}, Za = {};
|
|
|
7639
7639
|
}
|
|
7640
7640
|
};
|
|
7641
7641
|
}
|
|
7642
|
-
})(
|
|
7643
|
-
var
|
|
7642
|
+
})(es);
|
|
7643
|
+
var ts = {};
|
|
7644
7644
|
(function(s) {
|
|
7645
7645
|
Object.defineProperty(s, "__esModule", {
|
|
7646
7646
|
value: !0
|
|
@@ -7687,8 +7687,8 @@ var es = {};
|
|
|
7687
7687
|
return m;
|
|
7688
7688
|
});
|
|
7689
7689
|
}
|
|
7690
|
-
})(
|
|
7691
|
-
var
|
|
7690
|
+
})(ts);
|
|
7691
|
+
var rs = {};
|
|
7692
7692
|
(function(s) {
|
|
7693
7693
|
Object.defineProperty(s, "__esModule", {
|
|
7694
7694
|
value: !0
|
|
@@ -7705,7 +7705,7 @@ var ts = {};
|
|
|
7705
7705
|
[`${n}`]: l
|
|
7706
7706
|
}
|
|
7707
7707
|
])), t = e;
|
|
7708
|
-
})(
|
|
7708
|
+
})(rs);
|
|
7709
7709
|
var Qn = {};
|
|
7710
7710
|
(function(s) {
|
|
7711
7711
|
Object.defineProperty(s, "__esModule", {
|
|
@@ -7838,7 +7838,7 @@ const nc = "tailwindcss", ic = "3.4.10", ac = "A utility-first CSS framework for
|
|
|
7838
7838
|
jest: yc,
|
|
7839
7839
|
engines: wc
|
|
7840
7840
|
};
|
|
7841
|
-
var
|
|
7841
|
+
var ns = {};
|
|
7842
7842
|
(function(s) {
|
|
7843
7843
|
Object.defineProperty(s, "__esModule", {
|
|
7844
7844
|
value: !0
|
|
@@ -7858,10 +7858,10 @@ var rs = {};
|
|
|
7858
7858
|
n.value.includes(`/ var(${l})`) && (n.value = n.value.replace(`/ var(${l})`, ""));
|
|
7859
7859
|
});
|
|
7860
7860
|
}
|
|
7861
|
-
})(
|
|
7862
|
-
var
|
|
7861
|
+
})(ns);
|
|
7862
|
+
var Ti;
|
|
7863
7863
|
function xc() {
|
|
7864
|
-
return
|
|
7864
|
+
return Ti || (Ti = 1, function(s) {
|
|
7865
7865
|
Object.defineProperty(s, "__esModule", {
|
|
7866
7866
|
value: !0
|
|
7867
7867
|
});
|
|
@@ -7880,7 +7880,7 @@ function xc() {
|
|
|
7880
7880
|
return V;
|
|
7881
7881
|
}
|
|
7882
7882
|
});
|
|
7883
|
-
const t = /* @__PURE__ */ M(Le), r = /* @__PURE__ */ P(Le), n = /* @__PURE__ */ M(qe), l = /* @__PURE__ */ M(
|
|
7883
|
+
const t = /* @__PURE__ */ M(Le), r = /* @__PURE__ */ P(Le), n = /* @__PURE__ */ M(qe), l = /* @__PURE__ */ M(es), i = /* @__PURE__ */ M(nr), c = /* @__PURE__ */ M(pt), a = /* @__PURE__ */ M(ts), o = /* @__PURE__ */ M(rs), f = /* @__PURE__ */ P(kt), u = /* @__PURE__ */ M(Qn), p = /* @__PURE__ */ M(dt), _ = /* @__PURE__ */ M(Ot), x = bc, h = /* @__PURE__ */ M(et), m = rr, C = Mn, S = ns, k = it, O = Ct, E = Kn();
|
|
7884
7884
|
function M(d) {
|
|
7885
7885
|
return d && d.__esModule ? d : {
|
|
7886
7886
|
default: d
|
|
@@ -11883,7 +11883,7 @@ var Jn = {};
|
|
|
11883
11883
|
return !(i.length > 0);
|
|
11884
11884
|
}
|
|
11885
11885
|
})(Jn);
|
|
11886
|
-
var
|
|
11886
|
+
var is = {};
|
|
11887
11887
|
(function(s) {
|
|
11888
11888
|
Object.defineProperty(s, "__esModule", {
|
|
11889
11889
|
value: !0
|
|
@@ -11939,8 +11939,8 @@ var ns = {};
|
|
|
11939
11939
|
let u = t.sourceHashMap.get(a), p = i(f), _ = u !== p;
|
|
11940
11940
|
return t.sourceHashMap.set(a, p), _;
|
|
11941
11941
|
}
|
|
11942
|
-
})(
|
|
11943
|
-
var
|
|
11942
|
+
})(is);
|
|
11943
|
+
var as = {}, ss = {};
|
|
11944
11944
|
(function(s) {
|
|
11945
11945
|
Object.defineProperty(s, "__esModule", {
|
|
11946
11946
|
value: !0
|
|
@@ -11953,8 +11953,8 @@ var is = {}, as = {};
|
|
|
11953
11953
|
function e(t) {
|
|
11954
11954
|
return (t > 0n) - (t < 0n);
|
|
11955
11955
|
}
|
|
11956
|
-
})(
|
|
11957
|
-
var
|
|
11956
|
+
})(ss);
|
|
11957
|
+
var os = {};
|
|
11958
11958
|
(function(s) {
|
|
11959
11959
|
Object.defineProperty(s, "__esModule", {
|
|
11960
11960
|
value: !0
|
|
@@ -11970,7 +11970,7 @@ var ss = {};
|
|
|
11970
11970
|
t & i && (n = n | i, l = l | c);
|
|
11971
11971
|
return t & ~n | l;
|
|
11972
11972
|
}
|
|
11973
|
-
})(
|
|
11973
|
+
})(os);
|
|
11974
11974
|
(function(s) {
|
|
11975
11975
|
Object.defineProperty(s, "__esModule", {
|
|
11976
11976
|
value: !0
|
|
@@ -11980,7 +11980,7 @@ var ss = {};
|
|
|
11980
11980
|
return n;
|
|
11981
11981
|
}
|
|
11982
11982
|
});
|
|
11983
|
-
const e = /* @__PURE__ */ r(
|
|
11983
|
+
const e = /* @__PURE__ */ r(ss), t = os;
|
|
11984
11984
|
function r(c) {
|
|
11985
11985
|
return c && c.__esModule ? c : {
|
|
11986
11986
|
default: c
|
|
@@ -12225,10 +12225,10 @@ var ss = {};
|
|
|
12225
12225
|
}
|
|
12226
12226
|
return o - f;
|
|
12227
12227
|
}
|
|
12228
|
-
})(
|
|
12229
|
-
var
|
|
12228
|
+
})(as);
|
|
12229
|
+
var Mi;
|
|
12230
12230
|
function Kn() {
|
|
12231
|
-
return
|
|
12231
|
+
return Mi || (Mi = 1, function(s) {
|
|
12232
12232
|
Object.defineProperty(s, "__esModule", {
|
|
12233
12233
|
value: !0
|
|
12234
12234
|
});
|
|
@@ -12259,7 +12259,7 @@ function Kn() {
|
|
|
12259
12259
|
return Ne;
|
|
12260
12260
|
}
|
|
12261
12261
|
});
|
|
12262
|
-
const t = /* @__PURE__ */ b(Le), r = /* @__PURE__ */ b(Le), n = /* @__PURE__ */ b(qe), l = /* @__PURE__ */ b(
|
|
12262
|
+
const t = /* @__PURE__ */ b(Le), r = /* @__PURE__ */ b(Le), n = /* @__PURE__ */ b(qe), l = /* @__PURE__ */ b(ba), i = /* @__PURE__ */ b(Ke), c = /* @__PURE__ */ b(Ot), a = /* @__PURE__ */ b(jn), o = /* @__PURE__ */ b(lr), f = /* @__PURE__ */ b(dt), u = /* @__PURE__ */ b(pt), p = /* @__PURE__ */ N(Hn), _ = At, x = xc(), h = /* @__PURE__ */ N(Et), m = ir, C = /* @__PURE__ */ b(et), S = /* @__PURE__ */ b(sr), k = /* @__PURE__ */ b(Jn), O = fr(), E = is, M = as, D = it, P = Yn;
|
|
12263
12263
|
function b(q) {
|
|
12264
12264
|
return q && q.__esModule ? q : {
|
|
12265
12265
|
default: q
|
|
@@ -12957,11 +12957,11 @@ function Kn() {
|
|
|
12957
12957
|
separator: U.tailwindConfig.separator,
|
|
12958
12958
|
modifySelectors(He) {
|
|
12959
12959
|
return ce.each((hr) => {
|
|
12960
|
-
hr.type === "rule" && (hr.selectors = hr.selectors.map((
|
|
12960
|
+
hr.type === "rule" && (hr.selectors = hr.selectors.map((ri) => He({
|
|
12961
12961
|
get className() {
|
|
12962
|
-
return (0, O.getClassNameFromSelector)(
|
|
12962
|
+
return (0, O.getClassNameFromSelector)(ri);
|
|
12963
12963
|
},
|
|
12964
|
-
selector:
|
|
12964
|
+
selector: ri
|
|
12965
12965
|
})));
|
|
12966
12966
|
}), ce;
|
|
12967
12967
|
},
|
|
@@ -12991,19 +12991,19 @@ function Kn() {
|
|
|
12991
12991
|
var cr;
|
|
12992
12992
|
let Ps = !(pe in ((cr = Te.values) !== null && cr !== void 0 ? cr : {}));
|
|
12993
12993
|
var dr;
|
|
12994
|
-
let Ts = (dr = Te[T]) !== null && dr !== void 0 ? dr : {},
|
|
12994
|
+
let Ts = (dr = Te[T]) !== null && dr !== void 0 ? dr : {}, ei = !(Ps || Ts.respectPrefix === !1);
|
|
12995
12995
|
ze = ze.map((Ve) => Ve.map((We) => ({
|
|
12996
12996
|
format: We,
|
|
12997
|
-
respectPrefix:
|
|
12997
|
+
respectPrefix: ei
|
|
12998
12998
|
}))), Xe = Xe.map((Ve) => ({
|
|
12999
12999
|
format: Ve,
|
|
13000
|
-
respectPrefix:
|
|
13000
|
+
respectPrefix: ei
|
|
13001
13001
|
}));
|
|
13002
13002
|
let pr = {
|
|
13003
13003
|
candidate: xe,
|
|
13004
13004
|
context: U
|
|
13005
|
-
},
|
|
13006
|
-
return Xe.length > 0 &&
|
|
13005
|
+
}, ti = ze.map((Ve) => (0, P.finalizeSelector)(`.${xe}`, (0, P.formatVariantSelector)(Ve, pr), pr).replace(`.${xe}`, "&").replace("{ & }", "").trim());
|
|
13006
|
+
return Xe.length > 0 && ti.push((0, P.formatVariantSelector)(Xe, pr).toString().replace(`.${xe}`, "&")), ti;
|
|
13007
13007
|
}
|
|
13008
13008
|
});
|
|
13009
13009
|
}
|
|
@@ -13122,9 +13122,9 @@ var Xn = {};
|
|
|
13122
13122
|
}), `${i} ${c.toString()}`;
|
|
13123
13123
|
}
|
|
13124
13124
|
})(Xn);
|
|
13125
|
-
var
|
|
13125
|
+
var Ii;
|
|
13126
13126
|
function fr() {
|
|
13127
|
-
return
|
|
13127
|
+
return Ii || (Ii = 1, function(s) {
|
|
13128
13128
|
Object.defineProperty(s, "__esModule", {
|
|
13129
13129
|
value: !0
|
|
13130
13130
|
});
|
|
@@ -13942,9 +13942,9 @@ function fr() {
|
|
|
13942
13942
|
E(P, D, b);
|
|
13943
13943
|
};
|
|
13944
13944
|
}
|
|
13945
|
-
})(
|
|
13946
|
-
const _c = /* @__PURE__ */ Qe(
|
|
13947
|
-
var
|
|
13945
|
+
})(Pa);
|
|
13946
|
+
const _c = /* @__PURE__ */ Qe(Pa);
|
|
13947
|
+
var ls = {};
|
|
13948
13948
|
(function(s) {
|
|
13949
13949
|
Object.defineProperty(s, "__esModule", {
|
|
13950
13950
|
value: !0
|
|
@@ -14066,9 +14066,9 @@ var os = {};
|
|
|
14066
14066
|
}
|
|
14067
14067
|
};
|
|
14068
14068
|
}
|
|
14069
|
-
})(
|
|
14070
|
-
const Sc = /* @__PURE__ */ Qe(
|
|
14071
|
-
var Oc = fr(),
|
|
14069
|
+
})(ls);
|
|
14070
|
+
const Sc = /* @__PURE__ */ Qe(ls);
|
|
14071
|
+
var Oc = fr(), us = {};
|
|
14072
14072
|
class kc {
|
|
14073
14073
|
constructor(e = {}) {
|
|
14074
14074
|
if (!(e.maxSize && e.maxSize > 0))
|
|
@@ -14194,7 +14194,7 @@ class kc {
|
|
|
14194
14194
|
return Math.min(this._size + e, this.maxSize);
|
|
14195
14195
|
}
|
|
14196
14196
|
}
|
|
14197
|
-
var Ac = kc,
|
|
14197
|
+
var Ac = kc, fs = {};
|
|
14198
14198
|
(function(s) {
|
|
14199
14199
|
Object.defineProperty(s, "__esModule", {
|
|
14200
14200
|
value: !0
|
|
@@ -14224,8 +14224,8 @@ var Ac = kc, us = {};
|
|
|
14224
14224
|
(l = r.each) === null || l === void 0 || l.call(r, (i) => t(i, n));
|
|
14225
14225
|
}
|
|
14226
14226
|
}
|
|
14227
|
-
})(
|
|
14228
|
-
var
|
|
14227
|
+
})(fs);
|
|
14228
|
+
var cs = {}, ds = {};
|
|
14229
14229
|
(function(s) {
|
|
14230
14230
|
Object.defineProperty(s, "__esModule", {
|
|
14231
14231
|
value: !0
|
|
@@ -14296,7 +14296,7 @@ var fs = {}, cs = {};
|
|
|
14296
14296
|
function u(p) {
|
|
14297
14297
|
return p && r.test(p) ? p.replace(t, "\\$&") : p || "";
|
|
14298
14298
|
}
|
|
14299
|
-
})(
|
|
14299
|
+
})(ds);
|
|
14300
14300
|
(function(s) {
|
|
14301
14301
|
Object.defineProperty(s, "__esModule", {
|
|
14302
14302
|
value: !0
|
|
@@ -14306,7 +14306,7 @@ var fs = {}, cs = {};
|
|
|
14306
14306
|
return l;
|
|
14307
14307
|
}
|
|
14308
14308
|
});
|
|
14309
|
-
const e = /* @__PURE__ */ n(
|
|
14309
|
+
const e = /* @__PURE__ */ n(ds), t = ot;
|
|
14310
14310
|
function r(f) {
|
|
14311
14311
|
if (typeof WeakMap != "function")
|
|
14312
14312
|
return null;
|
|
@@ -14491,7 +14491,7 @@ var fs = {}, cs = {};
|
|
|
14491
14491
|
}
|
|
14492
14492
|
return f;
|
|
14493
14493
|
}
|
|
14494
|
-
})(
|
|
14494
|
+
})(cs);
|
|
14495
14495
|
(function(s) {
|
|
14496
14496
|
Object.defineProperty(s, "__esModule", {
|
|
14497
14497
|
value: !0
|
|
@@ -14501,7 +14501,7 @@ var fs = {}, cs = {};
|
|
|
14501
14501
|
return k;
|
|
14502
14502
|
}
|
|
14503
14503
|
});
|
|
14504
|
-
const e = /* @__PURE__ */ a(Le), t = /* @__PURE__ */ a(Ac), r = /* @__PURE__ */ f(Et), n = fr(), l = /* @__PURE__ */ a(et), i = /* @__PURE__ */ a(
|
|
14504
|
+
const e = /* @__PURE__ */ a(Le), t = /* @__PURE__ */ a(Ac), r = /* @__PURE__ */ f(Et), n = fr(), l = /* @__PURE__ */ a(et), i = /* @__PURE__ */ a(fs), c = cs;
|
|
14505
14505
|
function a(O) {
|
|
14506
14506
|
return O && O.__esModule ? O : {
|
|
14507
14507
|
default: O
|
|
@@ -14662,9 +14662,9 @@ var fs = {}, cs = {};
|
|
|
14662
14662
|
});
|
|
14663
14663
|
};
|
|
14664
14664
|
}
|
|
14665
|
-
})(
|
|
14666
|
-
const Cc = /* @__PURE__ */ Qe(
|
|
14667
|
-
var
|
|
14665
|
+
})(us);
|
|
14666
|
+
const Cc = /* @__PURE__ */ Qe(us);
|
|
14667
|
+
var ps = {};
|
|
14668
14668
|
(function(s) {
|
|
14669
14669
|
Object.defineProperty(s, "__esModule", {
|
|
14670
14670
|
value: !0
|
|
@@ -14705,9 +14705,9 @@ var ds = {};
|
|
|
14705
14705
|
e(r);
|
|
14706
14706
|
};
|
|
14707
14707
|
}
|
|
14708
|
-
})(
|
|
14709
|
-
const
|
|
14710
|
-
var
|
|
14708
|
+
})(ps);
|
|
14709
|
+
const Ri = /* @__PURE__ */ Qe(ps);
|
|
14710
|
+
var hs = {};
|
|
14711
14711
|
(function(s) {
|
|
14712
14712
|
Object.defineProperty(s, "__esModule", {
|
|
14713
14713
|
value: !0
|
|
@@ -14733,9 +14733,9 @@ var ps = {};
|
|
|
14733
14733
|
});
|
|
14734
14734
|
};
|
|
14735
14735
|
}
|
|
14736
|
-
})(
|
|
14737
|
-
const Ec = /* @__PURE__ */ Qe(
|
|
14738
|
-
var
|
|
14736
|
+
})(hs);
|
|
14737
|
+
const Ec = /* @__PURE__ */ Qe(hs);
|
|
14738
|
+
var ms = {};
|
|
14739
14739
|
(function(s) {
|
|
14740
14740
|
Object.defineProperty(s, "__esModule", {
|
|
14741
14741
|
value: !0
|
|
@@ -14777,9 +14777,9 @@ var hs = {};
|
|
|
14777
14777
|
n(l);
|
|
14778
14778
|
};
|
|
14779
14779
|
}
|
|
14780
|
-
})(
|
|
14781
|
-
const Pc = /* @__PURE__ */ Qe(
|
|
14782
|
-
var
|
|
14780
|
+
})(ms);
|
|
14781
|
+
const Pc = /* @__PURE__ */ Qe(ms);
|
|
14782
|
+
var gs = {};
|
|
14783
14783
|
(function(s) {
|
|
14784
14784
|
Object.defineProperty(s, "__esModule", {
|
|
14785
14785
|
value: !0
|
|
@@ -14831,13 +14831,13 @@ var ms = {};
|
|
|
14831
14831
|
}
|
|
14832
14832
|
return null;
|
|
14833
14833
|
}
|
|
14834
|
-
})(
|
|
14835
|
-
const Tc = /* @__PURE__ */ Qe(
|
|
14834
|
+
})(gs);
|
|
14835
|
+
const Tc = /* @__PURE__ */ Qe(gs), Zn = (s) => {
|
|
14836
14836
|
if (s.first === void 0) {
|
|
14837
14837
|
const e = s.parent;
|
|
14838
|
-
e && (s.remove(),
|
|
14838
|
+
e && (s.remove(), Zn(e));
|
|
14839
14839
|
}
|
|
14840
|
-
}, Mc = (s, e) => s instanceof
|
|
14840
|
+
}, Mc = (s, e) => s instanceof xi && e instanceof xi ? s.selector === e.selector || e.selector.includes("*") || e.selector.includes(":root") : s === e, Ic = (s) => (s.walkRules((e) => {
|
|
14841
14841
|
const t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set();
|
|
14842
14842
|
e.walkDecls((n) => {
|
|
14843
14843
|
if (/var\(--[^\s)]+\)/.test(n.value)) {
|
|
@@ -14878,7 +14878,7 @@ const Tc = /* @__PURE__ */ Qe(ms), gs = (s) => {
|
|
|
14878
14878
|
}), s.walkDecls((e) => {
|
|
14879
14879
|
if (/--[^\s]+/.test(e.prop)) {
|
|
14880
14880
|
const t = e.parent;
|
|
14881
|
-
e.remove(), t &&
|
|
14881
|
+
e.remove(), t && Zn(t);
|
|
14882
14882
|
}
|
|
14883
14883
|
}), s);
|
|
14884
14884
|
var Rc = Kn(), vs = {}, ys = {}, ws = {};
|
|
@@ -16952,7 +16952,7 @@ function zc(s) {
|
|
|
16952
16952
|
new Set(t),
|
|
16953
16953
|
e
|
|
16954
16954
|
), n = Fc.clone().append(...r.map(([, l]) => l));
|
|
16955
|
-
return
|
|
16955
|
+
return Ri()(n), Cc(e)(n), Ri()(n), _c(e)(n), zl(e)(n), Ec(e)(n), Sc(e)(n), Pc(e)(n), Tc(e)(n), Ic(n), n;
|
|
16956
16956
|
}
|
|
16957
16957
|
};
|
|
16958
16958
|
}
|
|
@@ -17035,9 +17035,9 @@ const Uc = (s) => {
|
|
|
17035
17035
|
function Wc(s) {
|
|
17036
17036
|
return s.replaceAll(/\\[0-9]|\\/g, "");
|
|
17037
17037
|
}
|
|
17038
|
-
const
|
|
17038
|
+
const $i = (s) => s.replace(/-(\w|$)/g, (e, t) => t.toUpperCase()), Bc = (s) => {
|
|
17039
17039
|
const e = s.toLowerCase();
|
|
17040
|
-
return e.startsWith("--") ? e : e.startsWith("-ms-") ?
|
|
17040
|
+
return e.startsWith("--") ? e : e.startsWith("-ms-") ? $i(e.slice(1)) : $i(e);
|
|
17041
17041
|
}, qc = (s, e) => {
|
|
17042
17042
|
s.walkRules((t) => {
|
|
17043
17043
|
var r;
|
|
@@ -17107,7 +17107,16 @@ const Yc = (s, e) => {
|
|
|
17107
17107
|
nonInlinableClasses: r,
|
|
17108
17108
|
nonInlineStyleNodes: n
|
|
17109
17109
|
};
|
|
17110
|
-
},
|
|
17110
|
+
}, Hc = (s) => {
|
|
17111
|
+
s.walkRules((e) => {
|
|
17112
|
+
s.walkRules(e.selector, (t) => {
|
|
17113
|
+
if (t === e)
|
|
17114
|
+
return;
|
|
17115
|
+
const r = t.parent;
|
|
17116
|
+
t.remove(), r && Zn(r);
|
|
17117
|
+
});
|
|
17118
|
+
});
|
|
17119
|
+
}, pd = ({ children: s, config: e }) => {
|
|
17111
17120
|
const t = zc(e ?? {}), r = new Al();
|
|
17112
17121
|
let n = [], l = !1, i = Jt(s, (c) => {
|
|
17113
17122
|
if (mr.isValidElement(c)) {
|
|
@@ -17120,9 +17129,9 @@ const Yc = (s, e) => {
|
|
|
17120
17129
|
}
|
|
17121
17130
|
return c;
|
|
17122
17131
|
});
|
|
17123
|
-
if (l) {
|
|
17132
|
+
if (Hc(r), l) {
|
|
17124
17133
|
let c = !1;
|
|
17125
|
-
if (i = Jt(i,
|
|
17134
|
+
if (i = Jt(i, (a) => {
|
|
17126
17135
|
if (c)
|
|
17127
17136
|
return a;
|
|
17128
17137
|
if (mr.isValidElement(a) && a.type === "head") {
|
|
@@ -17154,5 +17163,5 @@ please file a bug https://github.com/resend/react-email/issues/new?assignees=&la
|
|
|
17154
17163
|
return i;
|
|
17155
17164
|
};
|
|
17156
17165
|
export {
|
|
17157
|
-
|
|
17166
|
+
pd as Tailwind
|
|
17158
17167
|
};
|