@utogether/udp-core 2.0.0-beta.5 → 2.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{403-y4Id7pky.js → 403-FwkedC35.js} +1 -1
- package/dist/{404-DdxstlUr.js → 404-fBOEoTA_.js} +1 -1
- package/dist/{500-BpsDn21g.js → 500-iyNwORJV.js} +1 -1
- package/dist/{AuthorityInfo-0CnlrZVd.js → AuthorityInfo-BTGUSDZ4.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-D5cXM84w.js → AuthorityInfo.vue_vue_type_style_index_0_lang-DSxmqRu8.js} +1 -1
- package/dist/{Company-BPAqJfZm.js → Company-ueSjOTse.js} +3 -3
- package/dist/{CompanyPanel-CCeM96w4.js → CompanyPanel-CAhzxgMa.js} +1 -1
- package/dist/{Department-BsLrIIrS.js → Department-fGiF2ia2.js} +3 -3
- package/dist/{DepartmentPanel-B2YqwLmq.js → DepartmentPanel-DW7RJCcR.js} +1 -1
- package/dist/{DesignPanel-CVSOCMvU.js → DesignPanel-CAQBm4D4.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-Dte8DQnU.js → DesignPanel.vue_vue_type_style_index_0_lang-5LGPeXPl.js} +2 -2
- package/dist/{DictView-CKVpPtFg.js → DictView-CvJgPLm3.js} +10 -10
- package/dist/{InvOrganization-BBODO8aK.js → InvOrganization-qlTFGd3Z.js} +1 -1
- package/dist/{Org-BYRi0OAt.js → Org-XLreDKod.js} +1 -1
- package/dist/{Preview-COI8NwWh.js → Preview-CPbzW7CO.js} +1 -1
- package/dist/{ReportDefine-Dbh_8ykf.js → ReportDefine-Cb8Kr-eh.js} +1 -1
- package/dist/{ReportDesign-DOeKYL9V.js → ReportDesign-C7NEHxsF.js} +2 -2
- package/dist/{ReportQuery-Bb4r9lNR.js → ReportQuery-DRHAlGXP.js} +1 -1
- package/dist/{ReportQueryFrom-CavcWtL3.js → ReportQueryFrom-BVzD7HiO.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-tuLRWEK9.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-B_lbUpW7.js} +1 -1
- package/dist/{ReportTemplate-C9NzPxM4.js → ReportTemplate-jvKZTiwg.js} +1 -1
- package/dist/{Role-Bqt4d9Lz.js → Role-BHHb-iLB.js} +3 -3
- package/dist/{RoleAssign-CWcytVz3.js → RoleAssign-BTBTh4BY.js} +3 -3
- package/dist/{RolePanel-DlU0aCnL.js → RolePanel-BCi1rex2.js} +1 -1
- package/dist/{RolePanel-Di5nsMqt.js → RolePanel-aV6bg80k.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BOq0iJsT.js → RolePanel.vue_vue_type_script_setup_true_lang-BhFR-z17.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-hzbUepuW.js → RolePanel.vue_vue_type_script_setup_true_lang-C2b-FgFi.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-Bg3rg4P4.js → ScrollPanel.vue_vue_type_style_index_0_lang-BvNAonbh.js} +1 -1
- package/dist/{Staff-DXr2Ka1N.js → Staff-CQqKHfmG.js} +3 -3
- package/dist/{StaffInfo-C6lDK0S_.js → StaffInfo-DBgWZZxQ.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-YRJm87-b.js → StaffInfo.vue_vue_type_script_setup_true_lang-DZSUQTor.js} +1 -1
- package/dist/{StaffPanel-WNpg0HWl.js → StaffPanel-qhtv83q9.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-azLpvFRo.js → StaffPanel.vue_vue_type_script_setup_true_lang-B3j8x4MN.js} +2 -2
- package/dist/{SysUser-Dph6Qi_a.js → SysUser-D-7c33EB.js} +2 -2
- package/dist/{SysUserPanel-Iz024NS_.js → SysUserPanel-t1ZR91oy.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-D8GUQHic.js → SysUserPanel.vue_vue_type_script_setup_true_lang-Bz2s1QPZ.js} +1 -1
- package/dist/{SystemMenu-6mTYGwbK.js → SystemMenu-DNffJRQo.js} +2 -2
- package/dist/{UserInfo-RQ7VgSbk.js → UserInfo-niYGSHmG.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-BYp2-i9R.js → UserInfo.vue_vue_type_style_index_0_lang-B8CRjdQG.js} +1 -1
- package/dist/{childView-B8L4By2o.js → childView-Dn28g10M.js} +1 -1
- package/dist/{childView-nCa8t4tr.js → childView-E2EnbUz2.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Bl1MzDS9.js → childView.vue_vue_type_style_index_0_lang-DFs-YATK.js} +26 -23
- package/dist/{childView.vue_vue_type_style_index_0_lang-DDx9z61J.js → childView.vue_vue_type_style_index_0_lang-UzBSJ6wt.js} +1 -1
- package/dist/{code-rule-8dQLPHni.js → code-rule-D-RJozWD.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-aDBWT_Uh.js → cron-task-CPuU0Rc2.js} +1 -1
- package/dist/{frameView-DM3flfo5.js → frameView-c4xFtvR6.js} +1 -1
- package/dist/{index-ClHeZ3q4.js → index-CPKIQXdI.js} +1210 -1201
- package/dist/{layout-home-DNPOu6R4.js → layout-home-DrimiAWf.js} +1 -1
- package/dist/{layoutView-Ymyja_uK.js → layoutView-DPaKZNx5.js} +1 -1
- package/dist/{log-in-DtHf5ZcG.js → log-in-BQiOfnXg.js} +1 -1
- package/dist/{log-out-DZ8OkPM6.js → log-out-BvlexfR3.js} +1 -1
- package/dist/{login-CoX7TNHE.js → login-0R1puBOn.js} +1 -1
- package/dist/{login-log-DJBGJVV0.js → login-log-BEHYT0v0.js} +5 -5
- package/dist/{lov-view-BWtIPBNm.js → lov-view-DieM-cvR.js} +2 -2
- package/dist/{menuInfo-wG5Zt00s.js → menuInfo-Db7s_jX8.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-DiPeALce.js → menuInfo.vue_vue_type_style_index_0_lang-QbKkjhUR.js} +1 -1
- package/dist/{pda-app-9b3JC2he.js → pda-app-CCtwSfLe.js} +1 -1
- package/dist/{resource-DiHXYgfm.js → resource-rliX23RM.js} +1 -1
- package/dist/{su-welcome-COvSPTOW.js → su-welcome-MLhkyOoQ.js} +350 -342
- package/dist/{sys-config-Mm50Y0LQ.js → sys-config-Ci6UV7lE.js} +1 -1
- package/package.json +1 -1
- package/src/components/udp/form-upload/form-upload.vue +496 -492
- package/src/components/udp/utils.ts +414 -408
- package/src/plugins/i18n/zh.ts +1 -0
- package/src/plugins/vxe-table/render.tsx +995 -968
- package/src/views/udev/dict/DictView.vue +118 -118
- package/src/views/udev/dict/childView.vue +185 -184
- package/src/views/uhome/components/home-todo.vue +10 -5
- package/src/views/upms/user/login-log.vue +2 -2
- package/vite.config.ts +83 -83
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Wf = Object.defineProperty;
|
|
2
|
+
var Nu = (q) => {
|
|
3
3
|
throw TypeError(q);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var Mr = (q, e, l) =>
|
|
7
|
-
var Me = (q, e, l) => (wl(q, e, "read from private field"), l ? l.call(q) : e.get(q)), Ir = (q, e, l) => e.has(q) ?
|
|
5
|
+
var Gf = (q, e, l) => e in q ? Wf(q, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : q[e] = l;
|
|
6
|
+
var Mr = (q, e, l) => Gf(q, typeof e != "symbol" ? e + "" : e, l), wl = (q, e, l) => e.has(q) || Nu("Cannot " + l);
|
|
7
|
+
var Me = (q, e, l) => (wl(q, e, "read from private field"), l ? l.call(q) : e.get(q)), Ir = (q, e, l) => e.has(q) ? Nu("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(q) : e.set(q, l), Gt = (q, e, l, r) => (wl(q, e, "write to private field"), r ? r.call(q, l) : e.set(q, l), l), ir = (q, e, l) => (wl(q, e, "access private method"), l);
|
|
8
8
|
var go = (q, e, l, r) => ({
|
|
9
9
|
set _(f) {
|
|
10
10
|
Gt(q, e, f, l);
|
|
@@ -13,15 +13,15 @@ var go = (q, e, l, r) => ({
|
|
|
13
13
|
return Me(q, e, r);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import * as
|
|
17
|
-
import { defineComponent as fa, ref as Vn, onMounted as So, resolveComponent as hn, createBlock as vs, openBlock as Zr, withCtx as an, createElementVNode as Yt, createVNode as Br, createCommentVNode as zs, unref as xo, normalizeStyle as
|
|
18
|
-
import
|
|
19
|
-
import * as
|
|
20
|
-
import { dbstorage as
|
|
16
|
+
import * as Hf from "vue";
|
|
17
|
+
import { defineComponent as fa, ref as Vn, onMounted as So, resolveComponent as hn, createBlock as vs, openBlock as Zr, withCtx as an, createElementVNode as Yt, createVNode as Br, createCommentVNode as zs, unref as xo, normalizeStyle as ku, toDisplayString as ms, createElementBlock as Kn, Fragment as Xs, renderList as oi, nextTick as Du, resolveDirective as Kf, withDirectives as zf, normalizeClass as Xf, createTextVNode as Pl, defineAsyncComponent as Jf, computed as Yf } from "vue";
|
|
18
|
+
import ju from "dayjs";
|
|
19
|
+
import * as Qf from "@utogether/utils";
|
|
20
|
+
import { dbstorage as Zf, delay as ed, warnMessage as td, successMessage as rd, cookies as Lu, lunarCalendar as nd } from "@utogether/utils";
|
|
21
21
|
import { t as Nl } from "./await-to-js.es5-Bv3Eu4mi.js";
|
|
22
|
-
import { y as Ma, i as
|
|
22
|
+
import { y as Ma, i as Mu, p as Bu, H as sd, l as id, _ as ad } from "./index-CPKIQXdI.js";
|
|
23
23
|
import * as od from "vue-router";
|
|
24
|
-
import { useRouter as
|
|
24
|
+
import { useRouter as Ru } from "vue-router";
|
|
25
25
|
import ld, { clone as cd, max as ud, isEmpty as pd } from "xe-utils";
|
|
26
26
|
import fd from "vuedraggable";
|
|
27
27
|
import dd from "vxe-pc-ui";
|
|
@@ -39,7 +39,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
39
39
|
emits: ["close", "success"],
|
|
40
40
|
setup(q, { emit: e }) {
|
|
41
41
|
const l = q, r = Vn([]), f = Vn([]), i = Vn(!1), t = Vn(!1), s = Vn({}), d = async () => {
|
|
42
|
-
f.value = await
|
|
42
|
+
f.value = await Zf.getItem(`U-${l.userName}-ROUTES`), f.value = f.value.filter((m) => m.menuCode !== "SysHome"), await ed(64), c();
|
|
43
43
|
}, u = (m, O) => {
|
|
44
44
|
var C;
|
|
45
45
|
r.value.splice(O, 1);
|
|
@@ -57,9 +57,9 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
57
57
|
}, g = (m, O) => {
|
|
58
58
|
if (O.checked) {
|
|
59
59
|
if (r.value.length === 16)
|
|
60
|
-
return
|
|
60
|
+
return Du(() => {
|
|
61
61
|
s.value[m.id].splice(s.value[m.id].length - 1, 1);
|
|
62
|
-
}),
|
|
62
|
+
}), td("最多只能选择16个常用功能");
|
|
63
63
|
const h = m.children.find((C) => C.id === O.label);
|
|
64
64
|
h && (h.seqNo = o() + 10, h.menuId = h.id, r.value.push(h));
|
|
65
65
|
} else {
|
|
@@ -80,7 +80,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
80
80
|
seqNo: 10 * (h + 1)
|
|
81
81
|
}));
|
|
82
82
|
t.value = !0, Ma().post(kd, m).then(() => {
|
|
83
|
-
|
|
83
|
+
rd(), E(), I("success");
|
|
84
84
|
}).finally(() => {
|
|
85
85
|
t.value = !1;
|
|
86
86
|
});
|
|
@@ -129,7 +129,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
129
129
|
Yt("div", bd, [
|
|
130
130
|
Yt("div", {
|
|
131
131
|
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
132
|
-
style:
|
|
132
|
+
style: ku({ backgroundColor: x(W) })
|
|
133
133
|
}, [
|
|
134
134
|
Br(C, {
|
|
135
135
|
icon: Z.icon || `ri:${m.icons[W]}-line`,
|
|
@@ -254,10 +254,10 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
254
254
|
}), jd = { class: "default:bg-white dark:bg-black" }, Ld = ["onClick"], Md = { class: "h-20 flex justify-center items-center flex-col" }, Bd = { class: "text-xs mt-2" }, Rd = /* @__PURE__ */ fa({
|
|
255
255
|
__name: "common-menu",
|
|
256
256
|
setup(q) {
|
|
257
|
-
const e =
|
|
257
|
+
const e = Ru(), l = Mu(), r = Vn([]), f = Vn(!1), i = Vn(!1), t = () => {
|
|
258
258
|
const c = "/upfm/v1/menuFavority";
|
|
259
259
|
i.value = !0;
|
|
260
|
-
const g = { pageSize: 20, pageNum: 1, userName:
|
|
260
|
+
const g = { pageSize: 20, pageNum: 1, userName: Lu.get(Bu) };
|
|
261
261
|
Ma().get(c, g).then((v) => {
|
|
262
262
|
r.value = (v == null ? void 0 : v.list) || [];
|
|
263
263
|
}).finally(() => {
|
|
@@ -288,8 +288,8 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
288
288
|
return So(() => {
|
|
289
289
|
t();
|
|
290
290
|
}), (c, g) => {
|
|
291
|
-
const v = hn("el-empty"), o = hn("iconify-icon-offline"), b = hn("el-card"), E =
|
|
292
|
-
return
|
|
291
|
+
const v = hn("el-empty"), o = hn("iconify-icon-offline"), b = hn("el-card"), E = Kf("spinning");
|
|
292
|
+
return zf((Zr(), Kn("div", null, [
|
|
293
293
|
Br(b, { class: "mb-2" }, {
|
|
294
294
|
header: an(() => [
|
|
295
295
|
Yt("div", { class: "flex items-center justify-between dark:bg-black" }, [
|
|
@@ -312,7 +312,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
312
312
|
class: "p-0 pb-3"
|
|
313
313
|
})),
|
|
314
314
|
Yt("ul", {
|
|
315
|
-
class:
|
|
315
|
+
class: Xf(["p-0 w-full h-full grid grid-rows-1 grid-cols-8 u-dashed-menu", { "grid-rows-2": r.value.length > 8 }])
|
|
316
316
|
}, [
|
|
317
317
|
(Zr(!0), Kn(Xs, null, oi(r.value, (x, I) => (Zr(), Kn("li", {
|
|
318
318
|
key: x.id,
|
|
@@ -322,7 +322,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
322
322
|
Yt("div", Md, [
|
|
323
323
|
Yt("div", {
|
|
324
324
|
class: "rounded-full w-10 h-10 flex items-center justify-center",
|
|
325
|
-
style:
|
|
325
|
+
style: ku({ backgroundColor: u(I) })
|
|
326
326
|
}, [
|
|
327
327
|
Br(o, {
|
|
328
328
|
icon: x.icon || `ri:${a[I]}-line`,
|
|
@@ -362,7 +362,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
362
362
|
}, qd = "/uwfl/activiti", Wd = /* @__PURE__ */ fa({
|
|
363
363
|
__name: "home-todo",
|
|
364
364
|
setup(q) {
|
|
365
|
-
const e =
|
|
365
|
+
const e = Ru(), l = Vn(null), r = Vn(null), f = Vn("todo"), i = Vn(!1), t = Vn(!1), s = Vn(""), d = Vn(null), u = Vn(null), a = Vn({
|
|
366
366
|
todo: [],
|
|
367
367
|
finish: [],
|
|
368
368
|
todoPage: {},
|
|
@@ -415,7 +415,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
415
415
|
const h = m === "todo" ? "/listTasksToBeHandle" : "/listHandledTask", C = {
|
|
416
416
|
...a.value[`${f.value}Page`],
|
|
417
417
|
searchField: O,
|
|
418
|
-
userName:
|
|
418
|
+
userName: Lu.get(Bu)
|
|
419
419
|
}, [A, _] = await Nl(Ma().post(qd + h, C));
|
|
420
420
|
if (A) return;
|
|
421
421
|
a.value[m] = _.list, (m === "todo" ? l : r).value.getInstance().loadData(_.list);
|
|
@@ -423,7 +423,7 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
423
423
|
value: m
|
|
424
424
|
}) => {
|
|
425
425
|
const O = m === "todo" ? l : r, h = g.find((A) => A.field === "operate");
|
|
426
|
-
h.width = m === "todo" ? 160 : 80, await
|
|
426
|
+
h.width = m === "todo" ? 160 : 80, await Du(), O.value.getInstance().reloadColumn(g);
|
|
427
427
|
const C = a.value[`${f.value}Page`];
|
|
428
428
|
a.value[`${f.value}Page`] = pd(C) ? C : c, E(f.value, d.value);
|
|
429
429
|
}, I = (m, O = "detail") => {
|
|
@@ -469,12 +469,16 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
469
469
|
ref_key: "xgrid",
|
|
470
470
|
ref: l,
|
|
471
471
|
columns: g,
|
|
472
|
-
editable: !1,
|
|
473
472
|
data: a.value.todo,
|
|
474
473
|
events: v,
|
|
474
|
+
editable: !1,
|
|
475
|
+
"need-export": !1,
|
|
475
476
|
"proxy-config": {
|
|
476
477
|
enabled: !1
|
|
477
478
|
},
|
|
479
|
+
"toolbar-config": {
|
|
480
|
+
enabled: !1
|
|
481
|
+
},
|
|
478
482
|
height: "360"
|
|
479
483
|
}, null, 8, ["data"])]),
|
|
480
484
|
_: 1
|
|
@@ -501,12 +505,16 @@ const md = { class: "" }, yd = { class: "w-full h-24" }, gd = { class: "" }, bd
|
|
|
501
505
|
ref_key: "ygrid",
|
|
502
506
|
ref: r,
|
|
503
507
|
columns: g,
|
|
504
|
-
editable: !1,
|
|
505
508
|
data: a.value.finish,
|
|
506
509
|
events: v,
|
|
510
|
+
editable: !1,
|
|
511
|
+
"need-export": !1,
|
|
507
512
|
"proxy-config": {
|
|
508
513
|
enabled: !1
|
|
509
514
|
},
|
|
515
|
+
"toolbar-config": {
|
|
516
|
+
enabled: !1
|
|
517
|
+
},
|
|
510
518
|
height: "360"
|
|
511
519
|
}, null, 8, ["data"]), O[4] || (O[4] = Pl(" /> "))]),
|
|
512
520
|
_: 1
|
|
@@ -20929,7 +20937,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
20929
20937
|
}, v;
|
|
20930
20938
|
}();
|
|
20931
20939
|
}, (q, e, l) => {
|
|
20932
|
-
var
|
|
20940
|
+
var _u, ca, Ls, ws, Ms, Bs, ua, Xn, Rs, Gn, Nn, _r, ps, Ps, ls, es, Fs, ts, Us, $s, As, Vs, hi, fs, Jt, Al, ji, ni, ka, Cs, Fu, Li, pa, Da, vi, Ei, Cl, bo, vo, kn, Ol, La, Jn, rs, si, jn, Hn, mi, Mi, yi, ii, Bi, ja, Ri, Uu, gi, Eo, Il, $u;
|
|
20933
20941
|
var r = l(17), f = l(31).a;
|
|
20934
20942
|
/**
|
|
20935
20943
|
* @vue/compiler-sfc v3.4.15
|
|
@@ -21114,7 +21122,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
21114
21122
|
}
|
|
21115
21123
|
}
|
|
21116
21124
|
};
|
|
21117
|
-
let S = ((
|
|
21125
|
+
let S = ((_u = Ne.env) == null ? void 0 : _u.LRU_CACHE_IGNORE_AC_WARNING) !== "1";
|
|
21118
21126
|
const y = () => {
|
|
21119
21127
|
S && (S = !1, Ve("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", y));
|
|
21120
21128
|
};
|
|
@@ -21215,7 +21223,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
21215
21223
|
if (Gt(this, ua, We), Gt(this, hi, !!We), Gt(this, Gn, /* @__PURE__ */ new Map()), Gt(this, Nn, new Array(T).fill(void 0)), Gt(this, _r, new Array(T).fill(void 0)), Gt(this, ps, new Je(T)), Gt(this, Ps, new Je(T)), Gt(this, ls, 0), Gt(this, es, 0), Gt(this, Fs, dt.create(T)), Gt(this, Xn, 0), Gt(this, Rs, 0), typeof ce == "function" && Gt(this, Ms, ce), typeof ae == "function" ? (Gt(this, Bs, ae), Gt(this, ts, [])) : (Gt(this, Bs, void 0), Gt(this, ts, void 0)), Gt(this, Vs, !!Me(this, Ms)), Gt(this, fs, !!Me(this, Bs)), this.noDisposeOnSet = !!ue, this.noUpdateTTL = !!Q, this.noDeleteOnFetchRejection = !!Te, this.allowStaleOnFetchRejection = !!Ce, this.allowStaleOnFetchAbort = !!de, this.ignoreFetchAbort = !!Ke, this.maxEntrySize !== 0) {
|
|
21216
21224
|
if (Me(this, ws) !== 0 && !je(Me(this, ws))) throw new TypeError("maxSize must be a positive integer if specified");
|
|
21217
21225
|
if (!je(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
|
|
21218
|
-
ir(this, Jt,
|
|
21226
|
+
ir(this, Jt, Fu).call(this);
|
|
21219
21227
|
}
|
|
21220
21228
|
if (this.allowStale = !!re, this.noDeleteOnStaleGet = !!Re, this.updateAgeOnGet = !!$, this.updateAgeOnHas = !!Y, this.ttlResolution = je(L) || L === 0 ? L : 1, this.ttlAutopurge = !!R, this.ttl = P || 0, this.ttl) {
|
|
21221
21229
|
if (!je(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
|
|
@@ -21555,7 +21563,7 @@ If you have already enabled that plugin (or '@babel/preset-typescript'), make su
|
|
|
21555
21563
|
const Y = P[$], re = T[$];
|
|
21556
21564
|
return !!re && !!Y && (L || R()) - Y > re;
|
|
21557
21565
|
});
|
|
21558
|
-
}, ji = new WeakMap(), ni = new WeakMap(), ka = new WeakMap(), Cs = new WeakMap(),
|
|
21566
|
+
}, ji = new WeakMap(), ni = new WeakMap(), ka = new WeakMap(), Cs = new WeakMap(), Fu = function() {
|
|
21559
21567
|
const y = new it(Me(this, Ls));
|
|
21560
21568
|
Gt(this, Rs, 0), Gt(this, Us, y), Gt(this, Li, (T) => {
|
|
21561
21569
|
Gt(this, Rs, Me(this, Rs) - y[T]), y[T] = 0;
|
|
@@ -23703,11 +23711,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
23703
23711
|
break;
|
|
23704
23712
|
case Re.comment:
|
|
23705
23713
|
if (lr) if (Vr || Xt && Xt[Te.FIELDS.TYPE] === Re.space || lr === "insensitive") {
|
|
23706
|
-
var
|
|
23707
|
-
(0, de.ensureObject)(ot, "raws", "spaces", lr), ot.raws.spaces[lr].after =
|
|
23714
|
+
var Uf = (0, de.getProp)(ot, "spaces", lr, "after") || "", $f = (0, de.getProp)(ot, "raws", "spaces", lr, "after") || Uf;
|
|
23715
|
+
(0, de.ensureObject)(ot, "raws", "spaces", lr), ot.raws.spaces[lr].after = $f + gr;
|
|
23708
23716
|
} else {
|
|
23709
|
-
var
|
|
23710
|
-
(0, de.ensureObject)(ot, "raws"), ot.raws[lr] =
|
|
23717
|
+
var Vf = ot[lr] || "", qf = (0, de.getProp)(ot, "raws", lr) || Vf;
|
|
23718
|
+
(0, de.ensureObject)(ot, "raws"), ot.raws[lr] = qf + gr;
|
|
23711
23719
|
}
|
|
23712
23720
|
else Nr += gr;
|
|
23713
23721
|
break;
|
|
@@ -24880,8 +24888,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24880
24888
|
}), { icssImports: P, icssExports: L };
|
|
24881
24889
|
}, createICSSRules: (S, y, T, P) => [...Ta(S, T, P), ...wa(y, T, P)] };
|
|
24882
24890
|
Object.defineProperty(It, "__esModule", { value: !0 }), It.default = void 0;
|
|
24883
|
-
var
|
|
24884
|
-
const
|
|
24891
|
+
var Vu = _o;
|
|
24892
|
+
const kl = /^:import\((.+)\)$/;
|
|
24885
24893
|
It.default = class {
|
|
24886
24894
|
constructor(S, y) {
|
|
24887
24895
|
this.pathFetcher = S, this.plugin = this.plugin.bind(this), this.exportTokens = {}, this.translations = {}, this.trace = y;
|
|
@@ -24893,11 +24901,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24893
24901
|
fetchAllImports(S) {
|
|
24894
24902
|
let y = [];
|
|
24895
24903
|
return S.each((T) => {
|
|
24896
|
-
T.type == "rule" && T.selector.match(
|
|
24904
|
+
T.type == "rule" && T.selector.match(kl) && y.push(this.fetchImport(T, S.source.input.from, y.length));
|
|
24897
24905
|
}), y;
|
|
24898
24906
|
}
|
|
24899
24907
|
linkImportedSymbols(S) {
|
|
24900
|
-
(0,
|
|
24908
|
+
(0, Vu.replaceSymbols)(S, this.translations);
|
|
24901
24909
|
}
|
|
24902
24910
|
extractExports(S) {
|
|
24903
24911
|
S.each((y) => {
|
|
@@ -24912,7 +24920,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24912
24920
|
}), S.remove();
|
|
24913
24921
|
}
|
|
24914
24922
|
async fetchImport(S, y, T) {
|
|
24915
|
-
const P = S.selector.match(
|
|
24923
|
+
const P = S.selector.match(kl)[1], L = this.trace + String.fromCharCode(T), R = await this.pathFetcher(P, y, L);
|
|
24916
24924
|
try {
|
|
24917
24925
|
S.each(($) => {
|
|
24918
24926
|
$.type == "decl" && (this.translations[$.prop] = R[$.value]);
|
|
@@ -24924,50 +24932,50 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24924
24932
|
var No = {};
|
|
24925
24933
|
Object.defineProperty(No, "__esModule", { value: !0 }), No.default = function(S, y) {
|
|
24926
24934
|
return new Promise((T, P) => {
|
|
24927
|
-
const { writeFile: L } = (0,
|
|
24935
|
+
const { writeFile: L } = (0, qu.getFileSystem)();
|
|
24928
24936
|
L(`${S}.json`, JSON.stringify(y), (R) => R ? P(R) : T(y));
|
|
24929
24937
|
});
|
|
24930
24938
|
};
|
|
24931
|
-
var ko,
|
|
24939
|
+
var ko, qu = Zn, Do = {}, Wu = "[object Symbol]", Gu = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Hu = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, za = "\\ud800-\\udfff", Dl = "\\u0300-\\u036f\\ufe20-\\ufe23", jl = "\\u20d0-\\u20f0", Ll = "\\u2700-\\u27bf", Ml = "a-z\\xdf-\\xf6\\xf8-\\xff", Bl = "A-Z\\xc0-\\xd6\\xd8-\\xde", Rl = "\\ufe0e\\ufe0f", Fl = "\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ku = "[" + za + "]", Ul = "[" + Fl + "]", Xa = "[" + Dl + jl + "]", $l = "\\d+", zu = "[" + Ll + "]", Vl = "[" + Ml + "]", ql = "[^" + za + Fl + $l + Ll + Ml + Bl + "]", jo = "\\ud83c[\\udffb-\\udfff]", Wl = "[^" + za + "]", Lo = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Yi = "[" + Bl + "]", Gl = "\\u200d", Hl = "(?:" + Vl + "|" + ql + ")", Xu = "(?:" + Yi + "|" + ql + ")", Kl = "(?:['’](?:d|ll|m|re|s|t|ve))?", zl = "(?:['’](?:D|LL|M|RE|S|T|VE))?", Xl = "(?:" + Xa + "|" + jo + ")?", Jl = "[" + Rl + "]?", Yl = Jl + Xl + "(?:" + Gl + "(?:" + [Wl, Lo, Mo].join("|") + ")" + Jl + Xl + ")*", Ju = "(?:" + [zu, Lo, Mo].join("|") + ")" + Yl, Yu = "(?:" + [Wl + Xa + "?", Xa, Lo, Mo, Ku].join("|") + ")", Qu = RegExp("['’]", "g"), Zu = RegExp(Xa, "g"), ep = RegExp(jo + "(?=" + jo + ")|" + Yu + Yl, "g"), tp = RegExp([Yi + "?" + Vl + "+" + Kl + "(?=" + [Ul, Yi, "$"].join("|") + ")", Xu + "+" + zl + "(?=" + [Ul, Yi + Hl, "$"].join("|") + ")", Yi + "?" + Hl + "+" + Kl, Yi + "+" + zl, $l, Ju].join("|"), "g"), rp = RegExp("[" + Gl + za + Dl + jl + Rl + "]"), np = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, sp = typeof we == "object" && we && we.Object === Object && we, ip = typeof self == "object" && self && self.Object === Object && self, ap = sp || ip || Function("return this")(), op = (ko = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "A", Å: "A", à: "a", á: "a", â: "a", ã: "a", ä: "a", å: "a", Ç: "C", ç: "c", Ð: "D", ð: "d", È: "E", É: "E", Ê: "E", Ë: "E", è: "e", é: "e", ê: "e", ë: "e", Ì: "I", Í: "I", Î: "I", Ï: "I", ì: "i", í: "i", î: "i", ï: "i", Ñ: "N", ñ: "n", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "O", Ø: "O", ò: "o", ó: "o", ô: "o", õ: "o", ö: "o", ø: "o", Ù: "U", Ú: "U", Û: "U", Ü: "U", ù: "u", ú: "u", û: "u", ü: "u", Ý: "Y", ý: "y", ÿ: "y", Æ: "Ae", æ: "ae", Þ: "Th", þ: "th", ß: "ss", Ā: "A", Ă: "A", Ą: "A", ā: "a", ă: "a", ą: "a", Ć: "C", Ĉ: "C", Ċ: "C", Č: "C", ć: "c", ĉ: "c", ċ: "c", č: "c", Ď: "D", Đ: "D", ď: "d", đ: "d", Ē: "E", Ĕ: "E", Ė: "E", Ę: "E", Ě: "E", ē: "e", ĕ: "e", ė: "e", ę: "e", ě: "e", Ĝ: "G", Ğ: "G", Ġ: "G", Ģ: "G", ĝ: "g", ğ: "g", ġ: "g", ģ: "g", Ĥ: "H", Ħ: "H", ĥ: "h", ħ: "h", Ĩ: "I", Ī: "I", Ĭ: "I", Į: "I", İ: "I", ĩ: "i", ī: "i", ĭ: "i", į: "i", ı: "i", Ĵ: "J", ĵ: "j", Ķ: "K", ķ: "k", ĸ: "k", Ĺ: "L", Ļ: "L", Ľ: "L", Ŀ: "L", Ł: "L", ĺ: "l", ļ: "l", ľ: "l", ŀ: "l", ł: "l", Ń: "N", Ņ: "N", Ň: "N", Ŋ: "N", ń: "n", ņ: "n", ň: "n", ŋ: "n", Ō: "O", Ŏ: "O", Ő: "O", ō: "o", ŏ: "o", ő: "o", Ŕ: "R", Ŗ: "R", Ř: "R", ŕ: "r", ŗ: "r", ř: "r", Ś: "S", Ŝ: "S", Ş: "S", Š: "S", ś: "s", ŝ: "s", ş: "s", š: "s", Ţ: "T", Ť: "T", Ŧ: "T", ţ: "t", ť: "t", ŧ: "t", Ũ: "U", Ū: "U", Ŭ: "U", Ů: "U", Ű: "U", Ų: "U", ũ: "u", ū: "u", ŭ: "u", ů: "u", ű: "u", ų: "u", Ŵ: "W", ŵ: "w", Ŷ: "Y", ŷ: "y", Ÿ: "Y", Ź: "Z", Ż: "Z", Ž: "Z", ź: "z", ż: "z", ž: "z", IJ: "IJ", ij: "ij", Œ: "Oe", œ: "oe", ʼn: "'n", ſ: "ss" }, function(S) {
|
|
24932
24940
|
return ko == null ? void 0 : ko[S];
|
|
24933
24941
|
});
|
|
24934
|
-
function
|
|
24935
|
-
return
|
|
24942
|
+
function Ql(S) {
|
|
24943
|
+
return rp.test(S);
|
|
24936
24944
|
}
|
|
24937
|
-
var
|
|
24945
|
+
var lp = Object.prototype.toString, Zl = ap.Symbol, ec = Zl ? Zl.prototype : void 0, tc = ec ? ec.toString : void 0;
|
|
24938
24946
|
function Ja(S) {
|
|
24939
24947
|
return S == null ? "" : function(y) {
|
|
24940
24948
|
if (typeof y == "string") return y;
|
|
24941
24949
|
if (function(P) {
|
|
24942
24950
|
return typeof P == "symbol" || /* @__PURE__ */ function(L) {
|
|
24943
24951
|
return !!L && typeof L == "object";
|
|
24944
|
-
}(P) &&
|
|
24945
|
-
}(y)) return
|
|
24952
|
+
}(P) && lp.call(P) == Wu;
|
|
24953
|
+
}(y)) return tc ? tc.call(y) : "";
|
|
24946
24954
|
var T = y + "";
|
|
24947
24955
|
return T == "0" && 1 / y == -1 / 0 ? "-0" : T;
|
|
24948
24956
|
}(S);
|
|
24949
24957
|
}
|
|
24950
|
-
var
|
|
24951
|
-
return y = y.toLowerCase(), S + (T ?
|
|
24958
|
+
var rc, cp = (rc = function(S, y, T) {
|
|
24959
|
+
return y = y.toLowerCase(), S + (T ? up(Ja(y).toLowerCase()) : y);
|
|
24952
24960
|
}, function(S) {
|
|
24953
24961
|
return function(y, T, P, L) {
|
|
24954
24962
|
for (var R = -1, $ = y ? y.length : 0; ++R < $; ) P = T(P, y[R], R, y);
|
|
24955
24963
|
return P;
|
|
24956
24964
|
}(function(y, T, P) {
|
|
24957
24965
|
return y = Ja(y), T === void 0 ? function(L) {
|
|
24958
|
-
return
|
|
24966
|
+
return np.test(L);
|
|
24959
24967
|
}(y) ? function(L) {
|
|
24960
|
-
return L.match(
|
|
24968
|
+
return L.match(tp) || [];
|
|
24961
24969
|
}(y) : function(L) {
|
|
24962
|
-
return L.match(
|
|
24970
|
+
return L.match(Gu) || [];
|
|
24963
24971
|
}(y) : y.match(T) || [];
|
|
24964
24972
|
}(function(y) {
|
|
24965
|
-
return (y = Ja(y)) && y.replace(
|
|
24966
|
-
}(S).replace(
|
|
24967
|
-
}),
|
|
24968
|
-
var y, T, P, L, R =
|
|
24969
|
-
return
|
|
24970
|
-
return ce.match(
|
|
24973
|
+
return (y = Ja(y)) && y.replace(Hu, op).replace(Zu, "");
|
|
24974
|
+
}(S).replace(Qu, "")), rc, "");
|
|
24975
|
+
}), up = function(S) {
|
|
24976
|
+
var y, T, P, L, R = Ql(S = Ja(S)) ? function(re) {
|
|
24977
|
+
return Ql(re) ? function(ce) {
|
|
24978
|
+
return ce.match(ep) || [];
|
|
24971
24979
|
}(re) : function(ce) {
|
|
24972
24980
|
return ce.split("");
|
|
24973
24981
|
}(re);
|
|
@@ -24978,7 +24986,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24978
24986
|
return ie;
|
|
24979
24987
|
}(y, T, P)).join("") : S.slice(1);
|
|
24980
24988
|
return $.toUpperCase() + Y;
|
|
24981
|
-
},
|
|
24989
|
+
}, pp = cp;
|
|
24982
24990
|
Object.defineProperty(Do, "__esModule", { value: !0 }), Do.makeLocalsConventionReducer = function(S, y) {
|
|
24983
24991
|
const T = typeof S == "function";
|
|
24984
24992
|
return (P, L) => {
|
|
@@ -24986,27 +24994,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
24986
24994
|
if (T) return P[S(R, $, y)] = $, P;
|
|
24987
24995
|
switch (S) {
|
|
24988
24996
|
case "camelCase":
|
|
24989
|
-
P[R] = $, P[(0,
|
|
24997
|
+
P[R] = $, P[(0, nc.default)(R)] = $;
|
|
24990
24998
|
break;
|
|
24991
24999
|
case "camelCaseOnly":
|
|
24992
|
-
P[(0,
|
|
25000
|
+
P[(0, nc.default)(R)] = $;
|
|
24993
25001
|
break;
|
|
24994
25002
|
case "dashes":
|
|
24995
|
-
P[R] = $, P[
|
|
25003
|
+
P[R] = $, P[sc(R)] = $;
|
|
24996
25004
|
break;
|
|
24997
25005
|
case "dashesOnly":
|
|
24998
|
-
P[
|
|
25006
|
+
P[sc(R)] = $;
|
|
24999
25007
|
}
|
|
25000
25008
|
return P;
|
|
25001
25009
|
};
|
|
25002
25010
|
};
|
|
25003
|
-
var Ya,
|
|
25004
|
-
function
|
|
25011
|
+
var Ya, nc = (Ya = pp) && Ya.__esModule ? Ya : { default: Ya };
|
|
25012
|
+
function sc(S) {
|
|
25005
25013
|
return S.replace(/-+(\w)/g, (y, T) => T.toUpperCase());
|
|
25006
25014
|
}
|
|
25007
25015
|
var Qa = {};
|
|
25008
25016
|
Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.default = void 0;
|
|
25009
|
-
var
|
|
25017
|
+
var fp = Bo(o), Qi = Bo(d), dp = Bo(It), hp = Zn;
|
|
25010
25018
|
function Bo(S) {
|
|
25011
25019
|
return S && S.__esModule ? S : { default: S };
|
|
25012
25020
|
}
|
|
@@ -25015,11 +25023,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25015
25023
|
this.plugins = y || Ro.defaultPlugins;
|
|
25016
25024
|
}
|
|
25017
25025
|
async load(y, T, P, L) {
|
|
25018
|
-
const R = new
|
|
25019
|
-
return { injectableSource: (await (0,
|
|
25026
|
+
const R = new dp.default(L, P), $ = this.plugins.concat([R.plugin()]);
|
|
25027
|
+
return { injectableSource: (await (0, fp.default)($).process(y, { from: T })).css, exportTokens: R.exportTokens };
|
|
25020
25028
|
}
|
|
25021
25029
|
}
|
|
25022
|
-
const
|
|
25030
|
+
const mp = (S, y) => S.length < y.length ? S < y.substring(0, S.length) ? -1 : 1 : S.length > y.length ? S.substring(0, y.length) <= y ? -1 : 1 : S < y ? -1 : 1;
|
|
25023
25031
|
Qa.default = class {
|
|
25024
25032
|
constructor(S, y, T) {
|
|
25025
25033
|
if (S === "/" && r.platform === "win32") {
|
|
@@ -25027,7 +25035,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25027
25035
|
if (!/^[A-Za-z]:\\$/.test(P)) throw new Error(`Failed to obtain root from "${r.cwd()}".`);
|
|
25028
25036
|
S = P;
|
|
25029
25037
|
}
|
|
25030
|
-
this.root = S, this.fileResolve = T, this.sources = {}, this.traces = {}, this.importNr = 0, this.core = new Ro(y), this.tokensByFile = {}, this.fs = (0,
|
|
25038
|
+
this.root = S, this.fileResolve = T, this.sources = {}, this.traces = {}, this.importNr = 0, this.core = new Ro(y), this.tokensByFile = {}, this.fs = (0, hp.getFileSystem)();
|
|
25031
25039
|
}
|
|
25032
25040
|
async fetch(S, y, T) {
|
|
25033
25041
|
const P = S.replace(/^["']|["']$/g, ""), L = T || String.fromCharCode(this.importNr++), R = typeof this.fileResolve == "function", $ = R ? await this.fileResolve(P, y) : await Promise.resolve();
|
|
@@ -25049,14 +25057,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25049
25057
|
get finalSource() {
|
|
25050
25058
|
const S = this.traces, y = this.sources;
|
|
25051
25059
|
let T = /* @__PURE__ */ new Set();
|
|
25052
|
-
return Object.keys(S).sort(
|
|
25060
|
+
return Object.keys(S).sort(mp).map((P) => {
|
|
25053
25061
|
const L = S[P];
|
|
25054
25062
|
return T.has(L) ? null : (T.add(L), y[L]);
|
|
25055
25063
|
}).join("");
|
|
25056
25064
|
}
|
|
25057
25065
|
};
|
|
25058
25066
|
var _i = {}, Fo = { exports: {} };
|
|
25059
|
-
function
|
|
25067
|
+
function ic(S, y, T, P, L) {
|
|
25060
25068
|
if (T[S] === 2) return;
|
|
25061
25069
|
if (T[S] === 1) return L ? function(Y, re) {
|
|
25062
25070
|
const ce = new Error("Nondeterministic import's order"), ae = re[Y].find((ue) => re[ue].indexOf(Y) > -1);
|
|
@@ -25065,13 +25073,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25065
25073
|
T[S] = 1;
|
|
25066
25074
|
const R = y[S], $ = R.length;
|
|
25067
25075
|
for (let Y = 0; Y < $; ++Y) {
|
|
25068
|
-
const re =
|
|
25076
|
+
const re = ic(R[Y], y, T, P, L);
|
|
25069
25077
|
if (re instanceof Error) return re;
|
|
25070
25078
|
}
|
|
25071
25079
|
T[S] = 2, P.push(S);
|
|
25072
25080
|
}
|
|
25073
|
-
const
|
|
25074
|
-
function
|
|
25081
|
+
const yp = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/, gp = /^:import\((?:"([^"]+)"|'([^']+)')\)/;
|
|
25082
|
+
function ac(S, y, T, P) {
|
|
25075
25083
|
const L = y + "_siblings", R = y + "_" + S;
|
|
25076
25084
|
if (P[R] !== 1) {
|
|
25077
25085
|
Array.isArray(P[L]) || (P[L] = []);
|
|
@@ -25086,13 +25094,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25086
25094
|
const L = {}, R = {}, $ = {}, Y = {}, re = {};
|
|
25087
25095
|
return { Once(ce, ae) {
|
|
25088
25096
|
ce.walkRules((ie) => {
|
|
25089
|
-
const Ae =
|
|
25097
|
+
const Ae = gp.exec(ie.selector);
|
|
25090
25098
|
if (Ae) {
|
|
25091
25099
|
const [, Be, We] = Ae, Te = Be || We;
|
|
25092
|
-
|
|
25100
|
+
ac(Te, "root", L, R), $[Te] = ie;
|
|
25093
25101
|
}
|
|
25094
25102
|
}), ce.walkDecls(/^composes$/, (ie) => {
|
|
25095
|
-
const Ae = ie.value.match(
|
|
25103
|
+
const Ae = ie.value.match(yp);
|
|
25096
25104
|
if (!Ae) return;
|
|
25097
25105
|
let Be, [, We, Te, Re, Ce] = Ae;
|
|
25098
25106
|
if (Ce) Be = We.split(/\s+/).map((de) => `global(${de})`);
|
|
@@ -25101,14 +25109,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25101
25109
|
let Ke = ie.parent, Je = "";
|
|
25102
25110
|
for (; Ke.type !== "root"; ) Je = Ke.parent.index(Ke) + "_" + Je, Ke = Ke.parent;
|
|
25103
25111
|
const { selector: ze } = ie.parent;
|
|
25104
|
-
|
|
25112
|
+
ac(de, `_${Je}${ze}`, L, R), Y[de] = ie, re[de] = re[de] || {}, Be = We.split(/\s+/).map((Qe) => (re[de][Qe] || (re[de][Qe] = T(Qe, de)), re[de][Qe]));
|
|
25105
25113
|
}
|
|
25106
25114
|
ie.value = Be.join(" ");
|
|
25107
25115
|
});
|
|
25108
25116
|
const ue = function(ie, Ae) {
|
|
25109
25117
|
const Be = [], We = {}, Te = Object.keys(ie), Re = Te.length;
|
|
25110
25118
|
for (let Ce = 0; Ce < Re; ++Ce) {
|
|
25111
|
-
const de =
|
|
25119
|
+
const de = ic(Te[Ce], ie, We, Be, Ae);
|
|
25112
25120
|
if (de instanceof Error) return de;
|
|
25113
25121
|
}
|
|
25114
25122
|
return Be;
|
|
@@ -25130,12 +25138,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25130
25138
|
} };
|
|
25131
25139
|
} };
|
|
25132
25140
|
}, Fo.exports.postcss = !0;
|
|
25133
|
-
var
|
|
25134
|
-
function
|
|
25135
|
-
if (
|
|
25136
|
-
|
|
25141
|
+
var oc, lc, bp = Fo.exports;
|
|
25142
|
+
function cc() {
|
|
25143
|
+
if (lc) return oc;
|
|
25144
|
+
lc = 1;
|
|
25137
25145
|
const S = {};
|
|
25138
|
-
return
|
|
25146
|
+
return oc = class {
|
|
25139
25147
|
constructor(y, T) {
|
|
25140
25148
|
this.hashKey = T, typeof y == "function" ? (this.hashFactory = y, this.hash = void 0) : (this.hashFactory = void 0, this.hash = y), this.buffer = "";
|
|
25141
25149
|
}
|
|
@@ -25158,10 +25166,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25158
25166
|
}
|
|
25159
25167
|
};
|
|
25160
25168
|
}
|
|
25161
|
-
var pc, fc, dc, hc, mc, yc,
|
|
25169
|
+
var uc, pc, fc, dc, hc, mc, yc, Za = { exports: {} };
|
|
25162
25170
|
function Uo() {
|
|
25163
|
-
if (
|
|
25164
|
-
|
|
25171
|
+
if (uc) return Za.exports;
|
|
25172
|
+
uc = 1;
|
|
25165
25173
|
const S = -4 & Math.floor(16368);
|
|
25166
25174
|
class y {
|
|
25167
25175
|
constructor(P, L, R, $) {
|
|
@@ -25242,11 +25250,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25242
25250
|
return new y(new WebAssembly.Instance(T), P, L, R);
|
|
25243
25251
|
}, Za.exports.MAX_SHORT_STRING = S, Za.exports;
|
|
25244
25252
|
}
|
|
25245
|
-
function
|
|
25246
|
-
if (
|
|
25247
|
-
|
|
25253
|
+
function gc() {
|
|
25254
|
+
if (hc) return dc;
|
|
25255
|
+
hc = 1;
|
|
25248
25256
|
const S = Uo().MAX_SHORT_STRING;
|
|
25249
|
-
return
|
|
25257
|
+
return dc = class {
|
|
25250
25258
|
constructor(y) {
|
|
25251
25259
|
this.string = void 0, this.encoding = void 0, this.hash = y;
|
|
25252
25260
|
}
|
|
@@ -25262,8 +25270,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25262
25270
|
}
|
|
25263
25271
|
};
|
|
25264
25272
|
}
|
|
25265
|
-
const
|
|
25266
|
-
function
|
|
25273
|
+
const vp = { 26: "abcdefghijklmnopqrstuvwxyz", 32: "123456789abcdefghjkmnpqrstuvwxyz", 36: "0123456789abcdefghijklmnopqrstuvwxyz", 49: "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ", 52: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 58: "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ", 62: "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 64: "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_" };
|
|
25274
|
+
function Ep(S, y) {
|
|
25267
25275
|
let T = 0;
|
|
25268
25276
|
for (let P = S.length - 1; P >= 0; P--) {
|
|
25269
25277
|
const L = 4294967296 * T + S[P];
|
|
@@ -25272,31 +25280,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25272
25280
|
return T;
|
|
25273
25281
|
}
|
|
25274
25282
|
let Zi, $o, Vo, ea, ta;
|
|
25275
|
-
const eo = d,
|
|
25283
|
+
const eo = d, Sp = function(S, y, T, P) {
|
|
25276
25284
|
let L;
|
|
25277
25285
|
return P = P || 9999, (y = y || "xxhash64") === "xxhash64" ? ($o === void 0 && ($o = function() {
|
|
25278
|
-
if (
|
|
25279
|
-
|
|
25286
|
+
if (yc) return mc;
|
|
25287
|
+
yc = 1;
|
|
25280
25288
|
const R = Uo(), $ = new WebAssembly.Module(f.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL", "base64"));
|
|
25281
|
-
return
|
|
25282
|
-
}(), ea === void 0 && (ea =
|
|
25283
|
-
if (
|
|
25284
|
-
|
|
25289
|
+
return mc = R.bind(null, $, [], 32, 16);
|
|
25290
|
+
}(), ea === void 0 && (ea = gc())), L = new ea($o())) : y === "md4" ? (Vo === void 0 && (Vo = function() {
|
|
25291
|
+
if (fc) return pc;
|
|
25292
|
+
fc = 1;
|
|
25285
25293
|
const R = Uo(), $ = new WebAssembly.Module(f.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=", "base64"));
|
|
25286
|
-
return
|
|
25287
|
-
}(), ea === void 0 && (ea =
|
|
25288
|
-
const re =
|
|
25294
|
+
return pc = R.bind(null, $, [], 64, 32);
|
|
25295
|
+
}(), ea === void 0 && (ea = gc())), L = new ea(Vo())) : y === "native-md4" ? (Zi === void 0 && (Zi = l(343), ta === void 0 && (ta = cc())), L = new ta(() => Zi.createHash("md4"), "md4")) : (Zi === void 0 && (Zi = l(343), ta === void 0 && (ta = cc())), L = new ta(() => Zi.createHash(y), y)), L.update(S), T === "base26" || T === "base32" || T === "base36" || T === "base49" || T === "base52" || T === "base58" || T === "base62" ? function(R, $, Y) {
|
|
25296
|
+
const re = vp[$];
|
|
25289
25297
|
if (!re) throw new Error("Unknown encoding base" + $);
|
|
25290
25298
|
const ce = Math.ceil(8 * R.length / Math.log2($));
|
|
25291
25299
|
Y = Math.min(Y, ce);
|
|
25292
25300
|
const ae = new Uint32Array(Math.ceil(R.length / 4));
|
|
25293
25301
|
R.copy(f.from(ae.buffer));
|
|
25294
25302
|
let ue = "";
|
|
25295
|
-
for (let Q = 0; Q < Y; Q++) ue = re[
|
|
25303
|
+
for (let Q = 0; Q < Y; Q++) ue = re[Ep(ae, $)] + ue;
|
|
25296
25304
|
return ue;
|
|
25297
25305
|
}(L.digest(), T.substr(4), P) : L.digest(T || "hex").substr(0, P);
|
|
25298
25306
|
};
|
|
25299
|
-
var
|
|
25307
|
+
var bc, vc, xp = function(S, y) {
|
|
25300
25308
|
let T, P = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
25301
25309
|
const L = S.resourceQuery && S.resourceQuery.length > 1;
|
|
25302
25310
|
T = typeof y == "function" ? y(S.resourcePath, L ? S.resourceQuery : void 0) : y || "[hash].[ext]";
|
|
@@ -25313,30 +25321,30 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25313
25321
|
Ae >= 0 && (Q = Q.substr(0, Ae));
|
|
25314
25322
|
}
|
|
25315
25323
|
let ie = T;
|
|
25316
|
-
if ($ && (ie = ie.replace(/\[(?:([^[:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi, (Ae, Be, We, Te) =>
|
|
25324
|
+
if ($ && (ie = ie.replace(/\[(?:([^[:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi, (Ae, Be, We, Te) => Sp($, Be, We, parseInt(Te, 10)))), ie = ie.replace(/\[ext\]/gi, () => re).replace(/\[name\]/gi, () => ce).replace(/\[path\]/gi, () => ae).replace(/\[folder\]/gi, () => ue).replace(/\[query\]/gi, () => Q), Y && S.resourcePath) {
|
|
25317
25325
|
const Ae = S.resourcePath.match(new RegExp(Y));
|
|
25318
25326
|
Ae && Ae.forEach((Be, We) => {
|
|
25319
25327
|
ie = ie.replace(new RegExp("\\[" + We + "\\]", "ig"), Be);
|
|
25320
25328
|
});
|
|
25321
25329
|
}
|
|
25322
25330
|
return typeof S.options == "object" && typeof S.options.customInterpolateName == "function" && (ie = S.options.customInterpolateName.call(S, ie, y, P)), ie;
|
|
25323
|
-
},
|
|
25324
|
-
function
|
|
25331
|
+
}, Tp = d, qo = { exports: {} }, Wo = 40, Go = 41, to = 39, Ho = 34, Ko = 92, ra = 47, zo = 44, Xo = 58, ro = 42, wp = 117, Pp = 85, Ap = 43, Cp = /^[a-f0-9?-]+$/i;
|
|
25332
|
+
function Ec(S, y) {
|
|
25325
25333
|
var T, P, L = S.type, R = S.value;
|
|
25326
|
-
return y && (P = y(S)) !== void 0 ? P : L === "word" || L === "space" ? R : L === "string" ? (T = S.quote || "") + R + (S.unclosed ? "" : T) : L === "comment" ? "/*" + R + (S.unclosed ? "" : "*/") : L === "div" ? (S.before || "") + R + (S.after || "") : Array.isArray(S.nodes) ? (T =
|
|
25334
|
+
return y && (P = y(S)) !== void 0 ? P : L === "word" || L === "space" ? R : L === "string" ? (T = S.quote || "") + R + (S.unclosed ? "" : T) : L === "comment" ? "/*" + R + (S.unclosed ? "" : "*/") : L === "div" ? (S.before || "") + R + (S.after || "") : Array.isArray(S.nodes) ? (T = Sc(S.nodes, y), L !== "function" ? T : R + "(" + (S.before || "") + T + (S.after || "") + (S.unclosed ? "" : ")")) : R;
|
|
25327
25335
|
}
|
|
25328
|
-
function
|
|
25336
|
+
function Sc(S, y) {
|
|
25329
25337
|
var T, P;
|
|
25330
25338
|
if (Array.isArray(S)) {
|
|
25331
|
-
for (T = "", P = S.length - 1; ~P; P -= 1) T =
|
|
25339
|
+
for (T = "", P = S.length - 1; ~P; P -= 1) T = Ec(S[P], y) + T;
|
|
25332
25340
|
return T;
|
|
25333
25341
|
}
|
|
25334
|
-
return
|
|
25342
|
+
return Ec(S, y);
|
|
25335
25343
|
}
|
|
25336
|
-
var
|
|
25344
|
+
var xc = function S(y, T, P) {
|
|
25337
25345
|
var L, R, $, Y;
|
|
25338
25346
|
for (L = 0, R = y.length; L < R; L += 1) $ = y[L], P || (Y = T($, L, y)), Y !== !1 && $.type === "function" && Array.isArray($.nodes) && S($.nodes, T, P), P && T($, L, y);
|
|
25339
|
-
},
|
|
25347
|
+
}, Tc = Sc;
|
|
25340
25348
|
function fi(S) {
|
|
25341
25349
|
return this instanceof fi ? (this.nodes = function(y) {
|
|
25342
25350
|
for (var T, P, L, R, $, Y, re, ce, ae, ue = [], Q = y, ie = 0, Ae = Q.charCodeAt(ie), Be = Q.length, We = [{ nodes: ue }], Te = 0, Re = "", Ce = "", de = ""; ie < Be; ) if (Ae <= 32) {
|
|
@@ -25378,7 +25386,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25378
25386
|
do
|
|
25379
25387
|
Ae === Ko && (T += 1), T += 1, Ae = Q.charCodeAt(T);
|
|
25380
25388
|
while (T < Be && !(Ae <= 32 || Ae === to || Ae === Ho || Ae === zo || Ae === Xo || Ae === ra || Ae === Wo || Ae === ro && ae && ae.type === "function" && ae.value === "calc" || Ae === ra && ae.type === "function" && ae.value === "calc" || Ae === Go && Te));
|
|
25381
|
-
R = Q.slice(ie, T), Wo === Ae ? Re = R :
|
|
25389
|
+
R = Q.slice(ie, T), Wo === Ae ? Re = R : wp !== R.charCodeAt(0) && Pp !== R.charCodeAt(0) || Ap !== R.charCodeAt(1) || !Cp.test(R.slice(2)) ? ue.push({ type: "word", sourceIndex: ie, sourceEndIndex: T, value: R }) : ue.push({ type: "unicode-range", sourceIndex: ie, sourceEndIndex: T, value: R }), ie = T;
|
|
25382
25390
|
}
|
|
25383
25391
|
else R = Q[ie], ue.push({ type: "word", sourceIndex: ie - Ce.length, sourceEndIndex: ie + R.length, value: R }), ie += 1, Ae = Q.charCodeAt(ie);
|
|
25384
25392
|
for (ie = We.length - 1; ie; ie -= 1) We[ie].unclosed = !0, We[ie].sourceEndIndex = Q.length;
|
|
@@ -25386,14 +25394,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25386
25394
|
}(S), this) : new fi(S);
|
|
25387
25395
|
}
|
|
25388
25396
|
fi.prototype.toString = function() {
|
|
25389
|
-
return Array.isArray(this.nodes) ?
|
|
25397
|
+
return Array.isArray(this.nodes) ? Tc(this.nodes) : "";
|
|
25390
25398
|
}, fi.prototype.walk = function(S, y) {
|
|
25391
|
-
return
|
|
25399
|
+
return xc(this.nodes, S, y), this;
|
|
25392
25400
|
}, fi.unit = function() {
|
|
25393
|
-
if (
|
|
25394
|
-
|
|
25401
|
+
if (vc) return bc;
|
|
25402
|
+
vc = 1;
|
|
25395
25403
|
var S = 45, y = 43, T = 46, P = 101, L = 69;
|
|
25396
|
-
return
|
|
25404
|
+
return bc = function(R) {
|
|
25397
25405
|
var $, Y, re, ce = 0, ae = R.length;
|
|
25398
25406
|
if (ae === 0 || !function(ue) {
|
|
25399
25407
|
var Q, ie = ue.charCodeAt(0);
|
|
@@ -25409,8 +25417,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25409
25417
|
if ($ = R.charCodeAt(ce), Y = R.charCodeAt(ce + 1), re = R.charCodeAt(ce + 2), ($ === P || $ === L) && (Y >= 48 && Y <= 57 || (Y === y || Y === S) && re >= 48 && re <= 57)) for (ce += Y === y || Y === S ? 3 : 2; ce < ae && !(($ = R.charCodeAt(ce)) < 48 || $ > 57); ) ce += 1;
|
|
25410
25418
|
return { number: R.slice(0, ce), unit: R.slice(ce) };
|
|
25411
25419
|
};
|
|
25412
|
-
}(), fi.walk =
|
|
25413
|
-
const Jo = Wi,
|
|
25420
|
+
}(), fi.walk = xc, fi.stringify = Tc;
|
|
25421
|
+
const Jo = Wi, wc = fi, { extractICSS: Op } = _o, no = (S) => S.type === "combinator" && S.value === " ";
|
|
25414
25422
|
function so(S) {
|
|
25415
25423
|
const y = [];
|
|
25416
25424
|
return S.forEach((T) => {
|
|
@@ -25419,7 +25427,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25419
25427
|
}) : T && y.push(T);
|
|
25420
25428
|
}), y.length > 0 && no(y[y.length - 1]) && y.pop(), y;
|
|
25421
25429
|
}
|
|
25422
|
-
function
|
|
25430
|
+
function Pc(S, y) {
|
|
25423
25431
|
switch (S.type) {
|
|
25424
25432
|
case "word":
|
|
25425
25433
|
y.localizeNextItem && (y.localAliasMap.has(S.value) || (S.value = ":local(" + S.value + ")", y.localizeNextItem = !1));
|
|
@@ -25440,28 +25448,28 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25440
25448
|
}
|
|
25441
25449
|
return S;
|
|
25442
25450
|
}
|
|
25443
|
-
const
|
|
25444
|
-
function
|
|
25445
|
-
const P =
|
|
25451
|
+
const Ip = ["none", "inherit", "initial", "revert", "revert-layer", "unset"];
|
|
25452
|
+
function Ac(S, y, T) {
|
|
25453
|
+
const P = wc(y.value);
|
|
25446
25454
|
P.walk((L, R, $) => {
|
|
25447
25455
|
if (L.type === "function" && (L.value.toLowerCase() === "var" || L.value.toLowerCase() === "env")) return !1;
|
|
25448
|
-
if (L.type === "word" &&
|
|
25456
|
+
if (L.type === "word" && Ip.includes(L.value.toLowerCase())) return;
|
|
25449
25457
|
const Y = { options: T.options, global: T.global, localizeNextItem: S && !T.global, localAliasMap: T.localAliasMap };
|
|
25450
|
-
$[R] =
|
|
25458
|
+
$[R] = Pc(L, Y);
|
|
25451
25459
|
}), y.value = P.toString();
|
|
25452
25460
|
}
|
|
25453
25461
|
function Yo(S, y) {
|
|
25454
|
-
if (!/animation$/i.test(S.prop)) return /animation(-name)?$/i.test(S.prop) ?
|
|
25462
|
+
if (!/animation$/i.test(S.prop)) return /animation(-name)?$/i.test(S.prop) ? Ac(!0, S, y) : /url\(/i.test(S.value) ? Ac(!1, S, y) : void 0;
|
|
25455
25463
|
{
|
|
25456
25464
|
const T = /^-?([a-z\u0080-\uFFFF_]|(\\[^\r\n\f])|-)((\\[^\r\n\f])|[a-z\u0080-\uFFFF_0-9-])*$/i, P = { $normal: 1, $reverse: 1, $alternate: 1, "$alternate-reverse": 1, $forwards: 1, $backwards: 1, $both: 1, $infinite: 1, $paused: 1, $running: 1, $ease: 1, "$ease-in": 1, "$ease-out": 1, "$ease-in-out": 1, $linear: 1, "$step-end": 1, "$step-start": 1, $none: 1 / 0, $initial: 1 / 0, $inherit: 1 / 0, $unset: 1 / 0, $revert: 1 / 0, "$revert-layer": 1 / 0 };
|
|
25457
25465
|
let L = {};
|
|
25458
|
-
const R =
|
|
25466
|
+
const R = wc(S.value).walk(($) => {
|
|
25459
25467
|
if ($.type === "div") return void (L = {});
|
|
25460
25468
|
if ($.type === "function") return !1;
|
|
25461
25469
|
if ($.type !== "word") return;
|
|
25462
25470
|
const Y = $.type === "word" ? $.value.toLowerCase() : null;
|
|
25463
25471
|
let re = !1;
|
|
25464
|
-
return Y && T.test(Y) && ("$" + Y in P ? (L["$" + Y] = "$" + Y in L ? L["$" + Y] + 1 : 0, re = L["$" + Y] >= P["$" + Y]) : re = !0),
|
|
25472
|
+
return Y && T.test(Y) && ("$" + Y in P ? (L["$" + Y] = "$" + Y in L ? L["$" + Y] + 1 : 0, re = L["$" + Y] >= P["$" + Y]) : re = !0), Pc($, { options: y.options, global: y.global, localizeNextItem: re && !y.global, localAliasMap: y.localAliasMap });
|
|
25465
25473
|
});
|
|
25466
25474
|
S.value = R.toString();
|
|
25467
25475
|
}
|
|
@@ -25473,7 +25481,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25473
25481
|
return { postcssPlugin: "postcss-modules-local-by-default", prepare() {
|
|
25474
25482
|
const P = /* @__PURE__ */ new Map();
|
|
25475
25483
|
return { Once(L) {
|
|
25476
|
-
const { icssImports: R } =
|
|
25484
|
+
const { icssImports: R } = Op(L, !1);
|
|
25477
25485
|
Object.keys(R).forEach(($) => {
|
|
25478
25486
|
Object.keys(R[$]).forEach((Y) => {
|
|
25479
25487
|
P.set(Y, R[$][Y]);
|
|
@@ -25570,10 +25578,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25570
25578
|
} };
|
|
25571
25579
|
} };
|
|
25572
25580
|
}, qo.exports.postcss = !0;
|
|
25573
|
-
var
|
|
25574
|
-
const Qo = Wi,
|
|
25575
|
-
function
|
|
25576
|
-
return S.replace(
|
|
25581
|
+
var _p = qo.exports;
|
|
25582
|
+
const Qo = Wi, Cc = Object.prototype.hasOwnProperty, Oc = "[\\x20\\t\\r\\n\\f]", Np = new RegExp("\\\\([\\da-f]{1,6}" + Oc + "?|(" + Oc + ")|.)", "ig");
|
|
25583
|
+
function Ic(S) {
|
|
25584
|
+
return S.replace(Np, (y, T, P) => {
|
|
25577
25585
|
const L = "0x" + T - 65536;
|
|
25578
25586
|
return L != L || P ? T : L < 0 ? String.fromCharCode(L + 65536) : String.fromCharCode(L >> 10 | 55296, 1023 & L | 56320);
|
|
25579
25587
|
});
|
|
@@ -25641,11 +25649,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25641
25649
|
if (Re) We.forEach((Ce) => {
|
|
25642
25650
|
Y[Ce].push(Re[1]);
|
|
25643
25651
|
});
|
|
25644
|
-
else if (
|
|
25652
|
+
else if (Cc.call(ue, Te)) We.forEach((Ce) => {
|
|
25645
25653
|
Y[Ce].push(Te);
|
|
25646
25654
|
});
|
|
25647
25655
|
else {
|
|
25648
|
-
if (!
|
|
25656
|
+
if (!Cc.call(Y, Te)) throw Be.error(`referenced class name "${Te}" in ${Be.prop} not found`);
|
|
25649
25657
|
We.forEach((Ce) => {
|
|
25650
25658
|
Y[Te].forEach((de) => {
|
|
25651
25659
|
Y[Ce].push(de);
|
|
@@ -25685,10 +25693,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25685
25693
|
na.postcss = !0, na.generateScopedName = function(S, y) {
|
|
25686
25694
|
return `_${y.replace(/\.[^./\\]+$/, "").replace(/[\W_]+/g, "_").replace(/^_|_$/g, "")}__${S}`.trim();
|
|
25687
25695
|
}, na.generateExportEntry = function(S, y) {
|
|
25688
|
-
return { key:
|
|
25696
|
+
return { key: Ic(S), value: Ic(y) };
|
|
25689
25697
|
};
|
|
25690
|
-
var
|
|
25691
|
-
const
|
|
25698
|
+
var kp = na, Zo = { exports: {} };
|
|
25699
|
+
const _c = _o, Dp = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/, jp = /(?:\s+|^)([\w-]+):?(.*?)$/, Lp = /^([\w-]+)(?:\s+as\s+([\w-]+))?/;
|
|
25692
25700
|
Zo.exports = (S) => {
|
|
25693
25701
|
let y = 0;
|
|
25694
25702
|
const T = S && S.createImportedName || ((P) => `i__const_${P.replace(/\W/g, "_")}_${y++}`);
|
|
@@ -25696,12 +25704,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25696
25704
|
const L = [], R = {};
|
|
25697
25705
|
return { Once($, Y) {
|
|
25698
25706
|
if ($.walkAtRules(/value/i, (ce) => {
|
|
25699
|
-
const ae = ce.params.match(
|
|
25707
|
+
const ae = ce.params.match(Dp);
|
|
25700
25708
|
if (ae) {
|
|
25701
25709
|
let [, Ae, Be] = ae;
|
|
25702
25710
|
R[Be] && (Be = R[Be]);
|
|
25703
25711
|
const We = Ae.replace(/^\(\s*([\s\S]+)\s*\)$/, "$1").split(/\s*,\s*/).map((Te) => {
|
|
25704
|
-
const Re =
|
|
25712
|
+
const Re = Lp.exec(Te);
|
|
25705
25713
|
if (Re) {
|
|
25706
25714
|
const [, Ce, de = Ce] = Re, Ke = T(de);
|
|
25707
25715
|
return R[de] = Ke, { theirName: Ce, importedName: Ke };
|
|
@@ -25711,12 +25719,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25711
25719
|
return L.push({ path: Be, imports: We }), void ce.remove();
|
|
25712
25720
|
}
|
|
25713
25721
|
ce.params.indexOf("@value") !== -1 && P.warn("Invalid value definition: " + ce.params);
|
|
25714
|
-
let [, ue, Q] = `${ce.params}${ce.raws.between}`.match(
|
|
25722
|
+
let [, ue, Q] = `${ce.params}${ce.raws.between}`.match(jp);
|
|
25715
25723
|
const ie = Q.replace(/\/\*((?!\*\/).*?)\*\//g, "");
|
|
25716
25724
|
if (ie.length === 0) return P.warn("Invalid value definition: " + ce.params), void ce.remove();
|
|
25717
|
-
/^\s+$/.test(ie) || (Q = Q.trim()), R[ue] =
|
|
25725
|
+
/^\s+$/.test(ie) || (Q = Q.trim()), R[ue] = _c.replaceValueSymbols(Q, R), ce.remove();
|
|
25718
25726
|
}), !Object.keys(R).length) return;
|
|
25719
|
-
|
|
25727
|
+
_c.replaceSymbols($, R);
|
|
25720
25728
|
const re = Object.keys(R).map((ce) => Y.decl({ value: R[ce], prop: ce, raws: { before: `
|
|
25721
25729
|
` } }));
|
|
25722
25730
|
if (re.length > 0) {
|
|
@@ -25737,83 +25745,83 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25737
25745
|
} };
|
|
25738
25746
|
} };
|
|
25739
25747
|
}, Zo.exports.postcss = !0;
|
|
25740
|
-
var
|
|
25748
|
+
var Mp = Zo.exports;
|
|
25741
25749
|
Object.defineProperty(_i, "__esModule", { value: !0 }), _i.behaviours = void 0, _i.getDefaultPlugins = function(S) {
|
|
25742
25750
|
let { behaviour: y, generateScopedName: T, exportGlobals: P } = S;
|
|
25743
|
-
const L = (0,
|
|
25744
|
-
return { [ia.LOCAL]: [
|
|
25751
|
+
const L = (0, Rp.default)({ generateScopedName: T, exportGlobals: P });
|
|
25752
|
+
return { [ia.LOCAL]: [Dc.default, (0, kc.default)({ mode: "local" }), Nc.default, L], [ia.GLOBAL]: [Dc.default, (0, kc.default)({ mode: "global" }), Nc.default, L] }[y];
|
|
25745
25753
|
}, _i.getDefaultScopeBehaviour = function(S) {
|
|
25746
25754
|
return S && (y = S, Object.keys(ia).map((T) => ia[T]).indexOf(y) > -1) ? S : ia.LOCAL;
|
|
25747
25755
|
var y;
|
|
25748
25756
|
}, _i.getScopedNameGenerator = function(S, y) {
|
|
25749
|
-
const T = S ||
|
|
25750
|
-
return typeof T == "function" ? T : (0,
|
|
25757
|
+
const T = S || Up;
|
|
25758
|
+
return typeof T == "function" ? T : (0, Bp.default)(T, { context: r.cwd(), hashPrefix: y });
|
|
25751
25759
|
};
|
|
25752
|
-
var
|
|
25760
|
+
var Nc = sa(bp), Bp = sa(function(S, y) {
|
|
25753
25761
|
var T = (y = y || {}) && typeof y.context == "string" ? y.context : r.cwd(), P = y && typeof y.hashPrefix == "string" ? y.hashPrefix : "";
|
|
25754
25762
|
return function(L, R) {
|
|
25755
|
-
var $ = S.replace(/\[local\]/gi, L), Y = { resourcePath: R }, re = { content: P +
|
|
25756
|
-
return
|
|
25763
|
+
var $ = S.replace(/\[local\]/gi, L), Y = { resourcePath: R }, re = { content: P + Tp.relative(T, R).replace(/\\/g, "/") + "\0" + L, context: T };
|
|
25764
|
+
return xp(Y, $, re).replace(new RegExp("[^a-zA-Z0-9\\-_ -]", "g"), "-").replace(/^((-?[0-9])|--)/, "_$1");
|
|
25757
25765
|
};
|
|
25758
|
-
}),
|
|
25766
|
+
}), kc = sa(_p), Rp = sa(kp), Fp = sa(function(S) {
|
|
25759
25767
|
for (var y = 5381, T = S.length; T; ) y = 33 * y ^ S.charCodeAt(--T);
|
|
25760
25768
|
return y >>> 0;
|
|
25761
|
-
}),
|
|
25769
|
+
}), Dc = sa(Mp);
|
|
25762
25770
|
function sa(S) {
|
|
25763
25771
|
return S && S.__esModule ? S : { default: S };
|
|
25764
25772
|
}
|
|
25765
25773
|
const ia = { LOCAL: "local", GLOBAL: "global" };
|
|
25766
|
-
function
|
|
25774
|
+
function Up(S, y, T) {
|
|
25767
25775
|
const P = T.indexOf(`.${S}`), L = T.substr(0, P).split(/[\r\n]/).length;
|
|
25768
|
-
return `_${S}_${(0,
|
|
25776
|
+
return `_${S}_${(0, Fp.default)(T).toString(36).substr(0, 5)}_${L}`;
|
|
25769
25777
|
}
|
|
25770
25778
|
_i.behaviours = ia, Object.defineProperty(or, "__esModule", { value: !0 }), or.makePlugin = function(S) {
|
|
25771
|
-
return { postcssPlugin:
|
|
25779
|
+
return { postcssPlugin: jc, async OnceExit(y, T) {
|
|
25772
25780
|
let { result: P } = T;
|
|
25773
|
-
const L = S.getJSON ||
|
|
25781
|
+
const L = S.getJSON || Wp.default, R = y.source.input.file, $ = function(Q, ie) {
|
|
25774
25782
|
const Ae = Q.globalModulePaths || null, Be = Q.exportGlobals || !1, We = (0, Pa.getDefaultScopeBehaviour)(Q.scopeBehaviour), Te = (0, Pa.getScopedNameGenerator)(Q.generateScopedName, Q.hashPrefix);
|
|
25775
25783
|
return Ae && function(Re, Ce) {
|
|
25776
25784
|
return Re.some((de) => Ce.match(de));
|
|
25777
25785
|
}(Ae, ie) ? (0, Pa.getDefaultPlugins)({ behaviour: Pa.behaviours.GLOBAL, generateScopedName: Te, exportGlobals: Be }) : (0, Pa.getDefaultPlugins)({ behaviour: We, generateScopedName: Te, exportGlobals: Be });
|
|
25778
25786
|
}(S, R), Y = P.processor.plugins.findIndex((Q) => function(ie) {
|
|
25779
|
-
return ie.postcssPlugin ===
|
|
25787
|
+
return ie.postcssPlugin === jc;
|
|
25780
25788
|
}(Q));
|
|
25781
25789
|
if (Y === -1) throw new Error("Plugin missing from options.");
|
|
25782
25790
|
const re = [...P.processor.plugins.slice(0, Y), ...$], ce = function(Q, ie) {
|
|
25783
25791
|
const Ae = Q.root === void 0 ? "/" : Q.root;
|
|
25784
|
-
return typeof Q.Loader == "function" ? new Q.Loader(Ae, ie, Q.resolve) : new
|
|
25785
|
-
}(S, re), ae = new
|
|
25786
|
-
const Be = (0,
|
|
25792
|
+
return typeof Q.Loader == "function" ? new Q.Loader(Ae, ie, Q.resolve) : new Hp.default(Ae, ie, Q.resolve);
|
|
25793
|
+
}(S, re), ae = new qp.default(async (Q, ie, Ae) => {
|
|
25794
|
+
const Be = (0, Vp.default)(Q);
|
|
25787
25795
|
return ce.fetch.call(ce, Be, ie, Ae);
|
|
25788
25796
|
});
|
|
25789
|
-
await (0,
|
|
25797
|
+
await (0, $p.default)([...$, ae.plugin()]).process(y, { from: R });
|
|
25790
25798
|
const ue = ce.finalSource;
|
|
25791
25799
|
if (ue && y.prepend(ue), S.localsConvention) {
|
|
25792
|
-
const Q = (0,
|
|
25800
|
+
const Q = (0, Gp.makeLocalsConventionReducer)(S.localsConvention, R);
|
|
25793
25801
|
ae.exportTokens = Object.entries(ae.exportTokens).reduce(Q, {});
|
|
25794
25802
|
}
|
|
25795
25803
|
return P.messages.push({ type: "export", plugin: "postcss-modules", exportTokens: ae.exportTokens }), L(y.source.input.file, ae.exportTokens, P.opts.to);
|
|
25796
25804
|
} };
|
|
25797
25805
|
};
|
|
25798
|
-
var
|
|
25806
|
+
var $p = Aa(o), Vp = Aa(Ur), qp = Aa(It), Wp = Aa(No), Gp = Do, Hp = Aa(Qa), Pa = _i;
|
|
25799
25807
|
function Aa(S) {
|
|
25800
25808
|
return S && S.__esModule ? S : { default: S };
|
|
25801
25809
|
}
|
|
25802
|
-
const
|
|
25803
|
-
var
|
|
25804
|
-
(0, Zn.setFileSystem)({ readFile:
|
|
25810
|
+
const jc = "postcss-modules";
|
|
25811
|
+
var Lc = v, Kp = or;
|
|
25812
|
+
(0, Zn.setFileSystem)({ readFile: Lc.readFile, writeFile: Lc.writeFile }), Sn.exports = function() {
|
|
25805
25813
|
let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
25806
|
-
return (0,
|
|
25814
|
+
return (0, Kp.makePlugin)(S);
|
|
25807
25815
|
}, Sn.exports.postcss = !0;
|
|
25808
|
-
var
|
|
25809
|
-
function
|
|
25816
|
+
var Mc, Bc, zp = ke(Sn.exports);
|
|
25817
|
+
function Rc(S) {
|
|
25810
25818
|
const { filename: y, id: T, scoped: P = !1, trim: L = !0, isProd: R = !1, modules: $ = !1, modulesOptions: Y = {}, preprocessLang: re, postcssOptions: ce, postcssPlugins: ae } = S, ue = re && Fr[re], Q = ue && function(pt, At) {
|
|
25811
25819
|
return At(pt.source, pt.inMap || pt.map, { filename: pt.filename, ...pt.preprocessOptions }, pt.preprocessCustomRequire);
|
|
25812
25820
|
}(S, ue), ie = Q ? Q.map : S.inMap || S.map, Ae = Q ? Q.code : S.source, Be = T.replace(/^data-v-/, ""), We = `data-v-${Be}`, Te = (ae || []).slice();
|
|
25813
25821
|
let Re;
|
|
25814
25822
|
if (Te.unshift(ge({ id: Be, isProd: R })), L && Te.push(on()), P && Te.push(Wa(We)), $) {
|
|
25815
25823
|
if (!S.isAsync) throw new Error("[@vue/compiler-sfc] `modules` option can only be used with compileStyleAsync().");
|
|
25816
|
-
Te.push(
|
|
25824
|
+
Te.push(zp({ ...Y, getJSON: (pt, At) => {
|
|
25817
25825
|
Re = At;
|
|
25818
25826
|
} }));
|
|
25819
25827
|
}
|
|
@@ -25835,11 +25843,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25835
25843
|
}
|
|
25836
25844
|
return { code: Ke || "", map: Je && Je.toJSON(), errors: Qe, rawResult: de, dependencies: ze };
|
|
25837
25845
|
}
|
|
25838
|
-
function
|
|
25839
|
-
for (const y of S) if (y.type === "ExportDefaultDeclaration" && y.declaration.type === "ObjectExpression") return
|
|
25846
|
+
function Fc(S) {
|
|
25847
|
+
for (const y of S) if (y.type === "ExportDefaultDeclaration" && y.declaration.type === "ObjectExpression") return Xp(y.declaration);
|
|
25840
25848
|
return {};
|
|
25841
25849
|
}
|
|
25842
|
-
function
|
|
25850
|
+
function Xp(S) {
|
|
25843
25851
|
const y = {};
|
|
25844
25852
|
Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !1 });
|
|
25845
25853
|
for (const T of S.properties) if (T.type !== "ObjectProperty" || T.computed || T.key.type !== "Identifier") {
|
|
@@ -25867,9 +25875,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
25867
25875
|
return T;
|
|
25868
25876
|
}(S) : S.type === "ObjectExpression" ? el(S) : [];
|
|
25869
25877
|
}
|
|
25870
|
-
class
|
|
25878
|
+
class Jp {
|
|
25871
25879
|
constructor(y, T) {
|
|
25872
|
-
this.descriptor = y, this.options = T, this.isCE = !1, this.source = this.descriptor.source, this.filename = this.descriptor.filename, this.s = new E(this.source), this.startOffset = (
|
|
25880
|
+
this.descriptor = y, this.options = T, this.isCE = !1, this.source = this.descriptor.source, this.filename = this.descriptor.filename, this.s = new E(this.source), this.startOffset = (Mc = this.descriptor.scriptSetup) == null ? void 0 : Mc.loc.start.offset, this.endOffset = (Bc = this.descriptor.scriptSetup) == null ? void 0 : Bc.loc.end.offset, this.userImports = /* @__PURE__ */ Object.create(null), this.hasDefinePropsCall = !1, this.hasDefineEmitCall = !1, this.hasDefineExposeCall = !1, this.hasDefaultExportName = !1, this.hasDefaultExportRender = !1, this.hasDefineOptionsCall = !1, this.hasDefineSlotsCall = !1, this.hasDefineModelCall = !1, this.propsDestructuredBindings = /* @__PURE__ */ Object.create(null), this.modelDecls = /* @__PURE__ */ Object.create(null), this.bindingMetadata = {}, this.helperImports = /* @__PURE__ */ new Set();
|
|
25873
25881
|
const { script: P, scriptSetup: L } = y, R = P && P.lang, $ = L && L.lang;
|
|
25874
25882
|
this.isJS = R === "js" || R === "jsx" || $ === "js" || $ === "jsx", this.isTS = R === "ts" || R === "tsx" || $ === "ts" || $ === "tsx";
|
|
25875
25883
|
const Y = T.customElement, re = this.descriptor.filename;
|
|
@@ -25958,17 +25966,17 @@ const ${T} = {}`);
|
|
|
25958
25966
|
return P ? y : L;
|
|
25959
25967
|
}
|
|
25960
25968
|
const aa = "__default__";
|
|
25961
|
-
var
|
|
25962
|
-
function
|
|
25963
|
-
S instanceof RegExp && (S =
|
|
25964
|
-
var P =
|
|
25969
|
+
var Yp = Uc;
|
|
25970
|
+
function Uc(S, y, T) {
|
|
25971
|
+
S instanceof RegExp && (S = $c(S, T)), y instanceof RegExp && (y = $c(y, T));
|
|
25972
|
+
var P = Vc(S, y, T);
|
|
25965
25973
|
return P && { start: P[0], end: P[1], pre: T.slice(0, P[0]), body: T.slice(P[0] + S.length, P[1]), post: T.slice(P[1] + y.length) };
|
|
25966
25974
|
}
|
|
25967
|
-
function
|
|
25975
|
+
function $c(S, y) {
|
|
25968
25976
|
var T = y.match(S);
|
|
25969
25977
|
return T ? T[0] : null;
|
|
25970
25978
|
}
|
|
25971
|
-
function
|
|
25979
|
+
function Vc(S, y, T) {
|
|
25972
25980
|
var P, L, R, $, Y, re = T.indexOf(S), ce = T.indexOf(y, re + 1), ae = re;
|
|
25973
25981
|
if (re >= 0 && ce > 0) {
|
|
25974
25982
|
if (S === y) return [re, ce];
|
|
@@ -25977,41 +25985,41 @@ const ${T} = {}`);
|
|
|
25977
25985
|
}
|
|
25978
25986
|
return Y;
|
|
25979
25987
|
}
|
|
25980
|
-
|
|
25981
|
-
var
|
|
25988
|
+
Uc.range = Vc;
|
|
25989
|
+
var qc = Yp, Qp = function(S) {
|
|
25982
25990
|
return S ? (S.substr(0, 2) === "{}" && (S = "\\{\\}" + S.substr(2)), Ca(function(y) {
|
|
25983
|
-
return y.split("\\\\").join(
|
|
25984
|
-
}(S), !0).map(
|
|
25985
|
-
},
|
|
25991
|
+
return y.split("\\\\").join(Wc).split("\\{").join(Gc).split("\\}").join(sl).split("\\,").join(Hc).split("\\.").join(Kc);
|
|
25992
|
+
}(S), !0).map(Zp)) : [];
|
|
25993
|
+
}, Wc = "\0SLASH" + Math.random() + "\0", Gc = "\0OPEN" + Math.random() + "\0", sl = "\0CLOSE" + Math.random() + "\0", Hc = "\0COMMA" + Math.random() + "\0", Kc = "\0PERIOD" + Math.random() + "\0";
|
|
25986
25994
|
function il(S) {
|
|
25987
25995
|
return parseInt(S, 10) == S ? parseInt(S, 10) : S.charCodeAt(0);
|
|
25988
25996
|
}
|
|
25989
|
-
function
|
|
25990
|
-
return S.split(
|
|
25997
|
+
function Zp(S) {
|
|
25998
|
+
return S.split(Wc).join("\\").split(Gc).join("{").split(sl).join("}").split(Hc).join(",").split(Kc).join(".");
|
|
25991
25999
|
}
|
|
25992
|
-
function
|
|
26000
|
+
function zc(S) {
|
|
25993
26001
|
if (!S) return [""];
|
|
25994
|
-
var y = [], T =
|
|
26002
|
+
var y = [], T = qc("{", "}", S);
|
|
25995
26003
|
if (!T) return S.split(",");
|
|
25996
26004
|
var P = T.pre, L = T.body, R = T.post, $ = P.split(",");
|
|
25997
26005
|
$[$.length - 1] += "{" + L + "}";
|
|
25998
|
-
var Y =
|
|
26006
|
+
var Y = zc(R);
|
|
25999
26007
|
return R.length && ($[$.length - 1] += Y.shift(), $.push.apply($, Y)), y.push.apply(y, $), y;
|
|
26000
26008
|
}
|
|
26001
|
-
function
|
|
26009
|
+
function ef(S) {
|
|
26002
26010
|
return "{" + S + "}";
|
|
26003
26011
|
}
|
|
26004
|
-
function
|
|
26012
|
+
function tf(S) {
|
|
26005
26013
|
return /^-?0\d/.test(S);
|
|
26006
26014
|
}
|
|
26007
|
-
function
|
|
26015
|
+
function rf(S, y) {
|
|
26008
26016
|
return S <= y;
|
|
26009
26017
|
}
|
|
26010
|
-
function
|
|
26018
|
+
function nf(S, y) {
|
|
26011
26019
|
return S >= y;
|
|
26012
26020
|
}
|
|
26013
26021
|
function Ca(S, y) {
|
|
26014
|
-
var T = [], P =
|
|
26022
|
+
var T = [], P = qc("{", "}", S);
|
|
26015
26023
|
if (!P) return [S];
|
|
26016
26024
|
var L = P.pre, R = P.post.length ? Ca(P.post, !1) : [""];
|
|
26017
26025
|
if (/\$$/.test(P.pre)) for (var $ = 0; $ < R.length; $++) {
|
|
@@ -26022,13 +26030,13 @@ const ${T} = {}`);
|
|
|
26022
26030
|
var re, ce, ae = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(P.body), ue = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(P.body), Q = ae || ue, ie = P.body.indexOf(",") >= 0;
|
|
26023
26031
|
if (!Q && !ie) return P.post.match(/,.*\}/) ? Ca(S = P.pre + "{" + P.body + sl + P.post) : [S];
|
|
26024
26032
|
if (Q) re = P.body.split(/\.\./);
|
|
26025
|
-
else if ((re =
|
|
26033
|
+
else if ((re = zc(P.body)).length === 1 && (re = Ca(re[0], !1).map(ef)).length === 1) return R.map(function(rt) {
|
|
26026
26034
|
return P.pre + re[0] + rt;
|
|
26027
26035
|
});
|
|
26028
26036
|
if (Q) {
|
|
26029
|
-
var Ae = il(re[0]), Be = il(re[1]), We = Math.max(re[0].length, re[1].length), Te = re.length == 3 ? Math.abs(il(re[2])) : 1, Re =
|
|
26030
|
-
Be < Ae && (Te *= -1, Re =
|
|
26031
|
-
var Ce = re.some(
|
|
26037
|
+
var Ae = il(re[0]), Be = il(re[1]), We = Math.max(re[0].length, re[1].length), Te = re.length == 3 ? Math.abs(il(re[2])) : 1, Re = rf;
|
|
26038
|
+
Be < Ae && (Te *= -1, Re = nf);
|
|
26039
|
+
var Ce = re.some(tf);
|
|
26032
26040
|
ce = [];
|
|
26033
26041
|
for (var de = Ae; Re(de, Be); de += Te) {
|
|
26034
26042
|
var Ke;
|
|
@@ -26050,11 +26058,11 @@ const ${T} = {}`);
|
|
|
26050
26058
|
}
|
|
26051
26059
|
return T;
|
|
26052
26060
|
}
|
|
26053
|
-
var
|
|
26061
|
+
var sf = ke(Qp);
|
|
26054
26062
|
const ao = (S) => {
|
|
26055
26063
|
if (typeof S != "string") throw new TypeError("invalid pattern");
|
|
26056
26064
|
if (S.length > 65536) throw new TypeError("pattern is too long");
|
|
26057
|
-
},
|
|
26065
|
+
}, af = { "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", !0], "[:alpha:]": ["\\p{L}\\p{Nl}", !0], "[:ascii:]": ["\\x00-\\x7f", !1], "[:blank:]": ["\\p{Zs}\\t", !0], "[:cntrl:]": ["\\p{Cc}", !0], "[:digit:]": ["\\p{Nd}", !0], "[:graph:]": ["\\p{Z}\\p{C}", !0, !0], "[:lower:]": ["\\p{Ll}", !0], "[:print:]": ["\\p{C}", !0], "[:punct:]": ["\\p{P}", !0], "[:space:]": ["\\p{Z}\\t\\r\\n\\v\\f", !0], "[:upper:]": ["\\p{Lu}", !0], "[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", !0], "[:xdigit:]": ["A-Fa-f0-9", !1] }, Oa = (S) => S.replace(/[[\]\\-]/g, "\\$&"), Xc = (S) => S.join(""), of = (S, y) => {
|
|
26058
26066
|
const T = y;
|
|
26059
26067
|
if (S.charAt(T) !== "[") throw new Error("not in a brace expression");
|
|
26060
26068
|
const P = [], L = [];
|
|
@@ -26068,7 +26076,7 @@ const ${T} = {}`);
|
|
|
26068
26076
|
}
|
|
26069
26077
|
if ($ = !0, Be !== "\\" || re) {
|
|
26070
26078
|
if (Be === "[" && !re) {
|
|
26071
|
-
for (const [We, [Te, Re, Ce]] of Object.entries(
|
|
26079
|
+
for (const [We, [Te, Re, Ce]] of Object.entries(af)) if (S.startsWith(We, R)) {
|
|
26072
26080
|
if (ue) return ["$.", !1, S.length - T, !0];
|
|
26073
26081
|
R += We.length, Ce ? L.push(Te) : P.push(Te), Y = Y || Re;
|
|
26074
26082
|
continue e;
|
|
@@ -26083,12 +26091,12 @@ const ${T} = {}`);
|
|
|
26083
26091
|
if (L.length === 0 && P.length === 1 && /^\\?.$/.test(P[0]) && !ce)
|
|
26084
26092
|
return [(Q = P[0].length === 2 ? P[0].slice(-1) : P[0], Q.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&")), !1, ae - T, !1];
|
|
26085
26093
|
var Q;
|
|
26086
|
-
const ie = "[" + (ce ? "^" : "") +
|
|
26094
|
+
const ie = "[" + (ce ? "^" : "") + Xc(P) + "]", Ae = "[" + (ce ? "" : "^") + Xc(L) + "]";
|
|
26087
26095
|
return [P.length && L.length ? "(" + ie + "|" + Ae + ")" : P.length ? ie : Ae, Y, ae - T, !0];
|
|
26088
26096
|
}, Ia = function(S) {
|
|
26089
26097
|
let { windowsPathsNoEscape: y = !1 } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
26090
26098
|
return y ? S.replace(/\[([^\/\\])\]/g, "$1") : S.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
26091
|
-
},
|
|
26099
|
+
}, lf = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]), Jc = (S) => lf.has(S), al = "(?!\\.)", cf = /* @__PURE__ */ new Set(["[", "."]), uf = /* @__PURE__ */ new Set(["..", "."]), pf = new Set("().*{}+?[]^$\\!"), ol = "[^/]", Yc = ol + "*?", Qc = ol + "+?", ds = class ds {
|
|
26092
26100
|
constructor(y, T) {
|
|
26093
26101
|
Ir(this, Ri);
|
|
26094
26102
|
Mr(this, "type");
|
|
@@ -26170,15 +26178,15 @@ const ${T} = {}`);
|
|
|
26170
26178
|
toRegExpSource(y) {
|
|
26171
26179
|
var re;
|
|
26172
26180
|
const T = y ?? !!Me(this, ii).dot;
|
|
26173
|
-
if (Me(this, Jn) === this && ir(this, Ri,
|
|
26181
|
+
if (Me(this, Jn) === this && ir(this, Ri, Uu).call(this), !this.type) {
|
|
26174
26182
|
const ce = this.isStart() && this.isEnd(), ae = Me(this, jn).map((ie) => {
|
|
26175
26183
|
var Re;
|
|
26176
|
-
const [Ae, Be, We, Te] = typeof ie == "string" ? ir(Re = ds, gi,
|
|
26184
|
+
const [Ae, Be, We, Te] = typeof ie == "string" ? ir(Re = ds, gi, $u).call(Re, ie, Me(this, rs), ce) : ie.toRegExpSource(y);
|
|
26177
26185
|
return Gt(this, rs, Me(this, rs) || We), Gt(this, si, Me(this, si) || Te), Ae;
|
|
26178
26186
|
}).join("");
|
|
26179
26187
|
let ue = "";
|
|
26180
|
-
if (this.isStart() && typeof Me(this, jn)[0] == "string" && (Me(this, jn).length !== 1 || !
|
|
26181
|
-
const ie =
|
|
26188
|
+
if (this.isStart() && typeof Me(this, jn)[0] == "string" && (Me(this, jn).length !== 1 || !uf.has(Me(this, jn)[0]))) {
|
|
26189
|
+
const ie = cf, Ae = T && ie.has(ae.charAt(0)) || ae.startsWith("\\.") && ie.has(ae.charAt(2)) || ae.startsWith("\\.\\.") && ie.has(ae.charAt(4)), Be = !T && !y && ie.has(ae.charAt(0));
|
|
26182
26190
|
ue = Ae ? "(?!(?:^|/)\\.\\.?(?:$|/))" : Be ? al : "";
|
|
26183
26191
|
}
|
|
26184
26192
|
let Q = "";
|
|
@@ -26193,10 +26201,10 @@ const ${T} = {}`);
|
|
|
26193
26201
|
let $ = !P || y || T ? "" : ir(this, Ri, Il).call(this, !0);
|
|
26194
26202
|
$ === R && ($ = ""), $ && (R = `(?:${R})(?:${$})*?`);
|
|
26195
26203
|
let Y = "";
|
|
26196
|
-
return Y = this.type === "!" && Me(this, ja) ? (this.isStart() && !T ? al : "") +
|
|
26204
|
+
return Y = this.type === "!" && Me(this, ja) ? (this.isStart() && !T ? al : "") + Qc : L + R + (this.type === "!" ? "))" + (!this.isStart() || T || y ? "" : al) + Yc + ")" : this.type === "@" ? ")" : this.type === "?" ? ")?" : this.type === "+" && $ ? ")" : this.type === "*" && $ ? ")?" : `)${this.type}`), [Y, Ia(R), Gt(this, rs, !!Me(this, rs)), Me(this, si)];
|
|
26197
26205
|
}
|
|
26198
26206
|
};
|
|
26199
|
-
Jn = new WeakMap(), rs = new WeakMap(), si = new WeakMap(), jn = new WeakMap(), Hn = new WeakMap(), mi = new WeakMap(), Mi = new WeakMap(), yi = new WeakMap(), ii = new WeakMap(), Bi = new WeakMap(), ja = new WeakMap(), Ri = new WeakSet(),
|
|
26207
|
+
Jn = new WeakMap(), rs = new WeakMap(), si = new WeakMap(), jn = new WeakMap(), Hn = new WeakMap(), mi = new WeakMap(), Mi = new WeakMap(), yi = new WeakMap(), ii = new WeakMap(), Bi = new WeakMap(), ja = new WeakMap(), Ri = new WeakSet(), Uu = function() {
|
|
26200
26208
|
if (this !== Me(this, Jn)) throw new Error("should only call on root");
|
|
26201
26209
|
if (Me(this, yi)) return this;
|
|
26202
26210
|
let y;
|
|
@@ -26221,7 +26229,7 @@ const ${T} = {}`);
|
|
|
26221
26229
|
const Te = y.charAt(Be++);
|
|
26222
26230
|
if (R || Te === "\\") R = !R, We += Te;
|
|
26223
26231
|
else if ($) Be === Y + 1 ? Te !== "^" && Te !== "!" || (re = !0) : Te !== "]" || Be === Y + 2 && re || ($ = !1), We += Te;
|
|
26224
|
-
else if (Te !== "[") if (L.noext || !
|
|
26232
|
+
else if (Te !== "[") if (L.noext || !Jc(Te) || y.charAt(Be) !== "(") We += Te;
|
|
26225
26233
|
else {
|
|
26226
26234
|
T.push(We), We = "";
|
|
26227
26235
|
const Re = new ds(Te, T);
|
|
@@ -26238,7 +26246,7 @@ const ${T} = {}`);
|
|
|
26238
26246
|
const Be = y.charAt(ce++);
|
|
26239
26247
|
if (R || Be === "\\") R = !R, Q += Be;
|
|
26240
26248
|
else if ($) ce === Y + 1 ? Be !== "^" && Be !== "!" || (re = !0) : Be !== "]" || ce === Y + 2 && re || ($ = !1), Q += Be;
|
|
26241
|
-
else if (Be !== "[") if (
|
|
26249
|
+
else if (Be !== "[") if (Jc(Be) && y.charAt(ce) === "(") {
|
|
26242
26250
|
ae.push(Q), Q = "";
|
|
26243
26251
|
const We = new ds(Be, ae);
|
|
26244
26252
|
ae.push(We), ce = ir(Ae = ds, gi, Eo).call(Ae, y, We, ce, L);
|
|
@@ -26255,20 +26263,20 @@ const ${T} = {}`);
|
|
|
26255
26263
|
const [P, L, R, $] = T.toRegExpSource(y);
|
|
26256
26264
|
return Gt(this, si, Me(this, si) || $), P;
|
|
26257
26265
|
}).filter((T) => !(this.isStart() && this.isEnd() && !T)).join("|");
|
|
26258
|
-
},
|
|
26266
|
+
}, $u = function(y, T) {
|
|
26259
26267
|
let P = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], L = !1, R = "", $ = !1;
|
|
26260
26268
|
for (let Y = 0; Y < y.length; Y++) {
|
|
26261
26269
|
const re = y.charAt(Y);
|
|
26262
|
-
if (L) L = !1, R += (
|
|
26270
|
+
if (L) L = !1, R += (pf.has(re) ? "\\" : "") + re;
|
|
26263
26271
|
else if (re !== "\\") {
|
|
26264
26272
|
if (re === "[") {
|
|
26265
|
-
const [ce, ae, ue, Q] =
|
|
26273
|
+
const [ce, ae, ue, Q] = of(y, Y);
|
|
26266
26274
|
if (ue) {
|
|
26267
26275
|
R += ce, $ = $ || ae, Y += ue - 1, T = T || Q;
|
|
26268
26276
|
continue;
|
|
26269
26277
|
}
|
|
26270
26278
|
}
|
|
26271
|
-
re !== "*" ? re !== "?" ? R += re.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") : (R += ol, T = !0) : (R += P && y === "*" ?
|
|
26279
|
+
re !== "*" ? re !== "?" ? R += re.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") : (R += ol, T = !0) : (R += P && y === "*" ? Qc : Yc, T = !0);
|
|
26272
26280
|
} else Y === y.length - 1 ? R += "\\\\" : L = !0;
|
|
26273
26281
|
}
|
|
26274
26282
|
return [R, Ia(y), !!T, $];
|
|
@@ -26277,32 +26285,32 @@ const ${T} = {}`);
|
|
|
26277
26285
|
const ss = function(S, y) {
|
|
26278
26286
|
let T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
26279
26287
|
return ao(y), !(!T.nocomment && y.charAt(0) === "#") && new lo(y, T).match(S);
|
|
26280
|
-
},
|
|
26288
|
+
}, ff = /^\*+([^+@!?\*\[\(]*)$/, df = (S) => (y) => !y.startsWith(".") && y.endsWith(S), hf = (S) => (y) => y.endsWith(S), mf = (S) => (S = S.toLowerCase(), (y) => !y.startsWith(".") && y.toLowerCase().endsWith(S)), yf = (S) => (S = S.toLowerCase(), (y) => y.toLowerCase().endsWith(S)), gf = /^\*+\.\*+$/, bf = (S) => !S.startsWith(".") && S.includes("."), vf = (S) => S !== "." && S !== ".." && S.includes("."), Ef = /^\.\*+$/, Sf = (S) => S !== "." && S !== ".." && S.startsWith("."), xf = /^\*+$/, Tf = (S) => S.length !== 0 && !S.startsWith("."), wf = (S) => S.length !== 0 && S !== "." && S !== "..", Pf = /^\?+([^+@!?\*\[\(]*)?$/, Af = (S) => {
|
|
26281
26289
|
let [y, T = ""] = S;
|
|
26282
|
-
const P =
|
|
26290
|
+
const P = Zc([y]);
|
|
26283
26291
|
return T ? (T = T.toLowerCase(), (L) => P(L) && L.toLowerCase().endsWith(T)) : P;
|
|
26284
|
-
},
|
|
26292
|
+
}, Cf = (S) => {
|
|
26285
26293
|
let [y, T = ""] = S;
|
|
26286
|
-
const P =
|
|
26294
|
+
const P = eu([y]);
|
|
26287
26295
|
return T ? (T = T.toLowerCase(), (L) => P(L) && L.toLowerCase().endsWith(T)) : P;
|
|
26288
|
-
},
|
|
26296
|
+
}, Of = (S) => {
|
|
26289
26297
|
let [y, T = ""] = S;
|
|
26290
|
-
const P =
|
|
26298
|
+
const P = eu([y]);
|
|
26291
26299
|
return T ? (L) => P(L) && L.endsWith(T) : P;
|
|
26292
|
-
},
|
|
26300
|
+
}, If = (S) => {
|
|
26293
26301
|
let [y, T = ""] = S;
|
|
26294
|
-
const P =
|
|
26302
|
+
const P = Zc([y]);
|
|
26295
26303
|
return T ? (L) => P(L) && L.endsWith(T) : P;
|
|
26296
|
-
},
|
|
26304
|
+
}, Zc = (S) => {
|
|
26297
26305
|
let [y] = S;
|
|
26298
26306
|
const T = y.length;
|
|
26299
26307
|
return (P) => P.length === T && !P.startsWith(".");
|
|
26300
|
-
},
|
|
26308
|
+
}, eu = (S) => {
|
|
26301
26309
|
let [y] = S;
|
|
26302
26310
|
const T = y.length;
|
|
26303
26311
|
return (P) => P.length === T && P !== "." && P !== "..";
|
|
26304
|
-
},
|
|
26305
|
-
ss.sep =
|
|
26312
|
+
}, tu = typeof r == "object" && r ? typeof r.env == "object" && r.env && r.env.__MINIMATCH_TESTING_PLATFORM__ || r.platform : "posix", _f = tu === "win32" ? "\\" : "/";
|
|
26313
|
+
ss.sep = _f;
|
|
26306
26314
|
const _s = Symbol("globstar **");
|
|
26307
26315
|
ss.GLOBSTAR = _s, ss.filter = function(S) {
|
|
26308
26316
|
let y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -26352,17 +26360,17 @@ const ${T} = {}`);
|
|
|
26352
26360
|
return y.match(T, P, Ns(S, L));
|
|
26353
26361
|
}, sep: y.sep, GLOBSTAR: _s });
|
|
26354
26362
|
};
|
|
26355
|
-
const
|
|
26363
|
+
const ru = function(S) {
|
|
26356
26364
|
let y = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
26357
|
-
return ao(S), y.nobrace || !/\{(?:(?!\{).)*\}/.test(S) ? [S] :
|
|
26365
|
+
return ao(S), y.nobrace || !/\{(?:(?!\{).)*\}/.test(S) ? [S] : sf(S);
|
|
26358
26366
|
};
|
|
26359
|
-
ss.braceExpand =
|
|
26367
|
+
ss.braceExpand = ru, ss.makeRe = function(S) {
|
|
26360
26368
|
return new lo(S, arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}).makeRe();
|
|
26361
26369
|
}, ss.match = function(S, y) {
|
|
26362
26370
|
const T = new lo(y, arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {});
|
|
26363
26371
|
return S = S.filter((P) => T.match(P)), T.options.nonull && !S.length && S.push(y), S;
|
|
26364
26372
|
};
|
|
26365
|
-
const
|
|
26373
|
+
const nu = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
26366
26374
|
class lo {
|
|
26367
26375
|
constructor(y) {
|
|
26368
26376
|
Mr(this, "options");
|
|
@@ -26383,7 +26391,7 @@ const ${T} = {}`);
|
|
|
26383
26391
|
Mr(this, "windowsNoMagicRoot");
|
|
26384
26392
|
Mr(this, "regexp");
|
|
26385
26393
|
let T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
26386
|
-
ao(y), T = T || {}, this.options = T, this.pattern = y, this.platform = T.platform ||
|
|
26394
|
+
ao(y), T = T || {}, this.options = T, this.pattern = y, this.platform = T.platform || tu, this.isWindows = this.platform === "win32", this.windowsPathsNoEscape = !!T.windowsPathsNoEscape || T.allowWindowsEscape === !1, this.windowsPathsNoEscape && (this.pattern = this.pattern.replace(/\\/g, "/")), this.preserveMultipleSlashes = !!T.preserveMultipleSlashes, this.regexp = null, this.negate = !1, this.nonegate = !!T.nonegate, this.comment = !1, this.empty = !1, this.partial = !!T.partial, this.nocase = !!this.options.nocase, this.windowsNoMagicRoot = T.windowsNoMagicRoot !== void 0 ? T.windowsNoMagicRoot : !(!this.isWindows || !this.nocase), this.globSet = [], this.globParts = [], this.set = [], this.make();
|
|
26387
26395
|
}
|
|
26388
26396
|
hasMagic() {
|
|
26389
26397
|
if (this.options.magicalBraces && this.set.length > 1) return !0;
|
|
@@ -26402,7 +26410,7 @@ const ${T} = {}`);
|
|
|
26402
26410
|
this.globParts = this.preprocess(P), this.debug(this.pattern, this.globParts);
|
|
26403
26411
|
let L = this.globParts.map((R, $, Y) => {
|
|
26404
26412
|
if (this.isWindows && this.windowsNoMagicRoot) {
|
|
26405
|
-
const re = !(R[0] !== "" || R[1] !== "" || R[2] !== "?" &&
|
|
26413
|
+
const re = !(R[0] !== "" || R[1] !== "" || R[2] !== "?" && nu.test(R[2]) || nu.test(R[3])), ce = /^[a-z]:/i.test(R[0]);
|
|
26406
26414
|
if (re) return [...R.slice(0, 4), ...R.slice(4).map((ae) => this.parse(ae))];
|
|
26407
26415
|
if (ce) return [R[0], ...R.slice(1).map((ae) => this.parse(ae))];
|
|
26408
26416
|
}
|
|
@@ -26565,7 +26573,7 @@ globstar while`, y, Q, T, ie, Ae), this.matchOne(y.slice(Q), T.slice(ie), P)) re
|
|
|
26565
26573
|
throw new Error("wtf?");
|
|
26566
26574
|
}
|
|
26567
26575
|
braceExpand() {
|
|
26568
|
-
return
|
|
26576
|
+
return ru(this.pattern, this.options);
|
|
26569
26577
|
}
|
|
26570
26578
|
parse(y) {
|
|
26571
26579
|
ao(y);
|
|
@@ -26573,7 +26581,7 @@ globstar while`, y, Q, T, ie, Ae), this.matchOne(y.slice(Q), T.slice(ie), P)) re
|
|
|
26573
26581
|
if (y === "**") return _s;
|
|
26574
26582
|
if (y === "") return "";
|
|
26575
26583
|
let P, L = null;
|
|
26576
|
-
(P = y.match(
|
|
26584
|
+
(P = y.match(xf)) ? L = T.dot ? wf : Tf : (P = y.match(ff)) ? L = (T.nocase ? T.dot ? yf : mf : T.dot ? hf : df)(P[1]) : (P = y.match(Pf)) ? L = (T.nocase ? T.dot ? Cf : Af : T.dot ? Of : If)(P) : (P = y.match(gf)) ? L = T.dot ? vf : bf : (P = y.match(Ef)) && (L = Sf);
|
|
26577
26585
|
const R = oo.fromGlob(y, this.options).toMMPattern();
|
|
26578
26586
|
return L ? Object.assign(R, { test: L }) : R;
|
|
26579
26587
|
}
|
|
@@ -26645,10 +26653,10 @@ globstar while`, y, Q, T, ie, Ae), this.matchOne(y.slice(Q), T.slice(ie), P)) re
|
|
|
26645
26653
|
var ae, ue;
|
|
26646
26654
|
switch (Y.type) {
|
|
26647
26655
|
case "TSTypeLiteral":
|
|
26648
|
-
return
|
|
26656
|
+
return su($, Y.members, re, ce);
|
|
26649
26657
|
case "TSInterfaceDeclaration":
|
|
26650
26658
|
return function(Q, ie, Ae, Be) {
|
|
26651
|
-
const We =
|
|
26659
|
+
const We = su(Q, ie.body.body, ie._ownerScope, Be);
|
|
26652
26660
|
if (ie.extends) {
|
|
26653
26661
|
for (const Te of ie.extends) if (!Te.leadingComments || !Te.leadingComments.some((Re) => Re.value.includes("@vue-ignore"))) try {
|
|
26654
26662
|
const { props: Re, calls: Ce } = is(Q, Te, Ae);
|
|
@@ -26672,7 +26680,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26672
26680
|
return { props: {}, calls: [Y] };
|
|
26673
26681
|
case "TSUnionType":
|
|
26674
26682
|
case "TSIntersectionType":
|
|
26675
|
-
return
|
|
26683
|
+
return iu(Y.types.map((Q) => is($, Q, re, ce)), Y.type);
|
|
26676
26684
|
case "TSMappedType":
|
|
26677
26685
|
return function(Q, ie, Ae) {
|
|
26678
26686
|
const Be = { props: {} }, We = ti(Q, ie.typeParameter.constraint, Ae);
|
|
@@ -26680,11 +26688,11 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26680
26688
|
return Be;
|
|
26681
26689
|
}($, Y, re);
|
|
26682
26690
|
case "TSIndexedAccessType":
|
|
26683
|
-
return au(
|
|
26691
|
+
return iu(au($, Y, re).map((Q) => is($, Q, Q._ownerScope)), "TSUnionType");
|
|
26684
26692
|
case "TSExpressionWithTypeArguments":
|
|
26685
26693
|
case "TSTypeReference": {
|
|
26686
26694
|
const Q = pl(Y);
|
|
26687
|
-
if ((Q === "ExtractPropTypes" || Q === "ExtractPublicPropTypes") && Y.typeParameters && ((ae = re.imports[Q]) == null ? void 0 : ae.source) === "vue") return
|
|
26695
|
+
if ((Q === "ExtractPropTypes" || Q === "ExtractPublicPropTypes") && Y.typeParameters && ((ae = re.imports[Q]) == null ? void 0 : ae.source) === "vue") return yu(is($, Y.typeParameters.params[0], re, ce), re);
|
|
26688
26696
|
const ie = Hs($, Y, re);
|
|
26689
26697
|
if (ie) {
|
|
26690
26698
|
let Ae;
|
|
@@ -26695,7 +26703,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26695
26703
|
}
|
|
26696
26704
|
if (typeof Q == "string") {
|
|
26697
26705
|
if (ce && ce[Q]) return is($, ce[Q], re, ce);
|
|
26698
|
-
if (
|
|
26706
|
+
if (Nf.has(Q)) return function(Ae, Be, We, Te, Re) {
|
|
26699
26707
|
const Ce = is(Ae, Be.typeParameters.params[0], Te, Re);
|
|
26700
26708
|
switch (We) {
|
|
26701
26709
|
case "Partial": {
|
|
@@ -26735,7 +26743,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26735
26743
|
return $.error("Unresolvable type reference or unsupported built-in utility type", Y, re);
|
|
26736
26744
|
}
|
|
26737
26745
|
case "TSImportType": {
|
|
26738
|
-
if (M(Y.argument) === "vue" && ((ue = Y.qualifier) == null ? void 0 : ue.type) === "Identifier" && Y.qualifier.name === "ExtractPropTypes" && Y.typeParameters) return
|
|
26746
|
+
if (M(Y.argument) === "vue" && ((ue = Y.qualifier) == null ? void 0 : ue.type) === "Identifier" && Y.qualifier.name === "ExtractPropTypes" && Y.typeParameters) return yu(is($, Y.typeParameters.params[0], re), re);
|
|
26739
26747
|
const Q = co($, Y.argument, re, Y.argument.value), ie = Hs($, Y, Q);
|
|
26740
26748
|
if (ie) return is($, ie, ie._ownerScope);
|
|
26741
26749
|
break;
|
|
@@ -26749,11 +26757,11 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26749
26757
|
}(S, y, y._ownerScope || T || po(S), P);
|
|
26750
26758
|
return L ? y._resolvedElements = R : R;
|
|
26751
26759
|
}
|
|
26752
|
-
function
|
|
26760
|
+
function su(S, y) {
|
|
26753
26761
|
let T = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : po(S), P = arguments.length > 3 ? arguments[3] : void 0;
|
|
26754
26762
|
const L = { props: {} };
|
|
26755
26763
|
for (const R of y) if (R.type === "TSPropertySignature" || R.type === "TSMethodSignature") {
|
|
26756
|
-
P && (T =
|
|
26764
|
+
P && (T = du(T), T.isGenericScope = !0, Object.assign(T.types, P)), R._ownerScope = T;
|
|
26757
26765
|
const $ = M(R.key);
|
|
26758
26766
|
if ($ && !R.computed) L.props[$] = R;
|
|
26759
26767
|
else if (R.key.type === "TemplateLiteral") for (const Y of cl(S, R.key, T)) L.props[Y] = R;
|
|
@@ -26761,7 +26769,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26761
26769
|
} else R.type === "TSCallSignatureDeclaration" && (L.calls || (L.calls = [])).push(R);
|
|
26762
26770
|
return L;
|
|
26763
26771
|
}
|
|
26764
|
-
function
|
|
26772
|
+
function iu(S, y) {
|
|
26765
26773
|
if (S.length === 1) return S[0];
|
|
26766
26774
|
const T = { props: {} }, { props: P } = T;
|
|
26767
26775
|
for (const { props: L, calls: R } of S) {
|
|
@@ -26773,9 +26781,9 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26773
26781
|
function _a(S, y, T, P) {
|
|
26774
26782
|
return { type: "TSPropertySignature", key: S, kind: "get", optional: P, typeAnnotation: { type: "TSTypeAnnotation", typeAnnotation: y }, _ownerScope: T };
|
|
26775
26783
|
}
|
|
26776
|
-
function
|
|
26784
|
+
function au(S, y, T) {
|
|
26777
26785
|
var P, L;
|
|
26778
|
-
if (y.indexType.type === "TSNumberKeyword") return
|
|
26786
|
+
if (y.indexType.type === "TSNumberKeyword") return ou(S, y.objectType, T);
|
|
26779
26787
|
const { indexType: R, objectType: $ } = y, Y = [];
|
|
26780
26788
|
let re, ce;
|
|
26781
26789
|
R.type === "TSStringKeyword" ? (ce = is(S, $, T), re = Object.keys(ce.props)) : (re = ti(S, R, T), ce = is(S, $, T));
|
|
@@ -26785,14 +26793,14 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26785
26793
|
}
|
|
26786
26794
|
return Y;
|
|
26787
26795
|
}
|
|
26788
|
-
function
|
|
26796
|
+
function ou(S, y, T) {
|
|
26789
26797
|
if (y.type === "TSArrayType") return [y.elementType];
|
|
26790
26798
|
if (y.type === "TSTupleType") return y.elementTypes.map((P) => P.type === "TSNamedTupleMember" ? P.elementType : P);
|
|
26791
26799
|
if (y.type === "TSTypeReference") {
|
|
26792
26800
|
if (pl(y) === "Array" && y.typeParameters) return y.typeParameters.params;
|
|
26793
26801
|
{
|
|
26794
26802
|
const P = Hs(S, y, T);
|
|
26795
|
-
if (P) return
|
|
26803
|
+
if (P) return ou(S, P, T);
|
|
26796
26804
|
}
|
|
26797
26805
|
}
|
|
26798
26806
|
return S.error("Failed to resolve element type from target type", y, T);
|
|
@@ -26844,7 +26852,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26844
26852
|
for (const ce of Y) for (const ae of re) P.push($ + ce + ae);
|
|
26845
26853
|
return P;
|
|
26846
26854
|
}
|
|
26847
|
-
const
|
|
26855
|
+
const Nf = /* @__PURE__ */ new Set(["Partial", "Required", "Readonly", "Pick", "Omit"]);
|
|
26848
26856
|
function Hs(S, y, T, P) {
|
|
26849
26857
|
let L = arguments.length > 4 && arguments[4] !== void 0 && arguments[4];
|
|
26850
26858
|
const R = !(T != null && T.isGenericScope);
|
|
@@ -26865,7 +26873,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26865
26873
|
const $ = function(Y) {
|
|
26866
26874
|
if (Y.options.globalTypeFiles) {
|
|
26867
26875
|
if (!fl(Y)) throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");
|
|
26868
|
-
return Y.options.globalTypeFiles.map((re) =>
|
|
26876
|
+
return Y.options.globalTypeFiles.map((re) => fu(Y, Pe(re), !0));
|
|
26869
26877
|
}
|
|
26870
26878
|
}(S);
|
|
26871
26879
|
if ($) for (const Y of $) {
|
|
@@ -26879,7 +26887,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26879
26887
|
if (R && (R.type !== "TSModuleDeclaration" && (R = R._ns), R)) {
|
|
26880
26888
|
const $ = function(Y, re, ce) {
|
|
26881
26889
|
if (re._resolvedChildScope) return re._resolvedChildScope;
|
|
26882
|
-
const ae =
|
|
26890
|
+
const ae = du(ce);
|
|
26883
26891
|
if (re.body.type === "TSModuleDeclaration") {
|
|
26884
26892
|
const ue = re.body;
|
|
26885
26893
|
ue._ownerScope = ae;
|
|
@@ -26894,10 +26902,10 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26894
26902
|
}
|
|
26895
26903
|
function pl(S) {
|
|
26896
26904
|
const y = S.type === "TSTypeReference" ? S.typeName : S.type === "TSExpressionWithTypeArguments" ? S.expression : S.type === "TSImportType" ? S.qualifier : S.exprName;
|
|
26897
|
-
return (y == null ? void 0 : y.type) === "Identifier" ? y.name : (y == null ? void 0 : y.type) === "TSQualifiedName" ?
|
|
26905
|
+
return (y == null ? void 0 : y.type) === "Identifier" ? y.name : (y == null ? void 0 : y.type) === "TSQualifiedName" ? lu(y) : "default";
|
|
26898
26906
|
}
|
|
26899
|
-
function
|
|
26900
|
-
return S.type === "Identifier" ? [S.name] : [...
|
|
26907
|
+
function lu(S) {
|
|
26908
|
+
return S.type === "Identifier" ? [S.name] : [...lu(S.left), S.right.name];
|
|
26901
26909
|
}
|
|
26902
26910
|
let di, Na;
|
|
26903
26911
|
function fl(S) {
|
|
@@ -26916,8 +26924,8 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26916
26924
|
if (!L) return S.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.", y, T);
|
|
26917
26925
|
let R = T.resolvedImportSources[P];
|
|
26918
26926
|
if (!R) {
|
|
26919
|
-
if (P.startsWith("..")) R =
|
|
26920
|
-
else if (P.startsWith(".")) R =
|
|
26927
|
+
if (P.startsWith("..")) R = cu((C.platform === "win32" ? d.join : H)(d.dirname(T.filename), P), L);
|
|
26928
|
+
else if (P.startsWith(".")) R = cu(H(d.dirname(T.filename), P), L);
|
|
26921
26929
|
else {
|
|
26922
26930
|
if (!di && (Na && (di = Na()), !di)) return S.error(`Failed to resolve import source ${JSON.stringify(P)}. typescript is required as a peer dep for vue in order to support resolving types from module imports.`, y, T);
|
|
26923
26931
|
R = function($, Y, re, ce) {
|
|
@@ -26928,7 +26936,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26928
26936
|
let We;
|
|
26929
26937
|
const Te = Pe(Q), Re = uo.get(Te);
|
|
26930
26938
|
let Ce;
|
|
26931
|
-
if (Re ? We = Re : (We =
|
|
26939
|
+
if (Re ? We = Re : (We = pu(Q, re, ce).map((de) => ({ config: de })), uo.set(Te, We)), We.length === 1) Ce = We[0];
|
|
26932
26940
|
else {
|
|
26933
26941
|
for (const de of We) {
|
|
26934
26942
|
const Ke = Pe(de.config.options.pathsBasePath || d.dirname(de.config.options.configFilePath)), Je = (ae = de.config.raw) == null ? void 0 : ae.include, ze = (ue = de.config.raw) == null ? void 0 : ue.exclude;
|
|
@@ -26951,22 +26959,22 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26951
26959
|
}
|
|
26952
26960
|
R && (R = T.resolvedImportSources[P] = Pe(R));
|
|
26953
26961
|
}
|
|
26954
|
-
return R ? ((S.deps || (S.deps = /* @__PURE__ */ new Set())).add(R),
|
|
26962
|
+
return R ? ((S.deps || (S.deps = /* @__PURE__ */ new Set())).add(R), fu(S, R)) : S.error(`Failed to resolve import source ${JSON.stringify(P)}.`, y, T);
|
|
26955
26963
|
}
|
|
26956
|
-
function
|
|
26964
|
+
function cu(S, y) {
|
|
26957
26965
|
const T = (P) => {
|
|
26958
26966
|
if (y.fileExists(P)) return P;
|
|
26959
26967
|
};
|
|
26960
26968
|
return T(S = S.replace(/\.js$/, "")) || T(S + ".ts") || T(S + ".d.ts") || T(H(S, "index.ts")) || T(H(S, "index.d.ts"));
|
|
26961
26969
|
}
|
|
26962
|
-
const uo = ur(),
|
|
26963
|
-
function
|
|
26970
|
+
const uo = ur(), uu = /* @__PURE__ */ new Map();
|
|
26971
|
+
function pu(S, y, T) {
|
|
26964
26972
|
const P = y.sys, L = y.parseJsonConfigFileContent(y.readConfigFile(S, T.readFile).config, P, d.dirname(S), void 0, S), R = [L];
|
|
26965
|
-
if (L.projectReferences) for (const $ of L.projectReferences)
|
|
26973
|
+
if (L.projectReferences) for (const $ of L.projectReferences) uu.set($.path, S), R.unshift(...pu($.path, y, T));
|
|
26966
26974
|
return R;
|
|
26967
26975
|
}
|
|
26968
26976
|
const dl = ur();
|
|
26969
|
-
function
|
|
26977
|
+
function fu(S, y) {
|
|
26970
26978
|
let T = arguments.length > 2 && arguments[2] !== void 0 && arguments[2];
|
|
26971
26979
|
const P = dl.get(y);
|
|
26972
26980
|
if (P) return P;
|
|
@@ -26983,21 +26991,21 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
26983
26991
|
return x.parse(Te, { plugins: io(Re, ce), sourceType: "module" }).program.body;
|
|
26984
26992
|
}
|
|
26985
26993
|
return [];
|
|
26986
|
-
}(y, L, S.options.babelParserPlugins), $ = new ll(y, L, 0,
|
|
26994
|
+
}(y, L, S.options.babelParserPlugins), $ = new ll(y, L, 0, mu(R));
|
|
26987
26995
|
return hl(S, R, $, T), dl.set(y, $), $;
|
|
26988
26996
|
}
|
|
26989
26997
|
function po(S) {
|
|
26990
26998
|
if (S.scope) return S.scope;
|
|
26991
|
-
const y = "ast" in S ? S.ast : S.scriptAst ? [...S.scriptAst.body, ...S.scriptSetupAst.body] : S.scriptSetupAst.body, T = new ll(S.filename, S.source, "startOffset" in S ? S.startOffset : 0, "userImports" in S ? Object.create(S.userImports) :
|
|
26999
|
+
const y = "ast" in S ? S.ast : S.scriptAst ? [...S.scriptAst.body, ...S.scriptSetupAst.body] : S.scriptSetupAst.body, T = new ll(S.filename, S.source, "startOffset" in S ? S.startOffset : 0, "userImports" in S ? Object.create(S.userImports) : mu(y));
|
|
26992
27000
|
return hl(S, y, T), S.scope = T;
|
|
26993
27001
|
}
|
|
26994
|
-
function
|
|
27002
|
+
function du(S) {
|
|
26995
27003
|
return new ll(S.filename, S.source, S.offset, Object.create(S.imports), Object.create(S.types), Object.create(S.declares));
|
|
26996
27004
|
}
|
|
26997
|
-
const
|
|
27005
|
+
const kf = /^Import|^Export/;
|
|
26998
27006
|
function hl(S, y, T) {
|
|
26999
27007
|
let P = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
|
|
27000
|
-
const { types: L, declares: R, exportedTypes: $, exportedDeclares: Y, imports: re } = T, ce = !!P && !y.some((ae) =>
|
|
27008
|
+
const { types: L, declares: R, exportedTypes: $, exportedDeclares: Y, imports: re } = T, ce = !!P && !y.some((ae) => kf.test(ae.type));
|
|
27001
27009
|
for (const ae of y) if (P) {
|
|
27002
27010
|
if (ce) ae.declare && Ni(ae, L, R);
|
|
27003
27011
|
else if (ae.type === "TSModuleDeclaration" && ae.global) for (const ue of ae.body.body) Ni(ue, L, R);
|
|
@@ -27027,11 +27035,11 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27027
27035
|
let R = y[L];
|
|
27028
27036
|
if (R) {
|
|
27029
27037
|
if (S.type === "TSModuleDeclaration") {
|
|
27030
|
-
R.type === "TSModuleDeclaration" ? ml(R, S) :
|
|
27038
|
+
R.type === "TSModuleDeclaration" ? ml(R, S) : hu(R, S);
|
|
27031
27039
|
break;
|
|
27032
27040
|
}
|
|
27033
27041
|
if (R.type === "TSModuleDeclaration") {
|
|
27034
|
-
y[L] = S,
|
|
27042
|
+
y[L] = S, hu(S, R);
|
|
27035
27043
|
break;
|
|
27036
27044
|
}
|
|
27037
27045
|
if (R.type !== S.type) break;
|
|
@@ -27056,15 +27064,15 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27056
27064
|
const T = S.body, P = y.body;
|
|
27057
27065
|
T.type === "TSModuleDeclaration" ? P.type === "TSModuleDeclaration" ? ml(T, P) : P.body.push({ type: "ExportNamedDeclaration", declaration: T, exportKind: "type", specifiers: [] }) : P.type === "TSModuleDeclaration" ? T.body.push({ type: "ExportNamedDeclaration", declaration: P, exportKind: "type", specifiers: [] }) : T.body.push(...P.body);
|
|
27058
27066
|
}
|
|
27059
|
-
function
|
|
27067
|
+
function hu(S, y) {
|
|
27060
27068
|
S._ns ? ml(S._ns, y) : S._ns = y;
|
|
27061
27069
|
}
|
|
27062
|
-
function
|
|
27070
|
+
function mu(S) {
|
|
27063
27071
|
const y = /* @__PURE__ */ Object.create(null);
|
|
27064
|
-
for (const T of S)
|
|
27072
|
+
for (const T of S) Df(T, y);
|
|
27065
27073
|
return y;
|
|
27066
27074
|
}
|
|
27067
|
-
function
|
|
27075
|
+
function Df(S, y) {
|
|
27068
27076
|
if (S.type === "ImportDeclaration") for (const T of S.specifiers) y[T.local.name] = { imported: W(T), source: S.source.value };
|
|
27069
27077
|
}
|
|
27070
27078
|
function Ts(S, y) {
|
|
@@ -27172,7 +27180,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27172
27180
|
case "TSSymbolKeyword":
|
|
27173
27181
|
return ["Symbol"];
|
|
27174
27182
|
case "TSIndexedAccessType":
|
|
27175
|
-
return yl(S,
|
|
27183
|
+
return yl(S, au(S, y, T), T);
|
|
27176
27184
|
case "ClassDeclaration":
|
|
27177
27185
|
return ["Object"];
|
|
27178
27186
|
case "TSImportType": {
|
|
@@ -27196,7 +27204,7 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27196
27204
|
function yl(S, y, T) {
|
|
27197
27205
|
return y.length === 1 ? Ts(S, y[0], T) : [...new Set([].concat(...y.map((P) => Ts(S, P, T))))];
|
|
27198
27206
|
}
|
|
27199
|
-
function
|
|
27207
|
+
function yu(S, y) {
|
|
27200
27208
|
let { props: T } = S;
|
|
27201
27209
|
const P = { props: {} };
|
|
27202
27210
|
for (const L in T) {
|
|
@@ -27232,9 +27240,9 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27232
27240
|
if (y.typeName.name === "PropType" && y.typeParameters) return _a(S, y.typeParameters.params[0], T, P);
|
|
27233
27241
|
}
|
|
27234
27242
|
} else {
|
|
27235
|
-
const L =
|
|
27243
|
+
const L = gu(y, "type");
|
|
27236
27244
|
if (L) {
|
|
27237
|
-
const R =
|
|
27245
|
+
const R = gu(y, "required");
|
|
27238
27246
|
return gl(S, L, T, !R || R.type !== "TSLiteralType" || R.literal.type !== "BooleanLiteral" || !R.literal.value, !1);
|
|
27239
27247
|
}
|
|
27240
27248
|
}
|
|
@@ -27244,20 +27252,20 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
27244
27252
|
}
|
|
27245
27253
|
return _a(S, { type: "TSNullKeyword" }, T, P);
|
|
27246
27254
|
}
|
|
27247
|
-
function
|
|
27255
|
+
function gu(S, y) {
|
|
27248
27256
|
const T = S.members.find((P) => P.type === "TSPropertySignature" && !P.computed && M(P.key) === y && P.typeAnnotation);
|
|
27249
27257
|
return T && T.typeAnnotation.typeAnnotation;
|
|
27250
27258
|
}
|
|
27251
|
-
function
|
|
27259
|
+
function bu(S, y, T) {
|
|
27252
27260
|
if (y.type === "TSTypeReference") {
|
|
27253
27261
|
const L = Hs(S, y, T);
|
|
27254
27262
|
L && (y = L);
|
|
27255
27263
|
}
|
|
27256
27264
|
let P;
|
|
27257
|
-
return P = y.type === "TSUnionType" ? y.types.flatMap((L) =>
|
|
27265
|
+
return P = y.type === "TSUnionType" ? y.types.flatMap((L) => bu(S, L, T)) : [y], P;
|
|
27258
27266
|
}
|
|
27259
27267
|
const bl = "defineModel";
|
|
27260
|
-
function
|
|
27268
|
+
function vu(S, y, T) {
|
|
27261
27269
|
if (!J(y, bl)) return !1;
|
|
27262
27270
|
S.hasDefineModelCall = !0;
|
|
27263
27271
|
const P = y.typeParameters && y.typeParameters.params[0] || void 0;
|
|
@@ -27299,7 +27307,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27299
27307
|
} else P.propsDestructureRestId = $.argument.name, P.bindingMetadata[P.propsDestructureRestId] = "setup-reactive-const";
|
|
27300
27308
|
}(S, T), S.propsCall = y, S.propsDecl = T, !0;
|
|
27301
27309
|
}
|
|
27302
|
-
function
|
|
27310
|
+
function Eu(S) {
|
|
27303
27311
|
const y = function(R, $) {
|
|
27304
27312
|
const Y = [], re = is(R, $);
|
|
27305
27313
|
for (const ce in re.props) {
|
|
@@ -27313,16 +27321,16 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27313
27321
|
const T = [], P = function(R) {
|
|
27314
27322
|
return !(!R.propsRuntimeDefaults || R.propsRuntimeDefaults.type !== "ObjectExpression" || !R.propsRuntimeDefaults.properties.every(($) => $.type !== "SpreadElement" && (!$.computed || $.key.type.endsWith("Literal"))));
|
|
27315
27323
|
}(S);
|
|
27316
|
-
for (const R of y) T.push(
|
|
27324
|
+
for (const R of y) T.push(jf(S, R, P)), "bindingMetadata" in S && !(R.key in S.bindingMetadata) && (S.bindingMetadata[R.key] = "props");
|
|
27317
27325
|
let L = `{
|
|
27318
27326
|
${T.join(`,
|
|
27319
27327
|
`)}
|
|
27320
27328
|
}`;
|
|
27321
27329
|
return S.propsRuntimeDefaults && !P && (L = `/*#__PURE__*/${S.helper("mergeDefaults")}(${L}, ${S.getString(S.propsRuntimeDefaults)})`), L;
|
|
27322
27330
|
}
|
|
27323
|
-
function
|
|
27331
|
+
function jf(S, y, T) {
|
|
27324
27332
|
let P, { key: L, required: R, type: $, skipCheck: Y } = y;
|
|
27325
|
-
const re =
|
|
27333
|
+
const re = Su(S, L, $);
|
|
27326
27334
|
if (re) P = `default: ${re.valueString}${re.needSkipFactory ? ", skipFactory: true" : ""}`;
|
|
27327
27335
|
else if (T) {
|
|
27328
27336
|
const ae = S.propsRuntimeDefaults.properties.find((ue) => ue.type !== "SpreadElement" && _(ue.key, ue.computed) === L);
|
|
@@ -27331,7 +27339,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27331
27339
|
const ce = le(L);
|
|
27332
27340
|
return S.options.isProd ? $.some((ae) => ae === "Boolean" || (!T || P) && ae === "Function") ? `${ce}: { ${j([`type: ${Z($)}`, P])} }` : S.isCE ? P ? `${ce}: { ${P}, type: ${Z($)} }` : `${ce}: {type: ${Z($)}}` : `${ce}: ${P ? `{ ${P} }` : "{}"}` : `${ce}: { ${j([`type: ${Z($)}`, `required: ${R}`, Y && "skipCheck: true", P])} }`;
|
|
27333
27341
|
}
|
|
27334
|
-
function
|
|
27342
|
+
function Su(S, y, T) {
|
|
27335
27343
|
const P = S.propsDestructuredBindings[y], L = P && P.default;
|
|
27336
27344
|
if (L) {
|
|
27337
27345
|
const R = S.getString(L), $ = t.unwrapTSNode(L);
|
|
@@ -27360,44 +27368,44 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27360
27368
|
}
|
|
27361
27369
|
}
|
|
27362
27370
|
const ki = "defineEmits";
|
|
27363
|
-
function
|
|
27371
|
+
function xu(S, y, T) {
|
|
27364
27372
|
return !!J(y, ki) && (S.hasDefineEmitCall && S.error(`duplicate ${ki}() call`, y), S.hasDefineEmitCall = !0, S.emitsRuntimeDecl = y.arguments[0], y.typeParameters && (S.emitsRuntimeDecl && S.error(`${ki}() cannot accept both type and non-type arguments at the same time. Use one or the other.`, y), S.emitsTypeDecl = y.typeParameters.params[0]), S.emitDecl = T, !0);
|
|
27365
27373
|
}
|
|
27366
|
-
function
|
|
27374
|
+
function Tu(S) {
|
|
27367
27375
|
const y = /* @__PURE__ */ new Set(), T = S.emitsTypeDecl;
|
|
27368
|
-
if (T.type === "TSFunctionType") return
|
|
27376
|
+
if (T.type === "TSFunctionType") return wu(S, T.parameters[0], y), y;
|
|
27369
27377
|
const { props: P, calls: L } = is(S, T);
|
|
27370
27378
|
let R = !1;
|
|
27371
27379
|
for (const $ in P) y.add($), R = !0;
|
|
27372
27380
|
if (L) {
|
|
27373
27381
|
R && S.error("defineEmits() type cannot mixed call signature and property syntax.", T);
|
|
27374
|
-
for (const $ of L)
|
|
27382
|
+
for (const $ of L) wu(S, $.parameters[0], y);
|
|
27375
27383
|
}
|
|
27376
27384
|
return y;
|
|
27377
27385
|
}
|
|
27378
|
-
function
|
|
27386
|
+
function wu(S, y, T) {
|
|
27379
27387
|
if (y.type === "Identifier" && y.typeAnnotation && y.typeAnnotation.type === "TSTypeAnnotation") {
|
|
27380
|
-
const P =
|
|
27388
|
+
const P = bu(S, y.typeAnnotation.typeAnnotation);
|
|
27381
27389
|
for (const L of P) L.type === "TSLiteralType" && L.literal.type !== "UnaryExpression" && L.literal.type !== "TemplateLiteral" && T.add(String(L.literal.value));
|
|
27382
27390
|
}
|
|
27383
27391
|
}
|
|
27384
27392
|
const fo = "defineExpose";
|
|
27385
|
-
function
|
|
27393
|
+
function Lf(S, y) {
|
|
27386
27394
|
return !!J(y, fo) && (S.hasDefineExposeCall && S.error(`duplicate ${fo}() call`, y), S.hasDefineExposeCall = !0, !0);
|
|
27387
27395
|
}
|
|
27388
27396
|
const ho = "defineSlots";
|
|
27389
|
-
function
|
|
27397
|
+
function Pu(S, y, T) {
|
|
27390
27398
|
return !!J(y, ho) && (S.hasDefineSlotsCall && S.error(`duplicate ${ho}() call`, y), S.hasDefineSlotsCall = !0, y.arguments.length > 0 && S.error(`${ho}() cannot accept arguments`, y), T && S.s.overwrite(S.startOffset + y.start, S.startOffset + y.end, `${S.helper("useSlots")}()`), !0);
|
|
27391
27399
|
}
|
|
27392
27400
|
const ri = "defineOptions";
|
|
27393
|
-
function
|
|
27401
|
+
function Au(S, y) {
|
|
27394
27402
|
if (!J(y, ri)) return !1;
|
|
27395
27403
|
if (S.hasDefineOptionsCall && S.error(`duplicate ${ri}() call`, y), y.typeParameters && S.error(`${ri}() cannot accept type arguments`, y), !y.arguments[0]) return !0;
|
|
27396
27404
|
let T, P, L, R;
|
|
27397
27405
|
if (S.hasDefineOptionsCall = !0, S.optionsRuntimeDecl = t.unwrapTSNode(y.arguments[0]), S.optionsRuntimeDecl.type === "ObjectExpression") for (const $ of S.optionsRuntimeDecl.properties) $.type !== "ObjectProperty" && $.type !== "ObjectMethod" || $.key.type !== "Identifier" || ($.key.name === "props" && (T = $), $.key.name === "emits" && (P = $), $.key.name === "expose" && (L = $), $.key.name === "slots" && (R = $));
|
|
27398
27406
|
return T && S.error(`${ri}() cannot be used to declare props. Use ${as}() instead.`, T), P && S.error(`${ri}() cannot be used to declare emits. Use ${ki}() instead.`, P), L && S.error(`${ri}() cannot be used to declare expose. Use ${fo}() instead.`, L), R && S.error(`${ri}() cannot be used to declare slots. Use ${ho}() instead.`, R), !0;
|
|
27399
27407
|
}
|
|
27400
|
-
function
|
|
27408
|
+
function Mf(S, y, T, P) {
|
|
27401
27409
|
const L = y.argument.extra && y.argument.extra.parenthesized ? y.argument.extra.parenStart : y.argument.start, R = S.startOffset, $ = S.descriptor.source.slice(L + R, y.argument.end + R), Y = /\bawait\b/.test($);
|
|
27402
27410
|
S.s.overwrite(y.start + R, L + R, `${T ? ";" : ""}(
|
|
27403
27411
|
([__temp,__restore] = ${S.helper("withAsyncContext")}(${Y ? "async " : ""}() => `), S.s.appendLeft(y.end + R, `)),
|
|
@@ -27419,16 +27427,16 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27419
27427
|
if (Y.type === "Identifier") {
|
|
27420
27428
|
let ue;
|
|
27421
27429
|
const Q = P.reactive;
|
|
27422
|
-
ue = (L || S === "script") && (R || $ && js(ce)) ? "literal-const" : J(ce, Q) ? $ ? "setup-reactive-const" : "setup-let" : ae || $ &&
|
|
27430
|
+
ue = (L || S === "script") && (R || $ && js(ce)) ? "literal-const" : J(ce, Q) ? $ ? "setup-reactive-const" : "setup-let" : ae || $ && Iu(ce, Q) ? J(ce, as) ? "setup-reactive-const" : "setup-const" : $ ? J(ce, (ie) => ie === P.ref || ie === P.computed || ie === P.shallowRef || ie === P.customRef || ie === P.toRef || ie === bl) ? "setup-ref" : "setup-maybe-ref" : "setup-let", la(T, Y, ue);
|
|
27423
27431
|
} else {
|
|
27424
27432
|
if (J(ce, as)) continue;
|
|
27425
|
-
Y.type === "ObjectPattern" ?
|
|
27433
|
+
Y.type === "ObjectPattern" ? Cu(Y, T, $, ae) : Y.type === "ArrayPattern" && Ou(Y, T, $, ae);
|
|
27426
27434
|
}
|
|
27427
27435
|
}
|
|
27428
27436
|
} else y.type === "TSEnumDeclaration" ? (R = y.members.every(($) => !$.initializer || js($.initializer)), T[y.id.name] = R ? "literal-const" : "setup-const") : y.type !== "FunctionDeclaration" && y.type !== "ClassDeclaration" || (T[y.id.name] = "setup-const");
|
|
27429
27437
|
return R;
|
|
27430
27438
|
}
|
|
27431
|
-
function
|
|
27439
|
+
function Cu(S, y, T) {
|
|
27432
27440
|
let P = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
|
|
27433
27441
|
for (const L of S.properties) if (L.type === "ObjectProperty") if (L.key.type === "Identifier" && L.key === L.value) {
|
|
27434
27442
|
const R = P ? "setup-const" : T ? "setup-maybe-ref" : "setup-let";
|
|
@@ -27439,7 +27447,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27439
27447
|
la(y, L.argument, R);
|
|
27440
27448
|
}
|
|
27441
27449
|
}
|
|
27442
|
-
function
|
|
27450
|
+
function Ou(S, y, T) {
|
|
27443
27451
|
let P = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
|
|
27444
27452
|
for (const L of S.elements) L && Sl(L, y, T, P);
|
|
27445
27453
|
}
|
|
@@ -27449,14 +27457,14 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27449
27457
|
else if (S.type === "RestElement") {
|
|
27450
27458
|
const L = T ? "setup-const" : "setup-let";
|
|
27451
27459
|
la(y, S.argument, L);
|
|
27452
|
-
} else if (S.type === "ObjectPattern")
|
|
27453
|
-
else if (S.type === "ArrayPattern")
|
|
27460
|
+
} else if (S.type === "ObjectPattern") Cu(S, y, T);
|
|
27461
|
+
else if (S.type === "ArrayPattern") Ou(S, y, T);
|
|
27454
27462
|
else if (S.type === "AssignmentPattern") if (S.left.type === "Identifier") {
|
|
27455
27463
|
const L = P ? "setup-const" : T ? "setup-maybe-ref" : "setup-let";
|
|
27456
27464
|
la(y, S.left, L);
|
|
27457
27465
|
} else Sl(S.left, y, T);
|
|
27458
27466
|
}
|
|
27459
|
-
function
|
|
27467
|
+
function Iu(S, y) {
|
|
27460
27468
|
if (J(S, y)) return !0;
|
|
27461
27469
|
switch (S.type) {
|
|
27462
27470
|
case "UnaryExpression":
|
|
@@ -27470,7 +27478,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27470
27478
|
case "TaggedTemplateExpression":
|
|
27471
27479
|
return !0;
|
|
27472
27480
|
case "SequenceExpression":
|
|
27473
|
-
return
|
|
27481
|
+
return Iu(S.expressions[S.expressions.length - 1], y);
|
|
27474
27482
|
default:
|
|
27475
27483
|
return !!B(S);
|
|
27476
27484
|
}
|
|
@@ -27498,11 +27506,11 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27498
27506
|
}
|
|
27499
27507
|
return !1;
|
|
27500
27508
|
}
|
|
27501
|
-
const
|
|
27509
|
+
const Bf = $r, Rf = { ...t.errorMessages, ...t.DOMErrorMessages }, Ff = b.walk;
|
|
27502
27510
|
e.extractIdentifiers = i.extractIdentifiers, e.generateCodeFrame = i.generateCodeFrame, e.isInDestructureAssignment = i.isInDestructureAssignment, e.isStaticProperty = i.isStaticProperty, e.walkIdentifiers = i.walkIdentifiers, e.MagicString = E, e.babelParse = x.parse, e.compileScript = function(S, y) {
|
|
27503
27511
|
var T;
|
|
27504
27512
|
y.id || pr("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");
|
|
27505
|
-
const P = new
|
|
27513
|
+
const P = new Jp(S, y), { script: L, scriptSetup: R, source: $, filename: Y } = S, re = y.hoistStatic !== !1 && !L, ce = y.id ? y.id.replace(/^data-v-/, "") : "", ae = L && L.lang, ue = R && R.lang;
|
|
27506
27514
|
if (!R) {
|
|
27507
27515
|
if (!L) throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");
|
|
27508
27516
|
return function(tt, Tt) {
|
|
@@ -27511,7 +27519,7 @@ To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502
|
|
|
27511
27519
|
if (st.lang && !tt.isJS && !tt.isTS) return st;
|
|
27512
27520
|
try {
|
|
27513
27521
|
let ht = st.content, _t = st.map;
|
|
27514
|
-
const ot = tt.scriptAst, zt =
|
|
27522
|
+
const ot = tt.scriptAst, zt = Fc(ot.body), { cssVars: Sr } = tt.descriptor, { genDefaultAs: Nr, isProd: lr } = tt.options;
|
|
27515
27523
|
if (Sr.length || Nr) {
|
|
27516
27524
|
const Vr = Nr || aa, On = new E(ht);
|
|
27517
27525
|
rl(ot.body, On, Vr), ht = On.toString(), Sr.length && !((ft = tt.options.templateOptions) != null && ft.ssr) && (ht += function(gr, Xt, Or, vr, $n) {
|
|
@@ -27600,11 +27608,11 @@ const ${aa} = ${Tt.local.name}
|
|
|
27600
27608
|
for (const tt of rt.body) {
|
|
27601
27609
|
if (tt.type === "ExpressionStatement") {
|
|
27602
27610
|
const ft = t.unwrapTSNode(tt.expression);
|
|
27603
|
-
if (vl(P, ft) ||
|
|
27604
|
-
else if (
|
|
27611
|
+
if (vl(P, ft) || xu(P, ft) || Au(P, ft) || Pu(P, ft)) P.s.remove(tt.start + Te, tt.end + Te);
|
|
27612
|
+
else if (Lf(P, ft)) {
|
|
27605
27613
|
const st = ft.callee;
|
|
27606
27614
|
P.s.overwrite(st.start + Te, st.end + Te, "__expose");
|
|
27607
|
-
} else
|
|
27615
|
+
} else vu(P, ft);
|
|
27608
27616
|
}
|
|
27609
27617
|
if (tt.type === "VariableDeclaration" && !tt.declare) {
|
|
27610
27618
|
const ft = tt.declarations.length;
|
|
@@ -27612,9 +27620,9 @@ const ${aa} = ${Tt.local.name}
|
|
|
27612
27620
|
for (let _t = 0; _t < ft; _t++) {
|
|
27613
27621
|
const ot = tt.declarations[_t], zt = ot.init && t.unwrapTSNode(ot.init);
|
|
27614
27622
|
if (zt) {
|
|
27615
|
-
|
|
27616
|
-
const Sr = vl(P, zt, ot.id), Nr = !Sr &&
|
|
27617
|
-
if (!Nr && (
|
|
27623
|
+
Au(P, zt) && P.error(`${ri}() has no returning value, it cannot be assigned.`, tt);
|
|
27624
|
+
const Sr = vl(P, zt, ot.id), Nr = !Sr && xu(P, zt, ot.id);
|
|
27625
|
+
if (!Nr && (Pu(P, zt, ot.id) || vu(P, zt, ot.id)), Sr && !P.propsDestructureRestId && P.propsDestructureDecl) if (ht === 1) P.s.remove(tt.start + Te, tt.end + Te);
|
|
27618
27626
|
else {
|
|
27619
27627
|
let lr = ot.start + Te, Vr = ot.end + Te;
|
|
27620
27628
|
_t === ft - 1 ? lr = tt.declarations[st].end + Te : Vr = tt.declarations[_t + 1].start + Te, P.s.remove(lr, Vr), ht--;
|
|
@@ -27630,7 +27638,7 @@ const ${aa} = ${Tt.local.name}
|
|
|
27630
27638
|
if (t.isFunctionType(st) && this.skip(), st.type === "BlockStatement" && ft.push(st.body), st.type === "AwaitExpression") {
|
|
27631
27639
|
Be = !0;
|
|
27632
27640
|
const _t = ft[ft.length - 1].some((ot, zt) => (ft.length === 1 || zt > 0) && ot.type === "ExpressionStatement" && ot.start === st.start);
|
|
27633
|
-
|
|
27641
|
+
Mf(P, st, _t, ht.type === "ExpressionStatement");
|
|
27634
27642
|
}
|
|
27635
27643
|
}, exit(st) {
|
|
27636
27644
|
st.type === "BlockStatement" && ft.pop();
|
|
@@ -27684,7 +27692,7 @@ const ${aa} = ${Tt.local.name}
|
|
|
27684
27692
|
} });
|
|
27685
27693
|
}(P, pt), ze(P.propsRuntimeDecl, as), ze(P.propsRuntimeDefaults, as), ze(P.propsDestructureDecl, as), ze(P.emitsRuntimeDecl, ki), ze(P.optionsRuntimeDecl, ri);
|
|
27686
27694
|
for (const { runtimeOptionNodes: tt } of Object.values(P.modelDecls)) for (const Tt of tt) ze(Tt, bl);
|
|
27687
|
-
L ? Te < Ce ? (P.s.remove(0, Te), P.s.remove(Re, Ce), P.s.remove(de, $.length)) : (P.s.remove(0, Ce), P.s.remove(de, Te), P.s.remove(Re, $.length)) : (P.s.remove(0, Te), P.s.remove(Re, $.length)), Qe && Object.assign(P.bindingMetadata,
|
|
27695
|
+
L ? Te < Ce ? (P.s.remove(0, Te), P.s.remove(Re, Ce), P.s.remove(de, $.length)) : (P.s.remove(0, Ce), P.s.remove(de, Te), P.s.remove(Re, $.length)) : (P.s.remove(0, Te), P.s.remove(Re, $.length)), Qe && Object.assign(P.bindingMetadata, Fc(Qe.body));
|
|
27688
27696
|
for (const [tt, { isType: Tt, imported: ft, source: st }] of Object.entries(P.userImports)) Tt || (P.bindingMetadata[tt] = ft === "*" || ft === "default" && st.endsWith(".vue") || st === "vue" ? "setup-const" : "setup-maybe-ref");
|
|
27689
27697
|
for (const tt in Q) P.bindingMetadata[tt] = Q[tt];
|
|
27690
27698
|
for (const tt in ie) P.bindingMetadata[tt] = ie[tt];
|
|
@@ -27749,7 +27757,7 @@ return __returned__
|
|
|
27749
27757
|
if (Tt = tt.getString(tt.propsRuntimeDecl).trim(), tt.propsDestructureDecl) {
|
|
27750
27758
|
const st = [];
|
|
27751
27759
|
for (const ht in tt.propsDestructuredBindings) {
|
|
27752
|
-
const _t =
|
|
27760
|
+
const _t = Su(tt, ht), ot = le(ht);
|
|
27753
27761
|
_t && st.push(`${ot}: ${_t.valueString}${_t.needSkipFactory ? `, __skip_${ot}: true` : ""}`);
|
|
27754
27762
|
}
|
|
27755
27763
|
st.length && (Tt = `/*#__PURE__*/${tt.helper("mergeDefaults")}(${Tt}, {
|
|
@@ -27757,7 +27765,7 @@ return __returned__
|
|
|
27757
27765
|
`)}
|
|
27758
27766
|
})`);
|
|
27759
27767
|
}
|
|
27760
|
-
} else tt.propsTypeDecl && (Tt =
|
|
27768
|
+
} else tt.propsTypeDecl && (Tt = Eu(tt));
|
|
27761
27769
|
const ft = function(st) {
|
|
27762
27770
|
if (!st.hasDefineModelCall) return;
|
|
27763
27771
|
const ht = !!st.options.isProd;
|
|
@@ -27786,7 +27794,7 @@ return __returned__
|
|
|
27786
27794
|
let Tt = "";
|
|
27787
27795
|
if (tt.emitsRuntimeDecl) Tt = tt.getString(tt.emitsRuntimeDecl).trim();
|
|
27788
27796
|
else if (tt.emitsTypeDecl) {
|
|
27789
|
-
const ft =
|
|
27797
|
+
const ft = Tu(tt);
|
|
27790
27798
|
Tt = ft.size ? `[${Array.from(ft).map((st) => JSON.stringify(st)).join(", ")}]` : "";
|
|
27791
27799
|
}
|
|
27792
27800
|
if (tt.hasDefineModelCall) {
|
|
@@ -27819,14 +27827,14 @@ ${Kt}`), P.s.appendRight(Re, "}"));
|
|
|
27819
27827
|
return P.helperImports.size > 0 && P.s.prepend(`import { ${[...P.helperImports].map((tt) => `${tt} as _${tt}`).join(", ")} } from 'vue'
|
|
27820
27828
|
`), { ...R, bindings: P.bindingMetadata, imports: P.userImports, content: P.s.toString(), map: y.sourceMap !== !1 ? P.s.generateMap({ source: Y, hires: !0, includeContent: !0 }) : void 0, scriptAst: Qe == null ? void 0 : Qe.body, scriptSetupAst: rt == null ? void 0 : rt.body, deps: P.deps ? [...P.deps] : void 0 };
|
|
27821
27829
|
}, e.compileStyle = function(S) {
|
|
27822
|
-
return
|
|
27830
|
+
return Rc({ ...S, isAsync: !1 });
|
|
27823
27831
|
}, e.compileStyleAsync = function(S) {
|
|
27824
|
-
return
|
|
27825
|
-
}, e.compileTemplate = fr, e.errorMessages =
|
|
27832
|
+
return Rc({ ...S, isAsync: !0 });
|
|
27833
|
+
}, e.compileTemplate = fr, e.errorMessages = Rf, e.extractRuntimeEmits = Tu, e.extractRuntimeProps = Eu, e.inferRuntimeType = Ts, e.invalidateTypeCache = function(S) {
|
|
27826
27834
|
S = Pe(S), dl.delete(S), uo.delete(S);
|
|
27827
|
-
const y =
|
|
27835
|
+
const y = uu.get(S);
|
|
27828
27836
|
y && uo.delete(y);
|
|
27829
|
-
}, e.parse = fn, e.parseCache =
|
|
27837
|
+
}, e.parse = fn, e.parseCache = Bf, e.registerTS = function(S) {
|
|
27830
27838
|
Na = () => {
|
|
27831
27839
|
try {
|
|
27832
27840
|
return S();
|
|
@@ -27837,7 +27845,7 @@ ${Kt}`), P.s.appendRight(Re, "}"));
|
|
|
27837
27845
|
}, e.resolveTypeElements = is, e.rewriteDefault = function(S, y, T) {
|
|
27838
27846
|
const P = x.parse(S, { sourceType: "module", plugins: io("js", T) }).program.body, L = new E(S);
|
|
27839
27847
|
return rl(P, L, y), L.toString();
|
|
27840
|
-
}, e.rewriteDefaultAST = rl, e.shouldTransformRef = () => !1, e.version = "3.4.15", e.walk =
|
|
27848
|
+
}, e.rewriteDefaultAST = rl, e.shouldTransformRef = () => !1, e.version = "3.4.15", e.walk = Ff;
|
|
27841
27849
|
}, (q, e, l) => {
|
|
27842
27850
|
q.exports = l(502);
|
|
27843
27851
|
}, (q, e, l) => {
|
|
@@ -41861,13 +41869,13 @@ const Kd = /* @__PURE__ */ fa({
|
|
|
41861
41869
|
hoistStatic: !0
|
|
41862
41870
|
},
|
|
41863
41871
|
moduleCache: {
|
|
41864
|
-
vue:
|
|
41872
|
+
vue: Hf,
|
|
41865
41873
|
"vue-router": od,
|
|
41866
41874
|
"await-to-js": Nl,
|
|
41867
|
-
"@utogether/utils":
|
|
41875
|
+
"@utogether/utils": Qf,
|
|
41868
41876
|
"@utogether/udp-core": sd,
|
|
41869
41877
|
"xe-utils": ld,
|
|
41870
|
-
dayjs:
|
|
41878
|
+
dayjs: ju,
|
|
41871
41879
|
echarts: hd,
|
|
41872
41880
|
"vxe-pc-ui": dd
|
|
41873
41881
|
},
|
|
@@ -41880,7 +41888,7 @@ const Kd = /* @__PURE__ */ fa({
|
|
|
41880
41888
|
}), s = document.head.getElementsByTagName("style")[0] || null;
|
|
41881
41889
|
document.head.insertBefore(t, s);
|
|
41882
41890
|
}
|
|
41883
|
-
}, f =
|
|
41891
|
+
}, f = Jf(async () => await Hd(`${window.origin}${l ? "/" + l : ""}${e.data.url}.vue`, r));
|
|
41884
41892
|
return (i, t) => (Zr(), vs(xo(f)));
|
|
41885
41893
|
}
|
|
41886
41894
|
}), zd = {
|
|
@@ -41919,7 +41927,7 @@ const Kd = /* @__PURE__ */ fa({
|
|
|
41919
41927
|
})]);
|
|
41920
41928
|
};
|
|
41921
41929
|
}
|
|
41922
|
-
}), Jd = "2.0.0-beta.
|
|
41930
|
+
}), Jd = "2.0.0-beta.6", Yd = {
|
|
41923
41931
|
version: Jd
|
|
41924
41932
|
}, Qd = { class: "ut-home m-3" }, Zd = {
|
|
41925
41933
|
key: 0,
|
|
@@ -41931,7 +41939,7 @@ const Kd = /* @__PURE__ */ fa({
|
|
|
41931
41939
|
name: "UdpWelcome",
|
|
41932
41940
|
__name: "su-welcome",
|
|
41933
41941
|
setup(q) {
|
|
41934
|
-
const e =
|
|
41942
|
+
const e = Mu(), l = Vn([]), r = Vn([]), f = Vn({ UserProfile: !1, ToDo: !1, FavorityMenu: !1, Calendar: !1, LoginInfo: !1 }), i = Yf(() => {
|
|
41935
41943
|
var b;
|
|
41936
41944
|
return (b = e.getUserInfo.name) == null ? void 0 : b.slice(0, 1);
|
|
41937
41945
|
}), t = Vn(!0), s = () => {
|
|
@@ -41941,10 +41949,10 @@ const Kd = /* @__PURE__ */ fa({
|
|
|
41941
41949
|
var E;
|
|
41942
41950
|
return e.isAdminRole ? "【系统管理员】拥有所有组织" : (E = e.getOrglist) == null ? void 0 : E.map((x) => x.orgName).join(",");
|
|
41943
41951
|
}, u = () => {
|
|
41944
|
-
const b = Number(
|
|
41952
|
+
const b = Number(ju().format("HH"));
|
|
41945
41953
|
return b < 12 ? "上午好" : b < 18 ? "下午好" : "晚上好";
|
|
41946
41954
|
}, a = () => {
|
|
41947
|
-
const b = /* @__PURE__ */ new Date(), E =
|
|
41955
|
+
const b = /* @__PURE__ */ new Date(), E = nd.solar2lunar(b.getFullYear(), b.getMonth() + 1, b.getDate()), { gzYear: x, IMonthCn: I, IDayCn: m, cMonth: O, cDay: h, ncWeek: C } = E;
|
|
41948
41956
|
return `${O}月${h}日 ${x}${I}${m} ${C}`;
|
|
41949
41957
|
}, c = () => {
|
|
41950
41958
|
var x;
|