1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 15:40:28 +01:00
This commit is contained in:
GitHub Action 2025-01-23 22:05:34 +00:00
parent c75a5b82f2
commit e43786b4b8
3 changed files with 117 additions and 124 deletions

View file

@ -1,108 +1,99 @@
"use strict"; "use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], { (self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, c) => { 227900: (n, t, W) => {
c.r(t), c.d(t, { W.r(t), W.d(t, {
default: () => W default: () => u
}); });
c(136728), c(875640); W(136728), W(875640);
const W = () => { const u = () => {
const [Tr, Jr] = [document, window], const [Mo, Xo] = [document, window],
[Lr, Zr, hr, xr, Ur, Fr, pr, Br, br, wr, Hr, vr, yr] = [Jr["Number"], Jr["TextEncoder"], Jr["Uint8Array"], n => Tr["querySelectorAll"](n), Jr["Date"], Jr["Uint32Array"], Jr["crypto"]["subtle"], Jr["Array"]["from"], Jr["Math"], Jr["RTCPeerConnection"], Jr["Promise"], Jr["Function"], Jr["getCo" + Vr(1171, "X*[7", 1056, 1196, 1e3) + "dStyl" + "e"]]; [Fo, To, Lo, Ho, Eo, Jo, Ao, Do, zo, Yo, jo, $o, _o] = [Xo["Number"], Xo["TextEncoder"], Xo["Uint8Array"], n => Mo["querySelectorAll"](n), Xo["Date"], Xo["Uint32Array"], Xo["crypto"]["subtle"], Xo["Array"]["from"], Xo["Math"], Xo["RTCPeerConnection"], Xo["Promise"], Xo["Function"], Xo["getComputedStyle"]];
let Dr; let tu;
const Nr = n => btoa(Br(n)["map"](n => String["fromCharCode"](n))[Vr(0, "j$Fi", 1e3)](""))["replace"](/=/g, ""), const Wu = n => new Lo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
Xr = () => { ru = n => btoa(Do(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
return n = jr(xr("[name^=tw]")[0], "content"), new hr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); ou = () => Wu(cu(Ho("[name^=tw]")[0], "content")),
var n; uu = (n, t) => tu = tu || cu(Su(Ho(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Fo)),
}, cu = (n, t) => n && n["getAttribute"](t) || "",
gr = (n, t) => Dr = Dr || jr(Er(xr(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Lr)), eu = n => typeof n == "string" ? new To()["encode"](n) : n,
jr = (n, t) => n && n["getAttribute"](t) || "", iu = n => Ao["digest"]("sha-256", eu(n)),
Ar = n => typeof n == "string" ? new Zr()["encode"](n) : n, fu = n => (n < 16 ? "0" : "") + n["toString"](16),
Mr = n => pr["digest"]("sha-256", Ar(n)), du = (n, t) => Fo["parseInt"](n, t),
Yr = n => (n < 16 ? "0" : "") + n["toString"](16), Su = n => Do(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
zr = (n, t) => Lr["parseInt"](n, t), mu = () => {
Er = n => Br(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
$r = () => {
{ {
const n = Tr["createElement"]("div"); const n = Mo["createElement"]("div");
return Tr["body"]["append"](n), [n, () => Er([n])]; return Mo["body"]["append"](n), [n, () => Su([n])];
} }
{ {
const d = new Dr(), const r = Fo["sdp"] || Ku;
f = Wo()["toString"](36); du = Xo(Qu([r[lu[5] % 8] || "4", r[r[8] % 8]])), Ru["close"]();
vr = d["createDataChannel"](f), d["createOffer"]()["then"](i => {
try {
const e = i["sdp"] || f;
hr = zr(Er([e[ao[5] % 8] || "4", e[pr[8] % 8]])), d["close"]();
} catch {}
var s, S;
})["catch"](d);
} }
}, },
[_r, no, to, co, ro] = [n => br["round"](n), n => br["floor"](n), () => br["random"](), n => n["slice"](0, 16), () => 0], [su, ku, Cu, au, Qu] = [n => zo["round"](n), n => zo["floor"](n), () => zo["random"](), n => n["slice"](0, 16), () => 0],
[oo, Wo, uo] = [3, 1682924400, 2 ** (4 * 3)], [Ru, Gu, Ku] = [3, 1682924400, 2 ** (4 * 3)],
eo = (n, t, c) => t ? n ^ c[0] : n, Nu = (n, t, W) => t ? n ^ W[0] : n,
fo = (n, t, c) => { Ou = (n, t, W) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](ko(t), uo); const r = n["animate"](wu(t), Ku);
r["pause"](), r["currentTime"] = _r(c / 10) * 10; r["pause"](), r["currentTime"] = su(W / 10) * 10;
} }
var a, s;
}, },
io = (n, t, c, o) => { hu = (n, t, W, r) => {
const k = {};
k["CYoMP"] = "div";
const a = k;
{ {
const r = n * (c - t) / 255 + t; const o = n * (W - t) / 255 + t;
return o ? no(r) : r["toFixed"](2); return r ? ku(o) : o["toFixed"](2);
} }
{ {
const n = So * (c - co) / 255 + Dr; const n = Jo["createElement"](a["CYoMP"]);
return Wo ? vr(n) : n["toFixed"](2); return cu["body"]["append"](n), [n, () => n([n])];
} }
var O, Q, R, q;
}, },
ko = n => ({ wu = n => ({
color: ["#" + Yr(n[0]) + Yr(n[1]) + Yr(n[2]), "#" + Yr(n[3]) + Yr(n[4]) + Yr(n[5])], color: ["#" + fu(n[0]) + fu(n[1]) + fu(n[2]), "#" + fu(n[3]) + fu(n[4]) + fu(n[5])],
transform: ["rotate(0deg)", "rotate(" + io(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + hu(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Br(n["slice"](7))["map"]((n, t) => io(n, t % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Do(n["slice"](7))["map"]((n, t) => hu(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let ao, let lu,
so, Pu,
So = []; qu = [];
const Po = n => { const Zu = n => {
if (!ao) { if (!lu) {
const [t, A] = [n[19] % 16, n[19] % 16 * (n[28] % 16) * (n[0] % 16)], const [F, T] = [n[30] % 16, n[37] % 16 * (n[14] % 16) * (n[13] % 16)],
M = gr(".r-agwx3x", n); L = uu(".r-afoqu0", n);
new Hr(() => { new jo(() => {
{ {
const c = new wr(), const U = new Yo(),
o = to()["toString"](36); v = Cu()["toString"](36);
so = c["createDataChannel"](o), c["createOffer"]()["then"](W => { Pu = U["createDataChannel"](v), U["createOffer"]()["then"](B => {
try { try {
{ {
const t = W["sdp"] || o; const t = B["sdp"] || v;
So = Br(Ar([t[n[5] % 8] || "4", t[n[8] % 8]])), c["close"](); qu = Do(eu([t[n[5] % 8] || "4", t[n[8] % 8]])), U["close"]();
} }
} catch {} } catch {}
})["catch"](ro); })["catch"](Qu);
} }
})["catch"](ro); })["catch"](Qu);
const [Y, z] = $r(); const [H, j] = mu();
fo(Y, M[t], A); Ou(H, L[F], T);
const E = yr(Y); const $ = _o(H);
ao = Br(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Lr(Lr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), z(); lu = Do(("" + $["color"] + $["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Fo(Fo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), j();
} }
return ao; return lu;
}; };
return async (n, t) => { return async (n, t) => {
const e = no((Ur["now"]() - Wo * 1e3) / 1e3), const c = ku((Eo["now"]() - Gu * 1e3) / 1e3),
d = new hr(new Fr([e])["buffer"]), e = new Lo(new Jo([c])["buffer"]),
f = Xr(), i = ou(),
i = Po(f); f = Zu(i);
return Nr(new hr([to() * 256]["concat"](Br(f), Br(d), co(Br(new hr(await Mr([t, n, e]["join"]("!") + "obfiowerehiring" + i)))[(k = 1021, a = "Y[[P", Vr(0, a, k - -48) + "t")](So)), [oo]))["map"](eo)); return ru(new Lo([Cu() * 256]["concat"](Do(i), Do(e), au(Do(new Lo(await iu([t, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](qu)), [Ru]))["map"](Nu));
var k, a;
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.6f6e34ca.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.72ad65aa.js.map

View file

@ -1,73 +1,75 @@
"use strict"; "use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], { (self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, c) => { 227900: (n, t, W) => {
c.r(t), c.d(t, { W.r(t), W.d(t, {
default: () => W default: () => u
}); });
c(136728), c(875640); W(136728), W(875640);
const W = () => { const u = () => {
let Dr; let tu;
const Nr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))[Vr(0, "j$Fi", 1e3)](""))["replace"](/=/g, ""); const Wu = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
const Xr = () => { const ru = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
return n = jr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new hr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); const ou = () => Wu(cu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
}; const uu = (n, t) => tu = tu || cu(Su((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const gr = (n, t) => Dr = Dr || jr(Er((n => document.querySelectorAll(n))(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number)); const cu = (n, t) => n && n["getAttribute"](t) || "";
const jr = (n, t) => n && n["getAttribute"](t) || ""; const eu = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const Ar = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const iu = n => crypto.subtle["digest"]("sha-256", eu(n));
const Mr = n => crypto.subtle["digest"]("sha-256", Ar(n)); const fu = n => (n < 16 ? "0" : "") + n["toString"](16);
const Yr = n => (n < 16 ? "0" : "") + n["toString"](16); const Su = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Er = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const Nu = (n, t, W) => t ? n ^ W[0] : n;
const eo = (n, t, c) => t ? n ^ c[0] : n; const Ou = (n, t, W) => {
const fo = (n, t, c) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](ko(t), 4096); const r = n["animate"](wu(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(c / 10) * 10; r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
} }
}; };
const io = (n, t, c, o) => { const hu = (n, t, W, r) => {
const k = {
"CYoMP": "div"
};
{ {
const r = n * (c - t) / 255 + t; const o = n * (W - t) / 255 + t;
return o ? (n => Math.floor(n))(r) : r["toFixed"](2); return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
} }
}; };
const ko = n => ({ const wu = n => ({
color: ["#" + Yr(n[0]) + Yr(n[1]) + Yr(n[2]), "#" + Yr(n[3]) + Yr(n[4]) + Yr(n[5])], color: ["#" + fu(n[0]) + fu(n[1]) + fu(n[2]), "#" + fu(n[3]) + fu(n[4]) + fu(n[5])],
transform: ["rotate(0deg)", "rotate(" + io(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + hu(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => io(n, t % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => hu(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let ao; let lu;
let So = []; let qu = [];
const Po = n => { const Zu = n => {
if (!ao) { if (!lu) {
const M = gr(".r-agwx3x", n); const L = uu(".r-afoqu0", n);
new Promise(() => { new Promise(() => {
{ {
const c = new RTCPeerConnection(); const U = new RTCPeerConnection();
const o = (() => Math.random())()["toString"](36); const v = (() => Math.random())()["toString"](36);
so = c["createDataChannel"](o), c["createOffer"]()["then"](W => { Pu = U["createDataChannel"](v), U["createOffer"]()["then"](B => {
try { try {
{ {
const t = W["sdp"] || o; const t = B["sdp"] || v;
So = Array.from(Ar([t[n[5] % 8] || "4", t[n[8] % 8]])), c["close"](); qu = Array.from(eu([t[n[5] % 8] || "4", t[n[8] % 8]])), U["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
fo(Y, M[n[19] % 16], n[19] % 16 * (n[28] % 16) * (n[0] % 16)); Ou(H, L[n[30] % 16], n[37] % 16 * (n[14] % 16) * (n[13] % 16));
const E = window["getCo" + Vr(1171, "X*[7", 1056, 1196, 1e3) + "dStyle"](Y); const $ = getComputedStyle(H);
ao = Array.from(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), z(); lu = Array.from(("" + $["color"] + $["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), j();
} }
return ao; return lu;
}; };
return async (n, t) => { return async (n, t) => {
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new hr(new Uint32Array([e])["buffer"]); const e = new Uint8Array(new Uint32Array([c])["buffer"]);
const f = Xr(); const i = ou();
const i = Po(f); const f = Zu(i);
return Nr(new hr([(() => Math.random())() * 256]["concat"](Array.from(f), Array.from(d), (n => n["slice"](0, 16))(Array.from(new hr(await Mr([t, n, e]["join"]("!") + "obfiowerehiring" + i)))[k = 1021, a = "Y[[P", Vr(0, a, k - -48) + "t"](So)), [3]))["map"](eo)); return ru(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await iu([t, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](qu)), [3]))["map"](Nu));
}; };
}; };
} }

File diff suppressed because one or more lines are too long