xvai-loi 0.1.85 → 0.1.86

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.
Files changed (3) hide show
  1. package/co.txt +1 -1
  2. package/package.json +1 -1
  3. package/xvai-loi.js +14 -1
package/co.txt CHANGED
@@ -1 +1 @@
1
- xvaiLoi120210
1
+ xvaiLoi120301
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xvai-loi",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "description": "Loi dung video (Edit Video Tu Dong) nap vao tool Google Flow qua o cam engine/oCam.ts",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
package/xvai-loi.js CHANGED
@@ -12947,6 +12947,15 @@ function lapCuongMe(o) {
12947
12947
  sp.splice(i, 1);
12948
12948
  }
12949
12949
  }
12950
+ sp.forEach((x) => {
12951
+ const c2 = nt(x.chu2), c1 = nt(x.giant || x.chu || x.tieu);
12952
+ if (!c2 || !c1) return;
12953
+ const W1 = new Set(c1.split(/\s+/));
12954
+ if (c2.split(/\s+/).every((w) => W1.has(w))) {
12955
+ ghiL("doi", x, "chu2 trung y chu chinh: " + String(x.chu2).slice(0, 20));
12956
+ x.chu2 = "";
12957
+ }
12958
+ });
12950
12959
  }
12951
12960
  {
12952
12961
  sp.sort((p, q) => p.f - q.f);
@@ -13239,6 +13248,10 @@ function lapCuongMe(o) {
13239
13248
  }
13240
13249
  });
13241
13250
  if (s.bo === "card" || s.bo === "cut" || s.bo === "chia") (ms || []).forEach((q) => {
13251
+ if (q.kind === "sub" && q.t0 >= b - 0.06 && q.t0 < b + 0.04 && q.t1 > b + 0.2) {
13252
+ q.t0 = +(b + 0.04).toFixed(3);
13253
+ return;
13254
+ }
13242
13255
  if (q.kind === "sub" && q.t0 >= a - 0.2 && q.t0 < b && q.t1 <= b + 0.05) q.safeY = s.bo === "chia" ? 0.47 : s.bo === "card" ? 0.87 : 0.775;
13243
13256
  else if (s.bo === "chia" && q.kind === "sub" && q.t1 > a && q.t0 < b) q.safeY = 0.79;
13244
13257
  });
@@ -20990,7 +21003,7 @@ function datCauLenh(a) {
20990
21003
  on2 = true;
20991
21004
  window.addEventListener("message", async (ev) => {
20992
21005
  const d = ev.data;
20993
- if (!d || d.xvaiLoi120210 !== true) return;
21006
+ if (!d || d.xvaiLoi120301 !== true) return;
20994
21007
  const o = String(ev.origin || "");
20995
21008
  if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
20996
21009
  const tra = (kq) => {