@vtj/parser 0.19.3 → 0.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +15 -15
- package/dist/index.mjs +266 -265
- package/package.json +3 -3
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { parse as Uu, compileTemplate as Gu } from "@vue/compiler-sfc";
|
|
2
|
-
import { parse as
|
|
2
|
+
import { parse as xe } from "@babel/parser";
|
|
3
3
|
import vu from "@babel/traverse";
|
|
4
4
|
import Eu from "@babel/generator";
|
|
5
5
|
import { BlockModel as Hu } from "@vtj/core";
|
|
6
|
-
import { GLOBAL_API_MAP as gu, UI_PACKAGES as
|
|
6
|
+
import { GLOBAL_API_MAP as gu, UI_PACKAGES as ge, UI_GLOBAL_API_MAPS as Wu, tsFormatter as nu } from "@vtj/coder";
|
|
7
7
|
import { NodeTypes as w } from "@vue/compiler-core";
|
|
8
|
-
import { upperFirstCamelCase as
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
8
|
+
import { upperFirstCamelCase as ye, unBase64 as Se, uid as su } from "@vtj/base";
|
|
9
|
+
import ve from "postcss";
|
|
10
|
+
import * as Ee from "sass";
|
|
11
11
|
import * as q from "@babel/types";
|
|
12
12
|
/**!
|
|
13
13
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
14
14
|
* @name @vtj/parser
|
|
15
15
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
16
|
-
* @version 0.19.
|
|
16
|
+
* @version 0.19.4
|
|
17
17
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const b0 = "0.19.4";
|
|
20
20
|
function M(e) {
|
|
21
21
|
const { descriptor: u, errors: t } = Uu(e), a = u.template?.content || "", r = !!u.scriptSetup, n = (u.scriptSetup || u.script)?.content || "", s = u.styles.map((i) => i.content);
|
|
22
22
|
return {
|
|
@@ -28,7 +28,7 @@ function M(e) {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
function _(e) {
|
|
31
|
-
return
|
|
31
|
+
return xe(e, { sourceType: "module", plugins: ["typescript"] });
|
|
32
32
|
}
|
|
33
33
|
function J(e, u) {
|
|
34
34
|
return (vu.default || vu)(e, u);
|
|
@@ -48,7 +48,7 @@ function A(e) {
|
|
|
48
48
|
return console.error("代码生成错误", u), "";
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const we = /* @__PURE__ */ new Set([
|
|
52
52
|
"TSAsExpression",
|
|
53
53
|
"TSTypeAssertion",
|
|
54
54
|
"TSNonNullExpression"
|
|
@@ -59,7 +59,7 @@ function ru(e) {
|
|
|
59
59
|
for (const u of e) ru(u);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (we.has(e.type) && e.expression) {
|
|
63
63
|
const u = e.expression;
|
|
64
64
|
ru(u);
|
|
65
65
|
const t = {
|
|
@@ -80,13 +80,13 @@ function ru(e) {
|
|
|
80
80
|
function iu(e) {
|
|
81
81
|
return !!e && e.type === "JSExpression";
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Ie(e) {
|
|
84
84
|
return typeof e == "object" && !!e && e.type === "JSFunction";
|
|
85
85
|
}
|
|
86
86
|
function du(e) {
|
|
87
|
-
return !!iu(e) || !!
|
|
87
|
+
return !!iu(e) || !!Ie(e);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ae(e) {
|
|
90
90
|
return !!e && !iu(e) && typeof e != "string";
|
|
91
91
|
}
|
|
92
92
|
function Ju(e, u) {
|
|
@@ -97,7 +97,7 @@ function Ju(e, u) {
|
|
|
97
97
|
return "";
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function ke(e) {
|
|
101
101
|
if (!e) return "";
|
|
102
102
|
try {
|
|
103
103
|
const u = _(e);
|
|
@@ -135,7 +135,7 @@ function Ae(e) {
|
|
|
135
135
|
return e;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Te(e, u) {
|
|
139
139
|
const t = [];
|
|
140
140
|
try {
|
|
141
141
|
const { descriptor: a, errors: r } = Uu(e);
|
|
@@ -173,7 +173,7 @@ function ke(e, u) {
|
|
|
173
173
|
}
|
|
174
174
|
return t.length > 0 ? t : null;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function p0(e) {
|
|
177
177
|
const u = M(e), t = _(u.script), a = {};
|
|
178
178
|
return u.styles && (a.css = u.styles[0] || ""), J(t, {
|
|
179
179
|
CallExpression(r) {
|
|
@@ -191,12 +191,12 @@ function b0(e) {
|
|
|
191
191
|
function R(e, u, t) {
|
|
192
192
|
if (!e.includes(u)) return e;
|
|
193
193
|
try {
|
|
194
|
-
return
|
|
194
|
+
return Ne(e, u, t);
|
|
195
195
|
} catch {
|
|
196
196
|
return e;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function Ne(e, u, t) {
|
|
200
200
|
let a, r = 0;
|
|
201
201
|
try {
|
|
202
202
|
a = _(e);
|
|
@@ -214,7 +214,7 @@ function Te(e, u, t) {
|
|
|
214
214
|
Identifier(i) {
|
|
215
215
|
const o = i.node;
|
|
216
216
|
if (o.name !== u) return;
|
|
217
|
-
const c =
|
|
217
|
+
const c = qe(i);
|
|
218
218
|
if (c === "skip") return;
|
|
219
219
|
const d = (o.start ?? 0) - r, l = (o.end ?? 0) - r;
|
|
220
220
|
if (d < 0 || l > e.length) return;
|
|
@@ -222,10 +222,10 @@ function Te(e, u, t) {
|
|
|
222
222
|
n.some((b) => b.start === d && b.end === l) || n.push({ start: d, end: l, text: p });
|
|
223
223
|
},
|
|
224
224
|
StringLiteral(i) {
|
|
225
|
-
|
|
225
|
+
je(i, u, t, r, e, n);
|
|
226
226
|
},
|
|
227
227
|
TemplateLiteral(i) {
|
|
228
|
-
|
|
228
|
+
Ve(i, u, t, r, e, n);
|
|
229
229
|
},
|
|
230
230
|
MemberExpression(i) {
|
|
231
231
|
wu(i, u, t, r, e, n);
|
|
@@ -240,7 +240,7 @@ function Te(e, u, t) {
|
|
|
240
240
|
s = s.slice(0, i) + c + s.slice(o);
|
|
241
241
|
return s;
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function je(e, u, t, a, r, n) {
|
|
244
244
|
const s = e.node;
|
|
245
245
|
if (!s.value.includes(u)) return;
|
|
246
246
|
const i = e.parent;
|
|
@@ -255,7 +255,7 @@ function Ne(e, u, t, a, r, n) {
|
|
|
255
255
|
p >= 0 && b <= r.length && !n.some((m) => m.start === p && m.end === b) && n.push({ start: p, end: b, text: t }), c = d + u.length;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function Ve(e, u, t, a, r, n) {
|
|
259
259
|
const s = e.parent;
|
|
260
260
|
if (s?.type !== "NewExpression" || s?.callee?.name !== "RegExp")
|
|
261
261
|
return;
|
|
@@ -281,7 +281,7 @@ function wu(e, u, t, a, r, n) {
|
|
|
281
281
|
const i = (s.start ?? 0) - a, o = (s.end ?? 0) - a;
|
|
282
282
|
i < 0 || o > r.length || n.some((c) => c.start === i && c.end === o) || n.push({ start: i, end: o, text: t });
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function qe(e, u) {
|
|
285
285
|
const t = e.parent, a = t?.type ?? "", r = e.parentPath?.parent;
|
|
286
286
|
switch (a) {
|
|
287
287
|
// 成员访问 obj.key / obj[key] / obj?.key / obj?.[key]
|
|
@@ -388,9 +388,9 @@ function Ve(e, u) {
|
|
|
388
388
|
break;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
return
|
|
391
|
+
return De(e) || Re(e) ? "skip" : "replace";
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function De(e) {
|
|
394
394
|
let u = e.parentPath;
|
|
395
395
|
for (; u; ) {
|
|
396
396
|
const t = u.node, a = t?.type ?? "";
|
|
@@ -402,7 +402,7 @@ function qe(e) {
|
|
|
402
402
|
}
|
|
403
403
|
return !1;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
405
|
+
function Re(e) {
|
|
406
406
|
let u = e.parentPath;
|
|
407
407
|
for (; u; ) {
|
|
408
408
|
const t = u.node?.type ?? "";
|
|
@@ -451,7 +451,7 @@ function C(e) {
|
|
|
451
451
|
value: e
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
const
|
|
454
|
+
const Ce = [
|
|
455
455
|
"beforeCreate",
|
|
456
456
|
"created",
|
|
457
457
|
"beforeMount",
|
|
@@ -465,16 +465,16 @@ const Re = [
|
|
|
465
465
|
"renderTriggered",
|
|
466
466
|
"activated",
|
|
467
467
|
"deactivated"
|
|
468
|
-
],
|
|
468
|
+
], _e = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot,svg,path,circle,rect,polygon".split(
|
|
469
469
|
","
|
|
470
|
-
),
|
|
470
|
+
), Le = "component,slot,template".split(","), Pe = "view,swiper,progress,icon,text,button,checkbox,editor,form,input,label,picker,radio,slider,switch,textarea,audio,camera,image,video,map,canvas".split(
|
|
471
471
|
","
|
|
472
472
|
);
|
|
473
|
-
function
|
|
474
|
-
return u === "uniapp" &&
|
|
473
|
+
function Me(e, u = "web") {
|
|
474
|
+
return u === "uniapp" && Pe.includes(e);
|
|
475
475
|
}
|
|
476
476
|
function Xu(e, u = "web") {
|
|
477
|
-
return (
|
|
477
|
+
return (_e.includes(e) || Le.includes(e)) && !Me(e, u) ? e : ye(e);
|
|
478
478
|
}
|
|
479
479
|
function zu(e) {
|
|
480
480
|
return e.replace(/\s+/g, " ").split(";").reduce((t, a) => {
|
|
@@ -482,7 +482,7 @@ function zu(e) {
|
|
|
482
482
|
return r && n && (t[r] = n), t;
|
|
483
483
|
}, {});
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Oe(e, u, t) {
|
|
486
486
|
if (t === "ObjectExpression")
|
|
487
487
|
return `(Object.assign({${e.split(" ").map((r) => `'${r}': true`).join(",")}}, ${u}))`;
|
|
488
488
|
if (t === "ArrayExpression")
|
|
@@ -491,20 +491,20 @@ function Me(e, u, t) {
|
|
|
491
491
|
function Zu(e = "") {
|
|
492
492
|
const t = e.trim().match(/DataSource:\s*([^\n=]+={0,2})/)?.[1] || "";
|
|
493
493
|
try {
|
|
494
|
-
return t ? JSON.parse(
|
|
494
|
+
return t ? JSON.parse(Se(t)) : null;
|
|
495
495
|
} catch (a) {
|
|
496
496
|
return console.warn("extractDataSource fail", a), null;
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
const
|
|
499
|
+
const Be = /* @__PURE__ */ new Uint16Array(
|
|
500
500
|
// prettier-ignore
|
|
501
501
|
/* @__PURE__ */ 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e) => e.charCodeAt(0))
|
|
502
|
-
),
|
|
502
|
+
), Fe = /* @__PURE__ */ new Uint16Array(
|
|
503
503
|
// prettier-ignore
|
|
504
504
|
/* @__PURE__ */ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
|
505
505
|
);
|
|
506
506
|
var fu;
|
|
507
|
-
const
|
|
507
|
+
const $e = /* @__PURE__ */ new Map([
|
|
508
508
|
[0, 65533],
|
|
509
509
|
// C1 Unicode control character reference replacements
|
|
510
510
|
[128, 8364],
|
|
@@ -541,15 +541,15 @@ const Fe = /* @__PURE__ */ new Map([
|
|
|
541
541
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
|
542
542
|
}
|
|
543
543
|
);
|
|
544
|
-
function
|
|
544
|
+
function Ue(e) {
|
|
545
545
|
var u;
|
|
546
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
|
546
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = $e.get(e)) !== null && u !== void 0 ? u : e;
|
|
547
547
|
}
|
|
548
548
|
var V;
|
|
549
549
|
(function(e) {
|
|
550
550
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
551
551
|
})(V || (V = {}));
|
|
552
|
-
const
|
|
552
|
+
const Ge = 32;
|
|
553
553
|
var W;
|
|
554
554
|
(function(e) {
|
|
555
555
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
@@ -557,14 +557,14 @@ var W;
|
|
|
557
557
|
function pu(e) {
|
|
558
558
|
return e >= V.ZERO && e <= V.NINE;
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function He(e) {
|
|
561
561
|
return e >= V.UPPER_A && e <= V.UPPER_F || e >= V.LOWER_A && e <= V.LOWER_F;
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function We(e) {
|
|
564
564
|
return e >= V.UPPER_A && e <= V.UPPER_Z || e >= V.LOWER_A && e <= V.LOWER_Z || pu(e);
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
return e === V.EQUALS ||
|
|
566
|
+
function Je(e) {
|
|
567
|
+
return e === V.EQUALS || We(e);
|
|
568
568
|
}
|
|
569
569
|
var j;
|
|
570
570
|
(function(e) {
|
|
@@ -574,7 +574,7 @@ var O;
|
|
|
574
574
|
(function(e) {
|
|
575
575
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
576
576
|
})(O || (O = {}));
|
|
577
|
-
class
|
|
577
|
+
class Xe {
|
|
578
578
|
constructor(u, t, a) {
|
|
579
579
|
this.decodeTree = u, this.emitCodePoint = t, this.errors = a, this.state = j.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = O.Strict;
|
|
580
580
|
}
|
|
@@ -617,7 +617,7 @@ class Je {
|
|
|
617
617
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
618
618
|
*/
|
|
619
619
|
stateNumericStart(u, t) {
|
|
620
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
|
620
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Ge) === V.LOWER_X ? (this.state = j.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = j.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
621
621
|
}
|
|
622
622
|
addToNumericResult(u, t, a, r) {
|
|
623
623
|
if (t !== a) {
|
|
@@ -638,7 +638,7 @@ class Je {
|
|
|
638
638
|
const a = t;
|
|
639
639
|
for (; t < u.length; ) {
|
|
640
640
|
const r = u.charCodeAt(t);
|
|
641
|
-
if (pu(r) ||
|
|
641
|
+
if (pu(r) || He(r))
|
|
642
642
|
t += 1;
|
|
643
643
|
else
|
|
644
644
|
return this.addToNumericResult(u, a, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -686,7 +686,7 @@ class Je {
|
|
|
686
686
|
this.consumed += 1;
|
|
687
687
|
else if (this.decodeMode === O.Strict)
|
|
688
688
|
return 0;
|
|
689
|
-
return this.emitCodePoint(
|
|
689
|
+
return this.emitCodePoint(Ue(this.result), this.consumed), this.errors && (u !== V.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
690
690
|
}
|
|
691
691
|
/**
|
|
692
692
|
* Parses a named entity.
|
|
@@ -702,11 +702,11 @@ class Je {
|
|
|
702
702
|
let r = a[this.treeIndex], n = (r & W.VALUE_LENGTH) >> 14;
|
|
703
703
|
for (; t < u.length; t++, this.excess++) {
|
|
704
704
|
const s = u.charCodeAt(t);
|
|
705
|
-
if (this.treeIndex =
|
|
705
|
+
if (this.treeIndex = ze(a, r, this.treeIndex + Math.max(1, n), s), this.treeIndex < 0)
|
|
706
706
|
return this.result === 0 || // If we are parsing an attribute
|
|
707
707
|
this.decodeMode === O.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
708
708
|
(n === 0 || // And there should be no invalid characters.
|
|
709
|
-
|
|
709
|
+
Je(s)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
710
710
|
if (r = a[this.treeIndex], n = (r & W.VALUE_LENGTH) >> 14, n !== 0) {
|
|
711
711
|
if (s === V.SEMI)
|
|
712
712
|
return this.emitNamedEntityData(this.treeIndex, n, this.consumed + this.excess);
|
|
@@ -762,7 +762,7 @@ class Je {
|
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function ze(e, u, t, a) {
|
|
766
766
|
const r = (u & W.BRANCH_LENGTH) >> 7, n = u & W.JUMP_TABLE;
|
|
767
767
|
if (r === 0)
|
|
768
768
|
return n !== 0 && a === n ? t : -1;
|
|
@@ -796,7 +796,7 @@ function U(e) {
|
|
|
796
796
|
function au(e) {
|
|
797
797
|
return e === y.Slash || e === y.Gt || U(e);
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function Ze(e) {
|
|
800
800
|
return e >= y.LowerA && e <= y.LowerZ || e >= y.UpperA && e <= y.UpperZ;
|
|
801
801
|
}
|
|
802
802
|
var B;
|
|
@@ -832,9 +832,9 @@ const N = {
|
|
|
832
832
|
XmpEnd: new Uint8Array([60, 47, 120, 109, 112])
|
|
833
833
|
// `</xmp`
|
|
834
834
|
};
|
|
835
|
-
class
|
|
835
|
+
class Qe {
|
|
836
836
|
constructor({ xmlMode: u = !1, decodeEntities: t = !0 }, a) {
|
|
837
|
-
this.cbs = a, this.state = f.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = f.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.xmlMode = u, this.decodeEntities = t, this.entityDecoder = new
|
|
837
|
+
this.cbs = a, this.state = f.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = f.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.xmlMode = u, this.decodeEntities = t, this.entityDecoder = new Xe(u ? Fe : Be, (r, n) => this.emitCodePoint(r, n));
|
|
838
838
|
}
|
|
839
839
|
reset() {
|
|
840
840
|
this.state = f.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = f.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
|
|
@@ -919,7 +919,7 @@ class Ze {
|
|
|
919
919
|
* We allow anything that wouldn't end the tag.
|
|
920
920
|
*/
|
|
921
921
|
isTagStartChar(u) {
|
|
922
|
-
return this.xmlMode ? !au(u) :
|
|
922
|
+
return this.xmlMode ? !au(u) : Ze(u);
|
|
923
923
|
}
|
|
924
924
|
startSpecial(u, t) {
|
|
925
925
|
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state = f.SpecialStartSequence;
|
|
@@ -1164,7 +1164,7 @@ const z = /* @__PURE__ */ new Set([
|
|
|
1164
1164
|
"button",
|
|
1165
1165
|
"datalist",
|
|
1166
1166
|
"textarea"
|
|
1167
|
-
]), T = /* @__PURE__ */ new Set(["p"]), ku = /* @__PURE__ */ new Set(["thead", "tbody"]), Tu = /* @__PURE__ */ new Set(["dd", "dt"]), Nu = /* @__PURE__ */ new Set(["rt", "rp"]),
|
|
1167
|
+
]), T = /* @__PURE__ */ new Set(["p"]), ku = /* @__PURE__ */ new Set(["thead", "tbody"]), Tu = /* @__PURE__ */ new Set(["dd", "dt"]), Nu = /* @__PURE__ */ new Set(["rt", "rp"]), Ke = /* @__PURE__ */ new Map([
|
|
1168
1168
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
|
1169
1169
|
["th", /* @__PURE__ */ new Set(["th"])],
|
|
1170
1170
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
|
@@ -1212,7 +1212,7 @@ const z = /* @__PURE__ */ new Set([
|
|
|
1212
1212
|
["rp", Nu],
|
|
1213
1213
|
["tbody", ku],
|
|
1214
1214
|
["tfoot", ku]
|
|
1215
|
-
]),
|
|
1215
|
+
]), Ye = /* @__PURE__ */ new Set([
|
|
1216
1216
|
"area",
|
|
1217
1217
|
"base",
|
|
1218
1218
|
"basefont",
|
|
@@ -1242,11 +1242,11 @@ const z = /* @__PURE__ */ new Set([
|
|
|
1242
1242
|
"foreignobject",
|
|
1243
1243
|
"desc",
|
|
1244
1244
|
"title"
|
|
1245
|
-
]),
|
|
1246
|
-
class
|
|
1245
|
+
]), ut = /\s|\//;
|
|
1246
|
+
class et {
|
|
1247
1247
|
constructor(u, t = {}) {
|
|
1248
1248
|
var a, r, n, s, i, o;
|
|
1249
|
-
this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = u ?? {}, this.htmlMode = !this.options.xmlMode, this.lowerCaseTagNames = (a = t.lowerCaseTags) !== null && a !== void 0 ? a : this.htmlMode, this.lowerCaseAttributeNames = (r = t.lowerCaseAttributeNames) !== null && r !== void 0 ? r : this.htmlMode, this.recognizeSelfClosing = (n = t.recognizeSelfClosing) !== null && n !== void 0 ? n : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s :
|
|
1249
|
+
this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = u ?? {}, this.htmlMode = !this.options.xmlMode, this.lowerCaseTagNames = (a = t.lowerCaseTags) !== null && a !== void 0 ? a : this.htmlMode, this.lowerCaseAttributeNames = (r = t.lowerCaseAttributeNames) !== null && r !== void 0 ? r : this.htmlMode, this.recognizeSelfClosing = (n = t.recognizeSelfClosing) !== null && n !== void 0 ? n : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s : Qe)(this.options, this), this.foreignContext = [!this.htmlMode], (o = (i = this.cbs).onparserinit) === null || o === void 0 || o.call(i, this);
|
|
1250
1250
|
}
|
|
1251
1251
|
// Tokenizer event handlers
|
|
1252
1252
|
/** @internal */
|
|
@@ -1265,7 +1265,7 @@ class ut {
|
|
|
1265
1265
|
* to specify your own additional void elements.
|
|
1266
1266
|
*/
|
|
1267
1267
|
isVoidElement(u) {
|
|
1268
|
-
return this.htmlMode &&
|
|
1268
|
+
return this.htmlMode && Ye.has(u);
|
|
1269
1269
|
}
|
|
1270
1270
|
/** @internal */
|
|
1271
1271
|
onopentagname(u, t) {
|
|
@@ -1276,7 +1276,7 @@ class ut {
|
|
|
1276
1276
|
emitOpenTag(u) {
|
|
1277
1277
|
var t, a, r, n;
|
|
1278
1278
|
this.openTagStart = this.startIndex, this.tagname = u;
|
|
1279
|
-
const s = this.htmlMode &&
|
|
1279
|
+
const s = this.htmlMode && Ke.get(u);
|
|
1280
1280
|
if (s)
|
|
1281
1281
|
for (; this.stack.length > 0 && s.has(this.stack[0]); ) {
|
|
1282
1282
|
const i = this.stack.shift();
|
|
@@ -1339,7 +1339,7 @@ class ut {
|
|
|
1339
1339
|
this.endIndex = t, (r = (a = this.cbs).onattribute) === null || r === void 0 || r.call(a, this.attribname, this.attribvalue, u === B.Double ? '"' : u === B.Single ? "'" : u === B.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
|
|
1340
1340
|
}
|
|
1341
1341
|
getInstructionName(u) {
|
|
1342
|
-
const t = u.search(
|
|
1342
|
+
const t = u.search(ut);
|
|
1343
1343
|
let a = t < 0 ? u : u.substr(0, t);
|
|
1344
1344
|
return this.lowerCaseTagNames && (a = a.toLowerCase()), a;
|
|
1345
1345
|
}
|
|
@@ -1474,7 +1474,7 @@ class ut {
|
|
|
1474
1474
|
function qu(e, u = "web") {
|
|
1475
1475
|
const t = { name: "", children: [] }, a = [t];
|
|
1476
1476
|
let r = "";
|
|
1477
|
-
const n = new
|
|
1477
|
+
const n = new et(
|
|
1478
1478
|
{
|
|
1479
1479
|
onopentag: (s, i, o) => {
|
|
1480
1480
|
const c = a[a.length - 1];
|
|
@@ -1518,9 +1518,9 @@ function qu(e, u = "web") {
|
|
|
1518
1518
|
);
|
|
1519
1519
|
return n.write(e.replace(/\\"/g, '"')), n.end(), t.children || [];
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function tt(e, u) {
|
|
1522
1522
|
const a = {
|
|
1523
|
-
imports:
|
|
1523
|
+
imports: at(e),
|
|
1524
1524
|
emits: [],
|
|
1525
1525
|
errors: []
|
|
1526
1526
|
}, r = _(e);
|
|
@@ -1537,57 +1537,57 @@ function et(e, u) {
|
|
|
1537
1537
|
), d = o.find(
|
|
1538
1538
|
(l) => l.key.name === "computed"
|
|
1539
1539
|
);
|
|
1540
|
-
d && (a.computed =
|
|
1540
|
+
d && (a.computed = Ku(d.value), a.watchers = ot(d.value));
|
|
1541
1541
|
for (const l of o)
|
|
1542
1542
|
switch (l.key.name) {
|
|
1543
1543
|
case "name":
|
|
1544
1544
|
a.name = l.value.value;
|
|
1545
1545
|
break;
|
|
1546
1546
|
case "methods":
|
|
1547
|
-
a.handlers =
|
|
1547
|
+
a.handlers = ct(l.value), a.methods = it(l.value), a.dataSources = st(
|
|
1548
1548
|
l.value,
|
|
1549
1549
|
u
|
|
1550
1550
|
);
|
|
1551
1551
|
break;
|
|
1552
1552
|
case "watch":
|
|
1553
|
-
a.watch =
|
|
1553
|
+
a.watch = dt(
|
|
1554
1554
|
l.value,
|
|
1555
1555
|
a.watchers
|
|
1556
1556
|
);
|
|
1557
1557
|
break;
|
|
1558
1558
|
case "props":
|
|
1559
|
-
a.props =
|
|
1559
|
+
a.props = bt(l.value);
|
|
1560
1560
|
break;
|
|
1561
1561
|
case "inject":
|
|
1562
|
-
a.inject =
|
|
1562
|
+
a.inject = mt(l.value);
|
|
1563
1563
|
break;
|
|
1564
1564
|
case "expose":
|
|
1565
|
-
a.expose =
|
|
1565
|
+
a.expose = ht(l.value);
|
|
1566
1566
|
break;
|
|
1567
1567
|
case "emits":
|
|
1568
|
-
a.emits =
|
|
1568
|
+
a.emits = xt(l.value);
|
|
1569
1569
|
break;
|
|
1570
1570
|
case "directives":
|
|
1571
|
-
a.directives =
|
|
1571
|
+
a.directives = yt(l.value);
|
|
1572
1572
|
break;
|
|
1573
1573
|
}
|
|
1574
1574
|
for (const l of c)
|
|
1575
1575
|
switch (l.key.name) {
|
|
1576
1576
|
case "setup":
|
|
1577
|
-
a.state =
|
|
1577
|
+
a.state = nt(l.body);
|
|
1578
1578
|
break;
|
|
1579
1579
|
}
|
|
1580
|
-
a.lifeCycles =
|
|
1580
|
+
a.lifeCycles = lt(c);
|
|
1581
1581
|
},
|
|
1582
1582
|
CallExpression(n) {
|
|
1583
|
-
const s =
|
|
1583
|
+
const s = pt(n.node);
|
|
1584
1584
|
if (s.length)
|
|
1585
1585
|
for (let i of s)
|
|
1586
1586
|
a.emits?.find((c) => c.name === i.name) || a.emits?.push(i);
|
|
1587
1587
|
}
|
|
1588
1588
|
}), a;
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function at(e) {
|
|
1591
1591
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, r = [];
|
|
1592
1592
|
let n;
|
|
1593
1593
|
const s = e.replace(/\n/g, " ");
|
|
@@ -1607,7 +1607,7 @@ function tt(e) {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
return r;
|
|
1609
1609
|
}
|
|
1610
|
-
function
|
|
1610
|
+
function rt(e) {
|
|
1611
1611
|
for (const u of e.body)
|
|
1612
1612
|
if (u.type === "VariableDeclaration" && u.kind == "const") {
|
|
1613
1613
|
const { id: t, init: a } = u.declarations[0];
|
|
@@ -1616,8 +1616,8 @@ function at(e) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
return null;
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1620
|
-
const u =
|
|
1619
|
+
function nt(e) {
|
|
1620
|
+
const u = rt(e);
|
|
1621
1621
|
if (!u) return {};
|
|
1622
1622
|
const t = {};
|
|
1623
1623
|
for (const a of u.properties)
|
|
@@ -1664,15 +1664,18 @@ function X(e) {
|
|
|
1664
1664
|
}
|
|
1665
1665
|
}
|
|
1666
1666
|
function Qu(e) {
|
|
1667
|
+
return /return\s+await\s+this\.provider\.apis\['[\w]*'\]\s*\.apply/.test(e) || /return\s+await\s+this\.provider\.createMock/.test(e);
|
|
1668
|
+
}
|
|
1669
|
+
function Ku(e) {
|
|
1667
1670
|
if (!e) return {};
|
|
1668
1671
|
const u = {};
|
|
1669
1672
|
for (const t of e.properties) {
|
|
1670
1673
|
const a = X(t);
|
|
1671
|
-
a && !a.watcher && !
|
|
1674
|
+
a && !a.watcher && !Qu(a.exp.value) && (u[a.name] = a.exp);
|
|
1672
1675
|
}
|
|
1673
1676
|
return u;
|
|
1674
1677
|
}
|
|
1675
|
-
function
|
|
1678
|
+
function st(e, u) {
|
|
1676
1679
|
if (!e) return {};
|
|
1677
1680
|
const t = {}, a = /apis\['([\w]*)'\]/, r = (n) => {
|
|
1678
1681
|
const s = n.indexOf(".then(");
|
|
@@ -1686,62 +1689,62 @@ function nt(e, u) {
|
|
|
1686
1689
|
};
|
|
1687
1690
|
for (const n of e.properties) {
|
|
1688
1691
|
const s = X(n), i = n.body.body?.[0], o = (i?.leadingComments?.[0].value || "").trim(), c = Zu(o);
|
|
1689
|
-
if (s && s.exp.value
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
value: `() => this.runApi({
|
|
1692
|
+
if (s && Qu(s.exp.value)) {
|
|
1693
|
+
if (s.exp.value.includes("this.provider.apis")) {
|
|
1694
|
+
const l = (s.exp.value.match(a) || [])[1];
|
|
1695
|
+
if (!l) continue;
|
|
1696
|
+
const p = gt(u, l), b = r(s.exp.value);
|
|
1697
|
+
t[s.name] = {
|
|
1698
|
+
ref: l,
|
|
1699
|
+
name: s.name,
|
|
1700
|
+
test: c?.test || {
|
|
1701
|
+
type: "JSFunction",
|
|
1702
|
+
value: `() => this.runApi({
|
|
1701
1703
|
/* 在这里可输入接口参数 */
|
|
1702
1704
|
})`
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1705
|
+
},
|
|
1706
|
+
type: "api",
|
|
1707
|
+
label: p?.label || "",
|
|
1708
|
+
transform: {
|
|
1709
|
+
type: "JSFunction",
|
|
1710
|
+
value: b || `(res) => {
|
|
1709
1711
|
return res;
|
|
1710
1712
|
}`
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1713
|
+
},
|
|
1714
|
+
mockTemplate: p?.mockTemplate
|
|
1715
|
+
};
|
|
1716
|
+
}
|
|
1717
|
+
if (s.exp.value.includes("this.provider.createMock")) {
|
|
1718
|
+
const d = i?.declarations?.[0]?.init?.arguments?.[0], l = r(s.exp.value);
|
|
1719
|
+
t[s.name] = {
|
|
1720
|
+
ref: "",
|
|
1721
|
+
name: s.name,
|
|
1722
|
+
test: c?.test || {
|
|
1723
|
+
type: "JSFunction",
|
|
1724
|
+
value: `() => this.runApi({
|
|
1723
1725
|
/* 在这里可输入接口参数 */
|
|
1724
1726
|
})`
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1727
|
+
},
|
|
1728
|
+
type: "mock",
|
|
1729
|
+
label: c?.label || "",
|
|
1730
|
+
transform: c?.transform || {
|
|
1731
|
+
type: "JSFunction",
|
|
1732
|
+
value: l || `(res) => {
|
|
1731
1733
|
return res;
|
|
1732
1734
|
}`
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1735
|
+
},
|
|
1736
|
+
mockTemplate: c?.mockTemplate || {
|
|
1737
|
+
type: "JSFunction",
|
|
1738
|
+
value: d ? A(d) : ""
|
|
1739
|
+
}
|
|
1740
|
+
};
|
|
1741
|
+
}
|
|
1739
1742
|
}
|
|
1740
1743
|
}
|
|
1741
1744
|
return t;
|
|
1742
1745
|
}
|
|
1743
|
-
function
|
|
1744
|
-
const u =
|
|
1746
|
+
function it(e) {
|
|
1747
|
+
const u = Ku(e), t = /\_([\w]{5,})$/, a = {};
|
|
1745
1748
|
for (const r of Object.keys(u))
|
|
1746
1749
|
if (!t.test(r)) {
|
|
1747
1750
|
const n = u[r];
|
|
@@ -1749,7 +1752,7 @@ function st(e) {
|
|
|
1749
1752
|
}
|
|
1750
1753
|
return a;
|
|
1751
1754
|
}
|
|
1752
|
-
function
|
|
1755
|
+
function ct(e) {
|
|
1753
1756
|
if (!e) return {};
|
|
1754
1757
|
const u = {}, t = /\_([\w]{5,})$/;
|
|
1755
1758
|
for (const a of e.properties) {
|
|
@@ -1769,7 +1772,7 @@ function it(e) {
|
|
|
1769
1772
|
}
|
|
1770
1773
|
return u;
|
|
1771
1774
|
}
|
|
1772
|
-
function
|
|
1775
|
+
function ot(e) {
|
|
1773
1776
|
if (!e) return {};
|
|
1774
1777
|
const u = {};
|
|
1775
1778
|
for (const t of e.properties) {
|
|
@@ -1779,9 +1782,9 @@ function ct(e) {
|
|
|
1779
1782
|
return u;
|
|
1780
1783
|
}
|
|
1781
1784
|
function uu(e, u) {
|
|
1782
|
-
return !!
|
|
1785
|
+
return !!Yu(e, u);
|
|
1783
1786
|
}
|
|
1784
|
-
function
|
|
1787
|
+
function Yu(e, u) {
|
|
1785
1788
|
return e?.find(
|
|
1786
1789
|
(a) => a.key?.name === u
|
|
1787
1790
|
)?.value?.value;
|
|
@@ -1793,7 +1796,7 @@ function Du(e, u) {
|
|
|
1793
1796
|
if (t)
|
|
1794
1797
|
return X(t)?.exp;
|
|
1795
1798
|
}
|
|
1796
|
-
function
|
|
1799
|
+
function dt(e, u = {}) {
|
|
1797
1800
|
const t = [];
|
|
1798
1801
|
for (const a of e.properties) {
|
|
1799
1802
|
const { key: r, value: n } = a, s = r.value || r.name || "";
|
|
@@ -1831,32 +1834,32 @@ function ot(e, u = {}) {
|
|
|
1831
1834
|
}
|
|
1832
1835
|
return t;
|
|
1833
1836
|
}
|
|
1834
|
-
function
|
|
1837
|
+
function lt(e) {
|
|
1835
1838
|
const u = {};
|
|
1836
1839
|
for (const t of e) {
|
|
1837
1840
|
const a = t.key.name;
|
|
1838
|
-
if (
|
|
1841
|
+
if (Ce.includes(a)) {
|
|
1839
1842
|
const r = X(t);
|
|
1840
1843
|
r && (u[r.name] = r.exp);
|
|
1841
1844
|
}
|
|
1842
1845
|
}
|
|
1843
1846
|
return u;
|
|
1844
1847
|
}
|
|
1845
|
-
function
|
|
1848
|
+
function ft(e) {
|
|
1846
1849
|
const u = e?.find(
|
|
1847
1850
|
(t) => t.key?.name === "type"
|
|
1848
1851
|
);
|
|
1849
1852
|
if (u)
|
|
1850
1853
|
return u.value.type === "ArrayExpression" ? u.value.elements.map((t) => t.name) : u.value.name;
|
|
1851
1854
|
}
|
|
1852
|
-
function
|
|
1855
|
+
function ue(e) {
|
|
1853
1856
|
const u = e?.find(
|
|
1854
1857
|
(t) => t.key?.name === "default"
|
|
1855
1858
|
);
|
|
1856
1859
|
if (u)
|
|
1857
1860
|
return k(A(u.value));
|
|
1858
1861
|
}
|
|
1859
|
-
function
|
|
1862
|
+
function bt(e) {
|
|
1860
1863
|
if (!e) return [];
|
|
1861
1864
|
let u = [];
|
|
1862
1865
|
return e.type === "ArrayExpression" ? u = e.elements.map((t) => t.value) : e.type === "ObjectExpression" && (u = e.properties?.map((t) => {
|
|
@@ -1864,12 +1867,12 @@ function ft(e) {
|
|
|
1864
1867
|
return {
|
|
1865
1868
|
name: a.name,
|
|
1866
1869
|
required: uu(n, "required"),
|
|
1867
|
-
type:
|
|
1868
|
-
default:
|
|
1870
|
+
type: ft(n),
|
|
1871
|
+
default: ue(n)
|
|
1869
1872
|
};
|
|
1870
1873
|
})), u;
|
|
1871
1874
|
}
|
|
1872
|
-
function
|
|
1875
|
+
function pt(e) {
|
|
1873
1876
|
const u = [];
|
|
1874
1877
|
if (e.callee.type === "MemberExpression" && e.callee.property?.name === "$emit") {
|
|
1875
1878
|
const [a, ...r] = (e.arguments || []).map(
|
|
@@ -1882,10 +1885,10 @@ function bt(e) {
|
|
|
1882
1885
|
}
|
|
1883
1886
|
return u;
|
|
1884
1887
|
}
|
|
1885
|
-
function
|
|
1888
|
+
function mt(e) {
|
|
1886
1889
|
let u = [];
|
|
1887
1890
|
return e.type === "ObjectExpression" && (u = e.properties?.map((t) => {
|
|
1888
|
-
const { key: a, value: r } = t, n = r.properties, s = a.name, i =
|
|
1891
|
+
const { key: a, value: r } = t, n = r.properties, s = a.name, i = Yu(n, "from"), o = ue(n);
|
|
1889
1892
|
return {
|
|
1890
1893
|
name: s,
|
|
1891
1894
|
from: i || s,
|
|
@@ -1893,16 +1896,16 @@ function pt(e) {
|
|
|
1893
1896
|
};
|
|
1894
1897
|
})), u;
|
|
1895
1898
|
}
|
|
1896
|
-
function
|
|
1899
|
+
function ht(e) {
|
|
1897
1900
|
return e && e.elements ? e.elements.map((u) => u?.type === "StringLiteral" ? u.value : "").filter((u) => !!u) : [];
|
|
1898
1901
|
}
|
|
1899
|
-
function
|
|
1902
|
+
function xt(e) {
|
|
1900
1903
|
return e && e.elements ? e.elements.map((u) => u?.type === "StringLiteral" && u.value ? { name: u.value, params: [] } : null).filter((u) => !!u) : [];
|
|
1901
1904
|
}
|
|
1902
|
-
function
|
|
1905
|
+
function gt(e, u) {
|
|
1903
1906
|
return (e.apis || []).find((t) => t.id === u || t.name === u);
|
|
1904
1907
|
}
|
|
1905
|
-
function
|
|
1908
|
+
function yt(e) {
|
|
1906
1909
|
if (!e?.properties) return {};
|
|
1907
1910
|
const u = {};
|
|
1908
1911
|
for (const t of e.properties) {
|
|
@@ -1914,9 +1917,9 @@ function gt(e) {
|
|
|
1914
1917
|
}
|
|
1915
1918
|
return u;
|
|
1916
1919
|
}
|
|
1917
|
-
let mu = [], cu = {},
|
|
1918
|
-
function
|
|
1919
|
-
mu = [], cu = {},
|
|
1920
|
+
let mu = [], cu = {}, ee = {}, te = {}, ae = {}, ou = "web", re = [];
|
|
1921
|
+
function ne(e, u, t = "", a) {
|
|
1922
|
+
mu = [], cu = {}, ee = a?.handlers || {}, ae = a?.styles || {}, ou = a?.platform || "web", re = a?.imports || [], te = a?.directives || {};
|
|
1920
1923
|
const n = Gu({
|
|
1921
1924
|
id: e,
|
|
1922
1925
|
filename: u,
|
|
@@ -1934,7 +1937,7 @@ function re(e, u, t = "", a) {
|
|
|
1934
1937
|
context: cu
|
|
1935
1938
|
};
|
|
1936
1939
|
}
|
|
1937
|
-
function
|
|
1940
|
+
function St(e) {
|
|
1938
1941
|
if (e.name === "slot") {
|
|
1939
1942
|
let u = "default";
|
|
1940
1943
|
const t = [];
|
|
@@ -1946,12 +1949,12 @@ function yt(e) {
|
|
|
1946
1949
|
});
|
|
1947
1950
|
}
|
|
1948
1951
|
}
|
|
1949
|
-
function
|
|
1952
|
+
function vt(e) {
|
|
1950
1953
|
const u = {};
|
|
1951
1954
|
for (const t of e) {
|
|
1952
1955
|
if (t.type === w.ATTRIBUTE)
|
|
1953
1956
|
if (t.name === "class") {
|
|
1954
|
-
const a = t.value?.content || "", r = /[\w]+_[\w]{5,}/, n = a.match(r)?.[0] || "", s = a.split(" ").filter((o) => o !== n), i =
|
|
1957
|
+
const a = t.value?.content || "", r = /[\w]+_[\w]{5,}/, n = a.match(r)?.[0] || "", s = a.split(" ").filter((o) => o !== n), i = ae[`.${n}`];
|
|
1955
1958
|
i && (u.style = i), s.length && (u.class = s.join(" "));
|
|
1956
1959
|
} else if (t.name === "style") {
|
|
1957
1960
|
const a = t.value?.content || "";
|
|
@@ -1960,7 +1963,7 @@ function St(e) {
|
|
|
1960
1963
|
u[t.name] = t.value?.content || "";
|
|
1961
1964
|
if (t.type === w.DIRECTIVE && t.name === "bind" && (t.exp?.type === w.SIMPLE_EXPRESSION && t.arg?.type === w.SIMPLE_EXPRESSION && (u[t.arg.content] = k(`(${t.exp.content})`)), t.exp?.type === w.COMPOUND_EXPRESSION && t.arg?.type === w.SIMPLE_EXPRESSION))
|
|
1962
1965
|
if (t.arg.content === "class" && u.class) {
|
|
1963
|
-
const a = t.exp.ast.type, r =
|
|
1966
|
+
const a = t.exp.ast.type, r = Oe(
|
|
1964
1967
|
u.class,
|
|
1965
1968
|
t.exp.loc.source,
|
|
1966
1969
|
a
|
|
@@ -1973,13 +1976,13 @@ function St(e) {
|
|
|
1973
1976
|
}
|
|
1974
1977
|
return u;
|
|
1975
1978
|
}
|
|
1976
|
-
function
|
|
1979
|
+
function Et(e = {}) {
|
|
1977
1980
|
const u = {};
|
|
1978
1981
|
for (const [t, a] of Object.entries(e))
|
|
1979
1982
|
u[t === "tap" ? "click" : t] = a;
|
|
1980
1983
|
return u;
|
|
1981
1984
|
}
|
|
1982
|
-
function
|
|
1985
|
+
function wt(e, u = {}) {
|
|
1983
1986
|
const t = {};
|
|
1984
1987
|
for (const a of e)
|
|
1985
1988
|
if (a.type === w.DIRECTIVE && a.name === "on" && a.arg?.type === w.SIMPLE_EXPRESSION) {
|
|
@@ -2030,7 +2033,7 @@ function Et(e, u = {}) {
|
|
|
2030
2033
|
};
|
|
2031
2034
|
}
|
|
2032
2035
|
}
|
|
2033
|
-
return
|
|
2036
|
+
return Et(t);
|
|
2034
2037
|
}
|
|
2035
2038
|
function K(e, u) {
|
|
2036
2039
|
const t = [], a = ["if", "for", "model", "show", "bind", "html"];
|
|
@@ -2085,7 +2088,7 @@ function K(e, u) {
|
|
|
2085
2088
|
const l = (d.modifiers || []).reduce(
|
|
2086
2089
|
(m, S) => (m[S.content] = !0, m),
|
|
2087
2090
|
{}
|
|
2088
|
-
), p = d.arg?.content || void 0, b =
|
|
2091
|
+
), p = d.arg?.content || void 0, b = te[d.name];
|
|
2089
2092
|
b && t.push({
|
|
2090
2093
|
name: b,
|
|
2091
2094
|
value: k(d.exp?.loc.source || ""),
|
|
@@ -2096,7 +2099,7 @@ function K(e, u) {
|
|
|
2096
2099
|
}
|
|
2097
2100
|
return t;
|
|
2098
2101
|
}
|
|
2099
|
-
function
|
|
2102
|
+
function se(e) {
|
|
2100
2103
|
let u = "";
|
|
2101
2104
|
if (e.type === w.ELEMENT) {
|
|
2102
2105
|
const { props: t = [], tag: a } = e;
|
|
@@ -2111,9 +2114,9 @@ function ne(e) {
|
|
|
2111
2114
|
}
|
|
2112
2115
|
return u || su();
|
|
2113
2116
|
}
|
|
2114
|
-
function
|
|
2117
|
+
function It(e) {
|
|
2115
2118
|
const u = /\.\/(.+?)\.vue/;
|
|
2116
|
-
for (const { from: t, imports: a } of
|
|
2119
|
+
for (const { from: t, imports: a } of re) {
|
|
2117
2120
|
if (Array.isArray(a) && a.includes(e))
|
|
2118
2121
|
return t;
|
|
2119
2122
|
if (a === e) {
|
|
@@ -2143,23 +2146,23 @@ function hu(e, u) {
|
|
|
2143
2146
|
function bu(e, u, t, a) {
|
|
2144
2147
|
const r = {
|
|
2145
2148
|
name: Xu(e.tag, ou),
|
|
2146
|
-
from:
|
|
2147
|
-
props:
|
|
2148
|
-
events:
|
|
2149
|
+
from: It(e.tag),
|
|
2150
|
+
props: vt(e.props),
|
|
2151
|
+
events: wt(e.props, ee),
|
|
2149
2152
|
directives: K(t || e, a)
|
|
2150
2153
|
};
|
|
2151
|
-
r.id =
|
|
2154
|
+
r.id = se(e), hu(r, u);
|
|
2152
2155
|
const n = tu(r, e.children);
|
|
2153
|
-
return hu(r, u),
|
|
2156
|
+
return hu(r, u), St(n), n;
|
|
2154
2157
|
}
|
|
2155
|
-
function
|
|
2158
|
+
function At(e = [], u) {
|
|
2156
2159
|
return e.map((t) => Z(t, u, e));
|
|
2157
2160
|
}
|
|
2158
2161
|
function Z(e, u, t) {
|
|
2159
2162
|
if (e.type === w.ELEMENT)
|
|
2160
2163
|
return bu(e, u);
|
|
2161
2164
|
if (e.type === w.IF)
|
|
2162
|
-
return
|
|
2165
|
+
return kt(e);
|
|
2163
2166
|
if (t && e.type === w.IF_BRANCH) {
|
|
2164
2167
|
const a = e.children.find(
|
|
2165
2168
|
(r) => r.type === w.ELEMENT || r.type === w.FOR
|
|
@@ -2225,7 +2228,7 @@ function tu(e, u = []) {
|
|
|
2225
2228
|
children: Z(n, e)
|
|
2226
2229
|
} : Z(n, e);
|
|
2227
2230
|
s && (Array.isArray(s) ? s : [s]).forEach((o) => {
|
|
2228
|
-
|
|
2231
|
+
Ae(o) && r?.type === w.DIRECTIVE && (o.id = se(n), o.slot = {
|
|
2229
2232
|
name: r.arg?.content || "default",
|
|
2230
2233
|
params: r.exp?.identifiers || [],
|
|
2231
2234
|
scope: r.exp?.type === w.SIMPLE_EXPRESSION ? r.exp.content : ""
|
|
@@ -2252,7 +2255,7 @@ function tu(e, u = []) {
|
|
|
2252
2255
|
e.children = t.map((a) => typeof a == "string" || iu(a) ? { name: "span", children: a } : a);
|
|
2253
2256
|
return e;
|
|
2254
2257
|
}
|
|
2255
|
-
function
|
|
2258
|
+
function kt(e) {
|
|
2256
2259
|
const u = e.branches || [], t = u[0], a = t?.children || [];
|
|
2257
2260
|
if (t?.isTemplateIf)
|
|
2258
2261
|
return u.map((r) => {
|
|
@@ -2263,9 +2266,9 @@ function At(e) {
|
|
|
2263
2266
|
const n = { name: "div", directives: K(t, u) };
|
|
2264
2267
|
return tu(n, t.children);
|
|
2265
2268
|
}
|
|
2266
|
-
return
|
|
2269
|
+
return At(u);
|
|
2267
2270
|
}
|
|
2268
|
-
const
|
|
2271
|
+
const Tt = {
|
|
2269
2272
|
onBeforeMount: "beforeMount",
|
|
2270
2273
|
onMounted: "mounted",
|
|
2271
2274
|
onBeforeUpdate: "beforeUpdate",
|
|
@@ -2296,16 +2299,16 @@ const kt = {
|
|
|
2296
2299
|
onNavigationBarSearchInputClicked: "onNavigationBarSearchInputClicked",
|
|
2297
2300
|
onShareTimeline: "onShareTimeline",
|
|
2298
2301
|
onAddToFavorites: "onAddToFavorites"
|
|
2299
|
-
},
|
|
2302
|
+
}, Nt = /* @__PURE__ */ new Set([
|
|
2300
2303
|
"vue-router",
|
|
2301
2304
|
"pinia",
|
|
2302
2305
|
"vue-i18n",
|
|
2303
2306
|
"@vtj/renderer"
|
|
2304
|
-
]),
|
|
2307
|
+
]), jt = new Set(
|
|
2305
2308
|
Object.values(gu).map((e) => e.composable).filter((e) => !!e)
|
|
2306
2309
|
);
|
|
2307
|
-
function
|
|
2308
|
-
const t =
|
|
2310
|
+
function Vt(e, u) {
|
|
2311
|
+
const t = qt(e), a = Dt(t), { dependencies: r = [] } = u || {}, n = r.reduce(
|
|
2309
2312
|
(c, d) => (c[d.package] = d.library, c),
|
|
2310
2313
|
{}
|
|
2311
2314
|
), s = {
|
|
@@ -2350,7 +2353,7 @@ function jt(e, u) {
|
|
|
2350
2353
|
const v = L(p.id);
|
|
2351
2354
|
if (v)
|
|
2352
2355
|
if (v === "__state")
|
|
2353
|
-
s.state =
|
|
2356
|
+
s.state = Ct(b.arguments[0]);
|
|
2354
2357
|
else {
|
|
2355
2358
|
const h = b.arguments[0] ? A(b.arguments[0]) : "{}";
|
|
2356
2359
|
s.reactives[v] = k(h);
|
|
@@ -2387,7 +2390,7 @@ function jt(e, u) {
|
|
|
2387
2390
|
}
|
|
2388
2391
|
if (m && /^use[A-Z]/.test(m)) {
|
|
2389
2392
|
const v = a.get(m);
|
|
2390
|
-
if (
|
|
2393
|
+
if (Rt(m, v)) {
|
|
2391
2394
|
const x = _u(p.id);
|
|
2392
2395
|
x.length > 0 && (s.globalApiDestructured ??= [], s.globalApiDestructured.push({ callee: m, destructure: x }));
|
|
2393
2396
|
return;
|
|
@@ -2473,7 +2476,7 @@ function jt(e, u) {
|
|
|
2473
2476
|
if (c.parent.type !== "Program") return;
|
|
2474
2477
|
const d = c.node;
|
|
2475
2478
|
if (!d.id) return;
|
|
2476
|
-
const l = d.id.name, p =
|
|
2479
|
+
const l = d.id.name, p = Mt(d);
|
|
2477
2480
|
if (Bu(p)) {
|
|
2478
2481
|
const b = Fu(l, p, u);
|
|
2479
2482
|
if (b) {
|
|
@@ -2503,11 +2506,11 @@ function jt(e, u) {
|
|
|
2503
2506
|
}
|
|
2504
2507
|
const p = Cu(l);
|
|
2505
2508
|
if (p === "watch") {
|
|
2506
|
-
const m =
|
|
2509
|
+
const m = Pt(l);
|
|
2507
2510
|
m && s.watch.push(m);
|
|
2508
2511
|
return;
|
|
2509
2512
|
}
|
|
2510
|
-
if (p && p in
|
|
2513
|
+
if (p && p in Tt) {
|
|
2511
2514
|
const m = l.arguments[0];
|
|
2512
2515
|
m && (s.lifeCycles[p] = C(A(m)));
|
|
2513
2516
|
return;
|
|
@@ -2524,7 +2527,7 @@ function jt(e, u) {
|
|
|
2524
2527
|
return;
|
|
2525
2528
|
}
|
|
2526
2529
|
if (p === "defineExpose") {
|
|
2527
|
-
s.expose =
|
|
2530
|
+
s.expose = Lt(l);
|
|
2528
2531
|
return;
|
|
2529
2532
|
}
|
|
2530
2533
|
if (p === "defineProps" || p === "withDefaults") {
|
|
@@ -2551,7 +2554,7 @@ ${i.join(`
|
|
|
2551
2554
|
}
|
|
2552
2555
|
return s;
|
|
2553
2556
|
}
|
|
2554
|
-
function
|
|
2557
|
+
function qt(e) {
|
|
2555
2558
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, r = [];
|
|
2556
2559
|
let n;
|
|
2557
2560
|
const s = e.replace(/\n/g, " ");
|
|
@@ -2571,7 +2574,7 @@ function Vt(e) {
|
|
|
2571
2574
|
}
|
|
2572
2575
|
return r;
|
|
2573
2576
|
}
|
|
2574
|
-
function
|
|
2577
|
+
function Dt(e) {
|
|
2575
2578
|
const u = /* @__PURE__ */ new Map();
|
|
2576
2579
|
for (const t of e)
|
|
2577
2580
|
if (Array.isArray(t.imports))
|
|
@@ -2583,8 +2586,8 @@ function qt(e) {
|
|
|
2583
2586
|
u.set(t.imports, t.from);
|
|
2584
2587
|
return u;
|
|
2585
2588
|
}
|
|
2586
|
-
function
|
|
2587
|
-
return u &&
|
|
2589
|
+
function Rt(e, u) {
|
|
2590
|
+
return u && Nt.has(u) ? !0 : jt.has(e);
|
|
2588
2591
|
}
|
|
2589
2592
|
function Cu(e) {
|
|
2590
2593
|
return e.callee.type === "Identifier" ? e.callee.name : null;
|
|
@@ -2598,7 +2601,7 @@ function _u(e) {
|
|
|
2598
2601
|
function Lu(e) {
|
|
2599
2602
|
return e.type === "StringLiteral" ? e.value : null;
|
|
2600
2603
|
}
|
|
2601
|
-
function
|
|
2604
|
+
function Ct(e) {
|
|
2602
2605
|
if (!e || e.type !== "ObjectExpression") return {};
|
|
2603
2606
|
const u = {};
|
|
2604
2607
|
for (const t of e.properties)
|
|
@@ -2619,7 +2622,7 @@ function Pu(e) {
|
|
|
2619
2622
|
const u = e.arguments[0];
|
|
2620
2623
|
if (u?.type === "CallExpression") {
|
|
2621
2624
|
const t = Mu(u), a = e.arguments[1];
|
|
2622
|
-
return a?.type === "ObjectExpression" &&
|
|
2625
|
+
return a?.type === "ObjectExpression" && _t(t, a), t;
|
|
2623
2626
|
}
|
|
2624
2627
|
}
|
|
2625
2628
|
return Mu(e);
|
|
@@ -2636,15 +2639,15 @@ function Mu(e) {
|
|
|
2636
2639
|
const r = t.value.properties;
|
|
2637
2640
|
return {
|
|
2638
2641
|
name: a,
|
|
2639
|
-
type:
|
|
2642
|
+
type: Ot(r),
|
|
2640
2643
|
required: xu(r, "required"),
|
|
2641
|
-
default:
|
|
2644
|
+
default: Bt(r)
|
|
2642
2645
|
};
|
|
2643
2646
|
}
|
|
2644
2647
|
return a;
|
|
2645
2648
|
}).filter(Boolean) : [] : [];
|
|
2646
2649
|
}
|
|
2647
|
-
function
|
|
2650
|
+
function _t(e, u) {
|
|
2648
2651
|
for (const t of u.properties) {
|
|
2649
2652
|
if (t.type !== "ObjectProperty") continue;
|
|
2650
2653
|
const a = t.key?.name;
|
|
@@ -2665,11 +2668,11 @@ function Ou(e) {
|
|
|
2665
2668
|
const u = e.arguments[0];
|
|
2666
2669
|
return u ? u.type === "ArrayExpression" ? u.elements.map((t) => t?.type === "StringLiteral" ? { name: t.value, params: [] } : null).filter(Boolean) : [] : [];
|
|
2667
2670
|
}
|
|
2668
|
-
function
|
|
2671
|
+
function Lt(e) {
|
|
2669
2672
|
const u = e.arguments[0];
|
|
2670
2673
|
return !u || u.type !== "ObjectExpression" ? [] : u.properties.map((t) => (t.type === "ObjectProperty" || t.type === "ObjectMethod") && t.key?.name || "").filter(Boolean);
|
|
2671
2674
|
}
|
|
2672
|
-
function
|
|
2675
|
+
function Pt(e) {
|
|
2673
2676
|
const [u, t, a] = e.arguments;
|
|
2674
2677
|
if (!u || !t) return null;
|
|
2675
2678
|
const r = A(u), n = A(t);
|
|
@@ -2688,12 +2691,12 @@ function Lt(e) {
|
|
|
2688
2691
|
immediate: i
|
|
2689
2692
|
};
|
|
2690
2693
|
}
|
|
2691
|
-
function
|
|
2694
|
+
function Mt(e) {
|
|
2692
2695
|
const u = e.async ? "async " : "", t = e.params.map((r) => r.type === "ObjectPattern" ? `{${r.properties.map((s) => s.key?.name || s.name).join(",")}}` : r.type === "AssignmentPattern" ? r.left.name + "=" + (r.right?.extra?.raw || "null") : r.name).join(", "), a = A(e.body) || "{}";
|
|
2693
2696
|
return `${u}(${t}) => ${a}`;
|
|
2694
2697
|
}
|
|
2695
2698
|
function Bu(e) {
|
|
2696
|
-
return
|
|
2699
|
+
return /return\s+await\s+__provider\.apis\['[\w]*'\]\s*\.apply/.test(e) || /return\s+await\s+__provider\.createMock/.test(e);
|
|
2697
2700
|
}
|
|
2698
2701
|
function Fu(e, u, t) {
|
|
2699
2702
|
const a = /apis\['([\w]*)'\]/, n = Zu(""), s = (i) => {
|
|
@@ -2709,9 +2712,7 @@ function Fu(e, u, t) {
|
|
|
2709
2712
|
if (u.includes("__provider.apis")) {
|
|
2710
2713
|
const o = (u.match(a) || [])[1];
|
|
2711
2714
|
if (!o) return null;
|
|
2712
|
-
const c = (t.apis || []).find((l) => l.id === o || l.name === o);
|
|
2713
|
-
if (!c) return null;
|
|
2714
|
-
const d = s(u);
|
|
2715
|
+
const c = (t.apis || []).find((l) => l.id === o || l.name === o), d = s(u);
|
|
2715
2716
|
return {
|
|
2716
2717
|
ref: o,
|
|
2717
2718
|
name: e,
|
|
@@ -2722,14 +2723,14 @@ function Fu(e, u, t) {
|
|
|
2722
2723
|
})`
|
|
2723
2724
|
},
|
|
2724
2725
|
type: "api",
|
|
2725
|
-
label: c
|
|
2726
|
+
label: c?.label || "",
|
|
2726
2727
|
transform: {
|
|
2727
2728
|
type: "JSFunction",
|
|
2728
2729
|
value: d || `(res) => {
|
|
2729
2730
|
return res;
|
|
2730
2731
|
}`
|
|
2731
2732
|
},
|
|
2732
|
-
mockTemplate: c
|
|
2733
|
+
mockTemplate: c?.mockTemplate
|
|
2733
2734
|
};
|
|
2734
2735
|
}
|
|
2735
2736
|
if (u.includes("__provider.createMock")) {
|
|
@@ -2764,24 +2765,24 @@ function xu(e, u) {
|
|
|
2764
2765
|
(a) => a.key?.name === u
|
|
2765
2766
|
)?.value?.value;
|
|
2766
2767
|
}
|
|
2767
|
-
function
|
|
2768
|
+
function Ot(e) {
|
|
2768
2769
|
const u = e?.find(
|
|
2769
2770
|
(t) => t.key?.name === "type"
|
|
2770
2771
|
);
|
|
2771
2772
|
if (u)
|
|
2772
2773
|
return u.value.type === "ArrayExpression" ? u.value.elements.map((t) => t.name) : u.value.name;
|
|
2773
2774
|
}
|
|
2774
|
-
function
|
|
2775
|
+
function Bt(e) {
|
|
2775
2776
|
const u = e?.find(
|
|
2776
2777
|
(t) => t.key?.name === "default"
|
|
2777
2778
|
);
|
|
2778
2779
|
if (u)
|
|
2779
2780
|
return k(A(u.value));
|
|
2780
2781
|
}
|
|
2781
|
-
function
|
|
2782
|
+
function Ft(e) {
|
|
2782
2783
|
const u = [], t = {}, a = [];
|
|
2783
2784
|
try {
|
|
2784
|
-
const r =
|
|
2785
|
+
const r = Ee.compileString(e, { charset: !1 })?.css || "", n = ve.parse(r), s = /^.[\w]+_[\w]{5,}/;
|
|
2785
2786
|
for (const i of n.nodes)
|
|
2786
2787
|
if (i.type === "rule") {
|
|
2787
2788
|
const o = {};
|
|
@@ -2809,11 +2810,11 @@ function eu(e, u, t) {
|
|
|
2809
2810
|
const i = e.slice(r, s.index);
|
|
2810
2811
|
a += i.replace(u, t);
|
|
2811
2812
|
const o = s[0];
|
|
2812
|
-
o.startsWith("`") ? a +=
|
|
2813
|
+
o.startsWith("`") ? a += $t(o, u, t) : a += o, r = s.index + s[0].length;
|
|
2813
2814
|
}
|
|
2814
2815
|
return a += e.slice(r).replace(u, t), a;
|
|
2815
2816
|
}
|
|
2816
|
-
function
|
|
2817
|
+
function $t(e, u, t) {
|
|
2817
2818
|
let a = "", r = 0;
|
|
2818
2819
|
const n = /\$\{([^}]*)\}/g;
|
|
2819
2820
|
let s;
|
|
@@ -2824,7 +2825,7 @@ function Ft(e, u, t) {
|
|
|
2824
2825
|
}
|
|
2825
2826
|
return a += e.slice(r), a;
|
|
2826
2827
|
}
|
|
2827
|
-
function
|
|
2828
|
+
function Ut(e, u) {
|
|
2828
2829
|
if (!e) return e;
|
|
2829
2830
|
let t = e;
|
|
2830
2831
|
const a = [...u.refs, ...u.computed];
|
|
@@ -2859,7 +2860,7 @@ function $t(e, u) {
|
|
|
2859
2860
|
t = eu(t, o, `this.${i}`);
|
|
2860
2861
|
}
|
|
2861
2862
|
for (const r of u.props)
|
|
2862
|
-
t =
|
|
2863
|
+
t = Gt(t, "__props", r, `this.${r}`);
|
|
2863
2864
|
for (const r of u.props)
|
|
2864
2865
|
t = R(t, r, `this.${r}`);
|
|
2865
2866
|
for (const [r, n] of Object.entries(u.reverseApiMap))
|
|
@@ -2880,14 +2881,14 @@ function $t(e, u) {
|
|
|
2880
2881
|
function Q(e) {
|
|
2881
2882
|
return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2882
2883
|
}
|
|
2883
|
-
function
|
|
2884
|
+
function Gt(e, u, t, a) {
|
|
2884
2885
|
const r = new RegExp(
|
|
2885
2886
|
`\\b${Q(u)}\\.${Q(t)}\\b`,
|
|
2886
2887
|
"g"
|
|
2887
2888
|
);
|
|
2888
2889
|
return eu(e, r, a);
|
|
2889
2890
|
}
|
|
2890
|
-
function
|
|
2891
|
+
function ie(e) {
|
|
2891
2892
|
const u = {}, t = {};
|
|
2892
2893
|
for (const [a, r] of Object.entries(gu))
|
|
2893
2894
|
if (r.replace)
|
|
@@ -2910,11 +2911,11 @@ function se(e) {
|
|
|
2910
2911
|
}
|
|
2911
2912
|
return { simple: u, member: t };
|
|
2912
2913
|
}
|
|
2913
|
-
function
|
|
2914
|
+
function Ht(e) {
|
|
2914
2915
|
for (const u of e)
|
|
2915
|
-
if (
|
|
2916
|
+
if (ge.includes(u.from)) return u.from;
|
|
2916
2917
|
}
|
|
2917
|
-
function
|
|
2918
|
+
function Wt(e) {
|
|
2918
2919
|
const u = {}, t = (a) => {
|
|
2919
2920
|
for (const [r, n] of Object.entries(a)) {
|
|
2920
2921
|
if (!n.composable || !n.replace || !n.replace.includes("."))
|
|
@@ -2943,18 +2944,18 @@ function $u(e, u) {
|
|
|
2943
2944
|
dataSources: new Set(u.dataSources),
|
|
2944
2945
|
hasState: u.hasState,
|
|
2945
2946
|
reverseApiMap: u.globalApiVars,
|
|
2946
|
-
reverseMemberApiMap: u.reverseMemberApiMap ||
|
|
2947
|
+
reverseMemberApiMap: u.reverseMemberApiMap || ie().member
|
|
2947
2948
|
};
|
|
2948
|
-
let a =
|
|
2949
|
+
let a = Ut(e, t);
|
|
2949
2950
|
a = a.replace(/_ctx\./g, "this."), a = a.replace(/this\.this\./g, "this.");
|
|
2950
2951
|
for (const [r, n] of Object.entries(u.libs || {}))
|
|
2951
2952
|
a = R(a, r, `this.$libs.${n}.${r}`);
|
|
2952
2953
|
return a;
|
|
2953
2954
|
}
|
|
2954
|
-
function
|
|
2955
|
-
const u =
|
|
2955
|
+
function Jt(e) {
|
|
2956
|
+
const u = Ht(e.imports || []), { simple: t, member: a } = ie(u);
|
|
2956
2957
|
if (e.globalApiDestructured && e.globalApiDestructured.length > 0) {
|
|
2957
|
-
const n =
|
|
2958
|
+
const n = Wt(u);
|
|
2958
2959
|
for (const { callee: s, destructure: i } of e.globalApiDestructured) {
|
|
2959
2960
|
const o = n[s];
|
|
2960
2961
|
if (o)
|
|
@@ -2983,12 +2984,12 @@ function Wt(e) {
|
|
|
2983
2984
|
reverseMemberApiMap: a
|
|
2984
2985
|
};
|
|
2985
2986
|
}
|
|
2986
|
-
const
|
|
2987
|
+
const ce = "arrow-double-left, arrow-double-right, contact, notes, records, cash-back-record, newspaper, discount, completed, user, description, list-switch, list-switching, link-o, miniprogram-o, qq, wechat-moments, weibo, cash-o, guide-o, invitation, shield-o, exchange, eye, enlarge, expand-o, eye-o, expand, filter-o, fire, fail, failure, fire-o, flag-o, font, font-o, gem-o, flower-o, gem, gift-card, friends, friends-o, gold-coin, gold-coin-o, good-job-o, gift, gift-o, gift-card-o, good-job, home-o, goods-collect, graphic, goods-collect-o, hot-o, info, hotel-o, info-o, hot-sale-o, hot, like, idcard, like-o, hot-sale, location-o, location, label, lock, label-o, map-marked, logistics, manager, more, live, manager-o, medal, more-o, music-o, music, new-arrival-o, medal-o, new-o, free-postage, newspaper-o, new-arrival, minus, orders-o, new, paid, notes-o, other-pay, pause-circle, pause, pause-circle-o, peer-pay, pending-payment, passed, plus, phone-circle-o, phone-o, printer, photo-fail, phone, photo-o, play-circle, play, phone-circle, point-gift-o, point-gift, play-circle-o, shrink, photo, qr, qr-invalid, question-o, revoke, replay, service, question, search, refund-o, service-o, scan, share, send-gift-o, share-o, setting, points, photograph, shop, shop-o, shop-collect-o, shop-collect, smile, shopping-cart-o, sign, sort, star-o, smile-comment-o, stop, stop-circle-o, smile-o, star, success, stop-circle, records-o, shopping-cart, tosend, todo-list, thumb-circle-o, thumb-circle, umbrella-circle, underway, upgrade, todo-list-o, tv-o, underway-o, user-o, vip-card-o, vip-card, send-gift, wap-home, wap-nav, volume-o, video, wap-home-o, volume, warning, weapp-nav, wechat-pay, wechat, setting-o, youzan-shield, warn-o, smile-comment, user-circle-o, video-o, add-square, add, arrow-down, arrow-up, arrow, after-sale, add-o, alipay, ascending, apps-o, aim, award, arrow-left, award-o, audio, bag-o, balance-list, back-top, bag, balance-pay, balance-o, bar-chart-o, bars, balance-list-o, birthday-cake-o, bookmark, bill, bell, browsing-history-o, browsing-history, bookmark-o, bulb-o, bullhorn-o, bill-o, calendar-o, brush-o, card, cart-o, cart-circle, cart-circle-o, cart, cash-on-deliver, cash-back-record-o, cashier-o, chart-trending-o, certificate, chat, clear, chat-o, checked, clock, clock-o, close, closed-eye, circle, cluster-o, column, comment-circle-o, cluster, comment, comment-o, comment-circle, completed-o, credit-pay, coupon, debit-pay, coupon-o, contact-o, descending, desktop-o, diamond-o, description-o, delete, diamond, delete-o, cross, edit, ellipsis, down, discount-o, ecard-pay, envelop-o".split(
|
|
2987
2988
|
", "
|
|
2988
|
-
),
|
|
2989
|
+
), Xt = "AddLocation, Aim, AlarmClock, Apple, ArrowDownBold, ArrowDown, ArrowLeftBold, ArrowLeft, ArrowRightBold, ArrowRight, ArrowUpBold, ArrowUp, Avatar, Back, Baseball, Basketball, BellFilled, Bell, Bicycle, BottomLeft, BottomRight, Bottom, Bowl, Box, Briefcase, BrushFilled, Brush, Burger, Calendar, CameraFilled, Camera, CaretBottom, CaretLeft, CaretRight, CaretTop, Cellphone, ChatDotRound, ChatDotSquare, ChatLineRound, ChatLineSquare, ChatRound, ChatSquare, Check, Checked, Cherry, Chicken, ChromeFilled, CircleCheckFilled, CircleCheck, CircleCloseFilled, CircleClose, CirclePlusFilled, CirclePlus, Clock, CloseBold, Close, Cloudy, CoffeeCup, Coffee, Coin, ColdDrink, CollectionTag, Collection, Comment, Compass, Connection, Coordinate, CopyDocument, Cpu, CreditCard, Crop, DArrowLeft, DArrowRight, DCaret, DataAnalysis, DataBoard, DataLine, DeleteFilled, DeleteLocation, Delete, Dessert, Discount, DishDot, Dish, DocumentAdd, DocumentChecked, DocumentCopy, DocumentDelete, DocumentRemove, Document, Download, Drizzling, EditPen, Edit, ElemeFilled, Eleme, ElementPlus, Expand, Failed, Female, Files, Film, Filter, Finished, FirstAidKit, Flag, Fold, FolderAdd, FolderChecked, FolderDelete, FolderOpened, FolderRemove, Folder, Food, Football, ForkSpoon, Fries, FullScreen, GobletFull, GobletSquareFull, GobletSquare, Goblet, GoldMedal, GoodsFilled, Goods, Grape, Grid, Guide, Handbag, Headset, HelpFilled, Help, Hide, Histogram, HomeFilled, HotWater, House, IceCreamRound, IceCreamSquare, IceCream, IceDrink, IceTea, InfoFilled, Iphone, Key, KnifeFork, Lightning, Link, List, Loading, LocationFilled, LocationInformation, Location, Lock, Lollipop, MagicStick, Magnet, Male, Management, MapLocation, Medal, Memo, Menu, MessageBox, Message, Mic, Microphone, MilkTea, Minus, Money, Monitor, MoonNight, Moon, MoreFilled, More, MostlyCloudy, Mouse, Mug, MuteNotification, Mute, NoSmoking, Notebook, Notification, Odometer, OfficeBuilding, Open, Operation, Opportunity, Orange, Paperclip, PartlyCloudy, Pear, PhoneFilled, Phone, PictureFilled, PictureRounded, Picture, PieChart, Place, Platform, Plus, Pointer, Position, Postcard, Pouring, Present, PriceTag, Printer, Promotion, QuartzWatch, QuestionFilled, Rank, ReadingLamp, Reading, RefreshLeft, RefreshRight, Refresh, Refrigerator, RemoveFilled, Remove, Right, ScaleToOriginal, School, Scissor, Search, Select, Sell, SemiSelect, Service, SetUp, Setting, Share, Ship, Shop, ShoppingBag, ShoppingCartFull, ShoppingCart, ShoppingTrolley, Smoking, Soccer, SoldOut, SortDown, SortUp, Sort, Stamp, StarFilled, Star, Stopwatch, SuccessFilled, Sugar, SuitcaseLine, Suitcase, Sunny, Sunrise, Sunset, SwitchButton, SwitchFilled, Switch, TakeawayBox, Ticket, Tickets, Timer, ToiletPaper, Tools, TopLeft, TopRight, Top, TrendCharts, TrophyBase, Trophy, TurnOff, Umbrella, Unlock, UploadFilled, Upload, UserFilled, User, Van, VideoCameraFilled, VideoCamera, VideoPause, VideoPlay, View, WalletFilled, Wallet, WarnTriangleFilled, WarningFilled, Warning, Watch, Watermelon, WindPower, ZoomIn, ZoomOut, VtjIconChatRecord, VtjIconNewChat, VtjIconAi, VtjIconUniapp, VtjIconWindowMax, VtjIconWindowMin, VtjIconWindowClose, VtjIconWindowNormal, VtjIconWindowDown, VtjIconWindowUp, VtjIconNpSave, VtjIconNpFile, VtjIconNpEdit, VtjIconNpShare, VtjIconNpSearch, VtjIconNpExport, VtjIconNpImport, VtjIconNpList, VtjIconNpPrint, VtjIconNpCancel, VtjIconNpConfirm, VtjIconNpReset, VtjIconNpReturnAll, VtjIconNpReturn, VtjIconNpRemove, VtjIconNpRemoveRow, VtjIconNpDelete, VtjIconNpExit, VtjIconNpRefresh, VtjIconNpAdd, VtjIconNpSelect, VtjIconNpAddRow, VtjIconNpExtend, VtjIconNpClose, VtjIconNpSubmit, VtjIconDeps, VtjIconBack, VtjIconHome, VtjIconApi, VtjIconExport, VtjIconImport, VtjIconGreater, VtjIconSmaller, VtjIconCheck, VtjIconSwitch, VtjIconCopy, VtjIconLock, VtjIconUnlock, VtjIconLayers, VtjIconConsole, VtjIconTeam, VtjIconPublish, VtjIconPreview, VtjIconSave, VtjIconPc, VtjIconPhone, VtjIconPad, VtjIconRedo, VtjIconRefresh, VtjIconUndo, VtjIconCategory, VtjIconProject, VtjIconNotice, VtjIconFav, VtjIconBug, VtjIconFile, VtjIconFolder, VtjIconUpload, VtjIconDownload, VtjIconUser, VtjIconSetting, VtjIconArrowRight, VtjIconArrowLeft, VtjIconArrowDown, VtjIconArrowUp, VtjIconShare, VtjIconData, VtjIconTemplate, VtjIconExitFullscreen, VtjIconFullscreen, VtjIconEdit, VtjIconRemove, VtjIconJs, VtjIconDatabase, VtjIconInfo, VtjIconPlus, VtjIconMinus, VtjIconHelp, VtjIconVars, VtjIconOutline, VtjIconVisible, VtjIconInvisible, VtjIconDocument, VtjIconHistory, VtjIconFixed, VtjIconUnfixed, VtjIconSearch, VtjIconMore, VtjIconClose, VtjIconComponents, VtjIconBlock".split(
|
|
2989
2990
|
", "
|
|
2990
|
-
),
|
|
2991
|
-
class
|
|
2991
|
+
), zt = "user", P = "User";
|
|
2992
|
+
class Zt {
|
|
2992
2993
|
validate(u) {
|
|
2993
2994
|
const t = {
|
|
2994
2995
|
valid: !0,
|
|
@@ -3041,7 +3042,7 @@ class zt {
|
|
|
3041
3042
|
checkVantIcons(u) {
|
|
3042
3043
|
const t = this.findVantIcons(u), a = [];
|
|
3043
3044
|
for (const r of t)
|
|
3044
|
-
|
|
3045
|
+
ce.includes(r) || a.push(r);
|
|
3045
3046
|
return a;
|
|
3046
3047
|
}
|
|
3047
3048
|
findVtjIcons(u) {
|
|
@@ -3051,7 +3052,7 @@ class zt {
|
|
|
3051
3052
|
checkVtjIcons(u) {
|
|
3052
3053
|
const t = this.findVtjIcons(u), a = [];
|
|
3053
3054
|
for (const r of t)
|
|
3054
|
-
|
|
3055
|
+
Xt.includes(r) || a.push(r);
|
|
3055
3056
|
return a;
|
|
3056
3057
|
}
|
|
3057
3058
|
hasUnchangedComment(u) {
|
|
@@ -3066,7 +3067,7 @@ class zt {
|
|
|
3066
3067
|
);
|
|
3067
3068
|
}
|
|
3068
3069
|
}
|
|
3069
|
-
function
|
|
3070
|
+
function Qt(e) {
|
|
3070
3071
|
const u = [];
|
|
3071
3072
|
let t = e;
|
|
3072
3073
|
const a = M(e);
|
|
@@ -3077,7 +3078,7 @@ function Zt(e) {
|
|
|
3077
3078
|
fixedCode: e,
|
|
3078
3079
|
changes: []
|
|
3079
3080
|
};
|
|
3080
|
-
const r =
|
|
3081
|
+
const r = Kt(a.script), n = a.template;
|
|
3081
3082
|
let s = n;
|
|
3082
3083
|
const i = [], o = /\{\{([^}]+)\}\}/g;
|
|
3083
3084
|
let c;
|
|
@@ -3235,7 +3236,7 @@ function Zt(e) {
|
|
|
3235
3236
|
}
|
|
3236
3237
|
const v = /(@|v-on:)(\w+)="([^"]+)"/g;
|
|
3237
3238
|
for (; (c = v.exec(n)) !== null; ) {
|
|
3238
|
-
const h = c[0], g = c[1], x = c[2], E = c[3], I =
|
|
3239
|
+
const h = c[0], g = c[1], x = c[2], E = c[3], I = Yt(E, r);
|
|
3239
3240
|
if (I !== E) {
|
|
3240
3241
|
const D = G(n, c.index);
|
|
3241
3242
|
i.push({
|
|
@@ -3269,7 +3270,7 @@ function Zt(e) {
|
|
|
3269
3270
|
changes: u
|
|
3270
3271
|
};
|
|
3271
3272
|
}
|
|
3272
|
-
function
|
|
3273
|
+
function Kt(e) {
|
|
3273
3274
|
const u = /* @__PURE__ */ new Set();
|
|
3274
3275
|
try {
|
|
3275
3276
|
const t = _(e);
|
|
@@ -3295,7 +3296,7 @@ function H(e, u) {
|
|
|
3295
3296
|
r.test(t) && !t.includes(`state.${a}`) && (t = t.replace(r, `state.${a}`));
|
|
3296
3297
|
}), t;
|
|
3297
3298
|
}
|
|
3298
|
-
function
|
|
3299
|
+
function Yt(e, u) {
|
|
3299
3300
|
let t = e.trim();
|
|
3300
3301
|
return u.forEach((a) => {
|
|
3301
3302
|
const r = new RegExp(
|
|
@@ -3316,15 +3317,15 @@ function G(e, u) {
|
|
|
3316
3317
|
column: t[t.length - 1].length
|
|
3317
3318
|
};
|
|
3318
3319
|
}
|
|
3319
|
-
class
|
|
3320
|
+
class u0 {
|
|
3320
3321
|
fixBasedOnValidation(u, t) {
|
|
3321
3322
|
let a = u;
|
|
3322
|
-
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)),
|
|
3323
|
+
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)), Qt(a).fixedCode;
|
|
3323
3324
|
}
|
|
3324
3325
|
fixVantIcons(u) {
|
|
3325
3326
|
const t = M(u), a = t.template.replace(
|
|
3326
3327
|
/<(?:VanIcon|van-icon)\s+[^>]*name="([^"]+)"[^>]*>/g,
|
|
3327
|
-
(r, n) => r.includes(":name=") || r.includes("v-bind:name=") ||
|
|
3328
|
+
(r, n) => r.includes(":name=") || r.includes("v-bind:name=") || ce.includes(n) ? r : r.replace(n, zt)
|
|
3328
3329
|
);
|
|
3329
3330
|
return this.reconstructSFC(t, a, t.script);
|
|
3330
3331
|
}
|
|
@@ -3417,23 +3418,23 @@ ${a}
|
|
|
3417
3418
|
}), r;
|
|
3418
3419
|
}
|
|
3419
3420
|
}
|
|
3420
|
-
async function
|
|
3421
|
-
const { id: u, name: t, source: a, project: r } = e, n =
|
|
3421
|
+
async function m0(e) {
|
|
3422
|
+
const { id: u, name: t, source: a, project: r } = e, n = Te(a, t);
|
|
3422
3423
|
if (n)
|
|
3423
3424
|
return Promise.reject(n);
|
|
3424
|
-
const { dependencies: s = [], platform: i = "web" } = r || {}, o = new
|
|
3425
|
+
const { dependencies: s = [], platform: i = "web" } = r || {}, o = new Zt(), c = new u0(), d = o.validate(a);
|
|
3425
3426
|
let l = [];
|
|
3426
3427
|
if (!d.valid)
|
|
3427
3428
|
return l = d.errors, Promise.reject(l);
|
|
3428
3429
|
const p = c.fixBasedOnValidation(a, d), b = M(p);
|
|
3429
|
-
b.script =
|
|
3430
|
+
b.script = ke(b.script);
|
|
3430
3431
|
const {
|
|
3431
3432
|
styles: m,
|
|
3432
3433
|
css: S,
|
|
3433
3434
|
errors: v
|
|
3434
|
-
} =
|
|
3435
|
+
} = Ft(b.styles.join(`
|
|
3435
3436
|
`));
|
|
3436
|
-
return l.push(...v), l.length ? Promise.reject(l) : b.isScriptSetup ?
|
|
3437
|
+
return l.push(...v), l.length ? Promise.reject(l) : b.isScriptSetup ? t0(b, {
|
|
3437
3438
|
id: u,
|
|
3438
3439
|
name: t,
|
|
3439
3440
|
project: r,
|
|
@@ -3441,7 +3442,7 @@ async function p0(e) {
|
|
|
3441
3442
|
dependencies: s,
|
|
3442
3443
|
styles: m,
|
|
3443
3444
|
css: S
|
|
3444
|
-
}) :
|
|
3445
|
+
}) : e0(b, {
|
|
3445
3446
|
id: u,
|
|
3446
3447
|
name: t,
|
|
3447
3448
|
project: r,
|
|
@@ -3451,7 +3452,7 @@ async function p0(e) {
|
|
|
3451
3452
|
css: S
|
|
3452
3453
|
});
|
|
3453
3454
|
}
|
|
3454
|
-
async function
|
|
3455
|
+
async function e0(e, u) {
|
|
3455
3456
|
const { id: t, name: a, project: r, platform: n, dependencies: s, styles: i, css: o } = u, {
|
|
3456
3457
|
state: c,
|
|
3457
3458
|
watch: d,
|
|
@@ -3466,7 +3467,7 @@ async function u0(e, u) {
|
|
|
3466
3467
|
imports: x,
|
|
3467
3468
|
dataSources: E,
|
|
3468
3469
|
directives: I
|
|
3469
|
-
} =
|
|
3470
|
+
} = tt(e.script, r), { nodes: D, slots: F, context: lu } = ne(t, a, e.template, {
|
|
3470
3471
|
platform: n,
|
|
3471
3472
|
handlers: g,
|
|
3472
3473
|
styles: i,
|
|
@@ -3488,9 +3489,9 @@ async function u0(e, u) {
|
|
|
3488
3489
|
expose: v,
|
|
3489
3490
|
nodes: D,
|
|
3490
3491
|
css: o
|
|
3491
|
-
},
|
|
3492
|
+
}, fe = Object.keys(p || {}), be = (m || []).map(
|
|
3492
3493
|
($) => typeof $ == "string" ? $ : $.name
|
|
3493
|
-
),
|
|
3494
|
+
), pe = [
|
|
3494
3495
|
"$el",
|
|
3495
3496
|
"$emit",
|
|
3496
3497
|
"$nextTick",
|
|
@@ -3507,21 +3508,21 @@ async function u0(e, u) {
|
|
|
3507
3508
|
"$props",
|
|
3508
3509
|
"props",
|
|
3509
3510
|
...Object.keys(b || {})
|
|
3510
|
-
], { libs:
|
|
3511
|
+
], { libs: me } = le(x, s), Su = {
|
|
3511
3512
|
platform: n,
|
|
3512
3513
|
context: lu,
|
|
3513
|
-
computed:
|
|
3514
|
-
libs:
|
|
3515
|
-
members:
|
|
3516
|
-
props:
|
|
3514
|
+
computed: fe,
|
|
3515
|
+
libs: me,
|
|
3516
|
+
members: pe,
|
|
3517
|
+
props: be
|
|
3517
3518
|
};
|
|
3518
|
-
return await
|
|
3519
|
+
return await oe(
|
|
3519
3520
|
yu,
|
|
3520
3521
|
async ($) => {
|
|
3521
|
-
await
|
|
3522
|
+
await de($, async (Y) => {
|
|
3522
3523
|
if (du(Y)) {
|
|
3523
|
-
const
|
|
3524
|
-
Y.value = Iu(
|
|
3524
|
+
const he = await nu(Y.value);
|
|
3525
|
+
Y.value = Iu(he, $.id, Su);
|
|
3525
3526
|
}
|
|
3526
3527
|
});
|
|
3527
3528
|
},
|
|
@@ -3531,8 +3532,8 @@ async function u0(e, u) {
|
|
|
3531
3532
|
}
|
|
3532
3533
|
), new Hu(yu).toDsl();
|
|
3533
3534
|
}
|
|
3534
|
-
async function
|
|
3535
|
-
const { id: t, name: a, project: r, platform: n, styles: s, css: i, dependencies: o } = u, c =
|
|
3535
|
+
async function t0(e, u) {
|
|
3536
|
+
const { id: t, name: a, project: r, platform: n, styles: s, css: i, dependencies: o } = u, c = Vt(e.script, r), { nodes: d, slots: l, context: p } = ne(t, a, e.template, {
|
|
3536
3537
|
platform: n,
|
|
3537
3538
|
handlers: c.handlers,
|
|
3538
3539
|
styles: s,
|
|
@@ -3560,7 +3561,7 @@ async function e0(e, u) {
|
|
|
3560
3561
|
expose: c.expose,
|
|
3561
3562
|
nodes: d,
|
|
3562
3563
|
css: i
|
|
3563
|
-
}, { libs: m } =
|
|
3564
|
+
}, { libs: m } = le(c.imports, o), S = Jt(c), v = {
|
|
3564
3565
|
refs: Array.from(S.refs),
|
|
3565
3566
|
reactives: Array.from(S.reactives),
|
|
3566
3567
|
hasState: S.hasState,
|
|
@@ -3574,10 +3575,10 @@ async function e0(e, u) {
|
|
|
3574
3575
|
reverseMemberApiMap: S.reverseMemberApiMap,
|
|
3575
3576
|
libs: m
|
|
3576
3577
|
};
|
|
3577
|
-
return await
|
|
3578
|
+
return await oe(
|
|
3578
3579
|
b,
|
|
3579
3580
|
async (g) => {
|
|
3580
|
-
await
|
|
3581
|
+
await de(g, async (x) => {
|
|
3581
3582
|
if (du(x)) {
|
|
3582
3583
|
const E = await nu(x.value);
|
|
3583
3584
|
let I = $u(E, v);
|
|
@@ -3596,7 +3597,7 @@ async function e0(e, u) {
|
|
|
3596
3597
|
}
|
|
3597
3598
|
), new Hu(b).toDsl();
|
|
3598
3599
|
}
|
|
3599
|
-
async function
|
|
3600
|
+
async function oe(e, u, t) {
|
|
3600
3601
|
const a = async (h, g) => {
|
|
3601
3602
|
if (await u(h, g), Array.isArray(h?.children))
|
|
3602
3603
|
for (const x of h?.children || [])
|
|
@@ -3642,7 +3643,7 @@ async function ce(e, u, t) {
|
|
|
3642
3643
|
for (const h of e.nodes)
|
|
3643
3644
|
await a(h);
|
|
3644
3645
|
}
|
|
3645
|
-
async function
|
|
3646
|
+
async function de(e, u) {
|
|
3646
3647
|
const t = async (a) => {
|
|
3647
3648
|
if (!a || typeof a != "object") return;
|
|
3648
3649
|
if (Array.isArray(a)) {
|
|
@@ -3660,7 +3661,7 @@ async function oe(e, u) {
|
|
|
3660
3661
|
};
|
|
3661
3662
|
await t(e);
|
|
3662
3663
|
}
|
|
3663
|
-
function
|
|
3664
|
+
function le(e = [], u = []) {
|
|
3664
3665
|
const t = {}, a = u.reduce(
|
|
3665
3666
|
(r, n) => (r[n.package] = n.library, r),
|
|
3666
3667
|
{}
|
|
@@ -3680,12 +3681,12 @@ function de(e = [], u = []) {
|
|
|
3680
3681
|
};
|
|
3681
3682
|
}
|
|
3682
3683
|
export {
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3684
|
+
u0 as AutoFixer,
|
|
3685
|
+
Zt as ComponentValidator,
|
|
3686
|
+
b0 as VTJ_PARSER_VERSION,
|
|
3686
3687
|
qu as htmlToNodes,
|
|
3687
|
-
|
|
3688
|
-
|
|
3688
|
+
p0 as parseUniApp,
|
|
3689
|
+
m0 as parseVue,
|
|
3689
3690
|
Iu as patchCode,
|
|
3690
3691
|
R as replacer
|
|
3691
3692
|
};
|