diff --git a/crates/swc_ecma_codegen/src/lib.rs b/crates/swc_ecma_codegen/src/lib.rs index 545ec2e3460..14447057fe0 100644 --- a/crates/swc_ecma_codegen/src/lib.rs +++ b/crates/swc_ecma_codegen/src/lib.rs @@ -3652,7 +3652,11 @@ fn minify_number(num: f64) -> String { let mut original = printed.clone(); if num.fract() == 0.0 && (i64::MIN as f64) <= num && num <= (i64::MAX as f64) { - let hex = format!("{:#x}", num as i64); + let hex = format!( + "{}{:#x}", + if num.is_sign_negative() { "-" } else { "" }, + num as i64 + ); if hex.len() < printed.len() { printed = hex; diff --git a/crates/swc_ecma_codegen/tests/fixture/issue-5912/input.js b/crates/swc_ecma_codegen/tests/fixture/issue-5912/input.js new file mode 100644 index 00000000000..eb1029cae97 --- /dev/null +++ b/crates/swc_ecma_codegen/tests/fixture/issue-5912/input.js @@ -0,0 +1 @@ +function te(a) { var b, c, d, e, f; if (isNaN(a)) { return Qe(), Pe } if (a < -9223372036854775808) { return Qe(), Ne } if (a >= 9223372036854775807) { return Qe(), Me } e = false; if (a < 0) { e = true; a = -a } d = 0; if (a >= 17592186044416) { d = Bc(a / 17592186044416); a -= d * 17592186044416 } c = 0; if (a >= 4194304) { c = Bc(a / 4194304); a -= c * 4194304 } b = Bc(a); f = de(b, c, d); e && je(f); return f } diff --git a/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.js b/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.js new file mode 100644 index 00000000000..98f84042d50 --- /dev/null +++ b/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.js @@ -0,0 +1,31 @@ +function te(a) { + var b, c, d, e, f; + if (isNaN(a)) { + return Qe(), Pe; + } + if (a < -9223372036854775808) { + return Qe(), Ne; + } + if (a >= 9223372036854775807) { + return Qe(), Me; + } + e = false; + if (a < 0) { + e = true; + a = -a; + } + d = 0; + if (a >= 17592186044416) { + d = Bc(a / 17592186044416); + a -= d * 17592186044416; + } + c = 0; + if (a >= 4194304) { + c = Bc(a / 4194304); + a -= c * 4194304; + } + b = Bc(a); + f = de(b, c, d); + e && je(f); + return f; +} diff --git a/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.min.js b/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.min.js new file mode 100644 index 00000000000..04e964b5fa5 --- /dev/null +++ b/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.min.js @@ -0,0 +1 @@ +function te(a){var b,c,d,e,f;if(isNaN(a)){return Qe(),Pe}if(a<-0x7fffffffffffffff){return Qe(),Ne}if(a>=0x7fffffffffffffff){return Qe(),Me}e=false;if(a<0){e=true;a=-a}d=0;if(a>=17592186044416){d=Bc(a/17592186044416);a-=d*17592186044416}c=0;if(a>=4194304){c=Bc(a/4194304);a-=c*4194304}b=Bc(a);f=de(b,c,d);e&&je(f);return f} diff --git a/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/input.js b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/input.js new file mode 100644 index 00000000000..7ef62c6f840 --- /dev/null +++ b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/input.js @@ -0,0 +1,593 @@ + +(function (exports) { + + if (typeof document === 'undefined') + var document = {}; + + if (typeof window === 'undefined') + var window = {}; + if (!window.document) + window.document = document; + + if (typeof navigator === 'undefined') + var navigator = {}; + if (!navigator.userAgent) + navigator.userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22'; + + function gwtapp() { }; + + (function () { + var $gwt_version = "2.4.0"; var $wnd = window; var $doc = $wnd.document; var $moduleName, $moduleBase; var $strongName = '4533928AF3A2228268FD8F10BB191446'; var $stats = $wnd.__gwtStatsEvent ? function (a) { return $wnd.__gwtStatsEvent(a); } : null; var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null; $stats && $stats({ moduleName: 'gwtapp', sessionId: $sessionId, subSystem: 'startup', evtGroup: 'moduleStartup', millis: (new Date()).getTime(), type: 'moduleEvalStart' }); function H() { } + function P() { } + function O() { } + function N() { } + function M() { } + function rr() { } + function gb() { } + function ub() { } + function pb() { } + function Fb() { } + function Ab() { } + function Lb() { } + function Tb() { } + function Kb() { } + function Zb() { } + function _b() { } + function fc() { } + function ic() { } + function hc() { } + function Se() { } + function Re() { } + function Ze() { } + function Ye() { } + function Xe() { } + function Ah() { } + function Hh() { } + function Gh() { } + function Ej() { } + function Mj() { } + function Uj() { } + function _j() { } + function gk() { } + function mk() { } + function pk() { } + function wk() { } + function vk() { } + function Dk() { } + function Ik() { } + function Qk() { } + function Uk() { } + function il() { } + function ol() { } + function rl() { } + function Tl() { } + function Xl() { } + function km() { } + function om() { } + function Nn() { } + function Np() { } + function ep() { } + function dp() { } + function yp() { } + function yo() { } + function Zo() { } + function xp() { } + function Hp() { } + function Mp() { } + function Xp() { } + function bq() { } + function jq() { } + function qq() { } + function Dq() { } + function Hq() { } + function Nq() { } + function Qq() { } + function Zq() { } + function Yq() { } + function Yj() { Wj() } + function Ij() { Gj() } + function Eh() { Ch() } + function Ek() { Cb() } + function qk() { Cb() } + function Rk() { Cb() } + function Vk() { Cb() } + function jl() { Cb() } + function Oq() { Cb() } + function kk() { ik() } + function fm() { Yl(this) } + function gm() { Yl(this) } + function mg(a) { Hf(this, a) } + function mq(a) { this.c = a } + function bk(a) { this.b = a } + function Cp(a) { this.b = a } + function Sp(a) { this.b = a } + function V(a) { Cb(); this.f = a } + function nk(a) { V.call(this, a) } + function rk(a) { V.call(this, a) } + function Sk(a) { V.call(this, a) } + function Wk(a) { V.call(this, a) } + function kl(a) { V.call(this, a) } + function Yl(a) { a.b = new fc } + function Ul() { this.b = new fc } + function rb() { rb = rr; qb = new ub } + function lr() { lr = rr; kr = new gr } + function jr(a, b) { return b } + function ac(a, b) { a.b += b } + function bc(a, b) { a.b += b } + function cc(a, b) { a.b += b } + function dc(a, b) { a.b += b } + function or(a, b) { lr(); a[Ls] = b } + function nr(a, b) { lr(); ar(a, b) } + function _q(a, b, c) { rp(a.b, b, c) } + function Jg() { rf(); Hf(this, Tr) } + function pl(a) { Sk.call(this, a) } + function Hk(a) { return isNaN(a) } + function Jj(a) { return new Oi(a) } + function Zj(a) { return new Oj(a) } + function dl(a) { return a < 0 ? -a : a } + function hl(a, b) { return a < b ? a : b } + function gl(a, b) { return a > b ? a : b } + function xe(a, b) { return !we(a, b) } + function ye(a, b) { return !ve(a, b) } + function ir(a, b) { return new b(a) } + function Oj(a) { this.b = new Yn(a) } + function Nj() { this.b = (Un(), Rn) } + function ak() { this.b = (Qo(), Fo) } + function Wo() { Qo(); return zo } + function mr(a, b) { lr(); _q(kr, a, b) } + function br(a, b) { a[b] || (a[b] = {}) } + function kq(a) { return a.b < a.c.c } + function Vn(a) { return a.b << 3 | a.c.c } + function Mi(a) { return a.f * a.b[0] } + function Je(a) { return a.l | a.m << 22 } + function op(b, a) { return b.f[Qr + a] } + function Yp(a, b) { this.c = a; this.b = b } + function Ro(a, b) { this.b = a; this.c = b } + function Iq(a, b) { this.b = a; this.c = b } + function bm(a, b) { ac(a.b, b); return a } + function cm(a, b) { bc(a.b, b); return a } + function dm(a, b) { cc(a.b, b); return a } + function pr(a) { lr(); return er(kr, a) } + function qr(a) { lr(); return fr(kr, a) } + function Oi(a) { Oh(); oi.call(this, a) } + function Ni() { Oh(); oi.call(this, Tr) } + function cg(a) { dg.call(this, a, 0) } + function Kg(a) { mg.call(this, a.tS()) } + function el(a) { return Math.floor(a) } + function yl(b, a) { return b.indexOf(a) } + function qp(b, a) { return Qr + a in b.f } + function uc(a, b) { return a.cM && a.cM[b] } + function re(a, b) { return ee(a, b, false) } + function bn(a, b) { return cn(a.b, a.e, b) } + function ce(a) { return de(a.l, a.m, a.h) } + function Ac(a) { return a == null ? null : a } + function sf(a) { return a.r() < 0 ? Mf(a) : a } + function ob(a) { return a.$H || (a.$H = ++jb) } + function zc(a) { return a.tM == rr || tc(a, 1) } + function tc(a, b) { return a.cM && !!a.cM[b] } + function vl(b, a) { return b.charCodeAt(a) } + function hm(a) { Yl(this); cc(this.b, a) } + function oi(a) { Oh(); pi.call(this, a, 10) } + function Aq(a, b, c, d) { a.splice(b, c, d) } + function dq(a, b) { (a < 0 || a >= b) && hq(a, b) } + function xc(a, b) { return a != null && tc(a, b) } + function db(a) { return yc(a) ? Db(wc(a)) : Lr } + function Z(a) { return yc(a) ? $(wc(a)) : a + Lr } + function Fl(a) { return lc(Vd, { 6: 1 }, 1, a, 0) } + function vq() { this.b = lc(Td, { 6: 1 }, 0, 0, 0) } + function Pl() { Pl = rr; Ml = {}; Ol = {} } + function Yo() { Yo = rr; Xo = Jk((Qo(), zo)) } + function ik() { if (!hk) { hk = true; jk() } } + function Gj() { if (!Fj) { Fj = true; Hj() } } + function Wj() { if (!Vj) { Vj = true; new kk; Xj() } } + function gr() { this.b = new Fq; new Fq; new Fq } + function X(a) { Cb(); this.c = a; Bb(new Tb, this) } + function Pi(a) { Oh(); oi.call(this, Hm(a, 0)) } + function gg(a) { hg.call(this, a, 0, a.length) } + function fg(a, b) { cg.call(this, a); If(this, b) } + function ze(a, b) { ee(a, b, true); return ae } + function tq(a, b) { dq(b, a.c); return a.b[b] } + function rq(a, b) { nc(a.b, a.c++, b); return true } + function _l(a, b, c) { dc(a.b, Ll(b, 0, c)); return a } + function kb(a, b, c) { return a.apply(b, c); var d } + function em(a, b, c) { return ec(a.b, b, b, c), a } + function Af(a, b, c) { return yf(a, b, Bc(a.f), c) } + function xf(a, b, c) { return yf(a, b, Bc(a.f), Uo(c)) } + function Bl(c, a, b) { return c.substr(a, b - a) } + function Al(b, a) { return b.substr(a, b.length - a) } + function fl(a) { return Math.log(a) * Math.LOG10E } + function cb(a) { return a == null ? null : a.name } + function $(a) { return a == null ? null : a.message } + function yc(a) { return a != null && a.tM != rr && !tc(a, 1) } + function ec(a, b, c, d) { a.b = Bl(a.b, 0, b) + d + Al(a.b, c) } + function eg(a, b, c) { dg.call(this, a, b); If(this, c) } + function pg(a, b) { this.g = a; this.f = b; this.b = sg(a) } + function si(a, b, c) { Oh(); this.f = a; this.e = b; this.b = c } + function sl(a) { this.b = 'Unknown'; this.d = a; this.c = -1 } + function yk(a, b) { var c; c = new wk; c.d = a + b; return c } + function dr(a, b) { var c; c = mp(a.b, b); return wc(c) } + function fb(a) { var b; return b = a, zc(b) ? b.hC() : ob(b) } + function To(a) { Qo(); return Ok((Yo(), Xo), a) } + function qe(a, b) { return de(a.l & b.l, a.m & b.m, a.h & b.h) } + function De(a, b) { return de(a.l | b.l, a.m | b.m, a.h | b.h) } + function Le(a, b) { return de(a.l ^ b.l, a.m ^ b.m, a.h ^ b.h) } + function Bm(a, b) { return (a.b[~~b >> 5] & 1 << (b & 31)) != 0 } + function Cq(a, b) { var c; for (c = 0; c < b; ++c) { a[c] = false } } + function Lf(a, b, c) { var d; d = Kf(a, b); If(d, c); return d } + function zb(a, b) { a.length >= b && a.splice(0, b); return a } + function wb(a, b) { !a && (a = []); a[a.length] = b; return a } + function Ph(a, b) { if (mi(a, b)) { return tm(a, b) } return a } + function ii(a, b) { if (!mi(a, b)) { return tm(a, b) } return a } + function _d(a) { if (xc(a, 15)) { return a } return new X(a) } + function Eb() { try { null.a() } catch (a) { return a } } + function Ak(a) { var b; b = new wk; b.d = Lr + a; b.c = 1; return b } + function eb(a, b) { var c; return c = a, zc(c) ? c.eQ(b) : c === b } + function se(a, b) { return a.l == b.l && a.m == b.m && a.h == b.h } + function Ce(a, b) { return a.l != b.l || a.m != b.m || a.h != b.h } + function de(a, b, c) { return _ = new Se, _.l = a, _.m = b, _.h = c, _ } + function rp(a, b, c) { return !b ? tp(a, c) : sp(a, b, c, ~~ob(b)) } + function Eq(a, b) { return Ac(a) === Ac(b) || a != null && eb(a, b) } + function Xq(a, b) { return Ac(a) === Ac(b) || a != null && eb(a, b) } + function hq(a, b) { throw new Wk('Index: ' + a + ', Size: ' + b) } + function Xh(a, b) { if (b < 0) { throw new nk(ts) } return tm(a, b) } + function dg(a, b) { if (!a) { throw new jl } this.f = b; Tf(this, a) } + function og(a, b) { if (!a) { throw new jl } this.f = b; Tf(this, a) } + function ig(a, b, c, d) { hg.call(this, a, b, c); If(this, d) } + function jg(a, b) { hg.call(this, a, 0, a.length); If(this, b) } + function ng(a, b) { hg.call(this, Cl(a), 0, a.length); If(this, b) } + function lm(a) { V.call(this, 'String index out of range: ' + a) } + function Zl(a, b) { dc(a.b, String.fromCharCode(b)); return a } + function pn(a, b) { tn(a.b, a.b, a.e, b.b, b.e); Sh(a); a.c = -2 } + function Tf(a, b) { a.d = b; a.b = b.ab(); a.b < 54 && (a.g = Ie(ai(b))) } + function qc() { qc = rr; oc = []; pc = []; rc(new ic, oc, pc) } + function Ch() { if (!Bh) { Bh = true; new Yj; new Ij; Dh() } } + function Sl() { if (Nl == 256) { Ml = Ol; Ol = {}; Nl = 0 } ++Nl } + function cr(a) { var b; b = a[Ls]; if (!b) { b = []; a[Ls] = b } return b } + function zk(a, b, c) { var d; d = new wk; d.d = a + b; d.c = c ? 8 : 0; return d } + function xk(a, b, c) { var d; d = new wk; d.d = a + b; d.c = 4; d.b = c; return d } + function lc(a, b, c, d, e) { var f; f = jc(e, d); mc(a, b, c, f); return f } + function Ll(a, b, c) { var d; d = b + c; El(a.length, b, d); return Gl(a, b, d) } + function mo(a, b) { go(); return b < fo.length ? lo(a, fo[b]) : ei(a, po(b)) } + function me(a) { return a.l + a.m * 4194304 + a.h * 17592186044416 } + function vc(a, b) { if (a != null && !uc(a, b)) { throw new Ek } return a } + function lq(a) { if (a.b >= a.c.c) { throw new Oq } return tq(a.c, a.b++) } + function wl(a, b) { if (!xc(b, 1)) { return false } return String(a) == b } + function lb() { if (ib++ == 0) { sb((rb(), qb)); return true } return false } + function fi(a) { if (a.f < 0) { throw new nk('start < 0: ' + a) } return xo(a) } + function pm() { V.call(this, 'Add not supported on this collection') } + function Fq() { this.b = []; this.f = {}; this.d = false; this.c = null; this.e = 0 } + function qi(a, b) { Oh(); this.f = a; this.e = 1; this.b = mc(Od, { 6: 1 }, -1, [b]) } + function sc(a, b, c) { qc(); for (var d = 0, e = b.length; d < e; ++d) { a[b[d]] = c[d] } } + function xl(a, b, c, d) { var e; for (e = 0; e < b; ++e) { c[d++] = a.charCodeAt(e) } } + function Wh(a, b) { var c; for (c = a.e - 1; c >= 0 && a.b[c] == b[c]; --c) { } return c < 0 } + function tp(a, b) { var c; c = a.c; a.c = b; if (!a.d) { a.d = true; ++a.e } return c } + function $l(a, b) { dc(a.b, String.fromCharCode.apply(null, b)); return a } + function am(a, b, c, d) { b == null && (b = Mr); bc(a.b, b.substr(c, d - c)); return a } + function sn(a, b, c, d) { var e; e = lc(Od, { 6: 1 }, -1, b, 1); tn(e, a, b, c, d); return e } + function mc(a, b, c, d) { qc(); sc(d, oc, pc); d.aC = a; d.cM = b; d.qI = c; return d } + function uq(a, b, c) { for (; c < a.c; ++c) { if (Xq(b, a.b[c])) { return c } } return -1 } + function sq(a, b, c) { (b < 0 || b > a.c) && hq(b, a.c); Aq(a.b, b, 0, c); ++a.c } + function nn(a, b) { var c; c = on(a.b, a.e, b); if (c == 1) { a.b[a.e] = 1; ++a.e } a.c = -2 } + function Sh(a) { while (a.e > 0 && a.b[--a.e] == 0) { } a.b[a.e++] == 0 && (a.f = 0) } + function Gg(a) { if (we(a, ur) && xe(a, xr)) { return df[Je(a)] } return new qg(a, 0) } + function ji(a, b) { if (b == 0 || a.f == 0) { return a } return b > 0 ? wm(a, b) : zm(a, -b) } + function li(a, b) { if (b == 0 || a.f == 0) { return a } return b > 0 ? zm(a, b) : wm(a, -b) } + function $h(a) { var b; if (a.f == 0) { return -1 } b = Zh(a); return (b << 5) + _k(a.b[b]) } + function bl(a) { var b; b = Je(a); return b != 0 ? _k(b) : _k(Je(Fe(a, 32))) + 32 } + function Sb(a, b) { var c; c = Mb(a, b); return c.length == 0 ? (new Fb).o(b) : zb(c, 1) } + function Gl(a, b, c) { a = a.slice(b, c); return String.fromCharCode.apply(null, a) } + function rc(a, b, c) { var d = 0, e; for (var f in a) { if (e = a[f]) { b[d] = f; c[d] = e; ++d } } } + function up(e, a, b) { var c, d = e.f; a = Qr + a; a in d ? (c = d[a]) : ++e.e; d[a] = b; return c } + function gn(a, b, c, d) { var e; e = lc(Od, { 6: 1 }, -1, b + 1, 1); hn(e, a, b, c, d); return e } + function Cl(a) { var b, c; c = a.length; b = lc(Md, { 6: 1 }, -1, c, 1); xl(a, c, b, 0); return b } + function _e(a) { var b; b = bf(a); if (isNaN(b)) { throw new pl(Zr + a + $r) } return b } + function Fg(a) { if (!isFinite(a) || isNaN(a)) { throw new pl(hs) } return new mg(Lr + a) } + function wc(a) { if (a != null && (a.tM == rr || tc(a, 1))) { throw new Ek } return a } + function Qf(a, b) { var c; c = new og((!a.d && (a.d = Li(a.g)), a.d), a.f); If(c, b); return c } + function bg(a, b) { var c; c = new Pi(Zf(a)); if (sm(c) < b) { return ai(c) } throw new nk(cs) } + function ei(a, b) { if (b.f == 0) { return Nh } if (a.f == 0) { return Nh } return go(), ho(a, b) } + function bi(a, b) { var c; if (b.f <= 0) { throw new nk(us) } c = hi(a, b); return c.f < 0 ? fn(c, b) : c } + function Ip(a) { var b; b = new vq; a.d && rq(b, new Sp(a)); kp(a, b); jp(a, b); this.b = new mq(b) } + function lp(a, b) { return b == null ? a.d : xc(b, 1) ? qp(a, vc(b, 1)) : pp(a, b, ~~fb(b)) } + function mp(a, b) { return b == null ? a.c : xc(b, 1) ? op(a, vc(b, 1)) : np(a, b, ~~fb(b)) } + function Bc(a) { return ~~Math.max(Math.min(a, 2147483647), -2147483648) } + function qg(a, b) { this.f = b; this.b = tg(a); this.b < 54 ? (this.g = Ie(a)) : (this.d = Ki(a)) } + function kg(a) { if (!isFinite(a) || isNaN(a)) { throw new pl(hs) } Hf(this, a.toPrecision(20)) } + function mb(b) { return function () { try { return nb(b, this, arguments) } catch (a) { throw a } } } + function nb(a, b, c) { var d; d = lb(); try { return kb(a, b, c) } finally { d && tb((rb(), qb)); --ib } } + function Ok(a, b) { var c; c = a[Qr + b]; if (c) { return c } if (b == null) { throw new jl } throw new Rk } + function sb(a) { var b, c; if (a.b) { c = null; do { b = a.b; a.b = null; c = xb(b, c) } while (a.b); a.b = c } } + function tb(a) { var b, c; if (a.c) { c = null; do { b = a.c; a.c = null; c = xb(b, c) } while (a.c); a.c = c } } + function _k(a) { var b, c; if (a == 0) { return 32 } else { c = 0; for (b = 1; (b & a) == 0; b <<= 1) { ++c } return c } } + function Jk(a) { var b, c, d, e; b = {}; for (d = 0, e = a.length; d < e; ++d) { c = a[d]; b[Qr + c.b] = c } return b } + function Rb(a) { var b; b = zb(Sb(a, Eb()), 3); b.length == 0 && (b = zb((new Fb).k(), 1)); return b } + function Wn(a) { var b; b = new gm; $l(b, Sn); bm(b, a.b); b.b.b += ys; $l(b, Tn); cm(b, a.c); return b.b.b } + function Rh(a) { var b; b = lc(Od, { 6: 1 }, -1, a.e, 1); nm(a.b, 0, b, 0, a.e); return new si(a.f, a.e, b) } + function Bf(a, b) { var c; c = lc(Wd, { 6: 1 }, 16, 2, 0); nc(c, 0, Df(a, b)); nc(c, 1, Xf(a, Kf(c[0], b))); return c } + function Cf(a, b, c) { var d; d = lc(Wd, { 6: 1 }, 16, 2, 0); nc(d, 0, Ef(a, b, c)); nc(d, 1, Xf(a, Kf(d[0], b))); return d } + function $o(a, b) { var c; while (a.Pb()) { c = a.Qb(); if (b == null ? c == null : eb(b, c)) { return a } } return null } + function Zh(a) { var b; if (a.c == -2) { if (a.f == 0) { b = -1 } else { for (b = 0; a.b[b] == 0; ++b) { } } a.c = b } return a.c } + function bb(a) { var b; return a == null ? Mr : yc(a) ? cb(wc(a)) : xc(a, 1) ? Nr : (b = a, zc(b) ? b.gC() : Gc).d } + function Uf(a) { if (a.b < 54) { return a.g < 0 ? -1 : a.g > 0 ? 1 : 0 } return (!a.d && (a.d = Li(a.g)), a.d).r() } + function Mf(a) { if (a.b < 54) { return new pg(-a.g, a.f) } return new og((!a.d && (a.d = Li(a.g)), a.d).cb(), a.f) } + function El(a, b, c) { if (b < 0) { throw new lm(b) } if (c < b) { throw new lm(c - b) } if (c > a) { throw new lm(c) } } + function lg(a, b) { if (!isFinite(a) || isNaN(a)) { throw new pl(hs) } Hf(this, a.toPrecision(20)); If(this, b) } + function Gk(a, b) { if (isNaN(a)) { return isNaN(b) ? 0 : 1 } else if (isNaN(b)) { return -1 } return a < b ? -1 : a > b ? 1 : 0 } + function uk(a, b) { if (b < 2 || b > 36) { return 0 } if (a < 0 || a >= b) { return 0 } return a < 10 ? 48 + a & 65535 : 97 + a - 10 & 65535 } + function er(a, b) { var c; if (!b) { return null } c = b[Ls]; if (c) { return c } c = ir(b, dr(a, b.gC())); b[Ls] = c; return c } + function ke(a) { var b, c; c = $k(a.h); if (c == 32) { b = $k(a.m); return b == 32 ? $k(a.l) + 32 : b + 20 - 10 } else { return c - 12 } } + function be(a) { var b, c, d; b = a & 4194303; c = ~~a >> 22 & 4194303; d = a < 0 ? 1048575 : 0; return de(b, c, d) } + function Qe() { Qe = rr; Me = de(4194303, 4194303, 524287); Ne = de(0, 0, 524288); Oe = ue(1); ue(2); Pe = ue(0) } + function mn(a, b) { hn(a.b, a.b, a.e, b.b, b.e); a.e = hl(gl(a.e, b.e) + 1, a.b.length); Sh(a); a.c = -2 } + function um(a, b) { var c; c = ~~b >> 5; a.e += c + ($k(a.b[a.e - 1]) - (b & 31) >= 0 ? 0 : 1); xm(a.b, a.b, c, b & 31); Sh(a); a.c = -2 } + function Tm(a, b) { var c, d; c = ~~b >> 5; if (a.e < c || a.ab() <= b) { return } d = 32 - (b & 31); a.e = c + 1; a.b[c] &= d < 32 ? ~~-1 >>> d : 0; Sh(a) } + function ai(a) { var b; b = a.e > 1 ? De(Ee(ue(a.b[1]), 32), qe(ue(a.b[0]), yr)) : qe(ue(a.b[0]), yr); return Ae(ue(a.f), b) } + function jn(a, b, c) { var d; for (d = c - 1; d >= 0 && a[d] == b[d]; --d) { } return d < 0 ? 0 : xe(qe(ue(a[d]), yr), qe(ue(b[d]), yr)) ? -1 : 1 } + function ym(a, b, c) { var d, e, f; d = 0; for (e = 0; e < c; ++e) { f = b[e]; a[e] = f << 1 | d; d = ~~f >>> 31 } d != 0 && (a[c] = d) } + function ge(a, b, c, d, e) { var f; f = Fe(a, b); c && je(f); if (e) { a = ie(a, b); d ? (ae = Be(a)) : (ae = de(a.l, a.m, a.h)) } return f } + function gwtOnLoad(b, c, d, e) { $moduleName = c; $moduleBase = d; if (b) try { Jr($d)() } catch (a) { b(c) } else { Jr($d)() } } + function fr(a, b) { var c, d, e; if (b == null) { return null } d = cr(b); e = d; for (c = 0; c < b.length; ++c) { e[c] = er(a, b[c]) } return d } + function Mb(a, b) { var c, d, e; e = b && b.stack ? b.stack.split('\n') : []; for (c = 0, d = e.length; c < d; ++c) { e[c] = a.n(e[c]) } return e } + function Um(a, b) { var c, d; d = ~~b >> 5 == a.e - 1 && a.b[a.e - 1] == 1 << (b & 31); if (d) { for (c = 0; d && c < a.e - 1; ++c) { d = a.b[c] == 0 } } return d } + function _h(a) { var b; if (a.d != 0) { return a.d } for (b = 0; b < a.b.length; ++b) { a.d = a.d * 33 + (a.b[b] & -1) } a.d = a.d * a.f; return a.d } + function Hg(a, b) { if (b == 0) { return Gg(a) } if (se(a, ur) && b >= 0 && b < pf.length) { return pf[b] } return new qg(a, b) } + function Ig(a) { if (a == Bc(a)) { return Hg(ur, Bc(a)) } if (a >= 0) { return new qg(ur, 2147483647) } return new qg(ur, -2147483648) } + function Li(a) { Oh(); if (a < 0) { if (a != -1) { return new ui(-1, -a) } return Ih } else return a <= 10 ? Kh[Bc(a)] : new ui(1, a) } + function zg(a) { var b = qf; !b && (b = qf = /^[+-]?\d*$/i); if (b.test(a)) { return parseInt(a, 10) } else { return Number.NaN } } + function kp(e, a) { var b = e.f; for (var c in b) { if (c.charCodeAt(0) == 58) { var d = new Yp(e, c.substring(1)); a.Kb(d) } } } + function Rl(a) { Pl(); var b = Qr + a; var c = Ol[b]; if (c != null) { return c } c = Ml[b]; c == null && (c = Ql(a)); Sl(); return Ol[b] = c } + function Be(a) { var b, c, d; b = ~a.l + 1 & 4194303; c = ~a.m + (b == 0 ? 1 : 0) & 4194303; d = ~a.h + (b == 0 && c == 0 ? 1 : 0) & 1048575; return de(b, c, d) } + function je(a) { var b, c, d; b = ~a.l + 1 & 4194303; c = ~a.m + (b == 0 ? 1 : 0) & 4194303; d = ~a.h + (b == 0 && c == 0 ? 1 : 0) & 1048575; a.l = b; a.m = c; a.h = d } + function Q(a) { var b, c, d; c = lc(Ud, { 6: 1 }, 13, a.length, 0); for (d = 0, b = a.length; d < b; ++d) { if (!a[d]) { throw new jl } c[d] = a[d] } } + function Cb() { var a, b, c, d; c = Rb(new Tb); d = lc(Ud, { 6: 1 }, 13, c.length, 0); for (a = 0, b = d.length; a < b; ++a) { d[a] = new sl(c[a]) } Q(d) } + function fk() { var a, b, c; c = (Qo(), Qo(), zo); b = lc(Sd, { 6: 1 }, 5, c.length, 0); for (a = 0; a < c.length; ++a)b[a] = new bk(c[a]); return b } + function ki(a) { var b, c, d, e; return a.f == 0 ? a : (e = a.e, c = e + 1, b = lc(Od, { 6: 1 }, -1, c, 1), ym(b, a.b, e), d = new si(a.f, c, b), Sh(d), d) } + function Ym(a, b, c, d) { var e, f; e = c.e; f = lc(Od, { 6: 1 }, -1, (e << 1) + 1, 1); io(a.b, hl(e, a.e), b.b, hl(e, b.e), f); Zm(f, c, d); return Pm(f, c) } + function Vh(a, b) { var c; if (a === b) { return true } if (xc(b, 17)) { c = vc(b, 17); return a.f == c.f && a.e == c.e && Wh(a, c.b) } return false } + function Zk(a) { var b; if (a < 0) { return -2147483648 } else if (a == 0) { return 0 } else { for (b = 1073741824; (b & a) == 0; b >>= 1) { } return b } } + function sm(a) { var b, c, d; if (a.f == 0) { return 0 } b = a.e << 5; c = a.b[a.e - 1]; if (a.f < 0) { d = Zh(a); d == a.e - 1 && (c = ~~(c - 1)) } b -= $k(c); return b } + function io(a, b, c, d, e) { go(); if (b == 0 || d == 0) { return } b == 1 ? (e[d] = ko(e, c, d, a[0])) : d == 1 ? (e[b] = ko(e, a, b, c[0])) : jo(a, c, e, b, d) } + function en(a, b, c, d, e) { var f, g; g = a; for (f = c.ab() - 1; f >= 0; --f) { g = Ym(g, g, d, e); (c.b[~~f >> 5] & 1 << (f & 31)) != 0 && (g = Ym(g, b, d, e)) } return g } + function on(a, b, c) { var d, e; d = qe(ue(c), yr); for (e = 0; Ce(d, ur) && e < b; ++e) { d = pe(d, qe(ue(a[e]), yr)); a[e] = Je(d); d = Fe(d, 32) } return Je(d) } + function hg(b, c, d) { var a, e; try { Hf(this, Ll(b, c, d)) } catch (a) { a = _d(a); if (xc(a, 14)) { e = a; throw new pl(e.f) } else throw a } } + function Dg(a) { if (a < -2147483648) { throw new nk('Overflow') } else if (a > 2147483647) { throw new nk('Underflow') } else { return Bc(a) } } + function Xn(a, b) { Un(); if (a < 0) { throw new Sk('Digits < 0') } if (!b) { throw new kl('null RoundingMode') } this.b = a; this.c = b } + function Ki(a) { Oh(); if (xe(a, ur)) { if (Ce(a, wr)) { return new ti(-1, Be(a)) } return Ih } else return ye(a, tr) ? Kh[Je(a)] : new ti(1, a) } + function tg(a) { var b; xe(a, ur) && (a = de(~a.l & 4194303, ~a.m & 4194303, ~a.h & 1048575)); return 64 - (b = Je(Fe(a, 32)), b != 0 ? $k(b) : $k(Je(a)) + 32) } + function pe(a, b) { var c, d, e; c = a.l + b.l; d = a.m + b.m + (~~c >> 22); e = a.h + b.h + (~~d >> 22); return de(c & 4194303, d & 4194303, e & 1048575) } + function He(a, b) { var c, d, e; c = a.l - b.l; d = a.m - b.m + (~~c >> 22); e = a.h - b.h + (~~d >> 22); return de(c & 4194303, d & 4194303, e & 1048575) } + function Sm(a, b) { var c; c = b - 1; if (a.f > 0) { while (!a.gb(c)) { --c } return b - 1 - c } else { while (a.gb(c)) { --c } return b - 1 - gl(c, a.bb()) } } + function fe(a, b) { if (a.h == 524288 && a.m == 0 && a.l == 0) { b && (ae = de(0, 0, 0)); return ce((Qe(), Oe)) } b && (ae = de(a.l, a.m, a.h)); return de(0, 0, 0) } + function Ff(a, b) { var c; if (a === b) { return true } if (xc(b, 16)) { c = vc(b, 16); return c.f == a.f && (a.b < 54 ? c.g == a.g : a.d.eQ(c.d)) } return false } + function cn(a, b, c) { var d, e, f, g; f = ur; for (d = b - 1; d >= 0; --d) { g = pe(Ee(f, 32), qe(ue(a[d]), yr)); e = Nm(g, c); f = ue(Je(Fe(e, 32))) } return Je(f) } + function wm(a, b) { var c, d, e, f; c = ~~b >> 5; b &= 31; e = a.e + c + (b == 0 ? 0 : 1); d = lc(Od, { 6: 1 }, -1, e, 1); xm(d, a.b, c, b); f = new si(a.f, e, d); Sh(f); return f } + function ue(a) { var b, c; if (a > -129 && a < 128) { b = a + 128; oe == null && (oe = lc(Pd, { 6: 1 }, 2, 256, 0)); c = oe[b]; !c && (c = oe[b] = be(a)); return c } return be(a) } + function Ai(a) { Oh(); var b, c, d; if (a < Mh.length) { return Mh[a] } c = ~~a >> 5; b = a & 31; d = lc(Od, { 6: 1 }, -1, c + 1, 1); d[c] = 1 << b; return new si(1, c + 1, d) } + function ri(a) { Oh(); if (a.length == 0) { this.f = 0; this.e = 1; this.b = mc(Od, { 6: 1 }, -1, [0]) } else { this.f = 1; this.e = a.length; this.b = a; Sh(this) } } + function Dl(c) { if (c.length == 0 || c[0] > ys && c[c.length - 1] > ys) { return c } var a = c.replace(/^(\s*)/, Lr); var b = a.replace(/\s*$/, Lr); return b } + function Yk(a) { a -= ~~a >> 1 & 1431655765; a = (~~a >> 2 & 858993459) + (a & 858993459); a = (~~a >> 4) + a & 252645135; a += ~~a >> 8; a += ~~a >> 16; return a & 63 } + function nc(a, b, c) { if (c != null) { if (a.qI > 0 && !uc(c, a.qI)) { throw new qk } if (a.qI < 0 && (c.tM == rr || tc(c, 1))) { throw new qk } } return a[b] = c } + function Qh(a, b) { if (a.f > b.f) { return 1 } if (a.f < b.f) { return -1 } if (a.e > b.e) { return a.f } if (a.e < b.e) { return -b.f } return a.f * jn(a.b, b.b, a.e) } + function Rf(a, b) { var c; c = a.f - b; if (a.b < 54) { if (a.g == 0) { return Ig(c) } return new pg(a.g, Dg(c)) } return new dg((!a.d && (a.d = Li(a.g)), a.d), Dg(c)) } + function jp(i, a) { var b = i.b; for (var c in b) { var d = parseInt(c, 10); if (c == d) { var e = b[d]; for (var f = 0, g = e.length; f < g; ++f) { a.Kb(e[f]) } } } } + function np(i, a, b) { var c = i.b[b]; if (c) { for (var d = 0, e = c.length; d < e; ++d) { var f = c[d]; var g = f.Rb(); if (i.Ob(a, g)) { return f.Sb() } } } return null } + function pp(i, a, b) { var c = i.b[b]; if (c) { for (var d = 0, e = c.length; d < e; ++d) { var f = c[d]; var g = f.Rb(); if (i.Ob(a, g)) { return true } } } return false } + function Bq(a, b) { var c, d, e, f; d = 0; c = a.length - 1; while (d <= c) { e = d + (~~(c - d) >> 1); f = a[e]; if (f < b) { d = e + 1 } else if (f > b) { c = e - 1 } else { return e } } return -d - 1 } + function Pk(a) { var b; b = _e(a); if (b > 3.4028234663852886E38) { return Infinity } else if (b < -3.4028234663852886E38) { return -Infinity } return b } + function Ie(a) { if (se(a, (Qe(), Ne))) { return -9223372036854775808 } if (!we(a, Pe)) { return -me(Be(a)) } return a.l + a.m * 4194304 + a.h * 17592186044416 } + function Bb(a, b) { var c, d, e, f; e = Sb(a, yc(b.c) ? wc(b.c) : null); f = lc(Ud, { 6: 1 }, 13, e.length, 0); for (c = 0, d = f.length; c < d; ++c) { f[c] = new sl(e[c]) } Q(f) } + function yb(a) { var b, c, d; d = Lr; a = Dl(a); b = a.indexOf(Or); if (b != -1) { c = a.indexOf('function') == 0 ? 8 : 0; d = Dl(a.substr(c, b - c)) } return d.length > 0 ? d : Pr } + function ie(a, b) { var c, d, e; if (b <= 22) { c = a.l & (1 << b) - 1; d = e = 0 } else if (b <= 44) { c = a.l; d = a.m & (1 << b - 22) - 1; e = 0 } else { c = a.l; d = a.m; e = a.h & (1 << b - 44) - 1 } return de(c, d, e) } + function Db(b) { var c = Lr; try { for (var d in b) { if (d != 'name' && d != 'message' && d != 'toString') { try { c += '\n ' + d + Kr + b[d] } catch (a) { } } } } catch (a) { } return c } + function ti(a, b) { this.f = a; if (se(qe(b, zr), ur)) { this.e = 1; this.b = mc(Od, { 6: 1 }, -1, [Je(b)]) } else { this.e = 2; this.b = mc(Od, { 6: 1 }, -1, [Je(b), Je(Fe(b, 32))]) } } + function ui(a, b) { this.f = a; if (b < 4294967296) { this.e = 1; this.b = mc(Od, { 6: 1 }, -1, [~~b]) } else { this.e = 2; this.b = mc(Od, { 6: 1 }, -1, [~~(b % 4294967296), ~~(b / 4294967296)]) } } + function Xm(a, b) { var c, d; d = new ri(lc(Od, { 6: 1 }, -1, 1 << b, 1)); d.e = 1; d.b[0] = 1; d.f = 1; for (c = 1; c < b; ++c) { Bm(ei(a, d), c) && (d.b[~~c >> 5] |= 1 << (c & 31)) } return d } + function Jm(a) { var b, c, d; b = qe(ue(a.b[0]), yr); c = sr; d = vr; do { Ce(qe(Ae(b, c), d), ur) && (c = De(c, d)); d = Ee(d, 1) } while (xe(d, Fr)); c = Be(c); return Je(qe(c, yr)) } + function Gm(a) { var b, c, d; if (we(a, ur)) { c = re(a, Ar); d = ze(a, Ar) } else { b = Ge(a, 1); c = re(b, Br); d = ze(b, Br); d = pe(Ee(d, 1), qe(a, sr)) } return De(Ee(d, 32), qe(c, yr)) } + function ko(a, b, c, d) { go(); var e, f; e = ur; for (f = 0; f < c; ++f) { e = pe(Ae(qe(ue(b[f]), yr), qe(ue(d), yr)), qe(ue(Je(e)), yr)); a[f] = Je(e); e = Ge(e, 32) } return Je(e) } + function _m(a, b, c) { var d, e, f, g, i; e = c.e << 5; d = bi(a.eb(e), c); i = bi(Ai(e), c); f = Jm(c); c.e == 1 ? (g = en(i, d, b, c, f)) : (g = dn(i, d, b, c, f)); return Ym(g, (Oh(), Jh), c, f) } + function Om(a, b, c) { var d, e, f, g, i, j; d = c.bb(); e = c.fb(d); g = _m(a, b, e); i = an(a, b, d); f = Xm(e, d); j = ei(rn(i, g), f); Tm(j, d); j.f < 0 && (j = fn(j, Ai(d))); return fn(g, ei(e, j)) } + function xb(b, c) { var a, d, e, f; for (d = 0, e = b.length; d < e; ++d) { f = b[d]; try { f[1] ? f[0].Ub() && (c = wb(c, f)) : f[0].Ub() } catch (a) { a = _d(a); if (!xc(a, 12)) throw a } } return c } + function bf(a) { var b = $e; !b && (b = $e = /^\s*[+-]?((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?\s*$/i); if (b.test(a)) { return parseFloat(a) } else { return Number.NaN } } + function pi(a, b) { if (a == null) { throw new jl } if (b < 2 || b > 36) { throw new pl('Radix out of range') } if (a.length == 0) { throw new pl('Zero length BigInteger') } Ei(this, a, b) } + function Vq() { Uq(); var a, b, c; c = Tq++ + (new Date).getTime(); a = Bc(Math.floor(c * 5.9604644775390625E-8)) & 16777215; b = Bc(c - a * 16777216); this.b = a ^ 1502; this.c = b ^ 15525485 } + function un(a, b, c, d) { var e; if (c > d) { return 1 } else if (c < d) { return -1 } else { for (e = c - 1; e >= 0 && a[e] == b[e]; --e) { } return e < 0 ? 0 : xe(qe(ue(a[e]), yr), qe(ue(b[e]), yr)) ? -1 : 1 } } + function In(a, b) { var c, d, e, f; e = a.e; d = lc(Od, { 6: 1 }, -1, e, 1); hl(Zh(a), Zh(b)); for (c = 0; c < b.e; ++c) { d[c] = a.b[c] | b.b[c] } for (; c < e; ++c) { d[c] = a.b[c] } f = new si(1, e, d); return f } + function Mn(a, b) { var c, d, e, f; e = a.e; d = lc(Od, { 6: 1 }, -1, e, 1); c = hl(Zh(a), Zh(b)); for (; c < b.e; ++c) { d[c] = a.b[c] ^ b.b[c] } for (; c < a.e; ++c) { d[c] = a.b[c] } f = new si(1, e, d); Sh(f); return f } + function Bn(a, b) { var c, d, e, f; e = lc(Od, { 6: 1 }, -1, a.e, 1); d = hl(a.e, b.e); for (c = Zh(a); c < d; ++c) { e[c] = a.b[c] & ~b.b[c] } for (; c < a.e; ++c) { e[c] = a.b[c] } f = new si(1, a.e, e); Sh(f); return f } + function Dn(a, b) { var c, d, e, f; e = hl(a.e, b.e); c = gl(Zh(a), Zh(b)); if (c >= e) { return Oh(), Nh } d = lc(Od, { 6: 1 }, -1, e, 1); for (; c < e; ++c) { d[c] = a.b[c] & b.b[c] } f = new si(1, e, d); Sh(f); return f } + function Nf(a, b) { var c; if (b == 0) { return lf } if (b < 0 || b > 999999999) { throw new nk(bs) } c = a.f * b; return a.b == 0 && a.g != -1 ? Ig(c) : new dg((!a.d && (a.d = Li(a.g)), a.d).db(b), Dg(c)) } + function tk(a, b) { if (b < 2 || b > 36) { return -1 } if (a >= 48 && a < 48 + (b < 10 ? b : 10)) { return a - 48 } if (a >= 97 && a < b + 97 - 10) { return a - 97 + 10 } if (a >= 65 && a < b + 65 - 10) { return a - 65 + 10 } return -1 } + function Uq() { Uq = rr; var a, b, c; Rq = lc(Nd, { 6: 1 }, -1, 25, 1); Sq = lc(Nd, { 6: 1 }, -1, 33, 1); c = 1.52587890625E-5; for (a = 32; a >= 0; --a) { Sq[a] = c; c *= 0.5 } b = 1; for (a = 24; a >= 0; --a) { Rq[a] = b; b *= 0.5 } } + function oo(a, b) { go(); var c, d; d = (Oh(), Jh); c = a; for (; b > 1; b >>= 1) { (b & 1) != 0 && (d = ei(d, c)); c.e == 1 ? (c = ei(c, c)) : (c = new ri(qo(c.b, c.e, lc(Od, { 6: 1 }, -1, c.e << 1, 1)))) } d = ei(d, c); return d } + function nl() { nl = rr; ml = mc(Md, { 6: 1 }, -1, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122]) } + function rm(a) { var b, c; b = 0; if (a.f == 0) { return 0 } c = Zh(a); if (a.f > 0) { for (; c < a.e; ++c) { b += Yk(a.b[c]) } } else { b += Yk(-a.b[c]); for (++c; c < a.e; ++c) { b += Yk(~a.b[c]) } b = (a.e << 5) - b } return b } + function ne(a, b) { var c, d, e; e = a.h - b.h; if (e < 0) { return false } c = a.l - b.l; d = a.m - b.m + (~~c >> 22); e += ~~d >> 22; if (e < 0) { return false } a.l = c & 4194303; a.m = d & 4194303; a.h = e & 1048575; return true } + function al(a) { var b, c, d; b = lc(Md, { 6: 1 }, -1, 8, 1); c = (nl(), ml); d = 7; if (a >= 0) { while (a > 15) { b[d--] = c[a & 15]; a >>= 4 } } else { while (d > 0) { b[d--] = c[a & 15]; a >>= 4 } } b[d] = c[a & 15]; return Gl(b, d, 8) } + function vn(a, b) { if (b.f == 0 || a.f == 0) { return Oh(), Nh } if (Vh(b, (Oh(), Ih))) { return a } if (Vh(a, Ih)) { return b } return a.f > 0 ? b.f > 0 ? Dn(a, b) : wn(a, b) : b.f > 0 ? wn(b, a) : a.e > b.e ? xn(a, b) : xn(b, a) } + function yn(a, b) { if (b.f == 0) { return a } if (a.f == 0) { return Oh(), Nh } if (Vh(a, (Oh(), Ih))) { return new Pi(En(b)) } if (Vh(b, Ih)) { return Nh } return a.f > 0 ? b.f > 0 ? Bn(a, b) : Cn(a, b) : b.f > 0 ? An(a, b) : zn(a, b) } + function Gf(a) { var b; if (a.c != 0) { return a.c } if (a.b < 54) { b = te(a.g); a.c = Je(qe(b, wr)); a.c = 33 * a.c + Je(qe(Fe(b, 32), wr)); a.c = 17 * a.c + Bc(a.f); return a.c } a.c = 17 * a.d.hC() + Bc(a.f); return a.c } + function vg(a, b, c, d) { var e, f, g, i, j; f = (j = a / b, j > 0 ? Math.floor(j) : Math.ceil(j)); g = a % b; i = Gk(a * b, 0); if (g != 0) { e = Gk((g <= 0 ? 0 - g : g) * 2, b <= 0 ? 0 - b : b); f += Bg(Bc(f) & 1, i * (5 + e), d) } return new pg(f, c) } + function jc(a, b) { var c = new Array(b); if (a == 3) { for (var d = 0; d < b; ++d) { var e = new Object; e.l = e.m = e.h = 0; c[d] = e } } else if (a > 0) { var e = [null, 0, false][a]; for (var d = 0; d < b; ++d) { c[d] = e } } return c } + function tn(a, b, c, d, e) { var f, g; f = ur; for (g = 0; g < e; ++g) { f = pe(f, He(qe(ue(b[g]), yr), qe(ue(d[g]), yr))); a[g] = Je(f); f = Fe(f, 32) } for (; g < c; ++g) { f = pe(f, qe(ue(b[g]), yr)); a[g] = Je(f); f = Fe(f, 32) } } + function xm(a, b, c, d) { var e, f; if (d == 0) { nm(b, 0, a, c, a.length - c) } else { f = 32 - d; a[a.length - 1] = 0; for (e = a.length - 1; e > c; --e) { a[e] |= ~~b[e - c - 1] >>> f; a[e - 1] = b[e - c - 1] << d } } for (e = 0; e < c; ++e) { a[e] = 0 } } + function rg(a, b, c) { if (c < hf.length && gl(a.b, b.b + jf[Bc(c)]) + 1 < 54) { return new pg(a.g + b.g * hf[Bc(c)], a.f) } return new og(fn((!a.d && (a.d = Li(a.g)), a.d), mo((!b.d && (b.d = Li(b.g)), b.d), Bc(c))), a.f) } + function Ue(a) { return $stats({ moduleName: $moduleName, sessionId: $sessionId, subSystem: 'startup', evtGroup: 'moduleStartup', millis: (new Date).getTime(), type: 'onModuleLoadStart', className: a }) } + function vm(a, b) { var c, d, e; e = a.r(); if (b == 0 || a.r() == 0) { return } d = ~~b >> 5; a.e -= d; if (!Am(a.b, a.e, a.b, d, b & 31) && e < 0) { for (c = 0; c < a.e && a.b[c] == -1; ++c) { a.b[c] = 0 } c == a.e && ++a.e; ++a.b[c] } Sh(a); a.c = -2 } + function ve(a, b) { var c, d; c = ~~a.h >> 19; d = ~~b.h >> 19; return c == 0 ? d != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l > b.l : !(d == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l <= b.l) } + function we(a, b) { var c, d; c = ~~a.h >> 19; d = ~~b.h >> 19; return c == 0 ? d != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l >= b.l : !(d == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l < b.l) } + function Rm(a, b) { var c, d, e; c = bl(a); d = bl(b); e = c < d ? c : d; c != 0 && (a = Ge(a, c)); d != 0 && (b = Ge(b, d)); do { if (we(a, b)) { a = He(a, b); a = Ge(a, bl(a)) } else { b = He(b, a); b = Ge(b, bl(b)) } } while (Ce(a, ur)); return Ee(b, e) } + function Fn(a, b) { if (Vh(b, (Oh(), Ih)) || Vh(a, Ih)) { return Ih } if (b.f == 0) { return a } if (a.f == 0) { return b } return a.f > 0 ? b.f > 0 ? a.e > b.e ? In(a, b) : In(b, a) : Gn(a, b) : b.f > 0 ? Gn(b, a) : Zh(b) > Zh(a) ? Hn(b, a) : Hn(a, b) } + function sg(a) { var b, c; if (a > -140737488355328 && a < 140737488355328) { if (a == 0) { return 0 } b = a < 0; b && (a = -a); c = Bc(el(Math.log(a) / 0.6931471805599453)); (!b || a != Math.pow(2, c)) && ++c; return c } return tg(te(a)) } + function Yh(a, b) { var c, d; c = a._(); d = b._(); if (c.r() == 0) { return d } else if (d.r() == 0) { return c } if ((c.e == 1 || c.e == 2 && c.b[1] > 0) && (d.e == 1 || d.e == 2 && d.b[1] > 0)) { return Ki(Rm(ai(c), ai(d))) } return Qm(Rh(c), Rh(d)) } + function ci(a, b) { var c; if (b.f <= 0) { throw new nk(us) } if (!(a.gb(0) || b.gb(0))) { throw new nk(vs) } if (b.e == 1 && b.b[0] == 1) { return Nh } c = Wm(bi(a._(), b), b); if (c.f == 0) { throw new nk(vs) } c = a.f < 0 ? rn(b, c) : c; return c } + function Am(a, b, c, d, e) { var f, g, i; f = true; for (g = 0; g < d; ++g) { f = f & c[g] == 0 } if (e == 0) { nm(c, d, a, 0, b) } else { i = 32 - e; f = f & c[g] << i == 0; for (g = 0; g < b - 1; ++g) { a[g] = ~~c[g + d] >>> e | c[g + d + 1] << i } a[g] = ~~c[g + d] >>> e; ++g } return f } + function Ql(a) { var b, c, d, e; b = 0; d = a.length; e = d - 4; c = 0; while (c < e) { b = a.charCodeAt(c + 3) + 31 * (a.charCodeAt(c + 2) + 31 * (a.charCodeAt(c + 1) + 31 * (a.charCodeAt(c) + 31 * b))) | 0; c += 4 } while (c < d) { b = b * 31 + vl(a, c++) } return b | 0 } + function Pm(a, b) { var c, d, e, f, g; f = b.e; c = a[f] != 0; if (!c) { e = b.b; c = true; for (d = f - 1; d >= 0; --d) { if (a[d] != e[d]) { c = a[d] != 0 && ve(qe(ue(a[d]), yr), qe(ue(e[d]), yr)); break } } } g = new si(1, f + 1, a); c && pn(g, b); Sh(g); return g } + function Kf(a, b) { var c; c = a.f + b.f; if (a.b == 0 && a.g != -1 || b.b == 0 && b.g != -1) { return Ig(c) } if (a.b + b.b < 54) { return new pg(a.g * b.g, Dg(c)) } return new dg(ei((!a.d && (a.d = Li(a.g)), a.d), (!b.d && (b.d = Li(b.g)), b.d)), Dg(c)) } + function sp(k, a, b, c) { var d = k.b[c]; if (d) { for (var e = 0, f = d.length; e < f; ++e) { var g = d[e]; var i = g.Rb(); if (k.Ob(a, i)) { var j = g.Sb(); g.Tb(b); return j } } } else { d = k.b[c] = [] } var g = new Iq(a, b); d.push(g); ++k.e; return null } + function an(a, b, c) { var d, e, f, g, i; g = (Oh(), Jh); e = Rh(b); d = Rh(a); a.gb(0) && Tm(e, c - 1); Tm(d, c); for (f = e.ab() - 1; f >= 0; --f) { i = Rh(g); Tm(i, c); g = ei(g, i); if ((e.b[~~f >> 5] & 1 << (f & 31)) != 0) { g = ei(g, d); Tm(g, c) } } Tm(g, c); return g } + function ar(a, b) { var c, d, e, f, g, i, j; j = zl(a, Ks, 0); i = $wnd; for (g = 0; g < j.length; ++g) { if (!wl(j[g], 'client')) { br(i, j[g]); i = i[j[g]] } } c = zl(b, Ks, 0); for (e = 0, f = c.length; e < f; ++e) { d = c[e]; if (!wl(Dl(d), Lr)) { br(i, d); i = i[d] } } } + function gi(a, b) { var c; if (b < 0) { throw new nk('Negative exponent') } if (b == 0) { return Jh } else if (b == 1 || a.eQ(Jh) || a.eQ(Nh)) { return a } if (!a.gb(0)) { c = 1; while (!a.gb(c)) { ++c } return ei(Ai(c * b), a.fb(c).db(b)) } return oo(a, b) } + function Ee(a, b) { var c, d, e; b &= 63; if (b < 22) { c = a.l << b; d = a.m << b | ~~a.l >> 22 - b; e = a.h << b | ~~a.m >> 22 - b } else if (b < 44) { c = 0; d = a.l << b - 22; e = a.m << b - 22 | ~~a.l >> 44 - b } else { c = 0; d = 0; e = a.l << b - 44 } return de(c & 4194303, d & 4194303, e & 1048575) } + function Ge(a, b) { var c, d, e, f; b &= 63; c = a.h & 1048575; if (b < 22) { f = ~~c >>> b; e = ~~a.m >> b | c << 22 - b; d = ~~a.l >> b | a.m << 22 - b } else if (b < 44) { f = 0; e = ~~c >>> b - 22; d = ~~a.m >> b - 22 | a.h << 44 - b } else { f = 0; e = 0; d = ~~c >>> b - 44 } return de(d & 4194303, e & 4194303, f & 1048575) } + function Uo(a) { Qo(); switch (a) { case 2: return Ao; case 1: return Bo; case 3: return Co; case 5: return Do; case 6: return Eo; case 4: return Fo; case 7: return Go; case 0: return Ho; default: throw new Sk('Invalid rounding mode'); } } + function mi(a, b) { var c, d, e; if (b == 0) { return (a.b[0] & 1) != 0 } if (b < 0) { throw new nk(ts) } e = ~~b >> 5; if (e >= a.e) { return a.f < 0 } c = a.b[e]; b = 1 << (b & 31); if (a.f < 0) { d = Zh(a); if (e < d) { return false } else d == e ? (c = -c) : (c = ~c) } return (c & b) != 0 } + function Pf(a) { var b, c; if (a.e > 0) { return a.e } b = 1; c = 1; if (a.b < 54) { a.b >= 1 && (c = a.g); b += Math.log(c <= 0 ? 0 - c : c) * Math.LOG10E } else { b += (a.b - 1) * 0.3010299956639812; Th((!a.d && (a.d = Li(a.g)), a.d), po(b)).r() != 0 && ++b } a.e = Bc(b); return a.e } + function zh(a) { rf(); var b, c; c = Lj(a); if (c == ks) b = Fg(a[0]); else if (c == ks) b = Gg(ue(a[0])); else if (c == ns) b = Hg(ue(a[0]), a[1]); else throw new V('Unknown call signature for bd = java.math.BigDecimal.valueOf: ' + c); return new Kg(b) } + function Qi(a) { Oh(); var b, c; c = Lj(a); if (c == ms) b = new oi(a[0].toString()); else if (c == 'string number') b = new pi(a[0].toString(), a[1]); else throw new V('Unknown call signature for obj = new java.math.BigInteger: ' + c); return new Pi(b) } + function Un() { Un = rr; On = new Xn(34, (Qo(), Eo)); Pn = new Xn(7, Eo); Qn = new Xn(16, Eo); Rn = new Xn(0, Fo); Sn = mc(Md, { 6: 1 }, -1, [112, 114, 101, 99, 105, 115, 105, 111, 110, 61]); Tn = mc(Md, { 6: 1 }, -1, [114, 111, 117, 110, 100, 105, 110, 103, 77, 111, 100, 101, 61]) } + function Jn(a, b) { if (b.f == 0) { return a } if (a.f == 0) { return b } if (Vh(b, (Oh(), Ih))) { return new Pi(En(a)) } if (Vh(a, Ih)) { return new Pi(En(b)) } return a.f > 0 ? b.f > 0 ? a.e > b.e ? Mn(a, b) : Mn(b, a) : Kn(a, b) : b.f > 0 ? Kn(b, a) : Zh(b) > Zh(a) ? Ln(b, a) : Ln(a, b) } + function Cn(a, b) { var c, d, e, f, g, i; d = Zh(b); e = Zh(a); if (d >= a.e) { return a } g = hl(a.e, b.e); f = lc(Od, { 6: 1 }, -1, g, 1); c = e; for (; c < d; ++c) { f[c] = a.b[c] } if (c == d) { f[c] = a.b[c] & b.b[c] - 1; ++c } for (; c < g; ++c) { f[c] = a.b[c] & b.b[c] } i = new si(1, g, f); Sh(i); return i } + function Wf(a) { var b, c, d, e, f; b = 1; c = nf.length - 1; d = a.f; if (a.b == 0 && a.g != -1) { return new mg(Tr) } f = (!a.d && (a.d = Li(a.g)), a.d); while (!f.gb(0)) { e = Uh(f, nf[b]); if (e[1].r() == 0) { d -= b; b < c && ++b; f = e[0] } else { if (b == 1) { break } b = 1 } } return new dg(f, Dg(d)) } + function jo(a, b, c, d, e) { var f, g, i, j; if (Ac(a) === Ac(b) && d == e) { qo(a, d, c); return } for (i = 0; i < d; ++i) { g = ur; f = a[i]; for (j = 0; j < e; ++j) { g = pe(pe(Ae(qe(ue(f), yr), qe(ue(b[j]), yr)), qe(ue(c[i + j]), yr)), qe(ue(Je(g)), yr)); c[i + j] = Je(g); g = Ge(g, 32) } c[i + e] = Je(g) } } + function hi(a, b) { var c, d, e, f, g; if (b.f == 0) { throw new nk(ss) } g = a.e; c = b.e; if ((g != c ? g > c ? 1 : -1 : jn(a.b, b.b, g)) == -1) { return a } e = lc(Od, { 6: 1 }, -1, c, 1); if (c == 1) { e[0] = cn(a.b, g, b.b[0]) } else { d = g - c + 1; e = Km(null, d, a.b, g, b.b, c) } f = new si(a.f, c, e); Sh(f); return f } + function $k(a) { var b, c, d; if (a < 0) { return 0 } else if (a == 0) { return 32 } else { d = -(~~a >> 16); b = ~~d >> 16 & 16; c = 16 - b; a = ~~a >> b; d = a - 256; b = ~~d >> 16 & 8; c += b; a <<= b; d = a - 4096; b = ~~d >> 16 & 4; c += b; a <<= b; d = a - 16384; b = ~~d >> 16 & 2; c += b; a <<= b; d = ~~a >> 14; b = d & ~(~~d >> 1); return c + 2 - b } } + function kn(a, b) { var c; if (a.f == 0) { nm(b.b, 0, a.b, 0, b.e) } else if (b.f == 0) { return } else if (a.f == b.f) { hn(a.b, a.b, a.e, b.b, b.e) } else { c = un(a.b, b.b, a.e, b.e); if (c > 0) { tn(a.b, a.b, a.e, b.b, b.e) } else { qn(a.b, a.b, a.e, b.b, b.e); a.f = -a.f } } a.e = gl(a.e, b.e) + 1; Sh(a); a.c = -2 } + function ln(a, b) { var c, d; c = Qh(a, b); if (a.f == 0) { nm(b.b, 0, a.b, 0, b.e); a.f = -b.f } else if (a.f != b.f) { hn(a.b, a.b, a.e, b.b, b.e); a.f = c } else { d = un(a.b, b.b, a.e, b.e); if (d > 0) { tn(a.b, a.b, a.e, b.b, b.e) } else { qn(a.b, a.b, a.e, b.b, b.e); a.f = -a.f } } a.e = gl(a.e, b.e) + 1; Sh(a); a.c = -2 } + function di(a, b, c) { var d, e; if (c.f <= 0) { throw new nk(us) } d = a; if ((c.e == 1 && c.b[0] == 1) | b.f > 0 & d.f == 0) { return Nh } if (d.f == 0 && b.f == 0) { return Jh } if (b.f < 0) { d = ci(a, c); b = b.cb() } e = c.gb(0) ? _m(d._(), b, c) : Om(d._(), b, c); d.f < 0 && b.gb(0) && (e = bi(ei(rn(c, Jh), e), c)); return e } + function $m(a, b, c, d, e) { var f, g, i; f = ur; g = ur; for (i = 0; i < d; ++i) { f = (go(), pe(Ae(qe(ue(c[i]), yr), qe(ue(e), yr)), qe(ue(Je(f)), yr))); g = pe(He(qe(ue(a[b + i]), yr), qe(f, yr)), g); a[b + i] = Je(g); g = Fe(g, 32); f = Ge(f, 32) } g = pe(He(qe(ue(a[b + d]), yr), f), g); a[b + d] = Je(g); return Je(Fe(g, 32)) } + function ho(a, b) { go(); var c, d, e, f, g, i, j, k, n; if (b.e > a.e) { i = a; a = b; b = i } if (b.e < 63) { return no(a, b) } g = (a.e & -2) << 4; k = a.fb(g); n = b.fb(g); d = rn(a, k.eb(g)); e = rn(b, n.eb(g)); j = ho(k, n); c = ho(d, e); f = ho(rn(k, d), rn(e, n)); f = fn(fn(f, j), c); f = f.eb(g); j = j.eb(g << 1); return fn(fn(j, f), c) } + function le(a) { var b, c, d; c = a.l; if ((c & c - 1) != 0) { return -1 } d = a.m; if ((d & d - 1) != 0) { return -1 } b = a.h; if ((b & b - 1) != 0) { return -1 } if (b == 0 && d == 0 && c == 0) { return -1 } if (b == 0 && d == 0 && c != 0) { return _k(c) } if (b == 0 && d != 0 && c == 0) { return _k(d) + 22 } if (b != 0 && d == 0 && c == 0) { return _k(b) + 44 } return -1 } + function wn(a, b) { var c, d, e, f, g, i, j; e = Zh(a); d = Zh(b); if (d >= a.e) { return Oh(), Nh } i = a.e; g = lc(Od, { 6: 1 }, -1, i, 1); c = e > d ? e : d; if (c == d) { g[c] = -b.b[c] & a.b[c]; ++c } f = hl(b.e, a.e); for (; c < f; ++c) { g[c] = ~b.b[c] & a.b[c] } if (c >= b.e) { for (; c < a.e; ++c) { g[c] = a.b[c] } } j = new si(1, i, g); Sh(j); return j } + function Jf(a, b) { if (a.b == 0 && a.g != -1) { return Ig(b > 0 ? b : 0) } if (b >= 0) { if (a.b < 54) { return new pg(a.g, Dg(b)) } return new dg((!a.d && (a.d = Li(a.g)), a.d), Dg(b)) } if (-b < hf.length && a.b + jf[Bc(-b)] < 54) { return new pg(a.g * hf[Bc(-b)], 0) } return new dg(mo((!a.d && (a.d = Li(a.g)), a.d), Bc(-b)), 0) } + function Fe(a, b) { var c, d, e, f, g; b &= 63; c = a.h; d = (c & 524288) != 0; d && (c |= -1048576); if (b < 22) { g = ~~c >> b; f = ~~a.m >> b | c << 22 - b; e = ~~a.l >> b | a.m << 22 - b } else if (b < 44) { g = d ? 1048575 : 0; f = ~~c >> b - 22; e = ~~a.m >> b - 22 | c << 44 - b } else { g = d ? 1048575 : 0; f = d ? 4194303 : 0; e = ~~c >> b - 44 } return de(e & 4194303, f & 4194303, g & 1048575) } + function Oh() { Oh = rr; var a; Jh = new qi(1, 1); Lh = new qi(1, 10); Nh = new qi(0, 0); Ih = new qi(-1, 1); Kh = mc(Xd, { 6: 1 }, 17, [Nh, Jh, new qi(1, 2), new qi(1, 3), new qi(1, 4), new qi(1, 5), new qi(1, 6), new qi(1, 7), new qi(1, 8), new qi(1, 9), Lh]); Mh = lc(Xd, { 6: 1 }, 17, 32, 0); for (a = 0; a < Mh.length; ++a) { nc(Mh, a, Ki(Ee(sr, a))) } } + function lo(a, b) { go(); var c, d, e, f, g, i, j, k, n; k = a.f; if (k == 0) { return Oh(), Nh } d = a.e; c = a.b; if (d == 1) { e = Ae(qe(ue(c[0]), yr), qe(ue(b), yr)); j = Je(e); g = Je(Ge(e, 32)); return g == 0 ? new qi(k, j) : new si(k, 2, mc(Od, { 6: 1 }, -1, [j, g])) } i = d + 1; f = lc(Od, { 6: 1 }, -1, i, 1); f[d] = ko(f, c, d, b); n = new si(k, i, f); Sh(n); return n } + function no(a, b) { var c, d, e, f, g, i, j, k, n, o, q; d = a.e; f = b.e; i = d + f; j = a.f != b.f ? -1 : 1; if (i == 2) { n = Ae(qe(ue(a.b[0]), yr), qe(ue(b.b[0]), yr)); q = Je(n); o = Je(Ge(n, 32)); return o == 0 ? new qi(j, q) : new si(j, 2, mc(Od, { 6: 1 }, -1, [q, o])) } c = a.b; e = b.b; g = lc(Od, { 6: 1 }, -1, i, 1); io(c, d, e, f, g); k = new si(j, i, g); Sh(k); return k } + function Hn(a, b) { var c, d, e, f, g, i; d = Zh(b); e = Zh(a); if (e >= b.e) { return b } else if (d >= a.e) { return a } g = hl(a.e, b.e); f = lc(Od, { 6: 1 }, -1, g, 1); if (d == e) { f[e] = -(-a.b[e] | -b.b[e]); c = e } else { for (c = d; c < e; ++c) { f[c] = b.b[c] } f[c] = b.b[c] & a.b[c] - 1 } for (++c; c < g; ++c) { f[c] = a.b[c] & b.b[c] } i = new si(-1, g, f); Sh(i); return i } + function zm(a, b) { var c, d, e, f, g; d = ~~b >> 5; b &= 31; if (d >= a.e) { return a.f < 0 ? (Oh(), Ih) : (Oh(), Nh) } f = a.e - d; e = lc(Od, { 6: 1 }, -1, f + 1, 1); Am(e, f, a.b, d, b); if (a.f < 0) { for (c = 0; c < d && a.b[c] == 0; ++c) { } if (c < d || b > 0 && a.b[c] << 32 - b != 0) { for (c = 0; c < f && e[c] == -1; ++c) { e[c] = 0 } c == f && ++f; ++e[c] } } g = new si(a.f, f, e); Sh(g); return g } + function vo(a, b) { uo(); var c, d; if (b <= 0 || a.e == 1 && a.b[0] == 2) { return true } if (!mi(a, 0)) { return false } if (a.e == 1 && (a.b[0] & -1024) == 0) { return Bq(to, a.b[0]) >= 0 } for (d = 1; d < to.length; ++d) { if (cn(a.b, a.e, to[d]) == 0) { return false } } c = sm(a); for (d = 2; c < ro[d]; ++d) { } b = d < 1 + (~~(b - 1) >> 1) ? d : 1 + (~~(b - 1) >> 1); return wo(a, b) } + function Qm(a, b) { var c, d, e, f; c = a.bb(); d = b.bb(); e = c < d ? c : d; vm(a, c); vm(b, d); if (Qh(a, b) == 1) { f = a; a = b; b = f } do { if (b.e == 1 || b.e == 2 && b.b[1] > 0) { b = Ki(Rm(ai(a), ai(b))); break } if (b.e > a.e * 1.2) { b = hi(b, a); b.r() != 0 && vm(b, b.bb()) } else { do { pn(b, a); vm(b, b.bb()) } while (Qh(b, a) >= 0) } f = b; b = a; a = f } while (f.f != 0); return b.eb(e) } + function Sf(a, b, c) { var d; if (!c) { throw new jl } d = b - a.f; if (d == 0) { return a } if (d > 0) { if (d < hf.length && a.b + jf[Bc(d)] < 54) { return new pg(a.g * hf[Bc(d)], b) } return new dg(mo((!a.d && (a.d = Li(a.g)), a.d), Bc(d)), b) } if (a.b < 54 && -d < hf.length) { return vg(a.g, hf[Bc(-d)], b, c) } return ug((!a.d && (a.d = Li(a.g)), a.d), po(-d), b, c) } + function cl(a, b) { var c, d, e, f; if (b == 10 || b < 2 || b > 36) { return Lr + Ke(a) } c = lc(Md, { 6: 1 }, -1, 65, 1); d = (nl(), ml); e = 64; f = ue(b); if (we(a, ur)) { while (we(a, f)) { c[e--] = d[Je(ze(a, f))]; a = ee(a, f, false) } c[e] = d[Je(a)] } else { while (ye(a, Be(f))) { c[e--] = d[Je(Be(ze(a, f)))]; a = ee(a, f, false) } c[e--] = d[Je(Be(a))]; c[e] = 45 } return Gl(c, e, 65) } + function Of(a, b, c) { var d, e, f, g, i, j; f = b < 0 ? -b : b; g = c.b; e = Bc(fl(f)) + 1; i = c; if (b == 0 || a.b == 0 && a.g != -1 && b > 0) { return Nf(a, b) } if (f > 999999999 || g == 0 && b < 0 || g > 0 && e > g) { throw new nk(bs) } g > 0 && (i = new Xn(g + e + 1, c.c)); d = Qf(a, i); j = ~~Zk(f) >> 1; while (j > 0) { d = Lf(d, d, i); (f & j) == j && (d = Lf(d, a, i)); j >>= 1 } b < 0 && (d = zf(lf, d, i)); If(d, c); return d } + function tf(a, b) { var c; c = a.f - b.f; if (a.b == 0 && a.g != -1) { if (c <= 0) { return b } if (b.b == 0 && b.g != -1) { return a } } else if (b.b == 0 && b.g != -1) { if (c >= 0) { return a } } if (c == 0) { if (gl(a.b, b.b) + 1 < 54) { return new pg(a.g + b.g, a.f) } return new og(fn((!a.d && (a.d = Li(a.g)), a.d), (!b.d && (b.d = Li(b.g)), b.d)), a.f) } else return c > 0 ? rg(a, b, c) : rg(b, a, -c) } + function Nm(a, b) { var c, d, e, f, g; d = qe(ue(b), yr); if (we(a, ur)) { f = ee(a, d, false); g = ze(a, d) } else { c = Ge(a, 1); e = ue(~~b >>> 1); f = ee(c, e, false); g = ze(c, e); g = pe(Ee(g, 1), qe(a, sr)); if ((b & 1) != 0) { if (!ve(f, g)) { g = He(g, f) } else { if (ye(He(f, g), d)) { g = pe(g, He(d, f)); f = He(f, sr) } else { g = pe(g, He(Ee(d, 1), f)); f = He(f, vr) } } } } return De(Ee(g, 32), qe(f, yr)) } + function Ei(a, b, c) { var d, e, f, g, i, j, k, n, o, q, r, s, t, u; r = b.length; k = r; if (b.charCodeAt(0) == 45) { o = -1; q = 1; --r } else { o = 1; q = 0 } g = (Em(), Dm)[c]; f = ~~(r / g); u = r % g; u != 0 && ++f; j = lc(Od, { 6: 1 }, -1, f, 1); d = Cm[c - 2]; i = 0; s = q + (u == 0 ? g : u); for (t = q; t < k; t = s, s = s + g) { e = af(b.substr(t, s - t), c); n = (go(), ko(j, j, i, d)); n += on(j, i, e); j[i++] = n } a.f = o; a.e = i; a.b = j; Sh(a) } + function te(a) { var b, c, d, e, f; if (isNaN(a)) { return Qe(), Pe } if (a < -9223372036854775808) { return Qe(), Ne } if (a >= 9223372036854775807) { return Qe(), Me } e = false; if (a < 0) { e = true; a = -a } d = 0; if (a >= 17592186044416) { d = Bc(a / 17592186044416); a -= d * 17592186044416 } c = 0; if (a >= 4194304) { c = Bc(a / 4194304); a -= c * 4194304 } b = Bc(a); f = de(b, c, d); e && je(f); return f } + function Ke(a) { var b, c, d, e, f; if (a.l == 0 && a.m == 0 && a.h == 0) { return Tr } if (a.h == 524288 && a.m == 0 && a.l == 0) { return '-9223372036854775808' } if (~~a.h >> 19 != 0) { return Ur + Ke(Be(a)) } c = a; d = Lr; while (!(c.l == 0 && c.m == 0 && c.h == 0)) { e = ue(1000000000); c = ee(c, e, true); b = Lr + Je(ae); if (!(c.l == 0 && c.m == 0 && c.h == 0)) { f = 9 - b.length; for (; f > 0; --f) { b = Tr + b } } d = b + d } return d } + function Uh(a, b) { var c, d, e, f, g, i, j, k, n, o, q, r, s; f = b.f; if (f == 0) { throw new nk(ss) } e = b.e; d = b.b; if (e == 1) { return Lm(a, d[0], f) } q = a.b; r = a.e; c = r != e ? r > e ? 1 : -1 : jn(q, d, r); if (c < 0) { return mc(Xd, { 6: 1 }, 17, [Nh, a]) } s = a.f; i = r - e + 1; j = s == f ? 1 : -1; g = lc(Od, { 6: 1 }, -1, i, 1); k = Km(g, i, q, r, d, e); n = new si(j, i, g); o = new si(s, e, k); Sh(n); Sh(o); return mc(Xd, { 6: 1 }, 17, [n, o]) } + function Zf(a) { var b; if (a.f == 0 || a.b == 0 && a.g != -1) { return !a.d && (a.d = Li(a.g)), a.d } else if (a.f < 0) { return ei((!a.d && (a.d = Li(a.g)), a.d), po(-a.f)) } else { if (a.f > (a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1) || a.f > (!a.d && (a.d = Li(a.g)), a.d).bb()) { throw new nk(cs) } b = Uh((!a.d && (a.d = Li(a.g)), a.d), po(a.f)); if (b[1].r() != 0) { throw new nk(cs) } return b[0] } } + function qn(a, b, c, d, e) { var f, g; f = ur; if (c < e) { for (g = 0; g < c; ++g) { f = pe(f, He(qe(ue(d[g]), yr), qe(ue(b[g]), yr))); a[g] = Je(f); f = Fe(f, 32) } for (; g < e; ++g) { f = pe(f, qe(ue(d[g]), yr)); a[g] = Je(f); f = Fe(f, 32) } } else { for (g = 0; g < e; ++g) { f = pe(f, He(qe(ue(d[g]), yr), qe(ue(b[g]), yr))); a[g] = Je(f); f = Fe(f, 32) } for (; g < c; ++g) { f = He(f, qe(ue(b[g]), yr)); a[g] = Je(f); f = Fe(f, 32) } } } + function Lm(a, b, c) { var d, e, f, g, i, j, k, n, o, q, r, s; q = a.b; r = a.e; s = a.f; if (r == 1) { d = qe(ue(q[0]), yr); e = qe(ue(b), yr); f = ee(d, e, false); j = ze(d, e); s != c && (f = Be(f)); s < 0 && (j = Be(j)); return mc(Xd, { 6: 1 }, 17, [Ki(f), Ki(j)]) } i = s == c ? 1 : -1; g = lc(Od, { 6: 1 }, -1, r, 1); k = mc(Od, { 6: 1 }, -1, [Mm(g, q, r, b)]); n = new si(i, r, g); o = new si(s, 1, k); Sh(n); Sh(o); return mc(Xd, { 6: 1 }, 17, [n, o]) } + function Zm(a, b, c) { var d, e, f, g, i, j, k; i = b.b; j = b.e; k = ur; for (d = 0; d < j; ++d) { e = ur; g = Je((go(), Ae(qe(ue(a[d]), yr), qe(ue(c), yr)))); for (f = 0; f < j; ++f) { e = pe(pe(Ae(qe(ue(g), yr), qe(ue(i[f]), yr)), qe(ue(a[d + f]), yr)), qe(ue(Je(e)), yr)); a[d + f] = Je(e); e = Ge(e, 32) } k = pe(k, pe(qe(ue(a[d + j]), yr), e)); a[d + j] = Je(k); k = Ge(k, 32) } a[j << 1] = Je(k); for (f = 0; f < j + 1; ++f) { a[f] = a[f + j] } } + function af(a, b) { var c, d, e, f; if (a == null) { throw new pl(Mr) } if (b < 2 || b > 36) { throw new pl('radix ' + b + ' out of range') } d = a.length; e = d > 0 && a.charCodeAt(0) == 45 ? 1 : 0; for (c = e; c < d; ++c) { if (tk(a.charCodeAt(c), b) == -1) { throw new pl(Zr + a + $r) } } f = parseInt(a, b); if (isNaN(f)) { throw new pl(Zr + a + $r) } else if (f < -2147483648 || f > 2147483647) { throw new pl(Zr + a + $r) } return f } + function En(a) { var b, c; if (a.f == 0) { return Oh(), Ih } if (Vh(a, (Oh(), Ih))) { return Nh } c = lc(Od, { 6: 1 }, -1, a.e + 1, 1); if (a.f > 0) { if (a.b[a.e - 1] != -1) { for (b = 0; a.b[b] == -1; ++b) { } } else { for (b = 0; b < a.e && a.b[b] == -1; ++b) { } if (b == a.e) { c[b] = 1; return new si(-a.f, b + 1, c) } } } else { for (b = 0; a.b[b] == 0; ++b) { c[b] = -1 } } c[b] = a.b[b] + a.f; for (++b; b < a.e; ++b) { c[b] = a.b[b] } return new si(-a.f, b, c) } + function Bg(a, b, c) { var d; d = 0; switch (c.c) { case 7: if (b != 0) { throw new nk(cs) } break; case 0: d = b == 0 ? 0 : b < 0 ? -1 : 1; break; case 2: d = (b == 0 ? 0 : b < 0 ? -1 : 1) > 0 ? b == 0 ? 0 : b < 0 ? -1 : 1 : 0; break; case 3: d = (b == 0 ? 0 : b < 0 ? -1 : 1) < 0 ? b == 0 ? 0 : b < 0 ? -1 : 1 : 0; break; case 4: (b < 0 ? -b : b) >= 5 && (d = b == 0 ? 0 : b < 0 ? -1 : 1); break; case 5: (b < 0 ? -b : b) > 5 && (d = b == 0 ? 0 : b < 0 ? -1 : 1); break; case 6: (b < 0 ? -b : b) + a > 5 && (d = b == 0 ? 0 : b < 0 ? -1 : 1); }return d } + function Vf(a, b, c) { var d, e, f, g, i, j; i = te(hf[c]); g = He(te(a.f), ue(c)); j = te(a.g); f = ee(j, i, false); e = ze(j, i); if (Ce(e, ur)) { d = se(He(Ee(xe(e, ur) ? Be(e) : e, 1), i), ur) ? 0 : xe(He(Ee(xe(e, ur) ? Be(e) : e, 1), i), ur) ? -1 : 1; f = pe(f, ue(Bg(Je(f) & 1, (se(e, ur) ? 0 : xe(e, ur) ? -1 : 1) * (5 + d), b.c))); if (fl(Ie(xe(f, ur) ? Be(f) : f)) >= b.b) { f = re(f, tr); g = He(g, sr) } } a.f = Dg(Ie(g)); a.e = b.b; a.g = Ie(f); a.b = tg(f); a.d = null } + function tm(a, b) { var c, d, e, f, g, i, j, k, n; k = a.f == 0 ? 1 : a.f; g = ~~b >> 5; c = b & 31; j = gl(g + 1, a.e) + 1; i = lc(Od, { 6: 1 }, -1, j, 1); d = 1 << c; nm(a.b, 0, i, 0, a.e); if (a.f < 0) { if (g >= a.e) { i[g] = d } else { e = Zh(a); if (g > e) { i[g] ^= d } else if (g < e) { i[g] = -d; for (f = g + 1; f < e; ++f) { i[f] = -1 } i[f] = i[f]-- } else { f = g; i[g] = -(-i[g] ^ d); if (i[g] == 0) { for (++f; i[f] == -1; ++f) { i[f] = 0 } ++i[f] } } } } else { i[g] ^= d } n = new si(k, j, i); Sh(n); return n } + function wo(a, b) { var c, d, e, f, g, i, j, k, n; g = rn(a, (Oh(), Jh)); c = g.ab(); f = g.bb(); i = g.fb(f); j = new Vq; for (d = 0; d < b; ++d) { if (d < to.length) { k = so[d] } else { do { k = new ni(c, j) } while (Qh(k, a) >= 0 || k.f == 0 || k.e == 1 && k.b[0] == 1) } n = di(k, i, a); if (n.e == 1 && n.b[0] == 1 || n.eQ(g)) { continue } for (e = 1; e < f; ++e) { if (n.eQ(g)) { continue } n = bi(ei(n, n), a); if (n.e == 1 && n.b[0] == 1) { return false } } if (!n.eQ(g)) { return false } } return true } + function Mm(a, b, c, d) { var e, f, g, i, j, k, n; k = ur; f = qe(ue(d), yr); for (i = c - 1; i >= 0; --i) { n = De(Ee(k, 32), qe(ue(b[i]), yr)); if (we(n, ur)) { j = ee(n, f, false); k = ze(n, f) } else { e = Ge(n, 1); g = ue(~~d >>> 1); j = ee(e, g, false); k = ze(e, g); k = pe(Ee(k, 1), qe(n, sr)); if ((d & 1) != 0) { if (!ve(j, k)) { k = He(k, j) } else { if (ye(He(j, k), f)) { k = pe(k, He(f, j)); j = He(j, sr) } else { k = pe(k, He(Ee(f, 1), j)); j = He(j, vr) } } } } a[i] = Je(qe(j, yr)) } return Je(k) } + function he(a, b, c, d, e, f) { var g, i, j, k, n, o, q; k = ke(b) - ke(a); g = Ee(b, k); j = de(0, 0, 0); while (k >= 0) { i = ne(a, g); if (i) { k < 22 ? (j.l |= 1 << k, undefined) : k < 44 ? (j.m |= 1 << k - 22, undefined) : (j.h |= 1 << k - 44, undefined); if (a.l == 0 && a.m == 0 && a.h == 0) { break } } o = g.m; q = g.h; n = g.l; g.h = ~~q >>> 1; g.m = ~~o >>> 1 | (q & 1) << 21; g.l = ~~n >>> 1 | (o & 1) << 21; --k } c && je(j); if (f) { if (d) { ae = Be(a); e && (ae = He(ae, (Qe(), Oe))) } else { ae = de(a.l, a.m, a.h) } } return j } + function dn(a, b, c, d, e) { var f, g, i, j, k, n, o; k = lc(Xd, { 6: 1 }, 17, 8, 0); n = a; nc(k, 0, b); o = Ym(b, b, d, e); for (g = 1; g <= 7; ++g) { nc(k, g, Ym(k[g - 1], o, d, e)) } for (g = c.ab() - 1; g >= 0; --g) { if ((c.b[~~g >> 5] & 1 << (g & 31)) != 0) { j = 1; f = g; for (i = g - 3 > 0 ? g - 3 : 0; i <= g - 1; ++i) { if ((c.b[~~i >> 5] & 1 << (i & 31)) != 0) { if (i < f) { f = i; j = j << g - i ^ 1 } else { j = j ^ 1 << i - f } } } for (i = f; i <= g; ++i) { n = Ym(n, n, d, e) } n = Ym(k[~~(j - 1) >> 1], n, d, e); g = f } else { n = Ym(n, n, d, e) } } return n } + function Ln(a, b) { var c, d, e, f, g, i, j; i = gl(a.e, b.e); g = lc(Od, { 6: 1 }, -1, i, 1); e = Zh(a); d = Zh(b); c = d; if (e == d) { g[d] = -a.b[d] ^ -b.b[d] } else { g[d] = -b.b[d]; f = hl(b.e, e); for (++c; c < f; ++c) { g[c] = ~b.b[c] } if (c == b.e) { for (; c < e; ++c) { g[c] = -1 } g[c] = a.b[c] - 1 } else { g[c] = -a.b[c] ^ ~b.b[c] } } f = hl(a.e, b.e); for (++c; c < f; ++c) { g[c] = a.b[c] ^ b.b[c] } for (; c < a.e; ++c) { g[c] = a.b[c] } for (; c < b.e; ++c) { g[c] = b.b[c] } j = new si(1, i, g); Sh(j); return j } + function qo(a, b, c) { var d, e, f, g; for (e = 0; e < b; ++e) { d = ur; for (g = e + 1; g < b; ++g) { d = pe(pe(Ae(qe(ue(a[e]), yr), qe(ue(a[g]), yr)), qe(ue(c[e + g]), yr)), qe(ue(Je(d)), yr)); c[e + g] = Je(d); d = Ge(d, 32) } c[e + b] = Je(d) } ym(c, c, b << 1); d = ur; for (e = 0, f = 0; e < b; ++e, ++f) { d = pe(pe(Ae(qe(ue(a[e]), yr), qe(ue(a[e]), yr)), qe(ue(c[f]), yr)), qe(ue(Je(d)), yr)); c[f] = Je(d); d = Ge(d, 32); ++f; d = pe(d, qe(ue(c[f]), yr)); c[f] = Je(d); d = Ge(d, 32) } return c } + function vf(a, b) { var c, d, e, f, g, i; e = Uf(a); i = Uf(b); if (e == i) { if (a.f == b.f && a.b < 54 && b.b < 54) { return a.g < b.g ? -1 : a.g > b.g ? 1 : 0 } d = a.f - b.f; c = (a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1) - (b.e > 0 ? b.e : el((b.b - 1) * 0.3010299956639812) + 1); if (c > d + 1) { return e } else if (c < d - 1) { return -e } else { f = (!a.d && (a.d = Li(a.g)), a.d); g = (!b.d && (b.d = Li(b.g)), b.d); d < 0 ? (f = ei(f, po(-d))) : d > 0 && (g = ei(g, po(d))); return Qh(f, g) } } else return e < i ? -1 : 1 } + function If(a, b) { var c, d, e, f, g, i, j; f = b.b; if ((a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1) - f < 0 || f == 0) { return } d = a.q() - f; if (d <= 0) { return } if (a.b < 54) { Vf(a, b, d); return } i = po(d); e = Uh((!a.d && (a.d = Li(a.g)), a.d), i); g = a.f - d; if (e[1].r() != 0) { c = Qh(ki(e[1]._()), i); c = Bg(e[0].gb(0) ? 1 : 0, e[1].r() * (5 + c), b.c); c != 0 && nc(e, 0, fn(e[0], Ki(ue(c)))); j = new cg(e[0]); if (j.q() > f) { nc(e, 0, Th(e[0], (Oh(), Lh))); --g } } a.f = Dg(g); a.e = f; Tf(a, e[0]) } + function Yf(a, b, c) { var d, e, f, g; d = b.f - a.f; if (b.b == 0 && b.g != -1 || a.b == 0 && a.g != -1 || c.b == 0) { return Qf(Xf(a, b), c) } if ((b.e > 0 ? b.e : el((b.b - 1) * 0.3010299956639812) + 1) < d - 1) { if (c.b < (a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1)) { g = Uf(a); if (g != b.r()) { f = fn(lo((!a.d && (a.d = Li(a.g)), a.d), 10), Ki(ue(g))) } else { f = rn((!a.d && (a.d = Li(a.g)), a.d), Ki(ue(g))); f = fn(lo(f, 10), Ki(ue(g * 9))) } e = new og(f, a.f + 1); return Qf(e, c) } } return Qf(Xf(a, b), c) } + function rn(a, b) { var c, d, e, f, g, i, j, k, n, o; g = a.f; j = b.f; if (j == 0) { return a } if (g == 0) { return b.cb() } f = a.e; i = b.e; if (f + i == 2) { c = qe(ue(a.b[0]), yr); d = qe(ue(b.b[0]), yr); g < 0 && (c = Be(c)); j < 0 && (d = Be(d)); return Ki(He(c, d)) } e = f != i ? f > i ? 1 : -1 : jn(a.b, b.b, f); if (e == -1) { o = -j; n = g == j ? sn(b.b, i, a.b, f) : gn(b.b, i, a.b, f) } else { o = g; if (g == j) { if (e == 0) { return Oh(), Nh } n = sn(a.b, f, b.b, i) } else { n = gn(a.b, f, b.b, i) } } k = new si(o, n.length, n); Sh(k); return k } + function zn(a, b) { var c, d, e, f, g, i, j; e = Zh(a); d = Zh(b); if (e >= b.e) { return Oh(), Nh } i = b.e; g = lc(Od, { 6: 1 }, -1, i, 1); c = e; if (e < d) { g[e] = -a.b[e]; f = hl(a.e, d); for (++c; c < f; ++c) { g[c] = ~a.b[c] } if (c == a.e) { for (; c < d; ++c) { g[c] = -1 } g[c] = b.b[c] - 1 } else { g[c] = ~a.b[c] & b.b[c] - 1 } } else d < e ? (g[e] = -a.b[e] & b.b[e]) : (g[e] = -a.b[e] & b.b[e] - 1); f = hl(a.e, b.e); for (++c; c < f; ++c) { g[c] = ~a.b[c] & b.b[c] } for (; c < b.e; ++c) { g[c] = b.b[c] } j = new si(1, i, g); Sh(j); return j } + function Th(a, b) { var c, d, e, f, g, i, j, k, n, o; if (b.f == 0) { throw new nk(ss) } e = b.f; if (b.e == 1 && b.b[0] == 1) { return b.f > 0 ? a : a.cb() } n = a.f; k = a.e; d = b.e; if (k + d == 2) { o = re(qe(ue(a.b[0]), yr), qe(ue(b.b[0]), yr)); n != e && (o = Be(o)); return Ki(o) } c = k != d ? k > d ? 1 : -1 : jn(a.b, b.b, k); if (c == 0) { return n == e ? Jh : Ih } if (c == -1) { return Nh } g = k - d + 1; f = lc(Od, { 6: 1 }, -1, g, 1); i = n == e ? 1 : -1; d == 1 ? Mm(f, a.b, k, b.b[0]) : Km(f, g, a.b, k, b.b, d); j = new si(i, g, f); Sh(j); return j } + function hn(a, b, c, d, e) { var f, g; f = pe(qe(ue(b[0]), yr), qe(ue(d[0]), yr)); a[0] = Je(f); f = Fe(f, 32); if (c >= e) { for (g = 1; g < e; ++g) { f = pe(f, pe(qe(ue(b[g]), yr), qe(ue(d[g]), yr))); a[g] = Je(f); f = Fe(f, 32) } for (; g < c; ++g) { f = pe(f, qe(ue(b[g]), yr)); a[g] = Je(f); f = Fe(f, 32) } } else { for (g = 1; g < c; ++g) { f = pe(f, pe(qe(ue(b[g]), yr), qe(ue(d[g]), yr))); a[g] = Je(f); f = Fe(f, 32) } for (; g < e; ++g) { f = pe(f, qe(ue(d[g]), yr)); a[g] = Je(f); f = Fe(f, 32) } } Ce(f, ur) && (a[g] = Je(f)) } + function go() { go = rr; var a, b; bo = lc(Xd, { 6: 1 }, 17, 32, 0); co = lc(Xd, { 6: 1 }, 17, 32, 0); eo = mc(Od, { 6: 1 }, -1, [1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125]); fo = mc(Od, { 6: 1 }, -1, [1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000]); a = sr; for (b = 0; b <= 18; ++b) { nc(bo, b, Ki(a)); nc(co, b, Ki(Ee(a, b))); a = Ae(a, Hr) } for (; b < co.length; ++b) { nc(bo, b, ei(bo[b - 1], bo[1])); nc(co, b, ei(co[b - 1], (Oh(), Lh))) } } + function yf(a, b, c, d) { var e, f, g; if (!d) { throw new jl } if (b.b == 0 && b.g != -1) { throw new nk(_r) } e = a.f - b.f - c; if (a.b < 54 && b.b < 54) { if (e == 0) { return vg(a.g, b.g, c, d) } else if (e > 0) { if (e < hf.length && b.b + jf[Bc(e)] < 54) { return vg(a.g, b.g * hf[Bc(e)], c, d) } } else { if (-e < hf.length && a.b + jf[Bc(-e)] < 54) { return vg(a.g * hf[Bc(-e)], b.g, c, d) } } } f = (!a.d && (a.d = Li(a.g)), a.d); g = (!b.d && (b.d = Li(b.g)), b.d); e > 0 ? (g = mo(g, Bc(e))) : e < 0 && (f = mo(f, Bc(-e))); return ug(f, g, c, d) } + function Gn(a, b) { var c, d, e, f, g, i, j; d = Zh(b); e = Zh(a); if (e >= b.e) { return b } i = b.e; g = lc(Od, { 6: 1 }, -1, i, 1); if (d < e) { for (c = d; c < e; ++c) { g[c] = b.b[c] } } else if (e < d) { c = e; g[e] = -a.b[e]; f = hl(a.e, d); for (++c; c < f; ++c) { g[c] = ~a.b[c] } if (c != a.e) { g[c] = ~(-b.b[c] | a.b[c]) } else { for (; c < d; ++c) { g[c] = -1 } g[c] = b.b[c] - 1 } ++c } else { c = e; g[e] = -(-b.b[e] | a.b[e]); ++c } f = hl(b.e, a.e); for (; c < f; ++c) { g[c] = b.b[c] & ~a.b[c] } for (; c < b.e; ++c) { g[c] = b.b[c] } j = new si(-1, i, g); Sh(j); return j } + function _f(a) { var b, c, d, e; d = Hm((!a.d && (a.d = Li(a.g)), a.d), 0); if (a.f == 0 || a.b == 0 && a.g != -1 && a.f < 0) { return d } b = Uf(a) < 0 ? 1 : 0; c = a.f; e = new gm(d.length + 1 + dl(Bc(a.f))); b == 1 && (e.b.b += Ur, e); if (a.f > 0) { c -= d.length - b; if (c >= 0) { e.b.b += es; for (; c > ef.length; c -= ef.length) { $l(e, ef) } _l(e, ef, Bc(c)); dm(e, Al(d, b)) } else { c = b - c; dm(e, Bl(d, b, Bc(c))); e.b.b += ds; dm(e, Al(d, Bc(c))) } } else { dm(e, Al(d, b)); for (; c < -ef.length; c += ef.length) { $l(e, ef) } _l(e, ef, Bc(-c)) } return e.b.b } + function ug(a, b, c, d) { var e, f, g, i, j, k, n; g = Uh(a, b); i = g[0]; k = g[1]; if (k.r() == 0) { return new dg(i, c) } n = a.r() * b.r(); if (b.ab() < 54) { j = ai(k); f = ai(b); e = se(He(Ee(xe(j, ur) ? Be(j) : j, 1), xe(f, ur) ? Be(f) : f), ur) ? 0 : xe(He(Ee(xe(j, ur) ? Be(j) : j, 1), xe(f, ur) ? Be(f) : f), ur) ? -1 : 1; e = Bg(i.gb(0) ? 1 : 0, n * (5 + e), d) } else { e = Qh(ki(k._()), b._()); e = Bg(i.gb(0) ? 1 : 0, n * (5 + e), d) } if (e != 0) { if (i.ab() < 54) { return Hg(pe(ai(i), ue(e)), c) } i = fn(i, Ki(ue(e))); return new dg(i, c) } return new dg(i, c) } + function ag(a) { var b, c, d, e, f; if (a.i != null) { return a.i } if (a.b < 32) { a.i = Im(te(a.g), Bc(a.f)); return a.i } e = Hm((!a.d && (a.d = Li(a.g)), a.d), 0); if (a.f == 0) { return e } b = (!a.d && (a.d = Li(a.g)), a.d).r() < 0 ? 2 : 1; c = e.length; d = -a.f + c - b; f = new fm; cc(f.b, e); if (a.f > 0 && d >= -6) { if (d >= 0) { em(f, c - Bc(a.f), ds) } else { ec(f.b, b - 1, b - 1, es); em(f, b + 1, Ll(ef, 0, -Bc(d) - 1)) } } else { if (c - b >= 1) { ec(f.b, b, b, ds); ++c } ec(f.b, c, c, fs); d > 0 && em(f, ++c, gs); em(f, ++c, Lr + Ke(te(d))) } a.i = f.b.b; return a.i } + function xn(a, b) { var c, d, e, f, g, i, j; e = Zh(a); f = Zh(b); if (e >= b.e) { return a } d = f > e ? f : e; f > e ? (c = -b.b[d] & ~a.b[d]) : f < e ? (c = ~b.b[d] & -a.b[d]) : (c = -b.b[d] & -a.b[d]); if (c == 0) { for (++d; d < b.e && (c = ~(a.b[d] | b.b[d])) == 0; ++d) { } if (c == 0) { for (; d < a.e && (c = ~a.b[d]) == 0; ++d) { } if (c == 0) { i = a.e + 1; g = lc(Od, { 6: 1 }, -1, i, 1); g[i - 1] = 1; j = new si(-1, i, g); return j } } } i = a.e; g = lc(Od, { 6: 1 }, -1, i, 1); g[d] = -c; for (++d; d < b.e; ++d) { g[d] = a.b[d] | b.b[d] } for (; d < a.e; ++d) { g[d] = a.b[d] } j = new si(-1, i, g); return j } + function zl(o, a, b) { var c = new RegExp(a, 'g'); var d = []; var e = 0; var f = o; var g = null; while (true) { var i = c.exec(f); if (i == null || f == Lr || e == b - 1 && b > 0) { d[e] = f; break } else { d[e] = f.substring(0, i.index); f = f.substring(i.index + i[0].length, f.length); c.lastIndex = 0; if (g == f) { d[e] = f.substring(0, 1); f = f.substring(1) } g = f; e++ } } if (b == 0 && o.length > 0) { var j = d.length; while (j > 0 && d[j - 1] == Lr) { --j } j < d.length && d.splice(j, d.length - j) } var k = Fl(d.length); for (var n = 0; n < d.length; ++n) { k[n] = d[n] } return k } + function po(a) { go(); var b, c, d, e; b = Bc(a); if (a < co.length) { return co[b] } else if (a <= 50) { return (Oh(), Lh).db(b) } else if (a <= 1000) { return bo[1].db(b).eb(b) } if (a > 1000000) { throw new nk('power of ten too big') } if (a <= 2147483647) { return bo[1].db(b).eb(b) } d = bo[1].db(2147483647); e = d; c = te(a - 2147483647); b = Bc(a % 2147483647); while (ve(c, Ir)) { e = ei(e, d); c = He(c, Ir) } e = ei(e, bo[1].db(b)); e = e.eb(2147483647); c = te(a - 2147483647); while (ve(c, Ir)) { e = e.eb(2147483647); c = He(c, Ir) } e = e.eb(b); return e } + function $d() { var a; !!$stats && Ue('com.iriscouch.gwtapp.client.BigDecimalApp'); ik(new kk); Wj(new Yj); Gj(new Ij); Ch(new Eh); !!$stats && Ue('com.google.gwt.user.client.UserAgentAsserter'); a = We(); wl(Sr, a) || ($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (safari) does not match the runtime user.agent value (' + a + '). Expect more errors.\n'), undefined); !!$stats && Ue('com.google.gwt.user.client.DocumentModeAsserter'); Ve() } + function Vo(a) { Qo(); var b, c, d, e, f; if (a == null) { throw new jl } d = Cl(a); c = d.length; if (c < Po.length || c > Oo.length) { throw new Rk } f = null; e = null; if (d[0] == 67) { e = Ao; f = Io } else if (d[0] == 68) { e = Bo; f = Jo } else if (d[0] == 70) { e = Co; f = Ko } else if (d[0] == 72) { if (c > 6) { if (d[5] == 68) { e = Do; f = Lo } else if (d[5] == 69) { e = Eo; f = Mo } else if (d[5] == 85) { e = Fo; f = No } } } else if (d[0] == 85) { if (d[1] == 80) { e = Ho; f = Po } else if (d[1] == 78) { e = Go; f = Oo } } if (!!e && c == f.length) { for (b = 1; b < c && d[b] == f[b]; ++b) { } if (b == c) { return e } } throw new Rk } + function ni(a, b) { var d, e, f, g, i, j; Oh(); var c; if (a < 0) { throw new Sk('numBits must be non-negative') } if (a == 0) { this.f = 0; this.e = 1; this.b = mc(Od, { 6: 1 }, -1, [0]) } else { this.f = 1; this.e = ~~(a + 31) >> 5; this.b = lc(Od, { 6: 1 }, -1, this.e, 1); for (c = 0; c < this.e; ++c) { this.b[c] = Bc((g = b.b * 15525485 + b.c * 1502, j = b.c * 15525485 + 11, d = Math.floor(j * 5.9604644775390625E-8), g += d, j -= d * 16777216, g %= 16777216, b.b = g, b.c = j, f = b.b * 256, i = el(b.c * Sq[32]), e = f + i, e >= 2147483648 && (e -= 4294967296), e)) } this.b[this.e - 1] >>>= -a & 31; Sh(this) } } + function fn(a, b) { var c, d, e, f, g, i, j, k, n, o, q, r; g = a.f; j = b.f; if (g == 0) { return b } if (j == 0) { return a } f = a.e; i = b.e; if (f + i == 2) { c = qe(ue(a.b[0]), yr); d = qe(ue(b.b[0]), yr); if (g == j) { k = pe(c, d); r = Je(k); q = Je(Ge(k, 32)); return q == 0 ? new qi(g, r) : new si(g, 2, mc(Od, { 6: 1 }, -1, [r, q])) } return Ki(g < 0 ? He(d, c) : He(c, d)) } else if (g == j) { o = g; n = f >= i ? gn(a.b, f, b.b, i) : gn(b.b, i, a.b, f) } else { e = f != i ? f > i ? 1 : -1 : jn(a.b, b.b, f); if (e == 0) { return Oh(), Nh } if (e == 1) { o = g; n = sn(a.b, f, b.b, i) } else { o = j; n = sn(b.b, i, a.b, f) } } k = new si(o, n.length, n); Sh(k); return k } + function Yn(a) { Un(); var b, c, d, e; if (a == null) { throw new kl('null string') } b = Cl(a); if (b.length < 27 || b.length > 45) { throw new Sk(Hs) } for (d = 0; d < Sn.length && b[d] == Sn[d]; ++d) { } if (d < Sn.length) { throw new Sk(Hs) } c = tk(b[d], 10); if (c == -1) { throw new Sk(Hs) } this.b = this.b * 10 + c; ++d; do { c = tk(b[d], 10); if (c == -1) { if (b[d] == 32) { ++d; break } throw new Sk(Hs) } this.b = this.b * 10 + c; if (this.b < 0) { throw new Sk(Hs) } ++d } while (true); for (e = 0; e < Tn.length && b[d] == Tn[e]; ++d, ++e) { } if (e < Tn.length) { throw new Sk(Hs) } this.c = Vo(Ll(b, d, b.length - d)) } + function Em() { Em = rr; Cm = mc(Od, { 6: 1 }, -1, [-2147483648, 1162261467, 1073741824, 1220703125, 362797056, 1977326743, 1073741824, 387420489, 1000000000, 214358881, 429981696, 815730721, 1475789056, 170859375, 268435456, 410338673, 612220032, 893871739, 1280000000, 1801088541, 113379904, 148035889, 191102976, 244140625, 308915776, 387420489, 481890304, 594823321, 729000000, 887503681, 1073741824, 1291467969, 1544804416, 1838265625, 60466176]); Dm = mc(Od, { 6: 1 }, -1, [-1, -1, 31, 19, 15, 13, 11, 11, 10, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5]) } + function uf(a, b, c) { var d, e, f, g, i; d = a.f - b.f; if (b.b == 0 && b.g != -1 || a.b == 0 && a.g != -1 || c.b == 0) { return Qf(tf(a, b), c) } if ((a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1) < d - 1) { e = b; g = a } else if ((b.e > 0 ? b.e : el((b.b - 1) * 0.3010299956639812) + 1) < -d - 1) { e = a; g = b } else { return Qf(tf(a, b), c) } if (c.b >= (e.e > 0 ? e.e : el((e.b - 1) * 0.3010299956639812) + 1)) { return Qf(tf(a, b), c) } f = e.r(); if (f == g.r()) { i = fn(lo((!e.d && (e.d = Li(e.g)), e.d), 10), Ki(ue(f))) } else { i = rn((!e.d && (e.d = Li(e.g)), e.d), Ki(ue(f))); i = fn(lo(i, 10), Ki(ue(f * 9))) } e = new og(i, e.f + 1); return Qf(e, c) } + function $f(a) { var b, c, d, e, f, g, i, j; g = Hm((!a.d && (a.d = Li(a.g)), a.d), 0); if (a.f == 0) { return g } b = (!a.d && (a.d = Li(a.g)), a.d).r() < 0 ? 2 : 1; d = g.length; e = -a.f + d - b; j = new hm(g); if (a.f > 0 && e >= -6) { if (e >= 0) { em(j, d - Bc(a.f), ds) } else { ec(j.b, b - 1, b - 1, es); em(j, b + 1, Ll(ef, 0, -Bc(e) - 1)) } } else { c = d - b; i = Bc(e % 3); if (i != 0) { if ((!a.d && (a.d = Li(a.g)), a.d).r() == 0) { i = i < 0 ? -i : 3 - i; e += i } else { i = i < 0 ? i + 3 : i; e -= i; b += i } if (c < 3) { for (f = i - c; f > 0; --f) { em(j, d++, Tr) } } } if (d - b >= 1) { ec(j.b, b, b, ds); ++d } if (e != 0) { ec(j.b, d, d, fs); e > 0 && em(j, ++d, gs); em(j, ++d, Lr + Ke(te(e))) } } return j.b.b } + function nm(a, b, c, d, e) { var f, g, i, j, k, n, o, q, r; if (a == null || c == null) { throw new jl } q = a.gC(); j = c.gC(); if ((q.c & 4) == 0 || (j.c & 4) == 0) { throw new rk('Must be array types') } o = q.b; g = j.b; if (!((o.c & 1) != 0 ? o == g : (g.c & 1) == 0)) { throw new rk('Array types must match') } r = a.length; k = c.length; if (b < 0 || d < 0 || e < 0 || b + e > r || d + e > k) { throw new Vk } if (((o.c & 1) == 0 || (o.c & 4) != 0) && q != j) { n = vc(a, 11); f = vc(c, 11); if (Ac(a) === Ac(c) && b < d) { b += e; for (i = d + e; i-- > d;) { nc(f, i, n[--b]) } } else { for (i = d + e; d < i;) { nc(f, d++, n[b++]) } } } else { Array.prototype.splice.apply(c, [d, e].concat(a.slice(b, b + e))) } } + function xo(a) { uo(); var b, c, d, e, f, g, i; f = lc(Od, { 6: 1 }, -1, to.length, 1); d = lc(Zd, { 6: 1 }, -1, 1024, 2); if (a.e == 1 && a.b[0] >= 0 && a.b[0] < to[to.length - 1]) { for (c = 0; a.b[0] >= to[c]; ++c) { } return so[c] } i = new si(1, a.e, lc(Od, { 6: 1 }, -1, a.e + 1, 1)); nm(a.b, 0, i.b, 0, a.e); mi(a, 0) ? nn(i, 2) : (i.b[0] |= 1); e = i.ab(); for (b = 2; e < ro[b]; ++b) { } for (c = 0; c < to.length; ++c) { f[c] = bn(i, to[c]) - 1024 } while (true) { Cq(d, d.length); for (c = 0; c < to.length; ++c) { f[c] = (f[c] + 1024) % to[c]; e = f[c] == 0 ? 0 : to[c] - f[c]; for (; e < 1024; e += to[c]) { d[e] = true } } for (e = 0; e < 1024; ++e) { if (!d[e]) { g = Rh(i); nn(g, e); if (wo(g, b)) { return g } } } nn(i, 1024) } } + function Qo() { Qo = rr; Ho = new Ro('UP', 0); Bo = new Ro('DOWN', 1); Ao = new Ro('CEILING', 2); Co = new Ro('FLOOR', 3); Fo = new Ro('HALF_UP', 4); Do = new Ro('HALF_DOWN', 5); Eo = new Ro('HALF_EVEN', 6); Go = new Ro('UNNECESSARY', 7); zo = mc(Yd, { 6: 1 }, 19, [Ho, Bo, Ao, Co, Fo, Do, Eo, Go]); Io = mc(Md, { 6: 1 }, -1, [67, 69, 73, 76, 73, 78, 71]); Jo = mc(Md, { 6: 1 }, -1, [68, 79, 87, 78]); Ko = mc(Md, { 6: 1 }, -1, [70, 76, 79, 79, 82]); Lo = mc(Md, { 6: 1 }, -1, [72, 65, 76, 70, 95, 68, 79, 87, 78]); Mo = mc(Md, { 6: 1 }, -1, [72, 65, 76, 70, 95, 69, 86, 69, 78]); No = mc(Md, { 6: 1 }, -1, [72, 65, 76, 70, 95, 85, 80]); Oo = mc(Md, { 6: 1 }, -1, [85, 78, 78, 69, 67, 69, 83, 83, 65, 82, 89]); Po = mc(Md, { 6: 1 }, -1, [85, 80]) } + function wf(a, b) { var c, d, e, f, g, i, j, k, n, o; k = (!a.d && (a.d = Li(a.g)), a.d); n = (!b.d && (b.d = Li(b.g)), b.d); c = a.f - b.f; g = 0; e = 1; i = kf.length - 1; if (b.b == 0 && b.g != -1) { throw new nk(_r) } if (k.r() == 0) { return Ig(c) } d = Yh(k, n); k = Th(k, d); n = Th(n, d); f = n.bb(); n = n.fb(f); do { o = Uh(n, kf[e]); if (o[1].r() == 0) { g += e; e < i && ++e; n = o[0] } else { if (e == 1) { break } e = 1 } } while (true); if (!n._().eQ((Oh(), Jh))) { throw new nk('Non-terminating decimal expansion; no exact representable decimal result') } n.r() < 0 && (k = k.cb()); j = Dg(c + (f > g ? f : g)); e = f - g; k = e > 0 ? (go(), e < eo.length ? lo(k, eo[e]) : e < bo.length ? ei(k, bo[e]) : ei(k, bo[1].db(e))) : k.eb(-e); return new dg(k, j) } + function ee(a, b, c) { var d, e, f, g, i, j; if (b.l == 0 && b.m == 0 && b.h == 0) { throw new nk('divide by zero') } if (a.l == 0 && a.m == 0 && a.h == 0) { c && (ae = de(0, 0, 0)); return de(0, 0, 0) } if (b.h == 524288 && b.m == 0 && b.l == 0) { return fe(a, c) } j = false; if (~~b.h >> 19 != 0) { b = Be(b); j = true } g = le(b); f = false; e = false; d = false; if (a.h == 524288 && a.m == 0 && a.l == 0) { e = true; f = true; if (g == -1) { a = ce((Qe(), Me)); d = true; j = !j } else { i = Fe(a, g); j && je(i); c && (ae = de(0, 0, 0)); return i } } else if (~~a.h >> 19 != 0) { f = true; a = Be(a); d = true; j = !j } if (g != -1) { return ge(a, g, j, f, c) } if (!we(a, b)) { c && (f ? (ae = Be(a)) : (ae = de(a.l, a.m, a.h))); return de(0, 0, 0) } return he(d ? a : de(a.l, a.m, a.h), b, j, f, e, c) } + function An(a, b) { var c, d, e, f, g, i, j, k; e = Zh(a); f = Zh(b); if (e >= b.e) { return a } j = gl(a.e, b.e); d = e; if (f > e) { i = lc(Od, { 6: 1 }, -1, j, 1); g = hl(a.e, f); for (; d < g; ++d) { i[d] = a.b[d] } if (d == a.e) { for (d = f; d < b.e; ++d) { i[d] = b.b[d] } } } else { c = -a.b[e] & ~b.b[e]; if (c == 0) { g = hl(b.e, a.e); for (++d; d < g && (c = ~(a.b[d] | b.b[d])) == 0; ++d) { } if (c == 0) { for (; d < b.e && (c = ~b.b[d]) == 0; ++d) { } for (; d < a.e && (c = ~a.b[d]) == 0; ++d) { } if (c == 0) { ++j; i = lc(Od, { 6: 1 }, -1, j, 1); i[j - 1] = 1; k = new si(-1, j, i); return k } } } i = lc(Od, { 6: 1 }, -1, j, 1); i[d] = -c; ++d } g = hl(b.e, a.e); for (; d < g; ++d) { i[d] = a.b[d] | b.b[d] } for (; d < a.e; ++d) { i[d] = a.b[d] } for (; d < b.e; ++d) { i[d] = b.b[d] } k = new si(-1, j, i); return k } + function Lj(a) { var b = []; for (var c in a) { var d = typeof a[c]; d != ws ? (b[b.length] = d) : a[c] instanceof Array ? (b[b.length] = js) : $wnd && $wnd.bigdecimal && $wnd.bigdecimal.BigInteger && a[c] instanceof $wnd.bigdecimal.BigInteger ? (b[b.length] = is) : $wnd && $wnd.bigdecimal && $wnd.bigdecimal.BigDecimal && a[c] instanceof $wnd.bigdecimal.BigDecimal ? (b[b.length] = ps) : $wnd && $wnd.bigdecimal && $wnd.bigdecimal.RoundingMode && a[c] instanceof $wnd.bigdecimal.RoundingMode ? (b[b.length] = xs) : $wnd && $wnd.bigdecimal && $wnd.bigdecimal.MathContext && a[c] instanceof $wnd.bigdecimal.MathContext ? (b[b.length] = os) : (b[b.length] = ws) } return b.join(ys) } + function Ae(a, b) { var c, d, e, f, g, i, j, k, n, o, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G; c = a.l & 8191; d = ~~a.l >> 13 | (a.m & 15) << 9; e = ~~a.m >> 4 & 8191; f = ~~a.m >> 17 | (a.h & 255) << 5; g = ~~(a.h & 1048320) >> 8; i = b.l & 8191; j = ~~b.l >> 13 | (b.m & 15) << 9; k = ~~b.m >> 4 & 8191; n = ~~b.m >> 17 | (b.h & 255) << 5; o = ~~(b.h & 1048320) >> 8; C = c * i; D = d * i; E = e * i; F = f * i; G = g * i; if (j != 0) { D += c * j; E += d * j; F += e * j; G += f * j } if (k != 0) { E += c * k; F += d * k; G += e * k } if (n != 0) { F += c * n; G += d * n } o != 0 && (G += c * o); r = C & 4194303; s = (D & 511) << 13; q = r + s; u = ~~C >> 22; v = ~~D >> 9; w = (E & 262143) << 4; x = (F & 31) << 17; t = u + v + w + x; z = ~~E >> 18; A = ~~F >> 5; B = (G & 4095) << 8; y = z + A + B; t += ~~q >> 22; q &= 4194303; y += ~~t >> 22; t &= 4194303; y &= 1048575; return de(q, t, y) } + function zf(a, b, c) { var d, e, f, g, i, j, k, n; n = Ie(pe(ue(c.b), vr)) + (b.e > 0 ? b.e : el((b.b - 1) * 0.3010299956639812) + 1) - (a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1); e = a.f - b.f; j = e; f = 1; i = nf.length - 1; k = mc(Xd, { 6: 1 }, 17, [(!a.d && (a.d = Li(a.g)), a.d)]); if (c.b == 0 || a.b == 0 && a.g != -1 || b.b == 0 && b.g != -1) { return wf(a, b) } if (n > 0) { nc(k, 0, ei((!a.d && (a.d = Li(a.g)), a.d), po(n))); j += n } k = Uh(k[0], (!b.d && (b.d = Li(b.g)), b.d)); g = k[0]; if (k[1].r() != 0) { d = Qh(ki(k[1]), (!b.d && (b.d = Li(b.g)), b.d)); g = fn(ei(g, (Oh(), Lh)), Ki(ue(k[0].r() * (5 + d)))); ++j } else { while (!g.gb(0)) { k = Uh(g, nf[f]); if (k[1].r() == 0 && j - f >= e) { j -= f; f < i && ++f; g = k[0] } else { if (f == 1) { break } f = 1 } } } return new eg(g, Dg(j), c) } + function Wm(a, b) { var c, d, e, f, g, i, j, k, n, o, q; if (a.f == 0) { throw new nk(vs) } if (!b.gb(0)) { return Vm(a, b) } f = b.e * 32; o = Rh(b); q = Rh(a); g = gl(q.e, o.e); j = new si(1, 1, lc(Od, { 6: 1 }, -1, g + 1, 1)); k = new si(1, 1, lc(Od, { 6: 1 }, -1, g + 1, 1)); k.b[0] = 1; c = 0; d = o.bb(); e = q.bb(); if (d > e) { vm(o, d); vm(q, e); um(j, e); c += d - e } else { vm(o, d); vm(q, e); um(k, d); c += e - d } j.f = 1; while (q.r() > 0) { while (Qh(o, q) > 0) { pn(o, q); n = o.bb(); vm(o, n); mn(j, k); um(k, n); c += n } while (Qh(o, q) <= 0) { pn(q, o); if (q.r() == 0) { break } n = q.bb(); vm(q, n); mn(k, j); um(j, n); c += n } } if (!(o.e == 1 && o.b[0] == 1)) { throw new nk(vs) } Qh(j, b) >= 0 && pn(j, b); j = rn(b, j); i = Jm(b); if (c > f) { j = Ym(j, (Oh(), Jh), b, i); c = c - f } j = Ym(j, Ai(f - c), b, i); return j } + function Xf(a, b) { var c; c = a.f - b.f; if (a.b == 0 && a.g != -1) { if (c <= 0) { return Mf(b) } if (b.b == 0 && b.g != -1) { return a } } else if (b.b == 0 && b.g != -1) { if (c >= 0) { return a } } if (c == 0) { if (gl(a.b, b.b) + 1 < 54) { return new pg(a.g - b.g, a.f) } return new og(rn((!a.d && (a.d = Li(a.g)), a.d), (!b.d && (b.d = Li(b.g)), b.d)), a.f) } else if (c > 0) { if (c < hf.length && gl(a.b, b.b + jf[Bc(c)]) + 1 < 54) { return new pg(a.g - b.g * hf[Bc(c)], a.f) } return new og(rn((!a.d && (a.d = Li(a.g)), a.d), mo((!b.d && (b.d = Li(b.g)), b.d), Bc(c))), a.f) } else { c = -c; if (c < hf.length && gl(a.b + jf[Bc(c)], b.b) + 1 < 54) { return new pg(a.g * hf[Bc(c)] - b.g, b.f) } return new og(rn(mo((!a.d && (a.d = Li(a.g)), a.d), Bc(c)), (!b.d && (b.d = Li(b.g)), b.d)), b.f) } } + function Df(a, b) { var c, d, e, f, g, i, j; mc(Xd, { 6: 1 }, 17, [(!a.d && (a.d = Li(a.g)), a.d)]); f = a.f - b.f; j = 0; c = 1; e = nf.length - 1; if (b.b == 0 && b.g != -1) { throw new nk(_r) } if ((b.e > 0 ? b.e : el((b.b - 1) * 0.3010299956639812) + 1) + f > (a.e > 0 ? a.e : el((a.b - 1) * 0.3010299956639812) + 1) + 1 || a.b == 0 && a.g != -1) { d = (Oh(), Nh) } else if (f == 0) { d = Th((!a.d && (a.d = Li(a.g)), a.d), (!b.d && (b.d = Li(b.g)), b.d)) } else if (f > 0) { g = po(f); d = Th((!a.d && (a.d = Li(a.g)), a.d), ei((!b.d && (b.d = Li(b.g)), b.d), g)); d = ei(d, g) } else { g = po(-f); d = Th(ei((!a.d && (a.d = Li(a.g)), a.d), g), (!b.d && (b.d = Li(b.g)), b.d)); while (!d.gb(0)) { i = Uh(d, nf[c]); if (i[1].r() == 0 && j - c >= f) { j -= c; c < e && ++c; d = i[0] } else { if (c == 1) { break } c = 1 } } f = j } return d.r() == 0 ? Ig(f) : new dg(d, Dg(f)) } + function Fm(a, b) { Em(); var c, d, e, f, g, i, j, k, n, o, q, r, s, t, u, v, w, x; u = a.f; o = a.e; i = a.b; if (u == 0) { return Tr } if (o == 1) { j = i[0]; x = qe(ue(j), yr); u < 0 && (x = Be(x)); return cl(x, b) } if (b == 10 || b < 2 || b > 36) { return Hm(a, 0) } d = Math.log(b) / Math.log(2); s = Bc(sm(new Pi(a.f < 0 ? new si(1, a.e, a.b) : a)) / d + (u < 0 ? 1 : 0)) + 1; t = lc(Md, { 6: 1 }, -1, s, 1); f = s; if (b != 16) { v = lc(Od, { 6: 1 }, -1, o, 1); nm(i, 0, v, 0, o); w = o; e = Dm[b]; c = Cm[b - 2]; while (true) { r = Mm(v, v, w, c); q = f; do { t[--f] = uk(r % b, b) } while ((r = ~~(r / b)) != 0 && f != 0); g = e - q + f; for (k = 0; k < g && f > 0; ++k) { t[--f] = 48 } for (k = w - 1; k > 0 && v[k] == 0; --k) { } w = k + 1; if (w == 1 && v[0] == 0) { break } } } else { for (k = 0; k < o; ++k) { for (n = 0; n < 8 && f > 0; ++n) { r = ~~i[k] >> (n << 2) & 15; t[--f] = uk(r, 16) } } } while (t[f] == 48) { ++f } u == -1 && (t[--f] = 45); return Ll(t, f, s - f) } + function Km(a, b, c, d, e, f) { var g, i, j, k, n, o, q, r, s, t, u, v, w, x, y, z, A; u = lc(Od, { 6: 1 }, -1, d + 1, 1); v = lc(Od, { 6: 1 }, -1, f + 1, 1); j = $k(e[f - 1]); if (j != 0) { xm(v, e, 0, j); xm(u, c, 0, j) } else { nm(c, 0, u, 0, d); nm(e, 0, v, 0, f) } k = v[f - 1]; o = b - 1; q = d; while (o >= 0) { if (u[q] == k) { n = -1 } else { w = pe(Ee(qe(ue(u[q]), yr), 32), qe(ue(u[q - 1]), yr)); z = Nm(w, k); n = Je(z); y = Je(Fe(z, 32)); if (n != 0) { x = false; ++n; do { --n; if (x) { break } s = Ae(qe(ue(n), yr), qe(ue(v[f - 2]), yr)); A = pe(Ee(ue(y), 32), qe(ue(u[q - 2]), yr)); t = pe(qe(ue(y), yr), qe(ue(k), yr)); $k(Je(Ge(t, 32))) < 32 ? (x = true) : (y = Je(t)) } while (ve(Le(s, Gr), Le(A, Gr))) } } if (n != 0) { g = $m(u, q - f, v, f, n); if (g != 0) { --n; i = ur; for (r = 0; r < f; ++r) { i = pe(i, pe(qe(ue(u[q - f + r]), yr), qe(ue(v[r]), yr))); u[q - f + r] = Je(i); i = Ge(i, 32) } } } a != null && (a[o] = n); --q; --o } if (j != 0) { Am(v, f, u, 0, j); return v } nm(u, 0, v, 0, f); return u } + function Vm(a, b) { var c, d, e, f, g, i, j, k, n, o, q; f = gl(a.e, b.e); n = lc(Od, { 6: 1 }, -1, f + 1, 1); q = lc(Od, { 6: 1 }, -1, f + 1, 1); nm(b.b, 0, n, 0, b.e); nm(a.b, 0, q, 0, a.e); k = new si(b.f, b.e, n); o = new si(a.f, a.e, q); i = new si(0, 1, lc(Od, { 6: 1 }, -1, f + 1, 1)); j = new si(1, 1, lc(Od, { 6: 1 }, -1, f + 1, 1)); j.b[0] = 1; c = 0; d = 0; g = b.ab(); while (!Um(k, c) && !Um(o, d)) { e = Sm(k, g); if (e != 0) { um(k, e); if (c >= d) { um(i, e) } else { vm(j, d - c < e ? d - c : e); e - (d - c) > 0 && um(i, e - d + c) } c += e } e = Sm(o, g); if (e != 0) { um(o, e); if (d >= c) { um(j, e) } else { vm(i, c - d < e ? c - d : e); e - (c - d) > 0 && um(j, e - c + d) } d += e } if (k.r() == o.r()) { if (c <= d) { ln(k, o); ln(i, j) } else { ln(o, k); ln(j, i) } } else { if (c <= d) { kn(k, o); kn(i, j) } else { kn(o, k); kn(j, i) } } if (o.r() == 0 || k.r() == 0) { throw new nk(vs) } } if (Um(o, d)) { i = j; o.r() != k.r() && (k = k.cb()) } k.gb(g) && (i.r() < 0 ? (i = i.cb()) : (i = rn(b, i))); i.r() < 0 && (i = fn(i, b)); return i } + function We() { var c = navigator.userAgent.toLowerCase(); var d = function (a) { return parseInt(a[1]) * 1000 + parseInt(a[2]) }; if (function () { return c.indexOf(Wr) != -1 }()) return Wr; if (function () { return c.indexOf('webkit') != -1 || function () { if (c.indexOf('chromeframe') != -1) { return true } if (typeof window['ActiveXObject'] != Xr) { try { var b = new ActiveXObject('ChromeTab.ChromeFrame'); if (b) { b.registerBhoIfNeeded(); return true } } catch (a) { } } return false }() }()) return Sr; if (function () { return c.indexOf(Yr) != -1 && $doc.documentMode >= 9 }()) return 'ie9'; if (function () { return c.indexOf(Yr) != -1 && $doc.documentMode >= 8 }()) return 'ie8'; if (function () { var a = /msie ([0-9]+)\.([0-9]+)/.exec(c); if (a && a.length == 3) return d(a) >= 6000 }()) return 'ie6'; if (function () { return c.indexOf('gecko') != -1 }()) return 'gecko1_8'; return 'unknown' } + function Kn(a, b) { var c, d, e, f, g, i, j, k; j = gl(b.e, a.e); e = Zh(b); f = Zh(a); if (e < f) { i = lc(Od, { 6: 1 }, -1, j, 1); d = e; i[e] = b.b[e]; g = hl(b.e, f); for (++d; d < g; ++d) { i[d] = b.b[d] } if (d == b.e) { for (; d < a.e; ++d) { i[d] = a.b[d] } } } else if (f < e) { i = lc(Od, { 6: 1 }, -1, j, 1); d = f; i[f] = -a.b[f]; g = hl(a.e, e); for (++d; d < g; ++d) { i[d] = ~a.b[d] } if (d == e) { i[d] = ~(a.b[d] ^ -b.b[d]); ++d } else { for (; d < e; ++d) { i[d] = -1 } for (; d < b.e; ++d) { i[d] = b.b[d] } } } else { d = e; c = a.b[e] ^ -b.b[e]; if (c == 0) { g = hl(a.e, b.e); for (++d; d < g && (c = a.b[d] ^ ~b.b[d]) == 0; ++d) { } if (c == 0) { for (; d < a.e && (c = ~a.b[d]) == 0; ++d) { } for (; d < b.e && (c = ~b.b[d]) == 0; ++d) { } if (c == 0) { j = j + 1; i = lc(Od, { 6: 1 }, -1, j, 1); i[j - 1] = 1; k = new si(-1, j, i); return k } } } i = lc(Od, { 6: 1 }, -1, j, 1); i[d] = -c; ++d } g = hl(b.e, a.e); for (; d < g; ++d) { i[d] = ~(~b.b[d] ^ a.b[d]) } for (; d < a.e; ++d) { i[d] = a.b[d] } for (; d < b.e; ++d) { i[d] = b.b[d] } k = new si(-1, j, i); Sh(k); return k } + function rf() { rf = rr; var a, b; lf = new qg(sr, 0); mf = new qg(tr, 0); of = new qg(ur, 0); df = lc(Wd, { 6: 1 }, 16, 11, 0); ef = lc(Md, { 6: 1 }, -1, 100, 1); ff = mc(Nd, { 6: 1 }, -1, [1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125, 6103515625, 30517578125, 152587890625, 762939453125, 3814697265625, 19073486328125, 95367431640625, 476837158203125, 2384185791015625]); gf = lc(Od, { 6: 1 }, -1, ff.length, 1); hf = mc(Nd, { 6: 1 }, -1, [1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000, 100000000000, 1000000000000, 10000000000000, 100000000000000, 1000000000000000, 10000000000000000]); jf = lc(Od, { 6: 1 }, -1, hf.length, 1); pf = lc(Wd, { 6: 1 }, 16, 11, 0); a = 0; for (; a < pf.length; ++a) { nc(df, a, new qg(ue(a), 0)); nc(pf, a, new qg(ur, a)); ef[a] = 48 } for (; a < ef.length; ++a) { ef[a] = 48 } for (b = 0; b < gf.length; ++b) { gf[b] = sg(ff[b]) } for (b = 0; b < jf.length; ++b) { jf[b] = sg(hf[b]) } nf = (go(), co); kf = bo } + function Hf(a, b) { var c, d, e, f, g, i, j, k, n, o; c = 0; i = 0; g = b.length; n = new gm(b.length); if (0 < g && b.charCodeAt(0) == 43) { ++i; ++c; if (i < g && (b.charCodeAt(i) == 43 || b.charCodeAt(i) == 45)) { throw new pl(Zr + b + $r) } } e = 0; o = false; for (; i < g && b.charCodeAt(i) != 46 && b.charCodeAt(i) != 101 && b.charCodeAt(i) != 69; ++i) { o || (b.charCodeAt(i) == 48 ? ++e : (o = true)) } am(n, b, c, i); if (i < g && b.charCodeAt(i) == 46) { ++i; c = i; for (; i < g && b.charCodeAt(i) != 101 && b.charCodeAt(i) != 69; ++i) { o || (b.charCodeAt(i) == 48 ? ++e : (o = true)) } a.f = i - c; am(n, b, c, i) } else { a.f = 0 } if (i < g && (b.charCodeAt(i) == 101 || b.charCodeAt(i) == 69)) { ++i; c = i; if (i < g && b.charCodeAt(i) == 43) { ++i; i < g && b.charCodeAt(i) != 45 && ++c } j = b.substr(c, g - c); a.f = a.f - af(j, 10); if (a.f != Bc(a.f)) { throw new pl('Scale out of range.') } } k = n.b.b; if (k.length < 16) { a.g = zg(k); if (Hk(a.g)) { throw new pl(Zr + b + $r) } a.b = sg(a.g) } else { Tf(a, new oi(k)) } a.e = n.b.b.length - e; for (f = 0; f < n.b.b.length; ++f) { d = vl(n.b.b, f); if (d != 45 && d != 48) { break } --a.e } } + function Im(a, b) { Em(); var c, d, e, f, g, i, j, k, n, o; g = xe(a, ur); g && (a = Be(a)); if (se(a, ur)) { switch (b) { case 0: return Tr; case 1: return zs; case 2: return As; case 3: return Bs; case 4: return Cs; case 5: return Ds; case 6: return Es; default: k = new fm; b < 0 ? (k.b.b += Fs, k) : (k.b.b += Gs, k); cc(k.b, b == -2147483648 ? '2147483648' : Lr + -b); return k.b.b; } } j = lc(Md, { 6: 1 }, -1, 19, 1); c = 18; o = a; do { i = o; o = re(o, tr); j[--c] = Je(pe(Cr, He(i, Ae(o, tr)))) & 65535 } while (Ce(o, ur)); d = He(He(He(Dr, ue(c)), ue(b)), sr); if (b == 0) { g && (j[--c] = 45); return Ll(j, c, 18 - c) } if (b > 0 && we(d, Er)) { if (we(d, ur)) { e = c + Je(d); for (f = 17; f >= e; --f) { j[f + 1] = j[f] } j[++e] = 46; g && (j[--c] = 45); return Ll(j, c, 18 - c + 1) } for (f = 2; xe(ue(f), pe(Be(d), sr)); ++f) { j[--c] = 48 } j[--c] = 46; j[--c] = 48; g && (j[--c] = 45); return Ll(j, c, 18 - c) } n = c + 1; k = new gm; g && (k.b.b += Ur, k); if (18 - n >= 1) { Zl(k, j[c]); k.b.b += ds; dc(k.b, Ll(j, c + 1, 18 - c - 1)) } else { dc(k.b, Ll(j, c, 18 - c)) } k.b.b += fs; ve(d, ur) && (k.b.b += gs, k); cc(k.b, Lr + Ke(d)); return k.b.b } + function Ef(a, b, c) { var d, e, f, g, i, j, k, n, o, q, r, s, t; n = c.b; e = Pf(a) - b.q(); k = nf.length - 1; f = a.f - b.f; o = f; r = e - f + 1; q = lc(Xd, { 6: 1 }, 17, 2, 0); if (n == 0 || a.b == 0 && a.g != -1 || b.b == 0 && b.g != -1) { return Df(a, b) } if (r <= 0) { nc(q, 0, (Oh(), Nh)) } else if (f == 0) { nc(q, 0, Th((!a.d && (a.d = Li(a.g)), a.d), (!b.d && (b.d = Li(b.g)), b.d))) } else if (f > 0) { nc(q, 0, Th((!a.d && (a.d = Li(a.g)), a.d), ei((!b.d && (b.d = Li(b.g)), b.d), po(f)))); o = f < (n - r + 1 > 0 ? n - r + 1 : 0) ? f : n - r + 1 > 0 ? n - r + 1 : 0; nc(q, 0, ei(q[0], po(o))) } else { g = -f < (n - e > 0 ? n - e : 0) ? -f : n - e > 0 ? n - e : 0; q = Uh(ei((!a.d && (a.d = Li(a.g)), a.d), po(g)), (!b.d && (b.d = Li(b.g)), b.d)); o += g; g = -o; if (q[1].r() != 0 && g > 0) { d = (new cg(q[1])).q() + g - b.q(); if (d == 0) { nc(q, 1, Th(ei(q[1], po(g)), (!b.d && (b.d = Li(b.g)), b.d))); d = dl(q[1].r()) } if (d > 0) { throw new nk(as) } } } if (q[0].r() == 0) { return Ig(f) } t = q[0]; j = new cg(q[0]); s = j.q(); i = 1; while (!t.gb(0)) { q = Uh(t, nf[i]); if (q[1].r() == 0 && (s - i >= n || o - i >= f)) { s -= i; o -= i; i < k && ++i; t = q[0] } else { if (i == 1) { break } i = 1 } } if (s > n) { throw new nk(as) } j.f = Dg(o); Tf(j, t); return j } + function Ve() { var a, b, c; b = $doc.compatMode; a = mc(Vd, { 6: 1 }, 1, [Vr]); for (c = 0; c < a.length; ++c) { if (wl(a[c], b)) { return } } a.length == 1 && wl(Vr, a[0]) && wl('BackCompat', b) ? "GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').
Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,
e.g. by using <!doctype html> at the start of your application's HTML page.

To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding
the following line to your*.gwt.xml module file:
  <extend-configuration-property name=\"document.compatMode\" value=\"" + b + '"/>' : "Your *.gwt.xml module configuration prohibits the use of the current doucment rendering mode (document.compatMode=' " + b + "').
Modify your application's host HTML page doctype, or update your custom 'document.compatMode' configuration property settings." } + function Lg(a) { rf(); var b, c; c = Lj(a); if (c == is) b = new cg(new oi(a[0].toString())); else if (c == 'BigInteger number') b = new dg(new oi(a[0].toString()), a[1]); else if (c == 'BigInteger number MathContext') b = new eg(new oi(a[0].toString()), a[1], new Yn(a[2].toString())); else if (c == 'BigInteger MathContext') b = new fg(new oi(a[0].toString()), new Yn(a[1].toString())); else if (c == js) b = new gg(Cl(a[0].toString())); else if (c == 'array number number') b = new hg(Cl(a[0].toString()), a[1], a[2]); else if (c == 'array number number MathContext') b = new ig(Cl(a[0].toString()), a[1], a[2], new Yn(a[3].toString())); else if (c == 'array MathContext') b = new jg(Cl(a[0].toString()), new Yn(a[1].toString())); else if (c == ks) b = new kg(a[0]); else if (c == ls) b = new lg(a[0], new Yn(a[1].toString())); else if (c == ms) b = new mg(a[0].toString()); else if (c == 'string MathContext') b = new ng(a[0].toString(), new Yn(a[1].toString())); else throw new V('Unknown call signature for obj = new java.math.BigDecimal: ' + c); return new Kg(b) } + function uo() { uo = rr; var a; ro = mc(Od, { 6: 1 }, -1, [0, 0, 1854, 1233, 927, 747, 627, 543, 480, 431, 393, 361, 335, 314, 295, 279, 265, 253, 242, 232, 223, 216, 181, 169, 158, 150, 145, 140, 136, 132, 127, 123, 119, 114, 110, 105, 101, 96, 92, 87, 83, 78, 73, 69, 64, 59, 54, 49, 44, 38, 32, 26, 1]); to = mc(Od, { 6: 1 }, -1, [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997, 1009, 1013, 1019, 1021]); so = lc(Xd, { 6: 1 }, 17, to.length, 0); for (a = 0; a < to.length; ++a) { nc(so, a, Ki(ue(to[a]))) } } + function Xj() { nr(rs, Lr); if ($wnd.bigdecimal.MathContext) { var b = $wnd.bigdecimal.MathContext } $wnd.bigdecimal.MathContext = Jr(function () { if (arguments.length == 1 && arguments[0] != null && arguments[0].gC() == Uc) { this.__gwt_instance = arguments[0] } else if (arguments.length == 0) { this.__gwt_instance = new Nj; or(this.__gwt_instance, this) } else if (arguments.length == 1) { this.__gwt_instance = Zj(arguments[0]); or(this.__gwt_instance, this) } }); var c = $wnd.bigdecimal.MathContext.prototype = new Object; if (b) { for (p in b) { $wnd.bigdecimal.MathContext[p] = b[p] } } c.getPrecision = jr(Number, Jr(function () { var a = this.__gwt_instance.Hb(); return a })); c.getRoundingMode = Jr(function () { var a = this.__gwt_instance.Ib(); return pr(a) }); c.hashCode = jr(Number, Jr(function () { var a = this.__gwt_instance.hC(); return a })); c.toString = Jr(function () { var a = this.__gwt_instance.tS(); return a }); $wnd.bigdecimal.MathContext.DECIMAL128 = Jr(function () { var a = new Oj(Wn((Un(), On))); return pr(a) }); $wnd.bigdecimal.MathContext.DECIMAL32 = Jr(function () { var a = new Oj(Wn((Un(), Pn))); return pr(a) }); $wnd.bigdecimal.MathContext.DECIMAL64 = Jr(function () { var a = new Oj(Wn((Un(), Qn))); return pr(a) }); $wnd.bigdecimal.MathContext.UNLIMITED = Jr(function () { var a = new Oj(Wn((Un(), Rn))); return pr(a) }); mr(Uc, $wnd.bigdecimal.MathContext) } + function Hm(a, b) { Em(); var c, d, e, f, g, i, j, k, n, o, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E; z = a.f; q = a.e; e = a.b; if (z == 0) { switch (b) { case 0: return Tr; case 1: return zs; case 2: return As; case 3: return Bs; case 4: return Cs; case 5: return Ds; case 6: return Es; default: x = new fm; b < 0 ? (x.b.b += Fs, x) : (x.b.b += Gs, x); ac(x.b, -b); return x.b.b; } } v = q * 10 + 1 + 7; w = lc(Md, { 6: 1 }, -1, v + 1, 1); c = v; if (q == 1) { g = e[0]; if (g < 0) { E = qe(ue(g), yr); do { r = E; E = re(E, tr); w[--c] = 48 + Je(He(r, Ae(E, tr))) & 65535 } while (Ce(E, ur)) } else { E = g; do { r = E; E = ~~(E / 10); w[--c] = 48 + (r - E * 10) & 65535 } while (E != 0) } } else { B = lc(Od, { 6: 1 }, -1, q, 1); D = q; nm(e, 0, B, 0, q); F: while (true) { y = ur; for (j = D - 1; j >= 0; --j) { C = pe(Ee(y, 32), qe(ue(B[j]), yr)); t = Gm(C); B[j] = Je(t); y = ue(Je(Fe(t, 32))) } u = Je(y); s = c; do { w[--c] = 48 + u % 10 & 65535 } while ((u = ~~(u / 10)) != 0 && c != 0); d = 9 - s + c; for (i = 0; i < d && c > 0; ++i) { w[--c] = 48 } n = D - 1; for (; B[n] == 0; --n) { if (n == 0) { break F } } D = n + 1 } while (w[c] == 48) { ++c } } o = z < 0; f = v - c - b - 1; if (b == 0) { o && (w[--c] = 45); return Ll(w, c, v - c) } if (b > 0 && f >= -6) { if (f >= 0) { k = c + f; for (n = v - 1; n >= k; --n) { w[n + 1] = w[n] } w[++k] = 46; o && (w[--c] = 45); return Ll(w, c, v - c + 1) } for (n = 2; n < -f + 1; ++n) { w[--c] = 48 } w[--c] = 46; w[--c] = 48; o && (w[--c] = 45); return Ll(w, c, v - c) } A = c + 1; x = new gm; o && (x.b.b += Ur, x); if (v - A >= 1) { Zl(x, w[c]); x.b.b += ds; dc(x.b, Ll(w, c + 1, v - c - 1)) } else { dc(x.b, Ll(w, c, v - c)) } x.b.b += fs; f > 0 && (x.b.b += gs, x); cc(x.b, Lr + f); return x.b.b } + function jk() { nr(rs, Lr); if ($wnd.bigdecimal.RoundingMode) { var c = $wnd.bigdecimal.RoundingMode } $wnd.bigdecimal.RoundingMode = Jr(function () { if (arguments.length == 1 && arguments[0] != null && arguments[0].gC() == Wc) { this.__gwt_instance = arguments[0] } else if (arguments.length == 0) { this.__gwt_instance = new ak; or(this.__gwt_instance, this) } }); var d = $wnd.bigdecimal.RoundingMode.prototype = new Object; if (c) { for (p in c) { $wnd.bigdecimal.RoundingMode[p] = c[p] } } $wnd.bigdecimal.RoundingMode.valueOf = Jr(function (a) { var b = new bk((Qo(), Ok((Yo(), Xo), a))); return pr(b) }); $wnd.bigdecimal.RoundingMode.values = Jr(function () { var a = fk(); return qr(a) }); d.name = Jr(function () { var a = this.__gwt_instance.Jb(); return a }); d.toString = Jr(function () { var a = this.__gwt_instance.tS(); return a }); $wnd.bigdecimal.RoundingMode.CEILING = Jr(function () { var a = new bk((Qo(), Ao)); return pr(a) }); $wnd.bigdecimal.RoundingMode.DOWN = Jr(function () { var a = new bk((Qo(), Bo)); return pr(a) }); $wnd.bigdecimal.RoundingMode.FLOOR = Jr(function () { var a = new bk((Qo(), Co)); return pr(a) }); $wnd.bigdecimal.RoundingMode.HALF_DOWN = Jr(function () { var a = new bk((Qo(), Do)); return pr(a) }); $wnd.bigdecimal.RoundingMode.HALF_EVEN = Jr(function () { var a = new bk((Qo(), Eo)); return pr(a) }); $wnd.bigdecimal.RoundingMode.HALF_UP = Jr(function () { var a = new bk((Qo(), Fo)); return pr(a) }); $wnd.bigdecimal.RoundingMode.UNNECESSARY = Jr(function () { var a = new bk((Qo(), Go)); return pr(a) }); $wnd.bigdecimal.RoundingMode.UP = Jr(function () { var a = new bk((Qo(), Ho)); return pr(a) }); mr(Wc, $wnd.bigdecimal.RoundingMode) } + function Hj() { nr(rs, Lr); if ($wnd.bigdecimal.BigInteger) { var d = $wnd.bigdecimal.BigInteger } $wnd.bigdecimal.BigInteger = Jr(function () { if (arguments.length == 1 && arguments[0] != null && arguments[0].gC() == Sc) { this.__gwt_instance = arguments[0] } else if (arguments.length == 0) { this.__gwt_instance = new Ni; or(this.__gwt_instance, this) } else if (arguments.length == 1) { this.__gwt_instance = Jj(arguments[0]); or(this.__gwt_instance, this) } }); var e = $wnd.bigdecimal.BigInteger.prototype = new Object; if (d) { for (p in d) { $wnd.bigdecimal.BigInteger[p] = d[p] } } $wnd.bigdecimal.BigInteger.__init__ = Jr(function (a) { var b = Qi(a); return pr(b) }); e.abs = Jr(function () { var a = this.__gwt_instance._(); return pr(a) }); e.add = Jr(function (a) { var b = this.__gwt_instance.hb(a.__gwt_instance); return pr(b) }); e.and = Jr(function (a) { var b = this.__gwt_instance.ib(a.__gwt_instance); return pr(b) }); e.andNot = Jr(function (a) { var b = this.__gwt_instance.jb(a.__gwt_instance); return pr(b) }); e.bitCount = jr(Number, Jr(function () { var a = this.__gwt_instance.kb(); return a })); e.bitLength = jr(Number, Jr(function () { var a = this.__gwt_instance.ab(); return a })); e.clearBit = Jr(function (a) { var b = this.__gwt_instance.lb(a); return pr(b) }); e.compareTo = jr(Number, Jr(function (a) { var b = this.__gwt_instance.mb(a.__gwt_instance); return b })); e.divide = Jr(function (a) { var b = this.__gwt_instance.nb(a.__gwt_instance); return pr(b) }); e.doubleValue = jr(Number, Jr(function () { var a = this.__gwt_instance.z(); return a })); e.equals = jr(Number, Jr(function (a) { var b = this.__gwt_instance.eQ(a); return b })); e.flipBit = Jr(function (a) { var b = this.__gwt_instance.pb(a); return pr(b) }); e.floatValue = jr(Number, Jr(function () { var a = this.__gwt_instance.A(); return a })); e.gcd = Jr(function (a) { var b = this.__gwt_instance.qb(a.__gwt_instance); return pr(b) }); e.getLowestSetBit = jr(Number, Jr(function () { var a = this.__gwt_instance.bb(); return a })); e.hashCode = jr(Number, Jr(function () { var a = this.__gwt_instance.hC(); return a })); e.intValue = jr(Number, Jr(function () { var a = this.__gwt_instance.B(); return a })); e.isProbablePrime = jr(Number, Jr(function (a) { var b = this.__gwt_instance.rb(a); return b })); e.max = Jr(function (a) { var b = this.__gwt_instance.tb(a.__gwt_instance); return pr(b) }); e.min = Jr(function (a) { var b = this.__gwt_instance.ub(a.__gwt_instance); return pr(b) }); e.mod = Jr(function (a) { var b = this.__gwt_instance.vb(a.__gwt_instance); return pr(b) }); e.modInverse = Jr(function (a) { var b = this.__gwt_instance.wb(a.__gwt_instance); return pr(b) }); e.modPow = Jr(function (a, b) { var c = this.__gwt_instance.xb(a.__gwt_instance, b.__gwt_instance); return pr(c) }); e.multiply = Jr(function (a) { var b = this.__gwt_instance.yb(a.__gwt_instance); return pr(b) }); e.negate = Jr(function () { var a = this.__gwt_instance.cb(); return pr(a) }); e.nextProbablePrime = Jr(function () { var a = this.__gwt_instance.zb(); return pr(a) }); e.not = Jr(function () { var a = this.__gwt_instance.Ab(); return pr(a) }); e.or = Jr(function (a) { var b = this.__gwt_instance.Bb(a.__gwt_instance); return pr(b) }); e.pow = Jr(function (a) { var b = this.__gwt_instance.db(a); return pr(b) }); e.remainder = Jr(function (a) { var b = this.__gwt_instance.Cb(a.__gwt_instance); return pr(b) }); e.setBit = Jr(function (a) { var b = this.__gwt_instance.Db(a); return pr(b) }); e.shiftLeft = Jr(function (a) { var b = this.__gwt_instance.eb(a); return pr(b) }); e.shiftRight = Jr(function (a) { var b = this.__gwt_instance.fb(a); return pr(b) }); e.signum = jr(Number, Jr(function () { var a = this.__gwt_instance.r(); return a })); e.subtract = Jr(function (a) { var b = this.__gwt_instance.Eb(a.__gwt_instance); return pr(b) }); e.testBit = jr(Number, Jr(function (a) { var b = this.__gwt_instance.gb(a); return b })); e.toString_va = Jr(function (a) { var b = this.__gwt_instance.Fb(a); return b }); e.xor = Jr(function (a) { var b = this.__gwt_instance.Gb(a.__gwt_instance); return pr(b) }); e.divideAndRemainder = Jr(function (a) { var b = this.__gwt_instance.ob(a.__gwt_instance); return qr(b) }); e.longValue = jr(Number, Jr(function () { var a = this.__gwt_instance.sb(); return a })); $wnd.bigdecimal.BigInteger.valueOf = Jr(function (a) { var b = (Oh(), new Pi(Ki(te(a)))); return pr(b) }); $wnd.bigdecimal.BigInteger.ONE = Jr(function () { var a = (Oh(), new Pi(Jh)); return pr(a) }); $wnd.bigdecimal.BigInteger.TEN = Jr(function () { var a = (Oh(), new Pi(Lh)); return pr(a) }); $wnd.bigdecimal.BigInteger.ZERO = Jr(function () { var a = (Oh(), new Pi(Nh)); return pr(a) }); mr(Sc, $wnd.bigdecimal.BigInteger) } + function Dh() { nr(rs, Lr); if ($wnd.bigdecimal.BigDecimal) { var c = $wnd.bigdecimal.BigDecimal } $wnd.bigdecimal.BigDecimal = Jr(function () { if (arguments.length == 1 && arguments[0] != null && arguments[0].gC() == Qc) { this.__gwt_instance = arguments[0] } else if (arguments.length == 0) { this.__gwt_instance = new Jg; or(this.__gwt_instance, this) } }); var d = $wnd.bigdecimal.BigDecimal.prototype = new Object; if (c) { for (p in c) { $wnd.bigdecimal.BigDecimal[p] = c[p] } } $wnd.bigdecimal.BigDecimal.ROUND_CEILING = 2; $wnd.bigdecimal.BigDecimal.ROUND_DOWN = 1; $wnd.bigdecimal.BigDecimal.ROUND_FLOOR = 3; $wnd.bigdecimal.BigDecimal.ROUND_HALF_DOWN = 5; $wnd.bigdecimal.BigDecimal.ROUND_HALF_EVEN = 6; $wnd.bigdecimal.BigDecimal.ROUND_HALF_UP = 4; $wnd.bigdecimal.BigDecimal.ROUND_UNNECESSARY = 7; $wnd.bigdecimal.BigDecimal.ROUND_UP = 0; $wnd.bigdecimal.BigDecimal.__init__ = Jr(function (a) { var b = Lg(a); return pr(b) }); d.abs_va = Jr(function (a) { var b = this.__gwt_instance.s(a); return pr(b) }); d.add_va = Jr(function (a) { var b = this.__gwt_instance.t(a); return pr(b) }); d.byteValueExact = jr(Number, Jr(function () { var a = this.__gwt_instance.u(); return a })); d.compareTo = jr(Number, Jr(function (a) { var b = this.__gwt_instance.v(a.__gwt_instance); return b })); d.divide_va = Jr(function (a) { var b = this.__gwt_instance.y(a); return pr(b) }); d.divideToIntegralValue_va = Jr(function (a) { var b = this.__gwt_instance.x(a); return pr(b) }); d.doubleValue = jr(Number, Jr(function () { var a = this.__gwt_instance.z(); return a })); d.equals = jr(Number, Jr(function (a) { var b = this.__gwt_instance.eQ(a); return b })); d.floatValue = jr(Number, Jr(function () { var a = this.__gwt_instance.A(); return a })); d.hashCode = jr(Number, Jr(function () { var a = this.__gwt_instance.hC(); return a })); d.intValue = jr(Number, Jr(function () { var a = this.__gwt_instance.B(); return a })); d.intValueExact = jr(Number, Jr(function () { var a = this.__gwt_instance.C(); return a })); d.max = Jr(function (a) { var b = this.__gwt_instance.F(a.__gwt_instance); return pr(b) }); d.min = Jr(function (a) { var b = this.__gwt_instance.G(a.__gwt_instance); return pr(b) }); d.movePointLeft = Jr(function (a) { var b = this.__gwt_instance.H(a); return pr(b) }); d.movePointRight = Jr(function (a) { var b = this.__gwt_instance.I(a); return pr(b) }); d.multiply_va = Jr(function (a) { var b = this.__gwt_instance.J(a); return pr(b) }); d.negate_va = Jr(function (a) { var b = this.__gwt_instance.K(a); return pr(b) }); d.plus_va = Jr(function (a) { var b = this.__gwt_instance.L(a); return pr(b) }); d.pow_va = Jr(function (a) { var b = this.__gwt_instance.M(a); return pr(b) }); d.precision = jr(Number, Jr(function () { var a = this.__gwt_instance.q(); return a })); d.remainder_va = Jr(function (a) { var b = this.__gwt_instance.N(a); return pr(b) }); d.round = Jr(function (a) { var b = this.__gwt_instance.O(a.__gwt_instance); return pr(b) }); d.scale = jr(Number, Jr(function () { var a = this.__gwt_instance.P(); return a })); d.scaleByPowerOfTen = Jr(function (a) { var b = this.__gwt_instance.Q(a); return pr(b) }); d.setScale_va = Jr(function (a) { var b = this.__gwt_instance.R(a); return pr(b) }); d.shortValueExact = jr(Number, Jr(function () { var a = this.__gwt_instance.S(); return a })); d.signum = jr(Number, Jr(function () { var a = this.__gwt_instance.r(); return a })); d.stripTrailingZeros = Jr(function () { var a = this.__gwt_instance.T(); return pr(a) }); d.subtract_va = Jr(function (a) { var b = this.__gwt_instance.U(a); return pr(b) }); d.toBigInteger = Jr(function () { var a = this.__gwt_instance.V(); return pr(a) }); d.toBigIntegerExact = Jr(function () { var a = this.__gwt_instance.W(); return pr(a) }); d.toEngineeringString = Jr(function () { var a = this.__gwt_instance.X(); return a }); d.toPlainString = Jr(function () { var a = this.__gwt_instance.Y(); return a }); d.toString = Jr(function () { var a = this.__gwt_instance.tS(); return a }); d.ulp = Jr(function () { var a = this.__gwt_instance.Z(); return pr(a) }); d.unscaledValue = Jr(function () { var a = this.__gwt_instance.$(); return pr(a) }); d.divideAndRemainder_va = Jr(function (a) { var b = this.__gwt_instance.w(a); return qr(b) }); d.longValue = jr(Number, Jr(function () { var a = this.__gwt_instance.E(); return a })); d.longValueExact = jr(Number, Jr(function () { var a = this.__gwt_instance.D(); return a })); $wnd.bigdecimal.BigDecimal.valueOf_va = Jr(function (a) { var b = zh(a); return pr(b) }); $wnd.bigdecimal.BigDecimal.log = jr(Number, Jr(function (a) { rf(); typeof console !== Xr && console.log && console.log(a) })); $wnd.bigdecimal.BigDecimal.logObj = jr(Number, Jr(function (a) { rf(); typeof console !== Xr && console.log && typeof JSON !== Xr && JSON.stringify && console.log('object: ' + JSON.stringify(a)) })); $wnd.bigdecimal.BigDecimal.ONE = Jr(function () { var a = (rf(), new Kg(lf)); return pr(a) }); $wnd.bigdecimal.BigDecimal.TEN = Jr(function () { var a = (rf(), new Kg(mf)); return pr(a) }); $wnd.bigdecimal.BigDecimal.ZERO = Jr(function () { var a = (rf(), new Kg(of)); return pr(a) }); mr(Qc, $wnd.bigdecimal.BigDecimal) } + var Lr = '', ys = ' ', $r = '"', Or = '(', gs = '+', Is = ', ', Ur = '-', ds = '.', Tr = '0', es = '0.', zs = '0.0', As = '0.00', Bs = '0.000', Cs = '0.0000', Ds = '0.00000', Es = '0.000000', Gs = '0E', Fs = '0E+', Qr = ':', Kr = ': ', Js = '=', ps = 'BigDecimal', qs = 'BigDecimal MathContext', Ts = 'BigDecimal;', is = 'BigInteger', ss = 'BigInteger divide by zero', vs = 'BigInteger not invertible.', us = 'BigInteger: modulus not positive', Us = 'BigInteger;', Vr = 'CSS1Compat', _r = 'Division by zero', as = 'Division impossible', fs = 'E', Zr = 'For input string: "', hs = 'Infinite or NaN', bs = 'Invalid Operation', os = 'MathContext', ts = 'Negative bit address', cs = 'Rounding necessary', xs = 'RoundingMode', Vs = 'RoundingMode;', Nr = 'String', Rr = '[', Ss = '[Lcom.iriscouch.gwtapp.client.', Os = '[Ljava.lang.', Ws = '[Ljava.math.', Ks = '\\.', Ls = '__gwtex_wrap', Pr = 'anonymous', js = 'array', Hs = 'bad string format', rs = 'bigdecimal', Ns = 'com.google.gwt.core.client.', Ps = 'com.google.gwt.core.client.impl.', Rs = 'com.iriscouch.gwtapp.client.', Ms = 'java.lang.', Qs = 'java.math.', Xs = 'java.util.', Yr = 'msie', Mr = 'null', ks = 'number', ls = 'number MathContext', ns = 'number number', ws = 'object', Wr = 'opera', Ys = 'org.timepedia.exporter.client.', Sr = 'safari', ms = 'string', Xr = 'undefined'; var _, Gr = { l: 0, m: 0, h: 524288 }, zr = { l: 0, m: 4193280, h: 1048575 }, Er = { l: 4194298, m: 4194303, h: 1048575 }, wr = { l: 4194303, m: 4194303, h: 1048575 }, ur = { l: 0, m: 0, h: 0 }, sr = { l: 1, m: 0, h: 0 }, vr = { l: 2, m: 0, h: 0 }, Hr = { l: 5, m: 0, h: 0 }, tr = { l: 10, m: 0, h: 0 }, xr = { l: 11, m: 0, h: 0 }, Dr = { l: 18, m: 0, h: 0 }, Cr = { l: 48, m: 0, h: 0 }, Br = { l: 877824, m: 119, h: 0 }, Ar = { l: 1755648, m: 238, h: 0 }, Ir = { l: 4194303, m: 511, h: 0 }, yr = { l: 4194303, m: 1023, h: 0 }, Fr = { l: 0, m: 1024, h: 0 }; _ = H.prototype = {}; _.eQ = function I(a) { return this === a }; _.gC = function J() { return gd }; _.hC = function K() { return ob(this) }; _.tS = function L() { return this.gC().d + '@' + al(this.hC()) }; _.toString = function () { return this.tS() }; _.tM = rr; _.cM = {}; _ = P.prototype = new H; _.gC = function R() { return nd }; _.j = function S() { return this.f }; _.tS = function T() { var a, b; a = this.gC().d; b = this.j(); return b != null ? a + Kr + b : a }; _.cM = { 6: 1, 15: 1 }; _.f = null; _ = O.prototype = new P; _.gC = function U() { return ad }; _.cM = { 6: 1, 15: 1 }; _ = V.prototype = N.prototype = new O; _.gC = function W() { return hd }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = X.prototype = M.prototype = new N; _.gC = function Y() { return Fc }; _.j = function ab() { this.d == null && (this.e = bb(this.c), this.b = Z(this.c), this.d = Or + this.e + '): ' + this.b + db(this.c), undefined); return this.d }; _.cM = { 6: 1, 12: 1, 15: 1 }; _.b = null; _.c = null; _.d = null; _.e = null; _ = gb.prototype = new H; _.gC = function hb() { return Hc }; var ib = 0, jb = 0; _ = ub.prototype = pb.prototype = new gb; _.gC = function vb() { return Ic }; _.b = null; _.c = null; var qb; _ = Fb.prototype = Ab.prototype = new H; _.k = function Gb() { var a = {}; var b = []; var c = arguments.callee.caller.caller; while (c) { var d = this.n(c.toString()); b.push(d); var e = Qr + d; var f = a[e]; if (f) { var g, i; for (g = 0, i = f.length; g < i; g++) { if (f[g] === c) { return b } } } (f || (a[e] = [])).push(c); c = c.caller } return b }; _.n = function Hb(a) { return yb(a) }; _.gC = function Ib() { return Lc }; _.o = function Jb(a) { return [] }; _ = Lb.prototype = new Ab; _.k = function Nb() { return zb(this.o(Eb()), this.p()) }; _.gC = function Ob() { return Kc }; _.o = function Pb(a) { return Mb(this, a) }; _.p = function Qb() { return 2 }; _ = Tb.prototype = Kb.prototype = new Lb; _.k = function Ub() { return Rb(this) }; _.n = function Vb(a) { var b, c; if (a.length == 0) { return Pr } c = Dl(a); c.indexOf('at ') == 0 && (c = Al(c, 3)); b = c.indexOf(Rr); b == -1 && (b = c.indexOf(Or)); if (b == -1) { return Pr } else { c = Dl(c.substr(0, b - 0)) } b = yl(c, String.fromCharCode(46)); b != -1 && (c = Al(c, b + 1)); return c.length > 0 ? c : Pr }; _.gC = function Wb() { return Jc }; _.o = function Xb(a) { return Sb(this, a) }; _.p = function Yb() { return 3 }; _ = Zb.prototype = new H; _.gC = function $b() { return Nc }; _ = fc.prototype = _b.prototype = new Zb; _.gC = function gc() { return Mc }; _.b = Lr; _ = ic.prototype = hc.prototype = new H; _.gC = function kc() { return this.aC }; _.aC = null; _.qI = 0; var oc, pc; var ae = null; var oe = null; var Me, Ne, Oe, Pe; _ = Se.prototype = Re.prototype = new H; _.gC = function Te() { return Oc }; _.cM = { 2: 1 }; _ = Ze.prototype = new H; _.gC = function cf() { return fd }; _.cM = { 6: 1, 10: 1 }; var $e = null; _ = qg.prototype = pg.prototype = og.prototype = ng.prototype = mg.prototype = lg.prototype = kg.prototype = jg.prototype = ig.prototype = hg.prototype = gg.prototype = fg.prototype = eg.prototype = dg.prototype = cg.prototype = Ye.prototype = new Ze; _.eQ = function wg(a) { return Ff(this, a) }; _.gC = function xg() { return pd }; _.hC = function yg() { return Gf(this) }; _.q = function Ag() { return Pf(this) }; _.r = function Cg() { return Uf(this) }; _.tS = function Eg() { return ag(this) }; _.cM = { 6: 1, 8: 1, 10: 1, 16: 1 }; _.b = 0; _.c = 0; _.d = null; _.e = 0; _.f = 0; _.g = 0; _.i = null; var df, ef, ff, gf, hf, jf, kf = null, lf, mf, nf = null, of, pf, qf = null; _ = Kg.prototype = Jg.prototype = Xe.prototype = new Ye; _.s = function Mg(a) { var b, c, d; d = Lj(a); if (d == Lr) b = Uf(this) < 0 ? Mf(this) : this; else if (d == os) b = sf(Qf(this, new Yn(a[0].toString()))); else throw new V('Unknown call signature for interim = super.abs: ' + d); c = new Kg(b); return c }; _.t = function Ng(a) { var b, c, d; d = Lj(a); if (d == ps) b = tf(this, new mg(a[0].toString())); else if (d == qs) b = uf(this, new mg(a[0].toString()), new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.add: ' + d); c = new Kg(b); return c }; _.u = function Og() { return ~~(Je(bg(this, 8)) << 24) >> 24 }; _.v = function Pg(a) { return vf(this, a) }; _.w = function Qg(a) { var b, c, d, e; e = Lj(a); if (e == ps) c = Bf(this, new mg(a[0].toString())); else if (e == qs) c = Cf(this, new mg(a[0].toString()), new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.divideAndRemainder: ' + e); d = lc(Qd, { 6: 1 }, 3, c.length, 0); for (b = 0; b < c.length; ++b)d[b] = new Kg(c[b]); return d }; _.x = function Rg(a) { var b, c, d; d = Lj(a); if (d == ps) b = Df(this, new mg(a[0].toString())); else if (d == qs) b = Ef(this, new mg(a[0].toString()), new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.divideToIntegralValue: ' + d); c = new Kg(b); return c }; _.y = function Sg(a) { var b, c, d; d = Lj(a); if (d == ps) b = wf(this, new mg(a[0].toString())); else if (d == 'BigDecimal number') b = xf(this, new mg(a[0].toString()), a[1]); else if (d == 'BigDecimal number number') b = yf(this, new mg(a[0].toString()), a[1], Uo(a[2])); else if (d == 'BigDecimal number RoundingMode') b = yf(this, new mg(a[0].toString()), a[1], To(a[2].toString())); else if (d == qs) b = zf(this, new mg(a[0].toString()), new Yn(a[1].toString())); else if (d == 'BigDecimal RoundingMode') b = Af(this, new mg(a[0].toString()), To(a[1].toString())); else throw new V('Unknown call signature for interim = super.divide: ' + d); c = new Kg(b); return c }; _.z = function Tg() { return _e(ag(this)) }; _.eQ = function Ug(a) { return Ff(this, a) }; _.A = function Vg() { var a, b; return a = Uf(this), b = this.b - this.f / 0.3010299956639812, b < -149 || a == 0 ? (a *= 0) : b > 129 ? (a *= Infinity) : (a = _e(ag(this))), a }; _.gC = function Wg() { return Qc }; _.hC = function Xg() { return Gf(this) }; _.B = function Yg() { return this.f <= -32 || this.f > (this.e > 0 ? this.e : el((this.b - 1) * 0.3010299956639812) + 1) ? 0 : Mi(new Pi(this.f == 0 || this.b == 0 && this.g != -1 ? (!this.d && (this.d = Li(this.g)), this.d) : this.f < 0 ? ei((!this.d && (this.d = Li(this.g)), this.d), po(-this.f)) : Th((!this.d && (this.d = Li(this.g)), this.d), po(this.f)))) }; _.C = function Zg() { return Je(bg(this, 32)) }; _.D = function $g() { return Je(bg(this, 32)) }; _.E = function _g() { return _e(ag(this)) }; _.F = function ah(a) { return new Kg(vf(this, a) >= 0 ? this : a) }; _.G = function bh(a) { return new Kg(vf(this, a) <= 0 ? this : a) }; _.H = function ch(a) { return new Kg(Jf(this, this.f + a)) }; _.I = function dh(a) { return new Kg(Jf(this, this.f - a)) }; _.J = function eh(a) { var b, c, d; d = Lj(a); if (d == ps) b = Kf(this, new mg(a[0].toString())); else if (d == qs) b = Lf(this, new mg(a[0].toString()), new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.multiply: ' + d); c = new Kg(b); return c }; _.K = function fh(a) { var b, c, d; d = Lj(a); if (d == Lr) b = Mf(this); else if (d == os) b = Mf(Qf(this, new Yn(a[0].toString()))); else throw new V('Unknown call signature for interim = super.negate: ' + d); c = new Kg(b); return c }; _.L = function gh(a) { var b, c, d; d = Lj(a); if (d == Lr) b = this; else if (d == os) b = Qf(this, new Yn(a[0].toString())); else throw new V('Unknown call signature for interim = super.plus: ' + d); c = new Kg(b); return c }; _.M = function hh(a) { var b, c, d; d = Lj(a); if (d == ks) b = Nf(this, a[0]); else if (d == ls) b = Of(this, a[0], new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.pow: ' + d); c = new Kg(b); return c }; _.q = function ih() { return Pf(this) }; _.N = function jh(a) { var b, c, d; d = Lj(a); if (d == ps) b = Bf(this, new mg(a[0].toString()))[1]; else if (d == qs) b = Cf(this, new mg(a[0].toString()), new Yn(a[1].toString()))[1]; else throw new V('Unknown call signature for interim = super.remainder: ' + d); c = new Kg(b); return c }; _.O = function kh(a) { return new Kg(Qf(this, new Yn(Wn(a.b)))) }; _.P = function lh() { return Bc(this.f) }; _.Q = function mh(a) { return new Kg(Rf(this, a)) }; _.R = function nh(a) { var b, c, d; d = Lj(a); if (d == ks) b = Sf(this, a[0], (Qo(), Go)); else if (d == ns) b = Sf(this, a[0], Uo(a[1])); else if (d == 'number RoundingMode') b = Sf(this, a[0], To(a[1].toString())); else throw new V('Unknown call signature for interim = super.setScale: ' + d); c = new Kg(b); return c }; _.S = function oh() { return ~~(Je(bg(this, 16)) << 16) >> 16 }; _.r = function ph() { return Uf(this) }; _.T = function qh() { return new Kg(Wf(this)) }; _.U = function rh(a) { var b, c, d; d = Lj(a); if (d == ps) b = Xf(this, new mg(a[0].toString())); else if (d == qs) b = Yf(this, new mg(a[0].toString()), new Yn(a[1].toString())); else throw new V('Unknown call signature for interim = super.subtract: ' + d); c = new Kg(b); return c }; _.V = function sh() { return new Pi(this.f == 0 || this.b == 0 && this.g != -1 ? (!this.d && (this.d = Li(this.g)), this.d) : this.f < 0 ? ei((!this.d && (this.d = Li(this.g)), this.d), po(-this.f)) : Th((!this.d && (this.d = Li(this.g)), this.d), po(this.f))) }; _.W = function th() { return new Pi(Zf(this)) }; _.X = function uh() { return $f(this) }; _.Y = function vh() { return _f(this) }; _.tS = function wh() { return ag(this) }; _.Z = function xh() { return new Kg(new pg(1, this.f)) }; _.$ = function yh() { return new Pi((!this.d && (this.d = Li(this.g)), this.d)) }; _.cM = { 3: 1, 6: 1, 8: 1, 10: 1, 16: 1, 24: 1 }; _ = Eh.prototype = Ah.prototype = new H; _.gC = function Fh() { return Pc }; var Bh = false; _ = ui.prototype = ti.prototype = si.prototype = ri.prototype = qi.prototype = pi.prototype = oi.prototype = ni.prototype = Hh.prototype = new Ze; _._ = function vi() { return this.f < 0 ? new si(1, this.e, this.b) : this }; _.ab = function wi() { return sm(this) }; _.eQ = function xi(a) { return Vh(this, a) }; _.gC = function yi() { return qd }; _.bb = function zi() { return $h(this) }; _.hC = function Bi() { return _h(this) }; _.cb = function Ci() { return this.f == 0 ? this : new si(-this.f, this.e, this.b) }; _.db = function Di(a) { return gi(this, a) }; _.eb = function Fi(a) { return ji(this, a) }; _.fb = function Gi(a) { return li(this, a) }; _.r = function Hi() { return this.f }; _.gb = function Ii(a) { return mi(this, a) }; _.tS = function Ji() { return Hm(this, 0) }; _.cM = { 6: 1, 8: 1, 10: 1, 17: 1 }; _.b = null; _.c = -2; _.d = 0; _.e = 0; _.f = 0; var Ih, Jh, Kh, Lh, Mh = null, Nh; _ = Pi.prototype = Oi.prototype = Ni.prototype = Gh.prototype = new Hh; _._ = function Ri() { return new Pi(this.f < 0 ? new si(1, this.e, this.b) : this) }; _.hb = function Si(a) { return new Pi(fn(this, a)) }; _.ib = function Ti(a) { return new Pi(vn(this, a)) }; _.jb = function Ui(a) { return new Pi(yn(this, a)) }; _.kb = function Vi() { return rm(this) }; _.ab = function Wi() { return sm(this) }; _.lb = function Xi(a) { return new Pi(Ph(this, a)) }; _.mb = function Yi(a) { return Qh(this, a) }; _.nb = function Zi(a) { return new Pi(Th(this, a)) }; _.ob = function $i(a) { var b, c, d; c = Uh(this, a); d = lc(Rd, { 6: 1 }, 4, c.length, 0); for (b = 0; b < c.length; ++b)d[b] = new Pi(c[b]); return d }; _.z = function _i() { return _e(Hm(this, 0)) }; _.eQ = function aj(a) { return Vh(this, a) }; _.pb = function bj(a) { return new Pi(Xh(this, a)) }; _.A = function cj() { return Pk(Hm(this, 0)) }; _.qb = function dj(a) { return new Pi(Yh(this, a)) }; _.gC = function ej() { return Sc }; _.bb = function fj() { return $h(this) }; _.hC = function gj() { return _h(this) }; _.B = function hj() { return Mi(this) }; _.rb = function ij(a) { return vo(new Pi(this.f < 0 ? new si(1, this.e, this.b) : this), a) }; _.sb = function jj() { return _e(Hm(this, 0)) }; _.tb = function kj(a) { return new Pi(Qh(this, a) == 1 ? this : a) }; _.ub = function lj(a) { return new Pi(Qh(this, a) == -1 ? this : a) }; _.vb = function mj(a) { return new Pi(bi(this, a)) }; _.wb = function nj(a) { return new Pi(ci(this, a)) }; _.xb = function oj(a, b) { return new Pi(di(this, a, b)) }; _.yb = function pj(a) { return new Pi(ei(this, a)) }; _.cb = function qj() { return new Pi(this.f == 0 ? this : new si(-this.f, this.e, this.b)) }; _.zb = function rj() { return new Pi(fi(this)) }; _.Ab = function sj() { return new Pi(En(this)) }; _.Bb = function tj(a) { return new Pi(Fn(this, a)) }; _.db = function uj(a) { return new Pi(gi(this, a)) }; _.Cb = function vj(a) { return new Pi(hi(this, a)) }; _.Db = function wj(a) { return new Pi(ii(this, a)) }; _.eb = function xj(a) { return new Pi(ji(this, a)) }; _.fb = function yj(a) { return new Pi(li(this, a)) }; _.r = function zj() { return this.f }; _.Eb = function Aj(a) { return new Pi(rn(this, a)) }; _.gb = function Bj(a) { return mi(this, a) }; _.Fb = function Cj(a) { var b, c; c = Lj(a); if (c == Lr) b = Hm(this, 0); else if (c == ks) b = Fm(this, a[0]); else throw new V('Unknown call signature for result = super.toString: ' + c); return b }; _.Gb = function Dj(a) { return new Pi(Jn(this, a)) }; _.cM = { 4: 1, 6: 1, 8: 1, 10: 1, 17: 1, 24: 1 }; _ = Ij.prototype = Ej.prototype = new H; _.gC = function Kj() { return Rc }; var Fj = false; _ = Oj.prototype = Nj.prototype = Mj.prototype = new H; _.gC = function Pj() { return Uc }; _.Hb = function Qj() { return this.b.b }; _.Ib = function Rj() { return new bk(this.b.c) }; _.hC = function Sj() { return Vn(this.b) }; _.tS = function Tj() { return Wn(this.b) }; _.cM = { 24: 1 }; _.b = null; _ = Yj.prototype = Uj.prototype = new H; _.gC = function $j() { return Tc }; var Vj = false; _ = bk.prototype = ak.prototype = _j.prototype = new H; _.gC = function ck() { return Wc }; _.Jb = function dk() { return this.b.b }; _.tS = function ek() { return this.b.b }; _.cM = { 5: 1, 24: 1 }; _.b = null; _ = kk.prototype = gk.prototype = new H; _.gC = function lk() { return Vc }; var hk = false; _ = nk.prototype = mk.prototype = new N; _.gC = function ok() { return Xc }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = rk.prototype = qk.prototype = pk.prototype = new N; _.gC = function sk() { return Yc }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = wk.prototype = vk.prototype = new H; _.gC = function Bk() { return $c }; _.tS = function Ck() { return ((this.c & 2) != 0 ? 'interface ' : (this.c & 1) != 0 ? Lr : 'class ') + this.d }; _.b = null; _.c = 0; _.d = null; _ = Ek.prototype = Dk.prototype = new N; _.gC = function Fk() { return Zc }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = Ik.prototype = new H; _.eQ = function Kk(a) { return this === a }; _.gC = function Lk() { return _c }; _.hC = function Mk() { return ob(this) }; _.tS = function Nk() { return this.b }; _.cM = { 6: 1, 8: 1, 9: 1 }; _.b = null; _.c = 0; _ = Sk.prototype = Rk.prototype = Qk.prototype = new N; _.gC = function Tk() { return bd }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = Wk.prototype = Vk.prototype = Uk.prototype = new N; _.gC = function Xk() { return cd }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = kl.prototype = jl.prototype = il.prototype = new N; _.gC = function ll() { return dd }; _.cM = { 6: 1, 12: 1, 15: 1 }; var ml; _ = pl.prototype = ol.prototype = new Qk; _.gC = function ql() { return ed }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = sl.prototype = rl.prototype = new H; _.gC = function tl() { return id }; _.tS = function ul() { return this.b + ds + this.d + '(Unknown Source' + (this.c >= 0 ? Qr + this.c : Lr) + ')' }; _.cM = { 6: 1, 13: 1 }; _.b = null; _.c = 0; _.d = null; _ = String.prototype; _.eQ = function Hl(a) { return wl(this, a) }; _.gC = function Il() { return md }; _.hC = function Jl() { return Rl(this) }; _.tS = function Kl() { return this }; _.cM = { 1: 1, 6: 1, 7: 1, 8: 1 }; var Ml, Nl = 0, Ol; _ = Ul.prototype = Tl.prototype = new H; _.gC = function Vl() { return jd }; _.tS = function Wl() { return this.b.b }; _.cM = { 7: 1 }; _ = hm.prototype = gm.prototype = fm.prototype = Xl.prototype = new H; _.gC = function im() { return kd }; _.tS = function jm() { return this.b.b }; _.cM = { 7: 1 }; _ = lm.prototype = km.prototype = new Uk; _.gC = function mm() { return ld }; _.cM = { 6: 1, 12: 1, 14: 1, 15: 1 }; _ = pm.prototype = om.prototype = new N; _.gC = function qm() { return od }; _.cM = { 6: 1, 12: 1, 15: 1 }; var Cm, Dm; _ = Yn.prototype = Xn.prototype = Nn.prototype = new H; _.eQ = function Zn(a) { return xc(a, 18) && vc(a, 18).b == this.b && vc(a, 18).c == this.c }; _.gC = function $n() { return rd }; _.hC = function _n() { return Vn(this) }; _.tS = function ao() { return Wn(this) }; _.cM = { 6: 1, 18: 1 }; _.b = 0; _.c = null; var On, Pn, Qn, Rn, Sn, Tn; var bo, co, eo, fo; var ro, so, to; _ = Ro.prototype = yo.prototype = new Ik; _.gC = function So() { return sd }; _.cM = { 6: 1, 8: 1, 9: 1, 19: 1 }; var zo, Ao, Bo, Co, Do, Eo, Fo, Go, Ho, Io, Jo, Ko, Lo, Mo, No, Oo, Po; var Xo; _ = Zo.prototype = new H; _.Kb = function _o(a) { throw new pm }; _.Lb = function ap(a) { var b; b = $o(this.Mb(), a); return !!b }; _.gC = function bp() { return td }; _.tS = function cp() { var a, b, c, d; c = new Ul; a = null; c.b.b += Rr; b = this.Mb(); while (b.Pb()) { a != null ? (cc(c.b, a), c) : (a = Is); d = b.Qb(); cc(c.b, d === this ? '(this Collection)' : Lr + d) } c.b.b += ']'; return c.b.b }; _ = ep.prototype = new H; _.eQ = function fp(a) { var b, c, d, e, f; if (a === this) { return true } if (!xc(a, 21)) { return false } e = vc(a, 21); if (this.e != e.e) { return false } for (c = new Ip((new Cp(e)).b); kq(c.b);) { b = vc(lq(c.b), 22); d = b.Rb(); f = b.Sb(); if (!(d == null ? this.d : xc(d, 1) ? Qr + vc(d, 1) in this.f : pp(this, d, ~~fb(d)))) { return false } if (!Xq(f, d == null ? this.c : xc(d, 1) ? op(this, vc(d, 1)) : np(this, d, ~~fb(d)))) { return false } } return true }; _.gC = function gp() { return Cd }; _.hC = function hp() { var a, b, c; c = 0; for (b = new Ip((new Cp(this)).b); kq(b.b);) { a = vc(lq(b.b), 22); c += a.hC(); c = ~~c } return c }; _.tS = function ip() { var a, b, c, d; d = '{'; a = false; for (c = new Ip((new Cp(this)).b); kq(c.b);) { b = vc(lq(c.b), 22); a ? (d += Is) : (a = true); d += Lr + b.Rb(); d += Js; d += Lr + b.Sb() } return d + '}' }; _.cM = { 21: 1 }; _ = dp.prototype = new ep; _.Ob = function vp(a, b) { return Ac(a) === Ac(b) || a != null && eb(a, b) }; _.gC = function wp() { return yd }; _.cM = { 21: 1 }; _.b = null; _.c = null; _.d = false; _.e = 0; _.f = null; _ = yp.prototype = new Zo; _.eQ = function zp(a) { var b, c, d; if (a === this) { return true } if (!xc(a, 23)) { return false } c = vc(a, 23); if (c.b.e != this.Nb()) { return false } for (b = new Ip(c.b); kq(b.b);) { d = vc(lq(b.b), 22); if (!this.Lb(d)) { return false } } return true }; _.gC = function Ap() { return Dd }; _.hC = function Bp() { var a, b, c; a = 0; for (b = this.Mb(); b.Pb();) { c = b.Qb(); if (c != null) { a += fb(c); a = ~~a } } return a }; _.cM = { 23: 1 }; _ = Cp.prototype = xp.prototype = new yp; _.Lb = function Dp(a) { var b, c, d; if (xc(a, 22)) { b = vc(a, 22); c = b.Rb(); if (lp(this.b, c)) { d = mp(this.b, c); return Eq(b.Sb(), d) } } return false }; _.gC = function Ep() { return vd }; _.Mb = function Fp() { return new Ip(this.b) }; _.Nb = function Gp() { return this.b.e }; _.cM = { 23: 1 }; _.b = null; _ = Ip.prototype = Hp.prototype = new H; _.gC = function Jp() { return ud }; _.Pb = function Kp() { return kq(this.b) }; _.Qb = function Lp() { return vc(lq(this.b), 22) }; _.b = null; _ = Np.prototype = new H; _.eQ = function Op(a) { var b; if (xc(a, 22)) { b = vc(a, 22); if (Xq(this.Rb(), b.Rb()) && Xq(this.Sb(), b.Sb())) { return true } } return false }; _.gC = function Pp() { return Bd }; _.hC = function Qp() { var a, b; a = 0; b = 0; this.Rb() != null && (a = fb(this.Rb())); this.Sb() != null && (b = fb(this.Sb())); return a ^ b }; _.tS = function Rp() { return this.Rb() + Js + this.Sb() }; _.cM = { 22: 1 }; _ = Sp.prototype = Mp.prototype = new Np; _.gC = function Tp() { return wd }; _.Rb = function Up() { return null }; _.Sb = function Vp() { return this.b.c }; _.Tb = function Wp(a) { return tp(this.b, a) }; _.cM = { 22: 1 }; _.b = null; _ = Yp.prototype = Xp.prototype = new Np; _.gC = function Zp() { return xd }; _.Rb = function $p() { return this.b }; _.Sb = function _p() { return op(this.c, this.b) }; _.Tb = function aq(a) { return up(this.c, this.b, a) }; _.cM = { 22: 1 }; _.b = null; _.c = null; _ = bq.prototype = new Zo; _.Kb = function cq(a) { sq(this, this.Nb(), a); return true }; _.eQ = function eq(a) { var b, c, d, e, f; if (a === this) { return true } if (!xc(a, 20)) { return false } f = vc(a, 20); if (this.Nb() != f.c) { return false } d = new mq(this); e = new mq(f); while (d.b < d.c.c) { b = lq(d); c = lq(e); if (!(b == null ? c == null : eb(b, c))) { return false } } return true }; _.gC = function fq() { return Ad }; _.hC = function gq() { var a, b, c; b = 1; a = new mq(this); while (a.b < a.c.c) { c = lq(a); b = 31 * b + (c == null ? 0 : fb(c)); b = ~~b } return b }; _.Mb = function iq() { return new mq(this) }; _.cM = { 20: 1 }; _ = mq.prototype = jq.prototype = new H; _.gC = function nq() { return zd }; _.Pb = function oq() { return kq(this) }; _.Qb = function pq() { return lq(this) }; _.b = 0; _.c = null; _ = vq.prototype = qq.prototype = new bq; _.Kb = function wq(a) { return rq(this, a) }; _.Lb = function xq(a) { return uq(this, a, 0) != -1 }; _.gC = function yq() { return Ed }; _.Nb = function zq() { return this.c }; _.cM = { 6: 1, 20: 1 }; _.c = 0; _ = Fq.prototype = Dq.prototype = new dp; _.gC = function Gq() { return Fd }; _.cM = { 6: 1, 21: 1 }; _ = Iq.prototype = Hq.prototype = new Np; _.gC = function Jq() { return Gd }; _.Rb = function Kq() { return this.b }; _.Sb = function Lq() { return this.c }; _.Tb = function Mq(a) { var b; b = this.c; this.c = a; return b }; _.cM = { 22: 1 }; _.b = null; _.c = null; _ = Oq.prototype = Nq.prototype = new N; _.gC = function Pq() { return Hd }; _.cM = { 6: 1, 12: 1, 15: 1 }; _ = Vq.prototype = Qq.prototype = new H; _.gC = function Wq() { return Id }; _.b = 0; _.c = 0; var Rq, Sq, Tq = 0; _ = Zq.prototype = new H; _.gC = function $q() { return Kd }; _ = gr.prototype = Yq.prototype = new Zq; _.gC = function hr() { return Jd }; var kr; var Jr = mb; var gd = yk(Ms, 'Object'), _c = yk(Ms, 'Enum'), nd = yk(Ms, 'Throwable'), ad = yk(Ms, 'Exception'), hd = yk(Ms, 'RuntimeException'), Fc = yk(Ns, 'JavaScriptException'), Gc = yk(Ns, 'JavaScriptObject$'), Hc = yk(Ns, 'Scheduler'), Ec = Ak('int'), Od = xk(Lr, '[I', Ec), Td = xk(Os, 'Object;', gd), Ld = Ak('boolean'), Zd = xk(Lr, '[Z', Ld), Ic = yk(Ps, 'SchedulerImpl'), Lc = yk(Ps, 'StackTraceCreator$Collector'), id = yk(Ms, 'StackTraceElement'), Ud = xk(Os, 'StackTraceElement;', id), Kc = yk(Ps, 'StackTraceCreator$CollectorMoz'), Jc = yk(Ps, 'StackTraceCreator$CollectorChrome'), Nc = yk(Ps, 'StringBufferImpl'), Mc = yk(Ps, 'StringBufferImplAppend'), md = yk(Ms, Nr), Vd = xk(Os, 'String;', md), Oc = yk('com.google.gwt.lang.', 'LongLibBase$LongEmul'), Pd = xk('[Lcom.google.gwt.lang.', 'LongLibBase$LongEmul;', Oc), fd = yk(Ms, 'Number'), pd = yk(Qs, ps), Qc = yk(Rs, ps), Qd = xk(Ss, Ts, Qc), Pc = yk(Rs, 'BigDecimalExporterImpl'), qd = yk(Qs, is), Sc = yk(Rs, is), Rd = xk(Ss, Us, Sc), Rc = yk(Rs, 'BigIntegerExporterImpl'), Uc = yk(Rs, os), Tc = yk(Rs, 'MathContextExporterImpl'), Wc = yk(Rs, xs), Sd = xk(Ss, Vs, Wc), Vc = yk(Rs, 'RoundingModeExporterImpl'), Xc = yk(Ms, 'ArithmeticException'), cd = yk(Ms, 'IndexOutOfBoundsException'), Yc = yk(Ms, 'ArrayStoreException'), Cc = Ak('char'), Md = xk(Lr, '[C', Cc), $c = yk(Ms, 'Class'), Zc = yk(Ms, 'ClassCastException'), bd = yk(Ms, 'IllegalArgumentException'), dd = yk(Ms, 'NullPointerException'), ed = yk(Ms, 'NumberFormatException'), jd = yk(Ms, 'StringBuffer'), kd = yk(Ms, 'StringBuilder'), ld = yk(Ms, 'StringIndexOutOfBoundsException'), od = yk(Ms, 'UnsupportedOperationException'), Wd = xk(Ws, Ts, pd), Dc = Ak('double'), Nd = xk(Lr, '[D', Dc), Xd = xk(Ws, Us, qd), rd = yk(Qs, os), sd = zk(Qs, xs, Wo), Yd = xk(Ws, Vs, sd), td = yk(Xs, 'AbstractCollection'), Cd = yk(Xs, 'AbstractMap'), yd = yk(Xs, 'AbstractHashMap'), Dd = yk(Xs, 'AbstractSet'), vd = yk(Xs, 'AbstractHashMap$EntrySet'), ud = yk(Xs, 'AbstractHashMap$EntrySetIterator'), Bd = yk(Xs, 'AbstractMapEntry'), wd = yk(Xs, 'AbstractHashMap$MapEntryNull'), xd = yk(Xs, 'AbstractHashMap$MapEntryString'), Ad = yk(Xs, 'AbstractList'), zd = yk(Xs, 'AbstractList$IteratorImpl'), Ed = yk(Xs, 'ArrayList'), Fd = yk(Xs, 'HashMap'), Gd = yk(Xs, 'MapEntryImpl'), Hd = yk(Xs, 'NoSuchElementException'), Id = yk(Xs, 'Random'), Kd = yk(Ys, 'ExporterBaseImpl'), Jd = yk(Ys, 'ExporterBaseActual'); $stats && $stats({ moduleName: 'gwtapp', sessionId: $sessionId, subSystem: 'startup', evtGroup: 'moduleStartup', millis: (new Date()).getTime(), type: 'moduleEvalEnd' }); if (gwtapp && gwtapp.onScriptLoad) gwtapp.onScriptLoad(gwtOnLoad); + gwtOnLoad(null, 'ModuleName', 'moduleBase'); + })(); + + exports.RoundingMode = window.bigdecimal.RoundingMode; + exports.MathContext = window.bigdecimal.MathContext; + + fix_and_export('BigDecimal'); + fix_and_export('BigInteger'); + + // This is an unfortunate kludge because Java methods and constructors cannot accept vararg parameters. + function fix_and_export(class_name) { + var Src = window.bigdecimal[class_name]; + var Fixed = Src; + if (Src.__init__) { + Fixed = function wrap_constructor() { + var args = Array.prototype.slice.call(arguments); + return Src.__init__(args); + }; + + Fixed.prototype = Src.prototype; + + for (var a in Src) + if (Src.hasOwnProperty(a)) { + if ((typeof Src[a] != 'function') || !a.match(/_va$/)) + Fixed[a] = Src[a]; + else { + var pub_name = a.replace(/_va$/, ''); + Fixed[pub_name] = function wrap_classmeth() { + var args = Array.prototype.slice.call(arguments); + return wrap_classmeth.inner_method(args); + }; + Fixed[pub_name].inner_method = Src[a]; + } + } + + } + + var proto = Fixed.prototype; + for (var a in proto) { + if (proto.hasOwnProperty(a) && (typeof proto[a] == 'function') && a.match(/_va$/)) { + var pub_name = a.replace(/_va$/, ''); + proto[pub_name] = function wrap_meth() { + var args = Array.prototype.slice.call(arguments); + return wrap_meth.inner_method.apply(this, [args]); + }; + proto[pub_name].inner_method = proto[a]; + delete proto[a]; + } + } + + exports[class_name] = Fixed; + } + +})(typeof exports !== 'undefined' ? exports : (typeof window !== 'undefined' ? window : {})); \ No newline at end of file diff --git a/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js new file mode 100644 index 00000000000..7cbf29a164d --- /dev/null +++ b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js @@ -0,0 +1 @@ +!function(n){if(void 0===t)var t={};if(void 0===e)var e={};if(e.document||(e.document=t),void 0===r)var r={};function i(){}function o(t){var r=e.bigdecimal[t],i=r;if(r.__init__){for(var o in(i=function(){var n=Array.prototype.slice.call(arguments);return r.__init__(n)}).prototype=r.prototype,r)if(r.hasOwnProperty(o)){if("function"==typeof r[o]&&o.match(/_va$/)){var u=o.replace(/_va$/,"");i[u]=function n(){var t=Array.prototype.slice.call(arguments);return n.inner_method(t)},i[u].inner_method=r[o]}else i[o]=r[o]}}var f=i.prototype;for(var o in f)if(f.hasOwnProperty(o)&&"function"==typeof f[o]&&o.match(/_va$/)){var u=o.replace(/_va$/,"");f[u]=function n(){var t=Array.prototype.slice.call(arguments);return n.inner_method.apply(this,[t])},f[u].inner_method=f[o],delete f[o]}n[t]=i}r.userAgent||(r.userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22"),function(){var n,t=e,o=t.document,u=t.__gwtStatsEvent?function(n){return t.__gwtStatsEvent(n)}:null,f=t.__gwtStatsSessionId?t.__gwtStatsSessionId:null;function c(){}function s(){}function a(){}function h(){}function b(){}function l(){}function g(){}function w(){}function d(){}function _(){}function v(){}function m(){}function y(){}function C(){}function S(){}function M(){}function x(){}function B(){}function A(){}function N(){}function I(){}function E(){}function R(){}function O(){}function D(){}function k(){}function L(){}function U(){}function P(){}function Q(){n3()}function T(){n4()}function j(){t$()}function F(){eW()}function H(){eW()}function $(){eW()}function V(){eW()}function q(){eW()}function G(){eW()}function z(){n2()}function J(){nf(this)}function K(){nf(this)}function W(n){iW(this,n)}function Z(n){this.c=n}function X(n){this.b=n}function Y(n){this.b=n}function nn(n){this.b=n}function nt(n){eW(),this.f=n}function ne(n){nt.call(this,n)}function nr(n){nt.call(this,n)}function ni(n){nt.call(this,n)}function no(n){nt.call(this,n)}function nu(n){nt.call(this,n)}function nf(n){n.b=new y}function nc(){this.b=new y}function ns(){ns=b,ug=new g}function na(){na=b,n=new n6}function nh(n,t){na(),n[ok]=t}function nb(n,e){na(),function(n,e){var r,i,o,u,f,c,s;for(f=0,s=iR(n,oD,0),c=t;ft?n:t}function n_(n,t){return!rT(n,t)}function nv(n,t){return!rQ(n,t)}function nm(n){this.b=new iU(n)}function ny(){this.b=(rX(),uY)}function nC(){this.b=(iT(),fo)}function nS(t,e){var r;na(),r=n.b,t?function(n,t,e,r){var i=n.b[r];if(i)for(var o=0,u=i.length;o>5]&1<<(31&t))!=0}function tm(n,t){var e;for(e=0;e=t&&n.splice(0,t),n}function tS(n,t){return n||(n=[]),n[n.length]=t,n}function tM(n){return nX(n,15)?n:new n5(n)}function tx(){try{null.a()}catch(n){return n}}function tB(n){var t;return(t=new A).d=i2+n,t.c=1,t}function tA(n,t){return nz(n)?n.eQ(t):n===t}function tN(n,t){return n.l==t.l&&n.m==t.m&&n.h==t.h}function tI(n,t){return n.l!=t.l||n.m!=t.m||n.h!=t.h}function tE(n,t,e){return(i0=new S).l=n,i0.m=t,i0.h=e,i0}function tR(n,t){return nq(n)===nq(t)||null!=n&&tA(n,t)}function tO(n,t){throw new no("Index: "+n+", Size: "+t)}function tD(n,t){if(!n)throw new q;this.f=t,tF(this,n)}function tk(n,t){if(!n)throw new q;this.f=t,tF(this,n)}function tL(n,t,e,r){e4.call(this,n,t,e),iy(this,r)}function tU(n,t){e4.call(this,n,0,n.length),iy(this,t)}function tP(n,t){e4.call(this,eo(n),0,n.length),iy(this,t)}function tQ(n){nt.call(this,"String index out of range: "+n)}function tT(n,t){var e,r;return e=n.b,r=String.fromCharCode(t),e.b+=r,n}function tj(n,t){rD(n.b,n.b,n.e,t.b,t.e),t5(n),n.c=-2}function tF(n,t){n.d=t,n.b=t.ab(),n.b<54&&(n.g=rl(eP(t)))}function tH(){tH=b,uw=[],ud=[],function(n,t,e){var r,i=0;for(var o in n)(r=n[o])&&(t[i]=o,e[i]=r,++i)}(new C,uw,ud)}function t$(){uk||(uk=!0,new Q,new T,function(){if(nb(oQ,i2),t.bigdecimal.BigDecimal)var n=t.bigdecimal.BigDecimal;t.bigdecimal.BigDecimal=fC(function(){1==arguments.length&&null!=arguments[0]&&arguments[0].gC()==fW?this.__gwt_instance=arguments[0]:0==arguments.length&&(this.__gwt_instance=new nl,nh(this.__gwt_instance,this))});var e=t.bigdecimal.BigDecimal.prototype={};if(n)for(p in n)t.bigdecimal.BigDecimal[p]=n[p];t.bigdecimal.BigDecimal.ROUND_CEILING=2,t.bigdecimal.BigDecimal.ROUND_DOWN=1,t.bigdecimal.BigDecimal.ROUND_FLOOR=3,t.bigdecimal.BigDecimal.ROUND_HALF_DOWN=5,t.bigdecimal.BigDecimal.ROUND_HALF_EVEN=6,t.bigdecimal.BigDecimal.ROUND_HALF_UP=4,t.bigdecimal.BigDecimal.ROUND_UNNECESSARY=7,t.bigdecimal.BigDecimal.ROUND_UP=0,t.bigdecimal.BigDecimal.__init__=fC(function(n){var t=function(n){var t,e;if(iK(),(e=iH(n))==ob)t=new nQ(new nZ(n[0].toString()));else if("BigInteger number"==e)t=new tD(new nZ(n[0].toString()),n[1]);else if("BigInteger number MathContext"==e)t=new ts(new nZ(n[0].toString()),n[1],new iU(n[2].toString()));else if("BigInteger MathContext"==e)t=new n8(new nZ(n[0].toString()),new iU(n[1].toString()));else if(e==oU)t=new n7(eo(n[0].toString()));else if("array number number"==e)t=new e4(eo(n[0].toString()),n[1],n[2]);else if("array number number MathContext"==e)t=new tL(eo(n[0].toString()),n[1],n[2],new iU(n[3].toString()));else if("array MathContext"==e)t=new tU(eo(n[0].toString()),new iU(n[1].toString()));else if(e==oz)t=new ed(n[0]);else if(e==oJ)t=new eA(n[0],new iU(n[1].toString()));else if(e==o1)t=new W(n[0].toString());else if("string MathContext"==e)t=new tP(n[0].toString(),new iU(n[1].toString()));else throw new nt("Unknown call signature for obj = new java.math.BigDecimal: "+e);return new nT(t)}(n);return nk(t)}),e.abs_va=fC(function(n){return nk(this.__gwt_instance.s(n))}),e.add_va=fC(function(n){return nk(this.__gwt_instance.t(n))}),e.byteValueExact=fC(function(){return this.__gwt_instance.u()}),e.compareTo=fC(function(n){return this.__gwt_instance.v(n.__gwt_instance)}),e.divide_va=fC(function(n){return nk(this.__gwt_instance.y(n))}),e.divideToIntegralValue_va=fC(function(n){return nk(this.__gwt_instance.x(n))}),e.doubleValue=fC(function(){return this.__gwt_instance.z()}),e.equals=fC(function(n){return this.__gwt_instance.eQ(n)}),e.floatValue=fC(function(){return this.__gwt_instance.A()}),e.hashCode=fC(function(){return this.__gwt_instance.hC()}),e.intValue=fC(function(){return this.__gwt_instance.B()}),e.intValueExact=fC(function(){return this.__gwt_instance.C()}),e.max=fC(function(n){return nk(this.__gwt_instance.F(n.__gwt_instance))}),e.min=fC(function(n){return nk(this.__gwt_instance.G(n.__gwt_instance))}),e.movePointLeft=fC(function(n){return nk(this.__gwt_instance.H(n))}),e.movePointRight=fC(function(n){return nk(this.__gwt_instance.I(n))}),e.multiply_va=fC(function(n){return nk(this.__gwt_instance.J(n))}),e.negate_va=fC(function(n){return nk(this.__gwt_instance.K(n))}),e.plus_va=fC(function(n){return nk(this.__gwt_instance.L(n))}),e.pow_va=fC(function(n){return nk(this.__gwt_instance.M(n))}),e.precision=fC(function(){return this.__gwt_instance.q()}),e.remainder_va=fC(function(n){return nk(this.__gwt_instance.N(n))}),e.round=fC(function(n){return nk(this.__gwt_instance.O(n.__gwt_instance))}),e.scale=fC(function(){return this.__gwt_instance.P()}),e.scaleByPowerOfTen=fC(function(n){return nk(this.__gwt_instance.Q(n))}),e.setScale_va=fC(function(n){return nk(this.__gwt_instance.R(n))}),e.shortValueExact=fC(function(){return this.__gwt_instance.S()}),e.signum=fC(function(){return this.__gwt_instance.r()}),e.stripTrailingZeros=fC(function(){return nk(this.__gwt_instance.T())}),e.subtract_va=fC(function(n){return nk(this.__gwt_instance.U(n))}),e.toBigInteger=fC(function(){return nk(this.__gwt_instance.V())}),e.toBigIntegerExact=fC(function(){return nk(this.__gwt_instance.W())}),e.toEngineeringString=fC(function(){return this.__gwt_instance.X()}),e.toPlainString=fC(function(){return this.__gwt_instance.Y()}),e.toString=fC(function(){return this.__gwt_instance.tS()}),e.ulp=fC(function(){return nk(this.__gwt_instance.Z())}),e.unscaledValue=fC(function(){return nk(this.__gwt_instance.$())}),e.divideAndRemainder_va=fC(function(n){return nL(this.__gwt_instance.w(n))}),e.longValue=fC(function(){return this.__gwt_instance.E()}),e.longValueExact=fC(function(){return this.__gwt_instance.D()}),t.bigdecimal.BigDecimal.valueOf_va=fC(function(n){var t=function(n){var t,e;if(iK(),(e=iH(n))==oz)t=function(n){if(!isFinite(n)||isNaN(n))throw new ng(oC);return new W(i2+n)}(n[0]);else if(e==oz)t=t9(ri(n[0]));else if(e==oK)t=eV(ri(n[0]),n[1]);else throw new nt("Unknown call signature for bd = java.math.BigDecimal.valueOf: "+e);return new nT(t)}(n);return nk(t)}),t.bigdecimal.BigDecimal.log=fC(function(n){iK(),typeof console!==o0&&console.log&&console.log(n)}),t.bigdecimal.BigDecimal.logObj=fC(function(n){iK(),typeof console!==o0&&console.log&&typeof JSON!==o0&&JSON.stringify&&console.log("object: "+JSON.stringify(n))}),t.bigdecimal.BigDecimal.ONE=fC(function(){var n=(iK(),new nT(uA));return nk(n)}),t.bigdecimal.BigDecimal.TEN=fC(function(){var n=(iK(),new nT(uN));return nk(n)}),t.bigdecimal.BigDecimal.ZERO=fC(function(){var n=(iK(),new nT(uI));return nk(n)}),nS(fW,t.bigdecimal.BigDecimal)}())}function tV(n,t,e){var r;return(r=new A).d=n+t,r.c=4,r.b=e,r}function tq(n,t,e,r,i){var o;return t3(n,t,e,o=function(n,t){var e=Array(t);if(3==n)for(var r=0;r0)for(var i=[null,0,!1][n],r=0;rn)throw new tQ(e)}(n.length,t,r),er(n,t,r)}function tz(n,t){return ix(),t=n.c.c)throw new G;return t=n.c,e=n.b++,r=t.c,(e<0||e>=r)&&tO(e,r),t.b[e]}function tW(n,t){return!!nX(t,1)&&String(n)==t}function tZ(){nt.call(this,"Add not supported on this collection")}function tX(){this.b=[],this.f={},this.d=!1,this.c=null,this.e=0}function tY(n,t){r7(),this.f=n,this.e=1,this.b=t3(fO,{6:1},-1,[t])}function t1(n,t){var e;return e=n.c,n.c=t,!n.d&&(n.d=!0,++n.e),e}function t0(n,t){var e,r;return e=n.b,r=String.fromCharCode.apply(null,t),e.b+=r,n}function t2(n,t,e,r){var i,o;return null==t&&(t=oG),i=n.b,o=t.substr(e,r-e),i.b+=o,n}function t4(n,t,e,r){var i;return i=tq(fO,{6:1},-1,t,1),rD(i,n,t,e,r),i}function t3(n,t,e,r){return tH(),function(n,t,e){tH();for(var r=0,i=t.length;r0&&0==n.b[--n.e];);0==n.b[n.e++]&&(n.f=0)}function t9(n){return rT(n,o5)&&n_(n,ut)?uy[nN(n)]:new ew(n,0)}function t7(n,t){return 0==t||0==n.f?n:t>0?rr(n,t):ie(n,-t)}function t8(n,t){return 0==t||0==n.f?n:t>0?ie(n,t):rr(n,-t)}function en(n){var t;return 0==n.f?-1:((t=eM(n))<<5)+e_(n.b[t])}function et(n){var t;return 0!=(t=nN(n))?e_(t):e_(nN(r9(n,32)))+32}function ee(n,t){var e;return 0==(e=eF(n,t)).length?(new w).o(t):tC(e,1)}function er(n,t,e){return n=n.slice(t,e),String.fromCharCode.apply(null,n)}function ei(n,t,e,r){var i;return i=tq(fO,{6:1},-1,t+1,1),iM(i,n,t,e,r),i}function eo(n){var t,e;return t=tq(ce,{6:1},-1,e=n.length,1),function(n,t,e,r){var i;for(i=0;it.e&&(c=t,t=e,e=c),e.e<63)?(b=t,l=e,(m=(w=b.e)+(_=l.e),y=b.f!=l.f?-1:1,2==m)?(S=i$(td(ri(b.b[0]),uf),td(ri(l.b[0]),uf)),x=nN(S),0==(M=nN(rJ(S,32)))?new tY(y,x):new th(y,2,t3(fO,{6:1},-1,[x,M]))):(g=b.b,d=l.b,v=tq(fO,{6:1},-1,m,1),e0(g,w,d,_,v),C=new th(y,m,v),t5(C),C)):(f=(-2&t.e)<<4,a=t.fb(f),h=e.fb(f),i=iC(t,a.eb(f)),o=iC(e,h.eb(f)),s=n(a,h),r=n(i,o),u=n(iC(a,i),iC(o,h)),u=(u=iL(iL(u,s),r)).eb(f),iL(iL(s=s.eb(f<<1),u),r))}(n,t))}function eh(n,t){var e;if(t.f<=0)throw new ne(ow);return(e=rY(n,t)).f<0?iL(e,t):e}function eb(n){var t;t=new nY,n.d&&tt(t,new nn(n)),function(n,t){var e=n.f;for(var r in e)if(58==r.charCodeAt(0)){var i=new nE(n,r.substring(1));t.Kb(i)}}(n,t),function(n,t){var e=n.b;for(var r in e){var i=parseInt(r,10);if(r==i)for(var o=e[i],u=0,f=o.length;u0?1:0:(n.d||(n.d=eG(n.g)),n.d).r()}function eB(n){return n.b<54?new ta(-n.g,n.f):new tk((n.d||(n.d=eG(n.g)),n.d).cb(),n.f)}function eA(n,t){if(!isFinite(n)||isNaN(n))throw new ng(oC);iW(this,n.toPrecision(20)),iy(this,t)}function eN(n,t){return isNaN(n)?isNaN(t)?0:1:isNaN(t)?-1:nt?1:0}function eI(n,t){return t<2||t>36||n<0||n>=t?0:n<10?48+n&65535:97+n-10&65535}function eE(n,t){var e,r,i;return t?((e=t[ok])||(r=t.gC(),i=el(n.b,r),e=new(ef(i))(t),t[ok]=e),e):null}function eR(n){var t,e;return 32==(e=r1(n.h))?32==(t=r1(n.m))?r1(n.l)+32:t+20-10:e-12}function eO(n){return tE(4194303&n,~~n>>22&4194303,n<0?1048575:0)}function eD(){eD=b,up=tE(4194303,4194303,524287),u_=tE(0,0,524288),uv=ri(1),ri(2),um=ri(0)}function ek(n,t){iM(n.b,n.b,n.e,t.b,t.e),n.e=nd(np(n.e,t.e)+1,n.b.length),t5(n),n.c=-2}function eL(n,t){var e;e=~~t>>5,n.e+=e+(r1(n.b[n.e-1])-(31&t)>=0?0:1),rk(n.b,n.b,e,31&t),t5(n),n.c=-2}function eU(n,t){var e,r;e=~~t>>5,n.e>>r:0,t5(n))}function eP(n){var t;return t=n.e>1?tp(rz(ri(n.b[1]),32),td(ri(n.b[0]),uf)):td(ri(n.b[0]),uf),i$(ri(n.f),t)}function eQ(n,t,e){var r;for(r=e-1;r>=0&&n[r]==t[r];--r);return r<0?0:n_(td(ri(n[r]),uf),td(ri(t[r]),uf))?-1:1}function eT(n,t,e){var r,i,o;for(i=0,r=0;i>>31;0!=r&&(n[e]=r)}function ej(n,t,e,r){if(i1=t,n)try{fC(iD)()}catch(i){n(t)}else fC(iD)()}function eF(n,t){var e,r,i;for(e=0,r=(i=t&&t.stack?t.stack.split("\n"):[]).length;e>5==n.e-1&&n.b[n.e-1]==1<<(31&t))for(e=0;r&&e=0&&t=0?new ew(o5,2147483647):new ew(o5,-2147483648)}function eG(n){return(r7(),n<0)?-1!=n?new rw(-1,-n):uL:n<=10?uP[eg(n)]:new rw(1,n)}function ez(n){var t,e,r;return t=~n.l+1&4194303,e=~n.m+(0==t?1:0)&4194303,r=~n.h+(0==t&&0==e?1:0)&1048575,tE(t,e,r)}function eJ(n){var t,e,r;t=~n.l+1&4194303,e=~n.m+(0==t?1:0)&4194303,r=~n.h+(0==t&&0==e?1:0)&1048575,n.l=t,n.m=e,n.h=r}function eK(n){var t,e,r;for(r=0,e=tq(fT,{6:1},13,n.length,0),t=n.length;r=0;--r)if(n[r]!=i[r]){e=0!=n[r]&&rQ(td(ri(n[r]),uf),td(ri(i[r]),uf));break}}return u=new th(1,o+1,n),e&&tj(u,t),t5(u),u}(o,e)}function eY(n,t){var e;return n===t||!!nX(t,17)&&(e=tJ(t,17),n.f==e.f&&n.e==e.e&&function(n,t){var e;for(e=n.e-1;e>=0&&n.b[e]==t[e];--e);return e<0}(n,e.b))}function e1(n){var t,e;return 0==n.f?0:(t=n.e<<5,e=n.b[n.e-1],n.f<0&&eM(n)==n.e-1&&(e=~~(e-1)),t-=r1(e))}function e0(n,t,e,r,i){ix(),0!=t&&0!=r&&(1==t?i[r]=r_(i,e,r,n[0]):1==r?i[t]=r_(i,n,t,e[0]):function(n,t,e,r,i){var o,u,f,c;if(nq(n)===nq(t)&&r==i){iv(n,r,e);return}for(f=0;f2147483647))return eg(n);throw new ne("Underflow")}function e6(n,t){if(rX(),n<0)throw new ni("Digits < 0");if(!t)throw new nu("null RoundingMode");this.b=n,this.c=t}function e5(n){return(r7(),n_(n,o5))?tI(n,o6)?new rg(-1,ez(n)):uL:nv(n,un)?uP[nN(n)]:new rg(1,n)}function e9(n){var t;return n_(n,o5)&&(n=tE(4194303&~n.l,4194303&~n.m,1048575&~n.h)),64-(0!=(t=nN(r9(n,32)))?r1(t):r1(nN(n))+32)}function e7(n,t){var e,r,i;return e=n.l+t.l,r=n.m+t.m+(~~e>>22),i=n.h+t.h+(~~r>>22),tE(4194303&e,4194303&r,1048575&i)}function e8(n,t){var e,r,i;return e=n.l-t.l,r=n.m-t.m+(~~e>>22),i=n.h-t.h+(~~r>>22),tE(4194303&e,4194303&r,1048575&i)}function rn(n,t){var e;if(e=t-1,n.f>0){for(;!n.gb(e);)--e;return t-1-e}for(;n.gb(e);)--e;return t-1-np(e,n.bb())}function rt(n,t){var e;return n===t||!!nX(t,16)&&(e=tJ(t,16)).f==n.f&&(n.b<54?e.g==n.g:n.d.eQ(e.d))}function re(n,t,e){var r,i,o,u;for(o=o5,r=t-1;r>=0;--r)u=e7(rz(o,32),td(ri(n[r]),uf)),i=io(u,e),o=ri(nN(r9(i,32)));return nN(o)}function rr(n,t){var e,r,i,o;return e=~~t>>5,t&=31,r=tq(fO,{6:1},-1,i=n.e+e+(0==t?0:1),1),rk(r,n.b,e,t),o=new th(n.f,i,r),t5(o),o}function ri(n){var t,e;return n>-129&&n<128?(t=n+128,null==ub&&(ub=tq(fz,{6:1},2,256,0)),(e=ub[t])||(e=ub[t]=eO(n)),e):eO(n)}function ro(n){var t,e,r;return(r7(),n>5,t=31&n,(r=tq(fO,{6:1},-1,e+1,1))[e]=1<i4&&n[n.length-1]>i4?n:n.replace(/^(\s*)/,i2).replace(/\s*$/,i2)}function rc(n){return n-=~~n>>1&1431655765,n=(~~(n=(~~n>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=~~n>>8,63&(n+=~~n>>16)}function rs(n,t,e){if(null!=e&&(n.qI>0&&!nF(e,n.qI)||n.qI<0&&(e.tM==b||nJ(e,1))))throw new H;return n[t]=e}function ra(n,t){return n.f>t.f?1:n.ft.e?n.f:n.e=0;--o)u=eX(u,u,r,i),(e.b[~~o>>5]&1<<(31&o))!=0&&(u=eX(u,t,r,i));return u}(f,r,t,e,o):function(n,t,e,r,i){var o,u,f,c,s,a,h;for(s=tq(cw,{6:1},17,8,0),a=n,rs(s,0,t),h=eX(t,t,r,i),u=1;u<=7;++u)rs(s,u,eX(s[u-1],h,r,i));for(u=e.ab()-1;u>=0;--u)if((e.b[~~u>>5]&1<<(31&u))!=0){for(c=1,o=u,f=u-3>0?u-3:0;f<=u-1;++f)(e.b[~~f>>5]&1<<(31&f))!=0&&(f>1],a,r,i),u=o}else a=eX(a,a,r,i);return a}(f,r,t,e,o),eX(u,(r7(),uU),e,o)}function rm(n,t){var e,r,i;for(e=0,r=n.length;e36)throw new ng("Radix out of range");if(0==n.length)throw new ng("Zero length BigInteger");(function(n,t,e){var r,i,o,u,f,c,s,a,h,b,l,g,w,d;for(s=l=t.length,45==t.charCodeAt(0)?(h=-1,b=1,--l):(h=1,b=0),u=(iP(),uK)[e],o=~~(l/u),0!=(d=l%u)&&++o,c=tq(fO,{6:1},-1,o,1),r=uJ[e-2],f=0,g=b+(0==d?u:d),w=b;wr)return 1;if(e=0&&n[i]==t[i];--i);return i<0?0:n_(td(ri(n[i]),uf),td(ri(t[i]),uf))?-1:1}function rM(n,t){var e,r,i;for(r=tq(fO,{6:1},-1,i=n.e,1),nd(eM(n),eM(t)),e=0;e999999999)throw new ne(oS);return e=n.f*t,0==n.b&&-1!=n.g?eq(e):new tD((n.d||(n.d=eG(n.g)),n.d).db(t),e3(e))}function rA(n,t){return t<2||t>36?-1:n>=48&&n<48+(t<10?t:10)?n-48:n>=97&&n=65&&n=0;--n)f_[n]=e,e*=.5;for(n=24,t=1;n>=0;--n)fp[n]=t,t*=.5}function rI(){rI=b,uV=t3(ce,{6:1},-1,[48,49,50,51,52,53,54,55,56,57,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122])}function rE(n,t){var e,r,i;return!((i=n.h-t.h)<0)&&(e=n.l-t.l,!((i+=~~(r=n.m-t.m+(~~e>>22))>>22)<0)&&(n.l=4194303&e,n.m=4194303&r,n.h=1048575&i,!0))}function rR(n){var t;return 0!=n.c?n.c:n.b<54?(t=iu(n.g),n.c=nN(td(t,o6)),n.c=33*n.c+nN(td(r9(t,32),o6)),n.c=17*n.c+eg(n.f),n.c):(n.c=17*n.d.hC()+eg(n.f),n.c)}function rO(n,t,e,r){var i,o,u,f,c;return o=(c=n/t)>0?Math.floor(c):Math.ceil(c),u=n%t,f=eN(n*t,0),0!=u&&(i=eN((u<=0?0-u:u)*2,t<=0?0-t:t),o+=ig(1&eg(o),f*(5+i),r)),new ta(o,e)}function rD(n,t,e,r,i){var o,u;for(u=0,o=o5;ue;--i)n[i]|=~~t[i-e-1]>>>o,n[i-1]=t[i-e-1]<>5,n.e-=r,!rV(n.b,n.e,n.b,r,31&t)&&i<0){for(e=0;e>19,r=~~t.h>>19,0==e?0!=r||n.h>t.h||n.h==t.h&&n.m>t.m||n.h==t.h&&n.m==t.m&&n.l>t.l:!(0==r||n.h>19,r=~~t.h>>19,0==e?0!=r||n.h>t.h||n.h==t.h&&n.m>t.m||n.h==t.h&&n.m==t.m&&n.l>=t.l:!(0==r||n.h-140737488355328&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=eg(nj(Math.log(n)/.6931471805599453)),(!t||n!=Math.pow(2,e))&&++e,e):e9(iu(n))}function rH(n,t){var e,r;return(e=n._(),r=t._(),0==e.r())?r:0==r.r()?e:(1==e.e||2==e.e&&e.b[1]>0)&&(1==r.e||2==r.e&&r.b[1]>0)?e5(rj(eP(e),eP(r))):function(n,t){var e,r,i;e=n.bb(),r=t.bb(),rP(n,e),rP(t,r),1==ra(n,t)&&(i=n,n=t,t=i);do{if(1==t.e||2==t.e&&t.b[1]>0){t=e5(rj(eP(n),eP(t)));break}if(t.e>1.2*n.e)0!=(t=rY(t,n)).r()&&rP(t,t.bb());else do tj(t,n),rP(t,t.bb());while(ra(t,n)>=0)i=t,t=n,n=i}while(0!=i.f)return t.eb(e=r?eL(f,i):(rP(c,r-e0&&eL(f,i-r+e)),e+=i),0!=(i=rn(h,u))&&(eL(h,i),r>=e?eL(c,i):(rP(f,e-r0&&eL(c,i-e+r)),r+=i),s.r()==h.r()?e<=r?(r2(s,h),r2(f,c)):(r2(h,s),r2(c,f)):e<=r?(r0(s,h),r0(f,c)):(r0(h,s),r0(c,f)),0==h.r()||0==s.r())throw new ne(og);return eH(h,r)&&(f=c,h.r()!=s.r()&&(s=s.cb())),s.gb(u)&&(f=0>f.r()?f.cb():iC(t,f)),0>f.r()&&(f=iL(f,t)),f}(n,t);for(o=32*t.e,h=ey(t),b=ey(n),u=np(b.e,h.e),c=new th(1,1,tq(fO,{6:1},-1,u+1,1)),(s=new th(1,1,tq(fO,{6:1},-1,u+1,1))).b[0]=1,e=0,(r=h.bb())>(i=b.bb())?(rP(h,r),rP(b,i),eL(c,i),e+=r-i):(rP(h,r),rP(b,i),eL(s,r),e+=i-r),c.f=1;b.r()>0;){for(;ra(h,b)>0;)tj(h,b),a=h.bb(),rP(h,a),ek(c,s),eL(s,a),e+=a;for(;0>=ra(h,b)&&(tj(b,h),0!=b.r());)a=b.bb(),rP(b,a),ek(s,c),eL(c,a),e+=a}if(!(1==h.e&&1==h.b[0]))throw new ne(og);return ra(c,t)>=0&&tj(c,t),c=iC(t,c),f=rd(t),e>o&&(c=eX(c,(r7(),uU),t,f),e-=o),c=eX(c,ro(o-e),t,f)}(eh(n._(),t),t)).f)throw new ne(og);return n.f<0?iC(t,e):e}function rV(n,t,e,r,i){var o,u,f;for(u=0,o=!0;u>>i|e[u+r+1]<>>i,++u}return o}function rq(n,t){var e;return(e=n.f+t.f,0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)?eq(e):n.b+t.b<54?new ta(n.g*t.g,e3(e)):new tD(ea((n.d||(n.d=eG(n.g)),n.d),(t.d||(t.d=eG(t.g)),t.d)),e3(e))}function rG(n,t){var e;if(t<0)throw new ne("Negative exponent");if(0==t)return uU;if(1==t||n.eQ(uU)||n.eQ(uT))return n;if(!n.gb(0)){for(e=1;!n.gb(e);)++e;return ea(ro(e*t),n.fb(e).db(t))}return function(n,t){var e,r;for(ix(),r7(),r=uU,e=n;t>1;t>>=1)(1&t)!=0&&(r=ea(r,e)),e=1==e.e?ea(e,e):new ru(iv(e.b,e.e,tq(fO,{6:1},-1,e.e<<1,1)));return ea(r,e)}(n,t)}function rz(n,t){var e,r,i;return(t&=63)<22?(e=n.l<>22-t,i=n.h<>22-t):t<44?(e=0,r=n.l<>44-t):(e=0,r=0,i=n.l<>>t,i=~~n.m>>t|e<<22-t,r=~~n.l>>t|n.m<<22-t):t<44?(o=0,i=~~e>>>t-22,r=~~n.m>>t-22|n.h<<44-t):(o=0,i=0,r=~~e>>>t-44),tE(4194303&r,4194303&i,1048575&o)}function rK(n){switch(iT(),n){case 2:return fn;case 1:return ft;case 3:return fe;case 5:return fr;case 6:return fi;case 4:return fo;case 7:return fu;case 0:return ff;default:throw new ni("Invalid rounding mode")}}function rW(n,t){var e,r,i;if(0==t)return(1&n.b[0])!=0;if(t<0)throw new ne(ox);if((i=~~t>>5)>=n.e)return n.f<0;if(e=n.b[i],t=1<<(31&t),n.f<0){if(r=eM(n),i0||(t=1,e=1,n.b<54?(n.b>=1&&(e=n.g),t+=Math.log(e<=0?0-e:e)*Math.LOG10E):(t+=(n.b-1)*.3010299956639812,0!=iS((n.d||(n.d=eG(n.g)),n.d),iO(t)).r()&&++t),n.e=eg(t)),n.e}function rX(){rX=b,uW=new e6(34,(iT(),fi)),uZ=new e6(7,fi),uX=new e6(16,fi),uY=new e6(0,fo),u1=t3(ce,{6:1},-1,[112,114,101,99,105,115,105,111,110,61]),u0=t3(ce,{6:1},-1,[114,111,117,110,100,105,110,103,77,111,100,101,61])}function rY(n,t){var e,r,i,o;if(0==t.f)throw new ne(ol);return((o=n.e)!=(e=t.e)?o>e?1:-1:eQ(n.b,t.b,o))==-1?n:(r=tq(fO,{6:1},-1,e,1),1==e?r[0]=re(n.b,o,t.b[0]):r=iz(null,o-e+1,n.b,o,t.b,e),i=new th(n.f,e,r),t5(i),i)}function r1(n){var t,e,r;return n<0?0:0==n?32:(e=16-(t=~~(r=-(~~n>>16))>>16&16),e+=t=~~(r=(n=~~n>>t)-256)>>16&8,n<<=t,e+=t=~~(r=n-4096)>>16&4,n<<=t,e+=t=~~(r=n-16384)>>16&2,n<<=t,e+2-(t=(r=~~n>>14)&~(~~r>>1)))}function r0(n,t){if(0==n.f)iQ(t.b,0,n.b,0,t.e);else{if(0==t.f)return;n.f==t.f?iM(n.b,n.b,n.e,t.b,t.e):rS(n.b,t.b,n.e,t.e)>0?rD(n.b,n.b,n.e,t.b,t.e):(ih(n.b,n.b,n.e,t.b,t.e),n.f=-n.f)}n.e=np(n.e,t.e)+1,t5(n),n.c=-2}function r2(n,t){var e;e=ra(n,t),0==n.f?(iQ(t.b,0,n.b,0,t.e),n.f=-t.f):n.f!=t.f?(iM(n.b,n.b,n.e,t.b,t.e),n.f=e):rS(n.b,t.b,n.e,t.e)>0?rD(n.b,n.b,n.e,t.b,t.e):(ih(n.b,n.b,n.e,t.b,t.e),n.f=-n.f),n.e=np(n.e,t.e)+1,t5(n),n.c=-2}function r4(n,t,e){var r,i,o,u,f,c,s,a,h,b;if(e.f<=0)throw new ne(ow);return(r=n,(1==e.e&&1==e.b[0])|t.f>0&0==r.f)?uT:0==r.f&&0==t.f?uU:(t.f<0&&(r=r$(n,e),t=t.cb()),i=e.gb(0)?rv(r._(),t,e):(o=r._(),u=t,f=e.bb(),c=e.fb(f),a=rv(o,u,c),h=function(n,t,e){var r,i,o,u,f;for(r7(),u=uU,i=ey(t),r=ey(n),n.gb(0)&&eU(i,e-1),eU(r,e),o=i.ab()-1;o>=0;--o)f=ey(u),eU(f,e),u=ea(u,f),(i.b[~~o>>5]&1<<(31&o))!=0&&(u=ea(u,r),eU(u,e));return eU(u,e),u}(o,u,f),s=function(n,t){var e,r;for(e=1,(r=new ru(tq(fO,{6:1},-1,1<>5]|=1<<(31&e));return r}(c,f),b=ea(iC(h,a),s),eU(b,f),b.f<0&&(b=iL(b,ro(f))),iL(a,ea(c,b))),r.f<0&&t.gb(0)&&(i=eh(ea(iC(e,uU),i),e)),i)}function r3(n,t,e,r,i){var o,u,f;for(f=0,o=o5,u=o5;f=n.e)return r7(),uT;for(u=tq(fO,{6:1},-1,f=n.e,1),(e=i>r?i:r)==r&&(u[e]=-t.b[e]&n.b[e],++e),o=nd(t.e,n.e);e=t.e)for(;e0?t:0):t>=0?n.b<54?new ta(n.g,e3(t)):new tD((n.d||(n.d=eG(n.g)),n.d),e3(t)):-t>t,o=~~n.m>>t|e<<22-t,i=~~n.l>>t|n.m<<22-t):t<44?(u=r?1048575:0,o=~~e>>t-22,i=~~n.m>>t-22|e<<44-t):(u=r?1048575:0,o=r?4194303:0,i=~~e>>t-44),tE(4194303&i,4194303&o,1048575&u)}function r7(){var n;for(n=0,r7=b,uU=new tY(1,1),uQ=new tY(1,10),uT=new tY(0,0),uL=new tY(-1,1),uP=t3(cw,{6:1},17,[uT,uU,new tY(1,2),new tY(1,3),new tY(1,4),new tY(1,5),new tY(1,6),new tY(1,7),new tY(1,8),new tY(1,9),uQ]),uj=tq(cw,{6:1},17,32,0);n=t.e)return t;if(r>=n.e)return n;if(u=nd(n.e,t.e),o=tq(fO,{6:1},-1,u,1),r==i)o[i]=-(-n.b[i]|-t.b[i]),e=i;else{for(e=r;e>5,t&=31,r>=n.e)return n.f<0?(r7(),uL):(r7(),uT);if(i=tq(fO,{6:1},-1,(o=n.e-r)+1,1),rV(i,o,n.b,r,t),n.f<0){for(e=0;e0&&n.b[e]<<32-t!=0){for(e=0;e0?r=0)return n;return 0!=e?e>0?rL(n,t,e):rL(t,n,-e):np(n.b,t.b)+1<54?new ta(n.g+t.g,n.f):new tk(iL((n.d||(n.d=eG(n.g)),n.d),(t.d||(t.d=eG(t.g)),t.d)),n.f)}function io(n,t){var e,r,i,o,u;return r=td(ri(t),uf),rT(n,o5)?(o=iF(n,r,!1),u=tn(n,r)):(e=rJ(n,1),i=ri(~~t>>>1),o=iF(e,i,!1),u=tn(e,i),u=e7(rz(u,1),td(n,o9)),(1&t)!=0&&(rQ(o,u)?nv(e8(o,u),r)?(u=e7(u,e8(r,o)),o=e8(o,o9)):(u=e7(u,e8(rz(r,1),o)),o=e8(o,o7)):u=e8(u,o))),tp(rz(u,32),td(o,uf))}function iu(n){var t,e,r,i,o;return isNaN(n)?(eD(),um):n<-0x8000000000000000?(eD(),u_):n>=0x7fffffffffffffff?(eD(),up):(i=!1,n<0&&(i=!0,n=-n),r=0,n>=17592186044416&&(r=eg(n/17592186044416),n-=17592186044416*r),e=0,n>=4194304&&(e=eg(n/4194304),n-=4194304*e),t=eg(n),o=tE(t,e,r),i&&eJ(o),o)}function ic(n){var t,e,r,i,o;if(0==n.l&&0==n.m&&0==n.h)return i7;if(524288==n.h&&0==n.m&&0==n.l)return"-9223372036854775808";if(~~n.h>>19!=0)return i5+ic(ez(n));for(e=n,r=i2;!(0==e.l&&0==e.m&&0==e.h);){if(i=ri(1e9),e=iF(e,i,!0),t=i2+nN(uh),!(0==e.l&&0==e.m&&0==e.h))for(o=9-t.length;o>0;--o)t=i7+t;r=t+r}return r}function is(n,t){var e,r,i,o,u,f,c,s,a,h,b,l,g,w,d,_,v,m,y,C,S,M,x;if(0==(i=t.f))throw new ne(ol);return(r=t.e,e=t.b,1==r)?(l=e[0],(S=n.b,M=n.e,x=n.f,1==M)?(g=td(ri(S[0]),uf),w=td(ri(l),uf),d=iF(g,w,!1),v=tn(g,w),x!=i&&(d=ez(d)),x<0&&(v=ez(v)),t3(cw,{6:1},17,[e5(d),e5(v)])):(_=tq(fO,{6:1},-1,M,1),m=t3(fO,{6:1},-1,[ip(_,S,M,l)]),y=new th(x==i?1:-1,M,_),C=new th(x,1,m),t5(y),t5(C),t3(cw,{6:1},17,[y,C]))):(a=n.b,((h=n.e)!=r?h>r?1:-1:eQ(a,e,h))<0)?t3(cw,{6:1},17,[uT,n]):(b=n.f,o=tq(fO,{6:1},-1,u=h-r+1,1),f=iz(o,u,a,h,e,r),c=new th(b==i?1:-1,u,o),s=new th(b,r,f),t5(c),t5(s),t3(cw,{6:1},17,[c,s]))}function ia(n){var t;if(0==n.f||0==n.b&&-1!=n.g)return n.d||(n.d=eG(n.g)),n.d;if(n.f<0)return ea((n.d||(n.d=eG(n.g)),n.d),iO(-n.f));if(n.f>(n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1)||n.f>(n.d||(n.d=eG(n.g)),n.d).bb()||0!=(t=is((n.d||(n.d=eG(n.g)),n.d),iO(n.f)))[1].r())throw new ne(oB);return t[0]}function ih(n,t,e,r,i){var o,u;if(o=o5,e36)throw new ng("radix "+t+" out of range");for(e=(r=n.length)>0&&45==n.charCodeAt(0)?1:0;e2147483647)throw new ng(oy+n+i3);return i}function il(n){var t,e;if(0==n.f)return r7(),uL;if(eY(n,(r7(),uL)))return uT;if(e=tq(fO,{6:1},-1,n.e+1,1),n.f>0){if(-1!=n.b[n.e-1])for(t=0;-1==n.b[t];++t);else{for(t=0;t0?0==t?0:t<0?-1:1:0;break;case 3:r=(0==t?0:t<0?-1:1)<0?0==t?0:t<0?-1:1:0;break;case 4:(t<0?-t:t)>=5&&(r=0==t?0:t<0?-1:1);break;case 5:(t<0?-t:t)>5&&(r=0==t?0:t<0?-1:1);break;case 6:(t<0?-t:t)+n>5&&(r=0==t?0:t<0?-1:1)}return r}function iw(n,t){var e,r,i,o,u,f,c,s,a;if(s=0==n.f?1:n.f,u=~~t>>5,e=31&t,c=np(u+1,n.e)+1,f=tq(fO,{6:1},-1,c,1),r=1<=n.e)f[u]=r;else if(i=eM(n),u>i)f[u]^=r;else if(u=0||0==s.f||1==s.e&&1==s.b[0])if(!(1==(a=r4(s,f,n)).e&&1==a.b[0]||a.eQ(u))){for(i=1;i=0;--f)a=tp(rz(s,32),td(ri(t[f]),uf)),rT(a,o5)?(c=iF(a,o,!1),s=tn(a,o)):(i=rJ(a,1),u=ri(~~r>>>1),c=iF(i,u,!1),s=tn(i,u),s=e7(rz(s,1),td(a,o9)),(1&r)!=0&&(rQ(c,s)?nv(e8(c,s),o)?(s=e7(s,e8(o,c)),c=e8(c,o9)):(s=e7(s,e8(rz(o,1),c)),c=e8(c,o7)):s=e8(s,c))),n[f]=nN(td(c,uf));return nN(s)}function i_(n,t){var e,r,i,o,u,f,c;if(f=np(n.e,t.e),u=tq(fO,{6:1},-1,f,1),i=eM(n),e=r=eM(t),i==r)u[r]=-n.b[r]^-t.b[r];else{for(u[r]=-t.b[r],o=nd(t.e,i),++e;et.g?1:0:(r=n.f-t.f,(e=(n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1)-(t.e>0?t.e:nj((t.b-1)*.3010299956639812)+1))>r+1)?i:e0&&(u=ea(u,iO(r))),ra(o,u))}function iy(n,t){var e,r,i,o,u,f,c,s,a,h,b,l,g,w,d;if(o=t.b,!((n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1)-o<0||0==o||(r=n.q()-o)<=0)){if(n.b<54){c=n,s=t,a=r,w=iu(ux[a]),g=e8(iu(c.f),ri(a)),d=iu(c.g),l=iF(d,w,!1),b=tn(d,w),tI(b,o5)&&(h=tN(e8(rz(n_(b,o5)?ez(b):b,1),w),o5)?0:n_(e8(rz(n_(b,o5)?ez(b):b,1),w),o5)?-1:1,l=e7(l,ri(ig(1&nN(l),(tN(b,o5)?0:n_(b,o5)?-1:1)*(5+h),s.c))),tu(rl(n_(l,o5)?ez(l):l))>=s.b&&(l=nH(l,un),g=e8(g,o9))),c.f=e3(rl(g)),c.e=s.b,c.g=rl(l),c.b=e9(l),c.d=null;return}f=iO(r),i=is((n.d||(n.d=eG(n.g)),n.d),f),u=n.f-r,0!=i[1].r()&&(e=ra(eZ(i[1]._()),f),0!=(e=ig(i[0].gb(0)?1:0,i[1].r()*(5+e),t.c))&&rs(i,0,iL(i[0],e5(ri(e)))),new nQ(i[0]).q()>o&&(rs(i,0,iS(i[0],(r7(),uQ))),--u)),n.f=e3(u),n.e=o,tF(n,i[0])}}function iC(n,t){var e,r,i,o,u,f,c,s,a,h;if(u=n.f,0==(c=t.f))return n;if(0==u)return t.cb();if((o=n.e)+(f=t.e)==2)return e=td(ri(n.b[0]),uf),r=td(ri(t.b[0]),uf),u<0&&(e=ez(e)),c<0&&(r=ez(r)),e5(e8(e,r));if(-1==(i=o!=f?o>f?1:-1:eQ(n.b,t.b,o)))h=-c,a=u==c?t4(t.b,f,n.b,o):ei(t.b,f,n.b,o);else if(h=u,u==c){if(0==i)return r7(),uT;a=t4(n.b,o,t.b,f)}else a=ei(n.b,o,t.b,f);return s=new th(h,a.length,a),t5(s),s}function iS(n,t){var e,r,i,o,u,f,c,s,a;if(0==t.f)throw new ne(ol);return(i=t.f,1==t.e&&1==t.b[0])?t.f>0?n:n.cb():(s=n.f,(c=n.e)+(r=t.e)==2)?(a=nH(td(ri(n.b[0]),uf),td(ri(t.b[0]),uf)),s!=i&&(a=ez(a)),e5(a)):0==(e=c!=r?c>r?1:-1:eQ(n.b,t.b,c))?s==i?uU:uL:-1==e?uT:(o=tq(fO,{6:1},-1,u=c-r+1,1),1==r?ip(o,n.b,c,t.b[0]):iz(o,u,n.b,c,t.b,r),f=new th(s==i?1:-1,u,o),t5(f),f)}function iM(n,t,e,r,i){var o,u;if(o=e7(td(ri(t[0]),uf),td(ri(r[0]),uf)),n[0]=nN(o),o=r9(o,32),e>=i){for(u=1;u0){if(i0?u=tz(u,eg(i)):i<0&&(o=tz(o,eg(-i))),iN(o,u,e,r)}function iA(n,t){var e,r,i,o,u,f,c;if(r=eM(t),(i=eM(n))>=t.e)return t;if(u=tq(fO,{6:1},-1,f=t.e,1),rt.ab()?(c=eP(s),o=eP(t),i=tN(e8(rz(n_(c,o5)?ez(c):c,1),n_(o,o5)?ez(o):o),o5)?0:n_(e8(rz(n_(c,o5)?ez(c):c,1),n_(o,o5)?ez(o):o),o5)?-1:1,i=ig(f.gb(0)?1:0,a*(5+i),r)):(i=ra(eZ(s._()),t._()),i=ig(f.gb(0)?1:0,a*(5+i),r)),0!=i){if(54>f.ab())return eV(e7(eP(f),ri(i)),e);f=iL(f,e5(ri(i)))}return new tD(f,e)}function iI(n){var t,e,r,i,o,u;return null!=n.i?n.i:n.b<32?(n.i=function(n,t){var e,r,i,o,u,f,c,s,a,h,b,l,g,w,d,_,v,m;if(iP(),(u=n_(n,o5))&&(n=ez(n)),tN(n,o5))switch(t){case 0:return i7;case 1:return on;case 2:return ot;case 3:return oe;case 4:return or;case 5:return oi;case 6:return oo;default:return s=new J,t<0?s.b.b+=of:s.b.b+=ou,b=s.b,l=-2147483648==t?"2147483648":i2+-t,b.b+=l,s.b.b}c=tq(ce,{6:1},-1,19,1),e=18,h=n;do f=h,h=nH(h,un),c[--e]=65535&nN(e7(ur,e8(f,i$(h,un))));while(tI(h,o5))if(r=e8(e8(e8(ue,ri(e)),ri(t)),o9),0==t)return u&&(c[--e]=45),tG(c,e,18-e);if(t>0&&rT(r,o3)){if(rT(r,o5)){for(o=17,i=e+nN(r);o>=i;--o)c[o+1]=c[o];return c[++i]=46,u&&(c[--e]=45),tG(c,e,18-e+1)}for(o=2;n_(ri(o),e7(ez(r),o9));++o)c[--e]=48;return c[--e]=46,c[--e]=48,u&&(c[--e]=45),tG(c,e,18-e)}return(a=e+1,s=new K,u&&(s.b.b+=i5),18-a>=1)?(tT(s,c[e]),s.b.b+=i9,g=s.b,w=tG(c,e+1,18-e-1),g.b+=w):(d=s.b,_=tG(c,e,18-e),d.b+=_),s.b.b+=om,rQ(r,o5)&&(s.b.b+=i6),v=s.b,m=i2+ic(r),v.b+=m,s.b.b}(iu(n.g),eg(n.f)),n.i):(i=iY((n.d||(n.d=eG(n.g)),n.d),0),0==n.f)?i:(t=0>(n.d||(n.d=eG(n.g)),n.d).r()?2:1,e=i.length,r=-n.f+e-t,u=(o=new J).b,u.b+=i,n.f>0&&r>=-6?r>=0?tr(o,e-eg(n.f),i9):(tc(o.b,t-1,t-1,i8),tr(o,t+1,tG(uC,0,-eg(r)-1))):(e-t>=1&&(tc(o.b,t,t,i9),++e),tc(o.b,e,e,om),r>0&&tr(o,++e,i6),tr(o,++e,i2+ic(iu(r)))),n.i=o.b.b,n.i)}function iE(n,t){var e,r,i,o,u,f;if(i=eM(n),o=eM(t),i>=t.e)return n;if(r=o>i?o:i,0==(e=o>i?-t.b[r]&~n.b[r]:o0){i[o]=u;break}i[o]=u.substring(0,c.index),u=u.substring(c.index+c[0].length,u.length),r.lastIndex=0,f==u&&(i[o]=u.substring(0,1),u=u.substring(1)),f=u,o++}if(0==e&&n.length>0){for(var s=i.length;s>0&&i[s-1]==i2;)--s;s1e6)throw new ne("power of ten too big");if(n<=2147483647)return u2[1].db(t).eb(t);for(i=r=u2[1].db(2147483647),e=iu(n-2147483647),t=eg(n%2147483647);rQ(e,uu);)i=ea(i,r),e=e8(e,uu);for(i=(i=ea(i,u2[1].db(t))).eb(2147483647),e=iu(n-2147483647);rQ(e,uu);)i=i.eb(2147483647),e=e8(e,uu);return i.eb(t)}function iD(){var n,i,f;u&&rU("com.iriscouch.gwtapp.client.BigDecimalApp"),n2(new z),n3(new Q),n4(new T),t$(new j),u&&rU("com.google.gwt.user.client.UserAgentAsserter"),i=r.userAgent.toLowerCase(),f=function(n){return 1e3*parseInt(n[1])+parseInt(n[2])},n=-1!=i.indexOf(oZ)?oZ:-1!=i.indexOf("webkit")||function(){if(-1!=i.indexOf("chromeframe"))return!0;if(typeof e.ActiveXObject!=o0)try{var n=new ActiveXObject("ChromeTab.ChromeFrame");if(n)return n.registerBhoIfNeeded(),!0}catch(t){}return!1}()?oY:-1!=i.indexOf(oq)&&o.documentMode>=9?"ie9":-1!=i.indexOf(oq)&&o.documentMode>=8?"ie8":!function(){var n=/msie ([0-9]+)\.([0-9]+)/.exec(i);if(n&&3==n.length)return f(n)>=6e3}()?-1!=i.indexOf("gecko")?"gecko1_8":"unknown":"ie6",tW(oY,n)||t.alert("ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (safari) does not match the runtime user.agent value ("+n+"). Expect more errors.\n"),u&&rU("com.google.gwt.user.client.DocumentModeAsserter"),function(){var n,t,e;for(e=0,t=o.compatMode,n=t3(fq,{6:1},1,[op]);e>5,this.b=tq(fO,{6:1},-1,this.e,1);c=2147483648&&(r-=4294967296),r));this.b[this.e-1]>>>=31&-n,t5(this)}}function iL(n,t){var e,r,i,o,u,f,c,s,a,h,b,l;if(u=n.f,c=t.f,0==u)return t;if(0==c)return n;if((o=n.e)+(f=t.e)==2)return(e=td(ri(n.b[0]),uf),r=td(ri(t.b[0]),uf),u==c)?(s=e7(e,r),l=nN(s),0==(b=nN(rJ(s,32)))?new tY(u,l):new th(u,2,t3(fO,{6:1},-1,[l,b]))):e5(u<0?e8(r,e):e8(e,r));if(u==c)h=u,a=o>=f?ei(n.b,o,t.b,f):ei(t.b,f,n.b,o);else{if(0==(i=o!=f?o>f?1:-1:eQ(n.b,t.b,o)))return r7(),uT;1==i?(h=u,a=t4(n.b,o,t.b,f)):(h=c,a=t4(t.b,f,n.b,o))}return s=new th(h,a.length,a),t5(s),s}function iU(n){var t,e,r,i;if(rX(),null==n)throw new nu("null string");if((t=eo(n)).length<27||t.length>45)throw new ni(oP);for(r=0;rfg.length)throw new $;if(o=null,i=null,67==r[0]?(i=fn,o=fc):68==r[0]?(i=ft,o=fs):70==r[0]?(i=fe,o=fa):72==r[0]?e>6&&(68==r[5]?(i=fr,o=fh):69==r[5]?(i=fi,o=fb):85==r[5]&&(i=fo,o=fl)):85==r[0]&&(80==r[1]?(i=ff,o=fw):78==r[1]&&(i=fu,o=fg)),i&&e==o.length){for(t=1;tl||r+i>s)throw new V;if(((1&h.c)==0||(4&h.c)!=0)&&b!=c){if(a=tJ(n,11),o=tJ(e,11),nq(n)===nq(e)&&tr;)rs(o,f,a[--t]);else for(f=r+i;ra.r()&&(s=s.cb()),c=e3(e+(o>u?o:u)),s=(i=o-u)>0?(ix(),i>19!=0&&(t=ez(t),c=!0),u=((b=(a=t).l)&b-1)!=0||((l=a.m)&l-1)!=0||((h=a.h)&h-1)!=0||0==h&&0==l&&0==b?-1:0==h&&0==l&&0!=b?e_(b):0==h&&0!=l&&0==b?e_(l)+22:0!=h&&0==l&&0==b?e_(h)+44:-1,o=!1,i=!1,r=!1,524288==n.h&&0==n.m&&0==n.l){if(i=!0,o=!0,-1!=u)return f=r9(n,u),c&&eJ(f),e&&(uh=tE(0,0,0)),f;n=nV((eD(),up)),r=!0,c=!c}else~~n.h>>19!=0&&(o=!0,n=ez(n),r=!0,c=!c);return -1!=u?(g=n,w=c,d=o,_=r9(g,u),w&&eJ(_),e&&(v=g,u<=22?(m=v.l&(1<=0&&(!rE(n,u)||(c<22?f.l|=1<>>1,u.m=~~a>>>1|(1&h)<<21,u.l=~~s>>>1|(1&a)<<21,--c;return e&&eJ(f),o&&(r?(uh=ez(n),i&&(uh=e8(uh,(eD(),uv)))):uh=tE(n.l,n.m,n.h)),f}(r?n:tE(n.l,n.m,n.h),t,c,o,i,e):(e&&(uh=o?ez(n):tE(n.l,n.m,n.h)),tE(0,0,0))}function iH(n){var e=[];for(var r in n){var i=typeof n[r];i!=oW?e[e.length]=i:n[r]instanceof Array?e[e.length]=oU:t&&t.bigdecimal&&t.bigdecimal.BigInteger&&n[r]instanceof t.bigdecimal.BigInteger?e[e.length]=ob:t&&t.bigdecimal&&t.bigdecimal.BigDecimal&&n[r]instanceof t.bigdecimal.BigDecimal?e[e.length]=os:t&&t.bigdecimal&&t.bigdecimal.RoundingMode&&n[r]instanceof t.bigdecimal.RoundingMode?e[e.length]=oA:t&&t.bigdecimal&&t.bigdecimal.MathContext&&n[r]instanceof t.bigdecimal.MathContext?e[e.length]=oM:e[e.length]=oW}return e.join(i4)}function i$(n,t){var e,r,i,o,u,f,c,s,a,h,b,l,g,w,d,_,v,m,y,C,S,M,x,B,A,N,I;return e=8191&n.l,r=~~n.l>>13|(15&n.m)<<9,i=~~n.m>>4&8191,o=~~n.m>>17|(255&n.h)<<5,u=~~(1048320&n.h)>>8,f=8191&t.l,c=~~t.l>>13|(15&t.m)<<9,s=~~t.m>>4&8191,a=~~t.m>>17|(255&t.h)<<5,h=~~(1048320&t.h)>>8,x=e*f,B=r*f,A=i*f,N=o*f,I=u*f,0!=c&&(B+=e*c,A+=r*c,N+=i*c,I+=o*c),0!=s&&(A+=e*s,N+=r*s,I+=i*s),0!=a&&(N+=e*a,I+=r*a),0!=h&&(I+=e*h),b=(l=4194303&x)+(g=(511&B)<<13),w=(d=~~x>>22)+(_=~~B>>9)+(v=(262143&A)<<4)+(m=(31&N)<<17),y=(C=~~A>>18)+(S=~~N>>5)+(M=(4095&I)<<8),w+=~~b>>22,b&=4194303,y+=~~w>>22,tE(b,w&=4194303,y&=1048575)}function iV(n,t,e){var r,i,o,u,f,c,s,a;if(a=rl(e7(ri(e.b),o7))+(t.e>0?t.e:nj((t.b-1)*.3010299956639812)+1)-(n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1),c=i=n.f-t.f,o=1,f=uO.length-1,s=t3(cw,{6:1},17,[(n.d||(n.d=eG(n.g)),n.d)]),0==e.b||0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)return ij(n,t);if(a>0&&(rs(s,0,ea((n.d||(n.d=eG(n.g)),n.d),iO(a))),c+=a),u=(s=is(s[0],(t.d||(t.d=eG(t.g)),t.d)))[0],0!=s[1].r())r=ra(eZ(s[1]),(t.d||(t.d=eG(t.g)),t.d)),u=iL(ea(u,(r7(),uQ)),e5(ri(s[0].r()*(5+r)))),++c;else for(;!u.gb(0);)if(0==(s=is(u,uO[o]))[1].r()&&c-o>=i)c-=o,o=0)return n;return 0==e?np(n.b,t.b)+1<54?new ta(n.g-t.g,n.f):new tk(iC((n.d||(n.d=eG(n.g)),n.d),(t.d||(t.d=eG(t.g)),t.d)),n.f):e>0?e0?t.e:nj((t.b-1)*.3010299956639812)+1)+o>(n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1)+1||0==n.b&&-1!=n.g)r7(),r=uT;else if(0==o)r=iS((n.d||(n.d=eG(n.g)),n.d),(t.d||(t.d=eG(t.g)),t.d));else if(o>0)u=iO(o),r=iS((n.d||(n.d=eG(n.g)),n.d),ea((t.d||(t.d=eG(t.g)),t.d),u)),r=ea(r,u);else{for(u=iO(-o),r=iS(ea((n.d||(n.d=eG(n.g)),n.d),u),(t.d||(t.d=eG(t.g)),t.d));!r.gb(0);)if(0==(f=is(r,uO[e]))[1].r()&&c-e>=o)c-=e,e=0;){if(w[h]==c)s=-1;else if(_=e7(rz(td(ri(w[h]),uf),32),td(ri(w[h-1]),uf)),y=io(_,c),s=nN(y),m=nN(r9(y,32)),0!=s){v=!1,++s;do{if(--s,v)break;l=i$(td(ri(s),uf),td(ri(d[o-2]),uf)),C=e7(rz(ri(m),32),td(ri(w[h-2]),uf)),g=e7(td(ri(m),uf),td(ri(c),uf)),32>r1(nN(rJ(g,32)))?v=!0:m=nN(g)}while(rQ(t_(l,o2),t_(C,o2)))}if(0!=s&&0!=r3(w,h-o,d,o,s))for(--s,u=o5,b=0;b0)rs(b,0,iS((n.d||(n.d=eG(n.g)),n.d),ea((t.d||(t.d=eG(t.g)),t.d),iO(o)))),h=o<(a-l+1>0?a-l+1:0)?o:a-l+1>0?a-l+1:0,rs(b,0,ea(b[0],iO(h)));else if(u=-o<(a-i>0?a-i:0)?-o:a-i>0?a-i:0,b=is(ea((n.d||(n.d=eG(n.g)),n.d),iO(u)),(t.d||(t.d=eG(t.g)),t.d)),h+=u,u=-h,0!=b[1].r()&&u>0&&(0==(r=new nQ(b[1]).q()+u-t.q())&&(rs(b,1,iS(ea(b[1],iO(u)),(t.d||(t.d=eG(t.g)),t.d))),r=nw(b[1].r())),r>0))throw new ne(ov);if(0==b[0].r())return eq(o);for(w=b[0],g=(c=new nQ(b[0])).q(),f=1;!w.gb(0);)if(0==(b=is(w,uO[f]))[1].r()&&(g-f>=a||h-f>=o))g-=f,h-=f,fa)throw new ne(ov);return c.f=e3(h),tF(c,w),c}function iX(){var n;for(n=0,iX=b,u5=t3(fO,{6:1},-1,[0,0,1854,1233,927,747,627,543,480,431,393,361,335,314,295,279,265,253,242,232,223,216,181,169,158,150,145,140,136,132,127,123,119,114,110,105,101,96,92,87,83,78,73,69,64,59,54,49,44,38,32,26,1]),u7=t3(fO,{6:1},-1,[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997,1009,1013,1019,1021]),u9=tq(cw,{6:1},17,u7.length,0);n=0;--c)x=e7(rz(y,32),td(ri(M[c]),uf)),w=rp(x),M[c]=nN(w),y=ri(nN(r9(w,32)));d=nN(y),g=e;do v[--e]=48+d%10&65535;while(0!=(d=~~(d/10))&&0!=e)for(f=0,r=9-g+e;f0;++f)v[--e]=48;for(a=B-1;0==M[a];--a)if(0==a)break n;B=a+1}for(;48==v[e];)++e}if(h=C<0,o=_-e-t-1,0==t)return h&&(v[--e]=45),tG(v,e,_-e);if(t>0&&o>=-6){if(o>=0){for(s=e+o,a=_-1;a>=s;--a)v[a+1]=v[a];return v[++s]=46,h&&(v[--e]=45),tG(v,e,_-e+1)}for(a=2;a<-o+1;++a)v[--e]=48;return v[--e]=46,v[--e]=48,h&&(v[--e]=45),tG(v,e,_-e)}return(S=e+1,m=new K,h&&(m.b.b+=i5),_-S>=1)?(tT(m,v[e]),m.b.b+=i9,E=m.b,R=tG(v,e+1,_-e-1),E.b+=R):(O=m.b,D=tG(v,e,_-e),O.b+=D),m.b.b+=om,o>0&&(m.b.b+=i6),k=m.b,L=i2+o,k.b+=L,m.b.b}u&&u({moduleName:"gwtapp",sessionId:f,subSystem:"startup",evtGroup:"moduleStartup",millis:new Date().getTime(),type:"moduleEvalStart"});var i1,i0,i2="",i4=" ",i3='"',i6="+",i5="-",i9=".",i7="0",i8="0.",on="0.0",ot="0.00",oe="0.000",or="0.0000",oi="0.00000",oo="0.000000",ou="0E",of="0E+",oc=":",os="BigDecimal",oa="BigDecimal MathContext",oh="BigDecimal;",ob="BigInteger",ol="BigInteger divide by zero",og="BigInteger not invertible.",ow="BigInteger: modulus not positive",od="BigInteger;",op="CSS1Compat",o_="Division by zero",ov="Division impossible",om="E",oy='For input string: "',oC="Infinite or NaN",oS="Invalid Operation",oM="MathContext",ox="Negative bit address",oB="Rounding necessary",oA="RoundingMode",oN="RoundingMode;",oI="String",oE="[Lcom.iriscouch.gwtapp.client.",oR="[Ljava.lang.",oO="[Ljava.math.",oD="\\.",ok="__gwtex_wrap",oL="anonymous",oU="array",oP="bad string format",oQ="bigdecimal",oT="com.google.gwt.core.client.",oj="com.google.gwt.core.client.impl.",oF="com.iriscouch.gwtapp.client.",oH="java.lang.",o$="java.math.",oV="java.util.",oq="msie",oG="null",oz="number",oJ="number MathContext",oK="number number",oW="object",oZ="opera",oX="org.timepedia.exporter.client.",oY="safari",o1="string",o0="undefined",o2={l:0,m:0,h:524288},o4={l:0,m:4193280,h:1048575},o3={l:4194298,m:4194303,h:1048575},o6={l:4194303,m:4194303,h:1048575},o5={l:0,m:0,h:0},o9={l:1,m:0,h:0},o7={l:2,m:0,h:0},o8={l:5,m:0,h:0},un={l:10,m:0,h:0},ut={l:11,m:0,h:0},ue={l:18,m:0,h:0},ur={l:48,m:0,h:0},ui={l:877824,m:119,h:0},uo={l:1755648,m:238,h:0},uu={l:4194303,m:511,h:0},uf={l:4194303,m:1023,h:0},uc={l:0,m:1024,h:0};(i0=c.prototype={}).eQ=function(n){return this===n},i0.gC=function(){return fS},i0.hC=function(){return nG(this)},i0.tS=function(){return this.gC().d+"@"+function(n){var t,e;if(t=tq(ce,{6:1},-1,8,1),rI(),e=7,n>=0)for(;n>15;)t[e--]=uV[15&n],n>>=4;else for(;e>0;)t[e--]=uV[15&n],n>>=4;return t[e]=uV[15&n],er(t,e,8)}(this.hC())},i0.toString=function(){return this.tS()},i0.tM=b,i0.cM={},(i0=s.prototype=new c).gC=function(){return fx},i0.j=function(){return this.f},i0.tS=function(){var n,t;return n=this.gC().d,null!=(t=this.j())?n+": "+t:n},i0.cM={6:1,15:1},i0.f=null,(i0=a.prototype=new s).gC=function(){return fB},i0.cM={6:1,15:1},(i0=nt.prototype=h.prototype=new a).gC=function(){return fA},i0.cM={6:1,12:1,15:1},(i0=n5.prototype=(function(){}).prototype=new h).gC=function(){return fN},i0.j=function(){var n,t,e,r,i;return null==this.d&&(this.e=null==(e=this.c)?oG:tf(e)?null==(r=ef(e))?null:r.name:nX(e,1)?oI:(nz(e)?e.gC():fI).d,this.b=tf(n=this.c)?null==(i=ef(n))?null:i.message:n+i2,this.d="("+this.e+"): "+this.b+(tf(t=this.c)?function(n){var t=i2;try{for(var e in n)if("name"!=e&&"message"!=e&&"toString"!=e)try{t+="\n "+e+": "+n[e]}catch(r){}}catch(i){}return t}(ef(t)):i2)),this.d},i0.cM={6:1,12:1,15:1},i0.b=null,i0.c=null,i0.d=null,i0.e=null,(i0=l.prototype=new c).gC=function(){return fE};var us=0,ua=0;(i0=g.prototype=(function(){}).prototype=new l).gC=function(){return fU},i0.b=null,i0.c=null,(i0=w.prototype=d.prototype=new c).k=function(){for(var n={},t=[],e=arguments.callee.caller.caller;e;){var r,i,o=this.n(e.toString());t.push(o);var u=oc+o,f=n[u];if(f){for(r=0,i=f.length;r0?i:oL},i0.gC=function(){return fP},i0.o=function(n){return[]},(i0=_.prototype=new d).k=function(){return tC(this.o(tx()),this.p())},i0.gC=function(){return fj},i0.o=function(n){return eF(this,n)},i0.p=function(){return 2},(i0=v.prototype=(function(){}).prototype=new _).k=function(){return ev(this)},i0.n=function(n){var t,e;return 0==n.length||(0==(e=rf(n)).indexOf("at ")&&(e=to(e,3)),-1==(t=e.indexOf("["))&&(t=e.indexOf("(")),-1==t)?oL:(-1!=(t=(e=rf(e.substr(0,t-0))).indexOf("."))&&(e=to(e,t+1)),e.length>0?e:oL)},i0.gC=function(){return fF},i0.o=function(n){return ee(this,n)},i0.p=function(){return 3},(i0=m.prototype=new c).gC=function(){return fH},(i0=y.prototype=(function(){}).prototype=new m).gC=function(){return f$},i0.b=i2,(i0=C.prototype=(function(){}).prototype=new c).gC=function(){return this.aC},i0.aC=null,i0.qI=0;var uh=null,ub=null;(i0=S.prototype=(function(){}).prototype=new c).gC=function(){return fG},i0.cM={2:1},(i0=M.prototype=new c).gC=function(){return fJ},i0.cM={6:1,10:1};var ul=null;(i0=ew.prototype=ta.prototype=tk.prototype=tP.prototype=W.prototype=eA.prototype=ed.prototype=tU.prototype=tL.prototype=e4.prototype=n7.prototype=n8.prototype=ts.prototype=tD.prototype=nQ.prototype=x.prototype=new M).eQ=function(n){return rt(this,n)},i0.gC=function(){return fK},i0.hC=function(){return rR(this)},i0.q=function(){return rZ(this)},i0.r=function(){return ex(this)},i0.tS=function(){return iI(this)},i0.cM={6:1,8:1,10:1,16:1},i0.b=0,i0.c=0,i0.d=null,i0.e=0,i0.f=0,i0.g=0,i0.i=null;var ug,uw,ud,up,u_,uv,um,uy,uC,uS,uM,ux,uB,uA,uN,uI,uE,uR=null,uO=null,uD=null;(i0=nT.prototype=nl.prototype=(function(){}).prototype=new x).s=function(n){var t,e,r;if((e=iH(n))==i2)t=0>ex(this)?eB(this):this;else if(e==oM)t=0>(r=ec(this,new iU(n[0].toString()))).r()?eB(r):r;else throw new nt("Unknown call signature for interim = super.abs: "+e);return new nT(t)},i0.t=function(n){var t,e;if((e=iH(n))==os)t=ii(this,new W(n[0].toString()));else if(e==oa)t=function(n,t,e){var r,i,o,u,f;if(r=n.f-t.f,0==t.b&&-1!=t.g||0==n.b&&-1!=n.g||0==e.b)return ec(ii(n,t),e);if((n.e>0?n.e:nj((n.b-1)*.3010299956639812)+1)0?t.e:nj((t.b-1)*.3010299956639812)+1)<-r-1))return ec(ii(n,t),e);i=n,u=t}return e.b>=(i.e>0?i.e:nj((i.b-1)*.3010299956639812)+1)?ec(ii(n,t),e):((o=i.r())==u.r()?f=iL(r8((i.d||(i.d=eG(i.g)),i.d),10),e5(ri(o))):(f=iC((i.d||(i.d=eG(i.g)),i.d),e5(ri(o))),f=iL(r8(f,10),e5(ri(9*o)))),i=new tk(f,i.f+1),ec(i,e))}(this,new W(n[0].toString()),new iU(n[1].toString()));else throw new nt("Unknown call signature for interim = super.add: "+e);return new nT(t)},i0.u=function(){return~~(nN(es(this,8))<<24)>>24},i0.v=function(n){return im(this,n)},i0.w=function(n){var t,e,r,i;if((i=iH(n))==os)e=eC(this,new W(n[0].toString()));else if(i==oa)e=eS(this,new W(n[0].toString()),new iU(n[1].toString()));else throw new nt("Unknown call signature for interim = super.divideAndRemainder: "+i);for(t=0,r=tq(fZ,{6:1},3,e.length,0);t129?n*=1/0:n=eu(iI(this)),n},i0.gC=function(){return fW},i0.hC=function(){return rR(this)},i0.B=function(){return this.f<=-32||this.f>(this.e>0?this.e:nj((this.b-1)*.3010299956639812)+1)?0:nA(new n9(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eG(this.g)),this.d):this.f<0?ea((this.d||(this.d=eG(this.g)),this.d),iO(-this.f)):iS((this.d||(this.d=eG(this.g)),this.d),iO(this.f))))},i0.C=function(){return nN(es(this,32))},i0.D=function(){return nN(es(this,32))},i0.E=function(){return eu(iI(this))},i0.F=function(n){return new nT(im(this,n)>=0?this:n)},i0.G=function(n){return new nT(0>=im(this,n)?this:n)},i0.H=function(n){return new nT(r5(this,this.f+n))},i0.I=function(n){return new nT(r5(this,this.f-n))},i0.J=function(n){var t,e;if((e=iH(n))==os)t=rq(this,new W(n[0].toString()));else if(e==oa)t=ty(this,new W(n[0].toString()),new iU(n[1].toString()));else throw new nt("Unknown call signature for interim = super.multiply: "+e);return new nT(t)},i0.K=function(n){var t,e;if((e=iH(n))==i2)t=eB(this);else if(e==oM)t=eB(ec(this,new iU(n[0].toString())));else throw new nt("Unknown call signature for interim = super.negate: "+e);return new nT(t)},i0.L=function(n){var t,e;if((e=iH(n))==i2)t=this;else if(e==oM)t=ec(this,new iU(n[0].toString()));else throw new nt("Unknown call signature for interim = super.plus: "+e);return new nT(t)},i0.M=function(n){var t,e;if((e=iH(n))==oz)t=rB(this,n[0]);else if(e==oJ)t=function(n,t,e){var r,i,o,u,f,c;if(o=t<0?-t:t,u=e.b,i=eg(tu(o))+1,f=e,0==t||0==n.b&&-1!=n.g&&t>0)return rB(n,t);if(o>999999999||0==u&&t<0||u>0&&i>u)throw new ne(oS);for(u>0&&(f=new e6(u+i+1,e.c)),r=ec(n,f),c=~~function(n){var t;if(n<0)return -2147483648;if(0==n)return 0;for(t=1073741824;(t&n)==0;t>>=1);return t}(o)>>1;c>0;)r=ty(r,r,f),(o&c)==c&&(r=ty(r,n,f)),c>>=1;return t<0&&(r=iV(uA,r,f)),iy(r,e),r}(this,n[0],new iU(n[1].toString()));else throw new nt("Unknown call signature for interim = super.pow: "+e);return new nT(t)},i0.q=function(){return rZ(this)},i0.N=function(n){var t,e;if((e=iH(n))==os)t=eC(this,new W(n[0].toString()))[1];else if(e==oa)t=eS(this,new W(n[0].toString()),new iU(n[1].toString()))[1];else throw new nt("Unknown call signature for interim = super.remainder: "+e);return new nT(t)},i0.O=function(n){return new nT(ec(this,new iU(em(n.b))))},i0.P=function(){return eg(this.f)},i0.Q=function(n){var t,e;return new nT((t=this,(e=t.f-n,t.b<54)?0==t.g?eq(e):new ta(t.g,e3(e)):new tD((t.d||(t.d=eG(t.g)),t.d),e3(e))))},i0.R=function(n){var t,e;if((e=iH(n))==oz)t=ir(this,n[0],(iT(),fu));else if(e==oK)t=ir(this,n[0],rK(n[1]));else if("number RoundingMode"==e)t=ir(this,n[0],tw(n[1].toString()));else throw new nt("Unknown call signature for interim = super.setScale: "+e);return new nT(t)},i0.S=function(){return~~(nN(es(this,16))<<16)>>16},i0.r=function(){return ex(this)},i0.T=function(){return new nT(function(n){var t,e,r,i,o;if(t=1,e=uO.length-1,r=n.f,0==n.b&&-1!=n.g)return new W(i7);for(n.d||(n.d=eG(n.g)),o=n.d;!o.gb(0);)if(0==(i=is(o,uO[t]))[1].r())r-=t,t0?i.e:nj((i.b-1)*.3010299956639812)+1)0?r.e:nj((r.b-1)*.3010299956639812)+1)?((s=ex(r))!=i.r()?c=iL(r8((r.d||(r.d=eG(r.g)),r.d),10),e5(ri(s))):(c=iC((r.d||(r.d=eG(r.g)),r.d),e5(ri(s))),c=iL(r8(c,10),e5(ri(9*s)))),f=new tk(c,r.f+1),ec(f,o)):ec(iq(r,i),o);else throw new nt("Unknown call signature for interim = super.subtract: "+e);return new nT(t)},i0.V=function(){return new n9(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eG(this.g)),this.d):this.f<0?ea((this.d||(this.d=eG(this.g)),this.d),iO(-this.f)):iS((this.d||(this.d=eG(this.g)),this.d),iO(this.f)))},i0.W=function(){return new n9(ia(this))},i0.X=function(){return function(n){var t,e,r,i,o,u,f,c;if(u=iY((n.d||(n.d=eG(n.g)),n.d),0),0==n.f)return u;if(t=0>(n.d||(n.d=eG(n.g)),n.d).r()?2:1,r=u.length,i=-n.f+r-t,c=new nW(u),n.f>0&&i>=-6)i>=0?tr(c,r-eg(n.f),i9):(tc(c.b,t-1,t-1,i8),tr(c,t+1,tG(uC,0,-eg(i)-1)));else{if(e=r-t,0!=(f=eg(i%3))&&(0==(n.d||(n.d=eG(n.g)),n.d).r()?i+=f=f<0?-f:3-f:(f=f<0?f+3:f,i-=f,t+=f),e<3))for(o=f-e;o>0;--o)tr(c,r++,i7);r-t>=1&&(tc(c.b,t,t,i9),++r),0!=i&&(tc(c.b,r,r,om),i>0&&tr(c,++r,i6),tr(c,++r,i2+ic(iu(i))))}return c.b.b}(this)},i0.Y=function(){return function(n){var t,e,r,i;if(r=iY((n.d||(n.d=eG(n.g)),n.d),0),0==n.f||0==n.b&&-1!=n.g&&n.f<0)return r;if(t=0>ex(n)?1:0,e=n.f,i=new K(r.length+1+nw(eg(n.f))),1==t&&(i.b.b+=i5),n.f>0){if((e-=r.length-t)>=0){for(i.b.b+=i8;e>uC.length;e-=uC.length)t0(i,uC);te(i,uC,eg(e)),nD(i,to(r,t))}else e=t-e,nD(i,ti(r,t,eg(e))),i.b.b+=i9,nD(i,to(r,eg(e)))}else{for(nD(i,to(r,t));e<-uC.length;e+=uC.length)t0(i,uC);te(i,uC,eg(-e))}return i.b.b}(this)},i0.tS=function(){return iI(this)},i0.Z=function(){return new nT(new ta(1,this.f))},i0.$=function(){return new n9((this.d||(this.d=eG(this.g)),this.d))},i0.cM={3:1,6:1,8:1,10:1,16:1,24:1},(i0=j.prototype=(function(){}).prototype=new c).gC=function(){return fX};var uk=!1;(i0=rw.prototype=rg.prototype=th.prototype=ru.prototype=tY.prototype=ry.prototype=nZ.prototype=ik.prototype=B.prototype=new M)._=function(){return this.f<0?new th(1,this.e,this.b):this},i0.ab=function(){return e1(this)},i0.eQ=function(n){return eY(this,n)},i0.gC=function(){return fY},i0.bb=function(){return en(this)},i0.hC=function(){return e$(this)},i0.cb=function(){return 0==this.f?this:new th(-this.f,this.e,this.b)},i0.db=function(n){return rG(this,n)},i0.eb=function(n){return t7(this,n)},i0.fb=function(n){return t8(this,n)},i0.r=function(){return this.f},i0.gb=function(n){return rW(this,n)},i0.tS=function(){return iY(this,0)},i0.cM={6:1,8:1,10:1,17:1},i0.b=null,i0.c=-2,i0.d=0,i0.e=0,i0.f=0;var uL,uU,uP,uQ,uT,uj=null;(i0=n9.prototype=nU.prototype=nP.prototype=(function(){}).prototype=new B)._=function(){return new n9(this.f<0?new th(1,this.e,this.b):this)},i0.hb=function(n){return new n9(iL(this,n))},i0.ib=function(n){return new n9(0==n.f||0==this.f?(r7(),uT):eY(n,(r7(),uL))?this:eY(this,uL)?n:this.f>0?n.f>0?function(n,t){var e,r,i,o;if(i=nd(n.e,t.e),(e=np(eM(n),eM(t)))>=i)return r7(),uT;for(r=tq(fO,{6:1},-1,i,1);e0?r6(n,this):this.e>n.e?iE(this,n):iE(n,this))},i0.jb=function(n){return new n9(0==n.f?this:0==this.f?(r7(),uT):eY(this,(r7(),uL))?new n9(il(n)):eY(n,uL)?uT:this.f>0?n.f>0?function(n,t){var e,r,i,o;for(i=tq(fO,{6:1},-1,n.e,1),r=nd(n.e,t.e),e=eM(n);e=n.e)return n;for(u=nd(n.e,t.e),o=tq(fO,{6:1},-1,u,1),e=i;e0?function(n,t){var e,r,i,o,u,f,c;if(i=eM(n),o=eM(t),i>=t.e)return n;if(c=np(n.e,t.e),r=i,o>i){for(f=tq(fO,{6:1},-1,c,1),u=nd(n.e,o);r=t.e)return r7(),uT;if(u=tq(fO,{6:1},-1,f=t.e,1),e=i,i0)for(;e34028234663852886e22?1/0:t<-34028234663852886e22?-1/0:t},i0.qb=function(n){return new n9(rH(this,n))},i0.gC=function(){return f1},i0.bb=function(){return en(this)},i0.hC=function(){return e$(this)},i0.B=function(){return nA(this)},i0.rb=function(n){return function(n,t){var e,r;if(iX(),t<=0||1==n.e&&2==n.b[0])return!0;if(!rW(n,0))return!1;if(1==n.e&&(-1024&n.b[0])==0)return function(n,t){var e,r,i,o;for(r=0,e=n.length-1;r<=e;)if((o=n[i=r+(~~(e-r)>>1)])t))return i;e=i-1}return-r-1}(u7,n.b[0])>=0;for(r=1;r>1)?r:1+(~~(t-1)>>1))}(new n9(this.f<0?new th(1,this.e,this.b):this),n)},i0.sb=function(){return eu(iY(this,0))},i0.tb=function(n){return new n9(1==ra(this,n)?this:n)},i0.ub=function(n){return new n9(-1==ra(this,n)?this:n)},i0.vb=function(n){return new n9(eh(this,n))},i0.wb=function(n){return new n9(r$(this,n))},i0.xb=function(n,t){return new n9(r4(this,n,t))},i0.yb=function(n){return new n9(ea(this,n))},i0.cb=function(){return new n9(0==this.f?this:new th(-this.f,this.e,this.b))},i0.zb=function(){return new n9(function(n){if(n.f<0)throw new ne("start < 0: "+n);return function(n){var t,e,r,i,o,u,f;if(iX(),o=tq(fO,{6:1},-1,u7.length,1),r=tq(fL,{6:1},-1,1024,2),1==n.e&&n.b[0]>=0&&n.b[0]=u7[e];++e);return u9[e]}for(f=new th(1,n.e,tq(fO,{6:1},-1,n.e+1,1)),iQ(n.b,0,f.b,0,n.e),rW(n,0)?t6(f,2):f.b[0]|=1,i=f.ab(),t=2;i0?n.f>0?this.e>n.e?rM(this,n):rM(n,this):iA(this,n):n.f>0?iA(n,this):eM(n)>eM(this)?it(n,this):it(this,n))},i0.db=function(n){return new n9(rG(this,n))},i0.Cb=function(n){return new n9(rY(this,n))},i0.Db=function(n){return new n9(rW(this,n)?this:iw(this,n))},i0.eb=function(n){return new n9(t7(this,n))},i0.fb=function(n){return new n9(t8(this,n))},i0.r=function(){return this.f},i0.Eb=function(n){return new n9(iC(this,n))},i0.gb=function(n){return rW(this,n)},i0.Fb=function(n){var t,e;if((e=iH(n))==i2)t=iY(this,0);else if(e==oz)t=function(n,t){var e,r,i,o,u,f,c,s,a,h,b,l,g,w,d,_;if(iP(),g=n.f,s=n.e,u=n.b,0==g)return i7;if(1==s)return _=td(ri(u[0]),uf),g<0&&(_=ez(_)),function(n,t){var e,r,i;if(10==t||t<2||t>36)return i2+ic(n);if(e=tq(ce,{6:1},-1,65,1),rI(),r=64,i=ri(t),rT(n,o5)){for(;rT(n,i);)e[r--]=uV[nN(tn(n,i))],n=iF(n,i,!1);e[r]=uV[nN(n)]}else{for(;nv(n,ez(i));)e[r--]=uV[nN(ez(tn(n,i)))],n=iF(n,i,!1);e[r--]=uV[nN(ez(n))],e[r]=45}return er(e,r,65)}(_,t);if(10==t||t<2||t>36)return iY(n,0);if(b=eg(e1(new n9(n.f<0?new th(1,n.e,n.b):n))/(Math.log(t)/Math.log(2))+(g<0?1:0))+1,l=tq(ce,{6:1},-1,b,1),i=b,16!=t)for(w=tq(fO,{6:1},-1,s,1),iQ(u,0,w,0,s),d=s,r=uK[t],e=uJ[t-2];;){h=ip(w,w,d,e),a=i;do l[--i]=eI(h%t,t);while(0!=(h=~~(h/t))&&0!=i)for(f=0,o=r-a+i;f0;++f)l[--i]=48;for(f=d-1;f>0&&0==w[f];--f);if(1==(d=f+1)&&0==w[0])break}else for(f=0;f0;++c)h=~~u[f]>>(c<<2)&15,l[--i]=eI(h,16);for(;48==l[i];)++i;return -1==g&&(l[--i]=45),tG(l,i,b-i)}(this,n[0]);else throw new nt("Unknown call signature for result = super.toString: "+e);return t},i0.Gb=function(n){return new n9(0==n.f?this:0==this.f?n:eY(n,(r7(),uL))?new n9(il(this)):eY(this,uL)?new n9(il(n)):this.f>0?n.f>0?this.e>n.e?rx(this,n):rx(n,this):iJ(this,n):n.f>0?iJ(n,this):eM(n)>eM(this)?i_(n,this):i_(this,n))},i0.cM={4:1,6:1,8:1,10:1,17:1,24:1},(i0=T.prototype=(function(){}).prototype=new c).gC=function(){return f2};var uF=!1;(i0=nm.prototype=ny.prototype=(function(){}).prototype=new c).gC=function(){return f4},i0.Hb=function(){return this.b.b},i0.Ib=function(){return new X(this.b.c)},i0.hC=function(){return nB(this.b)},i0.tS=function(){return em(this.b)},i0.cM={24:1},i0.b=null,(i0=Q.prototype=(function(){}).prototype=new c).gC=function(){return f3};var uH=!1;(i0=X.prototype=nC.prototype=(function(){}).prototype=new c).gC=function(){return f6},i0.Jb=function(){return this.b.b},i0.tS=function(){return this.b.b},i0.cM={5:1,24:1},i0.b=null,(i0=z.prototype=(function(){}).prototype=new c).gC=function(){return f9};var u$=!1;(i0=ne.prototype=(function(){}).prototype=new h).gC=function(){return f7},i0.cM={6:1,12:1,15:1},(i0=nr.prototype=H.prototype=(function(){}).prototype=new h).gC=function(){return cn},i0.cM={6:1,12:1,15:1},(i0=A.prototype=(function(){}).prototype=new c).gC=function(){return cr},i0.tS=function(){return((2&this.c)!=0?"interface ":(1&this.c)!=0?i2:"class ")+this.d},i0.b=null,i0.c=0,i0.d=null,(i0=F.prototype=(function(){}).prototype=new h).gC=function(){return ci},i0.cM={6:1,12:1,15:1},(i0=N.prototype=new c).eQ=function(n){return this===n},i0.gC=function(){return fM},i0.hC=function(){return nG(this)},i0.tS=function(){return this.b},i0.cM={6:1,8:1,9:1},i0.b=null,i0.c=0,(i0=ni.prototype=$.prototype=I.prototype=new h).gC=function(){return co},i0.cM={6:1,12:1,15:1},(i0=no.prototype=V.prototype=E.prototype=new h).gC=function(){return f8},i0.cM={6:1,12:1,15:1},(i0=nu.prototype=q.prototype=(function(){}).prototype=new h).gC=function(){return cu},i0.cM={6:1,12:1,15:1},(i0=ng.prototype=(function(){}).prototype=new I).gC=function(){return cf},i0.cM={6:1,12:1,15:1},(i0=tb.prototype=(function(){}).prototype=new c).gC=function(){return fQ},i0.tS=function(){return this.b+i9+this.d+"(Unknown Source"+(this.c>=0?oc+this.c:i2)+")"},i0.cM={6:1,13:1},i0.b=null,i0.c=0,i0.d=null,(i0=String.prototype).eQ=function(n){return tW(this,n)},i0.gC=function(){return fV},i0.hC=function(){var n,t;return n1(),null!=(t=uG[n=oc+this])?t:(null==(t=uq[n])&&(t=function(n){var t,e,r,i;for(t=0,i=(r=n.length)-4,e=0;e