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 2024-12-29 22:05:20 +00:00
parent 5d08752120
commit d025881135
3 changed files with 111 additions and 116 deletions

View file

@ -1,98 +1,94 @@
"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, t) => { 471269: (n, t, W) => {
t.r(W), t.d(W, { W.r(t), W.d(t, {
default: () => u default: () => c
}); });
t(136728), t(875640); W(136728), W(875640);
const u = () => { const c = () => {
const [At, Nt] = [document, window], const [lW, KW] = [document, window],
[Et, Mt, Zt, It, Yt, Ut, $t, _t, nr, Wr, tr, rr, or] = [Nt["Number"], Nt["TextEncoder"], Nt["Uint8Array"], n => At["querySelectorAll"](n), Nt["Date"], Nt["Uint32Array"], Nt["crypto"]["subtle"], Nt["Array"]["from"], Nt["Math"], Nt["RTCPeerConnection"], Nt["Promise"], Nt["Function"], Nt["getComputedStyle"]]; [JW, ZW, yW, wW, vW, qW, jW, FW, LW, VW, HW, BW, IW] = [KW["Number"], KW["TextEncoder"], KW["Uint8Array"], n => lW["querySelectorAll"](n), KW["Date"], KW["Uint32Array"], KW["crypto"]["subtle"], KW["Array"]["from"], KW["Math"], KW["RTCPeerConnection"], KW["Promise"], KW["Function"], KW["getComputedStyle"]];
let fr; let gW;
const ir = n => btoa(_t(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const EW = n => btoa(FW(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
dr = () => { TW = () => {
return n = kr(It("[name^=tw]")[0], "content"), new Zt(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = AW(wW("[name^=tw]")[0], "content"), new yW(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
mr = (n, W) => fr = fr || kr(Pr(It(n))[W[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Et)), UW = (n, t) => gW = gW || AW(XW(wW(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](JW)),
kr = (n, W) => n && n["getAttribute"](W) || "", AW = (n, t) => n && n["getAttribute"](t) || "",
Rr = n => typeof n == "string" ? new Mt()["encode"](n) : n, YW = n => typeof n == "string" ? new ZW()["encode"](n) : n,
ar = n => $t["digest"]("sha-256", Rr(n)), zW = n => jW["digest"]("sha-256", YW(n)),
Cr = n => (n < 16 ? "0" : "") + n["toString"](16), DW = n => (n < 16 ? "0" : "") + n["toString"](16),
Pr = n => _t(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), XW = n => FW(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Or = () => { $W = () => {
{ {
const r = At["createElement"]("div"); const n = lW["createElement"]("div");
return At["body"]["append"](r), [r, () => Pr([r])]; return lW["body"]["append"](n), [n, () => XW([n])];
} }
{ {
if (!Kr["animate"]) return; const n = gW["sdp"] || ZW;
const n = Wr["animate"](Qr(It), Jr); lW = ZW(er([n[EW[5] % 8] || "4", n[FW[8] % 8]])), ir["close"]();
n["pause"](), n["currentTime"] = qr(Gr / 10) * 10;
} }
}, },
[Qr, Sr, sr, qr, Vr] = [n => nr["round"](n), n => nr["floor"](n), () => nr["random"](), n => n["slice"](0, 16), () => 0], [_W, nr, tr, Wr, rr] = [n => LW["round"](n), n => LW["floor"](n), () => LW["random"](), n => n["slice"](0, 16), () => 0],
[hr, wr, Kr] = [3, 1682924400, 2 ** (4 * 3)], [ur, cr, or] = [3, 1682924400, 2 ** (4 * 3)],
Gr = (n, W, t) => W ? n ^ t[0] : n, er = (n, t, W) => t ? n ^ W[0] : n,
pr = (n, W, t) => { ir = (n, t, W) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](zr(W), Kr); const r = n["animate"](dr(t), or);
r["pause"](), r["currentTime"] = Qr(t / 10) * 10; r["pause"](), r["currentTime"] = _W(W / 10) * 10;
} }
var s, S;
}, },
vr = (n, W, t, r) => { fr = (n, t, W, r) => {
{ {
const o = n * (t - W) / 255 + W; const u = n * (W - t) / 255 + t;
return r ? Sr(o) : o["toFixed"](2); return r ? nr(u) : u["toFixed"](2);
} }
try {
const n = Yt["sdp"] || zr;
Sr = Pr(Cr([n[ir[5] % 8] || "4", n[Ut[8] % 8]])), $t["close"]();
} catch {}
}, },
zr = n => ({ dr = n => ({
color: ["#" + Cr(n[0]) + Cr(n[1]) + Cr(n[2]), "#" + Cr(n[3]) + Cr(n[4]) + Cr(n[5])], color: ["#" + DW(n[0]) + DW(n[1]) + DW(n[2]), "#" + DW(n[3]) + DW(n[4]) + DW(n[5])],
transform: ["rotate(0deg)", "rotate(" + vr(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + fr(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + _t(n["slice"](7))["map"]((n, W) => vr(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + FW(n["slice"](7))["map"]((n, t) => fr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Hr, let kr,
yr, sr,
Jr = []; Sr = [];
const gr = n => { const Cr = n => {
if (!Hr) { if (!kr) {
const [kn, Rn] = [n[28] % 16, n[36] % 16 * (n[3] % 16) * (n[33] % 16)], const [b, p] = [n[45] % 16, n[32] % 16 * (n[17] % 16) * (n[33] % 16)],
an = mr(".r-17djpc", n); l = UW(".r-z5ak0", n);
new tr(() => { new HW(() => {
{ {
const W = new Wr(), const t = new VW(),
r = sr()["toString"](36); W = tr()["toString"](36);
yr = W["createDataChannel"](r), W["createOffer"]()["then"](t => { sr = t["createDataChannel"](W), t["createOffer"]()["then"](u => {
try { try {
{ {
const o = t["sdp"] || r; const r = u["sdp"] || W;
Jr = _t(Rr([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"](); Sr = FW(YW([r[n[5] % 8] || "4", r[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](Vr); })["catch"](rr);
} }
})["catch"](Vr); })["catch"](rr);
const [Cn, Pn] = Or(); const [K, J] = $W();
pr(Cn, an[kn], Rn); ir(K, l[b], p);
const On = or(Cn); const Z = IW(K);
Hr = _t(("" + On["color"] + On["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Et(Et(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Pn(); kr = FW(("" + Z["color"] + Z["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => JW(JW(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), J();
} }
return Hr; return kr;
}; };
return async (n, W) => { return async (n, t) => {
const o = Sr((Yt["now"]() - wr * 1e3) / 1e3), const i = nr((vW["now"]() - cr * 1e3) / 1e3),
u = new Zt(new Ut([o])["buffer"]), f = new yW(new qW([i])["buffer"]),
c = dr(), d = TW(),
e = gr(c); k = Cr(d);
return ir(new Zt([sr() * 256]["concat"](_t(c), _t(u), qr(_t(new Zt(await ar([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](Jr)), [hr]))["map"](Gr)); return EW(new yW([tr() * 256]["concat"](FW(d), FW(f), Wr(FW(new yW(await zW([t, n, i]["join"]("!") + "obfiowerehiring" + k)))["concat"](Sr)), [ur]))["map"](er));
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.f5f5727a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.e6bb9bba.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, t) => { 471269: (n, t, W) => {
t.r(W), t.d(W, { W.r(t), W.d(t, {
default: () => u default: () => c
}); });
t(136728), t(875640); W(136728), W(875640);
const u = () => { const c = () => {
let fr; let gW;
const ir = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const EW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const dr = () => { const TW = () => {
return n = kr((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = AW((n => lW["querySelectorAll"](n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
}; };
const mr = (n, W) => fr = fr || kr(Pr((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 UW = (n, t) => gW = gW || AW(XW((n => lW["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 kr = (n, W) => n && n["getAttribute"](W) || ""; const AW = (n, t) => n && n["getAttribute"](t) || "";
const Rr = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const YW = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const ar = n => crypto.subtle["digest"]("sha-256", Rr(n)); const zW = n => crypto.subtle["digest"]("sha-256", YW(n));
const Cr = n => (n < 16 ? "0" : "") + n["toString"](16); const DW = n => (n < 16 ? "0" : "") + n["toString"](16);
const Pr = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const XW = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Sr = n => Math.floor(n); const er = (n, t, W) => t ? n ^ W[0] : n;
const Gr = (n, W, t) => W ? n ^ t[0] : n; const ir = (n, t, W) => {
const pr = (n, W, t) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](zr(W), 4096); const r = n["animate"](dr(t), 4096);
r["pause"](), r["currentTime"] = (n => Math.round(n))(t / 10) * 10; r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
} }
}; };
const vr = (n, W, t, r) => { const fr = (n, t, W, r) => {
{ {
const o = n * (t - W) / 255 + W; const u = n * (W - t) / 255 + t;
return r ? Sr(o) : o["toFixed"](2); return r ? (n => Math.floor(n))(u) : u["toFixed"](2);
} }
}; };
const zr = n => ({ const dr = n => ({
color: ["#" + Cr(n[0]) + Cr(n[1]) + Cr(n[2]), "#" + Cr(n[3]) + Cr(n[4]) + Cr(n[5])], color: ["#" + DW(n[0]) + DW(n[1]) + DW(n[2]), "#" + DW(n[3]) + DW(n[4]) + DW(n[5])],
transform: ["rotate(0deg)", "rotate(" + vr(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + fr(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => vr(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => fr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Hr; let kr;
let Jr = []; let Sr = [];
const gr = n => { const Cr = n => {
if (!Hr) { if (!kr) {
const an = mr(".r-17djpc", n); const l = UW(".r-z5ak0", n);
new Promise(() => { new Promise(() => {
{ {
const W = new RTCPeerConnection(); const t = new RTCPeerConnection();
const r = (() => Math.random())()["toString"](36); const W = (() => Math.random())()["toString"](36);
yr = W["createDataChannel"](r), W["createOffer"]()["then"](t => { sr = t["createDataChannel"](W), t["createOffer"]()["then"](u => {
try { try {
{ {
const o = t["sdp"] || r; const r = u["sdp"] || W;
Jr = Array.from(Rr([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"](); Sr = Array.from(YW([r[n[5] % 8] || "4", r[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
pr(Cn, an[n[28] % 16], n[36] % 16 * (n[3] % 16) * (n[33] % 16)); ir(K, l[n[45] % 16], n[32] % 16 * (n[17] % 16) * (n[33] % 16));
const On = getComputedStyle(Cn); const Z = getComputedStyle(K);
Hr = Array.from(("" + On["color"] + On["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Pn(); kr = Array.from(("" + Z["color"] + Z["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), J();
} }
return Hr; return kr;
}; };
return async (n, W) => { return async (n, t) => {
const o = Sr((Date["now"]() - 1682924400000) / 1e3); const i = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([o])["buffer"]); const f = new Uint8Array(new Uint32Array([i])["buffer"]);
const c = dr(); const d = TW();
const e = gr(c); const k = Cr(d);
return ir(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(c), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await ar([W, n, o]["join"]("!") + "obfiowerehiring" + e)))["concat"](Jr)), [3]))["map"](Gr)); return EW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(d), Array.from(f), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await zW([t, n, i]["join"]("!") + "obfiowerehiring" + k)))["concat"](Sr)), [3]))["map"](er));
}; };
}; };
} }

File diff suppressed because one or more lines are too long