1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 23:50:28 +01:00
This commit is contained in:
GitHub Action 2025-01-10 22:05:51 +00:00
parent 88c4f29ac0
commit 33c3cab5b7
3 changed files with 117 additions and 112 deletions

View file

@ -1,98 +1,104 @@
"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"], {
471269: (n, W, r) => { 227900: (n, W, t) => {
r.r(W), r.d(W, { t.r(W), t.d(W, {
default: () => t default: () => u
}); });
r(136728), r(875640); t(136728), t(875640);
const t = () => { const u = () => {
const [ac, kc] = [document, window], const [ko, ao] = [document, window],
[sc, Sc, Cc, mc, Jc, Rc, Oc, Gc, Pc, lc, Kc, hc, qc] = [kc["Number"], kc["TextEncoder"], kc["Uint8Array"], n => ac["querySelectorAll"](n), kc["Date"], kc["Uint32Array"], kc["crypto"]["subtle"], kc["Array"]["from"], kc["Math"], kc["RTCPeerConnection"], kc["Promise"], kc["Function"], kc["getComputedStyle"]]; [mo, Co, Ro, So, Go, so, vo, Po, lo, Qo, xo, ho, Mo] = [ao["Number"], ao["TextEncoder"], ao["Uint8Array"], n => ko["querySelectorAll"](n), ao["Date"], ao["Uint32Array"], ao["crypto"]["subtle"], ao["Array"]["from"], ao["Math"], ao["RTCPeerConnection"], ao["Promise"], ao["Function"], ao["getComputedStyle"]];
let vc; let Oo;
const Nc = n => btoa(Gc(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const Io = n => btoa(Po(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
bc = () => { qo = () => {
return n = Dc(mc("[name^=tw]")[0], "content"), new Cc(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = po(So("[name^=tw]")[0], "content"), new Ro(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
Qc = (n, W) => vc = vc || Dc(xc(mc(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](sc)), Bo = (n, W) => Oo = Oo || po(Uo(So(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](mo)),
Dc = (n, W) => n && n["getAttribute"](W) || "", po = (n, W) => n && n["getAttribute"](W) || "",
yc = n => typeof n == "string" ? new Sc()["encode"](n) : n, yo = n => typeof n == "string" ? new Co()["encode"](n) : n,
wc = n => Oc["digest"]("sha-256", yc(n)), wo = n => vo["digest"]("sha-256", yo(n)),
Xc = n => (n < 16 ? "0" : "") + n["toString"](16), Zo = n => (n < 16 ? "0" : "") + n["toString"](16),
Fc = (n, W) => sc["parseInt"](n, W), No = (n, W) => mo["parseInt"](n, W),
xc = n => Gc(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), Uo = n => Po(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Tc = () => { Vo = () => {
{ {
const n = ac["createElement"]("div"); const n = ko["createElement"]("div");
return ac["body"]["append"](n), [n, () => xc([n])]; return ko["body"]["append"](n), [n, () => Uo([n])];
} }
try { try {
const n = ac["sdp"] || Dc; const n = Po["sdp"] || Bo;
pc = Qc(bc([n[Jc[5] % 8] || "4", n[wc[8] % 8]])), Yc["close"](); mo = vo(go([n[Co[5] % 8] || "4", n[Vo[8] % 8]])), n["close"]();
} catch {} } catch {}
}, },
[Hc, pc, Mc, Uc, Lc] = [n => Pc["round"](n), n => Pc["floor"](n), () => Pc["random"](), n => n["slice"](0, 16), () => 0], [jo, Jo, Lo, Ho, Ao] = [n => lo["round"](n), n => lo["floor"](n), () => lo["random"](), n => n["slice"](0, 16), () => 0],
[Ic, Vc, gc] = [3, 1682924400, 2 ** (4 * 3)], [Fo, bo, go] = [3, 1682924400, 2 ** (4 * 3)],
Bc = (n, W, r) => W ? n ^ r[0] : n, Ko = (n, W, t) => W ? n ^ t[0] : n,
Ec = (n, W, r) => { Yo = (n, W, t) => {
const e = {};
e["XeDON"] = "div";
const a = e;
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const t = n["animate"](Ac(W), gc); const r = n["animate"](To(W), go);
t["pause"](), t["currentTime"] = Hc(r / 10) * 10; r["pause"](), r["currentTime"] = jo(t / 10) * 10;
} }
}, },
Zc = (n, W, r, t) => { Do = (n, W, t, r) => {
{ {
const c = n * (r - W) / 255 + W; const o = n * (t - W) / 255 + W;
return t ? pc(c) : c["toFixed"](2); return r ? Jo(o) : o["toFixed"](2);
} }
{ {
const n = qc["sdp"] || Gc; if (!Jo[(R = "g89v", S = 797, G = 691, s = 693, Wu(R - 472, S - 150, G - 494, s - 413, R) + "te")]) return;
vc = r(Lc([n[gc[5] % 8] || "4", n[lc[8] % 8]])), Ic["close"](); const t = n["animate"](yo(W), tu);
t["pause"](), t["currentTime"] = Mo(No / 10) * 10;
} }
var R, S, G, s;
}, },
Ac = n => ({ To = n => ({
color: ["#" + Xc(n[0]) + Xc(n[1]) + Xc(n[2]), "#" + Xc(n[3]) + Xc(n[4]) + Xc(n[5])], color: ["#" + Zo(n[0]) + Zo(n[1]) + Zo(n[2]), "#" + Zo(n[3]) + Zo(n[4]) + Zo(n[5])],
transform: ["rotate(0deg)", "rotate(" + Zc(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + Do(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Gc(n["slice"](7))["map"]((n, W) => Zc(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Po(n["slice"](7))["map"]((n, W) => Do(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let jc, let Xo,
Yc, $o,
zc = []; _o = [];
const _c = n => { const tu = n => {
if (!jc) { if (!Xo) {
const [W, r] = [n[45] % 16, n[29] % 16 * (n[3] % 16) * (n[42] % 16)], const [d, i] = [n[25] % 16, n[7] % 16 * (n[33] % 16) * (n[42] % 16)],
t = Qc(".r-1esrdc", n); f = Bo(".r-cfij60", n);
new Kc(() => { new xo(() => {
{ {
const e = new lc(), const W = new Qo(),
Y = Mc()["toString"](36); t = Lo()["toString"](36);
Yc = e["createDataChannel"](Y), e["createOffer"]()["then"](z => { $o = W["createDataChannel"](t), W["createOffer"]()["then"](r => {
try { try {
{ {
const W = z["sdp"] || Y; const o = r["sdp"] || t;
zc = Gc(yc([W[n[5] % 8] || "4", W[n[8] % 8]])), e[dn(0, "s1#l", 0, 1e3, 930)](); _o = Po(yo([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"]();
} }
} catch {} } catch {}
})["catch"](Lc); })["catch"](Ao);
} }
})["catch"](Lc); })["catch"](Ao);
const [o, u] = Tc(); const [k, a] = Vo();
Ec(o, t[W], r); Yo(k, f[d], i);
const e = qc(o); const m = Mo(k);
jc = Gc(("" + e["color"] + e["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => sc(sc(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), u(); Xo = Po(("" + m["color"] + m["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => mo(mo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a();
} }
return jc; return Xo;
}; };
return async (n, W) => { return async (n, W) => {
const e = pc((Jc["now"]() - Vc * 1e3) / 1e3), const o = Jo((Go["now"]() - bo * 1e3) / 1e3),
d = new Cc(new Rc([e])["buffer"]), u = new Ro(new so([o])["buffer"]),
i = bc(), c = qo(),
f = _c(i); e = tu(c);
return Nc(new Cc([Mc() * 256]["concat"](Gc(i), Gc(d), Uc(Gc(new Cc(await wc([W, n, e]["join"]("!") + "obfiowerehiring" + f)))["concat"](zc)), [Ic]))["map"](Bc)); return Io(new Ro([Lo() * 256]["concat"](Po(c), Po(u), Ho(Po(new Ro(await wo([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](_o)), [Fo]))["map"](Ko));
var k, a;
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.eb3d4b6a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.08911f4a.js.map

View file

@ -1,74 +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"], {
471269: (n, W, r) => { 227900: (n, W, t) => {
r.r(W), r.d(W, { t.r(W), t.d(W, {
default: () => t default: () => u
}); });
r(136728), r(875640); t(136728), t(875640);
const t = () => { const u = () => {
let vc; let Oo;
const Nc = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const Io = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const bc = () => { const qo = () => {
return n = Dc((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = po((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
}; };
const Qc = (n, W) => vc = vc || Dc(xc((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"](Number)); const Bo = (n, W) => Oo = Oo || po(Uo((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"](mo));
const Dc = (n, W) => n && n["getAttribute"](W) || ""; const po = (n, W) => n && n["getAttribute"](W) || "";
const yc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const yo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const wc = n => crypto.subtle["digest"]("sha-256", yc(n)); const wo = n => crypto.subtle["digest"]("sha-256", yo(n));
const Xc = n => (n < 16 ? "0" : "") + n["toString"](16); const Zo = n => (n < 16 ? "0" : "") + n["toString"](16);
const xc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const Uo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const pc = n => Math.floor(n); const Ko = (n, W, t) => W ? n ^ t[0] : n;
const Bc = (n, W, r) => W ? n ^ r[0] : n; const Yo = (n, W, t) => {
const Ec = (n, W, r) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const t = n["animate"](Ac(W), 4096); const r = n["animate"](To(W), 4096);
t["pause"](), t["currentTime"] = (n => Math.round(n))(r / 10) * 10; r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10;
} }
}; };
const Zc = (n, W, r, t) => { const Do = (n, W, t, r) => {
{ {
const c = n * (r - W) / 255 + W; const o = n * (t - W) / 255 + W;
return t ? pc(c) : c["toFixed"](2); return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
} }
}; };
const Ac = n => ({ const To = n => ({
color: ["#" + Xc(n[0]) + Xc(n[1]) + Xc(n[2]), "#" + Xc(n[3]) + Xc(n[4]) + Xc(n[5])], color: ["#" + Zo(n[0]) + Zo(n[1]) + Zo(n[2]), "#" + Zo(n[3]) + Zo(n[4]) + Zo(n[5])],
transform: ["rotate(0deg)", "rotate(" + Zc(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + Do(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => Zc(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => Do(n, W % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let jc; let Xo;
let zc = []; let _o = [];
const _c = n => { const tu = n => {
if (!jc) { if (!Xo) {
const t = Qc(".r-1esrdc", n); const f = Bo(".r-cfij60", n);
new Promise(() => { new Promise(() => {
{ {
const e = new RTCPeerConnection(); const W = new RTCPeerConnection();
const Y = (() => Math.random())()["toString"](36); const t = (() => Math.random())()["toString"](36);
Yc = e["createDataChannel"](Y), e["createOffer"]()["then"](z => { $o = W["createDataChannel"](t), W["createOffer"]()["then"](r => {
try { try {
{ {
const W = z["sdp"] || Y; const o = r["sdp"] || t;
zc = Array.from(yc([W[n[5] % 8] || "4", W[n[8] % 8]])), e[dn(0, "s1#l", 0, 1e3, 930)](); _o = Array.from(yo([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
Ec(o, t[n[45] % 16], n[29] % 16 * (n[3] % 16) * (n[42] % 16)); Yo(k, f[n[25] % 16], n[7] % 16 * (n[33] % 16) * (n[42] % 16));
const e = getComputedStyle(o); const m = getComputedStyle(k);
jc = Array.from(("" + e["color"] + e["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), u(); Xo = Array.from(("" + m["color"] + m["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => mo(mo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a();
} }
return jc; return Xo;
}; };
return async (n, W) => { return async (n, W) => {
const e = pc((Date["now"]() - 1682924400000) / 1e3); const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new Uint8Array(new Uint32Array([e])["buffer"]); const u = new Uint8Array(new Uint32Array([o])["buffer"]);
const i = bc(); const c = qo();
const f = _c(i); const e = tu(c);
return Nc(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await wc([W, n, e]["join"]("!") + "obfiowerehiring" + f)))["concat"](zc)), [3]))["map"](Bc)); return Io(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await wo([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](_o)), [3]))["map"](Ko));
}; };
}; };
} }

File diff suppressed because one or more lines are too long