-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxigua.js
46 lines (42 loc) · 5.7 KB
/
xigua.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
window = global;
window.navigator = {
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.63"
};
document = {
cookie: "",
}
window.tac='i+2gv23t5iants!i#631s"yZl!%s"l"u&kLs#l l#vr*charCodeAtx0[!cb^i$1em7b*0d#>>>s j\uffeel s#0,<8~z|\x7f@QGNCJF[\\^D\\KFYSk~^WSZhg,(lfi~ah`{md"inb|1d<,%Dscafgd"in,8[xtm}nLzNEGQMKAdGG^NTY\x1ckgd"inb<b|1d<g,&TboLr{m,(\x02)!jx-2n&vr$testxg,%@tug{mn ,%vrfkbm[!cb|'
var _n;
!function (e) {
function i(t) {
n = {}
if (n[t])
return n[t].exports;
var r = n[t] = {
i: t,
l: !1,
exports: {}
};
return e[t].call(r.exports, r, r.exports, i),
r.l = !0,
r.exports
}
_n = i
}({
438: function(e, t) {
Function(function(e) {
var a = "function e(e,a,r){return (b[e]||(b[e]=t(\"x,y\",\"return x \"+e+\" y\")))(r,a)}function a(e,a,r){return (k[r]||(k[r]=t(\"x,y\",\"return new x[y](\"+Array(r+1).join(\",x[++y]\").substr(1)+\")\")))(e,a)}function r(e,a,r){var n,t,s={},b=s.d=r?r.d+1:0;for(s[\"$\"+b]=s,t=0;t<b;t++)s[n=\"$\"+t]=r[n];for(t=0,b=s.length=a.length;t<b;t++)s[t]=a[t];return c(e,0,s)}function c(t,b,k){function u(e){v[x++]=e}function f(){return g=t.charCodeAt(b++)-32,t.substring(b,b+=g)}function l(){try{y=c(t,b,k)}catch(e){h=e,y=l}}for(var h,y,d,g,v=[],x=0;;)switch(g=t.charCodeAt(b++)-32){case 1:u(!v[--x]);break;case 4:v[x++]=f();break;case 5:u(function (e){var a=0,r=e.length;return function (){var c=a<r;return c&&u(e[a++]),c}}(v[--x]));break;case 6:y=v[--x],u(v[--x](y));break;case 8:if(g=t.charCodeAt(b++)-32,l(),b+=g,g=t.charCodeAt(b++)-32,y===c)b+=g;else if(y!==l)return y;break;case 9:v[x++]=c;break;case 10:u(s(v[--x]));break;case 11:y=v[--x],u(v[--x]+y);break;case 12:for(y=f(),d=[],g=0;g<y.length;g++)d[g]=y.charCodeAt(g)^g+y.length;u(String.fromCharCode.apply(null,d));break;case 13:y=v[--x],h=delete v[--x][y];break;case 14:v[x++]=t.charCodeAt(b++)-32;break;case 59:u((g=t.charCodeAt(b++)-32)?(y=x,v.slice(x-=g,y)):[]);break;case 61:u(v[--x][t.charCodeAt(b++)-32]);break;case 62:g=v[--x],k[0]=65599*k[0]+k[1].charCodeAt(g)>>>0;break;case 65:h=v[--x],y=v[--x],v[--x][y]=h;break;case 66:u(e(t[b++],v[--x],v[--x]));break;case 67:y=v[--x],d=v[--x],u((g=v[--x]).x===c?r(g.y,y,k):g.apply(d,y));break;case 68:u(e((g=t[b++])<\"<\"?(b--,f()):g+g,v[--x],v[--x]));break;case 70:u(!1);break;case 71:v[x++]=n;break;case 72:v[x++]=+f();break;case 73:u(parseInt(f(),36));break;case 75:if(v[--x]){b++;break}case 74:g=t.charCodeAt(b++)-32<<16>>16,b+=g;break;case 76:u(k[t.charCodeAt(b++)-32]);break;case 77:y=v[--x],u(v[--x][y]);break;case 78:g=t.charCodeAt(b++)-32,u(a(v,x-=g+1,g));break;case 79:g=t.charCodeAt(b++)-32,u(k[\"$\"+g]);break;case 81:h=v[--x],v[--x][f()]=h;break;case 82:u(v[--x][f()]);break;case 83:h=v[--x],k[t.charCodeAt(b++)-32]=h;break;case 84:v[x++]=!0;break;case 85:v[x++]=void 0;break;case 86:u(v[x-1]);break;case 88:h=v[--x],y=v[--x],v[x++]=h,v[x++]=y;break;case 89:u(function (){function e(){return r(e.y,arguments,k)}return e.y=f(),e.x=c,e}());break;case 90:v[x++]=null;break;case 91:v[x++]=h;break;case 93:h=v[--x];break;case 0:return v[--x];default:u((g<<16>>16)-16)}}var n=this,t=n.Function,s=Object.keys||function (e){var a={},r=0;for(var c in e)a[r++]=c;return a.length=r,a},b={},k={};return r\n"
return a
}
(
["v[x++]=", "v[--x]", "t.charCodeAt(b++)-32", "function ", "return ", "))", "++", ".substr", "var ", ".length", "()", ",b+=", ";break;case ", ";break}"]
))()(
'gr$Daten \u0418b/s!l y\u0773i$1ek1s$yA0s"l"l!r&lengthb<k+l"^l"1+s"j\x05l s%ugr#tacd\',typeof$)undefinedd#===k$l%s#ugr#tacd\',typeof$)undefinedd#!==vk\'}gr#tack4)zgr#tac$! +0o![#cj?o ]!l$b%s"o ]!l"l$b*b^0d#>>>s!0s&y\u0139g,(lfi~ah`{mv,-n|jqewVxp{rvmmx,&eff\x7fkx[!cs"l".Pq%widthl"@q&heightl"vr*getContextx$"2d[!cs#l#,*;?|u.|uc{uq$fontl#vr(fillTextx$$\u9f98\u0e11\u0e20\uacbd2<[#c}l#2q*shadowBlurl#1q-shadowOffsetXl#$$limeq+shadowColorl#vr#arcx88802[%c}l#vr&strokex[ c}l"v,)}eOmyoZB]mx[ cs!0s$l$Pb<k7l l!r&lengthb%^l$1+s$j\x02l s\'l#z0l!$ +["cs(y\xb1l !v!kC}gr$JSONvr)stringifyxl [!c$"{}d#===k#$ gr&Objectvr$keysxl [!cvr$sortx[ cs!$ s"0s#l#l!r&lengthb<kEl"l!l#m[!$!=+l l!l#mm+$!&++s"l#1+s#j\uffebl" s)y\xbal $!=+s!gr(documentr&cookievr%splitx$!;[!cs"0s#l#l"r&lengthb<kxl"l#mvr$trimx[ cs$l$vr\'indexOfxl![!c0d=kGl$vr)substringxl!r&lengthl$r&length["c l#1+s#j\uffb8$ s*y\xbfl v!k#}$ s!l!vr\'replacexgr&RegExp$=(http:\\/\\/|https:\\/\\/)?[^\\/]*$ n"$ ["cs!l!vr\'indexOfx$!?[!c/d#!==kEl!vr&substrx0l!vr\'indexOfx$!?[!c["cj"l!s!l!k$l!j#$!/s!l! s+y\xecl v!k#}$ s!l!vr%matchxgr&RegExp$.[?](\\w+=.*&?)*$ n"[!cs"l"k4l"] vr&substrx1[!cj"$ s!l!k3l!vr%splitx$!&[!cj!zs#gr&Objectn s$l#kj0s%l%l#r&lengthb<kWl$l#l%mvr%splitx$!=[!c] l#l%mvr%splitx$!=[!c]!al%1+s%j\uffd9l$ s,$ s-ul d\',typeof$&objectd#===k\u0129l r$bodyvkI}gr$JSONvr)stringifyxl r$body[!c$"{}d#!==kY$*body_hash=l%z0gr$JSONvr)stringifyxl r$body[!c["c+$!&+s-l,l r#url&s.l r%querykCgr&Objectvr&assignxl.l r%query["cj"l.s.l-l)l.&+s-l-$)pathname=+l+l r#url&+$!&+s-l-$)tt_webid=+l*$(tt_webid&+$&&uuid=+l*$$uuid&+s-j$l s-(0l\'i\'1ps9wxb&s.) &{s//s.gr&Stringr,fromCharCodes/0s0yWl ._b&s o!]/l l Jb<k$.aj;l .Tb<k$.gj/l .^b<k&i"-4j!\x1f+& s1yPo!]1s!l!l Hd>&l!l Bd>&+l!l <d>&+l!l 6d>&+l!l &+ s2y=o!o!]5q"19o!l q"16o!]2l 2d>& s4{s3yMo!o!]6q"19o!]0Ld<l 4d#>>>b|s!o!l q"16o!]2l!& s5yIo!o!]4q"19o!]2o!]0Jd<l 6d#>>>b|&o!]1l &+ s6l3l!&l3l!i\'1z141z4b/0d#>>>&+l3l.l!b^&+l3l#zl(g,)gk}ejo{\x7fcm,)|yn~Lij~em["cl$b%@d<l#zl(l-$ +["cl$b%b|&+l3l&8d<@b|l!b^&+l2l"&+ q$sign ', [Object.defineProperty(t, "__esModule", {value: !0})]
)
},
});
function get_signature(url){
var url_param = {url: url, query: {}}
var t = _n(438)
return t.sign(url_param)
}