@vtj/parser 0.12.60 → 0.12.61
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 +9 -9
- package/dist/index.mjs +234 -230
- package/package.json +4 -5
- package/types/shared/utils.d.ts +2 -3
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
import { parse as Wu, compileTemplate as Ju } from "@vue/compiler-sfc";
|
2
|
-
import {
|
3
|
-
import { parse as Xu } from "@babel/parser";
|
2
|
+
import { parse as zu } from "@babel/parser";
|
4
3
|
import pu from "@babel/traverse";
|
5
4
|
import mu from "@babel/generator";
|
6
|
-
import { BlockModel as
|
5
|
+
import { BlockModel as Xu } from "@vtj/core";
|
7
6
|
import { tsFormatter as xu } from "@vtj/coder";
|
8
7
|
import { NodeTypes as h } from "@vue/compiler-core";
|
9
|
-
import { upperFirstCamelCase as
|
10
|
-
import
|
11
|
-
import * as
|
8
|
+
import { upperFirstCamelCase as Qu, unBase64 as Zu, uid as au } from "@vtj/base";
|
9
|
+
import Ku from "postcss";
|
10
|
+
import * as Yu from "sass";
|
12
11
|
import * as T from "@babel/types";
|
13
12
|
/**!
|
14
13
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
15
14
|
* @name @vtj/parser
|
16
15
|
* @author CHC chenhuachun1549@dingtalk.com
|
17
|
-
* @version 0.12.
|
16
|
+
* @version 0.12.61
|
18
17
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
19
18
|
*/
|
20
|
-
const
|
19
|
+
const p0 = "0.12.61";
|
21
20
|
function _(e) {
|
22
21
|
const { descriptor: u } = Wu(e), t = u.template?.content || "", a = (u.scriptSetup || u.script)?.content || "", i = u.styles.map((c) => c.content);
|
23
22
|
return {
|
@@ -26,10 +25,10 @@ function _(e) {
|
|
26
25
|
styles: i
|
27
26
|
};
|
28
27
|
}
|
29
|
-
function
|
30
|
-
return
|
28
|
+
function Z(e) {
|
29
|
+
return zu(e, { sourceType: "module", plugins: ["typescript"] });
|
31
30
|
}
|
32
|
-
function
|
31
|
+
function K(e, u) {
|
33
32
|
return (pu.default || pu)(e, u);
|
34
33
|
}
|
35
34
|
function M(e) {
|
@@ -49,23 +48,26 @@ function M(e) {
|
|
49
48
|
function nu(e) {
|
50
49
|
return !!e && e.type === "JSExpression";
|
51
50
|
}
|
52
|
-
function
|
51
|
+
function ue(e) {
|
53
52
|
return typeof e == "object" && !!e && e.type === "JSFunction";
|
54
53
|
}
|
55
54
|
function ru(e) {
|
56
|
-
return !!nu(e) || !!
|
55
|
+
return !!nu(e) || !!ue(e);
|
57
56
|
}
|
58
|
-
function
|
57
|
+
function ee(e) {
|
59
58
|
return !!e && !nu(e) && typeof e != "string";
|
60
59
|
}
|
61
60
|
function Nu(e, u) {
|
62
|
-
|
63
|
-
|
64
|
-
|
61
|
+
try {
|
62
|
+
const t = Z(e);
|
63
|
+
return K(t, u), M(t) || "";
|
64
|
+
} catch {
|
65
|
+
return "";
|
66
|
+
}
|
65
67
|
}
|
66
|
-
function
|
67
|
-
const u = _(e), t =
|
68
|
-
return u.styles && (a.css = u.styles[0] || ""),
|
68
|
+
function m0(e) {
|
69
|
+
const u = _(e), t = Z(u.script), a = {};
|
70
|
+
return u.styles && (a.css = u.styles[0] || ""), K(t, {
|
69
71
|
CallExpression(i) {
|
70
72
|
const c = i.node.callee?.name;
|
71
73
|
if (c) {
|
@@ -120,7 +122,7 @@ function ou(e) {
|
|
120
122
|
value: e
|
121
123
|
};
|
122
124
|
}
|
123
|
-
const
|
125
|
+
const te = [
|
124
126
|
"beforeCreate",
|
125
127
|
"created",
|
126
128
|
"beforeMount",
|
@@ -134,16 +136,16 @@ const ae = [
|
|
134
136
|
"renderTriggered",
|
135
137
|
"activated",
|
136
138
|
"deactivated"
|
137
|
-
],
|
139
|
+
], ae = "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(
|
138
140
|
","
|
139
|
-
),
|
141
|
+
), ie = "component,slot,template".split(","), ce = "view,swiper,progress,icon,text,button,checkbox,editor,form,input,label,picker,radio,slider,switch,textarea,audio,camera,image,video,map,canvas".split(
|
140
142
|
","
|
141
143
|
);
|
142
|
-
function
|
143
|
-
return u === "uniapp" &&
|
144
|
+
function se(e, u = "web") {
|
145
|
+
return u === "uniapp" && ce.includes(e);
|
144
146
|
}
|
145
147
|
function ku(e, u = "web") {
|
146
|
-
return (
|
148
|
+
return (ae.includes(e) || ie.includes(e)) && !se(e, u) ? e : Qu(e);
|
147
149
|
}
|
148
150
|
function Vu(e) {
|
149
151
|
return e.replace(/\s+/g, " ").split(";").reduce((t, a) => {
|
@@ -151,29 +153,29 @@ function Vu(e) {
|
|
151
153
|
return i && c && (t[i] = c), t;
|
152
154
|
}, {});
|
153
155
|
}
|
154
|
-
function
|
156
|
+
function ne(e, u, t) {
|
155
157
|
if (t === "ObjectExpression")
|
156
158
|
return `(Object.assign({${e.split(" ").map((i) => `'${i}': true`).join(",")}}, ${u}))`;
|
157
159
|
if (t === "ArrayExpression")
|
158
160
|
return `([${e.split(" ").map((i) => `'${i}'`).join(",")}].concat(${u}))`;
|
159
161
|
}
|
160
|
-
function
|
162
|
+
function re(e = "") {
|
161
163
|
const t = e.trim().match(/DataSource:\s*([^\n=]+={0,2})/)?.[1] || "";
|
162
164
|
try {
|
163
|
-
return t ? JSON.parse(
|
165
|
+
return t ? JSON.parse(Zu(t)) : null;
|
164
166
|
} catch (a) {
|
165
167
|
return console.warn("extractDataSource fail", a), null;
|
166
168
|
}
|
167
169
|
}
|
168
|
-
const
|
170
|
+
const oe = /* @__PURE__ */ new Uint16Array(
|
169
171
|
// prettier-ignore
|
170
172
|
/* @__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))
|
171
|
-
),
|
173
|
+
), de = /* @__PURE__ */ new Uint16Array(
|
172
174
|
// prettier-ignore
|
173
175
|
/* @__PURE__ */ "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
174
176
|
);
|
175
|
-
var
|
176
|
-
const
|
177
|
+
var eu;
|
178
|
+
const fe = /* @__PURE__ */ new Map([
|
177
179
|
[0, 65533],
|
178
180
|
// C1 Unicode control character reference replacements
|
179
181
|
[128, 8364],
|
@@ -205,35 +207,35 @@ const le = /* @__PURE__ */ new Map([
|
|
205
207
|
[159, 376]
|
206
208
|
]), yu = (
|
207
209
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
208
|
-
(
|
210
|
+
(eu = String.fromCodePoint) !== null && eu !== void 0 ? eu : function(e) {
|
209
211
|
let u = "";
|
210
212
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
211
213
|
}
|
212
214
|
);
|
213
|
-
function
|
215
|
+
function le(e) {
|
214
216
|
var u;
|
215
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
217
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = fe.get(e)) !== null && u !== void 0 ? u : e;
|
216
218
|
}
|
217
219
|
var A;
|
218
220
|
(function(e) {
|
219
221
|
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";
|
220
222
|
})(A || (A = {}));
|
221
|
-
const
|
223
|
+
const be = 32;
|
222
224
|
var F;
|
223
225
|
(function(e) {
|
224
226
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
225
227
|
})(F || (F = {}));
|
226
|
-
function
|
228
|
+
function iu(e) {
|
227
229
|
return e >= A.ZERO && e <= A.NINE;
|
228
230
|
}
|
229
|
-
function
|
231
|
+
function he(e) {
|
230
232
|
return e >= A.UPPER_A && e <= A.UPPER_F || e >= A.LOWER_A && e <= A.LOWER_F;
|
231
233
|
}
|
232
|
-
function
|
233
|
-
return e >= A.UPPER_A && e <= A.UPPER_Z || e >= A.LOWER_A && e <= A.LOWER_Z ||
|
234
|
+
function pe(e) {
|
235
|
+
return e >= A.UPPER_A && e <= A.UPPER_Z || e >= A.LOWER_A && e <= A.LOWER_Z || iu(e);
|
234
236
|
}
|
235
|
-
function
|
236
|
-
return e === A.EQUALS ||
|
237
|
+
function me(e) {
|
238
|
+
return e === A.EQUALS || pe(e);
|
237
239
|
}
|
238
240
|
var v;
|
239
241
|
(function(e) {
|
@@ -243,7 +245,7 @@ var j;
|
|
243
245
|
(function(e) {
|
244
246
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
245
247
|
})(j || (j = {}));
|
246
|
-
class
|
248
|
+
class xe {
|
247
249
|
constructor(u, t, a) {
|
248
250
|
this.decodeTree = u, this.emitCodePoint = t, this.errors = a, this.state = v.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = j.Strict;
|
249
251
|
}
|
@@ -286,7 +288,7 @@ class ge {
|
|
286
288
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
287
289
|
*/
|
288
290
|
stateNumericStart(u, t) {
|
289
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
291
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | be) === A.LOWER_X ? (this.state = v.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = v.NumericDecimal, this.stateNumericDecimal(u, t));
|
290
292
|
}
|
291
293
|
addToNumericResult(u, t, a, i) {
|
292
294
|
if (t !== a) {
|
@@ -307,7 +309,7 @@ class ge {
|
|
307
309
|
const a = t;
|
308
310
|
for (; t < u.length; ) {
|
309
311
|
const i = u.charCodeAt(t);
|
310
|
-
if (
|
312
|
+
if (iu(i) || he(i))
|
311
313
|
t += 1;
|
312
314
|
else
|
313
315
|
return this.addToNumericResult(u, a, t, 16), this.emitNumericEntity(i, 3);
|
@@ -327,7 +329,7 @@ class ge {
|
|
327
329
|
const a = t;
|
328
330
|
for (; t < u.length; ) {
|
329
331
|
const i = u.charCodeAt(t);
|
330
|
-
if (
|
332
|
+
if (iu(i))
|
331
333
|
t += 1;
|
332
334
|
else
|
333
335
|
return this.addToNumericResult(u, a, t, 10), this.emitNumericEntity(i, 2);
|
@@ -355,7 +357,7 @@ class ge {
|
|
355
357
|
this.consumed += 1;
|
356
358
|
else if (this.decodeMode === j.Strict)
|
357
359
|
return 0;
|
358
|
-
return this.emitCodePoint(
|
360
|
+
return this.emitCodePoint(le(this.result), this.consumed), this.errors && (u !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
359
361
|
}
|
360
362
|
/**
|
361
363
|
* Parses a named entity.
|
@@ -371,11 +373,11 @@ class ge {
|
|
371
373
|
let i = a[this.treeIndex], c = (i & F.VALUE_LENGTH) >> 14;
|
372
374
|
for (; t < u.length; t++, this.excess++) {
|
373
375
|
const s = u.charCodeAt(t);
|
374
|
-
if (this.treeIndex =
|
376
|
+
if (this.treeIndex = ge(a, i, this.treeIndex + Math.max(1, c), s), this.treeIndex < 0)
|
375
377
|
return this.result === 0 || // If we are parsing an attribute
|
376
378
|
this.decodeMode === j.Attribute && // We shouldn't have consumed any characters after the entity,
|
377
379
|
(c === 0 || // And there should be no invalid characters.
|
378
|
-
|
380
|
+
me(s)) ? 0 : this.emitNotTerminatedNamedEntity();
|
379
381
|
if (i = a[this.treeIndex], c = (i & F.VALUE_LENGTH) >> 14, c !== 0) {
|
380
382
|
if (s === A.SEMI)
|
381
383
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
@@ -431,7 +433,7 @@ class ge {
|
|
431
433
|
}
|
432
434
|
}
|
433
435
|
}
|
434
|
-
function
|
436
|
+
function ge(e, u, t, a) {
|
435
437
|
const i = (u & F.BRANCH_LENGTH) >> 7, c = u & F.JUMP_TABLE;
|
436
438
|
if (i === 0)
|
437
439
|
return c !== 0 && a === c ? t : -1;
|
@@ -465,14 +467,14 @@ function L(e) {
|
|
465
467
|
function z(e) {
|
466
468
|
return e === l.Slash || e === l.Gt || L(e);
|
467
469
|
}
|
468
|
-
function
|
470
|
+
function ye(e) {
|
469
471
|
return e >= l.LowerA && e <= l.LowerZ || e >= l.UpperA && e <= l.UpperZ;
|
470
472
|
}
|
471
473
|
var R;
|
472
474
|
(function(e) {
|
473
475
|
e[e.NoValue = 0] = "NoValue", e[e.Unquoted = 1] = "Unquoted", e[e.Single = 2] = "Single", e[e.Double = 3] = "Double";
|
474
476
|
})(R || (R = {}));
|
475
|
-
const
|
477
|
+
const w = {
|
476
478
|
Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
|
477
479
|
// CDATA[
|
478
480
|
CdataEnd: new Uint8Array([93, 93, 62]),
|
@@ -501,9 +503,9 @@ const E = {
|
|
501
503
|
XmpEnd: new Uint8Array([60, 47, 120, 109, 112])
|
502
504
|
// `</xmp`
|
503
505
|
};
|
504
|
-
class
|
506
|
+
class Se {
|
505
507
|
constructor({ xmlMode: u = !1, decodeEntities: t = !0 }, a) {
|
506
|
-
this.cbs = a, this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = o.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
|
508
|
+
this.cbs = a, this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.entityStart = 0, this.baseState = o.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 ? de : oe, (i, c) => this.emitCodePoint(i, c));
|
507
509
|
}
|
508
510
|
reset() {
|
509
511
|
this.state = o.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = o.Text, this.currentSequence = void 0, this.running = !0, this.offset = 0;
|
@@ -553,10 +555,10 @@ class Ie {
|
|
553
555
|
}
|
554
556
|
this.sequenceIndex = 0;
|
555
557
|
}
|
556
|
-
(u | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence ===
|
558
|
+
(u | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === w.TitleEnd ? this.decodeEntities && u === l.Amp && this.startEntity() : this.fastForwardTo(l.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(u === l.Lt);
|
557
559
|
}
|
558
560
|
stateCDATASequence(u) {
|
559
|
-
u ===
|
561
|
+
u === w.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === w.Cdata.length && (this.state = o.InCommentLike, this.currentSequence = w.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = o.InDeclaration, this.stateInDeclaration(u));
|
560
562
|
}
|
561
563
|
/**
|
562
564
|
* When we wait for one specific character, we can speed things up
|
@@ -579,7 +581,7 @@ class Ie {
|
|
579
581
|
* - All characters but the start character of the sequence can be skipped.
|
580
582
|
*/
|
581
583
|
stateInCommentLike(u) {
|
582
|
-
u === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence ===
|
584
|
+
u === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === w.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = o.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : u !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
|
583
585
|
}
|
584
586
|
/**
|
585
587
|
* HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
|
@@ -588,7 +590,7 @@ class Ie {
|
|
588
590
|
* We allow anything that wouldn't end the tag.
|
589
591
|
*/
|
590
592
|
isTagStartChar(u) {
|
591
|
-
return this.xmlMode ? !z(u) :
|
593
|
+
return this.xmlMode ? !z(u) : ye(u);
|
592
594
|
}
|
593
595
|
startSpecial(u, t) {
|
594
596
|
this.isSpecial = !0, this.currentSequence = u, this.sequenceIndex = t, this.state = o.SpecialStartSequence;
|
@@ -600,7 +602,7 @@ class Ie {
|
|
600
602
|
this.state = o.InProcessingInstruction, this.sectionStart = this.index + 1;
|
601
603
|
else if (this.isTagStartChar(u)) {
|
602
604
|
const t = u | 32;
|
603
|
-
this.sectionStart = this.index, this.xmlMode ? this.state = o.InTagName : t ===
|
605
|
+
this.sectionStart = this.index, this.xmlMode ? this.state = o.InTagName : t === w.ScriptEnd[2] ? this.state = o.BeforeSpecialS : t === w.TitleEnd[2] || t === w.XmpEnd[2] ? this.state = o.BeforeSpecialT : this.state = o.InTagName;
|
604
606
|
} else u === l.Slash ? this.state = o.BeforeClosingTagName : (this.state = o.Text, this.stateText(u));
|
605
607
|
}
|
606
608
|
stateInTagName(u) {
|
@@ -652,27 +654,27 @@ class Ie {
|
|
652
654
|
(u === l.Gt || this.fastForwardTo(l.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = o.Text, this.sectionStart = this.index + 1);
|
653
655
|
}
|
654
656
|
stateBeforeComment(u) {
|
655
|
-
u === l.Dash ? (this.state = o.InCommentLike, this.currentSequence =
|
657
|
+
u === l.Dash ? (this.state = o.InCommentLike, this.currentSequence = w.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = o.InDeclaration;
|
656
658
|
}
|
657
659
|
stateInSpecialComment(u) {
|
658
660
|
(u === l.Gt || this.fastForwardTo(l.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = o.Text, this.sectionStart = this.index + 1);
|
659
661
|
}
|
660
662
|
stateBeforeSpecialS(u) {
|
661
663
|
const t = u | 32;
|
662
|
-
t ===
|
664
|
+
t === w.ScriptEnd[3] ? this.startSpecial(w.ScriptEnd, 4) : t === w.StyleEnd[3] ? this.startSpecial(w.StyleEnd, 4) : (this.state = o.InTagName, this.stateInTagName(u));
|
663
665
|
}
|
664
666
|
stateBeforeSpecialT(u) {
|
665
667
|
switch (u | 32) {
|
666
|
-
case
|
667
|
-
this.startSpecial(
|
668
|
+
case w.TitleEnd[3]: {
|
669
|
+
this.startSpecial(w.TitleEnd, 4);
|
668
670
|
break;
|
669
671
|
}
|
670
|
-
case
|
671
|
-
this.startSpecial(
|
672
|
+
case w.TextareaEnd[3]: {
|
673
|
+
this.startSpecial(w.TextareaEnd, 4);
|
672
674
|
break;
|
673
675
|
}
|
674
|
-
case
|
675
|
-
this.startSpecial(
|
676
|
+
case w.XmpEnd[3]: {
|
677
|
+
this.startSpecial(w.XmpEnd, 4);
|
676
678
|
break;
|
677
679
|
}
|
678
680
|
default:
|
@@ -819,7 +821,7 @@ class Ie {
|
|
819
821
|
/** Handle any trailing data. */
|
820
822
|
handleTrailingData() {
|
821
823
|
const u = this.buffer.length + this.offset;
|
822
|
-
this.sectionStart >= u || (this.state === o.InCommentLike ? this.currentSequence ===
|
824
|
+
this.sectionStart >= u || (this.state === o.InCommentLike ? this.currentSequence === w.CdataEnd ? this.cbs.oncdata(this.sectionStart, u, 0) : this.cbs.oncomment(this.sectionStart, u, 0) : this.state === o.InTagName || this.state === o.BeforeAttributeName || this.state === o.BeforeAttributeValue || this.state === o.AfterAttributeName || this.state === o.InAttributeName || this.state === o.InAttributeValueSq || this.state === o.InAttributeValueDq || this.state === o.InAttributeValueNq || this.state === o.InClosingTagName || this.cbs.ontext(this.sectionStart, u));
|
823
825
|
}
|
824
826
|
emitCodePoint(u, t) {
|
825
827
|
this.baseState !== o.Text && this.baseState !== o.InSpecialTag ? (this.sectionStart < this.entityStart && this.cbs.onattribdata(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.onattribentity(u)) : (this.sectionStart < this.entityStart && this.cbs.ontext(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + t, this.index = this.sectionStart - 1, this.cbs.ontextentity(u, this.sectionStart));
|
@@ -833,7 +835,7 @@ const $ = /* @__PURE__ */ new Set([
|
|
833
835
|
"button",
|
834
836
|
"datalist",
|
835
837
|
"textarea"
|
836
|
-
]), S = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]),
|
838
|
+
]), S = /* @__PURE__ */ new Set(["p"]), Su = /* @__PURE__ */ new Set(["thead", "tbody"]), Iu = /* @__PURE__ */ new Set(["dd", "dt"]), Eu = /* @__PURE__ */ new Set(["rt", "rp"]), Ie = /* @__PURE__ */ new Map([
|
837
839
|
["tr", /* @__PURE__ */ new Set(["tr", "th", "td"])],
|
838
840
|
["th", /* @__PURE__ */ new Set(["th"])],
|
839
841
|
["td", /* @__PURE__ */ new Set(["thead", "th", "td"])],
|
@@ -877,8 +879,8 @@ const $ = /* @__PURE__ */ new Set([
|
|
877
879
|
["section", S],
|
878
880
|
["table", S],
|
879
881
|
["ul", S],
|
880
|
-
["rt",
|
881
|
-
["rp",
|
882
|
+
["rt", Eu],
|
883
|
+
["rp", Eu],
|
882
884
|
["tbody", Su],
|
883
885
|
["tfoot", Su]
|
884
886
|
]), Ee = /* @__PURE__ */ new Set([
|
@@ -901,7 +903,7 @@ const $ = /* @__PURE__ */ new Set([
|
|
901
903
|
"source",
|
902
904
|
"track",
|
903
905
|
"wbr"
|
904
|
-
]),
|
906
|
+
]), wu = /* @__PURE__ */ new Set(["math", "svg"]), vu = /* @__PURE__ */ new Set([
|
905
907
|
"mi",
|
906
908
|
"mo",
|
907
909
|
"mn",
|
@@ -911,11 +913,11 @@ const $ = /* @__PURE__ */ new Set([
|
|
911
913
|
"foreignobject",
|
912
914
|
"desc",
|
913
915
|
"title"
|
914
|
-
]),
|
915
|
-
class
|
916
|
+
]), we = /\s|\//;
|
917
|
+
class ve {
|
916
918
|
constructor(u, t = {}) {
|
917
919
|
var a, i, c, s, r, d;
|
918
|
-
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 = (i = t.lowerCaseAttributeNames) !== null && i !== void 0 ? i : this.htmlMode, this.recognizeSelfClosing = (c = t.recognizeSelfClosing) !== null && c !== void 0 ? c : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s :
|
920
|
+
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 = (i = t.lowerCaseAttributeNames) !== null && i !== void 0 ? i : this.htmlMode, this.recognizeSelfClosing = (c = t.recognizeSelfClosing) !== null && c !== void 0 ? c : !this.htmlMode, this.tokenizer = new ((s = t.Tokenizer) !== null && s !== void 0 ? s : Se)(this.options, this), this.foreignContext = [!this.htmlMode], (d = (r = this.cbs).onparserinit) === null || d === void 0 || d.call(r, this);
|
919
921
|
}
|
920
922
|
// Tokenizer event handlers
|
921
923
|
/** @internal */
|
@@ -945,13 +947,13 @@ class Ae {
|
|
945
947
|
emitOpenTag(u) {
|
946
948
|
var t, a, i, c;
|
947
949
|
this.openTagStart = this.startIndex, this.tagname = u;
|
948
|
-
const s = this.htmlMode &&
|
950
|
+
const s = this.htmlMode && Ie.get(u);
|
949
951
|
if (s)
|
950
952
|
for (; this.stack.length > 0 && s.has(this.stack[0]); ) {
|
951
953
|
const r = this.stack.shift();
|
952
954
|
(a = (t = this.cbs).onclosetag) === null || a === void 0 || a.call(t, r, !0);
|
953
955
|
}
|
954
|
-
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (
|
956
|
+
this.isVoidElement(u) || (this.stack.unshift(u), this.htmlMode && (wu.has(u) ? this.foreignContext.unshift(!0) : vu.has(u) && this.foreignContext.unshift(!1))), (c = (i = this.cbs).onopentagname) === null || c === void 0 || c.call(i, u), this.cbs.onopentag && (this.attribs = {});
|
955
957
|
}
|
956
958
|
endOpenTag(u) {
|
957
959
|
var t, a;
|
@@ -966,7 +968,7 @@ class Ae {
|
|
966
968
|
var a, i, c, s, r, d, n, b;
|
967
969
|
this.endIndex = t;
|
968
970
|
let f = this.getSlice(u, t);
|
969
|
-
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (
|
971
|
+
if (this.lowerCaseTagNames && (f = f.toLowerCase()), this.htmlMode && (wu.has(f) || vu.has(f)) && this.foreignContext.shift(), this.isVoidElement(f))
|
970
972
|
this.htmlMode && f === "br" && ((s = (c = this.cbs).onopentagname) === null || s === void 0 || s.call(c, "br"), (d = (r = this.cbs).onopentag) === null || d === void 0 || d.call(r, "br", {}, !0), (b = (n = this.cbs).onclosetag) === null || b === void 0 || b.call(n, "br", !1));
|
971
973
|
else {
|
972
974
|
const I = this.stack.indexOf(f);
|
@@ -1008,7 +1010,7 @@ class Ae {
|
|
1008
1010
|
this.endIndex = t, (i = (a = this.cbs).onattribute) === null || i === void 0 || i.call(a, this.attribname, this.attribvalue, u === R.Double ? '"' : u === R.Single ? "'" : u === R.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
|
1009
1011
|
}
|
1010
1012
|
getInstructionName(u) {
|
1011
|
-
const t = u.search(
|
1013
|
+
const t = u.search(we);
|
1012
1014
|
let a = t < 0 ? u : u.substr(0, t);
|
1013
1015
|
return this.lowerCaseTagNames && (a = a.toLowerCase()), a;
|
1014
1016
|
}
|
@@ -1143,7 +1145,7 @@ class Ae {
|
|
1143
1145
|
function Au(e, u = "web") {
|
1144
1146
|
const t = { name: "", children: [] }, a = [t];
|
1145
1147
|
let i = "";
|
1146
|
-
const c = new
|
1148
|
+
const c = new ve(
|
1147
1149
|
{
|
1148
1150
|
onopentag: (s, r, d) => {
|
1149
1151
|
const n = a[a.length - 1];
|
@@ -1187,13 +1189,13 @@ function Au(e, u = "web") {
|
|
1187
1189
|
);
|
1188
1190
|
return c.write(e.replace(/\\"/g, '"')), c.end(), t.children || [];
|
1189
1191
|
}
|
1190
|
-
function
|
1192
|
+
function Ae(e, u) {
|
1191
1193
|
const a = {
|
1192
|
-
imports:
|
1194
|
+
imports: Te(e),
|
1193
1195
|
emits: [],
|
1194
1196
|
errors: []
|
1195
|
-
}, i =
|
1196
|
-
return
|
1197
|
+
}, i = Z(e);
|
1198
|
+
return K(i, {
|
1197
1199
|
ExportDefaultDeclaration(c) {
|
1198
1200
|
const s = c.node.declaration;
|
1199
1201
|
if (s.type !== "CallExpression") return;
|
@@ -1206,48 +1208,48 @@ function Te(e, u) {
|
|
1206
1208
|
), b = d.find(
|
1207
1209
|
(f) => f.key.name === "computed"
|
1208
1210
|
);
|
1209
|
-
b && (a.computed = qu(b.value), a.watchers =
|
1211
|
+
b && (a.computed = qu(b.value), a.watchers = Re(b.value));
|
1210
1212
|
for (const f of d)
|
1211
1213
|
switch (f.key.name) {
|
1212
1214
|
case "name":
|
1213
1215
|
a.name = f.value.value;
|
1214
1216
|
break;
|
1215
1217
|
case "methods":
|
1216
|
-
a.handlers =
|
1218
|
+
a.handlers = je(f.value), a.methods = qe(f.value), a.dataSources = Ve(
|
1217
1219
|
f.value,
|
1218
1220
|
u
|
1219
1221
|
);
|
1220
1222
|
break;
|
1221
1223
|
case "watch":
|
1222
|
-
a.watch =
|
1224
|
+
a.watch = De(
|
1223
1225
|
f.value,
|
1224
1226
|
a.watchers
|
1225
1227
|
);
|
1226
1228
|
break;
|
1227
1229
|
case "props":
|
1228
|
-
a.props =
|
1230
|
+
a.props = Be(f.value);
|
1229
1231
|
break;
|
1230
1232
|
case "inject":
|
1231
|
-
a.inject =
|
1233
|
+
a.inject = Fe(f.value);
|
1232
1234
|
break;
|
1233
1235
|
}
|
1234
1236
|
for (const f of n)
|
1235
1237
|
switch (f.key.name) {
|
1236
1238
|
case "setup":
|
1237
|
-
a.state =
|
1239
|
+
a.state = ke(f.body);
|
1238
1240
|
break;
|
1239
1241
|
}
|
1240
|
-
a.lifeCycles =
|
1242
|
+
a.lifeCycles = Le(n);
|
1241
1243
|
},
|
1242
1244
|
CallExpression(c) {
|
1243
|
-
const s =
|
1245
|
+
const s = Ce(c.node);
|
1244
1246
|
if (s.length)
|
1245
1247
|
for (let r of s)
|
1246
1248
|
a.emits?.find((n) => n.name === r.name) || a.emits?.push(r);
|
1247
1249
|
}
|
1248
1250
|
}), a;
|
1249
1251
|
}
|
1250
|
-
function
|
1252
|
+
function Te(e) {
|
1251
1253
|
const u = /import\s+{(.+?)}\s+from\s+['"](.+?)['"]/g, t = /import\s+(.+?)\s+from\s+['"](.+?)['"]/g, a = /^{(.+?)}$/, i = [];
|
1252
1254
|
let c;
|
1253
1255
|
const s = e.replace(/\n/g, " ");
|
@@ -1267,7 +1269,7 @@ function Ne(e) {
|
|
1267
1269
|
}
|
1268
1270
|
return i;
|
1269
1271
|
}
|
1270
|
-
function
|
1272
|
+
function Ne(e) {
|
1271
1273
|
for (const u of e.body)
|
1272
1274
|
if (u.type === "VariableDeclaration" && u.kind == "const") {
|
1273
1275
|
const { id: t, init: a } = u.declarations[0];
|
@@ -1276,8 +1278,8 @@ function ke(e) {
|
|
1276
1278
|
}
|
1277
1279
|
return null;
|
1278
1280
|
}
|
1279
|
-
function
|
1280
|
-
const u =
|
1281
|
+
function ke(e) {
|
1282
|
+
const u = Ne(e);
|
1281
1283
|
if (!u) return {};
|
1282
1284
|
const t = {};
|
1283
1285
|
for (const a of u.properties) {
|
@@ -1289,7 +1291,7 @@ function Ve(e) {
|
|
1289
1291
|
}
|
1290
1292
|
return t;
|
1291
1293
|
}
|
1292
|
-
function
|
1294
|
+
function P(e) {
|
1293
1295
|
const { key: u, async: t, params: a, body: i } = e, c = a?.map((s) => s.type === "ObjectPattern" ? `{${s.properties.map((d) => d.key?.name || d.name).join(",")}}` : s.name).join(", ");
|
1294
1296
|
if (u.type === "Identifier") {
|
1295
1297
|
const s = u.name;
|
@@ -1313,20 +1315,20 @@ function qu(e) {
|
|
1313
1315
|
if (!e) return {};
|
1314
1316
|
const u = {};
|
1315
1317
|
for (const t of e.properties) {
|
1316
|
-
const a =
|
1317
|
-
a && !a.watcher && !a.exp.value.includes("this.provider.createMock") && !a.exp.value.includes("this.provider.
|
1318
|
+
const a = P(t);
|
1319
|
+
a && !a.watcher && !a.exp.value.includes("this.provider.createMock") && !a.exp.value.includes("this.provider.apis") && (u[a.name] = a.exp);
|
1318
1320
|
}
|
1319
1321
|
return u;
|
1320
1322
|
}
|
1321
|
-
function
|
1323
|
+
function Ve(e, u) {
|
1322
1324
|
if (!e) return {};
|
1323
1325
|
const t = {}, a = /apis\[\'([\w]*)\'\]/, i = /\.then\(([\w\W]*)\)/;
|
1324
1326
|
for (const c of e.properties) {
|
1325
|
-
const s =
|
1327
|
+
const s = P(c), r = c.body.body?.[0], d = (r?.leadingComments?.[0].value || "").trim(), n = re(d);
|
1326
1328
|
if (s && s.exp.value.includes("this.provider.apis")) {
|
1327
1329
|
const f = (s.exp.value.match(a) || [])[1];
|
1328
1330
|
if (!f) continue;
|
1329
|
-
const I =
|
1331
|
+
const I = Me(u, f);
|
1330
1332
|
if (!I) continue;
|
1331
1333
|
const x = s.exp.value.match(i)?.[1];
|
1332
1334
|
t[s.name] = {
|
@@ -1377,13 +1379,13 @@ function qe(e, u) {
|
|
1377
1379
|
}
|
1378
1380
|
return t;
|
1379
1381
|
}
|
1380
|
-
function
|
1382
|
+
function qe(e) {
|
1381
1383
|
const u = qu(e), t = /\_([\w]{5,})$/, a = {};
|
1382
1384
|
for (const i of Object.keys(u))
|
1383
1385
|
t.test(i) || (a[i] = u[i]);
|
1384
1386
|
return a;
|
1385
1387
|
}
|
1386
|
-
function
|
1388
|
+
function je(e) {
|
1387
1389
|
if (!e) return {};
|
1388
1390
|
const u = {}, t = /\_([\w]{5,})$/;
|
1389
1391
|
for (const a of e.properties) {
|
@@ -1396,18 +1398,18 @@ function Re(e) {
|
|
1396
1398
|
);
|
1397
1399
|
u[i] = ou(c);
|
1398
1400
|
} else
|
1399
|
-
u[i] =
|
1401
|
+
u[i] = P(a)?.exp;
|
1400
1402
|
} catch (c) {
|
1401
1403
|
console.warn(c);
|
1402
1404
|
}
|
1403
1405
|
}
|
1404
1406
|
return u;
|
1405
1407
|
}
|
1406
|
-
function
|
1408
|
+
function Re(e) {
|
1407
1409
|
if (!e) return {};
|
1408
1410
|
const u = {};
|
1409
1411
|
for (const t of e.properties) {
|
1410
|
-
const a =
|
1412
|
+
const a = P(t);
|
1411
1413
|
a && a.watcher && (u[a.name] = a.exp);
|
1412
1414
|
}
|
1413
1415
|
return u;
|
@@ -1425,9 +1427,9 @@ function Tu(e, u) {
|
|
1425
1427
|
(a) => a.key?.name === u
|
1426
1428
|
);
|
1427
1429
|
if (t)
|
1428
|
-
return
|
1430
|
+
return P(t)?.exp;
|
1429
1431
|
}
|
1430
|
-
function
|
1432
|
+
function De(e, u = {}) {
|
1431
1433
|
const t = [];
|
1432
1434
|
for (const a of e.properties) {
|
1433
1435
|
const { key: i, value: c } = a, s = i.value || i.name || "";
|
@@ -1441,18 +1443,18 @@ function Le(e, u = {}) {
|
|
1441
1443
|
handler: Tu(r, "handler")
|
1442
1444
|
});
|
1443
1445
|
} else if (a.type === "ObjectMethod" && t.push({
|
1444
|
-
id:
|
1446
|
+
id: au(),
|
1445
1447
|
source: {
|
1446
1448
|
type: "JSFunction",
|
1447
1449
|
value: `() => { return this.${s}; }`
|
1448
1450
|
},
|
1449
1451
|
deep: !1,
|
1450
1452
|
immediate: !1,
|
1451
|
-
handler:
|
1453
|
+
handler: P(a)?.exp
|
1452
1454
|
}), a.type === "ObjectProperty") {
|
1453
1455
|
const r = c.properties;
|
1454
1456
|
t.push({
|
1455
|
-
id:
|
1457
|
+
id: au(),
|
1456
1458
|
source: {
|
1457
1459
|
type: "JSFunction",
|
1458
1460
|
value: `() => { return this.${s}; }`
|
@@ -1465,18 +1467,18 @@ function Le(e, u = {}) {
|
|
1465
1467
|
}
|
1466
1468
|
return t;
|
1467
1469
|
}
|
1468
|
-
function
|
1470
|
+
function Le(e) {
|
1469
1471
|
const u = {};
|
1470
1472
|
for (const t of e) {
|
1471
1473
|
const a = t.key.name;
|
1472
|
-
if (
|
1473
|
-
const i =
|
1474
|
+
if (te.includes(a)) {
|
1475
|
+
const i = P(t);
|
1474
1476
|
i && (u[i.name] = i.exp);
|
1475
1477
|
}
|
1476
1478
|
}
|
1477
1479
|
return u;
|
1478
1480
|
}
|
1479
|
-
function
|
1481
|
+
function _e(e) {
|
1480
1482
|
const u = e.find(
|
1481
1483
|
(t) => t.key?.name === "type"
|
1482
1484
|
);
|
@@ -1490,7 +1492,7 @@ function Ru(e) {
|
|
1490
1492
|
if (u)
|
1491
1493
|
return k(M(u.value));
|
1492
1494
|
}
|
1493
|
-
function
|
1495
|
+
function Be(e) {
|
1494
1496
|
if (!e) return [];
|
1495
1497
|
let u = [];
|
1496
1498
|
return e.type === "ArrayExpression" ? u = e.elements.map((t) => t.value) : e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
@@ -1498,12 +1500,12 @@ function Ce(e) {
|
|
1498
1500
|
return {
|
1499
1501
|
name: a.name,
|
1500
1502
|
required: W(c, "required"),
|
1501
|
-
type:
|
1503
|
+
type: _e(c),
|
1502
1504
|
default: Ru(c)
|
1503
1505
|
};
|
1504
1506
|
})), u;
|
1505
1507
|
}
|
1506
|
-
function
|
1508
|
+
function Ce(e) {
|
1507
1509
|
const u = [];
|
1508
1510
|
if (e.callee.type === "MemberExpression" && e.callee.property?.name === "$emit") {
|
1509
1511
|
const [a, ...i] = (e.arguments || []).map(
|
@@ -1516,7 +1518,7 @@ function Fe(e) {
|
|
1516
1518
|
}
|
1517
1519
|
return u;
|
1518
1520
|
}
|
1519
|
-
function
|
1521
|
+
function Fe(e) {
|
1520
1522
|
let u = [];
|
1521
1523
|
return e.type === "ObjectExpression" && (u = e.properties.map((t) => {
|
1522
1524
|
const { key: a, value: i } = t, c = i.properties, s = a.name, r = ju(c, "from"), d = Ru(c);
|
@@ -1527,12 +1529,12 @@ function Me(e) {
|
|
1527
1529
|
};
|
1528
1530
|
})), u;
|
1529
1531
|
}
|
1530
|
-
function
|
1532
|
+
function Me(e, u) {
|
1531
1533
|
return (e.apis || []).find((t) => t.id === u);
|
1532
1534
|
}
|
1533
|
-
let
|
1535
|
+
let cu = [], X = {}, Du = {}, Lu = {}, Q = "web", _u = [];
|
1534
1536
|
function Pe(e, u, t = "", a) {
|
1535
|
-
return
|
1537
|
+
return cu = [], X = {}, Du = a?.handlers || {}, Lu = a?.styles || {}, Q = a?.platform || "web", _u = a?.imports || [], {
|
1536
1538
|
nodes: (Ju({
|
1537
1539
|
id: e,
|
1538
1540
|
filename: u,
|
@@ -1540,23 +1542,23 @@ function Pe(e, u, t = "", a) {
|
|
1540
1542
|
isProd: !0,
|
1541
1543
|
slotted: !0
|
1542
1544
|
}).ast?.children || []).map((r) => U(r)).filter((r) => !!r),
|
1543
|
-
slots:
|
1545
|
+
slots: cu,
|
1544
1546
|
context: X
|
1545
1547
|
};
|
1546
1548
|
}
|
1547
|
-
function
|
1549
|
+
function Oe(e) {
|
1548
1550
|
if (e.name === "slot") {
|
1549
1551
|
let u = "default";
|
1550
1552
|
const t = [];
|
1551
1553
|
for (const [a, i] of Object.entries(e.props || {}))
|
1552
1554
|
a === "name" ? u = i : t.push(a);
|
1553
|
-
|
1555
|
+
cu.push({
|
1554
1556
|
name: u,
|
1555
1557
|
params: t
|
1556
1558
|
});
|
1557
1559
|
}
|
1558
1560
|
}
|
1559
|
-
function
|
1561
|
+
function $e(e) {
|
1560
1562
|
const u = {};
|
1561
1563
|
for (const t of e) {
|
1562
1564
|
if (t.type === h.ATTRIBUTE)
|
@@ -1570,7 +1572,7 @@ function Ue(e) {
|
|
1570
1572
|
u[t.name] = t.value?.content || "";
|
1571
1573
|
if (t.type === h.DIRECTIVE && t.name === "bind" && (t.exp?.type === h.SIMPLE_EXPRESSION && t.arg?.type === h.SIMPLE_EXPRESSION && (u[t.arg.content] = k(`(${t.exp.content})`)), t.exp?.type === h.COMPOUND_EXPRESSION && t.arg?.type === h.SIMPLE_EXPRESSION))
|
1572
1574
|
if (t.arg.content === "class" && u.class) {
|
1573
|
-
const a = t.exp.ast.type, i =
|
1575
|
+
const a = t.exp.ast.type, i = ne(
|
1574
1576
|
u.class,
|
1575
1577
|
t.exp.loc.source,
|
1576
1578
|
a
|
@@ -1583,7 +1585,7 @@ function Ue(e) {
|
|
1583
1585
|
}
|
1584
1586
|
return u;
|
1585
1587
|
}
|
1586
|
-
function
|
1588
|
+
function Ue(e, u = {}) {
|
1587
1589
|
const t = {};
|
1588
1590
|
for (const a of e)
|
1589
1591
|
if (a.type === h.DIRECTIVE && a.name === "on" && a.arg?.type === h.SIMPLE_EXPRESSION) {
|
@@ -1659,18 +1661,20 @@ function du(e, u) {
|
|
1659
1661
|
}
|
1660
1662
|
function Bu(e) {
|
1661
1663
|
let u = "";
|
1662
|
-
|
1663
|
-
|
1664
|
-
const
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1664
|
+
if (e.type === h.ELEMENT) {
|
1665
|
+
const { props: t = [], tag: a } = e;
|
1666
|
+
for (const i of t)
|
1667
|
+
if (i.name === "class") {
|
1668
|
+
const c = i.value?.content || "", s = new RegExp(`${a}_([\\w]+)`);
|
1669
|
+
u = c.match(s)?.[1] || "";
|
1670
|
+
} else if (i.type === h.DIRECTIVE && i.name === "on") {
|
1671
|
+
const c = i.arg?.loc?.source || "", s = i.exp?.loc?.source || "", r = new RegExp(`${c}_([\\w]+)`);
|
1672
|
+
u = s.match(r)?.[1] || "";
|
1673
|
+
}
|
1670
1674
|
}
|
1671
|
-
return u ||
|
1675
|
+
return u || au();
|
1672
1676
|
}
|
1673
|
-
function
|
1677
|
+
function He(e) {
|
1674
1678
|
const u = /\.\/(.+?)\.vue/;
|
1675
1679
|
for (const { from: t, imports: a } of _u) {
|
1676
1680
|
if (Array.isArray(a) && a.includes(e))
|
@@ -1685,7 +1689,7 @@ function Ge(e) {
|
|
1685
1689
|
}
|
1686
1690
|
}
|
1687
1691
|
}
|
1688
|
-
function
|
1692
|
+
function su(e, u) {
|
1689
1693
|
const t = new Set(u?.id ? X[u.id] : []), a = (e.directives || []).find((s) => s.name === "vFor");
|
1690
1694
|
let i = new Set(Array.from(t));
|
1691
1695
|
if (a) {
|
@@ -1699,30 +1703,30 @@ function iu(e, u) {
|
|
1699
1703
|
}
|
1700
1704
|
X[e.id] = i;
|
1701
1705
|
}
|
1702
|
-
function
|
1706
|
+
function tu(e, u, t, a) {
|
1703
1707
|
const i = {
|
1704
1708
|
name: ku(e.tag, Q),
|
1705
|
-
from:
|
1706
|
-
props:
|
1707
|
-
events:
|
1709
|
+
from: He(e.tag),
|
1710
|
+
props: $e(e.props),
|
1711
|
+
events: Ue(e.props, Du),
|
1708
1712
|
directives: du(t || e, a)
|
1709
1713
|
};
|
1710
|
-
i.id = Bu(
|
1714
|
+
i.id = Bu(e), su(i, u);
|
1711
1715
|
const c = fu(i, e.children);
|
1712
|
-
return
|
1716
|
+
return su(i, u), Oe(c), c;
|
1713
1717
|
}
|
1714
|
-
function
|
1718
|
+
function Ge(e, u) {
|
1715
1719
|
return e.map((t) => U(t, u, e));
|
1716
1720
|
}
|
1717
1721
|
function U(e, u, t) {
|
1718
1722
|
if (e.type === h.ELEMENT)
|
1719
|
-
return
|
1723
|
+
return tu(e, u);
|
1720
1724
|
if (e.type === h.IF)
|
1721
|
-
return
|
1725
|
+
return Je(e);
|
1722
1726
|
if (t && e.type === h.IF_BRANCH) {
|
1723
1727
|
const a = e.children.find((i) => i.type === h.ELEMENT);
|
1724
1728
|
if (a && a.type === h.ELEMENT)
|
1725
|
-
return
|
1729
|
+
return tu(a, u, e, t);
|
1726
1730
|
}
|
1727
1731
|
if (e.type === h.FOR) {
|
1728
1732
|
const a = e.children[0];
|
@@ -1730,7 +1734,7 @@ function U(e, u, t) {
|
|
1730
1734
|
const c = { name: "span", directives: du(e) };
|
1731
1735
|
return fu(c, e.children);
|
1732
1736
|
} else
|
1733
|
-
return
|
1737
|
+
return tu(a, u, e);
|
1734
1738
|
}
|
1735
1739
|
if (e.type === h.TEXT_CALL)
|
1736
1740
|
return e.content.type == h.TEXT ? e.content.content : e.content.type === h.INTERPOLATION ? k(e.content.content.loc.source) : "";
|
@@ -1739,12 +1743,12 @@ function U(e, u, t) {
|
|
1739
1743
|
if (e.type === h.INTERPOLATION && (e.content.type === h.SIMPLE_EXPRESSION || e.content.type === h.COMPOUND_EXPRESSION))
|
1740
1744
|
return k(e.content.loc.source);
|
1741
1745
|
if (e.type === h.COMPOUND_EXPRESSION)
|
1742
|
-
return
|
1746
|
+
return We(
|
1743
1747
|
e.children
|
1744
1748
|
);
|
1745
1749
|
e.type !== h.COMMENT && console.warn("未处理", e.type);
|
1746
1750
|
}
|
1747
|
-
function
|
1751
|
+
function We(e = []) {
|
1748
1752
|
const u = e.filter((a) => typeof a != "string"), t = [];
|
1749
1753
|
for (const a of u)
|
1750
1754
|
t.push({
|
@@ -1773,10 +1777,10 @@ function fu(e, u = []) {
|
|
1773
1777
|
children: U(c, e)
|
1774
1778
|
} : U(c, e);
|
1775
1779
|
s && (Array.isArray(s) ? s : [s]).forEach((d) => {
|
1776
|
-
|
1780
|
+
ee(d) && i?.type === h.DIRECTIVE && (d.id = Bu(c), d.slot = {
|
1777
1781
|
name: i.arg?.content || "default",
|
1778
1782
|
params: i.exp?.identifiers || []
|
1779
|
-
},
|
1783
|
+
}, su(d, e)), t.push(d);
|
1780
1784
|
});
|
1781
1785
|
}
|
1782
1786
|
} else if (a.type === h.JS_CALL_EXPRESSION) {
|
@@ -1799,18 +1803,18 @@ function fu(e, u = []) {
|
|
1799
1803
|
e.children = t.map((a) => typeof a == "string" ? { name: "span", children: a } : a);
|
1800
1804
|
return e;
|
1801
1805
|
}
|
1802
|
-
function
|
1806
|
+
function Je(e) {
|
1803
1807
|
const u = e.branches || [], t = u[0], a = t.children || [];
|
1804
1808
|
if (t?.isTemplateIf || a.length > 1 || a[0].type !== h.ELEMENT) {
|
1805
1809
|
const c = { name: "span", directives: du(t, u) };
|
1806
1810
|
return fu(c, t.children);
|
1807
1811
|
} else
|
1808
|
-
return
|
1812
|
+
return Ge(u);
|
1809
1813
|
}
|
1810
|
-
function
|
1814
|
+
function ze(e) {
|
1811
1815
|
const u = [], t = {}, a = [];
|
1812
1816
|
try {
|
1813
|
-
const i =
|
1817
|
+
const i = Yu.compileString(e, { charset: !1 })?.css || "", c = Ku.parse(i), s = /^.[\w]+_[\w]{5,}/;
|
1814
1818
|
for (const r of c.nodes)
|
1815
1819
|
if (r.type === "rule") {
|
1816
1820
|
const d = {};
|
@@ -1832,10 +1836,10 @@ function Xe(e) {
|
|
1832
1836
|
}
|
1833
1837
|
const Cu = "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(
|
1834
1838
|
", "
|
1835
|
-
),
|
1839
|
+
), Xe = "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(
|
1836
1840
|
", "
|
1837
|
-
),
|
1838
|
-
class
|
1841
|
+
), Qe = "user", D = "User";
|
1842
|
+
class Ze {
|
1839
1843
|
validate(u) {
|
1840
1844
|
const t = {
|
1841
1845
|
valid: !0,
|
@@ -1884,7 +1888,7 @@ class Ke {
|
|
1884
1888
|
checkVtjIcons(u) {
|
1885
1889
|
const t = this.findVtjIcons(u), a = [];
|
1886
1890
|
for (const i of t)
|
1887
|
-
|
1891
|
+
Xe.includes(i) || a.push(i);
|
1888
1892
|
return a;
|
1889
1893
|
}
|
1890
1894
|
hasUnchangedComment(u) {
|
@@ -1899,7 +1903,7 @@ class Ke {
|
|
1899
1903
|
);
|
1900
1904
|
}
|
1901
1905
|
}
|
1902
|
-
function
|
1906
|
+
function Ke(e) {
|
1903
1907
|
const u = [];
|
1904
1908
|
let t = e;
|
1905
1909
|
const a = _(e);
|
@@ -1910,7 +1914,7 @@ function Ye(e) {
|
|
1910
1914
|
fixedCode: e,
|
1911
1915
|
changes: []
|
1912
1916
|
};
|
1913
|
-
const i =
|
1917
|
+
const i = Ye(a.script), c = a.template;
|
1914
1918
|
let s = c;
|
1915
1919
|
const r = [], d = /\{\{([^}]+)\}\}/g;
|
1916
1920
|
let n;
|
@@ -1938,17 +1942,17 @@ function Ye(e) {
|
|
1938
1942
|
for (; (n = b.exec(c)) !== null; ) {
|
1939
1943
|
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
1940
1944
|
if (p !== g) {
|
1941
|
-
const
|
1945
|
+
const E = B(c, n.index);
|
1942
1946
|
r.push({
|
1943
1947
|
start: n.index,
|
1944
1948
|
end: n.index + m.length,
|
1945
1949
|
original: m,
|
1946
1950
|
replacement: `:${y}="${p}"`,
|
1947
|
-
line:
|
1948
|
-
column:
|
1951
|
+
line: E.line,
|
1952
|
+
column: E.column
|
1949
1953
|
}), u.push({
|
1950
|
-
line:
|
1951
|
-
column:
|
1954
|
+
line: E.line + 1,
|
1955
|
+
column: E.column,
|
1952
1956
|
original: g,
|
1953
1957
|
fixed: p,
|
1954
1958
|
message: "修复绑定属性:添加 state. 前缀"
|
@@ -1959,17 +1963,17 @@ function Ye(e) {
|
|
1959
1963
|
for (; (n = f.exec(c)) !== null; ) {
|
1960
1964
|
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
1961
1965
|
if (p !== g) {
|
1962
|
-
const
|
1966
|
+
const E = B(c, n.index);
|
1963
1967
|
r.push({
|
1964
1968
|
start: n.index,
|
1965
1969
|
end: n.index + m.length,
|
1966
1970
|
original: m,
|
1967
1971
|
replacement: `v-${y}="${p}"`,
|
1968
|
-
line:
|
1969
|
-
column:
|
1972
|
+
line: E.line,
|
1973
|
+
column: E.column
|
1970
1974
|
}), u.push({
|
1971
|
-
line:
|
1972
|
-
column:
|
1975
|
+
line: E.line + 1,
|
1976
|
+
column: E.column,
|
1973
1977
|
original: g,
|
1974
1978
|
fixed: p,
|
1975
1979
|
message: `修复 v-${y} 指令:添加 state. 前缀`
|
@@ -1980,23 +1984,23 @@ function Ye(e) {
|
|
1980
1984
|
for (; (n = I.exec(c)) !== null; ) {
|
1981
1985
|
const m = n[0], g = n[1].match(/^(.+)\s+in\s+(.+)$/);
|
1982
1986
|
if (g) {
|
1983
|
-
const [, p,
|
1984
|
-
|
1987
|
+
const [, p, E] = g, q = C(
|
1988
|
+
E,
|
1985
1989
|
i
|
1986
1990
|
);
|
1987
|
-
if (q !==
|
1988
|
-
const
|
1991
|
+
if (q !== E) {
|
1992
|
+
const O = B(c, n.index), uu = `v-for="${p} in ${q}"`;
|
1989
1993
|
r.push({
|
1990
1994
|
start: n.index,
|
1991
1995
|
end: n.index + m.length,
|
1992
1996
|
original: m,
|
1993
|
-
replacement:
|
1994
|
-
line:
|
1995
|
-
column:
|
1997
|
+
replacement: uu,
|
1998
|
+
line: O.line,
|
1999
|
+
column: O.column
|
1996
2000
|
}), u.push({
|
1997
|
-
line:
|
1998
|
-
column:
|
1999
|
-
original:
|
2001
|
+
line: O.line + 1,
|
2002
|
+
column: O.column,
|
2003
|
+
original: E,
|
2000
2004
|
fixed: q,
|
2001
2005
|
message: "修复 v-for 指令:添加 state. 前缀"
|
2002
2006
|
});
|
@@ -2049,40 +2053,40 @@ function Ye(e) {
|
|
2049
2053
|
for (; (n = V.exec(c)) !== null; ) {
|
2050
2054
|
const m = n[0], y = n[1], g = n[2], p = C(g, i);
|
2051
2055
|
if (p !== g) {
|
2052
|
-
const
|
2056
|
+
const E = B(c, n.index);
|
2053
2057
|
r.push({
|
2054
2058
|
start: n.index,
|
2055
2059
|
end: n.index + m.length,
|
2056
2060
|
original: m,
|
2057
2061
|
replacement: `v-${y}="${p}"`,
|
2058
|
-
line:
|
2059
|
-
column:
|
2062
|
+
line: E.line,
|
2063
|
+
column: E.column
|
2060
2064
|
}), u.push({
|
2061
|
-
line:
|
2062
|
-
column:
|
2065
|
+
line: E.line + 1,
|
2066
|
+
column: E.column,
|
2063
2067
|
original: g,
|
2064
2068
|
fixed: p,
|
2065
2069
|
message: `修复 v-${y} 指令:添加 state. 前缀`
|
2066
2070
|
});
|
2067
2071
|
}
|
2068
2072
|
}
|
2069
|
-
const
|
2070
|
-
for (; (n =
|
2071
|
-
const m = n[0], y = n[1], g = n[2], p = n[3],
|
2072
|
-
if (
|
2073
|
+
const Y = /(@|v-on:)(\w+)="([^"]+)"/g;
|
2074
|
+
for (; (n = Y.exec(c)) !== null; ) {
|
2075
|
+
const m = n[0], y = n[1], g = n[2], p = n[3], E = u0(p, i);
|
2076
|
+
if (E !== p) {
|
2073
2077
|
const q = B(c, n.index);
|
2074
2078
|
r.push({
|
2075
2079
|
start: n.index,
|
2076
2080
|
end: n.index + m.length,
|
2077
2081
|
original: m,
|
2078
|
-
replacement: `${y}${g}="${
|
2082
|
+
replacement: `${y}${g}="${E}"`,
|
2079
2083
|
line: q.line,
|
2080
2084
|
column: q.column
|
2081
2085
|
}), u.push({
|
2082
2086
|
line: q.line + 1,
|
2083
2087
|
column: q.column,
|
2084
2088
|
original: p,
|
2085
|
-
fixed:
|
2089
|
+
fixed: E,
|
2086
2090
|
message: "修复事件处理器:添加 state. 前缀"
|
2087
2091
|
});
|
2088
2092
|
}
|
@@ -2102,11 +2106,11 @@ function Ye(e) {
|
|
2102
2106
|
changes: u
|
2103
2107
|
};
|
2104
2108
|
}
|
2105
|
-
function
|
2109
|
+
function Ye(e) {
|
2106
2110
|
const u = /* @__PURE__ */ new Set();
|
2107
2111
|
try {
|
2108
|
-
const t =
|
2109
|
-
|
2112
|
+
const t = Z(e);
|
2113
|
+
K(t, {
|
2110
2114
|
CallExpression(a) {
|
2111
2115
|
if (a.node.callee.type === "Identifier" && a.node.callee.name === "reactive" && a.node.arguments.length > 0 && a.node.arguments[0].type === "ObjectExpression") {
|
2112
2116
|
const i = a.parent;
|
@@ -2128,7 +2132,7 @@ function C(e, u) {
|
|
2128
2132
|
i.test(t) && !t.includes(`state.${a}`) && (t = t.replace(i, `state.${a}`));
|
2129
2133
|
}), t;
|
2130
2134
|
}
|
2131
|
-
function
|
2135
|
+
function u0(e, u) {
|
2132
2136
|
let t = e.trim();
|
2133
2137
|
return u.forEach((a) => {
|
2134
2138
|
const i = new RegExp(
|
@@ -2149,15 +2153,15 @@ function B(e, u) {
|
|
2149
2153
|
column: t[t.length - 1].length
|
2150
2154
|
};
|
2151
2155
|
}
|
2152
|
-
class
|
2156
|
+
class e0 {
|
2153
2157
|
fixBasedOnValidation(u, t) {
|
2154
2158
|
let a = u;
|
2155
|
-
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)),
|
2159
|
+
return t.illegalVantIcons.length && (a = this.fixVantIcons(a)), t.illegalVtjIcons.length && (a = this.fixVtjIcons(a, t.illegalVtjIcons)), Ke(a).fixedCode;
|
2156
2160
|
}
|
2157
2161
|
fixVantIcons(u) {
|
2158
2162
|
const t = _(u), a = t.template.replace(
|
2159
2163
|
/<(?:VanIcon|van-icon)\s+[^>]*name="([^"]+)"[^>]*>/g,
|
2160
|
-
(i, c) => Cu.includes(c) ? i : i.replace(c,
|
2164
|
+
(i, c) => Cu.includes(c) ? i : i.replace(c, Qe)
|
2161
2165
|
);
|
2162
2166
|
return this.reconstructSFC(t, a, t.script);
|
2163
2167
|
}
|
@@ -2237,8 +2241,8 @@ ${a}
|
|
2237
2241
|
}), i;
|
2238
2242
|
}
|
2239
2243
|
}
|
2240
|
-
async function
|
2241
|
-
const { id: u, name: t, source: a, project: i } = e, { dependencies: c = [], platform: s = "web" } = i || {}, r = new
|
2244
|
+
async function x0(e) {
|
2245
|
+
const { id: u, name: t, source: a, project: i } = e, { dependencies: c = [], platform: s = "web" } = i || {}, r = new Ze(), d = new e0(), n = r.validate(a);
|
2242
2246
|
let b = [];
|
2243
2247
|
if (!n.valid)
|
2244
2248
|
return b = n.errors, Promise.reject(b);
|
@@ -2246,39 +2250,39 @@ async function y0(e) {
|
|
2246
2250
|
styles: x,
|
2247
2251
|
css: N,
|
2248
2252
|
errors: V
|
2249
|
-
} =
|
2253
|
+
} = ze(I.styles.join(`
|
2250
2254
|
`));
|
2251
2255
|
if (b.push(...V), b.length)
|
2252
2256
|
return Promise.reject(b);
|
2253
2257
|
const {
|
2254
|
-
state:
|
2258
|
+
state: Y,
|
2255
2259
|
watch: m,
|
2256
2260
|
lifeCycles: y,
|
2257
2261
|
computed: g,
|
2258
2262
|
methods: p,
|
2259
|
-
props:
|
2263
|
+
props: E,
|
2260
2264
|
emits: q,
|
2261
|
-
inject:
|
2262
|
-
handlers:
|
2265
|
+
inject: O,
|
2266
|
+
handlers: uu,
|
2263
2267
|
imports: lu,
|
2264
2268
|
dataSources: Fu
|
2265
|
-
} =
|
2269
|
+
} = Ae(I.script, i), { nodes: Mu, slots: Pu, context: Ou } = Pe(u, t, I.template, {
|
2266
2270
|
platform: s,
|
2267
|
-
handlers:
|
2271
|
+
handlers: uu,
|
2268
2272
|
styles: x,
|
2269
2273
|
imports: lu
|
2270
2274
|
}), bu = {
|
2271
2275
|
id: u,
|
2272
2276
|
name: t,
|
2273
|
-
inject:
|
2274
|
-
props:
|
2275
|
-
state:
|
2277
|
+
inject: O,
|
2278
|
+
props: E,
|
2279
|
+
state: Y,
|
2276
2280
|
watch: m,
|
2277
2281
|
lifeCycles: y,
|
2278
2282
|
computed: g,
|
2279
2283
|
methods: p,
|
2280
2284
|
dataSources: Fu,
|
2281
|
-
slots:
|
2285
|
+
slots: Pu,
|
2282
2286
|
emits: q,
|
2283
2287
|
nodes: Mu,
|
2284
2288
|
css: N
|
@@ -2299,17 +2303,17 @@ async function y0(e) {
|
|
2299
2303
|
"$props",
|
2300
2304
|
"props",
|
2301
2305
|
...Object.keys(p || {})
|
2302
|
-
], { libs: Hu } =
|
2306
|
+
], { libs: Hu } = i0(lu, c), hu = {
|
2303
2307
|
platform: s,
|
2304
|
-
context:
|
2308
|
+
context: Ou,
|
2305
2309
|
computed: $u,
|
2306
2310
|
libs: Hu,
|
2307
2311
|
members: Uu
|
2308
2312
|
};
|
2309
|
-
return await
|
2313
|
+
return await t0(
|
2310
2314
|
bu,
|
2311
2315
|
async (H) => {
|
2312
|
-
await
|
2316
|
+
await a0(H, async (G) => {
|
2313
2317
|
if (ru(G)) {
|
2314
2318
|
const Gu = await xu(G.value);
|
2315
2319
|
G.value = gu(Gu, H.id, hu);
|
@@ -2320,9 +2324,9 @@ async function y0(e) {
|
|
2320
2324
|
const G = await xu(H.value);
|
2321
2325
|
H.value = gu(G, "", hu);
|
2322
2326
|
}
|
2323
|
-
), new
|
2327
|
+
), new Xu(bu).toDsl();
|
2324
2328
|
}
|
2325
|
-
async function
|
2329
|
+
async function t0(e, u, t) {
|
2326
2330
|
const a = async (x, N) => {
|
2327
2331
|
if (await u(x, N), Array.isArray(x.children))
|
2328
2332
|
for (const V of x.children)
|
@@ -2360,7 +2364,7 @@ async function a0(e, u, t) {
|
|
2360
2364
|
for (const x of e.nodes)
|
2361
2365
|
await a(x);
|
2362
2366
|
}
|
2363
|
-
async function
|
2367
|
+
async function a0(e, u) {
|
2364
2368
|
const t = async (a) => {
|
2365
2369
|
if (!a || typeof a != "object") return;
|
2366
2370
|
if (Array.isArray(a)) {
|
@@ -2378,7 +2382,7 @@ async function i0(e, u) {
|
|
2378
2382
|
};
|
2379
2383
|
await t(e);
|
2380
2384
|
}
|
2381
|
-
function
|
2385
|
+
function i0(e = [], u = []) {
|
2382
2386
|
const t = {}, a = u.reduce(
|
2383
2387
|
(i, c) => (i[c.package] = c.library, i),
|
2384
2388
|
{}
|
@@ -2398,12 +2402,12 @@ function c0(e = [], u = []) {
|
|
2398
2402
|
};
|
2399
2403
|
}
|
2400
2404
|
export {
|
2401
|
-
|
2402
|
-
|
2403
|
-
|
2405
|
+
e0 as AutoFixer,
|
2406
|
+
Ze as ComponentValidator,
|
2407
|
+
p0 as VTJ_PARSER_VERSION,
|
2404
2408
|
Au as htmlToNodes,
|
2405
|
-
|
2406
|
-
|
2409
|
+
m0 as parseUniApp,
|
2410
|
+
x0 as parseVue,
|
2407
2411
|
gu as patchCode,
|
2408
2412
|
J as replacer
|
2409
2413
|
};
|