1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-tid-deobf-fork synced 2026-01-11 07:30:38 +01:00

Update deobfuscation

Changes detected in source file
run:base failed
run:fork succeeded
run:additional succeeded
This commit is contained in:
GitHub Action 2025-07-01 22:06:26 +00:00
parent 151b462981
commit 47f43fc5f7
4 changed files with 169 additions and 167 deletions

View file

@ -1,73 +1,73 @@
"use strict";
(self.webpackChunk_twitter_responsive_web = self.webpackChunk_twitter_responsive_web || []).push([["ondemand.s"], {
227900: (n, t, c) => {
c.r(t), c.d(t, {
default: () => o
227900: (n, r, t) => {
t.r(r), t.d(r, {
default: () => c
});
c(136728), c(875640);
const o = () => {
let vW;
const HW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const JW = () => {
return n = LW((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
t(136728), t(875640);
const c = () => {
let AW;
const DW = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
const EW = () => {
return n = $W((n => VW["querySelectorAll"](n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
};
const zW = (n, t) => vW = vW || LW(gW((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 LW = (n, t) => n && n["getAttribute"](t) || "";
const pW = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const jW = n => crypto.subtle["digest"]("sha-256", pW(n));
const IW = n => (n < 16 ? "0" : "") + n["toString"](16);
const gW = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const $W = (n, t, c) => t ? n ^ c[0] : n;
const _W = (n, t, c) => {
const _W = (n, r) => AW = AW || $W(cc((n => VW["querySelectorAll"](n))(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Number));
const $W = (n, r) => n && n["getAttribute"](r) || "";
const nc = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
const rc = n => crypto.subtle["digest"]("sha-256", nc(n));
const tc = n => (n < 16 ? "0" : "") + n["toString"](16);
const cc = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
const Sc = (n, r, t) => r ? n ^ t[0] : n;
const mc = (n, r, t) => {
{
if (!n["animate"]) return;
const W = n["animate"](tr(t), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(c / 10) * 10;
const W = n["animate"](vc(r), 4096);
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10;
}
};
const nr = (n, t, c, W) => {
const sc = (n, r, t, c) => {
{
const r = n * (c - t) / 255 + t;
return W ? (n => Math.floor(n))(r) : r["toFixed"](2);
const W = HGwMiupYxGaXcDgEjFEl[Lc("t - 10", "t - -133", "7S]3\" - 30", "7S]3", -457)](n * (t - r), 255) + r;
return c ? (n => Math.floor(n))(W) : W["toFixed"](2);
}
};
const tr = n => ({
color: ["#" + IW(n[0]) + IW(n[1]) + IW(n[2]), "#" + IW(n[3]) + IW(n[4]) + IW(n[5])],
transform: ["rotate(0deg)", "rotate(" + nr(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => nr(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
const vc = n => ({
color: ["#" + tc(n[0]) + tc(n[1]) + tc(n[2]), "#" + tc(n[3]) + tc(n[4]) + tc(n[5])],
transform: ["rotate(0deg)", "rotate(" + sc(n[6], 60, 360, !0) + "deg)"],
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => sc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
});
let cr;
let rr = [];
const ur = n => {
if (!cr) {
const V = zW(".r-jw9bls", n);
let Cc;
let Rc = [];
const hc = n => {
if (!Cc) {
const Zn = _W(".r-1atmi0", n);
new Promise(() => {
{
const l = new RTCPeerConnection();
const q = (() => Math.random())()["toString"](36);
Wr = l["createDataChannel"](q), l["createOffer"]()["then"](T => {
const r = new RTCPeerConnection();
const t = (() => Math.random())()["toString"](36);
qc = r["createDataChannel"](t), r["createOffer"]()["then"](c => {
try {
{
const t = T["sdp"] || q;
rr = Array.from(pW([t[n[5] % 8] || "4", t[n[8] % 8]])), l["close"]();
const W = c["sdp"] || t;
Rc = Array.from(nc([W[n[5] % 8] || "4", W[n[8] % 8]])), r["close"]();
}
} catch {}
})["catch"](() => 0);
}
})["catch"](() => 0);
_W(R, V[n[0] % 16], n[17] % 16 * (n[42] % 16) * (n[17] % 16));
const D = getComputedStyle(R);
cr = Array.from(("" + D["color"] + D["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), w();
mc(zn, Zn[n[14] % 16], n[6] % 16 * (n[11] % 16) * (n[3] % 16));
const In = getComputedStyle(zn);
Cc = Array.from(("" + In["color"] + In["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), jn();
}
return cr;
return Cc;
};
return async (n, t) => {
const e = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const d = new Uint8Array(new Uint32Array([e])["buffer"]);
const i = JW();
const f = ur(i);
return HW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(i), Array.from(d), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await jW([t, n, e]["join"]("!") + "obfiowerehiring" + f)))["concat"](rr)), [3]))["map"]($W));
return async (n, r) => {
const W = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
const c = new Uint8Array(new Uint32Array([W])["buffer"]);
const o = EW();
const u = hc(o);
return DW(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(o), Array.from(c), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await rc([r, n, W]["join"]("!") + "obfiowerehiring" + u)))["concat"](Rc)), [3]))["map"](Sc));
};
};
}