MCPcopy Create free account
hub / github.com/Semporia/Scripts / td_collect_exe

Function td_collect_exe

sign_graphics_validate.js:2007–2049  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2005};
2006
2007function td_collect_exe() {
2008 _fingerprint_step = 8;
2009 var t = td_collect.collect();
2010 td_collect.collectSdk();
2011 var u = "string" === typeof orderId ? orderId : "",
2012 v = "undefined" !== typeof jdfp_pinenp_ext && jdfp_pinenp_ext ? 2 : 1;
2013 u = {
2014 pin: _jdJrTdCommonsObtainPin(v),
2015 oid: u,
2016 p: "https:" == document.location.protocol ? "s" : "h",
2017 fp: risk_jd_local_fingerprint,
2018 ctype: v,
2019 v: "2.7.10.4",
2020 f: "3"
2021 };
2022 try {
2023 u.o = _CurrentPageUrl, u.qs = _url_query_str
2024 } catch (w) { }
2025 _fingerprint_step = 9;
2026 0 >= _JdEid.length && (_JdEid = td_collect.obtainLocal(), 0 < _JdEid.length && (_eidFlag = !0));
2027 u.fc = _JdEid;
2028 try {
2029 u.t = jd_risk_token_id
2030 } catch (w) { }
2031 try {
2032 if ("undefined" != typeof gia_fp_qd_uuid && 0 <= gia_fp_qd_uuid.length) u.qi = gia_fp_qd_uuid;
2033 else {
2034 var x = _JdJrRiskClientStorage.jdtdstorage_cookie("qd_uid");
2035 u.qi = void 0 == x ? "" : x
2036 }
2037 } catch (w) { }
2038 "undefined" != typeof jd_shadow__ && 0 < jd_shadow__.length && (u.jtb = jd_shadow__);
2039 try {
2040 td_collect.deviceInfo && void 0 != td_collect.deviceInfo && null != td_collect.deviceInfo.sdkToken && "" !=
2041 td_collect.deviceInfo.sdkToken ? (u.stk = td_collect.deviceInfo.sdkToken, td_collect.isRpTok = !0) :
2042 td_collect.isRpTok = !1
2043 } catch (w) {
2044 td_collect.isRpTok = !1
2045 }
2046 x = td_collect.tdencrypt(u);
2047 // console.log(u)
2048 return { a: x, d: t }
2049}
2050
2051function _jdJrTdCommonsObtainPin(t) {
2052 var u = "";

Callers 1

getBodyFunction · 0.85

Calls 1

_jdJrTdCommonsObtainPinFunction · 0.85

Tested by

no test coverage detected