var v = function() {
function encode(t) {
var n, r, o, a, i, l, s, u = "",
c = 0;
var _t=y.UCS2toUTF8(t);
for (t = _t; c < t.length;) n = t.charCodeAt(c++),
r = t.charCodeAt(c++),
o = t.charCodeAt(c++),
a = n >> 2,
i = (3 & n) << 4 | r >> 4,
l = (15 & r) << 2 | o >> 6,
s = 63 & o,
isNaN(r) ? l = s = 64 : isNaN(o) && (s = 64),
u = u + e.charAt(a) + e.charAt(i) + e.charAt(l) + e.charAt(s);
return u
}
function decode(t) {
var n, r, o, a, i, l, s, u = "",
c = 0;
for (t = t.replace(/[^A-Za-z0-9\+\/\=]/g, ""); c < t.length;) a = e.indexOf(t.charAt(c++)),
i = e.indexOf(t.charAt(c++)),
l = e.indexOf(t.charAt(c++)),
s = e.indexOf(t.charAt(c++)),
n = a << 2 | i >> 4,
r = (15 & i) << 4 | l >> 2,
o = (3 & l) << 6 | s,
u += String.fromCharCode(n),
64 != l && (u += String.fromCharCode(r)),
64 != s && (u += String.fromCharCode(o));
return u = y.UTF8toUCS2(u)
}
var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
return {
encode: encode,
decode: decode
}
} ();
var y = function() {
function UCS2toUTF8(n) {
return t(encodeURIComponent(n));
}
function UTF8toUCS2(t) {
return decodeURIComponent(n(t));
}
var t =unescape ||function(e) {
for (var t = e.toString(), n = t.length, r = "", o = 0;;) {
if (o >= n) return r;
var a = t.charAt(o);
if ("%" === a) {
var i = t.substr(o + 2, 4),
l = t.substr(o + 1, 2);
o + 6 <= n && "u" === t.charAt(o + 1) && /^[0-9a-fA-F]{4}$/.test(i) ? (a = String.fromCharCode(parseInt(i, 16)), o += 5) : o + 3 <= n && /^[0-9a-fA-F]{2}$/.test(l) && (a = String.fromCharCode(parseInt(l, 16)), o += 2)
}
r += a,
o++
}
return r
},
n = escape ||function(e) {
for (var t, n = e.toString(), r = n.length, o = "", a = 0, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@*_+-./", l = "0123456789ABCDEF";;) {
if (a >= r) return o;
var s = n.charAt(a); - 1 != i.indexOf(s) ? t = s: n.charCodeAt(a) < 256 ? (t = "%u", t += l[s >> 12 & 15], t += l[s >> 8 & 15], t += l[s >> 4 & 15], t += l[s >> 0 & 15]) : (t = "%", t += l[s >> 4 & 15], t += l[s >> 0 & 15]),
o += t,
a++
}
return o
};
return {
UCS2toUTF8: UCS2toUTF8,
UTF8toUCS2: UTF8toUCS2
}
} ();