xvai-loi 0.1.49 → 0.1.50
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/co.txt +1 -1
- package/package.json +1 -1
- package/xvai-loi.js +25 -3
package/co.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
xvaiLoi101303
|
package/package.json
CHANGED
package/xvai-loi.js
CHANGED
|
@@ -11989,6 +11989,28 @@ function lapCuongMe(o) {
|
|
|
11989
11989
|
sp.sort((p, q) => p.f - q.f);
|
|
11990
11990
|
}
|
|
11991
11991
|
}
|
|
11992
|
+
{
|
|
11993
|
+
sp.sort((p, q) => p.f - q.f);
|
|
11994
|
+
let nB = 0, nL = 0;
|
|
11995
|
+
for (let i = sp.length - 1; i >= 0; i--) {
|
|
11996
|
+
const x = sp[i];
|
|
11997
|
+
if (x.bo !== "phong" && !x.khoa && x.d < 0.6) {
|
|
11998
|
+
ghiL("bo", x, "VD-236 canh qua ngan " + x.d.toFixed(2) + " s");
|
|
11999
|
+
sp.splice(i, 1);
|
|
12000
|
+
nB++;
|
|
12001
|
+
}
|
|
12002
|
+
}
|
|
12003
|
+
const ch = sp.filter((x) => x.bo !== "phong");
|
|
12004
|
+
for (let i = 0; i + 1 < ch.length; i++) {
|
|
12005
|
+
const x = ch[i], y = ch[i + 1], g = y.f - (x.f + x.d);
|
|
12006
|
+
if (g > 0.02 && g < 0.6 && !x.khoa) {
|
|
12007
|
+
ghiL("doi", x, "VD-236 lap khe mat " + g.toFixed(2) + " s");
|
|
12008
|
+
x.d = +(y.f - x.f).toFixed(2);
|
|
12009
|
+
nL++;
|
|
12010
|
+
}
|
|
12011
|
+
}
|
|
12012
|
+
G4.__vd236 = { bo: nB, lap: nL };
|
|
12013
|
+
}
|
|
11992
12014
|
G4.__lichSp = sp.map((s, i) => ({ i, id: s.id, yChu: s.yChu, coChu: s.coChu, fx: s.fx, stX: s.stX, stY: s.stY, f: +s.f.toFixed(2), d: +s.d.toFixed(2), bo: s.bo, giant: s.giant || "", chu: s.chu || "", chu2: s.chu2 || "", st: s.st || "", ten: s.ten || "", tieu: s.tieu || "", khoa: s.khoa ? 1 : 0 }));
|
|
11993
12015
|
}
|
|
11994
12016
|
const thanhO = (t) => N >= 2 && t >= f1 - 0.1 && t < hetMuc;
|
|
@@ -19570,7 +19592,7 @@ async function napLoi(d) {
|
|
|
19570
19592
|
return "LOI: " + String(e && e.message || e).slice(0, 300);
|
|
19571
19593
|
}
|
|
19572
19594
|
}
|
|
19573
|
-
var LOI_URL = "https://cdn.jsdelivr.net/npm/xvai-loi@0.1.
|
|
19595
|
+
var LOI_URL = "https://cdn.jsdelivr.net/npm/xvai-loi@0.1.49/nap.js";
|
|
19574
19596
|
var TRONG_LOI = !!globalThis.__xvaiReact;
|
|
19575
19597
|
try {
|
|
19576
19598
|
if (!TRONG_LOI) setTimeout(() => {
|
|
@@ -19600,7 +19622,7 @@ function datCauLenh(a) {
|
|
|
19600
19622
|
on2 = true;
|
|
19601
19623
|
window.addEventListener("message", async (ev) => {
|
|
19602
19624
|
const d = ev.data;
|
|
19603
|
-
if (!d || d.
|
|
19625
|
+
if (!d || d.xvaiLoi101303 !== true) return;
|
|
19604
19626
|
const o = String(ev.origin || "");
|
|
19605
19627
|
if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
|
|
19606
19628
|
const tra = (kq) => {
|
|
@@ -20304,7 +20326,7 @@ var SuaLich = ({ ten, onDong }) => {
|
|
|
20304
20326
|
};
|
|
20305
20327
|
|
|
20306
20328
|
// loi/vo-flow.tsx
|
|
20307
|
-
var PHIEN_BAN = "loi-
|
|
20329
|
+
var PHIEN_BAN = "loi-1010BL";
|
|
20308
20330
|
var TRONG = () => migrateProject({ id: crypto.randomUUID(), name: "D\u1EF1 \xE1n m\u1EDBi", scenes: [], timeline: [], images: [null, null, null] });
|
|
20309
20331
|
var nut4 = "px-3 py-1.5 rounded-lg border border-[#2C4A73] text-[11px] font-bold text-[#A2B2C9] hover:text-[#F6D178] hover:border-[#F6D178]/60";
|
|
20310
20332
|
var Vo = () => {
|