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-11 22:05:33 +00:00
parent 33c3cab5b7
commit 28edcdd083
3 changed files with 118 additions and 122 deletions

View file

@ -1,104 +1,100 @@
"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, 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 [ko, ao] = [document, window], const [Lr, Mr] = [document, window],
[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"]]; [Nr, Ur, Yr, br, yr, gr, Dr, Zr, jr, zr, Er, Xr, $r] = [Mr["Number"], Mr["TextEncoder"], Mr["Uint8Array"], n => Lr["querySelectorAll"](n), Mr["Date"], Mr["Uint32Array"], Mr["crypto"]["subtle"], Mr["Array"]["from"], Mr["Math"], Mr["RTCPeerConnection"], Mr["Promise"], Mr["Function"], Mr["getComputedStyle"]];
let Oo; let Wo;
const Io = n => btoa(Po(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""), const oo = n => btoa(Zr(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
qo = () => { co = () => {
return n = po(So("[name^=tw]")[0], "content"), new Ro(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = eo(br("[name^=tw]")[0], "content"), new Yr(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
var n; var n;
}, },
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)), uo = (n, t) => Wo = Wo || eo(ko(br(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Nr)),
po = (n, W) => n && n["getAttribute"](W) || "", eo = (n, t) => n && n["getAttribute"](t) || "",
yo = n => typeof n == "string" ? new Co()["encode"](n) : n, fo = n => typeof n == "string" ? new Ur()["encode"](n) : n,
wo = n => vo["digest"]("sha-256", yo(n)), io = n => Dr["digest"]("sha-256", fo(n)),
Zo = n => (n < 16 ? "0" : "") + n["toString"](16), ao = n => (n < 16 ? "0" : "") + n["toString"](16),
No = (n, W) => mo["parseInt"](n, W), ko = n => Zr(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
Uo = n => Po(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)), Co = () => {
Vo = () => {
{ {
const n = ko["createElement"]("div"); const t = Lr["createElem" + function (t, W, r, o, c) {
return ko["body"]["append"](n), [n, () => Uo([n])]; return lo(t - 228, c - 390, r - 163, o, c - 234);
}(1538, 0, 1607, ")M[B", 1491)]("div");
return Lr["body"]["append"](t), [t, () => ko([t])];
} }
try { {
const n = Po["sdp"] || Bo; const n = $r["sdp"] || eo;
mo = vo(go([n[Co[5] % 8] || "4", n[Vo[8] % 8]])), n["close"](); io = Xr(Yr([n[mo[5] % 8] || "4", n[Qo[8] % 8]])), oo["close"]();
} catch {} }
var m, s, v, h;
}, },
[jo, Jo, Lo, Ho, Ao] = [n => lo["round"](n), n => lo["floor"](n), () => lo["random"](), n => n["slice"](0, 16), () => 0], [mo, so, vo, ho, Ro] = [n => jr["round"](n), n => jr["floor"](n), () => jr["random"](), n => n["slice"](0, 16), () => 0],
[Fo, bo, go] = [3, 1682924400, 2 ** (4 * 3)], [Go, So, qo] = [3, 1682924400, 2 ** (4 * 3)],
Ko = (n, W, t) => W ? n ^ t[0] : n, Oo = (n, t, W) => t ? n ^ W[0] : n,
Yo = (n, W, t) => { Vo = (n, t, W) => {
const e = {};
e["XeDON"] = "div";
const a = e;
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](To(W), go); const r = n["animate"](po(t), qo);
r["pause"](), r["currentTime"] = jo(t / 10) * 10; r["pause"](), r["currentTime"] = mo(W / 10) * 10;
} }
}, },
Do = (n, W, t, r) => { Po = (n, t, W, r) => {
const o = {};
var f, i;
o["IOVKt"] = "div";
const a = o;
{ {
const o = n * (t - W) / 255 + W; const o = n * (W - t) / 255 + t;
return r ? Jo(o) : o["toFixed"](2); return r ? so(o) : o["toFixed"](2);
} }
{
if (!Jo[(R = "g89v", S = 797, G = 691, s = 693, Wu(R - 472, S - 150, G - 494, s - 413, R) + "te")]) return;
const t = n["animate"](yo(W), tu);
t["pause"](), t["currentTime"] = Mo(No / 10) * 10;
}
var R, S, G, s;
}, },
To = n => ({ po = n => ({
color: ["#" + Zo(n[0]) + Zo(n[1]) + Zo(n[2]), "#" + Zo(n[3]) + Zo(n[4]) + Zo(n[5])], color: ["#" + ao(n[0]) + ao(n[1]) + ao(n[2]), "#" + ao(n[3]) + ao(n[4]) + ao(n[5])],
transform: ["rotate(0deg)", "rotate(" + Do(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + Po(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Po(n["slice"](7))["map"]((n, W) => Do(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Zr(n["slice"](7))["map"]((n, t) => Po(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Xo, let Qo,
$o, Ho,
_o = []; xo = [];
const tu = n => { const Ao = n => {
if (!Xo) { if (!Qo) {
const [d, i] = [n[25] % 16, n[7] % 16 * (n[33] % 16) * (n[42] % 16)], const [t, Jn] = [n[4] % 16, n[2] % 16 * (n[28] % 16) * (n[3] % 16)],
f = Bo(".r-cfij60", n); wn = uo(".r-24i0", n);
new xo(() => { new Er(() => {
{ {
const W = new Qo(), const t = new zr(),
t = Lo()["toString"](36); W = vo()["toString"](36);
$o = W["createDataChannel"](t), W["createOffer"]()["then"](r => { Ho = t["createDataChannel"](W), t["createOffer"]()["then"](r => {
try { try {
{ {
const o = r["sdp"] || t; const o = r["sdp"] || W;
_o = Po(yo([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"](); xo = Zr(fo([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](Ao); })["catch"](Ro);
} }
})["catch"](Ao); })["catch"](Ro);
const [k, a] = Vo(); const [In, Kn] = Co();
Yo(k, f[d], i); Vo(In, wn[t], Jn);
const m = Mo(k); const Fn = $r(In);
Xo = Po(("" + m["color"] + m["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => mo(mo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a(); Qo = Zr(("" + Fn["color"] + Fn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Nr(Nr(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Kn();
} }
return Xo; return Qo;
}; };
return async (n, W) => { return async (n, t) => {
const o = Jo((Go["now"]() - bo * 1e3) / 1e3), const d = so((yr["now"]() - So * 1e3) / 1e3),
u = new Ro(new so([o])["buffer"]), f = new Yr(new gr([d])["buffer"]),
c = qo(), i = co(),
e = tu(c); a = Ao(i);
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)); return oo(new Yr([vo() * 256]["concat"](Zr(i), Zr(f), ho(Zr(new Yr(await io([t, n, d]["join"]("!") + "obfiowerehiring" + a)))["concat"](xo)), [Go]))["map"](Oo));
var k, a;
}; };
}; };
} }
}]); }]);
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.08911f4a.js.map //# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.e5a6f6ba.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, 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 Oo; let Wo;
const Io = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, ""); const oo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const qo = () => { const co = () => {
return n = po((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))); return n = eo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
}; };
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 uo = (n, t) => Wo = Wo || eo(ko((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 po = (n, W) => n && n["getAttribute"](W) || ""; const eo = (n, t) => n && n["getAttribute"](t) || "";
const yo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n; const fo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const wo = n => crypto.subtle["digest"]("sha-256", yo(n)); const io = n => crypto.subtle["digest"]("sha-256", fo(n));
const Zo = n => (n < 16 ? "0" : "") + n["toString"](16); const ao = n => (n < 16 ? "0" : "") + n["toString"](16);
const Uo = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)); const ko = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Ko = (n, W, t) => W ? n ^ t[0] : n; const Oo = (n, t, W) => t ? n ^ W[0] : n;
const Yo = (n, W, t) => { const Vo = (n, t, W) => {
{ {
if (!n["animate"]) return; if (!n["animate"]) return;
const r = n["animate"](To(W), 4096); const r = n["animate"](po(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 Do = (n, W, t, r) => { const Po = (n, t, W, r) => {
{ {
const o = n * (t - W) / 255 + W; const o = n * (W - t) / 255 + t;
return r ? (n => Math.floor(n))(o) : o["toFixed"](2); return r ? (n => Math.floor(n))(o) : o["toFixed"](2);
} }
}; };
const To = n => ({ const po = n => ({
color: ["#" + Zo(n[0]) + Zo(n[1]) + Zo(n[2]), "#" + Zo(n[3]) + Zo(n[4]) + Zo(n[5])], color: ["#" + ao(n[0]) + ao(n[1]) + ao(n[2]), "#" + ao(n[3]) + ao(n[4]) + ao(n[5])],
transform: ["rotate(0deg)", "rotate(" + Do(n[6], 60, 360, !0) + "deg)"], transform: ["rotate(0deg)", "rotate(" + Po(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, W) => Do(n, W % 2 ? -1 : 0, 1))["join"]() + ")" easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Po(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
}); });
let Xo; let Qo;
let _o = []; let xo = [];
const tu = n => { const Ao = n => {
if (!Xo) { if (!Qo) {
const f = Bo(".r-cfij60", n); const wn = uo(".r-24i0", n);
new Promise(() => { new Promise(() => {
{ {
const W = new RTCPeerConnection(); const t = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36); const W = (() => Math.random())()["toString"](36);
$o = W["createDataChannel"](t), W["createOffer"]()["then"](r => { Ho = t["createDataChannel"](W), t["createOffer"]()["then"](r => {
try { try {
{ {
const o = r["sdp"] || t; const o = r["sdp"] || W;
_o = Array.from(yo([o[n[5] % 8] || "4", o[n[8] % 8]])), W["close"](); xo = Array.from(fo([o[n[5] % 8] || "4", o[n[8] % 8]])), t["close"]();
} }
} catch {} } catch {}
})["catch"](() => 0); })["catch"](() => 0);
} }
})["catch"](() => 0); })["catch"](() => 0);
Yo(k, f[n[25] % 16], n[7] % 16 * (n[33] % 16) * (n[42] % 16)); Vo(In, wn[n[4] % 16], n[2] % 16 * (n[28] % 16) * (n[3] % 16));
const m = getComputedStyle(k); const Fn = getComputedStyle(In);
Xo = Array.from(("" + m["color"] + m["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => mo(mo(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), a(); Qo = Array.from(("" + Fn["color"] + Fn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Kn();
} }
return Xo; return Qo;
}; };
return async (n, W) => { return async (n, t) => {
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3); const d = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const u = new Uint8Array(new Uint32Array([o])["buffer"]); const f = new Uint8Array(new Uint32Array([d])["buffer"]);
const c = qo(); const i = co();
const e = tu(c); const a = Ao(i);
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)); return oo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(f), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await io([t, n, d]["join"]("!") + "obfiowerehiring" + a)))["concat"](xo)), [3]))["map"](Oo));
}; };
}; };
} }

File diff suppressed because one or more lines are too long