mirror of
https://github.com/thegeneralist01/twitter-tid-deobf-fork
synced 2026-01-11 15:40:28 +01:00
Update deobfuscation
Changes detected in source file run:base succeeded run:fork succeeded run:additional succeeded
This commit is contained in:
parent
910146a564
commit
7eb5cccd8e
5 changed files with 220 additions and 263 deletions
|
|
@ -1,78 +1,74 @@
|
||||||
"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, t, W) => {
|
227900: (n, r, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(r), t.d(r, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
let Ru;
|
let No;
|
||||||
const qu = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const Ho = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const Pu = () => {
|
const Lo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
return n = Lu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const Fo = () => Ho(bo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||||
};
|
const yo = (n, r) => No = No || bo(Ao((n => document.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 Ou = (n, t) => Ru = Ru || Lu(pu((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 bo = (n, r) => n && n["getAttribute"](r) || "";
|
||||||
const Lu = (n, t) => n && n["getAttribute"](t) || "";
|
const jo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const Nu = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const zo = n => crypto.subtle["digest"]("sha-256", jo(n));
|
||||||
const Qu = n => crypto.subtle["digest"]("sha-256", Nu(n));
|
const To = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const hu = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const Ao = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const pu = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const _o = (n, r, t) => r ? n ^ t[0] : n;
|
||||||
const Tu = (n, t, W) => t ? n ^ W[0] : n;
|
const nc = (n, r, t) => {
|
||||||
const xu = (n, t, W) => {
|
|
||||||
const c = {
|
|
||||||
"hpntw": "div"
|
|
||||||
};
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Du(t), 4096);
|
const W = n["animate"](tc(r), 4096);
|
||||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Au = (n, t, W, r) => {
|
const rc = (n, r, t, W) => {
|
||||||
{
|
{
|
||||||
const c = n * (W - t) / 255 + t;
|
const o = n * (t - r) / 255 + r;
|
||||||
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
|
return W ? (n => Math.floor(n))(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Du = n => ({
|
const tc = n => ({
|
||||||
color: ["#" + hu(n[0]) + hu(n[1]) + hu(n[2]), "#" + hu(n[3]) + hu(n[4]) + hu(n[5])],
|
color: ["#" + To(n[0]) + To(n[1]) + To(n[2]), "#" + To(n[3]) + To(n[4]) + To(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + Au(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + rc(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Au(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => rc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let bu;
|
let Wc;
|
||||||
let wu = [];
|
let cc = [];
|
||||||
const Zu = n => {
|
const ec = n => {
|
||||||
if (!bu) {
|
if (!Wc) {
|
||||||
const g = n[6] % 16;
|
const hn = n[22] % 16;
|
||||||
const T = n[20] % 16 * (n[44] % 16) * (n[37] % 16);
|
const In = n[35] % 16 * (n[23] % 16) * (n[16] % 16);
|
||||||
const x = Ou(".r-awq2hi", n);
|
const xn = yo(".r-732710", n);
|
||||||
new Su(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const I = new RTCPeerConnection();
|
const r = new RTCPeerConnection();
|
||||||
const F = (() => Math.random())()["toString"](36);
|
const t = (() => Math.random())()["toString"](36);
|
||||||
Yu = I["createDataChannel"](F), I["createOffer"]()["then"](Y => {
|
oc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const t = Y["sdp"] || F;
|
const o = W["sdp"] || t;
|
||||||
wu = Array.from(Nu([t[n[5] % 8] || "4", t[n[8] % 8]])), I["close"]();
|
cc = Array.from(jo([o[n[5] % 8] || "4", o[n[8] % 8]])), r["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
xu(A, x[n[6] % 16], n[20] % 16 * (n[44] % 16) * (n[37] % 16));
|
nc(Qn, xn[n[22] % 16], n[35] % 16 * (n[23] % 16) * (n[16] % 16));
|
||||||
const b = getComputedStyle(A);
|
const Vn = getComputedStyle(Qn);
|
||||||
bu = Array.from(("" + b["color"] + b["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), D();
|
Wc = Array.from(("" + Vn["color"] + Vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Nn();
|
||||||
}
|
}
|
||||||
return bu;
|
return Wc;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, r) => {
|
||||||
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const e = new Uint8Array(new Uint32Array([o])["buffer"]);
|
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||||
const d = Pu();
|
const e = Fo();
|
||||||
const f = Zu(d);
|
const f = ec(e);
|
||||||
return qu(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(d), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Qu([t, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](wu)), [3]))["map"](Tu));
|
return Lo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await zo([r, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](cc)), [3]))["map"](_o));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,73 +1,72 @@
|
||||||
"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, t, W) => {
|
227900: (n, r, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(r), t.d(r, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
let Ru;
|
let No;
|
||||||
const qu = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
const Ho = n => new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
||||||
const Pu = () => {
|
const Lo = n => btoa(Array.from(n)["map"](n => String.fromCharCode(n))["join"](""))["replace"](/=/g, "");
|
||||||
return n = Lu((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"), new Uint8Array(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
const Fo = () => Ho(bo((n => document.querySelectorAll(n))("[name^=tw]")[0], "content"));
|
||||||
};
|
const yo = (n, r) => No = No || bo(Ao((n => document.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 Ou = (n, t) => Ru = Ru || Lu(pu((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 bo = (n, r) => n && n["getAttribute"](r) || "";
|
||||||
const Lu = (n, t) => n && n["getAttribute"](t) || "";
|
const jo = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
||||||
const Nu = n => typeof n == "string" ? new TextEncoder()["encode"](n) : n;
|
const zo = n => crypto.subtle["digest"]("sha-256", jo(n));
|
||||||
const Qu = n => crypto.subtle["digest"]("sha-256", Nu(n));
|
const To = n => (n < 16 ? "0" : "") + n["toString"](16);
|
||||||
const hu = n => (n < 16 ? "0" : "") + n["toString"](16);
|
const Ao = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
||||||
const pu = n => Array.from(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n));
|
const _o = (n, r, t) => r ? n ^ t[0] : n;
|
||||||
const Tu = (n, t, W) => t ? n ^ W[0] : n;
|
const nc = (n, r, t) => {
|
||||||
const xu = (n, t, W) => {
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Du(t), 4096);
|
const W = n["animate"](tc(r), 4096);
|
||||||
r["pause"](), r["currentTime"] = (n => Math.round(n))(W / 10) * 10;
|
W["pause"](), W["currentTime"] = (n => Math.round(n))(t / 10) * 10;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Au = (n, t, W, r) => {
|
const rc = (n, r, t, W) => {
|
||||||
{
|
{
|
||||||
const c = n * (W - t) / 255 + t;
|
const o = n * (t - r) / 255 + r;
|
||||||
return r ? (n => Math.floor(n))(c) : c["toFixed"](2);
|
return W ? (n => Math.floor(n))(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const Du = n => ({
|
const tc = n => ({
|
||||||
color: ["#" + hu(n[0]) + hu(n[1]) + hu(n[2]), "#" + hu(n[3]) + hu(n[4]) + hu(n[5])],
|
color: ["#" + To(n[0]) + To(n[1]) + To(n[2]), "#" + To(n[3]) + To(n[4]) + To(n[5])],
|
||||||
transform: ["rotate(0deg)", "rotate(" + Au(n[6], 60, 360, !0) + "deg)"],
|
transform: ["rotate(0deg)", "rotate(" + rc(n[6], 60, 360, !0) + "deg)"],
|
||||||
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, t) => Au(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
easing: "cubic-bezier(" + Array.from(n["slice"](7))["map"]((n, r) => rc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
});
|
});
|
||||||
let bu;
|
let Wc;
|
||||||
let wu = [];
|
let cc = [];
|
||||||
const Zu = n => {
|
const ec = n => {
|
||||||
if (!bu) {
|
if (!Wc) {
|
||||||
const x = Ou(".r-awq2hi", n);
|
const xn = yo(".r-732710", n);
|
||||||
new Su(() => {
|
new Promise(() => {
|
||||||
{
|
{
|
||||||
const I = new RTCPeerConnection();
|
const r = new RTCPeerConnection();
|
||||||
const F = (() => Math.random())()["toString"](36);
|
const t = (() => Math.random())()["toString"](36);
|
||||||
Yu = I["createDataChannel"](F), I["createOffer"]()["then"](Y => {
|
oc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const t = Y["sdp"] || F;
|
const o = W["sdp"] || t;
|
||||||
wu = Array.from(Nu([t[n[5] % 8] || "4", t[n[8] % 8]])), I["close"]();
|
cc = Array.from(jo([o[n[5] % 8] || "4", o[n[8] % 8]])), r["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
}
|
}
|
||||||
})["catch"](() => 0);
|
})["catch"](() => 0);
|
||||||
xu(A, x[n[6] % 16], n[20] % 16 * (n[44] % 16) * (n[37] % 16));
|
nc(Qn, xn[n[22] % 16], n[35] % 16 * (n[23] % 16) * (n[16] % 16));
|
||||||
const b = getComputedStyle(A);
|
const Vn = getComputedStyle(Qn);
|
||||||
bu = Array.from(("" + b["color"] + b["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), D();
|
Wc = Array.from(("" + Vn["color"] + Vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Number(Number(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Nn();
|
||||||
}
|
}
|
||||||
return bu;
|
return Wc;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, r) => {
|
||||||
const o = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
const c = (n => Math.floor(n))((Date["now"]() - 1682924400000) / 1e3);
|
||||||
const e = new Uint8Array(new Uint32Array([o])["buffer"]);
|
const u = new Uint8Array(new Uint32Array([c])["buffer"]);
|
||||||
const d = Pu();
|
const e = Fo();
|
||||||
const f = Zu(d);
|
const f = ec(e);
|
||||||
return qu(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(d), Array.from(e), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await Qu([t, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](wu)), [3]))["map"](Tu));
|
return Lo(new Uint8Array([(() => Math.random())() * 256]["concat"](Array.from(e), Array.from(u), (n => n["slice"](0, 16))(Array.from(new Uint8Array(await zo([r, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](cc)), [3]))["map"](_o));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
145
output/deobf.js
145
output/deobf.js
|
|
@ -1,108 +1,89 @@
|
||||||
"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, t, W) => {
|
227900: (n, r, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(r), t.d(r, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
const [tu, Wu] = [document, window],
|
const [lo, qo] = [document, window],
|
||||||
[ru, uu, cu, ou, eu, du, fu, iu, ku, au, Su, mu, Cu] = [Wu["Number"], Wu["TextEncoder"], Wu["Uint8Array"], n => tu["querySelectorAll"](n), Wu["Date"], Wu["Uint32Array"], Wu["crypto"]["subtle"], Wu["Array"]["from"], Wu["Math"], Wu["RTCPeerConnection"], Wu["Promise"], Wu["Function"], Wu["getComputedStyle"]];
|
[Ro, go, Oo, po, Go, Ko, Do, wo, Po, ho, Io, xo, Qo] = [qo["Number"], qo["TextEncoder"], qo["Uint8Array"], n => lo["querySelectorAll"](n), qo["Date"], qo["Uint32Array"], qo["crypto"]["subtle"], qo["Array"]["from"], qo["Math"], qo["RTCPeerConnection"], qo["Promise"], qo["Function"], qo["getComputedStyle"]];
|
||||||
let Ru;
|
let No;
|
||||||
const qu = n => btoa(iu(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
const Ho = n => new Oo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
||||||
Pu = () => {
|
Lo = n => btoa(wo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
return n = Lu(ou("[name^=tw]")[0], "content"), new cu(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
Fo = () => Ho(bo(po("[name^=tw]")[0], "content")),
|
||||||
var n;
|
yo = (n, r) => No = No || bo(Ao(po(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Ro)),
|
||||||
},
|
bo = (n, r) => n && n["getAttribute"](r) || "",
|
||||||
Ou = (n, t) => Ru = Ru || Lu(pu(ou(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](ru)),
|
jo = n => typeof n == "string" ? new go()["encode"](n) : n,
|
||||||
Lu = (n, t) => n && n["getAttribute"](t) || "",
|
zo = n => Do["digest"]("sha-256", jo(n)),
|
||||||
Nu = n => typeof n == "string" ? new uu()["encode"](n) : n,
|
To = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
Qu = n => fu["digest"]("sha-256", Nu(n)),
|
Ao = n => wo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
hu = n => (n < 16 ? "0" : "") + n["toString"](16),
|
Bo = () => {
|
||||||
Ku = (n, t) => ru["parseInt"](n, t),
|
|
||||||
pu = n => iu(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
|
||||||
vu = () => {
|
|
||||||
{
|
{
|
||||||
const n = tu["createElement"]("div");
|
const n = lo["createElement"]("div");
|
||||||
return tu["body"]["append"](n), [n, () => pu([n])];
|
return lo["body"]["append"](n), [n, () => Ao([n])];
|
||||||
}
|
|
||||||
{
|
|
||||||
const S = new Qu(),
|
|
||||||
m = fu()["toString"](36);
|
|
||||||
Su = S["createDataChannel"](m), S["createOffer"]()["then"](n => {
|
|
||||||
try {
|
|
||||||
const r = n["sdp"] || m;
|
|
||||||
Fu = ru(qu([r[uu[5] % 8] || "4", r[eu[8] % 8]])), S["close"]();
|
|
||||||
} catch {}
|
|
||||||
})["catch"](Ju);
|
|
||||||
}
|
}
|
||||||
|
var u, e;
|
||||||
},
|
},
|
||||||
[Bu, Mu, Ju, yu, Vu] = [n => ku["round"](n), n => ku["floor"](n), () => ku["random"](), n => n["slice"](0, 16), () => 0],
|
[Mo, Jo, Yo, Zo, Xo] = [n => Po["round"](n), n => Po["floor"](n), () => Po["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
[Iu, Fu, gu] = [3, 1682924400, 2 ** (4 * 3)],
|
[Eo, Uo, $o] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
Tu = (n, t, W) => t ? n ^ W[0] : n,
|
_o = (n, r, t) => r ? n ^ t[0] : n,
|
||||||
xu = (n, t, W) => {
|
nc = (n, r, t) => {
|
||||||
const c = {};
|
|
||||||
c["hpntw"] = "div";
|
|
||||||
const d = c;
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Du(t), gu);
|
const W = n["animate"](tc(r), $o);
|
||||||
r["pause"](), r["currentTime"] = Bu(W / 10) * 10;
|
W["pause"](), W["currentTime"] = Mo(t / 10) * 10;
|
||||||
|
}
|
||||||
|
var s, m;
|
||||||
|
},
|
||||||
|
rc = (n, r, t, W) => {
|
||||||
|
{
|
||||||
|
const o = n * (t - r) / 255 + r;
|
||||||
|
return W ? Jo(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Au = (n, t, W, r) => {
|
tc = n => ({
|
||||||
{
|
color: ["#" + To(n[0]) + To(n[1]) + To(n[2]), "#" + To(n[3]) + To(n[4]) + To(n[5])],
|
||||||
const c = n * (W - t) / 255 + t;
|
transform: ["rotate(0deg)", "rotate(" + rc(n[6], 60, 360, !0) + "deg)"],
|
||||||
return r ? Mu(c) : c["toFixed"](2);
|
easing: "cubic-bezier(" + wo(n["slice"](7))["map"]((n, r) => rc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
}
|
|
||||||
{
|
|
||||||
const n = hu * (ou - Iu) / 255 + Qu;
|
|
||||||
return fu ? Su(n) : n["toFixed"](2);
|
|
||||||
}
|
|
||||||
var i, k;
|
|
||||||
},
|
|
||||||
Du = n => ({
|
|
||||||
color: ["#" + hu(n[0]) + hu(n[1]) + hu(n[2]), "#" + hu(n[3]) + hu(n[4]) + hu(n[5])],
|
|
||||||
transform: ["rotate(0deg)", "rotate(" + Au(n[6], 60, 360, !0) + "deg)"],
|
|
||||||
easing: "cubic-bezier(" + iu(n["slice"](7))["map"]((n, t) => Au(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
|
||||||
});
|
});
|
||||||
let bu,
|
let Wc,
|
||||||
Yu,
|
oc,
|
||||||
wu = [];
|
cc = [];
|
||||||
const Zu = n => {
|
const ec = n => {
|
||||||
if (!bu) {
|
if (!Wc) {
|
||||||
const [g, T] = [n[6] % 16, n[20] % 16 * (n[44] % 16) * (n[37] % 16)],
|
const [hn, In] = [n[22] % 16, n[35] % 16 * (n[23] % 16) * (n[16] % 16)],
|
||||||
x = Ou(".r-awq2hi", n);
|
xn = yo(".r-732710", n);
|
||||||
new Su(() => {
|
new Io(() => {
|
||||||
{
|
{
|
||||||
const I = new au(),
|
const r = new ho(),
|
||||||
F = Ju()["toString"](36);
|
t = Yo()["toString"](36);
|
||||||
Yu = I["createDataChannel"](F), I["createOffer"]()["then"](Y => {
|
oc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const t = Y["sdp"] || F;
|
const o = W["sdp"] || t;
|
||||||
wu = iu(Nu([t[n[5] % 8] || "4", t[n[8] % 8]])), I["close"]();
|
cc = wo(jo([o[n[5] % 8] || "4", o[n[8] % 8]])), r["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](Vu);
|
})["catch"](Xo);
|
||||||
}
|
}
|
||||||
})["catch"](Vu);
|
})["catch"](Xo);
|
||||||
const [A, D] = vu();
|
const [Qn, Nn] = Bo();
|
||||||
xu(A, x[g], T);
|
nc(Qn, xn[hn], In);
|
||||||
const b = Cu(A);
|
const Vn = Qo(Qn);
|
||||||
bu = iu(("" + b["color"] + b["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => ru(ru(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), D();
|
Wc = wo(("" + Vn["color"] + Vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Ro(Ro(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Nn();
|
||||||
}
|
}
|
||||||
return bu;
|
return Wc;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, r) => {
|
||||||
const o = Mu((eu["now"]() - Fu * 1e3) / 1e3),
|
const c = Jo((Go["now"]() - Uo * 1e3) / 1e3),
|
||||||
e = new cu(new du([o])["buffer"]),
|
u = new Oo(new Ko([c])["buffer"]),
|
||||||
d = Pu(),
|
e = Fo(),
|
||||||
f = Zu(d);
|
f = ec(e);
|
||||||
return qu(new cu([Ju() * 256]["concat"](iu(d), iu(e), yu(iu(new cu(await Qu([t, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](wu)), [Iu]))["map"](Tu));
|
return Lo(new Oo([Yo() * 256]["concat"](wo(e), wo(u), Zo(wo(new Oo(await zo([r, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](cc)), [Eo]))["map"](_o));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.0623ae6a.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.3fdf738a.js.map
|
||||||
145
output/fork.js
145
output/fork.js
|
|
@ -1,108 +1,89 @@
|
||||||
"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, t, W) => {
|
227900: (n, r, t) => {
|
||||||
W.r(t), W.d(t, {
|
t.r(r), t.d(r, {
|
||||||
default: () => c
|
default: () => c
|
||||||
});
|
});
|
||||||
W(136728), W(875640);
|
t(136728), t(875640);
|
||||||
const c = () => {
|
const c = () => {
|
||||||
const [tu, Wu] = [document, window],
|
const [lo, qo] = [document, window],
|
||||||
[ru, uu, cu, ou, eu, du, fu, iu, ku, au, Su, mu, Cu] = [Wu["Number"], Wu["TextEncoder"], Wu["Uint8Array"], n => tu["querySelectorAll"](n), Wu["Date"], Wu["Uint32Array"], Wu["crypto"]["subtle"], Wu["Array"]["from"], Wu["Math"], Wu["RTCPeerConnection"], Wu["Promise"], Wu["Function"], Wu["getComputedStyle"]];
|
[Ro, go, Oo, po, Go, Ko, Do, wo, Po, ho, Io, xo, Qo] = [qo["Number"], qo["TextEncoder"], qo["Uint8Array"], n => lo["querySelectorAll"](n), qo["Date"], qo["Uint32Array"], qo["crypto"]["subtle"], qo["Array"]["from"], qo["Math"], qo["RTCPeerConnection"], qo["Promise"], qo["Function"], qo["getComputedStyle"]];
|
||||||
let Ru;
|
let No;
|
||||||
const qu = n => btoa(iu(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
const Ho = n => new Oo(atob(n)["split"]("")["map"](n => n["charCodeAt"](0))),
|
||||||
Pu = () => {
|
Lo = n => btoa(wo(n)["map"](n => String["fromCharCode"](n))["join"](""))["replace"](/=/g, ""),
|
||||||
return n = Lu(ou("[name^=tw]")[0], "content"), new cu(atob(n)["split"]("")["map"](n => n["charCodeAt"](0)));
|
Fo = () => Ho(bo(po("[name^=tw]")[0], "content")),
|
||||||
var n;
|
yo = (n, r) => No = No || bo(Ao(po(n))[r[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](Ro)),
|
||||||
},
|
bo = (n, r) => n && n["getAttribute"](r) || "",
|
||||||
Ou = (n, t) => Ru = Ru || Lu(pu(ou(n))[t[5] % 4]["childNodes"][0]["childNodes"][1], "d")["substring"](9)["split"]("C")["map"](n => n["replace"](/[^\d]+/g, " ")["trim"]()["split"](" ")["map"](ru)),
|
jo = n => typeof n == "string" ? new go()["encode"](n) : n,
|
||||||
Lu = (n, t) => n && n["getAttribute"](t) || "",
|
zo = n => Do["digest"]("sha-256", jo(n)),
|
||||||
Nu = n => typeof n == "string" ? new uu()["encode"](n) : n,
|
To = n => (n < 16 ? "0" : "") + n["toString"](16),
|
||||||
Qu = n => fu["digest"]("sha-256", Nu(n)),
|
Ao = n => wo(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
||||||
hu = n => (n < 16 ? "0" : "") + n["toString"](16),
|
Bo = () => {
|
||||||
Ku = (n, t) => ru["parseInt"](n, t),
|
|
||||||
pu = n => iu(n)["map"](n => (n["parentElement"]?.["removeChild"](n), n)),
|
|
||||||
vu = () => {
|
|
||||||
{
|
{
|
||||||
const n = tu["createElement"]("div");
|
const n = lo["createElement"]("div");
|
||||||
return tu["body"]["append"](n), [n, () => pu([n])];
|
return lo["body"]["append"](n), [n, () => Ao([n])];
|
||||||
}
|
|
||||||
{
|
|
||||||
const S = new Qu(),
|
|
||||||
m = fu()["toString"](36);
|
|
||||||
Su = S["createDataChannel"](m), S["createOffer"]()["then"](n => {
|
|
||||||
try {
|
|
||||||
const r = n["sdp"] || m;
|
|
||||||
Fu = ru(qu([r[uu[5] % 8] || "4", r[eu[8] % 8]])), S["close"]();
|
|
||||||
} catch {}
|
|
||||||
})["catch"](Ju);
|
|
||||||
}
|
}
|
||||||
|
var u, e;
|
||||||
},
|
},
|
||||||
[Bu, Mu, Ju, yu, Vu] = [n => ku["round"](n), n => ku["floor"](n), () => ku["random"](), n => n["slice"](0, 16), () => 0],
|
[Mo, Jo, Yo, Zo, Xo] = [n => Po["round"](n), n => Po["floor"](n), () => Po["random"](), n => n["slice"](0, 16), () => 0],
|
||||||
[Iu, Fu, gu] = [3, 1682924400, 2 ** (4 * 3)],
|
[Eo, Uo, $o] = [3, 1682924400, 2 ** (4 * 3)],
|
||||||
Tu = (n, t, W) => t ? n ^ W[0] : n,
|
_o = (n, r, t) => r ? n ^ t[0] : n,
|
||||||
xu = (n, t, W) => {
|
nc = (n, r, t) => {
|
||||||
const c = {};
|
|
||||||
c["hpntw"] = "div";
|
|
||||||
const d = c;
|
|
||||||
{
|
{
|
||||||
if (!n["animate"]) return;
|
if (!n["animate"]) return;
|
||||||
const r = n["animate"](Du(t), gu);
|
const W = n["animate"](tc(r), $o);
|
||||||
r["pause"](), r["currentTime"] = Bu(W / 10) * 10;
|
W["pause"](), W["currentTime"] = Mo(t / 10) * 10;
|
||||||
|
}
|
||||||
|
var s, m;
|
||||||
|
},
|
||||||
|
rc = (n, r, t, W) => {
|
||||||
|
{
|
||||||
|
const o = n * (t - r) / 255 + r;
|
||||||
|
return W ? Jo(o) : o["toFixed"](2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Au = (n, t, W, r) => {
|
tc = n => ({
|
||||||
{
|
color: ["#" + To(n[0]) + To(n[1]) + To(n[2]), "#" + To(n[3]) + To(n[4]) + To(n[5])],
|
||||||
const c = n * (W - t) / 255 + t;
|
transform: ["rotate(0deg)", "rotate(" + rc(n[6], 60, 360, !0) + "deg)"],
|
||||||
return r ? Mu(c) : c["toFixed"](2);
|
easing: "cubic-bezier(" + wo(n["slice"](7))["map"]((n, r) => rc(n, r % 2 ? -1 : 0, 1))["join"]() + ")"
|
||||||
}
|
|
||||||
{
|
|
||||||
const n = hu * (ou - Iu) / 255 + Qu;
|
|
||||||
return fu ? Su(n) : n["toFixed"](2);
|
|
||||||
}
|
|
||||||
var i, k;
|
|
||||||
},
|
|
||||||
Du = n => ({
|
|
||||||
color: ["#" + hu(n[0]) + hu(n[1]) + hu(n[2]), "#" + hu(n[3]) + hu(n[4]) + hu(n[5])],
|
|
||||||
transform: ["rotate(0deg)", "rotate(" + Au(n[6], 60, 360, !0) + "deg)"],
|
|
||||||
easing: "cubic-bezier(" + iu(n["slice"](7))["map"]((n, t) => Au(n, t % 2 ? -1 : 0, 1))["join"]() + ")"
|
|
||||||
});
|
});
|
||||||
let bu,
|
let Wc,
|
||||||
Yu,
|
oc,
|
||||||
wu = [];
|
cc = [];
|
||||||
const Zu = n => {
|
const ec = n => {
|
||||||
if (!bu) {
|
if (!Wc) {
|
||||||
const [g, T] = [n[6] % 16, n[20] % 16 * (n[44] % 16) * (n[37] % 16)],
|
const [hn, In] = [n[22] % 16, n[35] % 16 * (n[23] % 16) * (n[16] % 16)],
|
||||||
x = Ou(".r-awq2hi", n);
|
xn = yo(".r-732710", n);
|
||||||
new Su(() => {
|
new Io(() => {
|
||||||
{
|
{
|
||||||
const I = new au(),
|
const r = new ho(),
|
||||||
F = Ju()["toString"](36);
|
t = Yo()["toString"](36);
|
||||||
Yu = I["createDataChannel"](F), I["createOffer"]()["then"](Y => {
|
oc = r["createDataChannel"](t), r["createOffer"]()["then"](W => {
|
||||||
try {
|
try {
|
||||||
{
|
{
|
||||||
const t = Y["sdp"] || F;
|
const o = W["sdp"] || t;
|
||||||
wu = iu(Nu([t[n[5] % 8] || "4", t[n[8] % 8]])), I["close"]();
|
cc = wo(jo([o[n[5] % 8] || "4", o[n[8] % 8]])), r["close"]();
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
})["catch"](Vu);
|
})["catch"](Xo);
|
||||||
}
|
}
|
||||||
})["catch"](Vu);
|
})["catch"](Xo);
|
||||||
const [A, D] = vu();
|
const [Qn, Nn] = Bo();
|
||||||
xu(A, x[g], T);
|
nc(Qn, xn[hn], In);
|
||||||
const b = Cu(A);
|
const Vn = Qo(Qn);
|
||||||
bu = iu(("" + b["color"] + b["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => ru(ru(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), D();
|
Wc = wo(("" + Vn["color"] + Vn["transform"])["matchAll"](/([\d.-]+)/g))["map"](n => Ro(Ro(n[0])["toFixed"](2))["toString"](16))["join"]("")["replace"](/[.-]/g, ""), Nn();
|
||||||
}
|
}
|
||||||
return bu;
|
return Wc;
|
||||||
};
|
};
|
||||||
return async (n, t) => {
|
return async (n, r) => {
|
||||||
const o = Mu((eu["now"]() - Fu * 1e3) / 1e3),
|
const c = Jo((Go["now"]() - Uo * 1e3) / 1e3),
|
||||||
e = new cu(new du([o])["buffer"]),
|
u = new Oo(new Ko([c])["buffer"]),
|
||||||
d = Pu(),
|
e = Fo(),
|
||||||
f = Zu(d);
|
f = ec(e);
|
||||||
return qu(new cu([Ju() * 256]["concat"](iu(d), iu(e), yu(iu(new cu(await Qu([t, n, o]["join"]("!") + "obfiowerehiring" + f)))["concat"](wu)), [Iu]))["map"](Tu));
|
return Lo(new Oo([Yo() * 256]["concat"](wo(e), wo(u), Zo(wo(new Oo(await zo([r, n, c]["join"]("!") + "obfiowerehiring" + f)))["concat"](cc)), [Eo]))["map"](_o));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}]);
|
}]);
|
||||||
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.0623ae6a.js.map
|
//# sourceMappingURL=https://ton.local.twitter.com/responsive-web-internal/sourcemaps/client-web/ondemand.s.3fdf738a.js.map
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue