@evercam/ui 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -47
- package/dist/attributes.json +12 -20
- package/dist/index.mjs +1241 -897
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ERow.vue.d.ts +0 -6
- package/dist/src/components/EVideoPlayer.vue.d.ts +66 -0
- package/dist/src/constants.d.ts +1 -0
- package/dist/src/index.d.ts +61 -7
- package/dist/src/utils.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +2973 -3101
- package/dist/tags.json +8 -5
- package/dist/web-types.json +39 -46
- package/package.json +70 -70
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}),
|
|
3
|
-
const
|
|
1
|
+
import U from "vue";
|
|
2
|
+
var w = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(w || {}), D = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(D || {});
|
|
3
|
+
const $e = U.extend({
|
|
4
4
|
name: "EBadge",
|
|
5
5
|
props: {
|
|
6
6
|
text: {
|
|
@@ -9,7 +9,7 @@ const Se = W.extend({
|
|
|
9
9
|
},
|
|
10
10
|
color: {
|
|
11
11
|
type: String,
|
|
12
|
-
default:
|
|
12
|
+
default: D.default
|
|
13
13
|
},
|
|
14
14
|
size: {
|
|
15
15
|
type: String,
|
|
@@ -19,12 +19,12 @@ const Se = W.extend({
|
|
|
19
19
|
data() {
|
|
20
20
|
return {
|
|
21
21
|
colors: {
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
22
|
+
[D.error]: "e-bg-rose-500 e-text-white",
|
|
23
|
+
[D.info]: "e-bg-cyan-500 e-text-white",
|
|
24
|
+
[D.warning]: "e-bg-amber-500 e-text-white",
|
|
25
|
+
[D.primary]: "e-bg-sky-500 e-text-white",
|
|
26
|
+
[D.default]: "e-bg-slate-300 e-text-white",
|
|
27
|
+
[D.success]: "e-bg-lime-500 e-text-white"
|
|
28
28
|
},
|
|
29
29
|
sizes: {
|
|
30
30
|
[w.dot]: "e-w-2 e-h-2",
|
|
@@ -38,11 +38,11 @@ const Se = W.extend({
|
|
|
38
38
|
},
|
|
39
39
|
computed: {
|
|
40
40
|
badgeClasses() {
|
|
41
|
-
const e = this.colors[this.color] || this.colors[
|
|
41
|
+
const e = this.colors[this.color] || this.colors[D.default], t = this.sizes[this.size] || this.sizes[w.md];
|
|
42
42
|
return [
|
|
43
43
|
"e-flex e-items-center e-justify-center e-rounded-full",
|
|
44
44
|
e,
|
|
45
|
-
|
|
45
|
+
t
|
|
46
46
|
];
|
|
47
47
|
},
|
|
48
48
|
showText() {
|
|
@@ -50,52 +50,52 @@ const Se = W.extend({
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
|
-
function
|
|
53
|
+
function W(e, t, r, s, o, l, i, y) {
|
|
54
54
|
var a = typeof e == "function" ? e.options : e;
|
|
55
|
-
|
|
56
|
-
var
|
|
57
|
-
if (
|
|
58
|
-
|
|
55
|
+
t && (a.render = t, a.staticRenderFns = r, a._compiled = !0), s && (a.functional = !0), l && (a._scopeId = "data-v-" + l);
|
|
56
|
+
var n;
|
|
57
|
+
if (i ? (n = function(d) {
|
|
58
|
+
d = d || // cached call
|
|
59
59
|
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
60
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !
|
|
61
|
-
}, a._ssrRegister =
|
|
60
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !d && typeof __VUE_SSR_CONTEXT__ != "undefined" && (d = __VUE_SSR_CONTEXT__), o && o.call(this, d), d && d._registeredComponents && d._registeredComponents.add(i);
|
|
61
|
+
}, a._ssrRegister = n) : o && (n = y ? function() {
|
|
62
62
|
o.call(
|
|
63
63
|
this,
|
|
64
64
|
(a.functional ? this.parent : this).$root.$options.shadowRoot
|
|
65
65
|
);
|
|
66
|
-
} : o),
|
|
66
|
+
} : o), n)
|
|
67
67
|
if (a.functional) {
|
|
68
|
-
a._injectStyles =
|
|
69
|
-
var
|
|
70
|
-
a.render = function(
|
|
71
|
-
return
|
|
68
|
+
a._injectStyles = n;
|
|
69
|
+
var p = a.render;
|
|
70
|
+
a.render = function(C, h) {
|
|
71
|
+
return n.call(h), p(C, h);
|
|
72
72
|
};
|
|
73
73
|
} else {
|
|
74
|
-
var
|
|
75
|
-
a.beforeCreate =
|
|
74
|
+
var g = a.beforeCreate;
|
|
75
|
+
a.beforeCreate = g ? [].concat(g, n) : [n];
|
|
76
76
|
}
|
|
77
77
|
return {
|
|
78
78
|
exports: e,
|
|
79
79
|
options: a
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
-
var
|
|
83
|
-
var
|
|
84
|
-
return
|
|
85
|
-
},
|
|
86
|
-
|
|
87
|
-
Ce,
|
|
82
|
+
var Oe = function() {
|
|
83
|
+
var t = this, r = t._self._c;
|
|
84
|
+
return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
|
|
85
|
+
}, Ee = [], Ae = /* @__PURE__ */ W(
|
|
86
|
+
$e,
|
|
88
87
|
Oe,
|
|
88
|
+
Ee,
|
|
89
89
|
!1,
|
|
90
90
|
null,
|
|
91
91
|
null,
|
|
92
92
|
null,
|
|
93
93
|
null
|
|
94
94
|
);
|
|
95
|
-
const
|
|
95
|
+
const ae = Ae.exports, Fe = U.extend({
|
|
96
96
|
name: "EAvatar",
|
|
97
97
|
components: {
|
|
98
|
-
Badge:
|
|
98
|
+
Badge: ae
|
|
99
99
|
},
|
|
100
100
|
props: {
|
|
101
101
|
size: {
|
|
@@ -108,7 +108,7 @@ const ne = ke.exports, Ae = W.extend({
|
|
|
108
108
|
},
|
|
109
109
|
badgeColor: {
|
|
110
110
|
type: String,
|
|
111
|
-
default:
|
|
111
|
+
default: D.error
|
|
112
112
|
},
|
|
113
113
|
badgeText: {
|
|
114
114
|
type: String,
|
|
@@ -144,65 +144,65 @@ const ne = ke.exports, Ae = W.extend({
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
var
|
|
149
|
-
return
|
|
150
|
-
return [
|
|
151
|
-
}),
|
|
152
|
-
return [
|
|
153
|
-
})], 2) :
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
147
|
+
var ze = function() {
|
|
148
|
+
var t = this, r = t._self._c;
|
|
149
|
+
return r("div", { staticClass: "e-avatar e-relative", class: t.avatarClasses }, [t._t("default", function() {
|
|
150
|
+
return [t.image ? r("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: t.image } }) : t._e()];
|
|
151
|
+
}), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
|
|
152
|
+
return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
|
|
153
|
+
})], 2) : t._e()], 2);
|
|
154
|
+
}, Me = [], Te = /* @__PURE__ */ W(
|
|
155
|
+
Fe,
|
|
156
|
+
ze,
|
|
157
|
+
Me,
|
|
158
158
|
!1,
|
|
159
159
|
null,
|
|
160
160
|
null,
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
const
|
|
165
|
-
function
|
|
164
|
+
const Le = Te.exports;
|
|
165
|
+
function De(e) {
|
|
166
166
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var oe = {}, se = {}, J = {};
|
|
169
169
|
(function(e) {
|
|
170
170
|
Object.defineProperty(e, "__esModule", {
|
|
171
171
|
value: !0
|
|
172
172
|
}), Object.defineProperty(e, "default", {
|
|
173
173
|
enumerable: !0,
|
|
174
174
|
get: function() {
|
|
175
|
-
return
|
|
175
|
+
return t;
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
|
-
function
|
|
179
|
-
if (
|
|
178
|
+
function t(r) {
|
|
179
|
+
if (r = `${r}`, r === "0")
|
|
180
180
|
return "0";
|
|
181
|
-
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(
|
|
182
|
-
return
|
|
183
|
-
let
|
|
181
|
+
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
|
|
182
|
+
return r.replace(/^[+-]?/, (o) => o === "-" ? "" : "-");
|
|
183
|
+
let s = [
|
|
184
184
|
"var",
|
|
185
185
|
"calc",
|
|
186
186
|
"min",
|
|
187
187
|
"max",
|
|
188
188
|
"clamp"
|
|
189
189
|
];
|
|
190
|
-
for (const o of
|
|
191
|
-
if (
|
|
192
|
-
return `calc(${
|
|
190
|
+
for (const o of s)
|
|
191
|
+
if (r.includes(`${o}(`))
|
|
192
|
+
return `calc(${r} * -1)`;
|
|
193
193
|
}
|
|
194
|
-
})(
|
|
195
|
-
var
|
|
194
|
+
})(J);
|
|
195
|
+
var le = {};
|
|
196
196
|
(function(e) {
|
|
197
197
|
Object.defineProperty(e, "__esModule", {
|
|
198
198
|
value: !0
|
|
199
199
|
}), Object.defineProperty(e, "default", {
|
|
200
200
|
enumerable: !0,
|
|
201
201
|
get: function() {
|
|
202
|
-
return
|
|
202
|
+
return t;
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
|
-
const
|
|
205
|
+
const t = [
|
|
206
206
|
"preflight",
|
|
207
207
|
"container",
|
|
208
208
|
"accessibility",
|
|
@@ -379,88 +379,88 @@ var oe = {};
|
|
|
379
379
|
"willChange",
|
|
380
380
|
"content"
|
|
381
381
|
];
|
|
382
|
-
})(
|
|
383
|
-
var
|
|
382
|
+
})(le);
|
|
383
|
+
var ue = {};
|
|
384
384
|
(function(e) {
|
|
385
385
|
Object.defineProperty(e, "__esModule", {
|
|
386
386
|
value: !0
|
|
387
387
|
}), Object.defineProperty(e, "default", {
|
|
388
388
|
enumerable: !0,
|
|
389
389
|
get: function() {
|
|
390
|
-
return
|
|
390
|
+
return t;
|
|
391
391
|
}
|
|
392
392
|
});
|
|
393
|
-
function
|
|
394
|
-
return
|
|
395
|
-
...new Set(
|
|
393
|
+
function t(r, s) {
|
|
394
|
+
return r === void 0 ? s : Array.isArray(r) ? r : [
|
|
395
|
+
...new Set(s.filter((l) => r !== !1 && r[l] !== !1).concat(Object.keys(r).filter((l) => r[l] !== !1)))
|
|
396
396
|
];
|
|
397
397
|
}
|
|
398
|
-
})(
|
|
399
|
-
var
|
|
400
|
-
return { isColorSupported: !1, reset:
|
|
398
|
+
})(ue);
|
|
399
|
+
var Q = {}, I = {}, ee = { exports: {} }, F = String, ce = function() {
|
|
400
|
+
return { isColorSupported: !1, reset: F, bold: F, dim: F, italic: F, underline: F, inverse: F, hidden: F, strikethrough: F, black: F, red: F, green: F, yellow: F, blue: F, magenta: F, cyan: F, white: F, gray: F, bgBlack: F, bgRed: F, bgGreen: F, bgYellow: F, bgBlue: F, bgMagenta: F, bgCyan: F, bgWhite: F };
|
|
401
401
|
};
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
var
|
|
402
|
+
ee.exports = ce();
|
|
403
|
+
ee.exports.createColors = ce;
|
|
404
|
+
var de = ee.exports;
|
|
405
405
|
(function(e) {
|
|
406
406
|
Object.defineProperty(e, "__esModule", {
|
|
407
407
|
value: !0
|
|
408
408
|
});
|
|
409
|
-
function
|
|
410
|
-
for (var
|
|
411
|
-
Object.defineProperty(a,
|
|
409
|
+
function t(a, n) {
|
|
410
|
+
for (var p in n)
|
|
411
|
+
Object.defineProperty(a, p, {
|
|
412
412
|
enumerable: !0,
|
|
413
|
-
get:
|
|
413
|
+
get: n[p]
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
|
-
|
|
416
|
+
t(e, {
|
|
417
417
|
dim: function() {
|
|
418
|
-
return
|
|
418
|
+
return i;
|
|
419
419
|
},
|
|
420
420
|
default: function() {
|
|
421
|
-
return
|
|
421
|
+
return y;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
const
|
|
425
|
-
function
|
|
424
|
+
const r = /* @__PURE__ */ s(de);
|
|
425
|
+
function s(a) {
|
|
426
426
|
return a && a.__esModule ? a : {
|
|
427
427
|
default: a
|
|
428
428
|
};
|
|
429
429
|
}
|
|
430
430
|
let o = /* @__PURE__ */ new Set();
|
|
431
|
-
function
|
|
432
|
-
typeof process != "undefined" && process.env.JEST_WORKER_ID ||
|
|
431
|
+
function l(a, n, p) {
|
|
432
|
+
typeof process != "undefined" && process.env.JEST_WORKER_ID || p && o.has(p) || (p && o.add(p), console.warn(""), n.forEach((g) => console.warn(a, "-", g)));
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
return
|
|
434
|
+
function i(a) {
|
|
435
|
+
return r.default.dim(a);
|
|
436
436
|
}
|
|
437
|
-
const
|
|
438
|
-
info(a,
|
|
439
|
-
|
|
437
|
+
const y = {
|
|
438
|
+
info(a, n) {
|
|
439
|
+
l(r.default.bold(r.default.cyan("info")), ...Array.isArray(a) ? [
|
|
440
440
|
a
|
|
441
441
|
] : [
|
|
442
|
-
|
|
442
|
+
n,
|
|
443
443
|
a
|
|
444
444
|
]);
|
|
445
445
|
},
|
|
446
|
-
warn(a,
|
|
447
|
-
|
|
446
|
+
warn(a, n) {
|
|
447
|
+
l(r.default.bold(r.default.yellow("warn")), ...Array.isArray(a) ? [
|
|
448
448
|
a
|
|
449
449
|
] : [
|
|
450
|
-
|
|
450
|
+
n,
|
|
451
451
|
a
|
|
452
452
|
]);
|
|
453
453
|
},
|
|
454
|
-
risk(a,
|
|
455
|
-
|
|
454
|
+
risk(a, n) {
|
|
455
|
+
l(r.default.bold(r.default.magenta("risk")), ...Array.isArray(a) ? [
|
|
456
456
|
a
|
|
457
457
|
] : [
|
|
458
|
-
|
|
458
|
+
n,
|
|
459
459
|
a
|
|
460
460
|
]);
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
|
-
})(
|
|
463
|
+
})(I);
|
|
464
464
|
(function(e) {
|
|
465
465
|
Object.defineProperty(e, "__esModule", {
|
|
466
466
|
value: !0
|
|
@@ -470,15 +470,15 @@ var ue = Q.exports;
|
|
|
470
470
|
return o;
|
|
471
471
|
}
|
|
472
472
|
});
|
|
473
|
-
const
|
|
474
|
-
function
|
|
475
|
-
return
|
|
476
|
-
default:
|
|
473
|
+
const t = /* @__PURE__ */ r(I);
|
|
474
|
+
function r(l) {
|
|
475
|
+
return l && l.__esModule ? l : {
|
|
476
|
+
default: l
|
|
477
477
|
};
|
|
478
478
|
}
|
|
479
|
-
function
|
|
480
|
-
|
|
481
|
-
`As of Tailwind CSS ${
|
|
479
|
+
function s({ version: l, from: i, to: y }) {
|
|
480
|
+
t.default.warn(`${i}-color-renamed`, [
|
|
481
|
+
`As of Tailwind CSS ${l}, \`${i}\` has been renamed to \`${y}\`.`,
|
|
482
482
|
"Update your configuration file to silence this warning."
|
|
483
483
|
]);
|
|
484
484
|
}
|
|
@@ -775,42 +775,42 @@ var ue = Q.exports;
|
|
|
775
775
|
950: "#4c0519"
|
|
776
776
|
},
|
|
777
777
|
get lightBlue() {
|
|
778
|
-
return
|
|
778
|
+
return s({
|
|
779
779
|
version: "v2.2",
|
|
780
780
|
from: "lightBlue",
|
|
781
781
|
to: "sky"
|
|
782
782
|
}), this.sky;
|
|
783
783
|
},
|
|
784
784
|
get warmGray() {
|
|
785
|
-
return
|
|
785
|
+
return s({
|
|
786
786
|
version: "v3.0",
|
|
787
787
|
from: "warmGray",
|
|
788
788
|
to: "stone"
|
|
789
789
|
}), this.stone;
|
|
790
790
|
},
|
|
791
791
|
get trueGray() {
|
|
792
|
-
return
|
|
792
|
+
return s({
|
|
793
793
|
version: "v3.0",
|
|
794
794
|
from: "trueGray",
|
|
795
795
|
to: "neutral"
|
|
796
796
|
}), this.neutral;
|
|
797
797
|
},
|
|
798
798
|
get coolGray() {
|
|
799
|
-
return
|
|
799
|
+
return s({
|
|
800
800
|
version: "v3.0",
|
|
801
801
|
from: "coolGray",
|
|
802
802
|
to: "gray"
|
|
803
803
|
}), this.gray;
|
|
804
804
|
},
|
|
805
805
|
get blueGray() {
|
|
806
|
-
return
|
|
806
|
+
return s({
|
|
807
807
|
version: "v3.0",
|
|
808
808
|
from: "blueGray",
|
|
809
809
|
to: "slate"
|
|
810
810
|
}), this.slate;
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
|
-
})(
|
|
813
|
+
})(Q);
|
|
814
814
|
var fe = {};
|
|
815
815
|
(function(e) {
|
|
816
816
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -818,72 +818,72 @@ var fe = {};
|
|
|
818
818
|
}), Object.defineProperty(e, "defaults", {
|
|
819
819
|
enumerable: !0,
|
|
820
820
|
get: function() {
|
|
821
|
-
return
|
|
821
|
+
return t;
|
|
822
822
|
}
|
|
823
823
|
});
|
|
824
|
-
function
|
|
825
|
-
for (let
|
|
826
|
-
for (let
|
|
824
|
+
function t(r, ...s) {
|
|
825
|
+
for (let i of s) {
|
|
826
|
+
for (let y in i) {
|
|
827
827
|
var o;
|
|
828
|
-
!(
|
|
828
|
+
!(r == null || (o = r.hasOwnProperty) === null || o === void 0) && o.call(r, y) || (r[y] = i[y]);
|
|
829
829
|
}
|
|
830
|
-
for (let
|
|
831
|
-
var
|
|
832
|
-
!(
|
|
830
|
+
for (let y of Object.getOwnPropertySymbols(i)) {
|
|
831
|
+
var l;
|
|
832
|
+
!(r == null || (l = r.hasOwnProperty) === null || l === void 0) && l.call(r, y) || (r[y] = i[y]);
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
return
|
|
835
|
+
return r;
|
|
836
836
|
}
|
|
837
837
|
})(fe);
|
|
838
|
-
var
|
|
838
|
+
var pe = {};
|
|
839
839
|
(function(e) {
|
|
840
840
|
Object.defineProperty(e, "__esModule", {
|
|
841
841
|
value: !0
|
|
842
842
|
}), Object.defineProperty(e, "toPath", {
|
|
843
843
|
enumerable: !0,
|
|
844
844
|
get: function() {
|
|
845
|
-
return
|
|
845
|
+
return t;
|
|
846
846
|
}
|
|
847
847
|
});
|
|
848
|
-
function
|
|
849
|
-
if (Array.isArray(
|
|
850
|
-
return
|
|
851
|
-
let
|
|
852
|
-
if (
|
|
853
|
-
throw new Error(`Path is invalid. Has unbalanced brackets: ${
|
|
854
|
-
return
|
|
848
|
+
function t(r) {
|
|
849
|
+
if (Array.isArray(r))
|
|
850
|
+
return r;
|
|
851
|
+
let s = r.split("[").length - 1, o = r.split("]").length - 1;
|
|
852
|
+
if (s !== o)
|
|
853
|
+
throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
|
|
854
|
+
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
|
|
855
855
|
}
|
|
856
|
-
})(
|
|
857
|
-
var
|
|
856
|
+
})(pe);
|
|
857
|
+
var me = {}, q = {};
|
|
858
858
|
(function(e) {
|
|
859
859
|
Object.defineProperty(e, "__esModule", {
|
|
860
860
|
value: !0
|
|
861
861
|
});
|
|
862
|
-
function
|
|
863
|
-
for (var
|
|
864
|
-
Object.defineProperty(
|
|
862
|
+
function t(g, d) {
|
|
863
|
+
for (var C in d)
|
|
864
|
+
Object.defineProperty(g, C, {
|
|
865
865
|
enumerable: !0,
|
|
866
|
-
get:
|
|
866
|
+
get: d[C]
|
|
867
867
|
});
|
|
868
868
|
}
|
|
869
|
-
|
|
869
|
+
t(e, {
|
|
870
870
|
flagEnabled: function() {
|
|
871
|
-
return
|
|
871
|
+
return y;
|
|
872
872
|
},
|
|
873
873
|
issueFlagNotices: function() {
|
|
874
|
-
return
|
|
874
|
+
return n;
|
|
875
875
|
},
|
|
876
876
|
default: function() {
|
|
877
|
-
return
|
|
877
|
+
return p;
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
|
-
const
|
|
881
|
-
function o(
|
|
882
|
-
return
|
|
883
|
-
default:
|
|
880
|
+
const r = /* @__PURE__ */ o(de), s = /* @__PURE__ */ o(I);
|
|
881
|
+
function o(g) {
|
|
882
|
+
return g && g.__esModule ? g : {
|
|
883
|
+
default: g
|
|
884
884
|
};
|
|
885
885
|
}
|
|
886
|
-
let
|
|
886
|
+
let l = {
|
|
887
887
|
optimizeUniversalDefaults: !1,
|
|
888
888
|
generalizedModifiers: !0,
|
|
889
889
|
get disableColorOpacityUtilitiesByDefault() {
|
|
@@ -892,7 +892,7 @@ var de = {}, q = {};
|
|
|
892
892
|
get relativeContentPathsByDefault() {
|
|
893
893
|
return !1;
|
|
894
894
|
}
|
|
895
|
-
},
|
|
895
|
+
}, i = {
|
|
896
896
|
future: [
|
|
897
897
|
"hoverOnlyWhenSupported",
|
|
898
898
|
"respectDefaultRingColorOpacity",
|
|
@@ -904,33 +904,33 @@ var de = {}, q = {};
|
|
|
904
904
|
"generalizedModifiers"
|
|
905
905
|
]
|
|
906
906
|
};
|
|
907
|
-
function
|
|
908
|
-
if (
|
|
909
|
-
var
|
|
910
|
-
return
|
|
907
|
+
function y(g, d) {
|
|
908
|
+
if (i.future.includes(d)) {
|
|
909
|
+
var C, h, P;
|
|
910
|
+
return g.future === "all" || ((P = (h = g == null || (C = g.future) === null || C === void 0 ? void 0 : C[d]) !== null && h !== void 0 ? h : l[d]) !== null && P !== void 0 ? P : !1);
|
|
911
911
|
}
|
|
912
|
-
if (
|
|
913
|
-
var
|
|
914
|
-
return
|
|
912
|
+
if (i.experimental.includes(d)) {
|
|
913
|
+
var O, z, M;
|
|
914
|
+
return g.experimental === "all" || ((M = (z = g == null || (O = g.experimental) === null || O === void 0 ? void 0 : O[d]) !== null && z !== void 0 ? z : l[d]) !== null && M !== void 0 ? M : !1);
|
|
915
915
|
}
|
|
916
916
|
return !1;
|
|
917
917
|
}
|
|
918
|
-
function a(
|
|
919
|
-
if (
|
|
920
|
-
return
|
|
921
|
-
var
|
|
922
|
-
return Object.keys((
|
|
918
|
+
function a(g) {
|
|
919
|
+
if (g.experimental === "all")
|
|
920
|
+
return i.experimental;
|
|
921
|
+
var d;
|
|
922
|
+
return Object.keys((d = g == null ? void 0 : g.experimental) !== null && d !== void 0 ? d : {}).filter((C) => i.experimental.includes(C) && g.experimental[C]);
|
|
923
923
|
}
|
|
924
|
-
function
|
|
925
|
-
if (process.env.JEST_WORKER_ID === void 0 && a(
|
|
926
|
-
let
|
|
927
|
-
|
|
928
|
-
`You have enabled experimental features: ${
|
|
924
|
+
function n(g) {
|
|
925
|
+
if (process.env.JEST_WORKER_ID === void 0 && a(g).length > 0) {
|
|
926
|
+
let d = a(g).map((C) => r.default.yellow(C)).join(", ");
|
|
927
|
+
s.default.warn("experimental-flags-enabled", [
|
|
928
|
+
`You have enabled experimental features: ${d}`,
|
|
929
929
|
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
|
|
930
930
|
]);
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
|
-
const
|
|
933
|
+
const p = i;
|
|
934
934
|
})(q);
|
|
935
935
|
(function(e) {
|
|
936
936
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -938,208 +938,208 @@ var de = {}, q = {};
|
|
|
938
938
|
}), Object.defineProperty(e, "normalizeConfig", {
|
|
939
939
|
enumerable: !0,
|
|
940
940
|
get: function() {
|
|
941
|
-
return
|
|
941
|
+
return l;
|
|
942
942
|
}
|
|
943
943
|
});
|
|
944
|
-
const
|
|
945
|
-
function
|
|
944
|
+
const t = q, r = /* @__PURE__ */ o(I);
|
|
945
|
+
function s(i) {
|
|
946
946
|
if (typeof WeakMap != "function")
|
|
947
947
|
return null;
|
|
948
|
-
var
|
|
949
|
-
return (
|
|
950
|
-
return
|
|
951
|
-
})(
|
|
948
|
+
var y = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
|
|
949
|
+
return (s = function(n) {
|
|
950
|
+
return n ? a : y;
|
|
951
|
+
})(i);
|
|
952
952
|
}
|
|
953
|
-
function o(
|
|
954
|
-
if (!
|
|
955
|
-
return
|
|
956
|
-
if (
|
|
953
|
+
function o(i, y) {
|
|
954
|
+
if (!y && i && i.__esModule)
|
|
955
|
+
return i;
|
|
956
|
+
if (i === null || typeof i != "object" && typeof i != "function")
|
|
957
957
|
return {
|
|
958
|
-
default:
|
|
958
|
+
default: i
|
|
959
959
|
};
|
|
960
|
-
var a = y
|
|
961
|
-
if (a && a.has(
|
|
962
|
-
return a.get(
|
|
963
|
-
var
|
|
964
|
-
for (var
|
|
965
|
-
if (
|
|
966
|
-
var
|
|
967
|
-
|
|
960
|
+
var a = s(y);
|
|
961
|
+
if (a && a.has(i))
|
|
962
|
+
return a.get(i);
|
|
963
|
+
var n = {}, p = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
964
|
+
for (var g in i)
|
|
965
|
+
if (g !== "default" && Object.prototype.hasOwnProperty.call(i, g)) {
|
|
966
|
+
var d = p ? Object.getOwnPropertyDescriptor(i, g) : null;
|
|
967
|
+
d && (d.get || d.set) ? Object.defineProperty(n, g, d) : n[g] = i[g];
|
|
968
968
|
}
|
|
969
|
-
return
|
|
969
|
+
return n.default = i, a && a.set(i, n), n;
|
|
970
970
|
}
|
|
971
|
-
function
|
|
971
|
+
function l(i) {
|
|
972
972
|
if ((() => {
|
|
973
|
-
if (
|
|
973
|
+
if (i.purge || !i.content || !Array.isArray(i.content) && !(typeof i.content == "object" && i.content !== null))
|
|
974
974
|
return !1;
|
|
975
|
-
if (Array.isArray(
|
|
976
|
-
return
|
|
977
|
-
if (typeof
|
|
978
|
-
if (Object.keys(
|
|
975
|
+
if (Array.isArray(i.content))
|
|
976
|
+
return i.content.every((n) => typeof n == "string" ? !0 : !(typeof (n == null ? void 0 : n.raw) != "string" || n != null && n.extension && typeof (n == null ? void 0 : n.extension) != "string"));
|
|
977
|
+
if (typeof i.content == "object" && i.content !== null) {
|
|
978
|
+
if (Object.keys(i.content).some((n) => ![
|
|
979
979
|
"files",
|
|
980
980
|
"relative",
|
|
981
981
|
"extract",
|
|
982
982
|
"transform"
|
|
983
|
-
].includes(
|
|
983
|
+
].includes(n)))
|
|
984
984
|
return !1;
|
|
985
|
-
if (Array.isArray(
|
|
986
|
-
if (!
|
|
985
|
+
if (Array.isArray(i.content.files)) {
|
|
986
|
+
if (!i.content.files.every((n) => typeof n == "string" ? !0 : !(typeof (n == null ? void 0 : n.raw) != "string" || n != null && n.extension && typeof (n == null ? void 0 : n.extension) != "string")))
|
|
987
987
|
return !1;
|
|
988
|
-
if (typeof
|
|
989
|
-
for (let
|
|
990
|
-
if (typeof
|
|
988
|
+
if (typeof i.content.extract == "object") {
|
|
989
|
+
for (let n of Object.values(i.content.extract))
|
|
990
|
+
if (typeof n != "function")
|
|
991
991
|
return !1;
|
|
992
|
-
} else if (!(
|
|
992
|
+
} else if (!(i.content.extract === void 0 || typeof i.content.extract == "function"))
|
|
993
993
|
return !1;
|
|
994
|
-
if (typeof
|
|
995
|
-
for (let
|
|
996
|
-
if (typeof
|
|
994
|
+
if (typeof i.content.transform == "object") {
|
|
995
|
+
for (let n of Object.values(i.content.transform))
|
|
996
|
+
if (typeof n != "function")
|
|
997
997
|
return !1;
|
|
998
|
-
} else if (!(
|
|
998
|
+
} else if (!(i.content.transform === void 0 || typeof i.content.transform == "function"))
|
|
999
999
|
return !1;
|
|
1000
|
-
if (typeof
|
|
1000
|
+
if (typeof i.content.relative != "boolean" && typeof i.content.relative != "undefined")
|
|
1001
1001
|
return !1;
|
|
1002
1002
|
}
|
|
1003
1003
|
return !0;
|
|
1004
1004
|
}
|
|
1005
1005
|
return !1;
|
|
1006
|
-
})() ||
|
|
1006
|
+
})() || r.default.warn("purge-deprecation", [
|
|
1007
1007
|
"The `purge`/`content` options have changed in Tailwind CSS v3.0.",
|
|
1008
1008
|
"Update your configuration file to eliminate this warning.",
|
|
1009
1009
|
"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
|
|
1010
|
-
]),
|
|
1011
|
-
var
|
|
1012
|
-
let { content:
|
|
1013
|
-
return Array.isArray(
|
|
1014
|
-
})(),
|
|
1015
|
-
let { blocklist:
|
|
1016
|
-
if (Array.isArray(
|
|
1017
|
-
if (
|
|
1018
|
-
return
|
|
1019
|
-
|
|
1010
|
+
]), i.safelist = (() => {
|
|
1011
|
+
var n;
|
|
1012
|
+
let { content: p, purge: g, safelist: d } = i;
|
|
1013
|
+
return Array.isArray(d) ? d : Array.isArray(p == null ? void 0 : p.safelist) ? p.safelist : Array.isArray(g == null ? void 0 : g.safelist) ? g.safelist : Array.isArray(g == null || (n = g.options) === null || n === void 0 ? void 0 : n.safelist) ? g.options.safelist : [];
|
|
1014
|
+
})(), i.blocklist = (() => {
|
|
1015
|
+
let { blocklist: n } = i;
|
|
1016
|
+
if (Array.isArray(n)) {
|
|
1017
|
+
if (n.every((p) => typeof p == "string"))
|
|
1018
|
+
return n;
|
|
1019
|
+
r.default.warn("blocklist-invalid", [
|
|
1020
1020
|
"The `blocklist` option must be an array of strings.",
|
|
1021
1021
|
"https://tailwindcss.com/docs/content-configuration#discarding-classes"
|
|
1022
1022
|
]);
|
|
1023
1023
|
}
|
|
1024
1024
|
return [];
|
|
1025
|
-
})(), typeof
|
|
1026
|
-
|
|
1025
|
+
})(), typeof i.prefix == "function")
|
|
1026
|
+
r.default.warn("prefix-function", [
|
|
1027
1027
|
"As of Tailwind CSS v3.0, `prefix` cannot be a function.",
|
|
1028
1028
|
"Update `prefix` in your configuration to be a string to eliminate this warning.",
|
|
1029
1029
|
"https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"
|
|
1030
|
-
]),
|
|
1030
|
+
]), i.prefix = "";
|
|
1031
1031
|
else {
|
|
1032
1032
|
var a;
|
|
1033
|
-
|
|
1033
|
+
i.prefix = (a = i.prefix) !== null && a !== void 0 ? a : "";
|
|
1034
1034
|
}
|
|
1035
|
-
|
|
1035
|
+
i.content = {
|
|
1036
1036
|
relative: (() => {
|
|
1037
|
-
let { content:
|
|
1038
|
-
return
|
|
1037
|
+
let { content: n } = i;
|
|
1038
|
+
return n != null && n.relative ? n.relative : (0, t.flagEnabled)(i, "relativeContentPathsByDefault");
|
|
1039
1039
|
})(),
|
|
1040
1040
|
files: (() => {
|
|
1041
|
-
let { content:
|
|
1042
|
-
return Array.isArray(
|
|
1041
|
+
let { content: n, purge: p } = i;
|
|
1042
|
+
return Array.isArray(p) ? p : Array.isArray(p == null ? void 0 : p.content) ? p.content : Array.isArray(n) ? n : Array.isArray(n == null ? void 0 : n.content) ? n.content : Array.isArray(n == null ? void 0 : n.files) ? n.files : [];
|
|
1043
1043
|
})(),
|
|
1044
1044
|
extract: (() => {
|
|
1045
|
-
let
|
|
1046
|
-
var
|
|
1047
|
-
return !((
|
|
1048
|
-
})(),
|
|
1049
|
-
var
|
|
1050
|
-
if (!((
|
|
1051
|
-
return
|
|
1052
|
-
if (!((
|
|
1053
|
-
return
|
|
1045
|
+
let n = (() => {
|
|
1046
|
+
var d, C, h, P, O, z, M, A, T, L;
|
|
1047
|
+
return !((d = i.purge) === null || d === void 0) && d.extract ? i.purge.extract : !((C = i.content) === null || C === void 0) && C.extract ? i.content.extract : !((h = i.purge) === null || h === void 0 || (P = h.extract) === null || P === void 0) && P.DEFAULT ? i.purge.extract.DEFAULT : !((O = i.content) === null || O === void 0 || (z = O.extract) === null || z === void 0) && z.DEFAULT ? i.content.extract.DEFAULT : !((M = i.purge) === null || M === void 0 || (A = M.options) === null || A === void 0) && A.extractors ? i.purge.options.extractors : !((T = i.content) === null || T === void 0 || (L = T.options) === null || L === void 0) && L.extractors ? i.content.options.extractors : {};
|
|
1048
|
+
})(), p = {}, g = (() => {
|
|
1049
|
+
var d, C, h, P;
|
|
1050
|
+
if (!((d = i.purge) === null || d === void 0 || (C = d.options) === null || C === void 0) && C.defaultExtractor)
|
|
1051
|
+
return i.purge.options.defaultExtractor;
|
|
1052
|
+
if (!((h = i.content) === null || h === void 0 || (P = h.options) === null || P === void 0) && P.defaultExtractor)
|
|
1053
|
+
return i.content.options.defaultExtractor;
|
|
1054
1054
|
})();
|
|
1055
|
-
if (
|
|
1056
|
-
|
|
1057
|
-
else if (Array.isArray(
|
|
1058
|
-
for (let { extensions:
|
|
1059
|
-
for (let
|
|
1060
|
-
|
|
1055
|
+
if (g !== void 0 && (p.DEFAULT = g), typeof n == "function")
|
|
1056
|
+
p.DEFAULT = n;
|
|
1057
|
+
else if (Array.isArray(n))
|
|
1058
|
+
for (let { extensions: d, extractor: C } of n != null ? n : [])
|
|
1059
|
+
for (let h of d)
|
|
1060
|
+
p[h] = C;
|
|
1061
1061
|
else
|
|
1062
|
-
typeof
|
|
1063
|
-
return
|
|
1062
|
+
typeof n == "object" && n !== null && Object.assign(p, n);
|
|
1063
|
+
return p;
|
|
1064
1064
|
})(),
|
|
1065
1065
|
transform: (() => {
|
|
1066
|
-
let
|
|
1067
|
-
var
|
|
1068
|
-
return !((
|
|
1069
|
-
})(),
|
|
1070
|
-
return typeof
|
|
1066
|
+
let n = (() => {
|
|
1067
|
+
var g, d, C, h, P, O;
|
|
1068
|
+
return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((d = i.content) === null || d === void 0) && d.transform ? i.content.transform : !((C = i.purge) === null || C === void 0 || (h = C.transform) === null || h === void 0) && h.DEFAULT ? i.purge.transform.DEFAULT : !((P = i.content) === null || P === void 0 || (O = P.transform) === null || O === void 0) && O.DEFAULT ? i.content.transform.DEFAULT : {};
|
|
1069
|
+
})(), p = {};
|
|
1070
|
+
return typeof n == "function" && (p.DEFAULT = n), typeof n == "object" && n !== null && Object.assign(p, n), p;
|
|
1071
1071
|
})()
|
|
1072
1072
|
};
|
|
1073
|
-
for (let
|
|
1074
|
-
if (typeof
|
|
1075
|
-
|
|
1076
|
-
`The glob pattern ${(0,
|
|
1077
|
-
`Update it to ${(0,
|
|
1073
|
+
for (let n of i.content.files)
|
|
1074
|
+
if (typeof n == "string" && /{([^,]*?)}/g.test(n)) {
|
|
1075
|
+
r.default.warn("invalid-glob-braces", [
|
|
1076
|
+
`The glob pattern ${(0, r.dim)(n)} in your Tailwind CSS configuration is invalid.`,
|
|
1077
|
+
`Update it to ${(0, r.dim)(n.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
|
|
1078
1078
|
]);
|
|
1079
1079
|
break;
|
|
1080
1080
|
}
|
|
1081
|
-
return
|
|
1081
|
+
return i;
|
|
1082
1082
|
}
|
|
1083
|
-
})(
|
|
1084
|
-
var
|
|
1083
|
+
})(me);
|
|
1084
|
+
var ge = {};
|
|
1085
1085
|
(function(e) {
|
|
1086
1086
|
Object.defineProperty(e, "__esModule", {
|
|
1087
1087
|
value: !0
|
|
1088
1088
|
}), Object.defineProperty(e, "default", {
|
|
1089
1089
|
enumerable: !0,
|
|
1090
1090
|
get: function() {
|
|
1091
|
-
return
|
|
1091
|
+
return t;
|
|
1092
1092
|
}
|
|
1093
1093
|
});
|
|
1094
|
-
function
|
|
1095
|
-
if (Object.prototype.toString.call(
|
|
1094
|
+
function t(r) {
|
|
1095
|
+
if (Object.prototype.toString.call(r) !== "[object Object]")
|
|
1096
1096
|
return !1;
|
|
1097
|
-
const
|
|
1098
|
-
return
|
|
1097
|
+
const s = Object.getPrototypeOf(r);
|
|
1098
|
+
return s === null || s === Object.prototype;
|
|
1099
1099
|
}
|
|
1100
|
-
})(
|
|
1101
|
-
var
|
|
1100
|
+
})(ge);
|
|
1101
|
+
var he = {};
|
|
1102
1102
|
(function(e) {
|
|
1103
1103
|
Object.defineProperty(e, "__esModule", {
|
|
1104
1104
|
value: !0
|
|
1105
1105
|
}), Object.defineProperty(e, "cloneDeep", {
|
|
1106
1106
|
enumerable: !0,
|
|
1107
1107
|
get: function() {
|
|
1108
|
-
return
|
|
1108
|
+
return t;
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
|
-
function
|
|
1112
|
-
return Array.isArray(
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
])) :
|
|
1111
|
+
function t(r) {
|
|
1112
|
+
return Array.isArray(r) ? r.map((s) => t(s)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([s, o]) => [
|
|
1113
|
+
s,
|
|
1114
|
+
t(o)
|
|
1115
|
+
])) : r;
|
|
1116
1116
|
}
|
|
1117
|
-
})(
|
|
1118
|
-
var
|
|
1117
|
+
})(he);
|
|
1118
|
+
var ve = {}, ye = {};
|
|
1119
1119
|
(function(e) {
|
|
1120
1120
|
Object.defineProperty(e, "__esModule", {
|
|
1121
1121
|
value: !0
|
|
1122
1122
|
}), Object.defineProperty(e, "default", {
|
|
1123
1123
|
enumerable: !0,
|
|
1124
1124
|
get: function() {
|
|
1125
|
-
return
|
|
1125
|
+
return t;
|
|
1126
1126
|
}
|
|
1127
1127
|
});
|
|
1128
|
-
function
|
|
1129
|
-
return
|
|
1128
|
+
function t(r) {
|
|
1129
|
+
return r.replace(/\\,/g, "\\2c ");
|
|
1130
1130
|
}
|
|
1131
|
-
})(
|
|
1132
|
-
var
|
|
1131
|
+
})(ye);
|
|
1132
|
+
var te = {}, re = {}, be = {};
|
|
1133
1133
|
(function(e) {
|
|
1134
1134
|
Object.defineProperty(e, "__esModule", {
|
|
1135
1135
|
value: !0
|
|
1136
1136
|
}), Object.defineProperty(e, "default", {
|
|
1137
1137
|
enumerable: !0,
|
|
1138
1138
|
get: function() {
|
|
1139
|
-
return
|
|
1139
|
+
return t;
|
|
1140
1140
|
}
|
|
1141
1141
|
});
|
|
1142
|
-
const
|
|
1142
|
+
const t = {
|
|
1143
1143
|
aliceblue: [
|
|
1144
1144
|
240,
|
|
1145
1145
|
248,
|
|
@@ -1881,38 +1881,38 @@ var Z = {}, ee = {}, ye = {};
|
|
|
1881
1881
|
50
|
|
1882
1882
|
]
|
|
1883
1883
|
};
|
|
1884
|
-
})(
|
|
1884
|
+
})(be);
|
|
1885
1885
|
(function(e) {
|
|
1886
1886
|
Object.defineProperty(e, "__esModule", {
|
|
1887
1887
|
value: !0
|
|
1888
1888
|
});
|
|
1889
|
-
function
|
|
1890
|
-
for (var
|
|
1891
|
-
Object.defineProperty(
|
|
1889
|
+
function t(h, P) {
|
|
1890
|
+
for (var O in P)
|
|
1891
|
+
Object.defineProperty(h, O, {
|
|
1892
1892
|
enumerable: !0,
|
|
1893
|
-
get:
|
|
1893
|
+
get: P[O]
|
|
1894
1894
|
});
|
|
1895
1895
|
}
|
|
1896
|
-
|
|
1896
|
+
t(e, {
|
|
1897
1897
|
parseColor: function() {
|
|
1898
|
-
return
|
|
1898
|
+
return d;
|
|
1899
1899
|
},
|
|
1900
1900
|
formatColor: function() {
|
|
1901
|
-
return
|
|
1901
|
+
return C;
|
|
1902
1902
|
}
|
|
1903
1903
|
});
|
|
1904
|
-
const
|
|
1905
|
-
function
|
|
1906
|
-
return
|
|
1907
|
-
default:
|
|
1904
|
+
const r = /* @__PURE__ */ s(be);
|
|
1905
|
+
function s(h) {
|
|
1906
|
+
return h && h.__esModule ? h : {
|
|
1907
|
+
default: h
|
|
1908
1908
|
};
|
|
1909
1909
|
}
|
|
1910
|
-
let o = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,
|
|
1911
|
-
function
|
|
1912
|
-
var
|
|
1913
|
-
if (typeof
|
|
1910
|
+
let o = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, l = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, y = /(?:\s*,\s*|\s+)/, a = /\s*[,/]\s*/, n = /var\(--(?:[^ )]*?)\)/, p = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${n.source})(?:${y.source}(${i.source}|${n.source}))?(?:${y.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`), g = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${n.source})(?:${y.source}(${i.source}|${n.source}))?(?:${y.source}(${i.source}|${n.source}))?(?:${a.source}(${i.source}|${n.source}))?\\s*\\)$`);
|
|
1911
|
+
function d(h, { loose: P = !1 } = {}) {
|
|
1912
|
+
var O, z;
|
|
1913
|
+
if (typeof h != "string")
|
|
1914
1914
|
return null;
|
|
1915
|
-
if (
|
|
1915
|
+
if (h = h.trim(), h === "transparent")
|
|
1916
1916
|
return {
|
|
1917
1917
|
mode: "rgb",
|
|
1918
1918
|
color: [
|
|
@@ -1922,277 +1922,277 @@ var Z = {}, ee = {}, ye = {};
|
|
|
1922
1922
|
],
|
|
1923
1923
|
alpha: "0"
|
|
1924
1924
|
};
|
|
1925
|
-
if (
|
|
1925
|
+
if (h in r.default)
|
|
1926
1926
|
return {
|
|
1927
1927
|
mode: "rgb",
|
|
1928
|
-
color:
|
|
1928
|
+
color: r.default[h].map((j) => j.toString())
|
|
1929
1929
|
};
|
|
1930
|
-
let
|
|
1930
|
+
let M = h.replace(l, (j, B, V, m, k) => [
|
|
1931
1931
|
"#",
|
|
1932
1932
|
B,
|
|
1933
1933
|
B,
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1934
|
+
V,
|
|
1935
|
+
V,
|
|
1936
|
+
m,
|
|
1937
|
+
m,
|
|
1938
|
+
k ? k + k : ""
|
|
1939
1939
|
].join("")).match(o);
|
|
1940
|
-
if (
|
|
1940
|
+
if (M !== null)
|
|
1941
1941
|
return {
|
|
1942
1942
|
mode: "rgb",
|
|
1943
1943
|
color: [
|
|
1944
|
-
parseInt(
|
|
1945
|
-
parseInt(
|
|
1946
|
-
parseInt(
|
|
1947
|
-
].map((
|
|
1948
|
-
alpha:
|
|
1944
|
+
parseInt(M[1], 16),
|
|
1945
|
+
parseInt(M[2], 16),
|
|
1946
|
+
parseInt(M[3], 16)
|
|
1947
|
+
].map((j) => j.toString()),
|
|
1948
|
+
alpha: M[4] ? (parseInt(M[4], 16) / 255).toString() : void 0
|
|
1949
1949
|
};
|
|
1950
|
-
var
|
|
1951
|
-
let
|
|
1952
|
-
if (
|
|
1950
|
+
var A;
|
|
1951
|
+
let T = (A = h.match(p)) !== null && A !== void 0 ? A : h.match(g);
|
|
1952
|
+
if (T === null)
|
|
1953
1953
|
return null;
|
|
1954
|
-
let
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
].filter(Boolean).map((
|
|
1959
|
-
return
|
|
1960
|
-
mode:
|
|
1954
|
+
let L = [
|
|
1955
|
+
T[2],
|
|
1956
|
+
T[3],
|
|
1957
|
+
T[4]
|
|
1958
|
+
].filter(Boolean).map((j) => j.toString());
|
|
1959
|
+
return L.length === 2 && L[0].startsWith("var(") ? {
|
|
1960
|
+
mode: T[1],
|
|
1961
1961
|
color: [
|
|
1962
|
-
|
|
1962
|
+
L[0]
|
|
1963
1963
|
],
|
|
1964
|
-
alpha:
|
|
1965
|
-
} : !
|
|
1966
|
-
mode:
|
|
1967
|
-
color:
|
|
1968
|
-
alpha: (
|
|
1964
|
+
alpha: L[1]
|
|
1965
|
+
} : !P && L.length !== 3 || L.length < 3 && !L.some((j) => /^var\(.*?\)$/.test(j)) ? null : {
|
|
1966
|
+
mode: T[1],
|
|
1967
|
+
color: L,
|
|
1968
|
+
alpha: (O = T[5]) === null || O === void 0 || (z = O.toString) === null || z === void 0 ? void 0 : z.call(O)
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
|
-
function
|
|
1972
|
-
let
|
|
1973
|
-
return
|
|
1971
|
+
function C({ mode: h, color: P, alpha: O }) {
|
|
1972
|
+
let z = O !== void 0;
|
|
1973
|
+
return h === "rgba" || h === "hsla" ? `${h}(${P.join(", ")}${z ? `, ${O}` : ""})` : `${h}(${P.join(" ")}${z ? ` / ${O}` : ""})`;
|
|
1974
1974
|
}
|
|
1975
|
-
})(
|
|
1975
|
+
})(re);
|
|
1976
1976
|
(function(e) {
|
|
1977
1977
|
Object.defineProperty(e, "__esModule", {
|
|
1978
1978
|
value: !0
|
|
1979
1979
|
});
|
|
1980
|
-
function
|
|
1981
|
-
for (var
|
|
1982
|
-
Object.defineProperty(
|
|
1980
|
+
function t(l, i) {
|
|
1981
|
+
for (var y in i)
|
|
1982
|
+
Object.defineProperty(l, y, {
|
|
1983
1983
|
enumerable: !0,
|
|
1984
|
-
get:
|
|
1984
|
+
get: i[y]
|
|
1985
1985
|
});
|
|
1986
1986
|
}
|
|
1987
|
-
|
|
1987
|
+
t(e, {
|
|
1988
1988
|
withAlphaValue: function() {
|
|
1989
|
-
return
|
|
1989
|
+
return s;
|
|
1990
1990
|
},
|
|
1991
1991
|
default: function() {
|
|
1992
1992
|
return o;
|
|
1993
1993
|
}
|
|
1994
1994
|
});
|
|
1995
|
-
const
|
|
1996
|
-
function
|
|
1997
|
-
if (typeof
|
|
1998
|
-
return
|
|
1999
|
-
opacityValue:
|
|
1995
|
+
const r = re;
|
|
1996
|
+
function s(l, i, y) {
|
|
1997
|
+
if (typeof l == "function")
|
|
1998
|
+
return l({
|
|
1999
|
+
opacityValue: i
|
|
2000
2000
|
});
|
|
2001
|
-
let a = (0,
|
|
2001
|
+
let a = (0, r.parseColor)(l, {
|
|
2002
2002
|
loose: !0
|
|
2003
2003
|
});
|
|
2004
|
-
return a === null ?
|
|
2004
|
+
return a === null ? y : (0, r.formatColor)({
|
|
2005
2005
|
...a,
|
|
2006
|
-
alpha:
|
|
2006
|
+
alpha: i
|
|
2007
2007
|
});
|
|
2008
2008
|
}
|
|
2009
|
-
function o({ color:
|
|
2010
|
-
let a = [].concat(
|
|
2011
|
-
if (typeof
|
|
2009
|
+
function o({ color: l, property: i, variable: y }) {
|
|
2010
|
+
let a = [].concat(i);
|
|
2011
|
+
if (typeof l == "function")
|
|
2012
2012
|
return {
|
|
2013
|
-
[
|
|
2014
|
-
...Object.fromEntries(a.map((
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
opacityVariable:
|
|
2018
|
-
opacityValue: `var(${
|
|
2013
|
+
[y]: "1",
|
|
2014
|
+
...Object.fromEntries(a.map((p) => [
|
|
2015
|
+
p,
|
|
2016
|
+
l({
|
|
2017
|
+
opacityVariable: y,
|
|
2018
|
+
opacityValue: `var(${y})`
|
|
2019
2019
|
})
|
|
2020
2020
|
]))
|
|
2021
2021
|
};
|
|
2022
|
-
const
|
|
2023
|
-
return
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
])) :
|
|
2027
|
-
|
|
2028
|
-
|
|
2022
|
+
const n = (0, r.parseColor)(l);
|
|
2023
|
+
return n === null ? Object.fromEntries(a.map((p) => [
|
|
2024
|
+
p,
|
|
2025
|
+
l
|
|
2026
|
+
])) : n.alpha !== void 0 ? Object.fromEntries(a.map((p) => [
|
|
2027
|
+
p,
|
|
2028
|
+
l
|
|
2029
2029
|
])) : {
|
|
2030
|
-
[
|
|
2031
|
-
...Object.fromEntries(a.map((
|
|
2032
|
-
|
|
2033
|
-
(0,
|
|
2034
|
-
...
|
|
2035
|
-
alpha: `var(${
|
|
2030
|
+
[y]: "1",
|
|
2031
|
+
...Object.fromEntries(a.map((p) => [
|
|
2032
|
+
p,
|
|
2033
|
+
(0, r.formatColor)({
|
|
2034
|
+
...n,
|
|
2035
|
+
alpha: `var(${y})`
|
|
2036
2036
|
})
|
|
2037
2037
|
]))
|
|
2038
2038
|
};
|
|
2039
2039
|
}
|
|
2040
|
-
})(
|
|
2041
|
-
var
|
|
2040
|
+
})(te);
|
|
2041
|
+
var ne = {}, xe = {}, G = {};
|
|
2042
2042
|
(function(e) {
|
|
2043
2043
|
Object.defineProperty(e, "__esModule", {
|
|
2044
2044
|
value: !0
|
|
2045
2045
|
}), Object.defineProperty(e, "splitAtTopLevelOnly", {
|
|
2046
2046
|
enumerable: !0,
|
|
2047
2047
|
get: function() {
|
|
2048
|
-
return
|
|
2048
|
+
return t;
|
|
2049
2049
|
}
|
|
2050
2050
|
});
|
|
2051
|
-
function
|
|
2052
|
-
let o = [],
|
|
2053
|
-
for (let a = 0; a <
|
|
2054
|
-
let
|
|
2055
|
-
o.length === 0 &&
|
|
2051
|
+
function t(r, s) {
|
|
2052
|
+
let o = [], l = [], i = 0, y = !1;
|
|
2053
|
+
for (let a = 0; a < r.length; a++) {
|
|
2054
|
+
let n = r[a];
|
|
2055
|
+
o.length === 0 && n === s[0] && !y && (s.length === 1 || r.slice(a, a + s.length) === s) && (l.push(r.slice(i, a)), i = a + s.length), y ? y = !1 : n === "\\" && (y = !0), n === "(" || n === "[" || n === "{" ? o.push(n) : (n === ")" && o[o.length - 1] === "(" || n === "]" && o[o.length - 1] === "[" || n === "}" && o[o.length - 1] === "{") && o.pop();
|
|
2056
2056
|
}
|
|
2057
|
-
return
|
|
2057
|
+
return l.push(r.slice(i)), l;
|
|
2058
2058
|
}
|
|
2059
2059
|
})(G);
|
|
2060
2060
|
(function(e) {
|
|
2061
2061
|
Object.defineProperty(e, "__esModule", {
|
|
2062
2062
|
value: !0
|
|
2063
2063
|
});
|
|
2064
|
-
function
|
|
2065
|
-
for (var
|
|
2066
|
-
Object.defineProperty(a,
|
|
2064
|
+
function t(a, n) {
|
|
2065
|
+
for (var p in n)
|
|
2066
|
+
Object.defineProperty(a, p, {
|
|
2067
2067
|
enumerable: !0,
|
|
2068
|
-
get:
|
|
2068
|
+
get: n[p]
|
|
2069
2069
|
});
|
|
2070
2070
|
}
|
|
2071
|
-
|
|
2071
|
+
t(e, {
|
|
2072
2072
|
parseBoxShadowValue: function() {
|
|
2073
|
-
return
|
|
2073
|
+
return i;
|
|
2074
2074
|
},
|
|
2075
2075
|
formatBoxShadowValue: function() {
|
|
2076
|
-
return
|
|
2076
|
+
return y;
|
|
2077
2077
|
}
|
|
2078
2078
|
});
|
|
2079
|
-
const
|
|
2080
|
-
let
|
|
2079
|
+
const r = G;
|
|
2080
|
+
let s = /* @__PURE__ */ new Set([
|
|
2081
2081
|
"inset",
|
|
2082
2082
|
"inherit",
|
|
2083
2083
|
"initial",
|
|
2084
2084
|
"revert",
|
|
2085
2085
|
"unset"
|
|
2086
|
-
]), o = /\ +(?![^(]*\))/g,
|
|
2087
|
-
function
|
|
2088
|
-
return (0,
|
|
2089
|
-
let
|
|
2090
|
-
raw:
|
|
2091
|
-
},
|
|
2092
|
-
for (let
|
|
2093
|
-
|
|
2094
|
-
return
|
|
2086
|
+
]), o = /\ +(?![^(]*\))/g, l = /^-?(\d+|\.\d+)(.*?)$/g;
|
|
2087
|
+
function i(a) {
|
|
2088
|
+
return (0, r.splitAtTopLevelOnly)(a, ",").map((p) => {
|
|
2089
|
+
let g = p.trim(), d = {
|
|
2090
|
+
raw: g
|
|
2091
|
+
}, C = g.split(o), h = /* @__PURE__ */ new Set();
|
|
2092
|
+
for (let P of C)
|
|
2093
|
+
l.lastIndex = 0, !h.has("KEYWORD") && s.has(P) ? (d.keyword = P, h.add("KEYWORD")) : l.test(P) ? h.has("X") ? h.has("Y") ? h.has("BLUR") ? h.has("SPREAD") || (d.spread = P, h.add("SPREAD")) : (d.blur = P, h.add("BLUR")) : (d.y = P, h.add("Y")) : (d.x = P, h.add("X")) : d.color ? (d.unknown || (d.unknown = []), d.unknown.push(P)) : d.color = P;
|
|
2094
|
+
return d.valid = d.x !== void 0 && d.y !== void 0, d;
|
|
2095
2095
|
});
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2098
|
-
return a.map((
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
].filter(Boolean).join(" ") :
|
|
2097
|
+
function y(a) {
|
|
2098
|
+
return a.map((n) => n.valid ? [
|
|
2099
|
+
n.keyword,
|
|
2100
|
+
n.x,
|
|
2101
|
+
n.y,
|
|
2102
|
+
n.blur,
|
|
2103
|
+
n.spread,
|
|
2104
|
+
n.color
|
|
2105
|
+
].filter(Boolean).join(" ") : n.raw).join(", ");
|
|
2106
2106
|
}
|
|
2107
|
-
})(
|
|
2107
|
+
})(xe);
|
|
2108
2108
|
(function(e) {
|
|
2109
2109
|
Object.defineProperty(e, "__esModule", {
|
|
2110
2110
|
value: !0
|
|
2111
2111
|
});
|
|
2112
|
-
function
|
|
2113
|
-
for (var
|
|
2114
|
-
Object.defineProperty(
|
|
2112
|
+
function t(u, x) {
|
|
2113
|
+
for (var E in x)
|
|
2114
|
+
Object.defineProperty(u, E, {
|
|
2115
2115
|
enumerable: !0,
|
|
2116
|
-
get: x[
|
|
2116
|
+
get: x[E]
|
|
2117
2117
|
});
|
|
2118
2118
|
}
|
|
2119
|
-
|
|
2119
|
+
t(e, {
|
|
2120
2120
|
normalize: function() {
|
|
2121
|
-
return
|
|
2121
|
+
return n;
|
|
2122
2122
|
},
|
|
2123
2123
|
url: function() {
|
|
2124
|
-
return
|
|
2124
|
+
return g;
|
|
2125
2125
|
},
|
|
2126
2126
|
number: function() {
|
|
2127
|
-
return
|
|
2127
|
+
return d;
|
|
2128
2128
|
},
|
|
2129
2129
|
percentage: function() {
|
|
2130
|
-
return
|
|
2130
|
+
return C;
|
|
2131
2131
|
},
|
|
2132
2132
|
length: function() {
|
|
2133
|
-
return
|
|
2133
|
+
return O;
|
|
2134
2134
|
},
|
|
2135
2135
|
lineWidth: function() {
|
|
2136
|
-
return
|
|
2136
|
+
return M;
|
|
2137
2137
|
},
|
|
2138
2138
|
shadow: function() {
|
|
2139
|
-
return
|
|
2139
|
+
return A;
|
|
2140
2140
|
},
|
|
2141
2141
|
color: function() {
|
|
2142
|
-
return
|
|
2142
|
+
return T;
|
|
2143
2143
|
},
|
|
2144
2144
|
image: function() {
|
|
2145
|
-
return
|
|
2145
|
+
return L;
|
|
2146
2146
|
},
|
|
2147
2147
|
gradient: function() {
|
|
2148
2148
|
return B;
|
|
2149
2149
|
},
|
|
2150
2150
|
position: function() {
|
|
2151
|
-
return
|
|
2151
|
+
return m;
|
|
2152
2152
|
},
|
|
2153
2153
|
familyName: function() {
|
|
2154
|
-
return
|
|
2154
|
+
return k;
|
|
2155
2155
|
},
|
|
2156
2156
|
genericName: function() {
|
|
2157
|
-
return
|
|
2157
|
+
return c;
|
|
2158
2158
|
},
|
|
2159
2159
|
absoluteSize: function() {
|
|
2160
|
-
return
|
|
2160
|
+
return b;
|
|
2161
2161
|
},
|
|
2162
2162
|
relativeSize: function() {
|
|
2163
|
-
return
|
|
2163
|
+
return S;
|
|
2164
2164
|
}
|
|
2165
2165
|
});
|
|
2166
|
-
const
|
|
2167
|
-
let
|
|
2166
|
+
const r = re, s = xe, o = G;
|
|
2167
|
+
let l = [
|
|
2168
2168
|
"min",
|
|
2169
2169
|
"max",
|
|
2170
2170
|
"clamp",
|
|
2171
2171
|
"calc"
|
|
2172
2172
|
];
|
|
2173
|
-
function
|
|
2174
|
-
return
|
|
2173
|
+
function i(u) {
|
|
2174
|
+
return l.some((x) => new RegExp(`^${x}\\(.*\\)`).test(u));
|
|
2175
2175
|
}
|
|
2176
|
-
const
|
|
2177
|
-
function
|
|
2178
|
-
return
|
|
2176
|
+
const y = "--tw-placeholder", a = new RegExp(y, "g");
|
|
2177
|
+
function n(u, x = !0) {
|
|
2178
|
+
return u.startsWith("--") ? `var(${u})` : u.includes("url(") ? u.split(/(url\(.*?\))/g).filter(Boolean).map((E) => /^url\(.*?\)$/.test(E) ? E : n(E, !1)).join("") : (u = u.replace(/([^\\])_+/g, (E, $) => $ + " ".repeat(E.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), x && (u = u.trim()), u = p(u), u);
|
|
2179
2179
|
}
|
|
2180
|
-
function
|
|
2181
|
-
return
|
|
2182
|
-
let
|
|
2183
|
-
return x.replace(/var\((--.+?)[,)]/g, (
|
|
2180
|
+
function p(u) {
|
|
2181
|
+
return u.replace(/(calc|min|max|clamp)\(.+\)/g, (x) => {
|
|
2182
|
+
let E = [];
|
|
2183
|
+
return x.replace(/var\((--.+?)[,)]/g, ($, H) => (E.push(H), $.replace(H, y))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(a, () => E.shift());
|
|
2184
2184
|
});
|
|
2185
2185
|
}
|
|
2186
|
-
function
|
|
2187
|
-
return
|
|
2186
|
+
function g(u) {
|
|
2187
|
+
return u.startsWith("url(");
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
return !isNaN(Number(
|
|
2189
|
+
function d(u) {
|
|
2190
|
+
return !isNaN(Number(u)) || i(u);
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
return
|
|
2192
|
+
function C(u) {
|
|
2193
|
+
return u.endsWith("%") && d(u.slice(0, -1)) || i(u);
|
|
2194
2194
|
}
|
|
2195
|
-
let
|
|
2195
|
+
let P = `(?:${[
|
|
2196
2196
|
"cm",
|
|
2197
2197
|
"mm",
|
|
2198
2198
|
"Q",
|
|
@@ -2225,40 +2225,40 @@ var te = {}, be = {}, G = {};
|
|
|
2225
2225
|
"cqmin",
|
|
2226
2226
|
"cqmax"
|
|
2227
2227
|
].join("|")})`;
|
|
2228
|
-
function
|
|
2229
|
-
return
|
|
2228
|
+
function O(u) {
|
|
2229
|
+
return u === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${P}$`).test(u) || i(u);
|
|
2230
2230
|
}
|
|
2231
|
-
let
|
|
2231
|
+
let z = /* @__PURE__ */ new Set([
|
|
2232
2232
|
"thin",
|
|
2233
2233
|
"medium",
|
|
2234
2234
|
"thick"
|
|
2235
2235
|
]);
|
|
2236
|
-
function
|
|
2237
|
-
return
|
|
2236
|
+
function M(u) {
|
|
2237
|
+
return z.has(u);
|
|
2238
2238
|
}
|
|
2239
|
-
function
|
|
2240
|
-
let x = (0,
|
|
2241
|
-
for (let
|
|
2242
|
-
if (!
|
|
2239
|
+
function A(u) {
|
|
2240
|
+
let x = (0, s.parseBoxShadowValue)(n(u));
|
|
2241
|
+
for (let E of x)
|
|
2242
|
+
if (!E.valid)
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
return !0;
|
|
2245
2245
|
}
|
|
2246
|
-
function
|
|
2246
|
+
function T(u) {
|
|
2247
2247
|
let x = 0;
|
|
2248
|
-
return (0, o.splitAtTopLevelOnly)(
|
|
2248
|
+
return (0, o.splitAtTopLevelOnly)(u, "_").every(($) => ($ = n($), $.startsWith("var(") ? !0 : (0, r.parseColor)($, {
|
|
2249
2249
|
loose: !0
|
|
2250
2250
|
}) !== null ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2251
2251
|
}
|
|
2252
|
-
function
|
|
2252
|
+
function L(u) {
|
|
2253
2253
|
let x = 0;
|
|
2254
|
-
return (0, o.splitAtTopLevelOnly)(
|
|
2254
|
+
return (0, o.splitAtTopLevelOnly)(u, ",").every(($) => ($ = n($), $.startsWith("var(") ? !0 : g($) || B($) || [
|
|
2255
2255
|
"element(",
|
|
2256
2256
|
"image(",
|
|
2257
2257
|
"cross-fade(",
|
|
2258
2258
|
"image-set("
|
|
2259
|
-
].some((
|
|
2259
|
+
].some((H) => $.startsWith(H)) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2260
2260
|
}
|
|
2261
|
-
let
|
|
2261
|
+
let j = /* @__PURE__ */ new Set([
|
|
2262
2262
|
"conic-gradient",
|
|
2263
2263
|
"linear-gradient",
|
|
2264
2264
|
"radial-gradient",
|
|
@@ -2266,27 +2266,27 @@ var te = {}, be = {}, G = {};
|
|
|
2266
2266
|
"repeating-linear-gradient",
|
|
2267
2267
|
"repeating-radial-gradient"
|
|
2268
2268
|
]);
|
|
2269
|
-
function B(
|
|
2270
|
-
|
|
2271
|
-
for (let x of
|
|
2272
|
-
if (
|
|
2269
|
+
function B(u) {
|
|
2270
|
+
u = n(u);
|
|
2271
|
+
for (let x of j)
|
|
2272
|
+
if (u.startsWith(`${x}(`))
|
|
2273
2273
|
return !0;
|
|
2274
2274
|
return !1;
|
|
2275
2275
|
}
|
|
2276
|
-
let
|
|
2276
|
+
let V = /* @__PURE__ */ new Set([
|
|
2277
2277
|
"center",
|
|
2278
2278
|
"top",
|
|
2279
2279
|
"right",
|
|
2280
2280
|
"bottom",
|
|
2281
2281
|
"left"
|
|
2282
2282
|
]);
|
|
2283
|
-
function
|
|
2283
|
+
function m(u) {
|
|
2284
2284
|
let x = 0;
|
|
2285
|
-
return (0, o.splitAtTopLevelOnly)(
|
|
2285
|
+
return (0, o.splitAtTopLevelOnly)(u, "_").every(($) => ($ = n($), $.startsWith("var(") ? !0 : V.has($) || O($) || C($) ? (x++, !0) : !1)) ? x > 0 : !1;
|
|
2286
2286
|
}
|
|
2287
|
-
function
|
|
2287
|
+
function k(u) {
|
|
2288
2288
|
let x = 0;
|
|
2289
|
-
return (0, o.splitAtTopLevelOnly)(
|
|
2289
|
+
return (0, o.splitAtTopLevelOnly)(u, ",").every(($) => ($ = n($), $.startsWith("var(") ? !0 : $.includes(" ") && !/(['"])([^"']+)\1/g.test($) || /^\d/g.test($) ? !1 : (x++, !0))) ? x > 0 : !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
let _ = /* @__PURE__ */ new Set([
|
|
2292
2292
|
"serif",
|
|
@@ -2303,10 +2303,10 @@ var te = {}, be = {}, G = {};
|
|
|
2303
2303
|
"emoji",
|
|
2304
2304
|
"fangsong"
|
|
2305
2305
|
]);
|
|
2306
|
-
function
|
|
2307
|
-
return _.has(
|
|
2306
|
+
function c(u) {
|
|
2307
|
+
return _.has(u);
|
|
2308
2308
|
}
|
|
2309
|
-
let
|
|
2309
|
+
let v = /* @__PURE__ */ new Set([
|
|
2310
2310
|
"xx-small",
|
|
2311
2311
|
"x-small",
|
|
2312
2312
|
"small",
|
|
@@ -2316,251 +2316,251 @@ var te = {}, be = {}, G = {};
|
|
|
2316
2316
|
"x-large",
|
|
2317
2317
|
"xxx-large"
|
|
2318
2318
|
]);
|
|
2319
|
-
function
|
|
2320
|
-
return
|
|
2319
|
+
function b(u) {
|
|
2320
|
+
return v.has(u);
|
|
2321
2321
|
}
|
|
2322
|
-
let
|
|
2322
|
+
let f = /* @__PURE__ */ new Set([
|
|
2323
2323
|
"larger",
|
|
2324
2324
|
"smaller"
|
|
2325
2325
|
]);
|
|
2326
|
-
function
|
|
2327
|
-
return
|
|
2326
|
+
function S(u) {
|
|
2327
|
+
return f.has(u);
|
|
2328
2328
|
}
|
|
2329
|
-
})(
|
|
2330
|
-
var
|
|
2329
|
+
})(ne);
|
|
2330
|
+
var _e = {};
|
|
2331
2331
|
(function(e) {
|
|
2332
2332
|
Object.defineProperty(e, "__esModule", {
|
|
2333
2333
|
value: !0
|
|
2334
2334
|
}), Object.defineProperty(e, "backgroundSize", {
|
|
2335
2335
|
enumerable: !0,
|
|
2336
2336
|
get: function() {
|
|
2337
|
-
return
|
|
2337
|
+
return s;
|
|
2338
2338
|
}
|
|
2339
2339
|
});
|
|
2340
|
-
const
|
|
2341
|
-
function
|
|
2342
|
-
let
|
|
2340
|
+
const t = ne, r = G;
|
|
2341
|
+
function s(o) {
|
|
2342
|
+
let l = [
|
|
2343
2343
|
"cover",
|
|
2344
2344
|
"contain"
|
|
2345
2345
|
];
|
|
2346
|
-
return (0,
|
|
2347
|
-
let
|
|
2348
|
-
return
|
|
2346
|
+
return (0, r.splitAtTopLevelOnly)(o, ",").every((i) => {
|
|
2347
|
+
let y = (0, r.splitAtTopLevelOnly)(i, "_").filter(Boolean);
|
|
2348
|
+
return y.length === 1 && l.includes(y[0]) ? !0 : y.length !== 1 && y.length !== 2 ? !1 : y.every((a) => (0, t.length)(a) || (0, t.percentage)(a) || a === "auto");
|
|
2349
2349
|
});
|
|
2350
2350
|
}
|
|
2351
|
-
})(
|
|
2351
|
+
})(_e);
|
|
2352
2352
|
(function(e) {
|
|
2353
2353
|
Object.defineProperty(e, "__esModule", {
|
|
2354
2354
|
value: !0
|
|
2355
2355
|
});
|
|
2356
|
-
function
|
|
2357
|
-
for (var _ in
|
|
2358
|
-
Object.defineProperty(
|
|
2356
|
+
function t(m, k) {
|
|
2357
|
+
for (var _ in k)
|
|
2358
|
+
Object.defineProperty(m, _, {
|
|
2359
2359
|
enumerable: !0,
|
|
2360
|
-
get:
|
|
2360
|
+
get: k[_]
|
|
2361
2361
|
});
|
|
2362
2362
|
}
|
|
2363
|
-
|
|
2363
|
+
t(e, {
|
|
2364
2364
|
updateAllClasses: function() {
|
|
2365
|
-
return
|
|
2365
|
+
return n;
|
|
2366
2366
|
},
|
|
2367
2367
|
asValue: function() {
|
|
2368
|
-
return
|
|
2368
|
+
return d;
|
|
2369
2369
|
},
|
|
2370
2370
|
parseColorFormat: function() {
|
|
2371
|
-
return
|
|
2371
|
+
return P;
|
|
2372
2372
|
},
|
|
2373
2373
|
asColor: function() {
|
|
2374
|
-
return
|
|
2374
|
+
return z;
|
|
2375
2375
|
},
|
|
2376
2376
|
asLookupValue: function() {
|
|
2377
|
-
return
|
|
2377
|
+
return M;
|
|
2378
2378
|
},
|
|
2379
2379
|
typeMap: function() {
|
|
2380
|
-
return
|
|
2380
|
+
return T;
|
|
2381
2381
|
},
|
|
2382
2382
|
coerceValue: function() {
|
|
2383
2383
|
return B;
|
|
2384
2384
|
},
|
|
2385
2385
|
getMatchingTypes: function() {
|
|
2386
|
-
return
|
|
2386
|
+
return V;
|
|
2387
2387
|
}
|
|
2388
2388
|
});
|
|
2389
|
-
const
|
|
2390
|
-
function a(
|
|
2391
|
-
return
|
|
2392
|
-
default:
|
|
2389
|
+
const r = /* @__PURE__ */ a(ye), s = te, o = ne, l = /* @__PURE__ */ a(J), i = _e, y = q;
|
|
2390
|
+
function a(m) {
|
|
2391
|
+
return m && m.__esModule ? m : {
|
|
2392
|
+
default: m
|
|
2393
2393
|
};
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2396
|
-
|
|
2397
|
-
_.value =
|
|
2395
|
+
function n(m, k) {
|
|
2396
|
+
m.walkClasses((_) => {
|
|
2397
|
+
_.value = k(_.value), _.raws && _.raws.value && (_.raws.value = (0, r.default)(_.raws.value));
|
|
2398
2398
|
});
|
|
2399
2399
|
}
|
|
2400
|
-
function
|
|
2401
|
-
if (!
|
|
2400
|
+
function p(m, k) {
|
|
2401
|
+
if (!C(m))
|
|
2402
2402
|
return;
|
|
2403
|
-
let _ =
|
|
2404
|
-
if (
|
|
2403
|
+
let _ = m.slice(1, -1);
|
|
2404
|
+
if (k(_))
|
|
2405
2405
|
return (0, o.normalize)(_);
|
|
2406
2406
|
}
|
|
2407
|
-
function m
|
|
2408
|
-
let
|
|
2409
|
-
if (
|
|
2410
|
-
return (0,
|
|
2411
|
-
if (
|
|
2412
|
-
let
|
|
2413
|
-
return
|
|
2407
|
+
function g(m, k = {}, _) {
|
|
2408
|
+
let c = k[m];
|
|
2409
|
+
if (c !== void 0)
|
|
2410
|
+
return (0, l.default)(c);
|
|
2411
|
+
if (C(m)) {
|
|
2412
|
+
let v = p(m, _);
|
|
2413
|
+
return v === void 0 ? void 0 : (0, l.default)(v);
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2417
|
-
var
|
|
2418
|
-
let
|
|
2419
|
-
return
|
|
2416
|
+
function d(m, k = {}, { validate: _ = () => !0 } = {}) {
|
|
2417
|
+
var c;
|
|
2418
|
+
let v = (c = k.values) === null || c === void 0 ? void 0 : c[m];
|
|
2419
|
+
return v !== void 0 ? v : k.supportsNegativeValues && m.startsWith("-") ? g(m.slice(1), k.values, _) : p(m, _);
|
|
2420
2420
|
}
|
|
2421
|
-
function
|
|
2422
|
-
return
|
|
2421
|
+
function C(m) {
|
|
2422
|
+
return m.startsWith("[") && m.endsWith("]");
|
|
2423
2423
|
}
|
|
2424
|
-
function
|
|
2425
|
-
let
|
|
2426
|
-
return
|
|
2427
|
-
|
|
2424
|
+
function h(m) {
|
|
2425
|
+
let k = m.lastIndexOf("/");
|
|
2426
|
+
return k === -1 || k === m.length - 1 ? [
|
|
2427
|
+
m,
|
|
2428
2428
|
void 0
|
|
2429
|
-
] :
|
|
2430
|
-
|
|
2429
|
+
] : C(m) && !m.includes("]/[") ? [
|
|
2430
|
+
m,
|
|
2431
2431
|
void 0
|
|
2432
2432
|
] : [
|
|
2433
|
-
|
|
2434
|
-
|
|
2433
|
+
m.slice(0, k),
|
|
2434
|
+
m.slice(k + 1)
|
|
2435
2435
|
];
|
|
2436
2436
|
}
|
|
2437
|
-
function
|
|
2438
|
-
if (typeof
|
|
2439
|
-
let
|
|
2440
|
-
return ({ opacityValue: _ = 1 }) =>
|
|
2437
|
+
function P(m) {
|
|
2438
|
+
if (typeof m == "string" && m.includes("<alpha-value>")) {
|
|
2439
|
+
let k = m;
|
|
2440
|
+
return ({ opacityValue: _ = 1 }) => k.replace("<alpha-value>", _);
|
|
2441
2441
|
}
|
|
2442
|
-
return
|
|
2442
|
+
return m;
|
|
2443
2443
|
}
|
|
2444
|
-
function
|
|
2445
|
-
return (0, o.normalize)(
|
|
2444
|
+
function O(m) {
|
|
2445
|
+
return (0, o.normalize)(m.slice(1, -1));
|
|
2446
2446
|
}
|
|
2447
|
-
function
|
|
2448
|
-
var
|
|
2449
|
-
if (((
|
|
2450
|
-
var
|
|
2451
|
-
return
|
|
2447
|
+
function z(m, k = {}, { tailwindConfig: _ = {} } = {}) {
|
|
2448
|
+
var c;
|
|
2449
|
+
if (((c = k.values) === null || c === void 0 ? void 0 : c[m]) !== void 0) {
|
|
2450
|
+
var v;
|
|
2451
|
+
return P((v = k.values) === null || v === void 0 ? void 0 : v[m]);
|
|
2452
2452
|
}
|
|
2453
|
-
let [
|
|
2454
|
-
if (
|
|
2455
|
-
var
|
|
2456
|
-
let
|
|
2457
|
-
return
|
|
2453
|
+
let [b, f] = h(m);
|
|
2454
|
+
if (f !== void 0) {
|
|
2455
|
+
var S, u, x, E;
|
|
2456
|
+
let $ = (E = (S = k.values) === null || S === void 0 ? void 0 : S[b]) !== null && E !== void 0 ? E : C(b) ? b.slice(1, -1) : void 0;
|
|
2457
|
+
return $ === void 0 ? void 0 : ($ = P($), C(f) ? (0, s.withAlphaValue)($, O(f)) : ((u = _.theme) === null || u === void 0 || (x = u.opacity) === null || x === void 0 ? void 0 : x[f]) === void 0 ? void 0 : (0, s.withAlphaValue)($, _.theme.opacity[f]));
|
|
2458
2458
|
}
|
|
2459
|
-
return
|
|
2459
|
+
return d(m, k, {
|
|
2460
2460
|
validate: o.color
|
|
2461
2461
|
});
|
|
2462
2462
|
}
|
|
2463
|
-
function
|
|
2463
|
+
function M(m, k = {}) {
|
|
2464
2464
|
var _;
|
|
2465
|
-
return (_ =
|
|
2465
|
+
return (_ = k.values) === null || _ === void 0 ? void 0 : _[m];
|
|
2466
2466
|
}
|
|
2467
|
-
function
|
|
2468
|
-
return (
|
|
2469
|
-
validate:
|
|
2467
|
+
function A(m) {
|
|
2468
|
+
return (k, _) => d(k, _, {
|
|
2469
|
+
validate: m
|
|
2470
2470
|
});
|
|
2471
2471
|
}
|
|
2472
|
-
let
|
|
2473
|
-
any:
|
|
2474
|
-
color:
|
|
2475
|
-
url:
|
|
2476
|
-
image:
|
|
2477
|
-
length:
|
|
2478
|
-
percentage:
|
|
2479
|
-
position:
|
|
2480
|
-
lookup:
|
|
2481
|
-
"generic-name":
|
|
2482
|
-
"family-name":
|
|
2483
|
-
number:
|
|
2484
|
-
"line-width":
|
|
2485
|
-
"absolute-size":
|
|
2486
|
-
"relative-size":
|
|
2487
|
-
shadow:
|
|
2488
|
-
size:
|
|
2489
|
-
},
|
|
2490
|
-
function
|
|
2491
|
-
let _ =
|
|
2472
|
+
let T = {
|
|
2473
|
+
any: d,
|
|
2474
|
+
color: z,
|
|
2475
|
+
url: A(o.url),
|
|
2476
|
+
image: A(o.image),
|
|
2477
|
+
length: A(o.length),
|
|
2478
|
+
percentage: A(o.percentage),
|
|
2479
|
+
position: A(o.position),
|
|
2480
|
+
lookup: M,
|
|
2481
|
+
"generic-name": A(o.genericName),
|
|
2482
|
+
"family-name": A(o.familyName),
|
|
2483
|
+
number: A(o.number),
|
|
2484
|
+
"line-width": A(o.lineWidth),
|
|
2485
|
+
"absolute-size": A(o.absoluteSize),
|
|
2486
|
+
"relative-size": A(o.relativeSize),
|
|
2487
|
+
shadow: A(o.shadow),
|
|
2488
|
+
size: A(i.backgroundSize)
|
|
2489
|
+
}, L = Object.keys(T);
|
|
2490
|
+
function j(m, k) {
|
|
2491
|
+
let _ = m.indexOf(k);
|
|
2492
2492
|
return _ === -1 ? [
|
|
2493
2493
|
void 0,
|
|
2494
|
-
|
|
2494
|
+
m
|
|
2495
2495
|
] : [
|
|
2496
|
-
|
|
2497
|
-
|
|
2496
|
+
m.slice(0, _),
|
|
2497
|
+
m.slice(_ + 1)
|
|
2498
2498
|
];
|
|
2499
2499
|
}
|
|
2500
|
-
function B(
|
|
2501
|
-
if (_.values &&
|
|
2502
|
-
for (let { type:
|
|
2503
|
-
let
|
|
2504
|
-
tailwindConfig:
|
|
2500
|
+
function B(m, k, _, c) {
|
|
2501
|
+
if (_.values && k in _.values)
|
|
2502
|
+
for (let { type: b } of m != null ? m : []) {
|
|
2503
|
+
let f = T[b](k, _, {
|
|
2504
|
+
tailwindConfig: c
|
|
2505
2505
|
});
|
|
2506
|
-
if (
|
|
2506
|
+
if (f !== void 0)
|
|
2507
2507
|
return [
|
|
2508
|
-
|
|
2509
|
-
|
|
2508
|
+
f,
|
|
2509
|
+
b,
|
|
2510
2510
|
null
|
|
2511
2511
|
];
|
|
2512
2512
|
}
|
|
2513
|
-
if (
|
|
2514
|
-
let
|
|
2515
|
-
if (!/^[\w-_]+$/g.test(
|
|
2516
|
-
|
|
2517
|
-
else if (
|
|
2513
|
+
if (C(k)) {
|
|
2514
|
+
let b = k.slice(1, -1), [f, S] = j(b, ":");
|
|
2515
|
+
if (!/^[\w-_]+$/g.test(f))
|
|
2516
|
+
S = b;
|
|
2517
|
+
else if (f !== void 0 && !L.includes(f))
|
|
2518
2518
|
return [];
|
|
2519
|
-
if (
|
|
2519
|
+
if (S.length > 0 && L.includes(f))
|
|
2520
2520
|
return [
|
|
2521
|
-
|
|
2522
|
-
|
|
2521
|
+
d(`[${S}]`, _),
|
|
2522
|
+
f,
|
|
2523
2523
|
null
|
|
2524
2524
|
];
|
|
2525
2525
|
}
|
|
2526
|
-
let
|
|
2527
|
-
for (let
|
|
2528
|
-
return
|
|
2526
|
+
let v = V(m, k, _, c);
|
|
2527
|
+
for (let b of v)
|
|
2528
|
+
return b;
|
|
2529
2529
|
return [];
|
|
2530
2530
|
}
|
|
2531
|
-
function*
|
|
2532
|
-
let
|
|
2533
|
-
if (
|
|
2534
|
-
var
|
|
2535
|
-
let
|
|
2536
|
-
|
|
2531
|
+
function* V(m, k, _, c) {
|
|
2532
|
+
let v = (0, y.flagEnabled)(c, "generalizedModifiers"), [b, f] = h(k);
|
|
2533
|
+
if (v && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (f && C(f) || f in _.modifiers)) || (b = k, f = void 0), f !== void 0 && b === "" && (b = "DEFAULT"), f !== void 0 && typeof _.modifiers == "object") {
|
|
2534
|
+
var u, x;
|
|
2535
|
+
let E = (x = (u = _.modifiers) === null || u === void 0 ? void 0 : u[f]) !== null && x !== void 0 ? x : null;
|
|
2536
|
+
E !== null ? f = E : C(f) && (f = O(f));
|
|
2537
2537
|
}
|
|
2538
|
-
for (let { type:
|
|
2539
|
-
let
|
|
2540
|
-
tailwindConfig:
|
|
2538
|
+
for (let { type: E } of m != null ? m : []) {
|
|
2539
|
+
let $ = T[E](b, _, {
|
|
2540
|
+
tailwindConfig: c
|
|
2541
2541
|
});
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2542
|
+
$ !== void 0 && (yield [
|
|
2543
|
+
$,
|
|
2544
|
+
E,
|
|
2545
|
+
f != null ? f : null
|
|
2546
2546
|
]);
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
|
-
})(
|
|
2550
|
-
var
|
|
2549
|
+
})(ve);
|
|
2550
|
+
var we = {};
|
|
2551
2551
|
(function(e) {
|
|
2552
2552
|
Object.defineProperty(e, "__esModule", {
|
|
2553
2553
|
value: !0
|
|
2554
2554
|
}), Object.defineProperty(e, "default", {
|
|
2555
2555
|
enumerable: !0,
|
|
2556
2556
|
get: function() {
|
|
2557
|
-
return
|
|
2557
|
+
return t;
|
|
2558
2558
|
}
|
|
2559
2559
|
});
|
|
2560
|
-
function
|
|
2561
|
-
return typeof
|
|
2560
|
+
function t(r) {
|
|
2561
|
+
return typeof r == "function" ? r({}) : r;
|
|
2562
2562
|
}
|
|
2563
|
-
})(
|
|
2563
|
+
})(we);
|
|
2564
2564
|
(function(e) {
|
|
2565
2565
|
Object.defineProperty(e, "__esModule", {
|
|
2566
2566
|
value: !0
|
|
@@ -2570,163 +2570,163 @@ var xe = {};
|
|
|
2570
2570
|
return _;
|
|
2571
2571
|
}
|
|
2572
2572
|
});
|
|
2573
|
-
const
|
|
2574
|
-
function
|
|
2575
|
-
return
|
|
2576
|
-
default:
|
|
2573
|
+
const t = /* @__PURE__ */ C(J), r = /* @__PURE__ */ C(le), s = /* @__PURE__ */ C(ue), o = /* @__PURE__ */ C(Q), l = fe, i = pe, y = me, a = /* @__PURE__ */ C(ge), n = he, p = ve, g = te, d = /* @__PURE__ */ C(we);
|
|
2574
|
+
function C(c) {
|
|
2575
|
+
return c && c.__esModule ? c : {
|
|
2576
|
+
default: c
|
|
2577
2577
|
};
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2580
|
-
return typeof
|
|
2579
|
+
function h(c) {
|
|
2580
|
+
return typeof c == "function";
|
|
2581
2581
|
}
|
|
2582
|
-
function
|
|
2583
|
-
let
|
|
2584
|
-
for (let
|
|
2585
|
-
for (let
|
|
2586
|
-
let
|
|
2587
|
-
|
|
2582
|
+
function P(c, ...v) {
|
|
2583
|
+
let b = v.pop();
|
|
2584
|
+
for (let f of v)
|
|
2585
|
+
for (let S in f) {
|
|
2586
|
+
let u = b(c[S], f[S]);
|
|
2587
|
+
u === void 0 ? (0, a.default)(c[S]) && (0, a.default)(f[S]) ? c[S] = P({}, c[S], f[S], b) : c[S] = f[S] : c[S] = u;
|
|
2588
2588
|
}
|
|
2589
|
-
return
|
|
2589
|
+
return c;
|
|
2590
2590
|
}
|
|
2591
|
-
const
|
|
2591
|
+
const O = {
|
|
2592
2592
|
colors: o.default,
|
|
2593
|
-
negative(
|
|
2594
|
-
return Object.keys(
|
|
2595
|
-
let
|
|
2596
|
-
return
|
|
2593
|
+
negative(c) {
|
|
2594
|
+
return Object.keys(c).filter((v) => c[v] !== "0").reduce((v, b) => {
|
|
2595
|
+
let f = (0, t.default)(c[b]);
|
|
2596
|
+
return f !== void 0 && (v[`-${b}`] = f), v;
|
|
2597
2597
|
}, {});
|
|
2598
2598
|
},
|
|
2599
|
-
breakpoints(
|
|
2600
|
-
return Object.keys(
|
|
2601
|
-
...
|
|
2602
|
-
[`screen-${
|
|
2599
|
+
breakpoints(c) {
|
|
2600
|
+
return Object.keys(c).filter((v) => typeof c[v] == "string").reduce((v, b) => ({
|
|
2601
|
+
...v,
|
|
2602
|
+
[`screen-${b}`]: c[b]
|
|
2603
2603
|
}), {});
|
|
2604
2604
|
}
|
|
2605
2605
|
};
|
|
2606
|
-
function
|
|
2607
|
-
return
|
|
2606
|
+
function z(c, ...v) {
|
|
2607
|
+
return h(c) ? c(...v) : c;
|
|
2608
2608
|
}
|
|
2609
|
-
function
|
|
2610
|
-
return
|
|
2611
|
-
|
|
2612
|
-
] : Array.isArray(
|
|
2613
|
-
|
|
2614
|
-
...
|
|
2609
|
+
function M(c) {
|
|
2610
|
+
return c.reduce((v, { extend: b }) => P(v, b, (f, S) => f === void 0 ? [
|
|
2611
|
+
S
|
|
2612
|
+
] : Array.isArray(f) ? [
|
|
2613
|
+
S,
|
|
2614
|
+
...f
|
|
2615
2615
|
] : [
|
|
2616
|
-
|
|
2617
|
-
|
|
2616
|
+
S,
|
|
2617
|
+
f
|
|
2618
2618
|
]), {});
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2620
|
+
function A(c) {
|
|
2621
2621
|
return {
|
|
2622
|
-
...
|
|
2622
|
+
...c.reduce((v, b) => (0, l.defaults)(v, b), {}),
|
|
2623
2623
|
// In order to resolve n config objects, we combine all of their `extend` properties
|
|
2624
2624
|
// into arrays instead of objects so they aren't overridden.
|
|
2625
|
-
extend:
|
|
2625
|
+
extend: M(c)
|
|
2626
2626
|
};
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2629
|
-
if (Array.isArray(
|
|
2630
|
-
return
|
|
2631
|
-
if (Array.isArray(
|
|
2628
|
+
function T(c, v) {
|
|
2629
|
+
if (Array.isArray(c) && (0, a.default)(c[0]))
|
|
2630
|
+
return c.concat(v);
|
|
2631
|
+
if (Array.isArray(v) && (0, a.default)(v[0]) && (0, a.default)(c))
|
|
2632
2632
|
return [
|
|
2633
|
-
|
|
2634
|
-
...
|
|
2633
|
+
c,
|
|
2634
|
+
...v
|
|
2635
2635
|
];
|
|
2636
|
-
if (Array.isArray(
|
|
2637
|
-
return
|
|
2636
|
+
if (Array.isArray(v))
|
|
2637
|
+
return v;
|
|
2638
2638
|
}
|
|
2639
|
-
function
|
|
2640
|
-
return
|
|
2641
|
-
|
|
2642
|
-
...
|
|
2643
|
-
].map((x) =>
|
|
2639
|
+
function L({ extend: c, ...v }) {
|
|
2640
|
+
return P(v, c, (b, f) => !h(b) && !f.some(h) ? P({}, b, ...f, T) : (S, u) => P({}, ...[
|
|
2641
|
+
b,
|
|
2642
|
+
...f
|
|
2643
|
+
].map((x) => z(x, S, u)), T));
|
|
2644
2644
|
}
|
|
2645
|
-
function*
|
|
2646
|
-
let
|
|
2647
|
-
if (
|
|
2645
|
+
function* j(c) {
|
|
2646
|
+
let v = (0, i.toPath)(c);
|
|
2647
|
+
if (v.length === 0 || (yield v, Array.isArray(c)))
|
|
2648
2648
|
return;
|
|
2649
|
-
let
|
|
2650
|
-
if (
|
|
2651
|
-
let [,
|
|
2652
|
-
x.alpha =
|
|
2649
|
+
let b = /^(.*?)\s*\/\s*([^/]+)$/, f = c.match(b);
|
|
2650
|
+
if (f !== null) {
|
|
2651
|
+
let [, S, u] = f, x = (0, i.toPath)(S);
|
|
2652
|
+
x.alpha = u, yield x;
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
|
-
function B(
|
|
2656
|
-
const
|
|
2657
|
-
for (const
|
|
2658
|
-
let
|
|
2659
|
-
for (; x != null &&
|
|
2660
|
-
x = x[
|
|
2655
|
+
function B(c) {
|
|
2656
|
+
const v = (b, f) => {
|
|
2657
|
+
for (const S of j(b)) {
|
|
2658
|
+
let u = 0, x = c;
|
|
2659
|
+
for (; x != null && u < S.length; )
|
|
2660
|
+
x = x[S[u++]], x = h(x) && (S.alpha === void 0 || u <= S.length - 1) ? x(v, O) : x;
|
|
2661
2661
|
if (x !== void 0) {
|
|
2662
|
-
if (
|
|
2663
|
-
let
|
|
2664
|
-
return (0,
|
|
2662
|
+
if (S.alpha !== void 0) {
|
|
2663
|
+
let E = (0, p.parseColorFormat)(x);
|
|
2664
|
+
return (0, g.withAlphaValue)(E, S.alpha, (0, d.default)(E));
|
|
2665
2665
|
}
|
|
2666
|
-
return (0, a.default)(x) ? (0,
|
|
2666
|
+
return (0, a.default)(x) ? (0, n.cloneDeep)(x) : x;
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
|
-
return
|
|
2669
|
+
return f;
|
|
2670
2670
|
};
|
|
2671
|
-
return Object.assign(
|
|
2672
|
-
theme:
|
|
2673
|
-
|
|
2674
|
-
}), Object.keys(
|
|
2671
|
+
return Object.assign(v, {
|
|
2672
|
+
theme: v,
|
|
2673
|
+
...O
|
|
2674
|
+
}), Object.keys(c).reduce((b, f) => (b[f] = h(c[f]) ? c[f](v, O) : c[f], b), {});
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2677
|
-
let
|
|
2678
|
-
return
|
|
2679
|
-
|
|
2680
|
-
...
|
|
2681
|
-
|
|
2676
|
+
function V(c) {
|
|
2677
|
+
let v = [];
|
|
2678
|
+
return c.forEach((b) => {
|
|
2679
|
+
v = [
|
|
2680
|
+
...v,
|
|
2681
|
+
b
|
|
2682
2682
|
];
|
|
2683
|
-
var
|
|
2684
|
-
const
|
|
2685
|
-
|
|
2686
|
-
|
|
2683
|
+
var f;
|
|
2684
|
+
const S = (f = b == null ? void 0 : b.plugins) !== null && f !== void 0 ? f : [];
|
|
2685
|
+
S.length !== 0 && S.forEach((u) => {
|
|
2686
|
+
u.__isOptionsFunction && (u = u());
|
|
2687
2687
|
var x;
|
|
2688
|
-
|
|
2689
|
-
...
|
|
2690
|
-
...
|
|
2691
|
-
(x =
|
|
2688
|
+
v = [
|
|
2689
|
+
...v,
|
|
2690
|
+
...V([
|
|
2691
|
+
(x = u == null ? void 0 : u.config) !== null && x !== void 0 ? x : {}
|
|
2692
2692
|
])
|
|
2693
2693
|
];
|
|
2694
2694
|
});
|
|
2695
|
-
}),
|
|
2695
|
+
}), v;
|
|
2696
2696
|
}
|
|
2697
|
-
function
|
|
2697
|
+
function m(c) {
|
|
2698
2698
|
return [
|
|
2699
|
-
...
|
|
2700
|
-
].reduceRight((
|
|
2701
|
-
corePlugins:
|
|
2702
|
-
}) : (0,
|
|
2699
|
+
...c
|
|
2700
|
+
].reduceRight((b, f) => h(f) ? f({
|
|
2701
|
+
corePlugins: b
|
|
2702
|
+
}) : (0, s.default)(f, b), r.default);
|
|
2703
2703
|
}
|
|
2704
|
-
function
|
|
2704
|
+
function k(c) {
|
|
2705
2705
|
return [
|
|
2706
|
-
...s
|
|
2707
|
-
].reduceRight((v, c) => [
|
|
2708
|
-
...v,
|
|
2709
2706
|
...c
|
|
2707
|
+
].reduceRight((b, f) => [
|
|
2708
|
+
...b,
|
|
2709
|
+
...f
|
|
2710
2710
|
], []);
|
|
2711
2711
|
}
|
|
2712
|
-
function _(
|
|
2713
|
-
let
|
|
2714
|
-
...
|
|
2712
|
+
function _(c) {
|
|
2713
|
+
let v = [
|
|
2714
|
+
...V(c),
|
|
2715
2715
|
{
|
|
2716
2716
|
prefix: "",
|
|
2717
2717
|
important: !1,
|
|
2718
2718
|
separator: ":"
|
|
2719
2719
|
}
|
|
2720
2720
|
];
|
|
2721
|
-
var
|
|
2722
|
-
return (0,
|
|
2723
|
-
theme: B(
|
|
2724
|
-
corePlugins:
|
|
2725
|
-
plugins:
|
|
2726
|
-
}, ...
|
|
2721
|
+
var b, f;
|
|
2722
|
+
return (0, y.normalizeConfig)((0, l.defaults)({
|
|
2723
|
+
theme: B(L(A(v.map((S) => (b = S == null ? void 0 : S.theme) !== null && b !== void 0 ? b : {})))),
|
|
2724
|
+
corePlugins: m(v.map((S) => S.corePlugins)),
|
|
2725
|
+
plugins: k(c.map((S) => (f = S == null ? void 0 : S.plugins) !== null && f !== void 0 ? f : []))
|
|
2726
|
+
}, ...v));
|
|
2727
2727
|
}
|
|
2728
|
-
})(
|
|
2729
|
-
var
|
|
2728
|
+
})(se);
|
|
2729
|
+
var Ce = {}, Re = {
|
|
2730
2730
|
content: [],
|
|
2731
2731
|
presets: [],
|
|
2732
2732
|
darkMode: "media",
|
|
@@ -3354,7 +3354,7 @@ var _e = {}, Te = {
|
|
|
3354
3354
|
max: "max-content",
|
|
3355
3355
|
fit: "fit-content"
|
|
3356
3356
|
}),
|
|
3357
|
-
maxWidth: ({ theme: e, breakpoints:
|
|
3357
|
+
maxWidth: ({ theme: e, breakpoints: t }) => ({
|
|
3358
3358
|
none: "none",
|
|
3359
3359
|
0: "0rem",
|
|
3360
3360
|
xs: "20rem",
|
|
@@ -3373,7 +3373,7 @@ var _e = {}, Te = {
|
|
|
3373
3373
|
max: "max-content",
|
|
3374
3374
|
fit: "fit-content",
|
|
3375
3375
|
prose: "65ch",
|
|
3376
|
-
...
|
|
3376
|
+
...t(e("screens"))
|
|
3377
3377
|
}),
|
|
3378
3378
|
minHeight: {
|
|
3379
3379
|
0: "0px",
|
|
@@ -3726,23 +3726,23 @@ var _e = {}, Te = {
|
|
|
3726
3726
|
return o;
|
|
3727
3727
|
}
|
|
3728
3728
|
});
|
|
3729
|
-
const
|
|
3730
|
-
function
|
|
3731
|
-
return
|
|
3732
|
-
default:
|
|
3729
|
+
const t = /* @__PURE__ */ s(Re), r = q;
|
|
3730
|
+
function s(l) {
|
|
3731
|
+
return l && l.__esModule ? l : {
|
|
3732
|
+
default: l
|
|
3733
3733
|
};
|
|
3734
3734
|
}
|
|
3735
|
-
function o(
|
|
3736
|
-
var
|
|
3737
|
-
const
|
|
3738
|
-
|
|
3739
|
-
]).slice().reverse().flatMap((
|
|
3735
|
+
function o(l) {
|
|
3736
|
+
var i;
|
|
3737
|
+
const y = ((i = l == null ? void 0 : l.presets) !== null && i !== void 0 ? i : [
|
|
3738
|
+
t.default
|
|
3739
|
+
]).slice().reverse().flatMap((p) => o(p instanceof Function ? p() : p)), a = {
|
|
3740
3740
|
// Add experimental configs here...
|
|
3741
3741
|
respectDefaultRingColorOpacity: {
|
|
3742
3742
|
theme: {
|
|
3743
|
-
ringColor: ({ theme:
|
|
3743
|
+
ringColor: ({ theme: p }) => ({
|
|
3744
3744
|
DEFAULT: "#3b82f67f",
|
|
3745
|
-
...
|
|
3745
|
+
...p("colors")
|
|
3746
3746
|
})
|
|
3747
3747
|
}
|
|
3748
3748
|
},
|
|
@@ -3756,14 +3756,14 @@ var _e = {}, Te = {
|
|
|
3756
3756
|
textOpacity: !1
|
|
3757
3757
|
}
|
|
3758
3758
|
}
|
|
3759
|
-
},
|
|
3759
|
+
}, n = Object.keys(a).filter((p) => (0, r.flagEnabled)(l, p)).map((p) => a[p]);
|
|
3760
3760
|
return [
|
|
3761
|
-
|
|
3762
|
-
...
|
|
3763
|
-
...
|
|
3761
|
+
l,
|
|
3762
|
+
...n,
|
|
3763
|
+
...y
|
|
3764
3764
|
];
|
|
3765
3765
|
}
|
|
3766
|
-
})(
|
|
3766
|
+
})(Ce);
|
|
3767
3767
|
(function(e) {
|
|
3768
3768
|
Object.defineProperty(e, "__esModule", {
|
|
3769
3769
|
value: !0
|
|
@@ -3773,26 +3773,26 @@ var _e = {}, Te = {
|
|
|
3773
3773
|
return o;
|
|
3774
3774
|
}
|
|
3775
3775
|
});
|
|
3776
|
-
const
|
|
3777
|
-
function
|
|
3778
|
-
return
|
|
3779
|
-
default:
|
|
3776
|
+
const t = /* @__PURE__ */ s(se), r = /* @__PURE__ */ s(Ce);
|
|
3777
|
+
function s(l) {
|
|
3778
|
+
return l && l.__esModule ? l : {
|
|
3779
|
+
default: l
|
|
3780
3780
|
};
|
|
3781
3781
|
}
|
|
3782
|
-
function o(...
|
|
3783
|
-
let [, ...
|
|
3784
|
-
return (0,
|
|
3785
|
-
...
|
|
3786
|
-
...
|
|
3782
|
+
function o(...l) {
|
|
3783
|
+
let [, ...i] = (0, r.default)(l[0]);
|
|
3784
|
+
return (0, t.default)([
|
|
3785
|
+
...l,
|
|
3786
|
+
...i
|
|
3787
3787
|
]);
|
|
3788
3788
|
}
|
|
3789
|
-
})(
|
|
3790
|
-
let X =
|
|
3791
|
-
var
|
|
3792
|
-
const
|
|
3793
|
-
let
|
|
3794
|
-
var
|
|
3795
|
-
const
|
|
3789
|
+
})(oe);
|
|
3790
|
+
let X = oe;
|
|
3791
|
+
var je = (X.__esModule ? X : { default: X }).default;
|
|
3792
|
+
const Ve = /* @__PURE__ */ De(je);
|
|
3793
|
+
let K = Q;
|
|
3794
|
+
var N = (K.__esModule ? K : { default: K }).default;
|
|
3795
|
+
const Ne = {
|
|
3796
3796
|
50: "#FCE3E4",
|
|
3797
3797
|
100: "#F9CDCE",
|
|
3798
3798
|
200: "#F39699",
|
|
@@ -3803,42 +3803,42 @@ const Me = {
|
|
|
3803
3803
|
700: "#770D11",
|
|
3804
3804
|
800: "#4E090B",
|
|
3805
3805
|
900: "#290506"
|
|
3806
|
-
},
|
|
3807
|
-
onprimary:
|
|
3808
|
-
warning:
|
|
3809
|
-
error:
|
|
3810
|
-
info:
|
|
3811
|
-
success:
|
|
3812
|
-
primary:
|
|
3813
|
-
brand:
|
|
3814
|
-
},
|
|
3815
|
-
...
|
|
3806
|
+
}, R = {
|
|
3807
|
+
onprimary: N.white,
|
|
3808
|
+
warning: N.amber,
|
|
3809
|
+
error: N.rose,
|
|
3810
|
+
info: N.cyan,
|
|
3811
|
+
success: N.lime,
|
|
3812
|
+
primary: N.sky,
|
|
3813
|
+
brand: Ne
|
|
3814
|
+
}, Be = {
|
|
3815
|
+
...R,
|
|
3816
3816
|
// Warning
|
|
3817
|
-
warning:
|
|
3818
|
-
"warning-darken":
|
|
3819
|
-
"warning-lighten":
|
|
3817
|
+
warning: R.warning[500],
|
|
3818
|
+
"warning-darken": R.warning[600],
|
|
3819
|
+
"warning-lighten": R.warning[400],
|
|
3820
3820
|
// Success
|
|
3821
|
-
success:
|
|
3822
|
-
"success-darken":
|
|
3823
|
-
"success-lighten":
|
|
3821
|
+
success: R.success[500],
|
|
3822
|
+
"success-darken": R.success[600],
|
|
3823
|
+
"success-lighten": R.success[400],
|
|
3824
3824
|
// Error
|
|
3825
|
-
error:
|
|
3826
|
-
"error-darken":
|
|
3827
|
-
"error-lighten":
|
|
3825
|
+
error: R.error[500],
|
|
3826
|
+
"error-darken": R.error[600],
|
|
3827
|
+
"error-lighten": R.error[400],
|
|
3828
3828
|
// Info
|
|
3829
|
-
info:
|
|
3830
|
-
"info-darken":
|
|
3831
|
-
"info-lighten":
|
|
3829
|
+
info: R.info[500],
|
|
3830
|
+
"info-darken": R.info[600],
|
|
3831
|
+
"info-lighten": R.info[400],
|
|
3832
3832
|
// Primary
|
|
3833
|
-
primary:
|
|
3834
|
-
"primary-darken":
|
|
3835
|
-
"primary-lighten":
|
|
3833
|
+
primary: R.primary[500],
|
|
3834
|
+
"primary-darken": R.primary[600],
|
|
3835
|
+
"primary-lighten": R.primary[400],
|
|
3836
3836
|
// Surfaces
|
|
3837
|
-
onsurface:
|
|
3838
|
-
onbackground:
|
|
3839
|
-
surface:
|
|
3840
|
-
background:
|
|
3841
|
-
},
|
|
3837
|
+
onsurface: N.slate[500],
|
|
3838
|
+
onbackground: N.slate[700],
|
|
3839
|
+
surface: N.slate[50],
|
|
3840
|
+
background: N.white
|
|
3841
|
+
}, Ue = {
|
|
3842
3842
|
prefix: "e-",
|
|
3843
3843
|
corePlugins: {
|
|
3844
3844
|
preflight: !1
|
|
@@ -3846,7 +3846,7 @@ const Me = {
|
|
|
3846
3846
|
content: ["./src/**/*.{html,js,vue,ts}"],
|
|
3847
3847
|
theme: {
|
|
3848
3848
|
extend: {
|
|
3849
|
-
colors:
|
|
3849
|
+
colors: Be,
|
|
3850
3850
|
maxWidth: {
|
|
3851
3851
|
"1/12": "8.333333333%",
|
|
3852
3852
|
"2/12": "16.666666666%",
|
|
@@ -3907,28 +3907,27 @@ const Me = {
|
|
|
3907
3907
|
pattern: /e-self-(start|center|end|baseline|stretch)/
|
|
3908
3908
|
},
|
|
3909
3909
|
{
|
|
3910
|
-
pattern: /e-justify-(around|between|center|end|evenly|normal|start|stretch)
|
|
3911
|
-
variants: ["lg", "md", "sm", "xs", "xl"]
|
|
3910
|
+
pattern: /e-justify-(around|between|center|end|evenly|normal|start|stretch)/
|
|
3912
3911
|
},
|
|
3913
3912
|
{
|
|
3914
3913
|
pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
|
|
3915
3914
|
}
|
|
3916
3915
|
]
|
|
3917
|
-
},
|
|
3916
|
+
}, Se = Ve(Ue), We = Se.theme.fontSize, He = Se.theme.colors, xt = [
|
|
3918
3917
|
w.dot,
|
|
3919
3918
|
w.xs,
|
|
3920
3919
|
w.sm,
|
|
3921
3920
|
w.md,
|
|
3922
3921
|
w.lg,
|
|
3923
3922
|
w.xl
|
|
3924
|
-
],
|
|
3923
|
+
], _t = [
|
|
3925
3924
|
w.xs,
|
|
3926
3925
|
w.sm,
|
|
3927
3926
|
w.md,
|
|
3928
3927
|
w.lg,
|
|
3929
3928
|
w.xl,
|
|
3930
3929
|
w["2xl"]
|
|
3931
|
-
],
|
|
3930
|
+
], Ie = [
|
|
3932
3931
|
w.xs,
|
|
3933
3932
|
w.sm,
|
|
3934
3933
|
w.md,
|
|
@@ -3943,14 +3942,25 @@ const Me = {
|
|
|
3943
3942
|
w["7xl"],
|
|
3944
3943
|
w["8xl"],
|
|
3945
3944
|
w["9xl"]
|
|
3946
|
-
],
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
],
|
|
3945
|
+
], wt = [
|
|
3946
|
+
D.warning,
|
|
3947
|
+
D.error,
|
|
3948
|
+
D.info,
|
|
3949
|
+
D.success,
|
|
3950
|
+
D.primary,
|
|
3951
|
+
D.default
|
|
3952
|
+
], Ct = [
|
|
3953
|
+
"play",
|
|
3954
|
+
"pause",
|
|
3955
|
+
"ended",
|
|
3956
|
+
"loadeddata",
|
|
3957
|
+
"waiting",
|
|
3958
|
+
"playing",
|
|
3959
|
+
"timeupdate",
|
|
3960
|
+
"canplay",
|
|
3961
|
+
"canplaythrough",
|
|
3962
|
+
"statechanged"
|
|
3963
|
+
], qe = U.extend({
|
|
3954
3964
|
name: "EIcon",
|
|
3955
3965
|
props: {
|
|
3956
3966
|
icon: {
|
|
@@ -3959,7 +3969,7 @@ const Me = {
|
|
|
3959
3969
|
},
|
|
3960
3970
|
color: {
|
|
3961
3971
|
type: String,
|
|
3962
|
-
default:
|
|
3972
|
+
default: D.default
|
|
3963
3973
|
},
|
|
3964
3974
|
size: {
|
|
3965
3975
|
type: String,
|
|
@@ -3968,37 +3978,37 @@ const Me = {
|
|
|
3968
3978
|
},
|
|
3969
3979
|
computed: {
|
|
3970
3980
|
sizes() {
|
|
3971
|
-
return
|
|
3981
|
+
return Ie.reduce((e, t) => ({
|
|
3972
3982
|
...e,
|
|
3973
|
-
[
|
|
3983
|
+
[t]: `e-text-${t}`
|
|
3974
3984
|
}), {});
|
|
3975
3985
|
},
|
|
3976
3986
|
iconClasses() {
|
|
3977
|
-
var
|
|
3978
|
-
const e = this.sizes[this.size] || this.sizes[w.sm],
|
|
3987
|
+
var s, o;
|
|
3988
|
+
const e = this.sizes[this.size] || this.sizes[w.sm], t = `${((o = (s = this.icon) == null ? void 0 : s.split(" ")) == null ? void 0 : o.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
|
|
3979
3989
|
return [
|
|
3980
3990
|
"e-inline-flex e-items-center e-justify-center e-rounded-full",
|
|
3981
3991
|
this.color,
|
|
3982
|
-
|
|
3992
|
+
t,
|
|
3983
3993
|
e
|
|
3984
3994
|
];
|
|
3985
3995
|
}
|
|
3986
3996
|
}
|
|
3987
3997
|
});
|
|
3988
|
-
var
|
|
3989
|
-
var
|
|
3990
|
-
return
|
|
3991
|
-
},
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3998
|
+
var Ge = function() {
|
|
3999
|
+
var t = this, r = t._self._c;
|
|
4000
|
+
return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
|
|
4001
|
+
}, Xe = [], Ke = /* @__PURE__ */ W(
|
|
4002
|
+
qe,
|
|
4003
|
+
Ge,
|
|
4004
|
+
Xe,
|
|
3995
4005
|
!1,
|
|
3996
4006
|
null,
|
|
3997
4007
|
null,
|
|
3998
4008
|
null,
|
|
3999
4009
|
null
|
|
4000
4010
|
);
|
|
4001
|
-
const
|
|
4011
|
+
const Ye = Ke.exports, Ze = U.extend({
|
|
4002
4012
|
name: "ESpinner",
|
|
4003
4013
|
props: {
|
|
4004
4014
|
dark: {
|
|
@@ -4024,8 +4034,8 @@ const qe = He.exports, Ge = W.extend({
|
|
|
4024
4034
|
},
|
|
4025
4035
|
data() {
|
|
4026
4036
|
return {
|
|
4027
|
-
sizes:
|
|
4028
|
-
colors:
|
|
4037
|
+
sizes: We,
|
|
4038
|
+
colors: He
|
|
4029
4039
|
};
|
|
4030
4040
|
},
|
|
4031
4041
|
computed: {
|
|
@@ -4051,32 +4061,32 @@ const qe = He.exports, Ge = W.extend({
|
|
|
4051
4061
|
},
|
|
4052
4062
|
methods: {
|
|
4053
4063
|
getNthPathStyle(e) {
|
|
4054
|
-
const
|
|
4064
|
+
const t = typeof this.animationDuration == "string" ? Number.parseInt(this.animationDuration) : this.animationDuration;
|
|
4055
4065
|
return {
|
|
4056
4066
|
animationDuration: `${this.animationDuration}ms`,
|
|
4057
|
-
animationDelay: `${e / 10 *
|
|
4067
|
+
animationDelay: `${e / 10 * t}ms`,
|
|
4058
4068
|
fill: `${this.fill[e % 2 === 0 ? "primary" : "secondary"]}`
|
|
4059
4069
|
};
|
|
4060
4070
|
}
|
|
4061
4071
|
}
|
|
4062
4072
|
});
|
|
4063
|
-
var
|
|
4064
|
-
var
|
|
4065
|
-
return
|
|
4066
|
-
"e-spinner--dark":
|
|
4067
|
-
"e-spinner--grey": !
|
|
4068
|
-
}, style: { opacity:
|
|
4069
|
-
},
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
+
var Je = function() {
|
|
4074
|
+
var t = this, r = t._self._c;
|
|
4075
|
+
return r("svg", { staticClass: "e-spinner e-block", class: {
|
|
4076
|
+
"e-spinner--dark": t.dark,
|
|
4077
|
+
"e-spinner--grey": !t.color
|
|
4078
|
+
}, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
|
|
4079
|
+
}, Qe = [], et = /* @__PURE__ */ W(
|
|
4080
|
+
Ze,
|
|
4081
|
+
Je,
|
|
4082
|
+
Qe,
|
|
4073
4083
|
!1,
|
|
4074
4084
|
null,
|
|
4075
|
-
"
|
|
4085
|
+
"f6962f4a",
|
|
4076
4086
|
null,
|
|
4077
4087
|
null
|
|
4078
4088
|
);
|
|
4079
|
-
const
|
|
4089
|
+
const ke = et.exports, tt = U.extend({
|
|
4080
4090
|
props: {
|
|
4081
4091
|
align: {
|
|
4082
4092
|
type: String,
|
|
@@ -4090,66 +4100,36 @@ const Je = Ke.exports, Qe = W.extend({
|
|
|
4090
4100
|
type: String,
|
|
4091
4101
|
default: void 0
|
|
4092
4102
|
},
|
|
4093
|
-
justifyXs: {
|
|
4094
|
-
type: String,
|
|
4095
|
-
default: void 0
|
|
4096
|
-
},
|
|
4097
|
-
justifySm: {
|
|
4098
|
-
type: String,
|
|
4099
|
-
default: void 0
|
|
4100
|
-
},
|
|
4101
|
-
justifyMd: {
|
|
4102
|
-
type: String,
|
|
4103
|
-
default: void 0
|
|
4104
|
-
},
|
|
4105
|
-
justifyLg: {
|
|
4106
|
-
type: String,
|
|
4107
|
-
default: void 0
|
|
4108
|
-
},
|
|
4109
|
-
justifyXl: {
|
|
4110
|
-
type: String,
|
|
4111
|
-
default: void 0
|
|
4112
|
-
},
|
|
4113
4103
|
noGutters: {
|
|
4114
4104
|
type: Boolean,
|
|
4115
4105
|
default: !1
|
|
4116
4106
|
}
|
|
4117
4107
|
},
|
|
4118
4108
|
computed: {
|
|
4119
|
-
justifyClasses() {
|
|
4120
|
-
return {
|
|
4121
|
-
[`e-justify-${this.justify}`]: !!this.justify,
|
|
4122
|
-
[`xs:e-justify-${this.justifySm}`]: !!this.justifySm,
|
|
4123
|
-
[`sm:e-justify-${this.justifySm}`]: !!this.justifySm,
|
|
4124
|
-
[`md:e-justify-${this.justifyMd}`]: !!this.justifyMd,
|
|
4125
|
-
[`lg:e-justify-${this.justifyLg}`]: !!this.justifyLg,
|
|
4126
|
-
[`xl:e-justify-${this.justifyXl}`]: !!this.justifyXl
|
|
4127
|
-
};
|
|
4128
|
-
},
|
|
4129
4109
|
rowClasses() {
|
|
4130
4110
|
return {
|
|
4131
4111
|
...this.align ? { [`e-items-${this.align}`]: !0 } : {},
|
|
4132
4112
|
...this.alignContent ? { [`e-content-${this.alignContent}`]: !0 } : {},
|
|
4133
|
-
...this.
|
|
4134
|
-
...this.
|
|
4113
|
+
...this.justify ? { [`e-justify-${this.justify}`]: !0 } : {},
|
|
4114
|
+
...this.noGutters ? { "e-row--no-gutters": !0 } : {}
|
|
4135
4115
|
};
|
|
4136
4116
|
}
|
|
4137
4117
|
}
|
|
4138
4118
|
});
|
|
4139
|
-
var
|
|
4140
|
-
var
|
|
4141
|
-
return
|
|
4142
|
-
},
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4119
|
+
var rt = function() {
|
|
4120
|
+
var t = this, r = t._self._c;
|
|
4121
|
+
return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
|
|
4122
|
+
}, nt = [], it = /* @__PURE__ */ W(
|
|
4123
|
+
tt,
|
|
4124
|
+
rt,
|
|
4125
|
+
nt,
|
|
4146
4126
|
!1,
|
|
4147
4127
|
null,
|
|
4148
4128
|
null,
|
|
4149
4129
|
null,
|
|
4150
4130
|
null
|
|
4151
4131
|
);
|
|
4152
|
-
const
|
|
4132
|
+
const at = it.exports, ot = U.extend({
|
|
4153
4133
|
props: {
|
|
4154
4134
|
alignSelf: {
|
|
4155
4135
|
type: String,
|
|
@@ -4241,62 +4221,426 @@ const rt = tt.exports, nt = W.extend({
|
|
|
4241
4221
|
}
|
|
4242
4222
|
},
|
|
4243
4223
|
methods: {
|
|
4244
|
-
autoClasses(e,
|
|
4245
|
-
return `${e}e-basis-${
|
|
4224
|
+
autoClasses(e, t) {
|
|
4225
|
+
return `${e}e-basis-${t === "auto" ? "auto" : "0"} ${e}e-grow${t === "auto" ? "-0" : ""} ${e}e-w-${t === "auto" ? "auto" : "full"}`;
|
|
4246
4226
|
},
|
|
4247
|
-
isSizePropAuto(e,
|
|
4248
|
-
return e === "auto" || e === 0 || e === "0" ||
|
|
4227
|
+
isSizePropAuto(e, t = !1) {
|
|
4228
|
+
return e === "auto" || e === 0 || e === "0" || t && !e;
|
|
4249
4229
|
},
|
|
4250
4230
|
isSizePropertyNumeric(e) {
|
|
4251
|
-
const
|
|
4252
|
-
return e !== "auto" && !isNaN(
|
|
4231
|
+
const t = Number.parseInt(e);
|
|
4232
|
+
return e !== "auto" && !isNaN(t) && t >= 1 && t < 12;
|
|
4253
4233
|
}
|
|
4254
4234
|
}
|
|
4255
4235
|
});
|
|
4256
|
-
var
|
|
4257
|
-
var
|
|
4258
|
-
return
|
|
4259
|
-
},
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4236
|
+
var st = function() {
|
|
4237
|
+
var t = this, r = t._self._c;
|
|
4238
|
+
return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
|
|
4239
|
+
}, lt = [], ut = /* @__PURE__ */ W(
|
|
4240
|
+
ot,
|
|
4241
|
+
st,
|
|
4242
|
+
lt,
|
|
4263
4243
|
!1,
|
|
4264
4244
|
null,
|
|
4265
4245
|
null,
|
|
4266
4246
|
null,
|
|
4267
4247
|
null
|
|
4268
4248
|
);
|
|
4269
|
-
const
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4249
|
+
const ct = ut.exports;
|
|
4250
|
+
function Pe() {
|
|
4251
|
+
const e = document;
|
|
4252
|
+
return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
|
|
4253
|
+
}
|
|
4254
|
+
function dt(e) {
|
|
4255
|
+
if (Pe())
|
|
4256
|
+
return new Promise((t) => t());
|
|
4257
|
+
if (e.requestFullscreen)
|
|
4258
|
+
return e == null ? void 0 : e.requestFullscreen();
|
|
4259
|
+
if (e.mozRequestFullScreen)
|
|
4260
|
+
return e == null ? void 0 : e.mozRequestFullScreen();
|
|
4261
|
+
if (e.webkitRequestFullScreen)
|
|
4262
|
+
return e == null ? void 0 : e.webkitRequestFullScreen();
|
|
4263
|
+
if (e.msRequestFullscreen)
|
|
4264
|
+
return e == null ? void 0 : e.msRequestFullscreen();
|
|
4265
|
+
}
|
|
4266
|
+
function ft() {
|
|
4267
|
+
if (Pe())
|
|
4268
|
+
return new Promise((e) => e());
|
|
4269
|
+
if (document.exitFullscreen)
|
|
4270
|
+
return document.exitFullscreen();
|
|
4271
|
+
if (document.mozCancelFullScreen)
|
|
4272
|
+
return document.mozCancelFullScreen();
|
|
4273
|
+
if (document.webkitCancelFullScreen)
|
|
4274
|
+
return document.webkitCancelFullScreen();
|
|
4275
|
+
if (document.msExitFullscreen)
|
|
4276
|
+
return document.msExitFullscreen();
|
|
4277
|
+
}
|
|
4278
|
+
const Y = new Intl.NumberFormat(void 0, {
|
|
4279
|
+
minimumIntegerDigits: 2
|
|
4280
|
+
}), pt = [
|
|
4281
|
+
"play",
|
|
4282
|
+
"pause",
|
|
4283
|
+
"ended",
|
|
4284
|
+
"loadeddata",
|
|
4285
|
+
"waiting",
|
|
4286
|
+
"playing",
|
|
4287
|
+
"timeupdate",
|
|
4288
|
+
"canplay",
|
|
4289
|
+
"canplaythrough",
|
|
4290
|
+
"statechanged"
|
|
4291
|
+
], Z = (e) => {
|
|
4292
|
+
const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, s = Math.floor(e / 3600);
|
|
4293
|
+
return s === 0 ? `${r}:${Y.format(t)}` : `${s}:${Y.format(
|
|
4294
|
+
r
|
|
4295
|
+
)}:${Y.format(t)}`;
|
|
4296
|
+
}, mt = U.extend({
|
|
4297
|
+
name: "VideoPlayer",
|
|
4298
|
+
components: {
|
|
4299
|
+
ESpinner: ke
|
|
4300
|
+
// VideoTrack
|
|
4301
|
+
},
|
|
4302
|
+
props: {
|
|
4303
|
+
sources: {
|
|
4304
|
+
type: Array || String,
|
|
4305
|
+
required: !0
|
|
4306
|
+
},
|
|
4307
|
+
videoListeners: {
|
|
4308
|
+
type: Object,
|
|
4309
|
+
default: () => ({})
|
|
4310
|
+
},
|
|
4311
|
+
videoOptions: {
|
|
4312
|
+
type: Object,
|
|
4313
|
+
default: () => ({})
|
|
4314
|
+
}
|
|
4315
|
+
},
|
|
4316
|
+
data() {
|
|
4317
|
+
return {
|
|
4318
|
+
isSeeking: !1,
|
|
4319
|
+
playing: !1,
|
|
4320
|
+
percentagePlayed: 0,
|
|
4321
|
+
videoMuted: !1,
|
|
4322
|
+
videoLength: "0:00",
|
|
4323
|
+
duration: 0,
|
|
4324
|
+
videoDuration: 0,
|
|
4325
|
+
currentTime: "0:00",
|
|
4326
|
+
realtime: 0,
|
|
4327
|
+
isScrubbing: !1,
|
|
4328
|
+
wasPaused: !1,
|
|
4329
|
+
volume: 1,
|
|
4330
|
+
isFullscreen: !1,
|
|
4331
|
+
isFinished: !1,
|
|
4332
|
+
isLoading: !0,
|
|
4333
|
+
playbackRate: "1x",
|
|
4334
|
+
isMiniPlayerMode: !1
|
|
4335
|
+
};
|
|
4336
|
+
},
|
|
4337
|
+
computed: {
|
|
4338
|
+
hasMultipleSources() {
|
|
4339
|
+
return Array.isArray(this.sources);
|
|
4340
|
+
},
|
|
4341
|
+
hasStartedOrFinished() {
|
|
4342
|
+
return (this.isFinished || this.realtime <= 0.1) && !this.isLoading && !this.isLooped();
|
|
4343
|
+
},
|
|
4344
|
+
withControls() {
|
|
4345
|
+
const e = this.videoOptions;
|
|
4346
|
+
return this.videoOptions && Object.keys(this.videoOptions).includes("controls") && e.controls === !1 ? "hide" : "";
|
|
4347
|
+
}
|
|
4348
|
+
},
|
|
4349
|
+
mounted() {
|
|
4350
|
+
this.bindEvents();
|
|
4351
|
+
const e = this.$refs.player;
|
|
4352
|
+
e && e.muted && this.setMuted(!0), e && document.addEventListener("mouseup", (t) => {
|
|
4353
|
+
this.isScrubbing && this.toggleScrubbing(t);
|
|
4354
|
+
}), window.addEventListener("keydown", this.handleKeyDown), document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.addEventListener("fullscreenchange", this.handleFullscreenChange), document.addEventListener(
|
|
4355
|
+
"webkitfullscreenchange",
|
|
4356
|
+
this.handleFullscreenChange
|
|
4357
|
+
), document.addEventListener(
|
|
4358
|
+
"mozfullscreenchange",
|
|
4359
|
+
this.handleFullscreenChange
|
|
4360
|
+
), document.addEventListener(
|
|
4361
|
+
"MSFullscreenChange",
|
|
4362
|
+
this.handleFullscreenChange
|
|
4363
|
+
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4364
|
+
},
|
|
4365
|
+
destroyed() {
|
|
4366
|
+
window.removeEventListener("keydown", this.handleKeyDown), document.removeEventListener("mouseup", (e) => {
|
|
4367
|
+
this.isScrubbing && this.toggleScrubbing(e);
|
|
4368
|
+
}), document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled ? (document.removeEventListener(
|
|
4369
|
+
"fullscreenchange",
|
|
4370
|
+
this.handleFullscreenChange
|
|
4371
|
+
), document.removeEventListener(
|
|
4372
|
+
"webkitfullscreenchange",
|
|
4373
|
+
this.handleFullscreenChange
|
|
4374
|
+
), document.removeEventListener(
|
|
4375
|
+
"mozfullscreenchange",
|
|
4376
|
+
this.handleFullscreenChange
|
|
4377
|
+
), document.removeEventListener(
|
|
4378
|
+
"MSFullscreenChange",
|
|
4379
|
+
this.handleFullscreenChange
|
|
4380
|
+
)) : console.log("Fullscreen API is not supported in this browser.");
|
|
4381
|
+
},
|
|
4382
|
+
methods: {
|
|
4383
|
+
bindEvents() {
|
|
4384
|
+
pt.forEach((e) => {
|
|
4385
|
+
this.bindVideoEvent(e);
|
|
4386
|
+
});
|
|
4387
|
+
},
|
|
4388
|
+
bindVideoEvent(e) {
|
|
4389
|
+
const t = this.$refs.player, r = this.$refs.timelineContainer;
|
|
4390
|
+
t.addEventListener(
|
|
4391
|
+
e,
|
|
4392
|
+
(s) => {
|
|
4393
|
+
e === "loadeddata" && (this.videoLength = Z(t.duration)), e === "timeupdate" && (this.percentagePlayed = t.currentTime / t.duration * 100, r.style.setProperty(
|
|
4394
|
+
"--progress-position",
|
|
4395
|
+
this.percentagePlayed.toString()
|
|
4396
|
+
)), this.$emit(e, { event: s, player: this });
|
|
4397
|
+
},
|
|
4398
|
+
!0
|
|
4399
|
+
);
|
|
4400
|
+
},
|
|
4401
|
+
handleFullscreenChange() {
|
|
4402
|
+
document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement || window.innerWidth == screen.width && window.innerHeight == screen.height ? this.isFullscreen = !0 : this.isFullscreen = !1;
|
|
4403
|
+
},
|
|
4404
|
+
seeking() {
|
|
4405
|
+
this.seeking = !0;
|
|
4406
|
+
},
|
|
4407
|
+
seeked() {
|
|
4408
|
+
this.seeking = !1;
|
|
4409
|
+
},
|
|
4410
|
+
isLooped() {
|
|
4411
|
+
return this.$refs.player.loop;
|
|
4412
|
+
},
|
|
4413
|
+
handleEnded() {
|
|
4414
|
+
this.isFinished = !0, this.playing = !1;
|
|
4415
|
+
},
|
|
4416
|
+
handleLoading() {
|
|
4417
|
+
this.isLoading = !1;
|
|
4418
|
+
},
|
|
4419
|
+
play() {
|
|
4420
|
+
if (this.$refs.player) {
|
|
4421
|
+
const e = this.$refs.player;
|
|
4422
|
+
e.play() !== void 0 && e.play().then(() => this.setPlaying(!0)).catch(console.error);
|
|
4423
|
+
}
|
|
4424
|
+
},
|
|
4425
|
+
handleVolumeChange(e) {
|
|
4426
|
+
const t = this.$refs.player, r = e.target;
|
|
4427
|
+
t.volume = Number(r.value), t.muted = Number(r.value) === 0, this.setVolume(Number(r.value)), this.setMuted(Number(r.value) === 0);
|
|
4428
|
+
},
|
|
4429
|
+
setVolume(e) {
|
|
4430
|
+
this.volume = e;
|
|
4431
|
+
},
|
|
4432
|
+
pause() {
|
|
4433
|
+
this.$refs.player && (this.$refs.player.pause(), this.setPlaying(!1));
|
|
4434
|
+
},
|
|
4435
|
+
togglePlay() {
|
|
4436
|
+
this.playing ? this.pause() : this.play();
|
|
4437
|
+
},
|
|
4438
|
+
setPlaying(e) {
|
|
4439
|
+
this.playing = e;
|
|
4440
|
+
},
|
|
4441
|
+
seekToPercentage(e) {
|
|
4442
|
+
if (this.$refs.player) {
|
|
4443
|
+
const t = this.$refs.player, r = e / 100 * t.duration;
|
|
4444
|
+
t.currentTime = r;
|
|
4445
|
+
}
|
|
4446
|
+
},
|
|
4447
|
+
convertTimeToDuration(e) {
|
|
4448
|
+
return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
|
|
4449
|
+
},
|
|
4450
|
+
// buffering() {
|
|
4451
|
+
// const playerRef = this.$refs.player as HTMLVideoElement
|
|
4452
|
+
// const timelineContainer = this.$refs.timelineContainer as HTMLDivElement
|
|
4453
|
+
// const bufferEnd = playerRef.buffered.end(playerRef.buffered.length - 1)
|
|
4454
|
+
// const duration = playerRef.duration
|
|
4455
|
+
// if (duration > 0) {
|
|
4456
|
+
// const value = (bufferEnd / duration) * 100
|
|
4457
|
+
// console.log({ bufferedValue: value })
|
|
4458
|
+
// this.bufferingValue = value
|
|
4459
|
+
// timelineContainer.style.setProperty(
|
|
4460
|
+
// "--preview-position",
|
|
4461
|
+
// value.toString()
|
|
4462
|
+
// )
|
|
4463
|
+
// }
|
|
4464
|
+
// },
|
|
4465
|
+
mute() {
|
|
4466
|
+
if (this.$refs.player) {
|
|
4467
|
+
const e = this.$refs.player;
|
|
4468
|
+
e.muted = !0, this.setMuted(!0);
|
|
4469
|
+
}
|
|
4470
|
+
},
|
|
4471
|
+
unmute() {
|
|
4472
|
+
if (this.$refs.player) {
|
|
4473
|
+
const e = this.$refs.player;
|
|
4474
|
+
e.muted = !1, this.setMuted(!1);
|
|
4475
|
+
}
|
|
4476
|
+
},
|
|
4477
|
+
toggleMute() {
|
|
4478
|
+
this.videoMuted ? this.unmute() : this.mute();
|
|
4479
|
+
},
|
|
4480
|
+
setMuted(e) {
|
|
4481
|
+
this.videoMuted = e;
|
|
4482
|
+
},
|
|
4483
|
+
closeFullscreenMode() {
|
|
4484
|
+
document.fullscreenElement && (ft().then(() => {
|
|
4485
|
+
this.isFullscreen = !1, console.log("Exited fullscreen");
|
|
4486
|
+
}), this.isFullscreen = !1);
|
|
4487
|
+
},
|
|
4488
|
+
openFullscreenMode() {
|
|
4489
|
+
const e = this.$refs.videoContainer;
|
|
4490
|
+
e && (dt(e).then(() => {
|
|
4491
|
+
this.isFullscreen = !0;
|
|
4492
|
+
}), this.isFullscreen = !0);
|
|
4493
|
+
},
|
|
4494
|
+
toggleFullscreenMode() {
|
|
4495
|
+
this.isFullscreen ? this.closeFullscreenMode() : this.openFullscreenMode();
|
|
4496
|
+
},
|
|
4497
|
+
toggleMiniPlayerMode() {
|
|
4498
|
+
const e = this.$refs.player;
|
|
4499
|
+
this.isMiniPlayerMode ? (document.exitPictureInPicture(), this.isMiniPlayerMode = !1) : (e.requestPictureInPicture(), this.isMiniPlayerMode = !0);
|
|
4500
|
+
},
|
|
4501
|
+
getDuration() {
|
|
4502
|
+
const e = this.$refs.player;
|
|
4503
|
+
this.videoLength = Z(e.duration), this.videoDuration = e.duration;
|
|
4504
|
+
},
|
|
4505
|
+
handleTimeUpdate() {
|
|
4506
|
+
const e = this.$refs.player, t = this.$refs.timelineContainer;
|
|
4507
|
+
if (e && t) {
|
|
4508
|
+
this.currentTime = Z(e.currentTime), this.realtime = e.currentTime;
|
|
4509
|
+
const r = Number(this.realtime) / Number(this.videoDuration);
|
|
4510
|
+
t.style.setProperty(
|
|
4511
|
+
"--progress-position",
|
|
4512
|
+
r.toString()
|
|
4513
|
+
);
|
|
4514
|
+
}
|
|
4515
|
+
},
|
|
4516
|
+
handleTimelineUpdate(e) {
|
|
4517
|
+
const t = this.$refs.player;
|
|
4518
|
+
if (document.body.contains(t)) {
|
|
4519
|
+
const r = this.$refs.timelineContainer, s = r.getBoundingClientRect(), o = Math.min(Math.max(0, e.x - s.x), s.width) / s.width;
|
|
4520
|
+
r.style.setProperty(
|
|
4521
|
+
"--preview-position",
|
|
4522
|
+
o.toString()
|
|
4523
|
+
), this.isScrubbing && (e.preventDefault(), r.style.setProperty(
|
|
4524
|
+
"--progress-position",
|
|
4525
|
+
o.toString()
|
|
4526
|
+
));
|
|
4527
|
+
}
|
|
4528
|
+
},
|
|
4529
|
+
skip(e = 5) {
|
|
4530
|
+
const t = this.$refs.player;
|
|
4531
|
+
t.currentTime += e;
|
|
4532
|
+
},
|
|
4533
|
+
async toggleScrubbing(e) {
|
|
4534
|
+
const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, s = this.$refs.player;
|
|
4535
|
+
if (s) {
|
|
4536
|
+
const o = t.getBoundingClientRect(), l = Math.min(Math.max(0, e.x - o.x), o.width) / o.width;
|
|
4537
|
+
if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing)
|
|
4538
|
+
this.wasPaused = s.paused, await s.pause(), this.handleTimelineUpdate(e);
|
|
4539
|
+
else if (this.realtime = l * this.videoDuration, s.currentTime = l * this.videoDuration, !this.wasPaused) {
|
|
4540
|
+
const i = s.play();
|
|
4541
|
+
i !== void 0 && i.then(() => this.handleTimelineUpdate(e)).catch(console.error);
|
|
4542
|
+
}
|
|
4543
|
+
}
|
|
4544
|
+
},
|
|
4545
|
+
changePlaybackSpeed() {
|
|
4546
|
+
const e = this.$refs.player;
|
|
4547
|
+
let t = e.playbackRate + 0.25;
|
|
4548
|
+
t > 2 && (t = 0.25), this.$refs.player && (e.playbackRate = t), this.playbackRate = `${t}x`;
|
|
4549
|
+
},
|
|
4550
|
+
handleKeyDown(e) {
|
|
4551
|
+
var r;
|
|
4552
|
+
const t = (r = document.activeElement) == null ? void 0 : r.tagName.toLowerCase();
|
|
4553
|
+
if (t !== "input")
|
|
4554
|
+
switch (e.key.toLowerCase()) {
|
|
4555
|
+
case " ":
|
|
4556
|
+
if (t === "button")
|
|
4557
|
+
return;
|
|
4558
|
+
break;
|
|
4559
|
+
case "k":
|
|
4560
|
+
this.togglePlay();
|
|
4561
|
+
break;
|
|
4562
|
+
case "escape":
|
|
4563
|
+
e.preventDefault(), this.closeFullscreenMode(), this.isFullscreen = !1;
|
|
4564
|
+
break;
|
|
4565
|
+
case "f":
|
|
4566
|
+
this.openFullscreenMode(), this.isFullscreen = !0;
|
|
4567
|
+
break;
|
|
4568
|
+
case "i":
|
|
4569
|
+
this.toggleMiniPlayerMode();
|
|
4570
|
+
break;
|
|
4571
|
+
case "m":
|
|
4572
|
+
this.toggleMute();
|
|
4573
|
+
break;
|
|
4574
|
+
case "arrowleft":
|
|
4575
|
+
case "j":
|
|
4576
|
+
this.skip(-5);
|
|
4577
|
+
break;
|
|
4578
|
+
case "arrowright":
|
|
4579
|
+
case "l":
|
|
4580
|
+
this.skip(5);
|
|
4581
|
+
break;
|
|
4582
|
+
}
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
});
|
|
4586
|
+
var gt = function() {
|
|
4587
|
+
var t = this, r = t._self._c;
|
|
4588
|
+
return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [t.hasMultipleSources ? r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto", volume: t.volume }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), t._l(t.sources, function(s) {
|
|
4589
|
+
return r("source", { key: s.src, attrs: { src: s.src, type: s.type } });
|
|
4590
|
+
}), 0) : r("video", t._g(t._b({ ref: "player", attrs: { src: t.sources, controls: !1, preload: "auto", volume: t.volume }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners)), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), t.withControls ? t._e() : t._t("controls", function() {
|
|
4591
|
+
return [r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn", attrs: { title: t.playing ? "pause" : "play" }, on: { click: t.togglePlay } }, [t.playing ? r("svg", { staticClass: "pause-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M14,19H18V5H14M6,19H10V5H6V19Z" } })]) : r("svg", { staticClass: "play-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M8,5.14V19.14L19,12.14L8,5.14Z" } })])]), r("button", { staticClass: "fsBtn fa fa-fast-backward", on: { click: function(s) {
|
|
4592
|
+
return t.skip(-5);
|
|
4593
|
+
} } }), r("button", { staticClass: "fsBtn fa fa-fast-forward", on: { click: function(s) {
|
|
4594
|
+
return t.skip(5);
|
|
4595
|
+
} } }), r("div", { staticClass: "volume-container" }, [r("button", { ref: "muteBtn", staticClass: "mute-btn", attrs: { title: t.videoMuted ? "Unmute" : "Mute" }, on: { click: t.toggleMute } }, [t.volume > 0.5 && !t.videoMuted ? r("svg", { staticClass: "volume-high-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" } })]) : t._e(), t.volume <= 0.5 && !t.videoMuted ? r("svg", { staticClass: "volume-low-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M5,9V15H9L14,20V4L9,9M18.5,12C18.5,10.23 17.5,8.71 16,7.97V16C17.5,15.29 18.5,13.76 18.5,12Z" } })]) : t._e(), t.videoMuted ? r("svg", { staticClass: "volume-muted-icon", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z" } })]) : t._e()]), r("input", { ref: "volumeSlider", staticClass: "volume-slider", attrs: { type: "range", min: "0", max: "1", step: "any" }, domProps: { value: t.volume }, on: { input: t.handleVolumeChange } })]), r("div", { staticClass: "duration-container" }, [r("div", { ref: "currentTimeElem", staticClass: "current-time" }, [t._v(" " + t._s(t.currentTime) + " ")]), t._v(" / "), r("div", { ref: "totalTimeElem", staticClass: "total-time" }, [t._v(t._s(t.videoLength))])]), r("div", { ref: "timelineContainer", staticClass: "timeline-container", on: { mousemove: t.handleTimelineUpdate, mousedown: t.toggleScrubbing } }, [t._m(0)]), r("button", { ref: "speedBtn", staticClass: "speed-btn wide-btn", on: { click: t.changePlaybackSpeed } }, [t._v(" " + t._s(t.playbackRate) + " ")]), r("button", { ref: "miniPlayerBtn", staticClass: "mini-player-btn", attrs: { title: "Picture in picture" }, on: { click: t.toggleMiniPlayerMode } }, [r("svg", { staticClass: "picture-on-picture", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zm-10-7h9v6h-9z" } })])]), r("button", { ref: "fullScreenBtn", staticClass: "full-screen-btn", on: { click: t.toggleFullscreenMode } }, [t.isFullscreen ? r("svg", { staticClass: "close", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" } })]) : r("svg", { staticClass: "open", attrs: { viewBox: "0 0 24 24" } }, [r("path", { attrs: { fill: "currentColor", d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" } })])])])])];
|
|
4596
|
+
}, { isFullscreen: t.isFullscreen, play: t.play, pause: t.pause, muted: t.videoMuted, togglePlay: t.togglePlay, toggleFullscreenMode: t.toggleFullscreenMode, playing: t.playing, handleTimeUpdate: t.handleTimeUpdate, percentagePlayed: t.percentagePlayed, seekToPercentage: t.seekToPercentage, currentTime: t.currentTime, duration: t.videoLength, convertTimeToDuration: t.convertTimeToDuration, videoMuted: t.videoMuted, toggleMute: t.toggleMute, volume: t.volume, handleVolumeChange: t.handleVolumeChange, toggleMiniPlayerMode: t.toggleMiniPlayerMode, skip: t.skip, playbackRate: t.playbackRate, changePlaybackSpeed: t.changePlaybackSpeed }, t.videoOptions)], 2);
|
|
4597
|
+
}, ht = [function() {
|
|
4598
|
+
var e = this, t = e._self._c;
|
|
4599
|
+
return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
|
|
4600
|
+
}], vt = /* @__PURE__ */ W(
|
|
4601
|
+
mt,
|
|
4602
|
+
gt,
|
|
4603
|
+
ht,
|
|
4604
|
+
!1,
|
|
4605
|
+
null,
|
|
4606
|
+
"6978f420",
|
|
4607
|
+
null,
|
|
4608
|
+
null
|
|
4609
|
+
);
|
|
4610
|
+
const yt = vt.exports, ie = {
|
|
4611
|
+
EAvatar: Le,
|
|
4612
|
+
EBadge: ae,
|
|
4613
|
+
EIcon: Ye,
|
|
4614
|
+
ESpinner: ke,
|
|
4615
|
+
ERow: at,
|
|
4616
|
+
ECol: ct,
|
|
4617
|
+
EVideoPlayer: yt
|
|
4618
|
+
}, St = {
|
|
4277
4619
|
install(e) {
|
|
4278
|
-
Object.keys(
|
|
4279
|
-
e.component(
|
|
4620
|
+
Object.keys(ie).forEach((t) => {
|
|
4621
|
+
e.component(t, ie[t]);
|
|
4280
4622
|
});
|
|
4281
4623
|
}
|
|
4282
4624
|
};
|
|
4283
4625
|
export {
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4626
|
+
_t as AvatarSizes,
|
|
4627
|
+
wt as BadgeColors,
|
|
4628
|
+
xt as BadgeSizes,
|
|
4629
|
+
D as BaseColor,
|
|
4630
|
+
He as Colors,
|
|
4631
|
+
Le as EAvatar,
|
|
4632
|
+
ae as EBadge,
|
|
4633
|
+
ct as ECol,
|
|
4634
|
+
Ye as EIcon,
|
|
4635
|
+
at as ERow,
|
|
4636
|
+
ke as ESpinner,
|
|
4637
|
+
Ct as EVENTS,
|
|
4638
|
+
yt as EVideoPlayer,
|
|
4639
|
+
Ie as IconSizes,
|
|
4296
4640
|
w as Size,
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4641
|
+
We as TextSizes,
|
|
4642
|
+
ie as components,
|
|
4643
|
+
St as default,
|
|
4644
|
+
Se as fullConfig
|
|
4301
4645
|
};
|
|
4302
4646
|
//# sourceMappingURL=index.mjs.map
|