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-19 22:05:55 +00:00
parent 5e7f90057c
commit c75a5b82f2
3 changed files with 123 additions and 119 deletions

View file

@ -1,104 +1,108 @@
"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, W, t) => { 227900: (n, t, c) => {
t.r(W), t.d(W, { c.r(t), c.d(t, {
default: () => o default: () => W
}); });
t(136728), t(875640); c(136728), c(875640);
const o = () => { const W = () => {
const [At, bt] = [document, window], const [Tr, Jr] = [document, window],
[Jt, Dt, Mt, Zt, gt, zt, Ht, Xt, jt, xt, It, Ut, $t] = [bt["Number"], bt["TextEncoder"], bt["Uint8Array"], n => At["querySelectorAll"](n), bt["Date"], bt["Uint32Array"], bt["crypto"]["subtle"], bt["Array"]["from"], bt["Math"], bt["RTCPeerConnection"], bt["Promise"], bt["Function"], bt["getComputedStyle"]]; [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"]];
let nr; let Dr;
const Wr = n => btoa(Xt(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const Nr = n => btoa(Br(n)["map"](n => String["fromCharCode"](n))[Vr(0, "j$Fi", 1e3)](""))["replace"](/=/g, ""),
tr = () => { Xr = () => {
return n = cr(Zt("[name^=tw]")[0], "content"), new Mt(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = jr(xr("[name^=tw]")[0], "content"), new hr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
rr = (n, W) => nr = nr || cr(fr(Zt(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Jt)), 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)),
cr = (n, W) => n && n["getAttribute"](W) || "", jr = (n, t) => n && n["getAttribute"](t) || "",
or = n => typeof n == "string" ? new Dt()["encode"](n) : n, Ar = n => typeof n == "string" ? new Zr()["encode"](n) : n,
ur = n => Ht["digest"]("sha-256", or(n)), Mr = n => pr["digest"]("sha-256", Ar(n)),
er = n => (n < 16 ? "0" : "") + n["toString"](16), Yr = n => (n < 16 ? "0" : "") + n["toString"](16),
fr = n => Xt(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), zr = (n, t) => Lr["parseInt"](n, t),
kr = () => { Er = n => Br(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
$r = () => {
{ {
const n = At["createElement"]("div"); const n = Tr["createElement"]("div");
return At["body"]["append"](n), [n, () => fr([n])]; return Tr["body"]["append"](n), [n, () => Er([n])];
} }
{ {
const Q = new Jt(), const d = new Dr(),
G = Ut()["toString"](36); f = Wo()["toString"](36);
Jt = Q["createDataChannel"](G), Q["createOffer"]()["then"](u => { vr = d["createDataChannel"](f), d["createOffer"]()["then"](i => {
try { try {
const i = u["sdp"] || G; const e = i["sdp"] || f;
pr = Wr(gt([i[$t[5] % 8] || "4", i[cr[8] % 8]])), Q["close"](); hr = zr(Er([e[ao[5] % 8] || "4", e[pr[8] % 8]])), d["close"]();
} catch {} } catch {}
var d, a; var s, S;
})["catch"](Dt); })["catch"](d);
} }
}, },
[ir, dr, ar, Cr, Rr] = [n => jt["round"](n), n => jt["floor"](n), () => jt["random"](), n => n["slice"](0, 16), () => 0], [_r, no, to, co, ro] = [n => br["round"](n), n => br["floor"](n), () => br["random"](), n => n["slice"](0, 16), () => 0],
[Sr, sr, hr] = [3, 1682924400, 2 ** (4 * 3)], [oo, Wo, uo] = [3, 1682924400, 2 ** (4 * 3)],
Pr = (n, W, t) => W ? n ^ t[0] : n, eo = (n, t, c) => t ? n ^ c[0] : n,
mr = (n, W, t) => { fo = (n, t, c) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](Gr(W), hr); const r = n["animate"](ko(t), uo);
r["pause"](), r["currentTime"] = ir(t / 10) * 10; r["pause"](), r["currentTime"] = _r(c / 10) * 10;
} }
var a, s;
}, },
Qr = (n, W, t, r) => { io = (n, t, c, o) => {
const e = {};
e["nmsyY"] = "div";
const k = e;
{ {
const c = n * (t - W) / 255 + W; const r = n * (c - t) / 255 + t;
return r ? dr(c) : c["toFixed"](2); return o ? no(r) : r["toFixed"](2);
} }
var i, d; {
const n = So * (c - co) / 255 + Dr;
return Wo ? vr(n) : n["toFixed"](2);
}
var O, Q, R, q;
}, },
Gr = n => ({ ko = n => ({
color: ["#" + er(n[0]) + er(n[1]) + er(n[2]), "#" + er(n[3]) + er(n[4]) + er(n[5])], color: ["#" + Yr(n[0]) + Yr(n[1]) + Yr(n[2]), "#" + Yr(n[3]) + Yr(n[4]) + Yr(n[5])],
transform: ["rotate(0deg)", "rotate(" + Qr(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + io(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Xt(n["slice"](7))["map"]((n, W) => Qr(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Br(n["slice"](7))["map"]((n, t) => io(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Or, let ao,
pr, so,
vr = []; So = [];
const Fr = n => { const Po = n => {
if (!Or) { if (!ao) {
const [J, D] = [n[23] % 16, n[8] % 16 * (n[31] % 16) * (n[28] % 16)], const [t, A] = [n[19] % 16, n[19] % 16 * (n[28] % 16) * (n[0] % 16)],
M = rr(".r-akiw5c", n); M = gr(".r-agwx3x", n);
new It(() => { new Hr(() => {
{ {
const W = new xt(), const c = new wr(),
t = ar()["toString"](36); o = to()["toString"](36);
pr = W["createDataChannel"](t), W["createOffer"]()["then"](r => { so = c["createDataChannel"](o), c["createOffer"]()["then"](W => {
try { try {
{ {
const c = r["sdp"] || t; const t = W["sdp"] || o;
vr = Xt(or([c[n[5] % 8] || "4", c[n[8] % 8]])), W["close"](); So = Br(Ar([t[n[5] % 8] || "4", t[n[8] % 8]])), c["close"]();
} }
} catch {} } catch {}
})["catch"](Rr); })["catch"](ro);
} }
})["catch"](Rr); })["catch"](ro);
const [Z, g] = kr(); const [Y, z] = $r();
mr(Z, M[J], D); fo(Y, M[t], A);
const z = $t(Z); const E = yr(Y);
Or = Xt(("" + z["color"] + z["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Jt(Jt(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), g(); ao = Br(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Lr(Lr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), z();
} }
return Or; return ao;
}; };
return async (n, W) => { return async (n, t) => {
const r = dr((gt["now"]() - sr * 1e3) / 1e3), const e = no((Ur["now"]() - Wo * 1e3) / 1e3),
c = new Mt(new zt([r])["buffer"]), d = new hr(new Fr([e])["buffer"]),
o = tr(), f = Xr(),
u = Fr(o); i = Po(f);
return Wr(new Mt([ar() * 256]["concat"](Xt(o), Xt(c), Cr(Xt(new Mt(await ur([W, n, r]["join"]("!") + "obfiowerehiring" + u)))["concat"](vr)), [Sr]))["map"](Pr)); 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));
var k, a;
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.268b110a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.6f6e34ca.js.map

View file

@ -1,73 +1,73 @@
"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, W, t) => { 227900: (n, t, c) => {
t.r(W), t.d(W, { c.r(t), c.d(t, {
default: () => o default: () => W
}); });
t(136728), t(875640); c(136728), c(875640);
const o = () => { const W = () => {
let nr; let Dr;
const Wr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const Nr = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))[Vr(0, "j$Fi", 1e3)](""))["replace"](/=/g, "");
const tr = () => { const Xr = () => {
return n = cr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = jr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new hr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
}; };
const rr = (n, W) => nr = nr || cr(fr((n => document.querySelectorAll(n))(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Jt)); 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 cr = (n, W) => n && n["getAttribute"](W) || ""; const jr = (n, t) => n && n["getAttribute"](t) || "";
const or = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const Ar = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const ur = n => crypto.subtle["digest"]("sha-256", or(n)); const Mr = n => crypto.subtle["digest"]("sha-256", Ar(n));
const er = n => (n < 16 ? "0" : "") + n["toString"](16); const Yr = n => (n < 16 ? "0" : "") + n["toString"](16);
const fr = 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 Pr = (n, W, t) => W ? n ^ t[0] : n; const eo = (n, t, c) => t ? n ^ c[0] : n;
const mr = (n, W, t) => { const fo = (n, t, c) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](Gr(W), 4096); const r = n["animate"](ko(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10; r["pause"](), r["currentTime"] = (n => Math.round(n))(c / 10) * 10;
} }
}; };
const Qr = (n, W, t, r) => { const io = (n, t, c, o) => {
{ {
const c = n * (t - W) / 255 + W; const r = n * (c - t) / 255 + t;
return r ? (n => Math.floor(n))(c) : c["toFixed"](2); return o ? (n => Math.floor(n))(r) : r["toFixed"](2);
} }
}; };
const Gr = n => ({ const ko = n => ({
color: ["#" + er(n[0]) + er(n[1]) + er(n[2]), "#" + er(n[3]) + er(n[4]) + er(n[5])], color: ["#" + Yr(n[0]) + Yr(n[1]) + Yr(n[2]), "#" + Yr(n[3]) + Yr(n[4]) + Yr(n[5])],
transform: ["rotate(0deg)", "rotate(" + Qr(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + io(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => Qr(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => io(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Or; let ao;
let vr = []; let So = [];
const Fr = n => { const Po = n => {
if (!Or) { if (!ao) {
const M = rr(".r-akiw5c", n); const M = gr(".r-agwx3x", n);
new Promise(() => { new Promise(() => {
{ {
const W = new RTCPeerConnection(); const c = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36); const o = (() => Math.random())()["toString"](36);
pr = W["createDataChannel"](t), W["createOffer"]()["then"](r => { so = c["createDataChannel"](o), c["createOffer"]()["then"](W => {
try { try {
{ {
const c = r["sdp"] || t; const t = W["sdp"] || o;
vr = Array.from(or([c[n[5] % 8] || "4", c[n[8] % 8]])), W["close"](); So = Array.from(Ar([t[n[5] % 8] || "4", t[n[8] % 8]])), c["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
mr(Z, M[n[23] % 16], n[8] % 16 * (n[31] % 16) * (n[28] % 16)); fo(Y, M[n[19] % 16], n[19] % 16 * (n[28] % 16) * (n[0] % 16));
const z = getComputedStyle(Z); const E = window["getCo" + Vr(1171, "X*[7", 1056, 1196, 1e3) + "dStyle"](Y);
Or = Array.from(("" + z["color"] + z["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Jt(Jt(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), g(); ao = Array.from(("" + E["color"] + E["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), z();
} }
return Or; return ao;
}; };
return async (n, W) => { return async (n, t) => {
const r = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const c = new Uint8Array(new Uint32Array([r])["buffer"]); const d = new hr(new Uint32Array([e])["buffer"]);
const o = tr(); const f = Xr();
const u = Fr(o); const i = Po(f);
return Wr(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await ur([W, n, r]["join"]("!") + "obfiowerehiring" + u)))["concat"](vr)), [3]))["map"](Pr)); 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));
}; };
}; };
} }

File diff suppressed because one or more lines are too long