xvai-loi 0.1.68 → 0.1.69

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 +3 -2
package/co.txt CHANGED
@@ -1 +1 @@
1
- xvaiLoi111649
1
+ xvaiLoi111708
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xvai-loi",
3
- "version": "0.1.68",
3
+ "version": "0.1.69",
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
@@ -18356,7 +18356,8 @@ async function ghepKho(canh, kho6) {
18356
18356
  }
18357
18357
  async function chuanBiKho(kb, words, bao) {
18358
18358
  if (!kb) return 0;
18359
- const kho6 = (await layKho()).filter((m) => cuaDuAn(m.ten));
18359
+ const kho0 = await layKho(), kho6 = kho0.filter((m) => cuaDuAn(m.ten));
18360
+ globalThis.__khoDo = { ma: maDuAn(), tong: kho0.length, vid: kho0.filter((m) => m.loai === "video").length, cuaDuAn: kho6.length, vidDuAn: kho6.filter((m) => m.loai === "video").map((m) => m.ten).slice(0, 12) };
18360
18361
  if (!kho6.length) return 0;
18361
18362
  const loi2 = (words || []).map((w) => String(w && w.text || "")).join(" "), thap = loi2.toLocaleLowerCase("vi");
18362
18363
  const cau = (tu) => {
@@ -20706,7 +20707,7 @@ function datCauLenh(a) {
20706
20707
  on2 = true;
20707
20708
  window.addEventListener("message", async (ev) => {
20708
20709
  const d = ev.data;
20709
- if (!d || d.xvaiLoi111649 !== true) return;
20710
+ if (!d || d.xvaiLoi111708 !== true) return;
20710
20711
  const o = String(ev.origin || "");
20711
20712
  if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
20712
20713
  const tra = (kq) => {