xvai-loi 0.1.69 → 0.1.70
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 +6 -6
package/co.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
xvaiLoi111714
|
package/package.json
CHANGED
package/xvai-loi.js
CHANGED
|
@@ -14009,7 +14009,7 @@ function hoiNgoai(lenh, k, v) {
|
|
|
14009
14009
|
window.removeEventListener("message", h);
|
|
14010
14010
|
if (ngoaiCo !== true && ++loNgoai >= 3) ngoaiCo = false;
|
|
14011
14011
|
ok(null);
|
|
14012
|
-
}, ngoaiCo ? 8e3 : 3e3);
|
|
14012
|
+
}, ngoaiCo ? k === "khoVideo" && lenh === "lay" ? 3e4 : 8e3 : 3e3);
|
|
14013
14013
|
} catch (e) {
|
|
14014
14014
|
ok(null);
|
|
14015
14015
|
}
|
|
@@ -18138,7 +18138,7 @@ async function themKho(files) {
|
|
|
18138
18138
|
try {
|
|
18139
18139
|
const ds2 = await layKho();
|
|
18140
18140
|
const L = ds2.map((m) => ({ id: m.id, ten: m.ten, blob: m.blob, loai: m.loai, dai: m.dai || 0 }));
|
|
18141
|
-
globalThis.
|
|
18141
|
+
globalThis.__khoNgoaiDs = L;
|
|
18142
18142
|
hoiNgoai("luu", "khoVideo", L);
|
|
18143
18143
|
} catch (e) {
|
|
18144
18144
|
}
|
|
@@ -18176,11 +18176,11 @@ async function layKho() {
|
|
|
18176
18176
|
});
|
|
18177
18177
|
{
|
|
18178
18178
|
const G3 = globalThis, rong = !ds2.length;
|
|
18179
|
-
if (!G3.
|
|
18179
|
+
if (!Array.isArray(G3.__khoNgoaiDs) || !G3.__khoNgoaiDs.length) {
|
|
18180
18180
|
const ng0 = await hoiNgoai("lay", "khoVideo");
|
|
18181
|
-
G3.
|
|
18181
|
+
G3.__khoNgoaiDs = Array.isArray(ng0) ? ng0 : [];
|
|
18182
18182
|
}
|
|
18183
|
-
const ng = G3.
|
|
18183
|
+
const ng = G3.__khoNgoaiDs, coS = new Set(ds2.map((x) => x.id));
|
|
18184
18184
|
if (Array.isArray(ng)) for (const m of ng) {
|
|
18185
18185
|
if (!m || !m.blob || coS.has(String(m.id))) continue;
|
|
18186
18186
|
if (d && rong) {
|
|
@@ -20707,7 +20707,7 @@ function datCauLenh(a) {
|
|
|
20707
20707
|
on2 = true;
|
|
20708
20708
|
window.addEventListener("message", async (ev) => {
|
|
20709
20709
|
const d = ev.data;
|
|
20710
|
-
if (!d || d.
|
|
20710
|
+
if (!d || d.xvaiLoi111714 !== true) return;
|
|
20711
20711
|
const o = String(ev.origin || "");
|
|
20712
20712
|
if (!(o.indexOf("https://flow.google.com") === 0 || o.indexOf("https://labs.google") === 0)) return;
|
|
20713
20713
|
const tra = (kq) => {
|