From 2c47ee4eba3102c4b9f6f46f0beba3e54ea4fd7a Mon Sep 17 00:00:00 2001 From: magic-akari Date: Tue, 10 Sep 2024 20:27:54 +0800 Subject: [PATCH 1/5] fix(es/codegen): Handle minify number --- crates/swc_ecma_codegen/src/lib.rs | 103 +++++++++++++++-------------- 1 file changed, 55 insertions(+), 48 deletions(-) diff --git a/crates/swc_ecma_codegen/src/lib.rs b/crates/swc_ecma_codegen/src/lib.rs index e219dba78784..5ebdea2a3523 100644 --- a/crates/swc_ecma_codegen/src/lib.rs +++ b/crates/swc_ecma_codegen/src/lib.rs @@ -697,7 +697,7 @@ where fn emit_num_lit_internal( &mut self, num: &Number, - detect_dot: bool, + mut detect_dot: bool, ) -> std::result::Result { self.wr.commit_pending_semi()?; @@ -722,7 +722,7 @@ where if num.value.is_infinite() && num.raw.is_some() { self.wr.write_str_lit(DUMMY_SP, num.raw.as_ref().unwrap())?; } else { - value = minify_number(num.value); + value = minify_number(num.value, &mut detect_dot); self.wr.write_str_lit(DUMMY_SP, &value)?; } } else { @@ -4327,69 +4327,76 @@ fn is_empty_comments(span: &Span, comments: &Option<&dyn Comments>) -> bool { span.is_dummy() || comments.map_or(true, |c| !c.has_leading(span.span_hi() - BytePos(1))) } -fn minify_number(num: f64) -> String { - let mut printed = num.to_string(); +fn minify_number(num: f64, detect_dot: &mut bool) -> String { + // ddddd -> 0xhhhh + // len(0xhhhh) == len(ddddd) + // 10000000 <= num <= 0xffffff + 'hex: { + if num.fract() == 0.0 && num.abs() <= u64::MAX as f64 { + let int = num.abs() as u64; - let mut original = printed.clone(); + if int < 0xffffff { + break 'hex; + } - if num.fract() == 0.0 && (i64::MIN as f64) <= num && num <= (i64::MAX as f64) { - let hex = format!( - "{}{:#x}", - if num.is_sign_negative() { "-" } else { "" }, - num as i64 - ); + // use scientific notation + if int % 10000 == 0 { + break 'hex; + } - if hex.len() < printed.len() { - printed = hex; + *detect_dot = false; + return format!( + "{}{:#x}", + if num.is_sign_negative() { "-" } else { "" }, + int + ); } } - if original.starts_with("0.") { - original.replace_range(0..1, ""); - } + let mut num = num.to_string(); - if original.starts_with("-0.") { - original.replace_range(1..2, ""); + if num.contains(".") { + *detect_dot = false; } - if original.starts_with(".000") { - let mut cnt = 3; - - for &v in original.as_bytes().iter().skip(4) { - if v == b'0' { - cnt += 1; - } else { - break; - } + if let Some(num) = num.strip_prefix("0.") { + let cnt = clz(num); + if cnt > 2 { + return format!("{}e-{}", &num[cnt..], num.len()); } + return format!(".{}", num); + } - original.replace_range(0..cnt + 1, ""); - - let remain_len = original.len(); + if let Some(num) = num.strip_prefix("-0.") { + let cnt = clz(num); + if cnt > 2 { + return format!("-{}e-{}", &num[cnt..], num.len()); + } + return format!("-.{}", num); + } - original.push_str("e-"); - original.push_str(&(remain_len + cnt).to_string()); - } else if original.ends_with("000") { - let mut cnt = 3; + if num.ends_with("000") { + *detect_dot = false; - for &v in original.as_bytes().iter().rev().skip(3) { - if v == b'0' { - cnt += 1; - } else { - break; - } - } + let cnt = num + .as_bytes() + .iter() + .rev() + .skip(3) + .take_while(|&&c| c == b'0') + .count() + + 3; - original.truncate(original.len() - cnt); - original.push('e'); - original.push_str(&cnt.to_string()); + num.truncate(num.len() - cnt); + num.push('e'); + num.push_str(&cnt.to_string()); } - if original.len() < printed.len() { - printed = original; - } + num +} - printed +fn clz(s: &str) -> usize { + s.as_bytes().iter().take_while(|&&c| c == b'0').count() } fn span_has_leading_comment(cmt: &dyn Comments, span: Span) -> bool { From e11230c6a2e96dcecd047fb576a9ae953f9bb6a2 Mon Sep 17 00:00:00 2001 From: magic-akari Date: Tue, 10 Sep 2024 20:28:47 +0800 Subject: [PATCH 2/5] chore: update test cases --- .../fixture/issues-9xxx/9540/input/.swcrc | 19 +++ .../fixture/issues-9xxx/9540/input/index.js | 2 + .../fixture/issues-9xxx/9540/output/index.js | 1 + .../tests/fixture/issue-5912/output.min.js | 2 +- .../tests/fixture/number/output.min.js | 2 +- .../tests/fixture/next/cryptojs/output.js | 4 +- .../fixture/next/react-pdf-renderer/output.js | 150 +++++++++--------- .../full/issue-5912-bigdecimal/output.js | 2 +- .../issue_1760_2/output.mangleOnly.js | 8 +- .../output.mangleOnly.js | 14 +- .../pow_with_parentheses/output.mangleOnly.js | 4 +- .../numeric_separators/output.mangleOnly.js | 4 +- .../output.min.html | 2 +- .../output.min.html | 2 +- 14 files changed, 119 insertions(+), 97 deletions(-) create mode 100644 crates/swc/tests/fixture/issues-9xxx/9540/input/.swcrc create mode 100644 crates/swc/tests/fixture/issues-9xxx/9540/input/index.js create mode 100644 crates/swc/tests/fixture/issues-9xxx/9540/output/index.js diff --git a/crates/swc/tests/fixture/issues-9xxx/9540/input/.swcrc b/crates/swc/tests/fixture/issues-9xxx/9540/input/.swcrc new file mode 100644 index 000000000000..8f644d5108d9 --- /dev/null +++ b/crates/swc/tests/fixture/issues-9xxx/9540/input/.swcrc @@ -0,0 +1,19 @@ +{ + "jsc": { + "parser": { + "syntax": "typescript", + "tsx": false + }, + "target": "es2022", + "loose": false, + "minify": { + "compress": false, + "mangle": false + } + }, + "module": { + "type": "es6" + }, + "minify": true, + "isModule": true +} \ No newline at end of file diff --git a/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js b/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js new file mode 100644 index 000000000000..3f8a4cce483e --- /dev/null +++ b/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js @@ -0,0 +1,2 @@ +219994525426954..toString(); +219994525420000..toString(); diff --git a/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js b/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js new file mode 100644 index 000000000000..bb6dc9ab10e4 --- /dev/null +++ b/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js @@ -0,0 +1 @@ +0xc815778a650a.toString();21999452542e4.toString(); 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 index 04e964b5fa5e..c9a0300219ea 100644 --- a/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.min.js +++ b/crates/swc_ecma_codegen/tests/fixture/issue-5912/output.min.js @@ -1 +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} +function te(a){var b,c,d,e,f;if(isNaN(a)){return Qe(),Pe}if(a<-0x8000000000000000){return Qe(),Ne}if(a>=0x8000000000000000){return Qe(),Me}e=false;if(a<0){e=true;a=-a}d=0;if(a>=0x100000000000){d=Bc(a/0x100000000000);a-=d*0x100000000000}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/number/output.min.js b/crates/swc_ecma_codegen/tests/fixture/number/output.min.js index ff7961509fc4..57b63840b0a5 100644 --- a/crates/swc_ecma_codegen/tests/fixture/number/output.min.js +++ b/crates/swc_ecma_codegen/tests/fixture/number/output.min.js @@ -1 +1 @@ -const exp=1e3;const Exp=1e12;const negativeExp=1e-8;const huge=0xe8d4a51001;const big=100000000001;const fractional=100.23002;const numeric_separators=1e12;const one=1e3;const two=1e6;const three=-1e6;const bin=85;const oct=342391;const hex=3735928559;const fractional2=1000.0001;const identifier=_1000;const negate_identifier=-_1000;const foo=.1;const foo1=+.1;const foo2=-.1;const foo3=1050;const foo4=100500;const foo5=10005e3;const foo6=100005e4;const foo7=.1;const foo8=.01;const foo9=.001;const foo10=1e-4;const foo11=1e-5;const foo12=1e-6;const foo13=24e-6;const foo14=-24e-6;const foo15=10;const foo16=100;const foo17=1e3;const foo18=1e4;const foo19=1e5;const foo20=.1;const foo21=.01;const foo22=.001;const foo23=1e-4;const foo24=1e-5;const foo25=-.1;const foo26=-.01;const foo27=-.001;const foo28=-1e-4;const foo29=-1e-5;const foo30=.001;const foo31=.00321;const foo32=321e-6;const foo33=.1;const foo34=1e-5;const foo35=0;const foo36=-0;const foo37=+0;const foo38=1543e-8;const foo39=1543e-8;const foo40=(1543e-8);const foo41={100005e4:"foo"};const foo42=0xe8d4a51caa;const foo43_=-0xe8d4a51caa;const foo43=0;const foo44=-0;const foo45=+0;const foo46=1e9;const foo47=1.10001;const foo48=1e10;const foo49=1e10;const foo50=1e-10;const foo51=11e99;const foo52=11e99;const foo53=11e-101;const foo54=123456;const foo55=122333;const foo56=12.34;const foo57=1234e54;const foo58=1234e54;const foo59=1234e-58;const foo60=.1;const foo61=10;const foo62=5e9;const foo63=255;const foo64=255;const foo65=255;const foo66=0;const foo67=0;const foo68=0;const foo69=0;const foo70=0;const foo71=255;26..toString();4294967295..toString();4294967295..toString();668..toString();668..toString();109..toString();109..toString();1234..toString();1..toString();77..toExponential();77..toExponential();(77).toExponential();77..toExponential();77..toExponential();const hugefoo=0xe8d4a51001.test();const hugefoo1=238..test();1234..toString();1234..toString();const foo72=864e5;const foo73=65535;const foo74=65535;const foo75=Infinity;const foo76=Infinity.toString(); +const exp=1e3;const Exp=1e12;const negativeExp=1e-8;const huge=0xe8d4a51001;const big=0x174876e801;const fractional=100.23002;const numeric_separators=1e12;const one=1e3;const two=1e6;const three=-1e6;const bin=85;const oct=342391;const hex=0xdeadbeef;const fractional2=1000.0001;const identifier=_1000;const negate_identifier=-_1000;const foo=.1;const foo1=+.1;const foo2=-.1;const foo3=1050;const foo4=100500;const foo5=10005e3;const foo6=100005e4;const foo7=.1;const foo8=.01;const foo9=.001;const foo10=1e-4;const foo11=1e-5;const foo12=1e-6;const foo13=24e-6;const foo14=-24e-6;const foo15=10;const foo16=100;const foo17=1e3;const foo18=1e4;const foo19=1e5;const foo20=.1;const foo21=.01;const foo22=.001;const foo23=1e-4;const foo24=1e-5;const foo25=-.1;const foo26=-.01;const foo27=-.001;const foo28=-1e-4;const foo29=-1e-5;const foo30=.001;const foo31=.00321;const foo32=321e-6;const foo33=.1;const foo34=1e-5;const foo35=0;const foo36=-0;const foo37=+0;const foo38=1543e-8;const foo39=1543e-8;const foo40=(1543e-8);const foo41={100005e4:"foo"};const foo42=0xe8d4a51caa;const foo43_=-0xe8d4a51caa;const foo43=0;const foo44=-0;const foo45=+0;const foo46=1e9;const foo47=1.10001;const foo48=1e10;const foo49=1e10;const foo50=1e-10;const foo51=11e99;const foo52=11e99;const foo53=11e-101;const foo54=123456;const foo55=122333;const foo56=12.34;const foo57=1234e54;const foo58=1234e54;const foo59=1234e-58;const foo60=.1;const foo61=10;const foo62=5e9;const foo63=255;const foo64=255;const foo65=255;const foo66=0;const foo67=0;const foo68=0;const foo69=0;const foo70=0;const foo71=255;26..toString();0xffffffff.toString();0xffffffff.toString();668..toString();668..toString();109..toString();109..toString();1234..toString();1..toString();77..toExponential();77..toExponential();(77).toExponential();77..toExponential();77..toExponential();const hugefoo=0xe8d4a51001.test();const hugefoo1=238..test();1234..toString();1234..toString();const foo72=864e5;const foo73=65535;const foo74=65535;const foo75=Infinity;const foo76=Infinity.toString(); diff --git a/crates/swc_ecma_minifier/tests/fixture/next/cryptojs/output.js b/crates/swc_ecma_minifier/tests/fixture/next/cryptojs/output.js index ada68b67c8ef..7cd2941a811e 100644 --- a/crates/swc_ecma_minifier/tests/fixture/next/cryptojs/output.js +++ b/crates/swc_ecma_minifier/tests/fixture/next/cryptojs/output.js @@ -23,8 +23,8 @@ export default function(r, t, e) { var d = c[_ - 15], v = (d << 25 | d >>> 7) ^ (d << 14 | d >>> 18) ^ d >>> 3, H = c[_ - 2], p = (H << 15 | H >>> 17) ^ (H << 13 | H >>> 19) ^ H >>> 10; c[_] = v + c[_ - 7] + p + c[_ - 16]; } - var w = h & u ^ ~h & f, A = n & o ^ n & s ^ o & s, g = (n << 30 | n >>> 2) ^ (n << 19 | n >>> 13) ^ (n << 10 | n >>> 22), y = l + ((h << 26 | h >>> 6) ^ (h << 21 | h >>> 11) ^ (h << 7 | h >>> 25)) + w + i[_] + c[_], B = g + A; - l = f, f = u, u = h, h = a + y | 0, a = s, s = o, o = n, n = y + B | 0; + var w = h & u ^ ~h & f, x = n & o ^ n & s ^ o & s, A = (n << 30 | n >>> 2) ^ (n << 19 | n >>> 13) ^ (n << 10 | n >>> 22), g = l + ((h << 26 | h >>> 6) ^ (h << 21 | h >>> 11) ^ (h << 7 | h >>> 25)) + w + i[_] + c[_], y = A + x; + l = f, f = u, u = h, h = a + g | 0, a = s, s = o, o = n, n = g + y | 0; } // Intermediate hash value e[0] = e[0] + n | 0, e[1] = e[1] + o | 0, e[2] = e[2] + s | 0, e[3] = e[3] + a | 0, e[4] = e[4] + h | 0, e[5] = e[5] + u | 0, e[6] = e[6] + f | 0, e[7] = e[7] + l | 0; diff --git a/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js b/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js index 096ca6a05ac6..f4343a013b4e 100644 --- a/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js +++ b/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js @@ -1888,10 +1888,10 @@ return U.default({}, e, { style: U.default({}, r, t) }); - }, e4 = function(e) { + }, e5 = function(e) { var t; return (null === (t = e.props) || void 0 === t ? void 0 : t.fixed) === !0; - }, e5 = function(e, t) { + }, e4 = function(e, t) { var r = 0; if (!e.lines) return 0; for(var n = 0; n < e.lines.length; n += 1){ @@ -1900,7 +1900,7 @@ r += i.box.height; } return e.lines.length; - }, e8 = function(e, t) { + }, e6 = function(e, t) { var r = 0; if (!e.lines) return r; for(var n = 0; n < t; n += 1){ @@ -1909,7 +1909,7 @@ r += i.box.height; } return r; - }, e6 = function(e, t) { + }, e8 = function(e, t) { var r = a.get(e, [ "box", "top" @@ -1919,10 +1919,10 @@ ], 2), i = a.get(e, [ "props", "orphans" - ], 2), o = e.lines.length, u = e5(e, t - r); + ], 2), o = e.lines.length, u = e4(e, t - r); return 0 === u ? 0 : o < i ? o : u < i || o < i + n ? 0 : o === i + n ? i : o - u < n ? o - n : u; }, e7 = function(e, t) { - var r = e6(e, t), n = e8(e, r), i = e.box.height - n; + var r = e8(e, t), n = e6(e, r), i = e.box.height - n; return [ Object.assign({}, e, { box: U.default({}, e.box, { @@ -2334,7 +2334,7 @@ "space-between": q.default.JUSTIFY_SPACE_BETWEEN, "space-around": q.default.JUSTIFY_SPACE_AROUND, "space-evenly": q.default.JUSTIFY_SPACE_EVENLY - }, tK = tW("margin", q.default.EDGE_TOP), tQ = tW("margin", q.default.EDGE_RIGHT), t$ = tW("margin", q.default.EDGE_BOTTOM), t0 = tW("margin", q.default.EDGE_LEFT), t1 = tW("padding", q.default.EDGE_TOP), t2 = tW("padding", q.default.EDGE_RIGHT), t3 = tW("padding", q.default.EDGE_BOTTOM), t4 = tW("padding", q.default.EDGE_LEFT), t5 = tW("border", q.default.EDGE_TOP), t8 = tW("border", q.default.EDGE_RIGHT), t6 = tW("border", q.default.EDGE_BOTTOM), t7 = tW("border", q.default.EDGE_LEFT), t9 = tW("position", q.default.EDGE_TOP), re = tW("position", q.default.EDGE_RIGHT), rt = tW("position", q.default.EDGE_BOTTOM), rr = tW("position", q.default.EDGE_LEFT), rn = tW("width"), ri = tW("minWidth"), ro = tW("maxWidth"), ra = tW("height"), ru = tW("minHeight"), rl = tW("maxHeight"), rs = function(e) { + }, tK = tW("margin", q.default.EDGE_TOP), tQ = tW("margin", q.default.EDGE_RIGHT), t$ = tW("margin", q.default.EDGE_BOTTOM), t0 = tW("margin", q.default.EDGE_LEFT), t1 = tW("padding", q.default.EDGE_TOP), t2 = tW("padding", q.default.EDGE_RIGHT), t3 = tW("padding", q.default.EDGE_BOTTOM), t5 = tW("padding", q.default.EDGE_LEFT), t4 = tW("border", q.default.EDGE_TOP), t6 = tW("border", q.default.EDGE_RIGHT), t8 = tW("border", q.default.EDGE_BOTTOM), t7 = tW("border", q.default.EDGE_LEFT), t9 = tW("position", q.default.EDGE_TOP), re = tW("position", q.default.EDGE_RIGHT), rt = tW("position", q.default.EDGE_BOTTOM), rr = tW("position", q.default.EDGE_LEFT), rn = tW("width"), ri = tW("minWidth"), ro = tW("maxWidth"), ra = tW("height"), ru = tW("minHeight"), rl = tW("maxHeight"), rs = function(e) { return e.lines ? Math.max.apply(Math, [ 0 ].concat(e.lines.map(function(e) { @@ -2391,10 +2391,10 @@ }; }, rm = rb(T.Svg), rD = rb(T.Text), rw = rb(T.Note), rE = rb(T.Page), r_ = rb(T.Image), rx = rb(T.Canvas), rS = rb(T.TextInstance), rA = function(e) { var t, r, n, i, o, u, l, s, c; - a.compose(ra(rE(e) ? e.box.height : e.style.height), rn(e.style.width), ri(e.style.minWidth), ro(e.style.maxWidth), ru(e.style.minHeight), rl(e.style.maxHeight), tK(e.style.marginTop), tQ(e.style.marginRight), t$(e.style.marginBottom), t0(e.style.marginLeft), t1(e.style.paddingTop), t2(e.style.paddingRight), t3(e.style.paddingBottom), t4(e.style.paddingLeft), (t = e.style.position, function(e) { + a.compose(ra(rE(e) ? e.box.height : e.style.height), rn(e.style.width), ri(e.style.minWidth), ro(e.style.maxWidth), ru(e.style.minHeight), rl(e.style.maxHeight), tK(e.style.marginTop), tQ(e.style.marginRight), t$(e.style.marginBottom), t0(e.style.marginLeft), t1(e.style.paddingTop), t2(e.style.paddingRight), t3(e.style.paddingBottom), t5(e.style.paddingLeft), (t = e.style.position, function(e) { var r = e._yogaNode; return !a.isNil(t) && r && r.setPositionType("absolute" === t ? q.default.POSITION_TYPE_ABSOLUTE : q.default.POSITION_TYPE_RELATIVE), e; - }), t9(e.style.top), re(e.style.right), rt(e.style.bottom), rr(e.style.left), t5(e.style.borderTopWidth), t8(e.style.borderRightWidth), t6(e.style.borderBottomWidth), t7(e.style.borderLeftWidth), (r = e.style.display, function(e) { + }), t9(e.style.top), re(e.style.right), rt(e.style.bottom), rr(e.style.left), t4(e.style.borderTopWidth), t6(e.style.borderRightWidth), t8(e.style.borderBottomWidth), t7(e.style.borderLeftWidth), (r = e.style.display, function(e) { var t = e._yogaNode; return t && t.setDisplay("none" === r ? q.default.DISPLAY_NONE : q.default.DISPLAY_FLEX), e; }), (n = e.style.flexDirection, function(e) { @@ -2531,8 +2531,8 @@ console.warn("Node of type " + e.type + " can't wrap between pages and it's bigger than available page height"); }, rL = function(e, t, r) { for(var n = [], i = [], o = 0; o < r.length; o += 1){ - var a = r[o], u = r.slice(o + 1), l = u.filter(e4), s = rj(a), c = a.box.height, f = e <= s, d = tg(a, u, e), p = e + 0.001 < s + c, h = tn(a), y = c <= t; - if (e4(a)) { + var a = r[o], u = r.slice(o + 1), l = u.filter(e5), s = rj(a), c = a.box.height, f = e <= s, d = tg(a, u, e), p = e + 0.001 < s + c, h = tn(a), y = c <= t; + if (e5(a)) { i.push(a), n.push(a); continue; } @@ -2615,7 +2615,7 @@ box: d, children: s })); - if (0 === c.length || c.every(e4)) return [ + if (0 === c.length || c.every(e5)) return [ p, null ]; @@ -2697,18 +2697,18 @@ return Object.assign({}, e, { children: t }); - }, r4 = function(e) { + }, r5 = function(e) { return function(t) { return t.type === e; }; - }, r5 = r4(T.Link), r8 = r4(T.Text), r6 = r4(T.TextInstance), r7 = function(e) { + }, r4 = r5(T.Link), r6 = r5(T.Text), r8 = r5(T.TextInstance), r7 = function(e) { var t; return !!(null !== (t = e.props) && void 0 !== t && t.render); }, r9 = function(e) { - return r8(e) || r6(e); + return r6(e) || r8(e); }, ne = function(e) { var t = e.children || []; // Text string inside a Link - return !!t.every(r6) || !t.every(r8) && t.every(r9) // Text node inside a Link + return !!t.every(r8) || !t.every(r6) && t.every(r9) // Text node inside a Link ; }, nt = function(e) { var t = { @@ -2724,7 +2724,7 @@ ] }); }, nr = function(e) { - return r5(e) ? r7(e) ? Object.assign({}, e, { + return r4(e) ? r7(e) ? Object.assign({}, e, { type: T.Text }) : ne(e) ? nt(e) : e : e // If has render prop substitute the instance by a Text, that will ; @@ -3936,7 +3936,7 @@ }) : "dotted" === c && e.dash(f, { space: 1.2 * f }), e.stroke(), e.undash(); - }, e4 = function(e, t, r, n, i) { + }, e5 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderBottomWidth, c = r.borderRightWidth, f = r.borderLeftWidth; e.moveTo(a + u - i, o + l), e.lineTo(a + n, o + l); var d = n * (1.0 - e$); // Clip outer top right cap @@ -3956,14 +3956,14 @@ var w = -s / f; e.moveTo(a + u / 2, u / 2 * w + o + l), e.lineTo(a, o + l), e.lineTo(a + u, o + l), e.lineTo(a + u, o), e.closePath(), e.clip(); } - }, e5 = function(e, t, r, n, i) { + }, e4 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderBottomColor, c = r.borderBottomStyle, f = r.borderBottomWidth, d = r.borderRightWidth, p = r.borderLeftWidth, h = n * (1.0 - e$), y = i * (1.0 - e$); e.moveTo(a + u, o + l - i), e.bezierCurveTo(a + u, o + l - y, a + u - y, o + l, a + u - i, o + l), e.lineTo(a + n, o + l), e.bezierCurveTo(a + h, o + l, a, o + l - h, a, o + l - n), e.strokeColor(s), e.lineWidth(2 * Math.max(f, d, p)), "dashed" === c ? e.dash(2 * f, { space: 1.2 * f }) : "dotted" === c && e.dash(f, { space: 1.2 * f }), e.stroke(), e.undash(); - }, e8 = function(e, t, r, n, i) { + }, e6 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderTopWidth, c = r.borderLeftWidth, f = r.borderBottomWidth; e.moveTo(a, o + l - n), e.lineTo(a, o + i); var d = i * (1.0 - e$); // Clip outer top left cap @@ -3983,7 +3983,7 @@ var w = -s / c; e.moveTo(a + u / 2, -u / 2 * w + o), e.lineTo(a, o), e.lineTo(a, o + l), e.lineTo(a + u, o + l), e.closePath(), e.clip(); } - }, e6 = function(e, t, r, n, i) { + }, e8 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.height, l = r.borderLeftColor, s = r.borderLeftStyle, c = r.borderLeftWidth, f = r.borderTopWidth, d = r.borderBottomWidth, p = n * (1.0 - e$), h = i * (1.0 - e$); e.moveTo(a + n, o + u), e.bezierCurveTo(a + p, o + u, a, o + u - p, a, o + u - n), e.lineTo(a, o + i), e.bezierCurveTo(a, o + h, a + h, o, a + i, o), e.strokeColor(l), e.lineWidth(2 * Math.max(c, f, d)), "dashed" === s ? e.dash(2 * c, { space: 1.2 * c @@ -4010,7 +4010,7 @@ borderBottomLeftRadius: g, borderBottomRightRadius: b }, T = Math.min(h, 0.5 * n, 0.5 * i), O = Math.min(d, 0.5 * n, 0.5 * i), C = Math.min(b, 0.5 * n, 0.5 * i), P = Math.min(g, 0.5 * n, 0.5 * i); - e.save(), e.strokeOpacity(c), o && (e.save(), e0(e, t.box, k, T, O), e1(e, t.box, k, T, O), e.restore()), u && (e.save(), e2(e, t.box, k, T, C), e3(e, t.box, k, T, C), e.restore()), l && (e.save(), e4(e, t.box, k, P, C), e5(e, t.box, k, P, C), e.restore()), a && (e.save(), e8(e, t.box, k, P, O), e6(e, t.box, k, P, O), e.restore()), e.restore(); + e.save(), e.strokeOpacity(c), o && (e.save(), e0(e, t.box, k, T, O), e1(e, t.box, k, T, O), e.restore()), u && (e.save(), e2(e, t.box, k, T, C), e3(e, t.box, k, T, C), e.restore()), l && (e.save(), e5(e, t.box, k, P, C), e4(e, t.box, k, P, C), e.restore()), a && (e.save(), e6(e, t.box, k, P, O), e8(e, t.box, k, P, O), e.restore()), e.restore(); } }, e9 = function(e, t) { var r, n = t.box, i = n.top, o = n.left, a = n.width, u = n.height, l = ek(t.style.backgroundColor), s = (0, m.isNil)(null === (r = t.style) || void 0 === r ? void 0 : r.opacity) ? 1 : t.style.opacity, c = Math.min(l.opacity, s); @@ -25120,20 +25120,20 @@ if (!n) throw Error(d(169)); r ? (t = eZ(e, t, ez), n.__reactInternalMemoizedMergedChildContext = t, eB(eU, e), eB(eL, e), eM(eL, t, e)) : eB(eU, e), eM(eU, r, e); } - var eY = f.unstable_runWithPriority, eK = f.unstable_scheduleCallback, eQ = f.unstable_cancelCallback, e$ = f.unstable_shouldYield, e0 = f.unstable_requestPaint, e1 = f.unstable_now, e2 = f.unstable_getCurrentPriorityLevel, e3 = f.unstable_ImmediatePriority, e4 = f.unstable_UserBlockingPriority, e5 = f.unstable_NormalPriority, e8 = f.unstable_LowPriority, e6 = f.unstable_IdlePriority, e7 = {}, e9 = void 0 !== e0 ? e0 : function() {}, te = null, tt = null, tr = !1, tn = e1(), ti = 1e4 > tn ? e1 : function() { + var eY = f.unstable_runWithPriority, eK = f.unstable_scheduleCallback, eQ = f.unstable_cancelCallback, e$ = f.unstable_shouldYield, e0 = f.unstable_requestPaint, e1 = f.unstable_now, e2 = f.unstable_getCurrentPriorityLevel, e3 = f.unstable_ImmediatePriority, e5 = f.unstable_UserBlockingPriority, e4 = f.unstable_NormalPriority, e6 = f.unstable_LowPriority, e8 = f.unstable_IdlePriority, e7 = {}, e9 = void 0 !== e0 ? e0 : function() {}, te = null, tt = null, tr = !1, tn = e1(), ti = 1e4 > tn ? e1 : function() { return e1() - tn; }; function to() { switch(e2()){ case e3: return 99; - case e4: - return 98; case e5: + return 98; + case e4: return 97; - case e8: - return 96; case e6: + return 96; + case e8: return 95; default: throw Error(d(332)); @@ -25144,13 +25144,13 @@ case 99: return e3; case 98: - return e4; - case 97: return e5; + case 97: + return e4; case 96: - return e8; - case 95: return e6; + case 95: + return e8; default: throw Error(d(332)); } @@ -25327,13 +25327,13 @@ tk = !1, t = tI(e, t); for(var o = t.baseState, a = null, u = 0, l = t.firstUpdate, s = o; null !== l;){ var c = l.expirationTime; - c < i ? (null === a && (a = l, o = s), u < c && (u = c)) : (n4(c, l.suspenseConfig), s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next; + c < i ? (null === a && (a = l, o = s), u < c && (u = c)) : (n5(c, l.suspenseConfig), s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next; } for(c = null, l = t.firstCapturedUpdate; null !== l;){ var f = l.expirationTime; f < i ? (null === c && (c = l, null === a && (o = s)), u < f && (u = f)) : (s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastCapturedEffect ? t.firstCapturedEffect = t.lastCapturedEffect = l : (t.lastCapturedEffect.nextEffect = l, t.lastCapturedEffect = l))), l = l.next; } - null === a && (t.lastUpdate = null), null === c ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === a && null === c && (o = s), t.baseState = o, t.firstUpdate = a, t.firstCapturedUpdate = c, n5(u), e.expirationTime = u, e.memoizedState = s; + null === a && (t.lastUpdate = null), null === c ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === a && null === c && (o = s), t.baseState = o, t.firstUpdate = a, t.firstCapturedUpdate = c, n4(u), e.expirationTime = u, e.memoizedState = s; } function tM(e, t, r) { null !== t.firstCapturedUpdate && (null !== t.lastUpdate && (t.lastUpdate.next = t.firstCapturedUpdate, t.lastUpdate = t.lastCapturedUpdate), t.firstCapturedUpdate = t.lastCapturedUpdate = null), tN(t.firstEffect, r), t.firstEffect = t.lastEffect = null, tN(t.firstCapturedEffect, r), t.firstCapturedEffect = t.lastCapturedEffect = null; @@ -25592,17 +25592,17 @@ if (e === t$) throw Error(d(174)); return e; } - function t4(e, t) { + function t5(e, t) { eM(t2, t, e), eM(t1, e, e), eM(t0, t$, e), t = B(t), eB(t0, e), eM(t0, t, e); } - function t5(e) { + function t4(e) { eB(t0, e), eB(t1, e), eB(t2, e); } - function t8(e) { + function t6(e) { var t = t3(t2.current), r = t3(t0.current); t = M(r, e.type, t), r !== t && (eM(t1, e, e), eM(t0, t, e)); } - function t6(e) { + function t8(e) { t1.current === e && (eB(t0, e), eB(t1, e)); } var t7 = { @@ -25712,7 +25712,7 @@ var u = i = null, l = n, s = !1; do { var c = l.expirationTime; - c < rn ? (s || (s = !0, u = a, i = o), c > rc && n5(rc = c)) : (n4(c, l.suspenseConfig), o = l.eagerReducer === e ? l.eagerState : e(o, l.action)), a = l, l = l.next; + c < rn ? (s || (s = !0, u = a, i = o), c > rc && n4(rc = c)) : (n5(c, l.suspenseConfig), o = l.eagerReducer === e ? l.eagerState : e(o, l.action)), a = l, l = l.next; }while (null !== l && l !== n) s || (u = a, i = o), tp(o, t.memoizedState) || (rJ = !0), t.memoizedState = o, t.baseUpdate = u, t.baseState = i, r.lastRenderedState = o; } @@ -26095,37 +26095,37 @@ var u = a && "function" != typeof r.getDerivedStateFromError ? null : n.render(); return t.effectTag |= 1, null !== e && a ? (t.child = tK(t, e.child, null, o), t.child = tK(t, null, u, o)) : rY(e, t, u, o), t.memoizedState = n.state, i && eJ(t, r, !0), t.child; } - function r4(e) { + function r5(e) { var t = e.stateNode; - t.pendingContext ? eH(e, t.pendingContext, t.pendingContext !== t.context) : t.context && eH(e, t.context, !1), t4(e, t.containerInfo); + t.pendingContext ? eH(e, t.pendingContext, t.pendingContext !== t.context) : t.context && eH(e, t.context, !1), t5(e, t.containerInfo); } - var r5 = { + var r4 = { dehydrated: null, retryTime: 0 }; - function r8(e, t, r) { + function r6(e, t, r) { var n, i = t.mode, o = t.pendingProps, a = t7.current, u = !1; if ((n = 0 != (64 & t.effectTag)) || (n = 0 != (2 & a) && (null === e || null !== e.memoizedState)), n ? (u = !0, t.effectTag &= -65) : null !== e && null === e.memoizedState || void 0 === o.fallback || !0 === o.unstable_avoidThisFallback || (a |= 1), eM(t7, 1 & a, t), null === e) { if (void 0 !== o.fallback && rq(t), u) { if (u = o.fallback, (o = ig(null, i, 0, null)).return = t, 0 == (2 & t.mode)) for(e = null !== t.memoizedState ? t.child.child : t.child, o.child = e; null !== e;)e.return = o, e = e.sibling; - return (r = ig(u, i, r, null)).return = t, o.sibling = r, t.memoizedState = r5, t.child = o, r; + return (r = ig(u, i, r, null)).return = t, o.sibling = r, t.memoizedState = r4, t.child = o, r; } return i = o.children, t.memoizedState = null, t.child = tQ(t, null, i, r); } if (null !== e.memoizedState) { if (i = (e = e.child).sibling, u) { if (o = o.fallback, (r = ih(e, e.pendingProps, 0)).return = t, 0 == (2 & t.mode) && (u = null !== t.memoizedState ? t.child.child : t.child) !== e.child) for(r.child = u; null !== u;)u.return = r, u = u.sibling; - return (i = ih(i, o, i.expirationTime)).return = t, r.sibling = i, r.childExpirationTime = 0, t.memoizedState = r5, t.child = r, i; + return (i = ih(i, o, i.expirationTime)).return = t, r.sibling = i, r.childExpirationTime = 0, t.memoizedState = r4, t.child = r, i; } return r = tK(t, e.child, o.children, r), t.memoizedState = null, t.child = r; } if (e = e.child, u) { if (u = o.fallback, (o = ig(null, i, 0, null)).return = t, o.child = e, null !== e && (e.return = o), 0 == (2 & t.mode)) for(e = null !== t.memoizedState ? t.child.child : t.child, o.child = e; null !== e;)e.return = o, e = e.sibling; - return (r = ig(u, i, r, null)).return = t, o.sibling = r, r.effectTag |= 2, o.childExpirationTime = 0, t.memoizedState = r5, t.child = o, r; + return (r = ig(u, i, r, null)).return = t, o.sibling = r, r.effectTag |= 2, o.childExpirationTime = 0, t.memoizedState = r4, t.child = o, r; } return t.memoizedState = null, t.child = tK(t, e, o.children, r); } - function r6(e, t) { + function r8(e, t) { e.expirationTime < t && (e.expirationTime = t); var r = e.alternate; null !== r && r.expirationTime < t && (r.expirationTime = t), tx(e.return, t); @@ -26147,8 +26147,8 @@ if (rY(e, t, n.children, r), 0 != (2 & (n = t7.current))) n = 1 & n | 2, t.effectTag |= 64; else { if (null !== e && 0 != (64 & e.effectTag)) r: for(e = t.child; null !== e;){ - if (13 === e.tag) null !== e.memoizedState && r6(e, r); - else if (19 === e.tag) r6(e, r); + if (13 === e.tag) null !== e.memoizedState && r8(e, r); + else if (19 === e.tag) r8(e, r); else if (null !== e.child) { e.child.return = e, e = e.child; continue; @@ -26189,7 +26189,7 @@ function ne(e, t, r) { null !== e && (t.dependencies = e.dependencies); var n = t.expirationTime; - if (0 !== n && n5(n), t.childExpirationTime < r) return null; + if (0 !== n && n4(n), t.childExpirationTime < r) return null; if (null !== e && t.child !== e.child) throw Error(d(153)); if (null !== t.child) { for(r = ih(e = t.child, e.pendingProps, e.expirationTime), t.child = r, r.return = t; null !== e.sibling;)e = e.sibling, (r = r.sibling = ih(e, e.pendingProps, e.expirationTime)).return = t; @@ -26690,7 +26690,7 @@ } n = n.return; } - return null !== i && (nx === i && (n5(t), 4 === nk && iw(i, nA)), iE(i, t)), i; + return null !== i && (nx === i && (n4(t), 4 === nk && iw(i, nA)), iE(i, t)), i; } function nY(e) { var t = e.lastExpiredTime; @@ -26724,7 +26724,7 @@ n_ |= 16; for(var i = n3(e);;)try { !function() { - for(; null !== nS && !e$();)nS = n8(nS); + for(; null !== nS && !e$();)nS = n6(nS); }(); break; } catch (t) { @@ -26802,7 +26802,7 @@ n_ |= 16; for(var n = n3(e);;)try { !function() { - for(; null !== nS;)nS = n8(nS); + for(; null !== nS;)nS = n6(nS); }(); break; } catch (t) { @@ -26835,13 +26835,13 @@ null != n.type.childContextTypes && eq(n); break; case 3: - t5(n), eV(n); + t4(n), eV(n); break; case 5: - t6(n); + t8(n); break; case 4: - t5(n); + t4(n); break; case 13: case 19: @@ -26923,7 +26923,7 @@ l = l.return; }while (null !== l) } - nS = n6(nS); + nS = n8(nS); } catch (e) { t = e; continue; @@ -26935,17 +26935,17 @@ var e = nw.current; return nw.current = rB, null === e ? rB : e; } - function n4(e, t) { + function n5(e, t) { e < nO && 2 < e && (nO = e), null !== t && e < nC && 2 < e && (nC = e, nP = t); } - function n5(e) { + function n4(e) { e > nF && (nF = e); } - function n8(e) { + function n6(e) { var t = l(e.alternate, e, nA); - return e.memoizedProps = e.pendingProps, null === t && (t = n6(e)), nE.current = null, t; + return e.memoizedProps = e.pendingProps, null === t && (t = n8(e)), nE.current = null, t; } - function n6(e) { + function n8(e) { nS = e; do { var t = nS.alternate; @@ -26971,10 +26971,10 @@ eG(t.type) && eq(t); break; case 3: - t5(t), eV(t), (l = t.stateNode).pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (null === r || null === r.child) && rH(t) && nt(t), o(t); + t4(t), eV(t), (l = t.stateNode).pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (null === r || null === r.child) && rH(t) && nt(t), o(t); break; case 5: - t6(t); + t8(t); var s = t3(t2.current); if (n = t.type, null !== r && null != t.stateNode) a(r, t, n, l, s), r.ref !== t.ref && (t.effectTag |= 128); else if (l) { @@ -27006,7 +27006,7 @@ l = null !== l, s = !1, null === r ? void 0 !== t.memoizedProps.fallback && rH(t) : (s = null !== (n = r.memoizedState), l || null === n || null !== (n = r.child.sibling) && (null !== (c = t.firstEffect) ? (t.firstEffect = n, n.nextEffect = c) : (t.firstEffect = t.lastEffect = n, n.nextEffect = null), n.effectTag = 8)), l && !s && 0 != (2 & t.mode) && (null === r && !0 !== t.memoizedProps.unstable_avoidThisFallback || 0 != (1 & t7.current) ? 0 === nk && (nk = 3) : ((0 === nk || 3 === nk) && (nk = 4), 0 !== nF && null !== nx && (iw(nx, nA), iE(nx, nF)))), Q && l && (t.effectTag |= 4), K && (l || s) && (t.effectTag |= 4); break; case 4: - t5(t), o(t); + t4(t), o(t); break; case 10: t_(t); @@ -27062,16 +27062,16 @@ var t = e.effectTag; return 4096 & t ? (e.effectTag = -4097 & t | 64, e) : null; case 3: - if (t5(e), eV(e), 0 != (64 & (t = e.effectTag))) throw Error(d(285)); + if (t4(e), eV(e), 0 != (64 & (t = e.effectTag))) throw Error(d(285)); return e.effectTag = -4097 & t | 64, e; case 5: - return t6(e), null; + return t8(e), null; case 13: return eB(t7, e), 4096 & (t = e.effectTag) ? (e.effectTag = -4097 & t | 64, e) : null; case 19: return eB(t7, e), null; case 4: - return t5(e), null; + return t4(e), null; case 10: return t_(e), null; default: @@ -27331,23 +27331,23 @@ if (n < r) { switch(rJ = !1, t.tag){ case 3: - r4(t), rZ(); + r5(t), rZ(); break; case 5: - if (t8(t), 4 & t.mode && 1 !== r && V(t.type, i)) return t.expirationTime = t.childExpirationTime = 1, null; + if (t6(t), 4 & t.mode && 1 !== r && V(t.type, i)) return t.expirationTime = t.childExpirationTime = 1, null; break; case 1: eG(t.type) && eX(t); break; case 4: - t4(t, t.stateNode.containerInfo); + t5(t, t.stateNode.containerInfo); break; case 10: tE(t, t.memoizedProps.value); break; case 13: if (null !== t.memoizedState) { - if (0 !== (n = t.child.childExpirationTime) && n >= r) return r8(e, t, r); + if (0 !== (n = t.child.childExpirationTime) && n >= r) return r6(e, t, r); return eM(t7, 1 & t7.current, t), null !== (t = ne(e, t, r)) ? t.sibling : null; } eM(t7, 1 & t7.current, t); @@ -27417,7 +27417,7 @@ case 1: return n = t.type, i = t.pendingProps, i = t.elementType === n ? i : tg(n, i), r2(e, t, n, i, r); case 3: - if (r4(t), null === (n = t.updateQueue)) throw Error(d(282)); + if (r5(t), null === (n = t.updateQueue)) throw Error(d(282)); if (i = null !== (i = t.memoizedState) ? i.element : null, tB(t, n, t.pendingProps, null, r), (n = t.memoizedState.element) === i) rZ(), t = ne(e, t, r); else { if ((i = t.stateNode.hydrate) && ($ ? (rU = eA(t.stateNode.containerInfo), rL = t, i = rz = !0) : i = !1), i) for(r = tQ(t, null, n, r), t.child = r; r;)r.effectTag = -3 & r.effectTag | 1024, r = r.sibling; @@ -27426,13 +27426,13 @@ } return t; case 5: - return t8(t), null === e && rq(t), n = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, a = i.children, q(n, i) ? a = null : null !== o && q(n, o) && (t.effectTag |= 16), r0(e, t), 4 & t.mode && 1 !== r && V(n, i) ? (t.expirationTime = t.childExpirationTime = 1, t = null) : (rY(e, t, a, r), t = t.child), t; + return t6(t), null === e && rq(t), n = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, a = i.children, q(n, i) ? a = null : null !== o && q(n, o) && (t.effectTag |= 16), r0(e, t), 4 & t.mode && 1 !== r && V(n, i) ? (t.expirationTime = t.childExpirationTime = 1, t = null) : (rY(e, t, a, r), t = t.child), t; case 6: return null === e && rq(t), null; case 13: - return r8(e, t, r); + return r6(e, t, r); case 4: - return t4(t, t.stateNode.containerInfo), n = t.pendingProps, null === e ? t.child = tK(t, null, n, r) : rY(e, t, n, r), t.child; + return t5(t, t.stateNode.containerInfo), n = t.pendingProps, null === e ? t.child = tK(t, null, n, r) : rY(e, t, n, r), t.child; case 11: return n = t.type, i = t.pendingProps, i = t.elementType === n ? i : tg(n, i), rK(e, t, n, i, r); case 7: 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 index 5414b0277f8e..7f5d19df3980 100644 --- a/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js +++ b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js @@ -1,2 +1,2 @@ !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(){}// This is an unfortunate kludge because Java methods and constructors cannot accept vararg parameters. -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,o,u=e,f=u.document,c=u.__gwtStatsEvent?function(n){return u.__gwtStatsEvent(n)}:null,s=u.__gwtStatsSessionId?u.__gwtStatsSessionId:null;function h(){}function a(){}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(){}function T(){}function j(){nY()}function F(){nX()}function H(){tk()}function $(){eF()}function V(){eF()}function q(){eF()}function G(){eF()}function z(){eF()}function J(){eF()}function K(){nZ()}function W(){ns(this)}function Z(){ns(this)}function X(n){iQ(this,n)}function Y(n){this.c=n}function nn(n){this.b=n}function nt(n){this.b=n}function ne(n){this.b=n}function nr(n){eF(),this.f=n}function ni(n){nr.call(this,n)}function no(n){nr.call(this,n)}function nu(n){nr.call(this,n)}function nf(n){nr.call(this,n)}function nc(n){nr.call(this,n)}function ns(n){n.b=new S}function nh(){this.b=new S}function na(){na=g,ue=new d}function nb(){nb=g,o=new n1}function nl(n,t){nb(),n[oC]=t}function ng(n,t){nb(),function(n,t){var e,r,i,o,f,c,s,h,a,b;for(f=0,s=iv(n,oy,0),c=u;ft?n:t}function nv(n,t){return!rN(n,t)}function nm(n){this.b=new iM(n)}function ny(){this.b=(rF(),uF)}function nC(){this.b=(iA(),u4)}function nS(n,t){var e;nb(),e=o.b,n?function(n,t,e,r){var i=n.b[r];if(i)for(var o=0,u=i.length;o=t&&n.splice(0,t),n}function tw(n){return nz(n,15)?n:new n0(n)}function td(){try{null.a()}catch(n){return n}}function tp(n){var t;return(t=new I).d=iV+n,t.c=1,t}function t_(n,t){return nH(n)?n.eQ(t):n===t}function tv(n,t){return n.l==t.l&&n.m==t.m&&n.h==t.h}function tm(n,t){return n.l!=t.l||n.m!=t.m||n.h!=t.h}function ty(n,t,e){return(i$=new x).l=n,i$.m=t,i$.h=e,i$}function tC(n,t){return nj(n)===nj(t)||null!=n&&t_(n,t)}function tS(n,t){throw new nf("Index: "+n+", Size: "+t)}function tM(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tx(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tB(n,t,e,r){eJ.call(this,n,t,e),is(this,r)}function tA(n,t){eJ.call(this,n,0,n.length),is(this,t)}function tN(n,t){eJ.call(this,t5(n),0,n.length),is(this,t)}function tI(n){nr.call(this,"String index out of range: "+n)}function tE(n,t){var e,r;return e=n.b,r=String.fromCharCode(t),e.b+=r,n}function tR(n,t){rC(n.b,n.b,n.e,t.b,t.e),tZ(n),n.c=-2}function tO(n,t){n.d=t,n.b=t.ab(),n.b<54&&(n.g=ri(eN(t)))}function tD(){tD=g,ur=[],ui=[],function(n,t,e){var r,i=0;for(var o in n)(r=n[o])&&(t[i]=o,e[i]=r,++i)}(new M,ur,ui)}function tk(){uC||(uC=!0,new j,new F,function(){if(ng(oB,iV),u.bigdecimal.BigDecimal)var n=u.bigdecimal.BigDecimal;u.bigdecimal.BigDecimal=fc(function(){1==arguments.length&&null!=arguments[0]&&arguments[0].gC()==fk?this.__gwt_instance=arguments[0]:0==arguments.length&&(this.__gwt_instance=new nw,nl(this.__gwt_instance,this))});var t=u.bigdecimal.BigDecimal.prototype={};if(n)for(p in n)u.bigdecimal.BigDecimal[p]=n[p];u.bigdecimal.BigDecimal.ROUND_CEILING=2,u.bigdecimal.BigDecimal.ROUND_DOWN=1,u.bigdecimal.BigDecimal.ROUND_FLOOR=3,u.bigdecimal.BigDecimal.ROUND_HALF_DOWN=5,u.bigdecimal.BigDecimal.ROUND_HALF_EVEN=6,u.bigdecimal.BigDecimal.ROUND_HALF_UP=4,u.bigdecimal.BigDecimal.ROUND_UNNECESSARY=7,u.bigdecimal.BigDecimal.ROUND_UP=0,u.bigdecimal.BigDecimal.__init__=fc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==on)t=new nL(new nG(n[0].toString()));else if("BigInteger number"==e)t=new tM(new nG(n[0].toString()),n[1]);else if("BigInteger number MathContext"==e)t=new tr(new nG(n[0].toString()),n[1],new iM(n[2].toString()));else if("BigInteger MathContext"==e)t=new n3(new nG(n[0].toString()),new iM(n[1].toString()));else if(e==oM)t=new n4(t5(n[0].toString()));else if("array number number"==e)t=new eJ(t5(n[0].toString()),n[1],n[2]);else if("array number number MathContext"==e)t=new tB(t5(n[0].toString()),n[1],n[2],new iM(n[3].toString()));else if("array MathContext"==e)t=new tA(t5(n[0].toString()),new iM(n[1].toString()));else if(e==oL)t=new ef(n[0]);else if(e==oU)t=new e_(n[0],new iM(n[1].toString()));else if(e==oH)t=new X(n[0].toString());else if("string MathContext"==e)t=new tN(n[0].toString(),new iM(n[1].toString()));else throw new nr("Unknown call signature for obj = new java.math.BigDecimal: "+e);return new nU(t)}(n))}),t.abs_va=fc(function(n){return nR(this.__gwt_instance.s(n))}),t.add_va=fc(function(n){return nR(this.__gwt_instance.t(n))}),t.byteValueExact=fc(function(){return this.__gwt_instance.u()}),t.compareTo=fc(function(n){return this.__gwt_instance.v(n.__gwt_instance)}),t.divide_va=fc(function(n){return nR(this.__gwt_instance.y(n))}),t.divideToIntegralValue_va=fc(function(n){return nR(this.__gwt_instance.x(n))}),t.doubleValue=fc(function(){return this.__gwt_instance.z()}),t.equals=fc(function(n){return this.__gwt_instance.eQ(n)}),t.floatValue=fc(function(){return this.__gwt_instance.A()}),t.hashCode=fc(function(){return this.__gwt_instance.hC()}),t.intValue=fc(function(){return this.__gwt_instance.B()}),t.intValueExact=fc(function(){return this.__gwt_instance.C()}),t.max=fc(function(n){return nR(this.__gwt_instance.F(n.__gwt_instance))}),t.min=fc(function(n){return nR(this.__gwt_instance.G(n.__gwt_instance))}),t.movePointLeft=fc(function(n){return nR(this.__gwt_instance.H(n))}),t.movePointRight=fc(function(n){return nR(this.__gwt_instance.I(n))}),t.multiply_va=fc(function(n){return nR(this.__gwt_instance.J(n))}),t.negate_va=fc(function(n){return nR(this.__gwt_instance.K(n))}),t.plus_va=fc(function(n){return nR(this.__gwt_instance.L(n))}),t.pow_va=fc(function(n){return nR(this.__gwt_instance.M(n))}),t.precision=fc(function(){return this.__gwt_instance.q()}),t.remainder_va=fc(function(n){return nR(this.__gwt_instance.N(n))}),t.round=fc(function(n){return nR(this.__gwt_instance.O(n.__gwt_instance))}),t.scale=fc(function(){return this.__gwt_instance.P()}),t.scaleByPowerOfTen=fc(function(n){return nR(this.__gwt_instance.Q(n))}),t.setScale_va=fc(function(n){return nR(this.__gwt_instance.R(n))}),t.shortValueExact=fc(function(){return this.__gwt_instance.S()}),t.signum=fc(function(){return this.__gwt_instance.r()}),t.stripTrailingZeros=fc(function(){return nR(this.__gwt_instance.T())}),t.subtract_va=fc(function(n){return nR(this.__gwt_instance.U(n))}),t.toBigInteger=fc(function(){return nR(this.__gwt_instance.V())}),t.toBigIntegerExact=fc(function(){return nR(this.__gwt_instance.W())}),t.toEngineeringString=fc(function(){return this.__gwt_instance.X()}),t.toPlainString=fc(function(){return this.__gwt_instance.Y()}),t.toString=fc(function(){return this.__gwt_instance.tS()}),t.ulp=fc(function(){return nR(this.__gwt_instance.Z())}),t.unscaledValue=fc(function(){return nR(this.__gwt_instance.$())}),t.divideAndRemainder_va=fc(function(n){return nO(this.__gwt_instance.w(n))}),t.longValue=fc(function(){return this.__gwt_instance.E()}),t.longValueExact=fc(function(){return this.__gwt_instance.D()}),u.bigdecimal.BigDecimal.valueOf_va=fc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==oL)t=function(n){if(!isFinite(n)||isNaN(n))throw new nd(oh);return new X(iV+n)}(n[0]);else if(e==oL)t=tX(e6(n[0]));else if(e==oP)t=eL(e6(n[0]),n[1]);else throw new nr("Unknown call signature for bd = java.math.BigDecimal.valueOf: "+e);return new nU(t)}(n))}),u.bigdecimal.BigDecimal.log=fc(function(n){iP(),typeof console!==o$&&console.log&&console.log(n)}),u.bigdecimal.BigDecimal.logObj=fc(function(n){iP(),typeof console!==o$&&console.log&&typeof JSON!==o$&&JSON.stringify&&console.log("object: "+JSON.stringify(n))}),u.bigdecimal.BigDecimal.ONE=fc(function(){return nR((iP(),new nU(uw)))}),u.bigdecimal.BigDecimal.TEN=fc(function(){return nR((iP(),new nU(ud)))}),u.bigdecimal.BigDecimal.ZERO=fc(function(){return nR((iP(),new nU(up)))}),nS(fk,u.bigdecimal.BigDecimal)}())}function tL(n,t,e){var r;return(r=new I).d=n+t,r.c=4,r.b=e,r}function tU(n,t,e,r,i){var o;return tK(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 tI(e)}(n.length,t,r),t3(n,t,r)}function tQ(n,t){return il(),t=n.c.c)throw new J;return t=n.c,r=e=n.b++,i=t.c,(r<0||r>=i)&&tS(r,i),t.b[e]}function tF(n,t){return!!nz(t,1)&&String(n)==t}function tH(){nr.call(this,"Add not supported on this collection")}function t$(){this.b=[],this.f={},this.d=!1,this.c=null,this.e=0}function tV(n,t){rW(),this.f=n,this.e=1,this.b=tK(fp,{6:1},-1,[t])}function tq(n,t){var e;return e=n.c,n.c=t,!n.d&&(n.d=!0,++n.e),e}function tG(n,t){var e,r;return e=n.b,r=String.fromCharCode.apply(null,t),e.b+=r,n}function tz(n,t,e,r){var i,o;return null==t&&(t=ok),i=n.b,o=t.substr(e,r-e),i.b+=o,n}function tJ(n,t,e,r){var i;return rC(i=tU(fp,{6:1},-1,t,1),n,t,e,r),i}function tK(n,t,e,r){return tD(),function(n,t,e){tD();for(var r=0,i=t.length;r0&&0==n.b[--n.e];);0==n.b[n.e++]&&(n.f=0)}function tX(n){return rN(n,oJ)&&nv(n,oY)?us[nB(n)]:new eu(n,0)}function tY(n,t){return 0==t||0==n.f?n:t>0?e3(n,t):rY(n,-t)}function t1(n,t){return 0==t||0==n.f?n:t>0?rY(n,t):e3(n,-t)}function t0(n){var t;return 0==n.f?-1:((t=ew(n))<<5)+es(n.b[t])}function t2(n){var t;return 0!=(t=nB(n))?es(t):es(nB(rK(n,32)))+32}function t4(n,t){var e;return 0==(e=eO(n,t)).length?(new _).o(t):tg(e,1)}function t3(n,t,e){return n=n.slice(t,e),String.fromCharCode.apply(null,n)}function t6(n,t,e,r){var i;return ib(i=tU(fp,{6:1},-1,t+1,1),n,t,e,r),i}function t5(n){var t,e;return t=tU(fK,{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,(_=(g=b.e)+(w=l.e),v=b.f!=l.f?-1:1,2==_)?(S=nB(y=iR(th(e6(b.b[0]),o6),th(e6(l.b[0]),o6))),0==(C=nB(rP(y,32)))?new tV(v,S):new to(v,2,tK(fp,{6:1},-1,[S,C]))):(eG(b.b,g,l.b,w,d=tU(fp,{6:1},-1,_,1)),tZ(m=new to(v,_,d)),m)):(f=(-2&t.e)<<4,h=t.fb(f),a=e.fb(f),i=ih(t,h.eb(f)),o=ih(e,a.eb(f)),s=n(h,a),r=n(i,o),u=(u=iS(iS(u=n(ih(h,i),ih(o,a)),s),r)).eb(f),iS(iS(s=s.eb(f<<1),u),r))}(n,t))}function ee(n,t){var e;if(t.f<=0)throw new ni(or);return(e=rH(n,t)).f<0?iS(e,t):e}function er(n){var t;t=new nJ,n.d&&n5(t,new ne(n)),function(n,t){var e=n.f;for(var r in e)if(58==r.charCodeAt(0)){var i=new nA(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=eP(n.g)),n.d).r()}function ep(n){return n.b<54?new ti(-n.g,n.f):new tx((n.d||(n.d=eP(n.g)),n.d).cb(),n.f)}function e_(n,t){if(!isFinite(n)||isNaN(n))throw new nd(oh);iQ(this,n.toPrecision(20)),is(this,t)}function ev(n,t){return isNaN(n)?isNaN(t)?0:1:isNaN(t)?-1:nt?1:0}function em(n,t){return t<2||t>36||n<0||n>=t?0:n<10?48+n&65535:97+n-10&65535}function ey(n,t){var e,r;return t?((e=t[oC])||(e=new(r=t.gC(),t7(ei(n.b,r)))(t),t[oC]=e),e):null}function eC(n){var t,e;return 32==(e=r$(n.h))?32==(t=r$(n.m))?r$(n.l)+32:t+20-10:e-12}function eS(n){return ty(4194303&n,~~n>>22&4194303,n<0?1048575:0)}function eM(){eM=g,uo=ty(4194303,4194303,524287),uu=ty(0,0,524288),uf=e6(1),e6(2),uc=e6(0)}function ex(n,t){ib(n.b,n.b,n.e,t.b,t.e),n.e=np(n_(n.e,t.e)+1,n.b.length),tZ(n),n.c=-2}function eB(n,t){var e;e=~~t>>5,n.e+=e+(r$(n.b[n.e-1])-(31&t)>=0?0:1),rS(n.b,n.b,e,31&t),tZ(n),n.c=-2}function eA(n,t){var e,r;e=~~t>>5,n.e>>r:0,tZ(n))}function eN(n){var t;return t=n.e>1?ta(rU(e6(n.b[1]),32),th(e6(n.b[0]),o6)):th(e6(n.b[0]),o6),iR(e6(n.f),t)}function eI(n,t,e){var r;for(r=e-1;r>=0&&n[r]==t[r];--r);return r<0?0:nv(th(e6(n[r]),o6),th(e6(t[r]),o6))?-1:1}function eE(n,t,e){var r,i,o;for(i=0,r=0;i>>31;0!=r&&(n[e]=r)}function eR(n,t,e,r){if(iH=t,n)try{fc(iy)()}catch(e){n(t)}else fc(iy)()}function eO(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 eu(oJ,2147483647):new eu(oJ,-2147483648)}function eP(n){return(rW(),n<0)?-1!=n?new ru(-1,-n):uS:n<=10?ux[eo(n)]:new ru(1,n)}function eQ(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,ty(t,e,r)}function eT(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 ej(n){var t,e,r;for(r=0,e=tU(fS,{6:1},13,n.length,0),t=n.length;r=0;--r)if(n[r]!=i[r]){e=0!=n[r]&&rA(th(e6(n[r]),o6),th(e6(i[r]),o6));break}}return u=new to(1,o+1,n),e&&tR(u,t),tZ(u),u}(o,e)}function eV(n,t){var e;return n===t||!!nz(t,17)&&(e=tT(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 eq(n){var t,e;return 0==n.f?0:(t=n.e<<5,e=n.b[n.e-1],n.f<0&&ew(n)==n.e-1&&(e=~~(e-1)),t-=r$(e))}function eG(n,t,e,r,i){il(),0!=t&&0!=r&&(1==t?i[r]=rc(i,e,r,n[0]):1==r?i[t]=rc(i,n,t,e[0]):function(n,t,e,r,i){var o,u,f,c;if(nj(n)===nj(t)&&r==i){iu(n,r,e);return}for(f=0;f2147483647))return eo(n);throw new ni("Underflow")}function eW(n,t){if(rF(),n<0)throw new nu("Digits < 0");if(!t)throw new nc("null RoundingMode");this.b=n,this.c=t}function eZ(n){return(rW(),nv(n,oJ))?tm(n,oz)?new ro(-1,eQ(n)):uS:rA(n,oX)?new ro(1,n):ux[nB(n)]}function eX(n){var t;return nv(n,oJ)&&(n=ty(4194303&~n.l,4194303&~n.m,1048575&~n.h)),64-(0!=(t=nB(rK(n,32)))?r$(t):r$(nB(n))+32)}function eY(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),ty(4194303&e,4194303&r,1048575&i)}function e1(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),ty(4194303&e,4194303&r,1048575&i)}function e0(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-n_(e,n.bb())}function e2(n,t){var e;return n===t||!!nz(t,16)&&(e=tT(t,16)).f==n.f&&(n.b<54?e.g==n.g:n.d.eQ(e.d))}function e4(n,t,e){var r,i,o;for(o=oJ,r=t-1;r>=0;--r)i=r2(eY(rU(o,32),th(e6(n[r]),o6)),e),o=e6(nB(rK(i,32)));return nB(o)}function e3(n,t){var e,r,i,o;return e=~~t>>5,t&=31,rS(r=tU(fp,{6:1},-1,i=n.e+e+(0==t?0:1),1),n.b,e,t),tZ(o=new to(n.f,i,r)),o}function e6(n){var t,e;return n>-129&&n<128?(t=n+128,null==un&&(un=tU(fR,{6:1},2,256,0)),(e=un[t])||(e=un[t]=eS(n)),e):eS(n)}function e5(n){var t,e,r;return(rW(),n>5,t=31&n,(r=tU(fp,{6:1},-1,e+1,1))[e]=1<iq&&n[n.length-1]>iq?n:n.replace(/^(\s*)/,iV).replace(/\s*$/,iV)}function e8(n){return n-=~~n>>1&1431655765,n=(~~(n=(~~n>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=~~n>>8,63&(n+=~~n>>16)}function rn(n,t,e){if(null!=e){var r;if(n.qI>0&&(r=n.qI,!e.cM||!e.cM[r])||n.qI<0&&(e.tM==g||n$(e,1)))throw new V}return n[t]=e}function rt(n,t){return n.f>t.f?1:n.ft.e?n.f:n.e=0;--o)u=e$(u,u,r,i),(e.b[~~o>>5]&1<<(31&o))!=0&&(u=e$(u,t,r,i));return u}(f,r,t,e,o):function(n,t,e,r,i){var o,u,f,c,s,h,a;for(s=tU(f9,{6:1},17,8,0),h=n,rn(s,0,t),a=e$(t,t,r,i),u=1;u<=7;++u)rn(s,u,e$(s[u-1],a,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],h,r,i),u=o}else h=e$(h,h,r,i);return h}(f,r,t,e,o),e$(u,(rW(),uM),e,o)}function rh(n,t){var e,r,i,o;for(e=0,r=n.length;e36)throw new nd("Radix out of range");if(0==n.length)throw new nd("Zero length BigInteger");(function(n,t,e){var r,i,o,u,f,c,s,h,a,b,l,g,w,d;for(s=l=t.length,45==t.charCodeAt(0)?(a=-1,b=1,--l):(a=1,b=0),o=~~(l/(u=(ix(),uP)[e])),0!=(d=l%u)&&++o,c=tU(fp,{6:1},-1,o,1),r=uU[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:nv(th(e6(n[i]),o6),th(e6(t[i]),o6))?-1:1}function rg(n,t){var e,r,i;for(r=tU(fp,{6:1},-1,i=n.e,1),np(ew(n),ew(t)),e=0;e999999999)throw new ni(oa);return e=n.f*t,0==n.b&&-1!=n.g?eU(e):new tM((n.d||(n.d=eP(n.g)),n.d).db(t),eK(e))}function rp(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)fu[n]=e,e*=.5;for(n=24,t=1;n>=0;--n)fo[n]=t,t*=.5}function rv(){rv=g,uO=tK(fK,{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(n){var t;return 0!=n.c||(n.b<54?(t=r4(n.g),n.c=nB(th(t,oz)),n.c=33*n.c+nB(th(rK(t,32),oz)),n.c=17*n.c+eo(n.f)):n.c=17*n.d.hC()+eo(n.f)),n.c}function ry(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=ev(n*t,0),0!=u&&(i=ev((u<=0?0-u:u)*2,t<=0?0-t:t),o+=it(1&eo(o),f*(5+i),r)),new ti(o,e)}function rC(n,t,e,r,i){var o,u;for(u=0,o=oJ;ue;--i)n[i]|=~~t[i-e-1]>>>o,n[i-1]=t[i-e-1]<>5,n.e-=r,!rD(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=eo(nP(Math.log(n)/.6931471805599453)),(!t||n!=Math.pow(2,e))&&++e,e):eX(r4(n))}function rR(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)?eZ(rI(eN(e),eN(r))):function(n,t){var e,r,i,o;i=(e=n.bb())<(r=t.bb())?e:r,rB(n,e),rB(t,r),1==rt(n,t)&&(o=n,n=t,t=o);do{if(1==t.e||2==t.e&&t.b[1]>0){t=eZ(rI(eN(n),eN(t)));break}if(t.e>1.2*n.e)0!=(t=rH(t,n)).r()&&rB(t,t.bb());else do tR(t,n),rB(t,t.bb());while(rt(t,n)>=0)o=t,t=n,n=o}while(0!=o.f)return t.eb(i)}(eb(e),eb(r))}function rO(n,t){var e;if(t.f<=0)throw new ni(or);if(!(n.gb(0)||t.gb(0)))throw new ni(oe);if(1==t.e&&1==t.b[0])return uA;if(0==(e=function(n,t){var e,r,i,o,u,f,c,s,h,a,b;if(0==n.f)throw new ni(oe);if(!t.gb(0))return function(n,t){var e,r,i,o,u,f,c,s,h,a,b;for(h=tU(fp,{6:1},-1,(o=n_(n.e,t.e))+1,1),b=tU(fp,{6:1},-1,o+1,1),iB(t.b,0,h,0,t.e),iB(n.b,0,b,0,n.e),s=new to(t.f,t.e,h),a=new to(n.f,n.e,b),f=new to(0,1,tU(fp,{6:1},-1,o+1,1)),(c=new to(1,1,tU(fp,{6:1},-1,o+1,1))).b[0]=1,e=0,r=0,u=t.ab();!eD(s,e)&&!eD(a,r);)if(0!=(i=e0(s,u))&&(eB(s,i),e>=r?eB(f,i):(rB(c,r-e0&&eB(f,i-r+e)),e+=i),0!=(i=e0(a,u))&&(eB(a,i),r>=e?eB(c,i):(rB(f,e-r0&&eB(c,i-e+r)),r+=i),s.r()==a.r()?e<=r?(rq(s,a),rq(f,c)):(rq(a,s),rq(c,f)):e<=r?(rV(s,a),rV(f,c)):(rV(a,s),rV(c,f)),0==a.r()||0==s.r())throw new ni(oe);return eD(a,r)&&(f=c,a.r()!=s.r()&&(s=s.cb())),s.gb(u)&&(f=0>f.r()?f.cb():ih(t,f)),0>f.r()&&(f=iS(f,t)),f}(n,t);for(o=32*t.e,a=eb(t),c=new to(1,1,tU(fp,{6:1},-1,(u=n_((b=eb(n)).e,a.e))+1,1)),(s=new to(1,1,tU(fp,{6:1},-1,u+1,1))).b[0]=1,e=0,(r=a.bb())>(i=b.bb())?(rB(a,r),rB(b,i),eB(c,i),e+=r-i):(rB(a,r),rB(b,i),eB(s,r),e+=i-r),c.f=1;b.r()>0;){for(;rt(a,b)>0;)tR(a,b),h=a.bb(),rB(a,h),ex(c,s),eB(s,h),e+=h;for(;0>=rt(a,b)&&(tR(b,a),0!=b.r());)h=b.bb(),rB(b,h),ex(s,c),eB(c,h),e+=h}if(!(1==a.e&&1==a.b[0]))throw new ni(oe);return rt(c,t)>=0&&tR(c,t),c=ih(t,c),f=rf(t),e>o&&(c=e$(c,(rW(),uM),t,f),e-=o),c=e$(c,e5(o-e),t,f)}(ee(n._(),t),t)).f)throw new ni(oe);return n.f<0?ih(t,e):e}function rD(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 rk(n,t){var e;return(e=n.f+t.f,0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)?eU(e):n.b+t.b<54?new ti(n.g*t.g,eK(e)):new tM(et((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),eK(e))}function rL(n,t){var e;if(t<0)throw new ni("Negative exponent");if(0==t)return uM;if(1==t||n.eQ(uM)||n.eQ(uA))return n;if(!n.gb(0)){for(e=1;!n.gb(e);)++e;return et(e5(e*t),n.fb(e).db(t))}return function(n,t){var e,r;for(il(),rW(),r=uM,e=n;t>1;t>>=1)(1&t)!=0&&(r=et(r,e)),e=1==e.e?et(e,e):new e9(iu(e.b,e.e,tU(fp,{6:1},-1,e.e<<1,1)));return et(r,e)}(n,t)}function rU(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),ty(4194303&r,4194303&i,1048575&o)}function rQ(n){switch(iA(),n){case 2:return uX;case 1:return uY;case 3:return u1;case 5:return u0;case 6:return u2;case 4:return u4;case 7:return u3;case 0:return u6;default:throw new nu("Invalid rounding mode")}}function rT(n,t){var e,r,i;if(0==t)return(1&n.b[0])!=0;if(t<0)throw new ni(ol);if((i=~~t>>5)>=n.e)return n.f<0;if(e=n.b[i],t=1<<(31&t),n.f<0){if(i<(r=ew(n)))return!1;e=r==i?-e:~e}return(e&t)!=0}function rj(n){var t,e;return n.e>0||(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!=ia((n.d||(n.d=eP(n.g)),n.d),im(t)).r()&&++t),n.e=eo(t)),n.e}function rF(){rF=g,uQ=new eW(34,(iA(),u2)),uT=new eW(7,u2),uj=new eW(16,u2),uF=new eW(0,u4),uH=tK(fK,{6:1},-1,[112,114,101,99,105,115,105,111,110,61]),u$=tK(fK,{6:1},-1,[114,111,117,110,100,105,110,103,77,111,100,101,61])}function rH(n,t){var e,r,i,o;if(0==t.f)throw new ni(ot);return((o=n.e)!=(e=t.e)?o>e?1:-1:eI(n.b,t.b,o))==-1?n:(r=tU(fp,{6:1},-1,e,1),1==e?r[0]=e4(n.b,o,t.b[0]):r=iL(null,o-e+1,n.b,o,t.b,e),tZ(i=new to(n.f,e,r)),i)}function r$(n){var t,e,r;return n<0?0:0==n?32:(e=16-(t=~~(r=-(~~n>>16))>>16&16)+(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 rV(n,t){if(0==n.f)iB(t.b,0,n.b,0,t.e);else{if(0==t.f)return;n.f==t.f?ib(n.b,n.b,n.e,t.b,t.e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f)}n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rq(n,t){var e;e=rt(n,t),0==n.f?(iB(t.b,0,n.b,0,t.e),n.f=-t.f):n.f!=t.f?(ib(n.b,n.b,n.e,t.b,t.e),n.f=e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f),n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rG(n,t,e){var r,i,o,u,f,c,s,h,a,b;if(e.f<=0)throw new ni(or);return(r=n,(1==e.e&&1==e.b[0])|t.f>0&0==r.f)?uA:0==r.f&&0==t.f?uM:(t.f<0&&(r=rO(n,e),t=t.cb()),i=e.gb(0)?rs(r._(),t,e):(o=r._(),u=t,f=e.bb(),h=rs(o,u,c=e.fb(f)),a=function(n,t,e){var r,i,o,u,f;for(rW(),u=uM,i=eb(t),r=eb(n),n.gb(0)&&eA(i,e-1),eA(r,e),o=i.ab()-1;o>=0;--o)eA(f=eb(u),e),u=et(u,f),(i.b[~~o>>5]&1<<(31&o))!=0&&eA(u=et(u,r),e);return eA(u,e),u}(o,u,f),s=function(n,t){var e,r,i,o;for(e=1,(r=new e9(tU(fp,{6:1},-1,1<>5]&1<<(31&o))!=0&&(r.b[~~e>>5]|=1<<(31&e));return r}(c,f),eA(b=et(ih(a,h),s),f),b.f<0&&(b=iS(b,e5(f))),iS(h,et(c,b))),r.f<0&&t.gb(0)&&(i=ee(et(ih(e,uM),i),e)),i)}function rz(n,t){var e,r,i,o,u,f,c;if(i=ew(n),(r=ew(t))>=n.e)return rW(),uA;for(u=tU(fp,{6:1},-1,f=n.e,1),(e=i>r?i:r)==r&&(u[e]=-t.b[e]&n.b[e],++e),o=np(t.e,n.e);e=t.e)for(;e0?t:0):t>=0?n.b<54?new ti(n.g,eK(t)):new tM((n.d||(n.d=eP(n.g)),n.d),eK(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),ty(4194303&i,4194303&o,1048575&u)}function rW(){var n;for(n=0,rW=g,uM=new tV(1,1),uB=new tV(1,10),uA=new tV(0,0),uS=new tV(-1,1),ux=tK(f9,{6:1},17,[uA,uM,new tV(1,2),new tV(1,3),new tV(1,4),new tV(1,5),new tV(1,6),new tV(1,7),new tV(1,8),new tV(1,9),uB]),uN=tU(f9,{6:1},17,32,0);n=t.e)return t;if(r>=n.e)return n;if(o=tU(fp,{6:1},-1,u=np(n.e,t.e),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?(rW(),uS):(rW(),uA);if(rD(i=tU(fp,{6:1},-1,(o=n.e-r)+1,1),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?rM(n,t,e):rM(t,n,-e):n_(n.b,t.b)+1<54?new ti(n.g+t.g,n.f):new tx(iS((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f)}function r2(n,t){var e,r,i,o,u;return(r=th(e6(t),o6),rN(n,oJ))?(o=iI(n,r,!1),u=n6(n,r)):(o=iI(e=rP(n,1),i=e6(~~t>>>1),!1),u=eY(rU(u=n6(e,i),1),th(n,oK)),(1&t)!=0&&(rA(o,u)?rA(e1(o,u),r)?(u=eY(u,e1(rU(r,1),o)),o=e1(o,oW)):(u=eY(u,e1(r,o)),o=e1(o,oK)):u=e1(u,o))),ta(rU(u,32),th(o,o6))}function r4(n){var t,e,r,i;return isNaN(n)?(eM(),uc):n<-0x8000000000000000?(eM(),uu):n>=0x7fffffffffffffff?(eM(),uo):(r=!1,n<0&&(r=!0,n=-n),e=0,n>=17592186044416&&(e=eo(n/17592186044416),n-=17592186044416*e),t=0,n>=4194304&&(t=eo(n/4194304),n-=4194304*t),i=ty(eo(n),t,e),r&&eT(i),i)}function r3(n){var t,e,r,i;if(0==n.l&&0==n.m&&0==n.h)return iW;if(524288==n.h&&0==n.m&&0==n.l)return"-9223372036854775808";if(~~n.h>>19!=0)return iJ+r3(eQ(n));for(e=n,r=iV;!(0==e.l&&0==e.m&&0==e.h);){if(e=iI(e,e6(1e9),!0),t=iV+nB(o8),!(0==e.l&&0==e.m&&0==e.h))for(i=9-t.length;i>0;--i)t=iW+t;r=t+r}return r}function r6(n,t){var e,r,i,o,u,f,c,s,h,a,b,l,g,w,d,_,v,m,y,C,S,M,x,B,A;if(0==(i=t.f))throw new ni(ot);return(r=t.e,e=t.b,1==r)?(g=e[0],(x=n.b,B=n.e,A=n.f,1==B)?(_=iI(w=th(e6(x[0]),o6),d=th(e6(g),o6),!1),y=n6(w,d),A!=i&&(_=eQ(_)),A<0&&(y=eQ(y)),tK(f9,{6:1},17,[eZ(_),eZ(y)])):(m=A==i?1:-1,v=tU(fp,{6:1},-1,B,1),C=tK(fp,{6:1},-1,[ii(v,x,B,g)]),S=new to(m,B,v),M=new to(A,1,C),tZ(S),tZ(M),tK(f9,{6:1},17,[S,M]))):(a=n.b,((b=n.e)!=r?b>r?1:-1:eI(a,e,b))<0)?tK(f9,{6:1},17,[uA,n]):(l=n.f,u=b-r+1,f=l==i?1:-1,c=iL(o=tU(fp,{6:1},-1,u,1),u,a,b,e,r),s=new to(f,u,o),h=new to(l,r,c),tZ(s),tZ(h),tK(f9,{6:1},17,[s,h]))}function r5(n){var t;if(0==n.f||0==n.b&&-1!=n.g)return n.d||(n.d=eP(n.g)),n.d;if(n.f<0)return et((n.d||(n.d=eP(n.g)),n.d),im(-n.f));if(n.f>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)||n.f>(n.d||(n.d=eP(n.g)),n.d).bb()||0!=(t=r6((n.d||(n.d=eP(n.g)),n.d),im(n.f)))[1].r())throw new ni(og);return t[0]}function r9(n,t,e,r,i){var o,u;if(o=oJ,e36)throw new nd("radix "+t+" out of range");for(e=i=(r=n.length)>0&&45==n.charCodeAt(0)?1:0;e2147483647)throw new nd(os+n+iG);return o}function r8(n){var t,e;if(0==n.f)return rW(),uS;if(eV(n,(rW(),uS)))return uA;if(e=tU(fp,{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 ie(n,t){var e,r,i,o,u,f,c,s,h;if(s=0==n.f?1:n.f,u=~~t>>5,e=31&t,f=tU(fp,{6:1},-1,c=n_(u+1,n.e)+1,1),r=1<=n.e)f[u]=r;else if(u>(i=ew(n)))f[u]^=r;else if(u=0||0==s.f||1==s.e&&1==s.b[0])if(!(1==(h=rG(s,f,n)).e&&1==h.b[0]||h.eQ(u))){for(i=1;i=0;--f)rN(h=ta(rU(s,32),th(e6(t[f]),o6)),oJ)?(c=iI(h,o,!1),s=n6(h,o)):(c=iI(i=rP(h,1),u=e6(~~r>>>1),!1),s=eY(rU(s=n6(i,u),1),th(h,oK)),(1&r)!=0&&(rA(c,s)?rA(e1(c,s),o)?(s=eY(s,e1(rU(o,1),c)),c=e1(c,oW)):(s=eY(s,e1(o,c)),c=e1(c,oK)):s=e1(s,c))),n[f]=nB(th(c,o6));return nB(s)}function io(n,t){var e,r,i,o,u,f,c;if(u=tU(fp,{6:1},-1,f=n_(n.e,t.e),1),i=ew(n),e=r=ew(t),i==r)u[r]=-n.b[r]^-t.b[r];else{for(u[r]=-t.b[r],o=np(t.e,i),++e;et.g?1:0:(r=n.f-t.f,(e=(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1))>r+1)?i:e0&&(u=et(u,im(r))),rt(o,u))}function is(n,t){var e,r,i,o,u,f,c,s,h,a,b,l,g;if(o=t.b,!((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-o<0||0==o||(r=n.q()-o)<=0)){if(n.b<54){l=r4(ul[c=r]),b=e1(r4(n.f),e6(c)),a=iI(g=r4(n.g),l,!1),tm(h=n6(g,l),oJ)&&(s=tv(e1(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?0:nv(e1(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?-1:1,a=eY(a,e6(it(1&nB(a),(tv(h,oJ)?0:nv(h,oJ)?-1:1)*(5+s),t.c))),tn(ri(nv(a,oJ)?eQ(a):a))>=t.b&&(a=nQ(a,oX),b=e1(b,oK))),n.f=eK(ri(b)),n.e=t.b,n.g=ri(a),n.b=eX(a),n.d=null;return}f=im(r),i=r6((n.d||(n.d=eP(n.g)),n.d),f),u=n.f-r,0!=i[1].r()&&(e=rt(eH(i[1]._()),f),0!=(e=it(i[0].gb(0)?1:0,i[1].r()*(5+e),t.c))&&rn(i,0,iS(i[0],eZ(e6(e)))),new nL(i[0]).q()>o&&(rn(i,0,ia(i[0],(rW(),uB))),--u)),n.f=eK(u),n.e=o,tO(n,i[0])}}function ih(n,t){var e,r,i,o,u,f,c,s,h,a;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=th(e6(n.b[0]),o6),r=th(e6(t.b[0]),o6),u<0&&(e=eQ(e)),c<0&&(r=eQ(r)),eZ(e1(e,r));if(-1==(i=o!=f?o>f?1:-1:eI(n.b,t.b,o)))a=-c,h=u==c?tJ(t.b,f,n.b,o):t6(t.b,f,n.b,o);else if(a=u,u==c){if(0==i)return rW(),uA;h=tJ(n.b,o,t.b,f)}else h=t6(n.b,o,t.b,f);return tZ(s=new to(a,h.length,h)),s}function ia(n,t){var e,r,i,o,u,f,c,s,h,a;if(0==t.f)throw new ni(ot);return(i=t.f,1==t.e&&1==t.b[0])?t.f>0?n:n.cb():(h=n.f,(s=n.e)+(r=t.e)==2)?(a=nQ(th(e6(n.b[0]),o6),th(e6(t.b[0]),o6)),h!=i&&(a=eQ(a)),eZ(a)):0==(e=s!=r?s>r?1:-1:eI(n.b,t.b,s))?h==i?uM:uS:-1==e?uA:(o=tU(fp,{6:1},-1,u=s-r+1,1),f=h==i?1:-1,1==r?ii(o,n.b,s,t.b[0]):iL(o,u,n.b,s,t.b,r),tZ(c=new to(f,u,o)),c)}function ib(n,t,e,r,i){var o,u;if(o=eY(th(e6(t[0]),o6),th(e6(r[0]),o6)),n[0]=nB(o),o=rK(o,32),e>=i){for(u=1;u0){if(i0?u=tQ(u,eo(i)):i<0&&(o=tQ(o,eo(-i))),id(o,u,e,r)}function iw(n,t){var e,r,i,o,u,f,c;if(r=ew(t),(i=ew(n))>=t.e)return t;if(u=tU(fp,{6:1},-1,f=t.e,1),rt.ab()?(c=eN(s),o=eN(t),i=tv(e1(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?0:nv(e1(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?-1:1):i=rt(eH(s._()),t._()),0!=(i=it(f.gb(0)?1:0,h*(5+i),r))){if(54>f.ab())return eL(eY(eN(f),e6(i)),e);f=iS(f,eZ(e6(i)))}return new tM(f,e)}function ip(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,h,a,b,l,g,w,d,_,v,m;if(ix(),(u=nv(n,oJ))&&(n=eQ(n)),tv(n,oJ))switch(t){case 0:return iW;case 1:return iX;case 2:return iY;case 3:return i1;case 4:return i0;case 5:return i2;case 6:return i4;default:return s=new W,t<0?s.b.b+=i6:s.b.b+=i3,b=s.b,l=-2147483648==t?"2147483648":iV+-t,b.b+=l,s.b.b}c=tU(fK,{6:1},-1,19,1),e=18,a=n;do f=a,a=nQ(a,oX),c[--e]=65535&nB(eY(o0,e1(f,iR(a,oX))));while(tm(a,oJ))if(r=e1(e1(e1(o1,e6(e)),e6(t)),oK),0==t)return u&&(c[--e]=45),tP(c,e,18-e);if(t>0&&rN(r,oG)){if(rN(r,oJ)){for(o=17,i=e+nB(r);o>=i;--o)c[o+1]=c[o];return c[++i]=46,u&&(c[--e]=45),tP(c,e,18-e+1)}for(o=2;nv(e6(o),eY(eQ(r),oK));++o)c[--e]=48;return c[--e]=46,c[--e]=48,u&&(c[--e]=45),tP(c,e,18-e)}return(h=e+1,s=new Z,u&&(s.b.b+=iJ),18-h>=1)?(tE(s,c[e]),s.b.b+=iK,g=s.b,w=tP(c,e+1,18-e-1),g.b+=w):(d=s.b,_=tP(c,e,18-e),d.b+=_),s.b.b+=oc,rA(r,oJ)&&(s.b.b+=iz),v=s.b,m=iV+r3(r),v.b+=m,s.b.b}(r4(n.g),eo(n.f)),n.i):(i=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)?i:(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,e=i.length,r=-n.f+e-t,u=(o=new W).b,u.b+=i,n.f>0&&r>=-6?r>=0?n7(o,e-eo(n.f),iK):(te(o.b,t-1,t-1,iZ),n7(o,t+1,tP(uh,0,-eo(r)-1))):(e-t>=1&&(te(o.b,t,t,iK),++e),te(o.b,e,e,oc),r>0&&n7(o,++e,iz),n7(o,++e,iV+r3(r4(r)))),n.i=o.b.b,n.i)}function i_(n,t){var e,r,i,o,u,f;if(i=ew(n),o=ew(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]==iV;)--s;s1e6)throw new ni("power of ten too big");if(n<=2147483647)return uV[1].db(t).eb(t);for(i=r=uV[1].db(2147483647),e=r4(n-2147483647),t=eo(n%2147483647);rA(e,o3);)i=et(i,r),e=e1(e,o3);for(i=(i=et(i,uV[1].db(t))).eb(2147483647),e=r4(n-2147483647);rA(e,o3);)i=i.eb(2147483647),e=e1(e,o3);return i.eb(t)}function iy(){var n,t;c&&rx("com.iriscouch.gwtapp.client.BigDecimalApp"),nZ(new K),nY(new j),nX(new F),tk(new H),c&&rx("com.google.gwt.user.client.UserAgentAsserter"),tF(oF,n=-1!=(t=r.userAgent.toLowerCase()).indexOf(oT)?oT:-1!=t.indexOf("webkit")||function(){if(-1!=t.indexOf("chromeframe"))return!0;if(typeof e.ActiveXObject!=o$)try{var n=new ActiveXObject("ChromeTab.ChromeFrame");if(n)return n.registerBhoIfNeeded(),!0}catch(n){}return!1}()?oF:-1!=t.indexOf(oD)&&f.documentMode>=9?"ie9":-1!=t.indexOf(oD)&&f.documentMode>=8?"ie8":!function(){var n=/msie ([0-9]+)\.([0-9]+)/.exec(t);if(n&&3==n.length)return 1e3*parseInt(n[1])+parseInt(n[2])>=6e3}()?-1!=t.indexOf("gecko")?"gecko1_8":"unknown":"ie6")||u.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"),c&&rx("com.google.gwt.user.client.DocumentModeAsserter"),function(){var n,t,e;for(e=0,t=f.compatMode,n=tK(fI,{6:1},1,[oo]);e>5,this.b=tU(fp,{6:1},-1,this.e,1);u=2147483648&&(r-=4294967296),r));this.b[this.e-1]>>>=31&-n,tZ(this)}}function iS(n,t){var e,r,i,o,u,f,c,s,h,a,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=th(e6(n.b[0]),o6),r=th(e6(t.b[0]),o6),u==c)?(l=nB(s=eY(e,r)),0==(b=nB(rP(s,32)))?new tV(u,l):new to(u,2,tK(fp,{6:1},-1,[l,b]))):eZ(u<0?e1(r,e):e1(e,r));if(u==c)a=u,h=o>=f?t6(n.b,o,t.b,f):t6(t.b,f,n.b,o);else{if(0==(i=o!=f?o>f?1:-1:eI(n.b,t.b,o)))return rW(),uA;1==i?(a=u,h=tJ(n.b,o,t.b,f)):(a=c,h=tJ(t.b,f,n.b,o))}return tZ(s=new to(a,h.length,h)),s}function iM(n){var t,e,r,i;if(rF(),null==n)throw new nc("null string");if((t=t5(n)).length<27||t.length>45)throw new nu(ox);for(r=0;rfe.length)throw new q;if(o=null,i=null,67==r[0]?(i=uX,o=u5):68==r[0]?(i=uY,o=u9):70==r[0]?(i=u1,o=u7):72==r[0]?e>6&&(68==r[5]?(i=u0,o=u8):69==r[5]?(i=u2,o=fn):85==r[5]&&(i=u4,o=ft)):85==r[0]&&(80==r[1]?(i=u6,o=fr):78==r[1]&&(i=u3,o=fe)),i&&e==o.length){for(t=1;tl||r+i>s)throw new G;if(((1&a.c)==0||(4&a.c)!=0)&&b!=c){if(h=tT(n,11),o=tT(e,11),nj(n)===nj(e)&&tr;)rn(o,f,h[--t]);else for(f=r+i;rh.r()&&(s=s.cb()),c=eK(e+(o>u?o:u)),new tM(s=(i=o-u)>0?(il(),i>19!=0&&(t=eQ(t),c=!0),u=((b=(h=t).l)&b-1)!=0||((l=h.m)&l-1)!=0||((a=h.h)&a-1)!=0||0==a&&0==l&&0==b?-1:0==a&&0==l&&0!=b?es(b):0==a&&0!=l&&0==b?es(l)+22:0!=a&&0==l&&0==b?es(a)+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=rK(n,u),c&&eT(f),e&&(o8=ty(0,0,0)),f;n=nT((eM(),uo)),r=!0,c=!c}else~~n.h>>19!=0&&(o=!0,n=eQ(n),r=!0,c=!c);return -1!=u?(g=n,w=c,d=o,_=rK(g,u),w&&eT(_),e&&(v=g,u<=22?(m=v.l&(1<=0&&((g=n.h-u.h)<0||(b=n.l-u.l,(g+=~~(l=n.m-u.m+(~~b>>22))>>22)<0||(n.l=4194303&b,n.m=4194303&l,n.h=1048575&g,0))||(c<22?f.l|=1<>>1,u.m=~~h>>>1|(1&a)<<21,u.l=~~s>>>1|(1&h)<<21,--c;return e&&eT(f),o&&(r?(o8=eQ(n),i&&(o8=e1(o8,(eM(),uf)))):o8=ty(n.l,n.m,n.h)),f}(r?n:ty(n.l,n.m,n.h),t,c,o,i,e):(e&&(o8=o?eQ(n):ty(n.l,n.m,n.h)),ty(0,0,0))}function iE(n){var t=[];for(var e in n){var r=typeof n[e];r!=oQ?t[t.length]=r:n[e]instanceof Array?t[t.length]=oM:u&&u.bigdecimal&&u.bigdecimal.BigInteger&&n[e]instanceof u.bigdecimal.BigInteger?t[t.length]=on:u&&u.bigdecimal&&u.bigdecimal.BigDecimal&&n[e]instanceof u.bigdecimal.BigDecimal?t[t.length]=i9:u&&u.bigdecimal&&u.bigdecimal.RoundingMode&&n[e]instanceof u.bigdecimal.RoundingMode?t[t.length]=ow:u&&u.bigdecimal&&u.bigdecimal.MathContext&&n[e]instanceof u.bigdecimal.MathContext?t[t.length]=ob:t[t.length]=oQ}return t.join(iq)}function iR(n,t){var e,r,i,o,u,f,c,s,h,a,b,l,g,w,d,_,v,m;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,h=~~t.m>>17|(255&t.h)<<5,a=~~(1048320&t.h)>>8,w=e*f,d=r*f,_=i*f,v=o*f,m=u*f,0!=c&&(d+=e*c,_+=r*c,v+=i*c,m+=o*c),0!=s&&(_+=e*s,v+=r*s,m+=i*s),0!=h&&(v+=e*h,m+=r*h),0!=a&&(m+=e*a),b=(4194303&w)+((511&d)<<13),l=(~~w>>22)+(~~d>>9)+((262143&_)<<4)+((31&v)<<17),g=(~~_>>18)+(~~v>>5)+((4095&m)<<8),l+=~~b>>22,b&=4194303,g+=~~l>>22,ty(b,l&=4194303,g&=1048575)}function iO(n,t,e){var r,i,o,u,f,c,s,h;if(h=ri(eY(e6(e.b),oW))+(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1)-(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1),c=i=n.f-t.f,o=1,f=um.length-1,s=tK(f9,{6:1},17,[(n.d||(n.d=eP(n.g)),n.d)]),0==e.b||0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)return iN(n,t);if(h>0&&(rn(s,0,et((n.d||(n.d=eP(n.g)),n.d),im(h))),c+=h),u=(s=r6(s[0],(t.d||(t.d=eP(t.g)),t.d)))[0],0!=s[1].r())r=rt(eH(s[1]),(t.d||(t.d=eP(t.g)),t.d)),u=iS(et(u,(rW(),uB)),eZ(e6(s[0].r()*(5+r)))),++c;else for(;!u.gb(0);)if(0==(s=r6(u,um[o]))[1].r()&&c-o>=i)c-=o,o=0)return n;return 0==e?n_(n.b,t.b)+1<54?new ti(n.g-t.g,n.f):new tx(ih((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f):e>0?e0?t.e:nP((t.b-1)*.3010299956639812)+1)+o>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)+1||0==n.b&&-1!=n.g)rW(),r=uA;else if(0==o)r=ia((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d));else if(o>0)u=im(o),r=ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),u)),r=et(r,u);else{for(u=im(-o),r=ia(et((n.d||(n.d=eP(n.g)),n.d),u),(t.d||(t.d=eP(t.g)),t.d));!r.gb(0);)if(0==(f=r6(r,um[e]))[1].r()&&c-e>=o)c-=e,e=0;){if(w[a]==c)s=-1;else if(s=nB(m=r2(eY(rU(th(e6(w[a]),o6),32),th(e6(w[a-1]),o6)),c)),v=nB(rK(m,32)),0!=s){_=!1,++s;do{if(--s,_)break;l=iR(th(e6(s),o6),th(e6(d[o-2]),o6)),y=eY(rU(e6(v),32),th(e6(w[a-2]),o6)),32>r$(nB(rP(g=eY(th(e6(v),o6),th(e6(c),o6)),32)))?_=!0:v=nB(g)}while(rA(tb(l,oV),tb(y,oV)))}if(0!=s&&0!=function(n,t,e,r,i){var o,u,f;for(f=0,o=oJ,u=oJ;f0)rn(b,0,ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),im(o)))),a=o<(h-l+1>0?h-l+1:0)?o:h-l+1>0?h-l+1:0,rn(b,0,et(b[0],im(a)));else if(u=-o<(h-i>0?h-i:0)?-o:h-i>0?h-i:0,b=r6(et((n.d||(n.d=eP(n.g)),n.d),im(u)),(t.d||(t.d=eP(t.g)),t.d)),a+=u,u=-a,0!=b[1].r()&&u>0&&(0==(r=new nL(b[1]).q()+u-t.q())&&(rn(b,1,ia(et(b[1],im(u)),(t.d||(t.d=eP(t.g)),t.d))),r=(d=b[1].r())<0?-d:d),r>0))throw new ni(of);if(0==b[0].r())return eU(o);for(w=b[0],g=(c=new nL(b[0])).q(),f=1;!w.gb(0);)if(0==(b=r6(w,um[f]))[1].r()&&(g-f>=h||a-f>=o))g-=f,a-=f,fh)throw new ni(of);return c.f=eK(a),tO(c,w),c}function ij(){var n;for(n=0,ij=g,uJ=tK(fp,{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]),uK=tU(f9,{6:1},17,(uW=tK(fp,{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])).length,0);n=0;--c)w=function(n){var t,e,r;return rN(n,oJ)?(e=nQ(n,o4),r=n6(n,o4)):(e=nQ(t=rP(n,1),o2),r=eY(rU(r=n6(t,o2),1),th(n,oK))),ta(rU(r,32),th(e,o6))}(eY(rU(y,32),th(e6(M[c]),o6))),M[c]=nB(w),y=e6(nB(rK(w,32)));d=nB(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(h=x-1;0==M[h];--h)if(0==h)break n;x=h+1}for(;48==v[e];)++e}if(a=C<0,o=_-e-t-1,0==t)return a&&(v[--e]=45),tP(v,e,_-e);if(t>0&&o>=-6){if(o>=0){for(s=e+o,h=_-1;h>=s;--h)v[h+1]=v[h];return v[++s]=46,a&&(v[--e]=45),tP(v,e,_-e+1)}for(h=2;h<-o+1;++h)v[--e]=48;return v[--e]=46,v[--e]=48,a&&(v[--e]=45),tP(v,e,_-e)}return(S=e+1,m=new Z,a&&(m.b.b+=iJ),_-S>=1)?(tE(m,v[e]),m.b.b+=iK,I=m.b,E=tP(v,e+1,_-e-1),I.b+=E):(R=m.b,O=tP(v,e,_-e),R.b+=O),m.b.b+=oc,o>0&&(m.b.b+=iz),D=m.b,k=iV+o,D.b+=k,m.b.b}c&&c({moduleName:"gwtapp",sessionId:s,subSystem:"startup",evtGroup:"moduleStartup",millis:new Date().getTime(),type:"moduleEvalStart"});var iH,i$,iV="",iq=" ",iG='"',iz="+",iJ="-",iK=".",iW="0",iZ="0.",iX="0.0",iY="0.00",i1="0.000",i0="0.0000",i2="0.00000",i4="0.000000",i3="0E",i6="0E+",i5=":",i9="BigDecimal",i7="BigDecimal MathContext",i8="BigDecimal;",on="BigInteger",ot="BigInteger divide by zero",oe="BigInteger not invertible.",or="BigInteger: modulus not positive",oi="BigInteger;",oo="CSS1Compat",ou="Division by zero",of="Division impossible",oc="E",os='For input string: "',oh="Infinite or NaN",oa="Invalid Operation",ob="MathContext",ol="Negative bit address",og="Rounding necessary",ow="RoundingMode",od="RoundingMode;",op="String",o_="[Lcom.iriscouch.gwtapp.client.",ov="[Ljava.lang.",om="[Ljava.math.",oy="\\.",oC="__gwtex_wrap",oS="anonymous",oM="array",ox="bad string format",oB="bigdecimal",oA="com.google.gwt.core.client.",oN="com.google.gwt.core.client.impl.",oI="com.iriscouch.gwtapp.client.",oE="java.lang.",oR="java.math.",oO="java.util.",oD="msie",ok="null",oL="number",oU="number MathContext",oP="number number",oQ="object",oT="opera",oj="org.timepedia.exporter.client.",oF="safari",oH="string",o$="undefined",oV={l:0,m:0,h:524288},oq={l:0,m:4193280,h:1048575},oG={l:4194298,m:4194303,h:1048575},oz={l:4194303,m:4194303,h:1048575},oJ={l:0,m:0,h:0},oK={l:1,m:0,h:0},oW={l:2,m:0,h:0},oZ={l:5,m:0,h:0},oX={l:10,m:0,h:0},oY={l:11,m:0,h:0},o1={l:18,m:0,h:0},o0={l:48,m:0,h:0},o2={l:877824,m:119,h:0},o4={l:1755648,m:238,h:0},o3={l:4194303,m:511,h:0},o6={l:4194303,m:1023,h:0},o5={l:0,m:1024,h:0};(i$=h.prototype={}).eQ=function(n){return this===n},i$.gC=function(){return fs},i$.hC=function(){return nF(this)},i$.tS=function(){return this.gC().d+"@"+function(n){var t,e,r;if(t=tU(fK,{6:1},-1,8,1),rv(),e=uO,r=7,n>=0)for(;n>15;)t[r--]=e[15&n],n>>=4;else for(;r>0;)t[r--]=e[15&n],n>>=4;return t[r]=e[15&n],t3(t,r,8)}(this.hC())},i$.toString=function(){return this.tS()},i$.tM=g,i$.cM={},(i$=a.prototype=new h).gC=function(){return fa},i$.j=function(){return this.f},i$.tS=function(){var n,t;return n=this.gC().d,null!=(t=this.j())?n+": "+t:n},i$.cM={6:1,15:1},i$.f=null,(i$=b.prototype=new a).gC=function(){return fb},i$.cM={6:1,15:1},(i$=nr.prototype=l.prototype=new b).gC=function(){return fl},i$.cM={6:1,12:1,15:1},(i$=n0.prototype=(function(){}).prototype=new l).gC=function(){return fg},i$.j=function(){var n,t,e,r,i;return null==this.d&&(this.e=null==(e=this.c)?ok:tt(e)?null==(r=t7(e))?null:r.name:nz(e,1)?op:(nH(e)?e.gC():fw).d,this.b=tt(n=this.c)?null==(i=t7(n))?null:i.message:n+iV,this.d="("+this.e+"): "+this.b+(tt(t=this.c)?function(n){var t=iV;try{for(var e in n)if("name"!=e&&"message"!=e&&"toString"!=e)try{t+="\n "+e+": "+n[e]}catch(n){}}catch(n){}return t}(t7(t)):iV)),this.d},i$.cM={6:1,12:1,15:1},i$.b=null,i$.c=null,i$.d=null,i$.e=null,(i$=w.prototype=new h).gC=function(){return fd};var o9=0,o7=0;(i$=d.prototype=(function(){}).prototype=new w).gC=function(){return fm},i$.b=null,i$.c=null,(i$=_.prototype=v.prototype=new h).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=i5+o,f=n[u];if(f){for(r=0,i=f.length;r0?i:oS},i$.gC=function(){return fy},i$.o=function(n){return[]},(i$=m.prototype=new v).k=function(){return tg(this.o(td()),this.p())},i$.gC=function(){return fM},i$.o=function(n){return eO(this,n)},i$.p=function(){return 2},(i$=y.prototype=(function(){}).prototype=new m).k=function(){return eh(this)},i$.n=function(n){var t,e;return 0==n.length||(0==(e=e7(n)).indexOf("at ")&&(e=n8(e,3)),-1==(t=e.indexOf("["))&&(t=e.indexOf("(")),-1==t)?oS:(-1!=(t=(e=e7(e.substr(0,t-0))).indexOf("."))&&(e=n8(e,t+1)),e.length>0?e:oS)},i$.gC=function(){return fx},i$.o=function(n){return t4(this,n)},i$.p=function(){return 3},(i$=C.prototype=new h).gC=function(){return fB},(i$=S.prototype=(function(){}).prototype=new C).gC=function(){return fA},i$.b=iV,(i$=M.prototype=(function(){}).prototype=new h).gC=function(){return this.aC},i$.aC=null,i$.qI=0;var o8=null,un=null;(i$=x.prototype=(function(){}).prototype=new h).gC=function(){return fE},i$.cM={2:1},(i$=B.prototype=new h).gC=function(){return fO},i$.cM={6:1,10:1};var ut=null;(i$=eu.prototype=ti.prototype=tx.prototype=tN.prototype=X.prototype=e_.prototype=ef.prototype=tA.prototype=tB.prototype=eJ.prototype=n4.prototype=n3.prototype=tr.prototype=tM.prototype=nL.prototype=A.prototype=new B).eQ=function(n){return e2(this,n)},i$.gC=function(){return fD},i$.hC=function(){return rm(this)},i$.q=function(){return rj(this)},i$.r=function(){return ed(this)},i$.tS=function(){return ip(this)},i$.cM={6:1,8:1,10:1,16:1},i$.b=0,i$.c=0,i$.d=null,i$.e=0,i$.f=0,i$.g=0,i$.i=null;var ue,ur,ui,uo,uu,uf,uc,us,uh,ua,ub,ul,ug,uw,ud,up,u_,uv=null,um=null,uy=null;(i$=nU.prototype=nw.prototype=(function(){}).prototype=new A).s=function(n){var t,e,r;if((e=iE(n))==iV)t=0>ed(this)?ep(this):this;else if(e==ob)t=0>(r=t8(this,new iM(n[0].toString()))).r()?ep(r):r;else throw new nr("Unknown call signature for interim = super.abs: "+e);return new nU(t)},i$.t=function(n){var t,e;if((e=iE(n))==i9)t=r0(this,new X(n[0].toString()));else if(e==i7)t=function(n,t,e){var r,i,o,u;if(r=n.f-t.f,0==t.b&&-1!=t.g||0==n.b&&-1!=n.g||0==e.b)return t8(r0(n,t),e);if((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)0?t.e:nP((t.b-1)*.3010299956639812)+1)<-r-1))return t8(r0(n,t),e);i=n,u=t}return e.b>=(i.e>0?i.e:nP((i.b-1)*.3010299956639812)+1)?t8(r0(n,t),e):t8(i=new tx((o=i.r())==u.r()?iS(rZ((i.d||(i.d=eP(i.g)),i.d),10),eZ(e6(o))):iS(rZ(ih((i.d||(i.d=eP(i.g)),i.d),eZ(e6(o))),10),eZ(e6(9*o))),i.f+1),e)}(this,new X(n[0].toString()),new iM(n[1].toString()));else throw new nr("Unknown call signature for interim = super.add: "+e);return new nU(t)},i$.u=function(){return~~(nB(en(this,8))<<24)>>24},i$.v=function(n){return ic(this,n)},i$.w=function(n){var t,e,r,i;if((i=iE(n))==i9)e=el(this,new X(n[0].toString()));else if(i==i7)e=eg(this,new X(n[0].toString()),new iM(n[1].toString()));else throw new nr("Unknown call signature for interim = super.divideAndRemainder: "+i);for(t=0,r=tU(fL,{6:1},3,e.length,0);t129?n*=1/0:n=t9(ip(this)),n},i$.gC=function(){return fk},i$.hC=function(){return rm(this)},i$.B=function(){var n;return this.f<=-32||this.f>(this.e>0?this.e:nP((this.b-1)*.3010299956639812)+1)?0:(n=new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))).f*n.b[0]},i$.C=function(){return nB(en(this,32))},i$.D=function(){return nB(en(this,32))},i$.E=function(){return t9(ip(this))},i$.F=function(n){return new nU(ic(this,n)>=0?this:n)},i$.G=function(n){return new nU(0>=ic(this,n)?this:n)},i$.H=function(n){return new nU(rJ(this,this.f+n))},i$.I=function(n){return new nU(rJ(this,this.f-n))},i$.J=function(n){var t,e;if((e=iE(n))==i9)t=rk(this,new X(n[0].toString()));else if(e==i7)t=tl(this,new X(n[0].toString()),new iM(n[1].toString()));else throw new nr("Unknown call signature for interim = super.multiply: "+e);return new nU(t)},i$.K=function(n){var t,e;if((e=iE(n))==iV)t=ep(this);else if(e==ob)t=ep(t8(this,new iM(n[0].toString())));else throw new nr("Unknown call signature for interim = super.negate: "+e);return new nU(t)},i$.L=function(n){var t,e;if((e=iE(n))==iV)t=this;else if(e==ob)t=t8(this,new iM(n[0].toString()));else throw new nr("Unknown call signature for interim = super.plus: "+e);return new nU(t)},i$.M=function(n){var t,e;if((e=iE(n))==oL)t=rd(this,n[0]);else if(e==oU)t=function(n,t,e){var r,i,o,u,f,c;if(o=t<0?-t:t,u=e.b,i=eo(tn(o))+1,f=e,0==t||0==n.b&&-1!=n.g&&t>0)return rd(n,t);if(o>999999999||0==u&&t<0||u>0&&i>u)throw new ni(oa);for(u>0&&(f=new eW(u+i+1,e.c)),r=t8(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=tl(r,r,f),(o&c)==c&&(r=tl(r,n,f)),c>>=1;return t<0&&(r=iO(uw,r,f)),is(r,e),r}(this,n[0],new iM(n[1].toString()));else throw new nr("Unknown call signature for interim = super.pow: "+e);return new nU(t)},i$.q=function(){return rj(this)},i$.N=function(n){var t,e;if((e=iE(n))==i9)t=el(this,new X(n[0].toString()))[1];else if(e==i7)t=eg(this,new X(n[0].toString()),new iM(n[1].toString()))[1];else throw new nr("Unknown call signature for interim = super.remainder: "+e);return new nU(t)},i$.O=function(n){return new nU(t8(this,new iM(ea(n.b))))},i$.P=function(){return eo(this.f)},i$.Q=function(n){var t;return new nU((t=this.f-n,this.b<54)?0==this.g?eU(t):new ti(this.g,eK(t)):new tM((this.d||(this.d=eP(this.g)),this.d),eK(t)))},i$.R=function(n){var t,e;if((e=iE(n))==oL)t=r1(this,n[0],(iA(),u3));else if(e==oP)t=r1(this,n[0],rQ(n[1]));else if("number RoundingMode"==e)t=r1(this,n[0],ts(n[1].toString()));else throw new nr("Unknown call signature for interim = super.setScale: "+e);return new nU(t)},i$.S=function(){return~~(nB(en(this,16))<<16)>>16},i$.r=function(){return ed(this)},i$.T=function(){return new nU(function(n){var t,e,r,i,o;if(t=1,e=um.length-1,r=n.f,0==n.b&&-1!=n.g)return new X(iW);for(n.d||(n.d=eP(n.g)),o=n.d;!o.gb(0);)if(0==(i=r6(o,um[t]))[1].r())r-=t,t0?r.e:nP((r.b-1)*.3010299956639812)+1)0?this.e:nP((this.b-1)*.3010299956639812)+1)?t8(new tx((u=ed(this))!=r.r()?iS(rZ((this.d||(this.d=eP(this.g)),this.d),10),eZ(e6(u))):iS(rZ(ih((this.d||(this.d=eP(this.g)),this.d),eZ(e6(u))),10),eZ(e6(9*u))),this.f+1),i):t8(iD(this,r),i);else throw new nr("Unknown call signature for interim = super.subtract: "+e);return new nU(t)},i$.V=function(){return new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))},i$.W=function(){return new n2(r5(this))},i$.X=function(){return function(n){var t,e,r,i,o,u,f,c;if(u=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)return u;if(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,r=u.length,i=-n.f+r-t,c=new nq(u),n.f>0&&i>=-6)i>=0?n7(c,r-eo(n.f),iK):(te(c.b,t-1,t-1,iZ),n7(c,t+1,tP(uh,0,-eo(i)-1)));else{if(e=r-t,0!=(f=eo(i%3))&&(0==(n.d||(n.d=eP(n.g)),n.d).r()?i+=f=f<0?-f:3-f:(i-=f=f<0?f+3:f,t+=f),e<3))for(o=f-e;o>0;--o)n7(c,r++,iW);r-t>=1&&(te(c.b,t,t,iK),++r),0!=i&&(te(c.b,r,r,oc),i>0&&n7(c,++r,iz),n7(c,++r,iV+r3(r4(i))))}return c.b.b}(this)},i$.Y=function(){return function(n){var t,e,r,i,o,u;if(r=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f||0==n.b&&-1!=n.g&&n.f<0)return r;if(t=0>ed(n)?1:0,e=n.f,i=new Z(r.length+1+((o=eo(n.f))<0?-o:o)),1==t&&(i.b.b+=iJ),n.f>0){if((e-=r.length-t)>=0){for(i.b.b+=iZ;e>uh.length;e-=uh.length)tG(i,uh);n9(i,uh,eo(e)),nE(i,n8(r,t))}else nE(i,(u=eo(e=t-e),r.substr(t,u-t))),i.b.b+=iK,nE(i,n8(r,eo(e)))}else{for(nE(i,n8(r,t));e<-uh.length;e+=uh.length)tG(i,uh);n9(i,uh,eo(-e))}return i.b.b}(this)},i$.tS=function(){return ip(this)},i$.Z=function(){return new nU(new ti(1,this.f))},i$.$=function(){return new n2((this.d||(this.d=eP(this.g)),this.d))},i$.cM={3:1,6:1,8:1,10:1,16:1,24:1},(i$=H.prototype=(function(){}).prototype=new h).gC=function(){return fU};var uC=!1;(i$=ru.prototype=ro.prototype=to.prototype=e9.prototype=tV.prototype=ra.prototype=nG.prototype=iC.prototype=N.prototype=new B)._=function(){return this.f<0?new to(1,this.e,this.b):this},i$.ab=function(){return eq(this)},i$.eQ=function(n){return eV(this,n)},i$.gC=function(){return fP},i$.bb=function(){return t0(this)},i$.hC=function(){return ek(this)},i$.cb=function(){return 0==this.f?this:new to(-this.f,this.e,this.b)},i$.db=function(n){return rL(this,n)},i$.eb=function(n){return tY(this,n)},i$.fb=function(n){return t1(this,n)},i$.r=function(){return this.f},i$.gb=function(n){return rT(this,n)},i$.tS=function(){return iF(this,0)},i$.cM={6:1,8:1,10:1,17:1},i$.b=null,i$.c=-2,i$.d=0,i$.e=0,i$.f=0;var uS,uM,ux,uB,uA,uN=null;(i$=n2.prototype=nD.prototype=nk.prototype=(function(){}).prototype=new N)._=function(){return new n2(this.f<0?new to(1,this.e,this.b):this)},i$.hb=function(n){return new n2(iS(this,n))},i$.ib=function(n){return new n2(0==n.f||0==this.f?(rW(),uA):eV(n,(rW(),uS))?this:eV(this,uS)?n:this.f>0?n.f>0?function(n,t){var e,r,i,o;if(i=np(n.e,t.e),(e=n_(ew(n),ew(t)))>=i)return rW(),uA;for(r=tU(fp,{6:1},-1,i,1);e0?rz(n,this):this.e>n.e?i_(this,n):i_(n,this))},i$.jb=function(n){return new n2(0==n.f?this:0==this.f?(rW(),uA):eV(this,(rW(),uS))?new n2(r8(n)):eV(n,uS)?uA:this.f>0?n.f>0?function(n,t){var e,r,i,o;for(i=tU(fp,{6:1},-1,n.e,1),r=np(n.e,t.e),e=ew(n);e=n.e)return n;for(o=tU(fp,{6:1},-1,u=np(n.e,t.e),1),e=i;e0?function(n,t){var e,r,i,o,u,f,c;if(i=ew(n),o=ew(t),i>=t.e)return n;if(c=n_(n.e,t.e),r=i,o>i){for(f=tU(fp,{6:1},-1,c,1),u=np(n.e,o);r=t.e)return rW(),uA;if(u=tU(fp,{6:1},-1,f=t.e,1),e=i,i0)for(;e34028234663852886e22?1/0:n<-34028234663852886e22?-1/0:n},i$.qb=function(n){return new n2(rR(this,n))},i$.gC=function(){return fQ},i$.bb=function(){return t0(this)},i$.hC=function(){return ek(this)},i$.B=function(){return this.f*this.b[0]},i$.rb=function(n){return function(n,t){var e,r;if(ij(),t<=0||1==n.e&&2==n.b[0])return!0;if(!rT(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}(uW,n.b[0])>=0;for(r=1;r>1)?r:1+(~~(t-1)>>1))}(new n2(this.f<0?new to(1,this.e,this.b):this),n)},i$.sb=function(){return t9(iF(this,0))},i$.tb=function(n){return new n2(1==rt(this,n)?this:n)},i$.ub=function(n){return new n2(-1==rt(this,n)?this:n)},i$.vb=function(n){return new n2(ee(this,n))},i$.wb=function(n){return new n2(rO(this,n))},i$.xb=function(n,t){return new n2(rG(this,n,t))},i$.yb=function(n){return new n2(et(this,n))},i$.cb=function(){return new n2(0==this.f?this:new to(-this.f,this.e,this.b))},i$.zb=function(){return new n2(function(n){if(n.f<0)throw new ni("start < 0: "+n);return function(n){var t,e,r,i,o,u,f,c;if(ij(),o=tU(fp,{6:1},-1,uW.length,1),r=tU(fv,{6:1},-1,1024,2),1==n.e&&n.b[0]>=0&&n.b[0]=uW[e];++e);return uK[e]}for(f=new to(1,n.e,tU(fp,{6:1},-1,n.e+1,1)),iB(n.b,0,f.b,0,n.e),rT(n,0)?tW(f,2):f.b[0]|=1,i=f.ab(),t=2;i0?n.f>0?this.e>n.e?rg(this,n):rg(n,this):iw(this,n):n.f>0?iw(n,this):ew(n)>ew(this)?rX(n,this):rX(this,n))},i$.db=function(n){return new n2(rL(this,n))},i$.Cb=function(n){return new n2(rH(this,n))},i$.Db=function(n){return new n2(rT(this,n)?this:ie(this,n))},i$.eb=function(n){return new n2(tY(this,n))},i$.fb=function(n){return new n2(t1(this,n))},i$.r=function(){return this.f},i$.Eb=function(n){return new n2(ih(this,n))},i$.gb=function(n){return rT(this,n)},i$.Fb=function(n){var t,e;if((e=iE(n))==iV)t=iF(this,0);else if(e==oL)t=function(n,t){var e,r,i,o,u,f,c,s,h,a,b,l,g,w,d,_,v;if(ix(),w=n.f,h=n.e,f=n.b,0==w)return iW;if(1==h)return v=th(e6(f[0]),o6),w<0&&(v=eQ(v)),function(n,t){var e,r,i,o;if(10==t||t<2||t>36)return iV+r3(n);if(e=tU(fK,{6:1},-1,65,1),rv(),r=uO,i=64,o=e6(t),rN(n,oJ)){for(;rN(n,o);)e[i--]=r[nB(n6(n,o))],n=iI(n,o,!1);e[i]=r[nB(n)]}else{for(;!rA(n,eQ(o));)e[i--]=r[nB(eQ(n6(n,o)))],n=iI(n,o,!1);e[i--]=r[nB(eQ(n))],e[i]=45}return t3(e,i,65)}(v,t);if(10==t||t<2||t>36)return iF(n,0);if(r=Math.log(t)/Math.log(2),g=tU(fK,{6:1},-1,l=eo(eq(new n2(n.f<0?new to(1,n.e,n.b):n))/r+(w<0?1:0))+1,1),o=l,16!=t)for(iB(f,0,d=tU(fp,{6:1},-1,h,1),0,h),_=h,i=uP[t],e=uU[t-2];;){b=ii(d,d,_,e),a=o;do g[--o]=em(b%t,t);while(0!=(b=~~(b/t))&&0!=o)for(c=0,u=i-a+o;c0;++c)g[--o]=48;for(c=_-1;c>0&&0==d[c];--c);if(1==(_=c+1)&&0==d[0])break}else for(c=0;c0;++s)b=~~f[c]>>(s<<2)&15,g[--o]=em(b,16);for(;48==g[o];)++o;return -1==w&&(g[--o]=45),tP(g,o,l-o)}(this,n[0]);else throw new nr("Unknown call signature for result = super.toString: "+e);return t},i$.Gb=function(n){return new n2(0==n.f?this:0==this.f?n:eV(n,(rW(),uS))?new n2(r8(this)):eV(this,uS)?new n2(r8(n)):this.f>0?n.f>0?this.e>n.e?rw(this,n):rw(n,this):iU(this,n):n.f>0?iU(n,this):ew(n)>ew(this)?io(n,this):io(this,n))},i$.cM={4:1,6:1,8:1,10:1,17:1,24:1},(i$=F.prototype=(function(){}).prototype=new h).gC=function(){return fj};var uI=!1;(i$=nm.prototype=ny.prototype=(function(){}).prototype=new h).gC=function(){return fF},i$.Hb=function(){return this.b.b},i$.Ib=function(){return new nn(this.b.c)},i$.hC=function(){return nx(this.b)},i$.tS=function(){return ea(this.b)},i$.cM={24:1},i$.b=null,(i$=j.prototype=(function(){}).prototype=new h).gC=function(){return fH};var uE=!1;(i$=nn.prototype=nC.prototype=(function(){}).prototype=new h).gC=function(){return f$},i$.Jb=function(){return this.b.b},i$.tS=function(){return this.b.b},i$.cM={5:1,24:1},i$.b=null,(i$=K.prototype=(function(){}).prototype=new h).gC=function(){return fq};var uR=!1;(i$=ni.prototype=(function(){}).prototype=new l).gC=function(){return fG},i$.cM={6:1,12:1,15:1},(i$=no.prototype=V.prototype=(function(){}).prototype=new l).gC=function(){return fJ},i$.cM={6:1,12:1,15:1},(i$=I.prototype=(function(){}).prototype=new h).gC=function(){return fW},i$.tS=function(){return((2&this.c)!=0?"interface ":(1&this.c)!=0?iV:"class ")+this.d},i$.b=null,i$.c=0,i$.d=null,(i$=$.prototype=(function(){}).prototype=new l).gC=function(){return fZ},i$.cM={6:1,12:1,15:1},(i$=E.prototype=new h).eQ=function(n){return this===n},i$.gC=function(){return fh},i$.hC=function(){return nF(this)},i$.tS=function(){return this.b},i$.cM={6:1,8:1,9:1},i$.b=null,i$.c=0,(i$=nu.prototype=q.prototype=R.prototype=new l).gC=function(){return fX},i$.cM={6:1,12:1,15:1},(i$=nf.prototype=G.prototype=O.prototype=new l).gC=function(){return fz},i$.cM={6:1,12:1,15:1},(i$=nc.prototype=z.prototype=(function(){}).prototype=new l).gC=function(){return fY},i$.cM={6:1,12:1,15:1},(i$=nd.prototype=(function(){}).prototype=new R).gC=function(){return f1},i$.cM={6:1,12:1,15:1},(i$=tu.prototype=(function(){}).prototype=new h).gC=function(){return fC},i$.tS=function(){return this.b+iK+this.d+"(Unknown Source"+(this.c>=0?i5+this.c:iV)+")"},i$.cM={6:1,13:1},i$.b=null,i$.c=0,i$.d=null,(i$=String.prototype).eQ=function(n){return tF(this,n)},i$.gC=function(){return fN},i$.hC=function(){var n,t;return nK(),null!=(t=uk[n=i5+this])?t:(null==(t=uD[n])&&(t=function(n){var t,e,r,i;for(t=0,i=(r=n.length)-4,e=0;et?n:t}function nv(n,t){return!rN(n,t)}function nm(n){this.b=new iS(n)}function ny(){this.b=(rF(),fF)}function nC(){this.b=(iA(),f3)}function nx(n,t){var e;nb(),e=o.b,n?function(n,t,e,r){var i=n.b[r];if(i)for(var o=0,f=i.length;o=t&&n.splice(0,t),n}function tw(n){return nz(n,15)?n:new n1(n)}function td(){try{null.a()}catch(n){return n}}function tp(n){var t;return(t=new I).d=iV+n,t.c=1,t}function t_(n,t){return nH(n)?n.eQ(t):n===t}function tv(n,t){return n.l==t.l&&n.m==t.m&&n.h==t.h}function tm(n,t){return n.l!=t.l||n.m!=t.m||n.h!=t.h}function ty(n,t,e){return(i$=new M).l=n,i$.m=t,i$.h=e,i$}function tC(n,t){return nj(n)===nj(t)||null!=n&&t_(n,t)}function tx(n,t){throw new nu("Index: "+n+", Size: "+t)}function tS(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tM(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tB(n,t,e,r){eJ.call(this,n,t,e),is(this,r)}function tA(n,t){eJ.call(this,n,0,n.length),is(this,t)}function tN(n,t){eJ.call(this,t4(n),0,n.length),is(this,t)}function tI(n){nr.call(this,"String index out of range: "+n)}function tE(n,t){var e,r;return e=n.b,r=String.fromCharCode(t),e.b+=r,n}function tR(n,t){rC(n.b,n.b,n.e,t.b,t.e),tZ(n),n.c=-2}function tO(n,t){n.d=t,n.b=t.ab(),n.b<54&&(n.g=ri(eN(t)))}function tD(){tD=g,fr=[],fi=[],function(n,t,e){var r,i=0;for(var o in n)(r=n[o])&&(t[i]=o,e[i]=r,++i)}(new S,fr,fi)}function tk(){fC||(fC=!0,new j,new F,function(){if(ng(oB,iV),f.bigdecimal.BigDecimal)var n=f.bigdecimal.BigDecimal;f.bigdecimal.BigDecimal=uc(function(){1==arguments.length&&null!=arguments[0]&&arguments[0].gC()==uk?this.__gwt_instance=arguments[0]:0==arguments.length&&(this.__gwt_instance=new nw,nl(this.__gwt_instance,this))});var t=f.bigdecimal.BigDecimal.prototype={};if(n)for(p in n)f.bigdecimal.BigDecimal[p]=n[p];f.bigdecimal.BigDecimal.ROUND_CEILING=2,f.bigdecimal.BigDecimal.ROUND_DOWN=1,f.bigdecimal.BigDecimal.ROUND_FLOOR=3,f.bigdecimal.BigDecimal.ROUND_HALF_DOWN=5,f.bigdecimal.BigDecimal.ROUND_HALF_EVEN=6,f.bigdecimal.BigDecimal.ROUND_HALF_UP=4,f.bigdecimal.BigDecimal.ROUND_UNNECESSARY=7,f.bigdecimal.BigDecimal.ROUND_UP=0,f.bigdecimal.BigDecimal.__init__=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==on)t=new nL(new nG(n[0].toString()));else if("BigInteger number"==e)t=new tS(new nG(n[0].toString()),n[1]);else if("BigInteger number MathContext"==e)t=new tr(new nG(n[0].toString()),n[1],new iS(n[2].toString()));else if("BigInteger MathContext"==e)t=new n6(new nG(n[0].toString()),new iS(n[1].toString()));else if(e==oS)t=new n3(t4(n[0].toString()));else if("array number number"==e)t=new eJ(t4(n[0].toString()),n[1],n[2]);else if("array number number MathContext"==e)t=new tB(t4(n[0].toString()),n[1],n[2],new iS(n[3].toString()));else if("array MathContext"==e)t=new tA(t4(n[0].toString()),new iS(n[1].toString()));else if(e==oL)t=new eu(n[0]);else if(e==oU)t=new e_(n[0],new iS(n[1].toString()));else if(e==oH)t=new X(n[0].toString());else if("string MathContext"==e)t=new tN(n[0].toString(),new iS(n[1].toString()));else throw new nr("Unknown call signature for obj = new java.math.BigDecimal: "+e);return new nU(t)}(n))}),t.abs_va=uc(function(n){return nR(this.__gwt_instance.s(n))}),t.add_va=uc(function(n){return nR(this.__gwt_instance.t(n))}),t.byteValueExact=uc(function(){return this.__gwt_instance.u()}),t.compareTo=uc(function(n){return this.__gwt_instance.v(n.__gwt_instance)}),t.divide_va=uc(function(n){return nR(this.__gwt_instance.y(n))}),t.divideToIntegralValue_va=uc(function(n){return nR(this.__gwt_instance.x(n))}),t.doubleValue=uc(function(){return this.__gwt_instance.z()}),t.equals=uc(function(n){return this.__gwt_instance.eQ(n)}),t.floatValue=uc(function(){return this.__gwt_instance.A()}),t.hashCode=uc(function(){return this.__gwt_instance.hC()}),t.intValue=uc(function(){return this.__gwt_instance.B()}),t.intValueExact=uc(function(){return this.__gwt_instance.C()}),t.max=uc(function(n){return nR(this.__gwt_instance.F(n.__gwt_instance))}),t.min=uc(function(n){return nR(this.__gwt_instance.G(n.__gwt_instance))}),t.movePointLeft=uc(function(n){return nR(this.__gwt_instance.H(n))}),t.movePointRight=uc(function(n){return nR(this.__gwt_instance.I(n))}),t.multiply_va=uc(function(n){return nR(this.__gwt_instance.J(n))}),t.negate_va=uc(function(n){return nR(this.__gwt_instance.K(n))}),t.plus_va=uc(function(n){return nR(this.__gwt_instance.L(n))}),t.pow_va=uc(function(n){return nR(this.__gwt_instance.M(n))}),t.precision=uc(function(){return this.__gwt_instance.q()}),t.remainder_va=uc(function(n){return nR(this.__gwt_instance.N(n))}),t.round=uc(function(n){return nR(this.__gwt_instance.O(n.__gwt_instance))}),t.scale=uc(function(){return this.__gwt_instance.P()}),t.scaleByPowerOfTen=uc(function(n){return nR(this.__gwt_instance.Q(n))}),t.setScale_va=uc(function(n){return nR(this.__gwt_instance.R(n))}),t.shortValueExact=uc(function(){return this.__gwt_instance.S()}),t.signum=uc(function(){return this.__gwt_instance.r()}),t.stripTrailingZeros=uc(function(){return nR(this.__gwt_instance.T())}),t.subtract_va=uc(function(n){return nR(this.__gwt_instance.U(n))}),t.toBigInteger=uc(function(){return nR(this.__gwt_instance.V())}),t.toBigIntegerExact=uc(function(){return nR(this.__gwt_instance.W())}),t.toEngineeringString=uc(function(){return this.__gwt_instance.X()}),t.toPlainString=uc(function(){return this.__gwt_instance.Y()}),t.toString=uc(function(){return this.__gwt_instance.tS()}),t.ulp=uc(function(){return nR(this.__gwt_instance.Z())}),t.unscaledValue=uc(function(){return nR(this.__gwt_instance.$())}),t.divideAndRemainder_va=uc(function(n){return nO(this.__gwt_instance.w(n))}),t.longValue=uc(function(){return this.__gwt_instance.E()}),t.longValueExact=uc(function(){return this.__gwt_instance.D()}),f.bigdecimal.BigDecimal.valueOf_va=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==oL)t=function(n){if(!isFinite(n)||isNaN(n))throw new nd(oh);return new X(iV+n)}(n[0]);else if(e==oL)t=tX(e5(n[0]));else if(e==oP)t=eL(e5(n[0]),n[1]);else throw new nr("Unknown call signature for bd = java.math.BigDecimal.valueOf: "+e);return new nU(t)}(n))}),f.bigdecimal.BigDecimal.log=uc(function(n){iP(),typeof console!==o$&&console.log&&console.log(n)}),f.bigdecimal.BigDecimal.logObj=uc(function(n){iP(),typeof console!==o$&&console.log&&typeof JSON!==o$&&JSON.stringify&&console.log("object: "+JSON.stringify(n))}),f.bigdecimal.BigDecimal.ONE=uc(function(){return nR((iP(),new nU(fw)))}),f.bigdecimal.BigDecimal.TEN=uc(function(){return nR((iP(),new nU(fd)))}),f.bigdecimal.BigDecimal.ZERO=uc(function(){return nR((iP(),new nU(fp)))}),nx(uk,f.bigdecimal.BigDecimal)}())}function tL(n,t,e){var r;return(r=new I).d=n+t,r.c=4,r.b=e,r}function tU(n,t,e,r,i){var o;return tK(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 tI(e)}(n.length,t,r),t6(n,t,r)}function tQ(n,t){return il(),t=n.c.c)throw new J;return t=n.c,r=e=n.b++,i=t.c,(r<0||r>=i)&&tx(r,i),t.b[e]}function tF(n,t){return!!nz(t,1)&&String(n)==t}function tH(){nr.call(this,"Add not supported on this collection")}function t$(){this.b=[],this.f={},this.d=!1,this.c=null,this.e=0}function tV(n,t){rW(),this.f=n,this.e=1,this.b=tK(up,{6:1},-1,[t])}function tq(n,t){var e;return e=n.c,n.c=t,!n.d&&(n.d=!0,++n.e),e}function tG(n,t){var e,r;return e=n.b,r=String.fromCharCode.apply(null,t),e.b+=r,n}function tz(n,t,e,r){var i,o;return null==t&&(t=ok),i=n.b,o=t.substr(e,r-e),i.b+=o,n}function tJ(n,t,e,r){var i;return rC(i=tU(up,{6:1},-1,t,1),n,t,e,r),i}function tK(n,t,e,r){return tD(),function(n,t,e){tD();for(var r=0,i=t.length;r0&&0==n.b[--n.e];);0==n.b[n.e++]&&(n.f=0)}function tX(n){return rN(n,oJ)&&nv(n,oY)?fs[nB(n)]:new ef(n,0)}function tY(n,t){return 0==t||0==n.f?n:t>0?e6(n,t):rY(n,-t)}function t0(n,t){return 0==t||0==n.f?n:t>0?rY(n,t):e6(n,-t)}function t1(n){var t;return 0==n.f?-1:((t=ew(n))<<5)+es(n.b[t])}function t2(n){var t;return 0!=(t=nB(n))?es(t):es(nB(rK(n,32)))+32}function t3(n,t){var e;return 0==(e=eO(n,t)).length?(new _).o(t):tg(e,1)}function t6(n,t,e){return n=n.slice(t,e),String.fromCharCode.apply(null,n)}function t5(n,t,e,r){var i;return ib(i=tU(up,{6:1},-1,t+1,1),n,t,e,r),i}function t4(n){var t,e;return t=tU(uK,{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,(_=(g=b.e)+(w=l.e),v=b.f!=l.f?-1:1,2==_)?(x=nB(y=iR(th(e5(b.b[0]),o5),th(e5(l.b[0]),o5))),0==(C=nB(rP(y,32)))?new tV(v,x):new to(v,2,tK(up,{6:1},-1,[x,C]))):(eG(b.b,g,l.b,w,d=tU(up,{6:1},-1,_,1)),tZ(m=new to(v,_,d)),m)):(u=(-2&t.e)<<4,h=t.fb(u),a=e.fb(u),i=ih(t,h.eb(u)),o=ih(e,a.eb(u)),s=n(h,a),r=n(i,o),f=(f=ix(ix(f=n(ih(h,i),ih(o,a)),s),r)).eb(u),ix(ix(s=s.eb(u<<1),f),r))}(n,t))}function ee(n,t){var e;if(t.f<=0)throw new ni(or);return(e=rH(n,t)).f<0?ix(e,t):e}function er(n){var t;t=new nJ,n.d&&n4(t,new ne(n)),function(n,t){var e=n.f;for(var r in e)if(58==r.charCodeAt(0)){var i=new nA(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],f=0,u=o.length;f0?1:0:(n.d||(n.d=eP(n.g)),n.d).r()}function ep(n){return n.b<54?new ti(-n.g,n.f):new tM((n.d||(n.d=eP(n.g)),n.d).cb(),n.f)}function e_(n,t){if(!isFinite(n)||isNaN(n))throw new nd(oh);iQ(this,n.toPrecision(20)),is(this,t)}function ev(n,t){return isNaN(n)?isNaN(t)?0:1:isNaN(t)?-1:nt?1:0}function em(n,t){return t<2||t>36||n<0||n>=t?0:n<10?48+n&65535:97+n-10&65535}function ey(n,t){var e,r;return t?((e=t[oC])||(e=new(r=t.gC(),t8(ei(n.b,r)))(t),t[oC]=e),e):null}function eC(n){var t,e;return 32==(e=r$(n.h))?32==(t=r$(n.m))?r$(n.l)+32:t+20-10:e-12}function ex(n){return ty(4194303&n,~~n>>22&4194303,n<0?1048575:0)}function eS(){eS=g,fo=ty(4194303,4194303,524287),ff=ty(0,0,524288),fu=e5(1),e5(2),fc=e5(0)}function eM(n,t){ib(n.b,n.b,n.e,t.b,t.e),n.e=np(n_(n.e,t.e)+1,n.b.length),tZ(n),n.c=-2}function eB(n,t){var e;e=~~t>>5,n.e+=e+(r$(n.b[n.e-1])-(31&t)>=0?0:1),rx(n.b,n.b,e,31&t),tZ(n),n.c=-2}function eA(n,t){var e,r;e=~~t>>5,n.e>>r:0,tZ(n))}function eN(n){var t;return t=n.e>1?ta(rU(e5(n.b[1]),32),th(e5(n.b[0]),o5)):th(e5(n.b[0]),o5),iR(e5(n.f),t)}function eI(n,t,e){var r;for(r=e-1;r>=0&&n[r]==t[r];--r);return r<0?0:nv(th(e5(n[r]),o5),th(e5(t[r]),o5))?-1:1}function eE(n,t,e){var r,i,o;for(i=0,r=0;i>>31;0!=r&&(n[e]=r)}function eR(n,t,e,r){if(iH=t,n)try{uc(iy)()}catch(e){n(t)}else uc(iy)()}function eO(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 ef(oJ,0x7fffffff):new ef(oJ,-0x80000000)}function eP(n){return(rW(),n<0)?-1!=n?new rf(-1,-n):fx:n<=10?fM[eo(n)]:new rf(1,n)}function eQ(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,ty(t,e,r)}function eT(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 ej(n){var t,e,r;for(r=0,e=tU(ux,{6:1},13,n.length,0),t=n.length;r=0;--r)if(n[r]!=i[r]){e=0!=n[r]&&rA(th(e5(n[r]),o5),th(e5(i[r]),o5));break}}return f=new to(1,o+1,n),e&&tR(f,t),tZ(f),f}(o,e)}function eV(n,t){var e;return n===t||!!nz(t,17)&&(e=tT(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 eq(n){var t,e;return 0==n.f?0:(t=n.e<<5,e=n.b[n.e-1],n.f<0&&ew(n)==n.e-1&&(e=~~(e-1)),t-=r$(e))}function eG(n,t,e,r,i){il(),0!=t&&0!=r&&(1==t?i[r]=rc(i,e,r,n[0]):1==r?i[t]=rc(i,n,t,e[0]):function(n,t,e,r,i){var o,f,u,c;if(nj(n)===nj(t)&&r==i){iu(n,r,e);return}for(u=0;u0x7fffffff))return eo(n);throw new ni("Underflow")}function eW(n,t){if(rF(),n<0)throw new nf("Digits < 0");if(!t)throw new nc("null RoundingMode");this.b=n,this.c=t}function eZ(n){return(rW(),nv(n,oJ))?tm(n,oz)?new ro(-1,eQ(n)):fx:rA(n,oX)?new ro(1,n):fM[nB(n)]}function eX(n){var t;return nv(n,oJ)&&(n=ty(4194303&~n.l,4194303&~n.m,1048575&~n.h)),64-(0!=(t=nB(rK(n,32)))?r$(t):r$(nB(n))+32)}function eY(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),ty(4194303&e,4194303&r,1048575&i)}function e0(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),ty(4194303&e,4194303&r,1048575&i)}function e1(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-n_(e,n.bb())}function e2(n,t){var e;return n===t||!!nz(t,16)&&(e=tT(t,16)).f==n.f&&(n.b<54?e.g==n.g:n.d.eQ(e.d))}function e3(n,t,e){var r,i,o;for(o=oJ,r=t-1;r>=0;--r)i=r2(eY(rU(o,32),th(e5(n[r]),o5)),e),o=e5(nB(rK(i,32)));return nB(o)}function e6(n,t){var e,r,i,o;return e=~~t>>5,t&=31,rx(r=tU(up,{6:1},-1,i=n.e+e+(0==t?0:1),1),n.b,e,t),tZ(o=new to(n.f,i,r)),o}function e5(n){var t,e;return n>-129&&n<128?(t=n+128,null==fn&&(fn=tU(uR,{6:1},2,256,0)),(e=fn[t])||(e=fn[t]=ex(n)),e):ex(n)}function e4(n){var t,e,r;return(rW(),n>5,t=31&n,(r=tU(up,{6:1},-1,e+1,1))[e]=1<iq&&n[n.length-1]>iq?n:n.replace(/^(\s*)/,iV).replace(/\s*$/,iV)}function e7(n){return n-=~~n>>1&0x55555555,n=(~~(n=(~~n>>2&0x33333333)+(0x33333333&n))>>4)+n&0xf0f0f0f,n+=~~n>>8,63&(n+=~~n>>16)}function rn(n,t,e){if(null!=e){var r;if(n.qI>0&&(r=n.qI,!e.cM||!e.cM[r])||n.qI<0&&(e.tM==g||n$(e,1)))throw new V}return n[t]=e}function rt(n,t){return n.f>t.f?1:n.ft.e?n.f:n.e=0;--o)f=e$(f,f,r,i),(e.b[~~o>>5]&1<<(31&o))!=0&&(f=e$(f,t,r,i));return f}(u,r,t,e,o):function(n,t,e,r,i){var o,f,u,c,s,h,a;for(s=tU(u9,{6:1},17,8,0),h=n,rn(s,0,t),a=e$(t,t,r,i),f=1;f<=7;++f)rn(s,f,e$(s[f-1],a,r,i));for(f=e.ab()-1;f>=0;--f)if((e.b[~~f>>5]&1<<(31&f))!=0){for(c=1,o=f,u=f-3>0?f-3:0;u<=f-1;++u)(e.b[~~u>>5]&1<<(31&u))!=0&&(u>1],h,r,i),f=o}else h=e$(h,h,r,i);return h}(u,r,t,e,o),e$(f,(rW(),fS),e,o)}function rh(n,t){var e,r,i,o;for(e=0,r=n.length;e36)throw new nd("Radix out of range");if(0==n.length)throw new nd("Zero length BigInteger");(function(n,t,e){var r,i,o,f,u,c,s,h,a,b,l,g,w,d;for(s=l=t.length,45==t.charCodeAt(0)?(a=-1,b=1,--l):(a=1,b=0),o=~~(l/(f=(iM(),fP)[e])),0!=(d=l%f)&&++o,c=tU(up,{6:1},-1,o,1),r=fU[e-2],u=0,g=b+(0==d?f:d),w=b;wr)return 1;if(e=0&&n[i]==t[i];--i);return i<0?0:nv(th(e5(n[i]),o5),th(e5(t[i]),o5))?-1:1}function rg(n,t){var e,r,i;for(r=tU(up,{6:1},-1,i=n.e,1),np(ew(n),ew(t)),e=0;e0x3b9ac9ff)throw new ni(oa);return e=n.f*t,0==n.b&&-1!=n.g?eU(e):new tS((n.d||(n.d=eP(n.g)),n.d).db(t),eK(e))}function rp(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)uf[n]=e,e*=.5;for(n=24,t=1;n>=0;--n)uo[n]=t,t*=.5}function rv(){rv=g,fO=tK(uK,{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(n){var t;return 0!=n.c||(n.b<54?(t=r3(n.g),n.c=nB(th(t,oz)),n.c=33*n.c+nB(th(rK(t,32),oz)),n.c=17*n.c+eo(n.f)):n.c=17*n.d.hC()+eo(n.f)),n.c}function ry(n,t,e,r){var i,o,f,u,c;return o=(c=n/t)>0?Math.floor(c):Math.ceil(c),f=n%t,u=ev(n*t,0),0!=f&&(i=ev((f<=0?0-f:f)*2,t<=0?0-t:t),o+=it(1&eo(o),u*(5+i),r)),new ti(o,e)}function rC(n,t,e,r,i){var o,f;for(f=0,o=oJ;fe;--i)n[i]|=~~t[i-e-1]>>>o,n[i-1]=t[i-e-1]<>5,n.e-=r,!rD(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-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=eo(nP(Math.log(n)/.6931471805599453)),(!t||n!=Math.pow(2,e))&&++e,e):eX(r3(n))}function rR(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)?eZ(rI(eN(e),eN(r))):function(n,t){var e,r,i,o;i=(e=n.bb())<(r=t.bb())?e:r,rB(n,e),rB(t,r),1==rt(n,t)&&(o=n,n=t,t=o);do{if(1==t.e||2==t.e&&t.b[1]>0){t=eZ(rI(eN(n),eN(t)));break}if(t.e>1.2*n.e)0!=(t=rH(t,n)).r()&&rB(t,t.bb());else do tR(t,n),rB(t,t.bb());while(rt(t,n)>=0)o=t,t=n,n=o}while(0!=o.f)return t.eb(i)}(eb(e),eb(r))}function rO(n,t){var e;if(t.f<=0)throw new ni(or);if(!(n.gb(0)||t.gb(0)))throw new ni(oe);if(1==t.e&&1==t.b[0])return fA;if(0==(e=function(n,t){var e,r,i,o,f,u,c,s,h,a,b;if(0==n.f)throw new ni(oe);if(!t.gb(0))return function(n,t){var e,r,i,o,f,u,c,s,h,a,b;for(h=tU(up,{6:1},-1,(o=n_(n.e,t.e))+1,1),b=tU(up,{6:1},-1,o+1,1),iB(t.b,0,h,0,t.e),iB(n.b,0,b,0,n.e),s=new to(t.f,t.e,h),a=new to(n.f,n.e,b),u=new to(0,1,tU(up,{6:1},-1,o+1,1)),(c=new to(1,1,tU(up,{6:1},-1,o+1,1))).b[0]=1,e=0,r=0,f=t.ab();!eD(s,e)&&!eD(a,r);)if(0!=(i=e1(s,f))&&(eB(s,i),e>=r?eB(u,i):(rB(c,r-e0&&eB(u,i-r+e)),e+=i),0!=(i=e1(a,f))&&(eB(a,i),r>=e?eB(c,i):(rB(u,e-r0&&eB(c,i-e+r)),r+=i),s.r()==a.r()?e<=r?(rq(s,a),rq(u,c)):(rq(a,s),rq(c,u)):e<=r?(rV(s,a),rV(u,c)):(rV(a,s),rV(c,u)),0==a.r()||0==s.r())throw new ni(oe);return eD(a,r)&&(u=c,a.r()!=s.r()&&(s=s.cb())),s.gb(f)&&(u=0>u.r()?u.cb():ih(t,u)),0>u.r()&&(u=ix(u,t)),u}(n,t);for(o=32*t.e,a=eb(t),c=new to(1,1,tU(up,{6:1},-1,(f=n_((b=eb(n)).e,a.e))+1,1)),(s=new to(1,1,tU(up,{6:1},-1,f+1,1))).b[0]=1,e=0,(r=a.bb())>(i=b.bb())?(rB(a,r),rB(b,i),eB(c,i),e+=r-i):(rB(a,r),rB(b,i),eB(s,r),e+=i-r),c.f=1;b.r()>0;){for(;rt(a,b)>0;)tR(a,b),h=a.bb(),rB(a,h),eM(c,s),eB(s,h),e+=h;for(;0>=rt(a,b)&&(tR(b,a),0!=b.r());)h=b.bb(),rB(b,h),eM(s,c),eB(c,h),e+=h}if(!(1==a.e&&1==a.b[0]))throw new ni(oe);return rt(c,t)>=0&&tR(c,t),c=ih(t,c),u=ru(t),e>o&&(c=e$(c,(rW(),fS),t,u),e-=o),c=e$(c,e4(o-e),t,u)}(ee(n._(),t),t)).f)throw new ni(oe);return n.f<0?ih(t,e):e}function rD(n,t,e,r,i){var o,f,u;for(f=0,o=!0;f>>i|e[f+r+1]<>>i,++f}return o}function rk(n,t){var e;return(e=n.f+t.f,0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)?eU(e):n.b+t.b<54?new ti(n.g*t.g,eK(e)):new tS(et((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),eK(e))}function rL(n,t){var e;if(t<0)throw new ni("Negative exponent");if(0==t)return fS;if(1==t||n.eQ(fS)||n.eQ(fA))return n;if(!n.gb(0)){for(e=1;!n.gb(e);)++e;return et(e4(e*t),n.fb(e).db(t))}return function(n,t){var e,r;for(il(),rW(),r=fS,e=n;t>1;t>>=1)(1&t)!=0&&(r=et(r,e)),e=1==e.e?et(e,e):new e9(iu(e.b,e.e,tU(up,{6:1},-1,e.e<<1,1)));return et(r,e)}(n,t)}function rU(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),ty(4194303&r,4194303&i,1048575&o)}function rQ(n){switch(iA(),n){case 2:return fX;case 1:return fY;case 3:return f0;case 5:return f1;case 6:return f2;case 4:return f3;case 7:return f6;case 0:return f5;default:throw new nf("Invalid rounding mode")}}function rT(n,t){var e,r,i;if(0==t)return(1&n.b[0])!=0;if(t<0)throw new ni(ol);if((i=~~t>>5)>=n.e)return n.f<0;if(e=n.b[i],t=1<<(31&t),n.f<0){if(i<(r=ew(n)))return!1;e=r==i?-e:~e}return(e&t)!=0}function rj(n){var t,e;return n.e>0||(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!=ia((n.d||(n.d=eP(n.g)),n.d),im(t)).r()&&++t),n.e=eo(t)),n.e}function rF(){rF=g,fQ=new eW(34,(iA(),f2)),fT=new eW(7,f2),fj=new eW(16,f2),fF=new eW(0,f3),fH=tK(uK,{6:1},-1,[112,114,101,99,105,115,105,111,110,61]),f$=tK(uK,{6:1},-1,[114,111,117,110,100,105,110,103,77,111,100,101,61])}function rH(n,t){var e,r,i,o;if(0==t.f)throw new ni(ot);return((o=n.e)!=(e=t.e)?o>e?1:-1:eI(n.b,t.b,o))==-1?n:(r=tU(up,{6:1},-1,e,1),1==e?r[0]=e3(n.b,o,t.b[0]):r=iL(null,o-e+1,n.b,o,t.b,e),tZ(i=new to(n.f,e,r)),i)}function r$(n){var t,e,r;return n<0?0:0==n?32:(e=16-(t=~~(r=-(~~n>>16))>>16&16)+(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 rV(n,t){if(0==n.f)iB(t.b,0,n.b,0,t.e);else{if(0==t.f)return;n.f==t.f?ib(n.b,n.b,n.e,t.b,t.e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f)}n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rq(n,t){var e;e=rt(n,t),0==n.f?(iB(t.b,0,n.b,0,t.e),n.f=-t.f):n.f!=t.f?(ib(n.b,n.b,n.e,t.b,t.e),n.f=e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f),n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rG(n,t,e){var r,i,o,f,u,c,s,h,a,b;if(e.f<=0)throw new ni(or);return(r=n,(1==e.e&&1==e.b[0])|t.f>0&0==r.f)?fA:0==r.f&&0==t.f?fS:(t.f<0&&(r=rO(n,e),t=t.cb()),i=e.gb(0)?rs(r._(),t,e):(o=r._(),f=t,u=e.bb(),h=rs(o,f,c=e.fb(u)),a=function(n,t,e){var r,i,o,f,u;for(rW(),f=fS,i=eb(t),r=eb(n),n.gb(0)&&eA(i,e-1),eA(r,e),o=i.ab()-1;o>=0;--o)eA(u=eb(f),e),f=et(f,u),(i.b[~~o>>5]&1<<(31&o))!=0&&eA(f=et(f,r),e);return eA(f,e),f}(o,f,u),s=function(n,t){var e,r,i,o;for(e=1,(r=new e9(tU(up,{6:1},-1,1<>5]&1<<(31&o))!=0&&(r.b[~~e>>5]|=1<<(31&e));return r}(c,u),eA(b=et(ih(a,h),s),u),b.f<0&&(b=ix(b,e4(u))),ix(h,et(c,b))),r.f<0&&t.gb(0)&&(i=ee(et(ih(e,fS),i),e)),i)}function rz(n,t){var e,r,i,o,f,u,c;if(i=ew(n),(r=ew(t))>=n.e)return rW(),fA;for(f=tU(up,{6:1},-1,u=n.e,1),(e=i>r?i:r)==r&&(f[e]=-t.b[e]&n.b[e],++e),o=np(t.e,n.e);e=t.e)for(;e0?t:0):t>=0?n.b<54?new ti(n.g,eK(t)):new tS((n.d||(n.d=eP(n.g)),n.d),eK(t)):-t>t,o=~~n.m>>t|e<<22-t,i=~~n.l>>t|n.m<<22-t):t<44?(f=r?1048575:0,o=~~e>>t-22,i=~~n.m>>t-22|e<<44-t):(f=r?1048575:0,o=r?4194303:0,i=~~e>>t-44),ty(4194303&i,4194303&o,1048575&f)}function rW(){var n;for(n=0,rW=g,fS=new tV(1,1),fB=new tV(1,10),fA=new tV(0,0),fx=new tV(-1,1),fM=tK(u9,{6:1},17,[fA,fS,new tV(1,2),new tV(1,3),new tV(1,4),new tV(1,5),new tV(1,6),new tV(1,7),new tV(1,8),new tV(1,9),fB]),fN=tU(u9,{6:1},17,32,0);n=t.e)return t;if(r>=n.e)return n;if(o=tU(up,{6:1},-1,f=np(n.e,t.e),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?(rW(),fx):(rW(),fA);if(rD(i=tU(up,{6:1},-1,(o=n.e-r)+1,1),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?rS(n,t,e):rS(t,n,-e):n_(n.b,t.b)+1<54?new ti(n.g+t.g,n.f):new tM(ix((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f)}function r2(n,t){var e,r,i,o,f;return(r=th(e5(t),o5),rN(n,oJ))?(o=iI(n,r,!1),f=n5(n,r)):(o=iI(e=rP(n,1),i=e5(~~t>>>1),!1),f=eY(rU(f=n5(e,i),1),th(n,oK)),(1&t)!=0&&(rA(o,f)?rA(e0(o,f),r)?(f=eY(f,e0(rU(r,1),o)),o=e0(o,oW)):(f=eY(f,e0(r,o)),o=e0(o,oK)):f=e0(f,o))),ta(rU(f,32),th(o,o5))}function r3(n){var t,e,r,i;return isNaN(n)?(eS(),fc):n<-0x8000000000000000?(eS(),ff):n>=0x8000000000000000?(eS(),fo):(r=!1,n<0&&(r=!0,n=-n),e=0,n>=0x100000000000&&(e=eo(n/0x100000000000),n-=0x100000000000*e),t=0,n>=4194304&&(t=eo(n/4194304),n-=4194304*t),i=ty(eo(n),t,e),r&&eT(i),i)}function r6(n){var t,e,r,i;if(0==n.l&&0==n.m&&0==n.h)return iW;if(524288==n.h&&0==n.m&&0==n.l)return"-9223372036854775808";if(~~n.h>>19!=0)return iJ+r6(eQ(n));for(e=n,r=iV;!(0==e.l&&0==e.m&&0==e.h);){if(e=iI(e,e5(1e9),!0),t=iV+nB(o7),!(0==e.l&&0==e.m&&0==e.h))for(i=9-t.length;i>0;--i)t=iW+t;r=t+r}return r}function r5(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m,y,C,x,S,M,B,A;if(0==(i=t.f))throw new ni(ot);return(r=t.e,e=t.b,1==r)?(g=e[0],(M=n.b,B=n.e,A=n.f,1==B)?(_=iI(w=th(e5(M[0]),o5),d=th(e5(g),o5),!1),y=n5(w,d),A!=i&&(_=eQ(_)),A<0&&(y=eQ(y)),tK(u9,{6:1},17,[eZ(_),eZ(y)])):(m=A==i?1:-1,v=tU(up,{6:1},-1,B,1),C=tK(up,{6:1},-1,[ii(v,M,B,g)]),x=new to(m,B,v),S=new to(A,1,C),tZ(x),tZ(S),tK(u9,{6:1},17,[x,S]))):(a=n.b,((b=n.e)!=r?b>r?1:-1:eI(a,e,b))<0)?tK(u9,{6:1},17,[fA,n]):(l=n.f,f=b-r+1,u=l==i?1:-1,c=iL(o=tU(up,{6:1},-1,f,1),f,a,b,e,r),s=new to(u,f,o),h=new to(l,r,c),tZ(s),tZ(h),tK(u9,{6:1},17,[s,h]))}function r4(n){var t;if(0==n.f||0==n.b&&-1!=n.g)return n.d||(n.d=eP(n.g)),n.d;if(n.f<0)return et((n.d||(n.d=eP(n.g)),n.d),im(-n.f));if(n.f>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)||n.f>(n.d||(n.d=eP(n.g)),n.d).bb()||0!=(t=r5((n.d||(n.d=eP(n.g)),n.d),im(n.f)))[1].r())throw new ni(og);return t[0]}function r9(n,t,e,r,i){var o,f;if(o=oJ,e36)throw new nd("radix "+t+" out of range");for(e=i=(r=n.length)>0&&45==n.charCodeAt(0)?1:0;e0x7fffffff)throw new nd(os+n+iG);return o}function r7(n){var t,e;if(0==n.f)return rW(),fx;if(eV(n,(rW(),fx)))return fA;if(e=tU(up,{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 ie(n,t){var e,r,i,o,f,u,c,s,h;if(s=0==n.f?1:n.f,f=~~t>>5,e=31&t,u=tU(up,{6:1},-1,c=n_(f+1,n.e)+1,1),r=1<=n.e)u[f]=r;else if(f>(i=ew(n)))u[f]^=r;else if(f=0||0==s.f||1==s.e&&1==s.b[0])if(!(1==(h=rG(s,u,n)).e&&1==h.b[0]||h.eQ(f))){for(i=1;i=0;--u)rN(h=ta(rU(s,32),th(e5(t[u]),o5)),oJ)?(c=iI(h,o,!1),s=n5(h,o)):(c=iI(i=rP(h,1),f=e5(~~r>>>1),!1),s=eY(rU(s=n5(i,f),1),th(h,oK)),(1&r)!=0&&(rA(c,s)?rA(e0(c,s),o)?(s=eY(s,e0(rU(o,1),c)),c=e0(c,oW)):(s=eY(s,e0(o,c)),c=e0(c,oK)):s=e0(s,c))),n[u]=nB(th(c,o5));return nB(s)}function io(n,t){var e,r,i,o,f,u,c;if(f=tU(up,{6:1},-1,u=n_(n.e,t.e),1),i=ew(n),e=r=ew(t),i==r)f[r]=-n.b[r]^-t.b[r];else{for(f[r]=-t.b[r],o=np(t.e,i),++e;et.g?1:0:(r=n.f-t.f,(e=(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1))>r+1)?i:e0&&(f=et(f,im(r))),rt(o,f))}function is(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g;if(o=t.b,!((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-o<0||0==o||(r=n.q()-o)<=0)){if(n.b<54){l=r3(fl[c=r]),b=e0(r3(n.f),e5(c)),a=iI(g=r3(n.g),l,!1),tm(h=n5(g,l),oJ)&&(s=tv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?0:nv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?-1:1,a=eY(a,e5(it(1&nB(a),(tv(h,oJ)?0:nv(h,oJ)?-1:1)*(5+s),t.c))),tn(ri(nv(a,oJ)?eQ(a):a))>=t.b&&(a=nQ(a,oX),b=e0(b,oK))),n.f=eK(ri(b)),n.e=t.b,n.g=ri(a),n.b=eX(a),n.d=null;return}u=im(r),i=r5((n.d||(n.d=eP(n.g)),n.d),u),f=n.f-r,0!=i[1].r()&&(e=rt(eH(i[1]._()),u),0!=(e=it(i[0].gb(0)?1:0,i[1].r()*(5+e),t.c))&&rn(i,0,ix(i[0],eZ(e5(e)))),new nL(i[0]).q()>o&&(rn(i,0,ia(i[0],(rW(),fB))),--f)),n.f=eK(f),n.e=o,tO(n,i[0])}}function ih(n,t){var e,r,i,o,f,u,c,s,h,a;if(f=n.f,0==(c=t.f))return n;if(0==f)return t.cb();if((o=n.e)+(u=t.e)==2)return e=th(e5(n.b[0]),o5),r=th(e5(t.b[0]),o5),f<0&&(e=eQ(e)),c<0&&(r=eQ(r)),eZ(e0(e,r));if(-1==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))a=-c,h=f==c?tJ(t.b,u,n.b,o):t5(t.b,u,n.b,o);else if(a=f,f==c){if(0==i)return rW(),fA;h=tJ(n.b,o,t.b,u)}else h=t5(n.b,o,t.b,u);return tZ(s=new to(a,h.length,h)),s}function ia(n,t){var e,r,i,o,f,u,c,s,h,a;if(0==t.f)throw new ni(ot);return(i=t.f,1==t.e&&1==t.b[0])?t.f>0?n:n.cb():(h=n.f,(s=n.e)+(r=t.e)==2)?(a=nQ(th(e5(n.b[0]),o5),th(e5(t.b[0]),o5)),h!=i&&(a=eQ(a)),eZ(a)):0==(e=s!=r?s>r?1:-1:eI(n.b,t.b,s))?h==i?fS:fx:-1==e?fA:(o=tU(up,{6:1},-1,f=s-r+1,1),u=h==i?1:-1,1==r?ii(o,n.b,s,t.b[0]):iL(o,f,n.b,s,t.b,r),tZ(c=new to(u,f,o)),c)}function ib(n,t,e,r,i){var o,f;if(o=eY(th(e5(t[0]),o5),th(e5(r[0]),o5)),n[0]=nB(o),o=rK(o,32),e>=i){for(f=1;f0){if(i0?f=tQ(f,eo(i)):i<0&&(o=tQ(o,eo(-i))),id(o,f,e,r)}function iw(n,t){var e,r,i,o,f,u,c;if(r=ew(t),(i=ew(n))>=t.e)return t;if(f=tU(up,{6:1},-1,u=t.e,1),rt.ab()?(c=eN(s),o=eN(t),i=tv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?0:nv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?-1:1):i=rt(eH(s._()),t._()),0!=(i=it(u.gb(0)?1:0,h*(5+i),r))){if(54>u.ab())return eL(eY(eN(u),e5(i)),e);u=ix(u,eZ(e5(i)))}return new tS(u,e)}function ip(n){var t,e,r,i,o,f;return null!=n.i?n.i:n.b<32?(n.i=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;if(iM(),(f=nv(n,oJ))&&(n=eQ(n)),tv(n,oJ))switch(t){case 0:return iW;case 1:return iX;case 2:return iY;case 3:return i0;case 4:return i1;case 5:return i2;case 6:return i3;default:return s=new W,t<0?s.b.b+=i5:s.b.b+=i6,b=s.b,l=-0x80000000==t?"2147483648":iV+-t,b.b+=l,s.b.b}c=tU(uK,{6:1},-1,19,1),e=18,a=n;do u=a,a=nQ(a,oX),c[--e]=65535&nB(eY(o1,e0(u,iR(a,oX))));while(tm(a,oJ))if(r=e0(e0(e0(o0,e5(e)),e5(t)),oK),0==t)return f&&(c[--e]=45),tP(c,e,18-e);if(t>0&&rN(r,oG)){if(rN(r,oJ)){for(o=17,i=e+nB(r);o>=i;--o)c[o+1]=c[o];return c[++i]=46,f&&(c[--e]=45),tP(c,e,18-e+1)}for(o=2;nv(e5(o),eY(eQ(r),oK));++o)c[--e]=48;return c[--e]=46,c[--e]=48,f&&(c[--e]=45),tP(c,e,18-e)}return(h=e+1,s=new Z,f&&(s.b.b+=iJ),18-h>=1)?(tE(s,c[e]),s.b.b+=iK,g=s.b,w=tP(c,e+1,18-e-1),g.b+=w):(d=s.b,_=tP(c,e,18-e),d.b+=_),s.b.b+=oc,rA(r,oJ)&&(s.b.b+=iz),v=s.b,m=iV+r6(r),v.b+=m,s.b.b}(r3(n.g),eo(n.f)),n.i):(i=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)?i:(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,e=i.length,r=-n.f+e-t,f=(o=new W).b,f.b+=i,n.f>0&&r>=-6?r>=0?n8(o,e-eo(n.f),iK):(te(o.b,t-1,t-1,iZ),n8(o,t+1,tP(fh,0,-eo(r)-1))):(e-t>=1&&(te(o.b,t,t,iK),++e),te(o.b,e,e,oc),r>0&&n8(o,++e,iz),n8(o,++e,iV+r6(r3(r)))),n.i=o.b.b,n.i)}function i_(n,t){var e,r,i,o,f,u;if(i=ew(n),o=ew(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]=f;break}i[o]=f.substring(0,c.index),f=f.substring(c.index+c[0].length,f.length),r.lastIndex=0,u==f&&(i[o]=f.substring(0,1),f=f.substring(1)),u=f,o++}if(0==e&&n.length>0){for(var s=i.length;s>0&&i[s-1]==iV;)--s;s1e6)throw new ni("power of ten too big");if(n<=0x7fffffff)return fV[1].db(t).eb(t);for(i=r=fV[1].db(0x7fffffff),e=r3(n-0x7fffffff),t=eo(n%0x7fffffff);rA(e,o6);)i=et(i,r),e=e0(e,o6);for(i=(i=et(i,fV[1].db(t))).eb(0x7fffffff),e=r3(n-0x7fffffff);rA(e,o6);)i=i.eb(0x7fffffff),e=e0(e,o6);return i.eb(t)}function iy(){var n,t;c&&rM("com.iriscouch.gwtapp.client.BigDecimalApp"),nZ(new K),nY(new j),nX(new F),tk(new H),c&&rM("com.google.gwt.user.client.UserAgentAsserter"),tF(oF,n=-1!=(t=r.userAgent.toLowerCase()).indexOf(oT)?oT:-1!=t.indexOf("webkit")||function(){if(-1!=t.indexOf("chromeframe"))return!0;if(typeof e.ActiveXObject!=o$)try{var n=new ActiveXObject("ChromeTab.ChromeFrame");if(n)return n.registerBhoIfNeeded(),!0}catch(n){}return!1}()?oF:-1!=t.indexOf(oD)&&u.documentMode>=9?"ie9":-1!=t.indexOf(oD)&&u.documentMode>=8?"ie8":!function(){var n=/msie ([0-9]+)\.([0-9]+)/.exec(t);if(n&&3==n.length)return 1e3*parseInt(n[1])+parseInt(n[2])>=6e3}()?-1!=t.indexOf("gecko")?"gecko1_8":"unknown":"ie6")||f.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"),c&&rM("com.google.gwt.user.client.DocumentModeAsserter"),function(){var n,t,e;for(e=0,t=u.compatMode,n=tK(uI,{6:1},1,[oo]);e>5,this.b=tU(up,{6:1},-1,this.e,1);f=0x80000000&&(r-=0x100000000),r));this.b[this.e-1]>>>=31&-n,tZ(this)}}function ix(n,t){var e,r,i,o,f,u,c,s,h,a,b,l;if(f=n.f,c=t.f,0==f)return t;if(0==c)return n;if((o=n.e)+(u=t.e)==2)return(e=th(e5(n.b[0]),o5),r=th(e5(t.b[0]),o5),f==c)?(l=nB(s=eY(e,r)),0==(b=nB(rP(s,32)))?new tV(f,l):new to(f,2,tK(up,{6:1},-1,[l,b]))):eZ(f<0?e0(r,e):e0(e,r));if(f==c)a=f,h=o>=u?t5(n.b,o,t.b,u):t5(t.b,u,n.b,o);else{if(0==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))return rW(),fA;1==i?(a=f,h=tJ(n.b,o,t.b,u)):(a=c,h=tJ(t.b,u,n.b,o))}return tZ(s=new to(a,h.length,h)),s}function iS(n){var t,e,r,i;if(rF(),null==n)throw new nc("null string");if((t=t4(n)).length<27||t.length>45)throw new nf(oM);for(r=0;rue.length)throw new q;if(o=null,i=null,67==r[0]?(i=fX,o=f4):68==r[0]?(i=fY,o=f9):70==r[0]?(i=f0,o=f8):72==r[0]?e>6&&(68==r[5]?(i=f1,o=f7):69==r[5]?(i=f2,o=un):85==r[5]&&(i=f3,o=ut)):85==r[0]&&(80==r[1]?(i=f5,o=ur):78==r[1]&&(i=f6,o=ue)),i&&e==o.length){for(t=1;tl||r+i>s)throw new G;if(((1&a.c)==0||(4&a.c)!=0)&&b!=c){if(h=tT(n,11),o=tT(e,11),nj(n)===nj(e)&&tr;)rn(o,u,h[--t]);else for(u=r+i;rh.r()&&(s=s.cb()),c=eK(e+(o>f?o:f)),new tS(s=(i=o-f)>0?(il(),i>19!=0&&(t=eQ(t),c=!0),f=((b=(h=t).l)&b-1)!=0||((l=h.m)&l-1)!=0||((a=h.h)&a-1)!=0||0==a&&0==l&&0==b?-1:0==a&&0==l&&0!=b?es(b):0==a&&0!=l&&0==b?es(l)+22:0!=a&&0==l&&0==b?es(a)+44:-1,o=!1,i=!1,r=!1,524288==n.h&&0==n.m&&0==n.l){if(i=!0,o=!0,-1!=f)return u=rK(n,f),c&&eT(u),e&&(o7=ty(0,0,0)),u;n=nT((eS(),fo)),r=!0,c=!c}else~~n.h>>19!=0&&(o=!0,n=eQ(n),r=!0,c=!c);return -1!=f?(g=n,w=c,d=o,_=rK(g,f),w&&eT(_),e&&(v=g,f<=22?(m=v.l&(1<=0&&((g=n.h-f.h)<0||(b=n.l-f.l,(g+=~~(l=n.m-f.m+(~~b>>22))>>22)<0||(n.l=4194303&b,n.m=4194303&l,n.h=1048575&g,0))||(c<22?u.l|=1<>>1,f.m=~~h>>>1|(1&a)<<21,f.l=~~s>>>1|(1&h)<<21,--c;return e&&eT(u),o&&(r?(o7=eQ(n),i&&(o7=e0(o7,(eS(),fu)))):o7=ty(n.l,n.m,n.h)),u}(r?n:ty(n.l,n.m,n.h),t,c,o,i,e):(e&&(o7=o?eQ(n):ty(n.l,n.m,n.h)),ty(0,0,0))}function iE(n){var t=[];for(var e in n){var r=typeof n[e];r!=oQ?t[t.length]=r:n[e]instanceof Array?t[t.length]=oS:f&&f.bigdecimal&&f.bigdecimal.BigInteger&&n[e]instanceof f.bigdecimal.BigInteger?t[t.length]=on:f&&f.bigdecimal&&f.bigdecimal.BigDecimal&&n[e]instanceof f.bigdecimal.BigDecimal?t[t.length]=i9:f&&f.bigdecimal&&f.bigdecimal.RoundingMode&&n[e]instanceof f.bigdecimal.RoundingMode?t[t.length]=ow:f&&f.bigdecimal&&f.bigdecimal.MathContext&&n[e]instanceof f.bigdecimal.MathContext?t[t.length]=ob:t[t.length]=oQ}return t.join(iq)}function iR(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;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,f=~~(1048320&n.h)>>8,u=8191&t.l,c=~~t.l>>13|(15&t.m)<<9,s=~~t.m>>4&8191,h=~~t.m>>17|(255&t.h)<<5,a=~~(1048320&t.h)>>8,w=e*u,d=r*u,_=i*u,v=o*u,m=f*u,0!=c&&(d+=e*c,_+=r*c,v+=i*c,m+=o*c),0!=s&&(_+=e*s,v+=r*s,m+=i*s),0!=h&&(v+=e*h,m+=r*h),0!=a&&(m+=e*a),b=(4194303&w)+((511&d)<<13),l=(~~w>>22)+(~~d>>9)+((262143&_)<<4)+((31&v)<<17),g=(~~_>>18)+(~~v>>5)+((4095&m)<<8),l+=~~b>>22,b&=4194303,g+=~~l>>22,ty(b,l&=4194303,g&=1048575)}function iO(n,t,e){var r,i,o,f,u,c,s,h;if(h=ri(eY(e5(e.b),oW))+(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1)-(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1),c=i=n.f-t.f,o=1,u=fm.length-1,s=tK(u9,{6:1},17,[(n.d||(n.d=eP(n.g)),n.d)]),0==e.b||0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)return iN(n,t);if(h>0&&(rn(s,0,et((n.d||(n.d=eP(n.g)),n.d),im(h))),c+=h),f=(s=r5(s[0],(t.d||(t.d=eP(t.g)),t.d)))[0],0!=s[1].r())r=rt(eH(s[1]),(t.d||(t.d=eP(t.g)),t.d)),f=ix(et(f,(rW(),fB)),eZ(e5(s[0].r()*(5+r)))),++c;else for(;!f.gb(0);)if(0==(s=r5(f,fm[o]))[1].r()&&c-o>=i)c-=o,o=0)return n;return 0==e?n_(n.b,t.b)+1<54?new ti(n.g-t.g,n.f):new tM(ih((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f):e>0?e0?t.e:nP((t.b-1)*.3010299956639812)+1)+o>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)+1||0==n.b&&-1!=n.g)rW(),r=fA;else if(0==o)r=ia((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d));else if(o>0)f=im(o),r=ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),f)),r=et(r,f);else{for(f=im(-o),r=ia(et((n.d||(n.d=eP(n.g)),n.d),f),(t.d||(t.d=eP(t.g)),t.d));!r.gb(0);)if(0==(u=r5(r,fm[e]))[1].r()&&c-e>=o)c-=e,e=0;){if(w[a]==c)s=-1;else if(s=nB(m=r2(eY(rU(th(e5(w[a]),o5),32),th(e5(w[a-1]),o5)),c)),v=nB(rK(m,32)),0!=s){_=!1,++s;do{if(--s,_)break;l=iR(th(e5(s),o5),th(e5(d[o-2]),o5)),y=eY(rU(e5(v),32),th(e5(w[a-2]),o5)),32>r$(nB(rP(g=eY(th(e5(v),o5),th(e5(c),o5)),32)))?_=!0:v=nB(g)}while(rA(tb(l,oV),tb(y,oV)))}if(0!=s&&0!=function(n,t,e,r,i){var o,f,u;for(u=0,o=oJ,f=oJ;u0)rn(b,0,ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),im(o)))),a=o<(h-l+1>0?h-l+1:0)?o:h-l+1>0?h-l+1:0,rn(b,0,et(b[0],im(a)));else if(f=-o<(h-i>0?h-i:0)?-o:h-i>0?h-i:0,b=r5(et((n.d||(n.d=eP(n.g)),n.d),im(f)),(t.d||(t.d=eP(t.g)),t.d)),a+=f,f=-a,0!=b[1].r()&&f>0&&(0==(r=new nL(b[1]).q()+f-t.q())&&(rn(b,1,ia(et(b[1],im(f)),(t.d||(t.d=eP(t.g)),t.d))),r=(d=b[1].r())<0?-d:d),r>0))throw new ni(ou);if(0==b[0].r())return eU(o);for(w=b[0],g=(c=new nL(b[0])).q(),u=1;!w.gb(0);)if(0==(b=r5(w,fm[u]))[1].r()&&(g-u>=h||a-u>=o))g-=u,a-=u,uh)throw new ni(ou);return c.f=eK(a),tO(c,w),c}function ij(){var n;for(n=0,ij=g,fJ=tK(up,{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]),fK=tU(u9,{6:1},17,(fW=tK(up,{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])).length,0);n=0;--c)w=function(n){var t,e,r;return rN(n,oJ)?(e=nQ(n,o3),r=n5(n,o3)):(e=nQ(t=rP(n,1),o2),r=eY(rU(r=n5(t,o2),1),th(n,oK))),ta(rU(r,32),th(e,o5))}(eY(rU(y,32),th(e5(S[c]),o5))),S[c]=nB(w),y=e5(nB(rK(w,32)));d=nB(y),g=e;do v[--e]=48+d%10&65535;while(0!=(d=~~(d/10))&&0!=e)for(u=0,r=9-g+e;u0;++u)v[--e]=48;for(h=M-1;0==S[h];--h)if(0==h)break n;M=h+1}for(;48==v[e];)++e}if(a=C<0,o=_-e-t-1,0==t)return a&&(v[--e]=45),tP(v,e,_-e);if(t>0&&o>=-6){if(o>=0){for(s=e+o,h=_-1;h>=s;--h)v[h+1]=v[h];return v[++s]=46,a&&(v[--e]=45),tP(v,e,_-e+1)}for(h=2;h<-o+1;++h)v[--e]=48;return v[--e]=46,v[--e]=48,a&&(v[--e]=45),tP(v,e,_-e)}return(x=e+1,m=new Z,a&&(m.b.b+=iJ),_-x>=1)?(tE(m,v[e]),m.b.b+=iK,I=m.b,E=tP(v,e+1,_-e-1),I.b+=E):(R=m.b,O=tP(v,e,_-e),R.b+=O),m.b.b+=oc,o>0&&(m.b.b+=iz),D=m.b,k=iV+o,D.b+=k,m.b.b}c&&c({moduleName:"gwtapp",sessionId:s,subSystem:"startup",evtGroup:"moduleStartup",millis:new Date().getTime(),type:"moduleEvalStart"});var iH,i$,iV="",iq=" ",iG='"',iz="+",iJ="-",iK=".",iW="0",iZ="0.",iX="0.0",iY="0.00",i0="0.000",i1="0.0000",i2="0.00000",i3="0.000000",i6="0E",i5="0E+",i4=":",i9="BigDecimal",i8="BigDecimal MathContext",i7="BigDecimal;",on="BigInteger",ot="BigInteger divide by zero",oe="BigInteger not invertible.",or="BigInteger: modulus not positive",oi="BigInteger;",oo="CSS1Compat",of="Division by zero",ou="Division impossible",oc="E",os='For input string: "',oh="Infinite or NaN",oa="Invalid Operation",ob="MathContext",ol="Negative bit address",og="Rounding necessary",ow="RoundingMode",od="RoundingMode;",op="String",o_="[Lcom.iriscouch.gwtapp.client.",ov="[Ljava.lang.",om="[Ljava.math.",oy="\\.",oC="__gwtex_wrap",ox="anonymous",oS="array",oM="bad string format",oB="bigdecimal",oA="com.google.gwt.core.client.",oN="com.google.gwt.core.client.impl.",oI="com.iriscouch.gwtapp.client.",oE="java.lang.",oR="java.math.",oO="java.util.",oD="msie",ok="null",oL="number",oU="number MathContext",oP="number number",oQ="object",oT="opera",oj="org.timepedia.exporter.client.",oF="safari",oH="string",o$="undefined",oV={l:0,m:0,h:524288},oq={l:0,m:4193280,h:1048575},oG={l:4194298,m:4194303,h:1048575},oz={l:4194303,m:4194303,h:1048575},oJ={l:0,m:0,h:0},oK={l:1,m:0,h:0},oW={l:2,m:0,h:0},oZ={l:5,m:0,h:0},oX={l:10,m:0,h:0},oY={l:11,m:0,h:0},o0={l:18,m:0,h:0},o1={l:48,m:0,h:0},o2={l:877824,m:119,h:0},o3={l:1755648,m:238,h:0},o6={l:4194303,m:511,h:0},o5={l:4194303,m:1023,h:0},o4={l:0,m:1024,h:0};(i$=h.prototype={}).eQ=function(n){return this===n},i$.gC=function(){return us},i$.hC=function(){return nF(this)},i$.tS=function(){return this.gC().d+"@"+function(n){var t,e,r;if(t=tU(uK,{6:1},-1,8,1),rv(),e=fO,r=7,n>=0)for(;n>15;)t[r--]=e[15&n],n>>=4;else for(;r>0;)t[r--]=e[15&n],n>>=4;return t[r]=e[15&n],t6(t,r,8)}(this.hC())},i$.toString=function(){return this.tS()},i$.tM=g,i$.cM={},(i$=a.prototype=new h).gC=function(){return ua},i$.j=function(){return this.f},i$.tS=function(){var n,t;return n=this.gC().d,null!=(t=this.j())?n+": "+t:n},i$.cM={6:1,15:1},i$.f=null,(i$=b.prototype=new a).gC=function(){return ub},i$.cM={6:1,15:1},(i$=nr.prototype=l.prototype=new b).gC=function(){return ul},i$.cM={6:1,12:1,15:1},(i$=n1.prototype=(function(){}).prototype=new l).gC=function(){return ug},i$.j=function(){var n,t,e,r,i;return null==this.d&&(this.e=null==(e=this.c)?ok:tt(e)?null==(r=t8(e))?null:r.name:nz(e,1)?op:(nH(e)?e.gC():uw).d,this.b=tt(n=this.c)?null==(i=t8(n))?null:i.message:n+iV,this.d="("+this.e+"): "+this.b+(tt(t=this.c)?function(n){var t=iV;try{for(var e in n)if("name"!=e&&"message"!=e&&"toString"!=e)try{t+="\n "+e+": "+n[e]}catch(n){}}catch(n){}return t}(t8(t)):iV)),this.d},i$.cM={6:1,12:1,15:1},i$.b=null,i$.c=null,i$.d=null,i$.e=null,(i$=w.prototype=new h).gC=function(){return ud};var o9=0,o8=0;(i$=d.prototype=(function(){}).prototype=new w).gC=function(){return um},i$.b=null,i$.c=null,(i$=_.prototype=v.prototype=new h).k=function(){for(var n={},t=[],e=arguments.callee.caller.caller;e;){var r,i,o=this.n(e.toString());t.push(o);var f=i4+o,u=n[f];if(u){for(r=0,i=u.length;r0?i:ox},i$.gC=function(){return uy},i$.o=function(n){return[]},(i$=m.prototype=new v).k=function(){return tg(this.o(td()),this.p())},i$.gC=function(){return uS},i$.o=function(n){return eO(this,n)},i$.p=function(){return 2},(i$=y.prototype=(function(){}).prototype=new m).k=function(){return eh(this)},i$.n=function(n){var t,e;return 0==n.length||(0==(e=e8(n)).indexOf("at ")&&(e=n7(e,3)),-1==(t=e.indexOf("["))&&(t=e.indexOf("(")),-1==t)?ox:(-1!=(t=(e=e8(e.substr(0,t-0))).indexOf("."))&&(e=n7(e,t+1)),e.length>0?e:ox)},i$.gC=function(){return uM},i$.o=function(n){return t3(this,n)},i$.p=function(){return 3},(i$=C.prototype=new h).gC=function(){return uB},(i$=x.prototype=(function(){}).prototype=new C).gC=function(){return uA},i$.b=iV,(i$=S.prototype=(function(){}).prototype=new h).gC=function(){return this.aC},i$.aC=null,i$.qI=0;var o7=null,fn=null;(i$=M.prototype=(function(){}).prototype=new h).gC=function(){return uE},i$.cM={2:1},(i$=B.prototype=new h).gC=function(){return uO},i$.cM={6:1,10:1};var ft=null;(i$=ef.prototype=ti.prototype=tM.prototype=tN.prototype=X.prototype=e_.prototype=eu.prototype=tA.prototype=tB.prototype=eJ.prototype=n3.prototype=n6.prototype=tr.prototype=tS.prototype=nL.prototype=A.prototype=new B).eQ=function(n){return e2(this,n)},i$.gC=function(){return uD},i$.hC=function(){return rm(this)},i$.q=function(){return rj(this)},i$.r=function(){return ed(this)},i$.tS=function(){return ip(this)},i$.cM={6:1,8:1,10:1,16:1},i$.b=0,i$.c=0,i$.d=null,i$.e=0,i$.f=0,i$.g=0,i$.i=null;var fe,fr,fi,fo,ff,fu,fc,fs,fh,fa,fb,fl,fg,fw,fd,fp,f_,fv=null,fm=null,fy=null;(i$=nU.prototype=nw.prototype=(function(){}).prototype=new A).s=function(n){var t,e,r;if((e=iE(n))==iV)t=0>ed(this)?ep(this):this;else if(e==ob)t=0>(r=t7(this,new iS(n[0].toString()))).r()?ep(r):r;else throw new nr("Unknown call signature for interim = super.abs: "+e);return new nU(t)},i$.t=function(n){var t,e;if((e=iE(n))==i9)t=r1(this,new X(n[0].toString()));else if(e==i8)t=function(n,t,e){var r,i,o,f;if(r=n.f-t.f,0==t.b&&-1!=t.g||0==n.b&&-1!=n.g||0==e.b)return t7(r1(n,t),e);if((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)0?t.e:nP((t.b-1)*.3010299956639812)+1)<-r-1))return t7(r1(n,t),e);i=n,f=t}return e.b>=(i.e>0?i.e:nP((i.b-1)*.3010299956639812)+1)?t7(r1(n,t),e):t7(i=new tM((o=i.r())==f.r()?ix(rZ((i.d||(i.d=eP(i.g)),i.d),10),eZ(e5(o))):ix(rZ(ih((i.d||(i.d=eP(i.g)),i.d),eZ(e5(o))),10),eZ(e5(9*o))),i.f+1),e)}(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.add: "+e);return new nU(t)},i$.u=function(){return~~(nB(en(this,8))<<24)>>24},i$.v=function(n){return ic(this,n)},i$.w=function(n){var t,e,r,i;if((i=iE(n))==i9)e=el(this,new X(n[0].toString()));else if(i==i8)e=eg(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.divideAndRemainder: "+i);for(t=0,r=tU(uL,{6:1},3,e.length,0);t129?n*=1/0:n=t9(ip(this)),n},i$.gC=function(){return uk},i$.hC=function(){return rm(this)},i$.B=function(){var n;return this.f<=-32||this.f>(this.e>0?this.e:nP((this.b-1)*.3010299956639812)+1)?0:(n=new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))).f*n.b[0]},i$.C=function(){return nB(en(this,32))},i$.D=function(){return nB(en(this,32))},i$.E=function(){return t9(ip(this))},i$.F=function(n){return new nU(ic(this,n)>=0?this:n)},i$.G=function(n){return new nU(0>=ic(this,n)?this:n)},i$.H=function(n){return new nU(rJ(this,this.f+n))},i$.I=function(n){return new nU(rJ(this,this.f-n))},i$.J=function(n){var t,e;if((e=iE(n))==i9)t=rk(this,new X(n[0].toString()));else if(e==i8)t=tl(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.multiply: "+e);return new nU(t)},i$.K=function(n){var t,e;if((e=iE(n))==iV)t=ep(this);else if(e==ob)t=ep(t7(this,new iS(n[0].toString())));else throw new nr("Unknown call signature for interim = super.negate: "+e);return new nU(t)},i$.L=function(n){var t,e;if((e=iE(n))==iV)t=this;else if(e==ob)t=t7(this,new iS(n[0].toString()));else throw new nr("Unknown call signature for interim = super.plus: "+e);return new nU(t)},i$.M=function(n){var t,e;if((e=iE(n))==oL)t=rd(this,n[0]);else if(e==oU)t=function(n,t,e){var r,i,o,f,u,c;if(o=t<0?-t:t,f=e.b,i=eo(tn(o))+1,u=e,0==t||0==n.b&&-1!=n.g&&t>0)return rd(n,t);if(o>0x3b9ac9ff||0==f&&t<0||f>0&&i>f)throw new ni(oa);for(f>0&&(u=new eW(f+i+1,e.c)),r=t7(n,u),c=~~function(n){var t;if(n<0)return -0x80000000;if(0==n)return 0;for(t=0x40000000;(t&n)==0;t>>=1);return t}(o)>>1;c>0;)r=tl(r,r,u),(o&c)==c&&(r=tl(r,n,u)),c>>=1;return t<0&&(r=iO(fw,r,u)),is(r,e),r}(this,n[0],new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.pow: "+e);return new nU(t)},i$.q=function(){return rj(this)},i$.N=function(n){var t,e;if((e=iE(n))==i9)t=el(this,new X(n[0].toString()))[1];else if(e==i8)t=eg(this,new X(n[0].toString()),new iS(n[1].toString()))[1];else throw new nr("Unknown call signature for interim = super.remainder: "+e);return new nU(t)},i$.O=function(n){return new nU(t7(this,new iS(ea(n.b))))},i$.P=function(){return eo(this.f)},i$.Q=function(n){var t;return new nU((t=this.f-n,this.b<54)?0==this.g?eU(t):new ti(this.g,eK(t)):new tS((this.d||(this.d=eP(this.g)),this.d),eK(t)))},i$.R=function(n){var t,e;if((e=iE(n))==oL)t=r0(this,n[0],(iA(),f6));else if(e==oP)t=r0(this,n[0],rQ(n[1]));else if("number RoundingMode"==e)t=r0(this,n[0],ts(n[1].toString()));else throw new nr("Unknown call signature for interim = super.setScale: "+e);return new nU(t)},i$.S=function(){return~~(nB(en(this,16))<<16)>>16},i$.r=function(){return ed(this)},i$.T=function(){return new nU(function(n){var t,e,r,i,o;if(t=1,e=fm.length-1,r=n.f,0==n.b&&-1!=n.g)return new X(iW);for(n.d||(n.d=eP(n.g)),o=n.d;!o.gb(0);)if(0==(i=r5(o,fm[t]))[1].r())r-=t,t0?r.e:nP((r.b-1)*.3010299956639812)+1)0?this.e:nP((this.b-1)*.3010299956639812)+1)?t7(new tM((f=ed(this))!=r.r()?ix(rZ((this.d||(this.d=eP(this.g)),this.d),10),eZ(e5(f))):ix(rZ(ih((this.d||(this.d=eP(this.g)),this.d),eZ(e5(f))),10),eZ(e5(9*f))),this.f+1),i):t7(iD(this,r),i);else throw new nr("Unknown call signature for interim = super.subtract: "+e);return new nU(t)},i$.V=function(){return new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))},i$.W=function(){return new n2(r4(this))},i$.X=function(){return function(n){var t,e,r,i,o,f,u,c;if(f=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)return f;if(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,r=f.length,i=-n.f+r-t,c=new nq(f),n.f>0&&i>=-6)i>=0?n8(c,r-eo(n.f),iK):(te(c.b,t-1,t-1,iZ),n8(c,t+1,tP(fh,0,-eo(i)-1)));else{if(e=r-t,0!=(u=eo(i%3))&&(0==(n.d||(n.d=eP(n.g)),n.d).r()?i+=u=u<0?-u:3-u:(i-=u=u<0?u+3:u,t+=u),e<3))for(o=u-e;o>0;--o)n8(c,r++,iW);r-t>=1&&(te(c.b,t,t,iK),++r),0!=i&&(te(c.b,r,r,oc),i>0&&n8(c,++r,iz),n8(c,++r,iV+r6(r3(i))))}return c.b.b}(this)},i$.Y=function(){return function(n){var t,e,r,i,o,f;if(r=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f||0==n.b&&-1!=n.g&&n.f<0)return r;if(t=0>ed(n)?1:0,e=n.f,i=new Z(r.length+1+((o=eo(n.f))<0?-o:o)),1==t&&(i.b.b+=iJ),n.f>0){if((e-=r.length-t)>=0){for(i.b.b+=iZ;e>fh.length;e-=fh.length)tG(i,fh);n9(i,fh,eo(e)),nE(i,n7(r,t))}else nE(i,(f=eo(e=t-e),r.substr(t,f-t))),i.b.b+=iK,nE(i,n7(r,eo(e)))}else{for(nE(i,n7(r,t));e<-fh.length;e+=fh.length)tG(i,fh);n9(i,fh,eo(-e))}return i.b.b}(this)},i$.tS=function(){return ip(this)},i$.Z=function(){return new nU(new ti(1,this.f))},i$.$=function(){return new n2((this.d||(this.d=eP(this.g)),this.d))},i$.cM={3:1,6:1,8:1,10:1,16:1,24:1},(i$=H.prototype=(function(){}).prototype=new h).gC=function(){return uU};var fC=!1;(i$=rf.prototype=ro.prototype=to.prototype=e9.prototype=tV.prototype=ra.prototype=nG.prototype=iC.prototype=N.prototype=new B)._=function(){return this.f<0?new to(1,this.e,this.b):this},i$.ab=function(){return eq(this)},i$.eQ=function(n){return eV(this,n)},i$.gC=function(){return uP},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.cb=function(){return 0==this.f?this:new to(-this.f,this.e,this.b)},i$.db=function(n){return rL(this,n)},i$.eb=function(n){return tY(this,n)},i$.fb=function(n){return t0(this,n)},i$.r=function(){return this.f},i$.gb=function(n){return rT(this,n)},i$.tS=function(){return iF(this,0)},i$.cM={6:1,8:1,10:1,17:1},i$.b=null,i$.c=-2,i$.d=0,i$.e=0,i$.f=0;var fx,fS,fM,fB,fA,fN=null;(i$=n2.prototype=nD.prototype=nk.prototype=(function(){}).prototype=new N)._=function(){return new n2(this.f<0?new to(1,this.e,this.b):this)},i$.hb=function(n){return new n2(ix(this,n))},i$.ib=function(n){return new n2(0==n.f||0==this.f?(rW(),fA):eV(n,(rW(),fx))?this:eV(this,fx)?n:this.f>0?n.f>0?function(n,t){var e,r,i,o;if(i=np(n.e,t.e),(e=n_(ew(n),ew(t)))>=i)return rW(),fA;for(r=tU(up,{6:1},-1,i,1);e0?rz(n,this):this.e>n.e?i_(this,n):i_(n,this))},i$.jb=function(n){return new n2(0==n.f?this:0==this.f?(rW(),fA):eV(this,(rW(),fx))?new n2(r7(n)):eV(n,fx)?fA:this.f>0?n.f>0?function(n,t){var e,r,i,o;for(i=tU(up,{6:1},-1,n.e,1),r=np(n.e,t.e),e=ew(n);e=n.e)return n;for(o=tU(up,{6:1},-1,f=np(n.e,t.e),1),e=i;e0?function(n,t){var e,r,i,o,f,u,c;if(i=ew(n),o=ew(t),i>=t.e)return n;if(c=n_(n.e,t.e),r=i,o>i){for(u=tU(up,{6:1},-1,c,1),f=np(n.e,o);r=t.e)return rW(),fA;if(f=tU(up,{6:1},-1,u=t.e,1),e=i,i0)for(;e34028234663852886e22?1/0:n<-34028234663852886e22?-1/0:n},i$.qb=function(n){return new n2(rR(this,n))},i$.gC=function(){return uQ},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.B=function(){return this.f*this.b[0]},i$.rb=function(n){return function(n,t){var e,r;if(ij(),t<=0||1==n.e&&2==n.b[0])return!0;if(!rT(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}(fW,n.b[0])>=0;for(r=1;r>1)?r:1+(~~(t-1)>>1))}(new n2(this.f<0?new to(1,this.e,this.b):this),n)},i$.sb=function(){return t9(iF(this,0))},i$.tb=function(n){return new n2(1==rt(this,n)?this:n)},i$.ub=function(n){return new n2(-1==rt(this,n)?this:n)},i$.vb=function(n){return new n2(ee(this,n))},i$.wb=function(n){return new n2(rO(this,n))},i$.xb=function(n,t){return new n2(rG(this,n,t))},i$.yb=function(n){return new n2(et(this,n))},i$.cb=function(){return new n2(0==this.f?this:new to(-this.f,this.e,this.b))},i$.zb=function(){return new n2(function(n){if(n.f<0)throw new ni("start < 0: "+n);return function(n){var t,e,r,i,o,f,u,c;if(ij(),o=tU(up,{6:1},-1,fW.length,1),r=tU(uv,{6:1},-1,1024,2),1==n.e&&n.b[0]>=0&&n.b[0]=fW[e];++e);return fK[e]}for(u=new to(1,n.e,tU(up,{6:1},-1,n.e+1,1)),iB(n.b,0,u.b,0,n.e),rT(n,0)?tW(u,2):u.b[0]|=1,i=u.ab(),t=2;i0?n.f>0?this.e>n.e?rg(this,n):rg(n,this):iw(this,n):n.f>0?iw(n,this):ew(n)>ew(this)?rX(n,this):rX(this,n))},i$.db=function(n){return new n2(rL(this,n))},i$.Cb=function(n){return new n2(rH(this,n))},i$.Db=function(n){return new n2(rT(this,n)?this:ie(this,n))},i$.eb=function(n){return new n2(tY(this,n))},i$.fb=function(n){return new n2(t0(this,n))},i$.r=function(){return this.f},i$.Eb=function(n){return new n2(ih(this,n))},i$.gb=function(n){return rT(this,n)},i$.Fb=function(n){var t,e;if((e=iE(n))==iV)t=iF(this,0);else if(e==oL)t=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v;if(iM(),w=n.f,h=n.e,u=n.b,0==w)return iW;if(1==h)return v=th(e5(u[0]),o5),w<0&&(v=eQ(v)),function(n,t){var e,r,i,o;if(10==t||t<2||t>36)return iV+r6(n);if(e=tU(uK,{6:1},-1,65,1),rv(),r=fO,i=64,o=e5(t),rN(n,oJ)){for(;rN(n,o);)e[i--]=r[nB(n5(n,o))],n=iI(n,o,!1);e[i]=r[nB(n)]}else{for(;!rA(n,eQ(o));)e[i--]=r[nB(eQ(n5(n,o)))],n=iI(n,o,!1);e[i--]=r[nB(eQ(n))],e[i]=45}return t6(e,i,65)}(v,t);if(10==t||t<2||t>36)return iF(n,0);if(r=Math.log(t)/Math.log(2),g=tU(uK,{6:1},-1,l=eo(eq(new n2(n.f<0?new to(1,n.e,n.b):n))/r+(w<0?1:0))+1,1),o=l,16!=t)for(iB(u,0,d=tU(up,{6:1},-1,h,1),0,h),_=h,i=fP[t],e=fU[t-2];;){b=ii(d,d,_,e),a=o;do g[--o]=em(b%t,t);while(0!=(b=~~(b/t))&&0!=o)for(c=0,f=i-a+o;c0;++c)g[--o]=48;for(c=_-1;c>0&&0==d[c];--c);if(1==(_=c+1)&&0==d[0])break}else for(c=0;c0;++s)b=~~u[c]>>(s<<2)&15,g[--o]=em(b,16);for(;48==g[o];)++o;return -1==w&&(g[--o]=45),tP(g,o,l-o)}(this,n[0]);else throw new nr("Unknown call signature for result = super.toString: "+e);return t},i$.Gb=function(n){return new n2(0==n.f?this:0==this.f?n:eV(n,(rW(),fx))?new n2(r7(this)):eV(this,fx)?new n2(r7(n)):this.f>0?n.f>0?this.e>n.e?rw(this,n):rw(n,this):iU(this,n):n.f>0?iU(n,this):ew(n)>ew(this)?io(n,this):io(this,n))},i$.cM={4:1,6:1,8:1,10:1,17:1,24:1},(i$=F.prototype=(function(){}).prototype=new h).gC=function(){return uj};var fI=!1;(i$=nm.prototype=ny.prototype=(function(){}).prototype=new h).gC=function(){return uF},i$.Hb=function(){return this.b.b},i$.Ib=function(){return new nn(this.b.c)},i$.hC=function(){return nM(this.b)},i$.tS=function(){return ea(this.b)},i$.cM={24:1},i$.b=null,(i$=j.prototype=(function(){}).prototype=new h).gC=function(){return uH};var fE=!1;(i$=nn.prototype=nC.prototype=(function(){}).prototype=new h).gC=function(){return u$},i$.Jb=function(){return this.b.b},i$.tS=function(){return this.b.b},i$.cM={5:1,24:1},i$.b=null,(i$=K.prototype=(function(){}).prototype=new h).gC=function(){return uq};var fR=!1;(i$=ni.prototype=(function(){}).prototype=new l).gC=function(){return uG},i$.cM={6:1,12:1,15:1},(i$=no.prototype=V.prototype=(function(){}).prototype=new l).gC=function(){return uJ},i$.cM={6:1,12:1,15:1},(i$=I.prototype=(function(){}).prototype=new h).gC=function(){return uW},i$.tS=function(){return((2&this.c)!=0?"interface ":(1&this.c)!=0?iV:"class ")+this.d},i$.b=null,i$.c=0,i$.d=null,(i$=$.prototype=(function(){}).prototype=new l).gC=function(){return uZ},i$.cM={6:1,12:1,15:1},(i$=E.prototype=new h).eQ=function(n){return this===n},i$.gC=function(){return uh},i$.hC=function(){return nF(this)},i$.tS=function(){return this.b},i$.cM={6:1,8:1,9:1},i$.b=null,i$.c=0,(i$=nf.prototype=q.prototype=R.prototype=new l).gC=function(){return uX},i$.cM={6:1,12:1,15:1},(i$=nu.prototype=G.prototype=O.prototype=new l).gC=function(){return uz},i$.cM={6:1,12:1,15:1},(i$=nc.prototype=z.prototype=(function(){}).prototype=new l).gC=function(){return uY},i$.cM={6:1,12:1,15:1},(i$=nd.prototype=(function(){}).prototype=new R).gC=function(){return u0},i$.cM={6:1,12:1,15:1},(i$=tf.prototype=(function(){}).prototype=new h).gC=function(){return uC},i$.tS=function(){return this.b+iK+this.d+"(Unknown Source"+(this.c>=0?i4+this.c:iV)+")"},i$.cM={6:1,13:1},i$.b=null,i$.c=0,i$.d=null,(i$=String.prototype).eQ=function(n){return tF(this,n)},i$.gC=function(){return uN},i$.hC=function(){var n,t;return nK(),null!=(t=fk[n=i4+this])?t:(null==(t=fD[n])&&(t=function(n){var t,e,r,i;for(t=0,i=(r=n.length)-4,e=0;etest
number
- \ No newline at end of file + \ No newline at end of file diff --git a/crates/swc_html_minifier/tests/fixture/element/script-group-respect-codegen/output.min.html b/crates/swc_html_minifier/tests/fixture/element/script-group-respect-codegen/output.min.html index 90b83b3b26b1..3ac8286c5c4b 100644 --- a/crates/swc_html_minifier/tests/fixture/element/script-group-respect-codegen/output.min.html +++ b/crates/swc_html_minifier/tests/fixture/element/script-group-respect-codegen/output.min.html @@ -2,4 +2,4 @@
test
number
- \ No newline at end of file + \ No newline at end of file From a9547a31f2e13c7fce3d13924c2d10f52adf2345 Mon Sep 17 00:00:00 2001 From: magic-akari Date: Tue, 10 Sep 2024 23:51:23 +0800 Subject: [PATCH 3/5] chore: prefer hex --- crates/swc_ecma_codegen/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/swc_ecma_codegen/src/lib.rs b/crates/swc_ecma_codegen/src/lib.rs index 5ebdea2a3523..bb5cfe0ac48c 100644 --- a/crates/swc_ecma_codegen/src/lib.rs +++ b/crates/swc_ecma_codegen/src/lib.rs @@ -4335,12 +4335,12 @@ fn minify_number(num: f64, detect_dot: &mut bool) -> String { if num.fract() == 0.0 && num.abs() <= u64::MAX as f64 { let int = num.abs() as u64; - if int < 0xffffff { + if int < 10000000 { break 'hex; } // use scientific notation - if int % 10000 == 0 { + if int % 1000 == 0 { break 'hex; } From 52f2238cef819d6aa08ba0d9a14e1c777c2a62fc Mon Sep 17 00:00:00 2001 From: magic-akari Date: Tue, 10 Sep 2024 23:57:56 +0800 Subject: [PATCH 4/5] chore: update test cases --- .../fixture/issues-9xxx/9540/input/index.js | 2 + .../fixture/issues-9xxx/9540/output/index.js | 2 +- .../fixture/next/react-pdf-renderer/output.js | 150 +++++++++--------- .../full/issue-5912-bigdecimal/output.js | 2 +- 4 files changed, 79 insertions(+), 77 deletions(-) diff --git a/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js b/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js index 3f8a4cce483e..b07723272200 100644 --- a/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js +++ b/crates/swc/tests/fixture/issues-9xxx/9540/input/index.js @@ -1,2 +1,4 @@ 219994525426954..toString(); 219994525420000..toString(); +12300000..toString(1); +12300001..toString(1); \ No newline at end of file diff --git a/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js b/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js index bb6dc9ab10e4..26740cc4f208 100644 --- a/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js +++ b/crates/swc/tests/fixture/issues-9xxx/9540/output/index.js @@ -1 +1 @@ -0xc815778a650a.toString();21999452542e4.toString(); +0xc815778a650a.toString();21999452542e4.toString();123e5.toString(1);0xbbaee1.toString(1); diff --git a/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js b/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js index f4343a013b4e..096ca6a05ac6 100644 --- a/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js +++ b/crates/swc_ecma_minifier/tests/fixture/next/react-pdf-renderer/output.js @@ -1888,10 +1888,10 @@ return U.default({}, e, { style: U.default({}, r, t) }); - }, e5 = function(e) { + }, e4 = function(e) { var t; return (null === (t = e.props) || void 0 === t ? void 0 : t.fixed) === !0; - }, e4 = function(e, t) { + }, e5 = function(e, t) { var r = 0; if (!e.lines) return 0; for(var n = 0; n < e.lines.length; n += 1){ @@ -1900,7 +1900,7 @@ r += i.box.height; } return e.lines.length; - }, e6 = function(e, t) { + }, e8 = function(e, t) { var r = 0; if (!e.lines) return r; for(var n = 0; n < t; n += 1){ @@ -1909,7 +1909,7 @@ r += i.box.height; } return r; - }, e8 = function(e, t) { + }, e6 = function(e, t) { var r = a.get(e, [ "box", "top" @@ -1919,10 +1919,10 @@ ], 2), i = a.get(e, [ "props", "orphans" - ], 2), o = e.lines.length, u = e4(e, t - r); + ], 2), o = e.lines.length, u = e5(e, t - r); return 0 === u ? 0 : o < i ? o : u < i || o < i + n ? 0 : o === i + n ? i : o - u < n ? o - n : u; }, e7 = function(e, t) { - var r = e8(e, t), n = e6(e, r), i = e.box.height - n; + var r = e6(e, t), n = e8(e, r), i = e.box.height - n; return [ Object.assign({}, e, { box: U.default({}, e.box, { @@ -2334,7 +2334,7 @@ "space-between": q.default.JUSTIFY_SPACE_BETWEEN, "space-around": q.default.JUSTIFY_SPACE_AROUND, "space-evenly": q.default.JUSTIFY_SPACE_EVENLY - }, tK = tW("margin", q.default.EDGE_TOP), tQ = tW("margin", q.default.EDGE_RIGHT), t$ = tW("margin", q.default.EDGE_BOTTOM), t0 = tW("margin", q.default.EDGE_LEFT), t1 = tW("padding", q.default.EDGE_TOP), t2 = tW("padding", q.default.EDGE_RIGHT), t3 = tW("padding", q.default.EDGE_BOTTOM), t5 = tW("padding", q.default.EDGE_LEFT), t4 = tW("border", q.default.EDGE_TOP), t6 = tW("border", q.default.EDGE_RIGHT), t8 = tW("border", q.default.EDGE_BOTTOM), t7 = tW("border", q.default.EDGE_LEFT), t9 = tW("position", q.default.EDGE_TOP), re = tW("position", q.default.EDGE_RIGHT), rt = tW("position", q.default.EDGE_BOTTOM), rr = tW("position", q.default.EDGE_LEFT), rn = tW("width"), ri = tW("minWidth"), ro = tW("maxWidth"), ra = tW("height"), ru = tW("minHeight"), rl = tW("maxHeight"), rs = function(e) { + }, tK = tW("margin", q.default.EDGE_TOP), tQ = tW("margin", q.default.EDGE_RIGHT), t$ = tW("margin", q.default.EDGE_BOTTOM), t0 = tW("margin", q.default.EDGE_LEFT), t1 = tW("padding", q.default.EDGE_TOP), t2 = tW("padding", q.default.EDGE_RIGHT), t3 = tW("padding", q.default.EDGE_BOTTOM), t4 = tW("padding", q.default.EDGE_LEFT), t5 = tW("border", q.default.EDGE_TOP), t8 = tW("border", q.default.EDGE_RIGHT), t6 = tW("border", q.default.EDGE_BOTTOM), t7 = tW("border", q.default.EDGE_LEFT), t9 = tW("position", q.default.EDGE_TOP), re = tW("position", q.default.EDGE_RIGHT), rt = tW("position", q.default.EDGE_BOTTOM), rr = tW("position", q.default.EDGE_LEFT), rn = tW("width"), ri = tW("minWidth"), ro = tW("maxWidth"), ra = tW("height"), ru = tW("minHeight"), rl = tW("maxHeight"), rs = function(e) { return e.lines ? Math.max.apply(Math, [ 0 ].concat(e.lines.map(function(e) { @@ -2391,10 +2391,10 @@ }; }, rm = rb(T.Svg), rD = rb(T.Text), rw = rb(T.Note), rE = rb(T.Page), r_ = rb(T.Image), rx = rb(T.Canvas), rS = rb(T.TextInstance), rA = function(e) { var t, r, n, i, o, u, l, s, c; - a.compose(ra(rE(e) ? e.box.height : e.style.height), rn(e.style.width), ri(e.style.minWidth), ro(e.style.maxWidth), ru(e.style.minHeight), rl(e.style.maxHeight), tK(e.style.marginTop), tQ(e.style.marginRight), t$(e.style.marginBottom), t0(e.style.marginLeft), t1(e.style.paddingTop), t2(e.style.paddingRight), t3(e.style.paddingBottom), t5(e.style.paddingLeft), (t = e.style.position, function(e) { + a.compose(ra(rE(e) ? e.box.height : e.style.height), rn(e.style.width), ri(e.style.minWidth), ro(e.style.maxWidth), ru(e.style.minHeight), rl(e.style.maxHeight), tK(e.style.marginTop), tQ(e.style.marginRight), t$(e.style.marginBottom), t0(e.style.marginLeft), t1(e.style.paddingTop), t2(e.style.paddingRight), t3(e.style.paddingBottom), t4(e.style.paddingLeft), (t = e.style.position, function(e) { var r = e._yogaNode; return !a.isNil(t) && r && r.setPositionType("absolute" === t ? q.default.POSITION_TYPE_ABSOLUTE : q.default.POSITION_TYPE_RELATIVE), e; - }), t9(e.style.top), re(e.style.right), rt(e.style.bottom), rr(e.style.left), t4(e.style.borderTopWidth), t6(e.style.borderRightWidth), t8(e.style.borderBottomWidth), t7(e.style.borderLeftWidth), (r = e.style.display, function(e) { + }), t9(e.style.top), re(e.style.right), rt(e.style.bottom), rr(e.style.left), t5(e.style.borderTopWidth), t8(e.style.borderRightWidth), t6(e.style.borderBottomWidth), t7(e.style.borderLeftWidth), (r = e.style.display, function(e) { var t = e._yogaNode; return t && t.setDisplay("none" === r ? q.default.DISPLAY_NONE : q.default.DISPLAY_FLEX), e; }), (n = e.style.flexDirection, function(e) { @@ -2531,8 +2531,8 @@ console.warn("Node of type " + e.type + " can't wrap between pages and it's bigger than available page height"); }, rL = function(e, t, r) { for(var n = [], i = [], o = 0; o < r.length; o += 1){ - var a = r[o], u = r.slice(o + 1), l = u.filter(e5), s = rj(a), c = a.box.height, f = e <= s, d = tg(a, u, e), p = e + 0.001 < s + c, h = tn(a), y = c <= t; - if (e5(a)) { + var a = r[o], u = r.slice(o + 1), l = u.filter(e4), s = rj(a), c = a.box.height, f = e <= s, d = tg(a, u, e), p = e + 0.001 < s + c, h = tn(a), y = c <= t; + if (e4(a)) { i.push(a), n.push(a); continue; } @@ -2615,7 +2615,7 @@ box: d, children: s })); - if (0 === c.length || c.every(e5)) return [ + if (0 === c.length || c.every(e4)) return [ p, null ]; @@ -2697,18 +2697,18 @@ return Object.assign({}, e, { children: t }); - }, r5 = function(e) { + }, r4 = function(e) { return function(t) { return t.type === e; }; - }, r4 = r5(T.Link), r6 = r5(T.Text), r8 = r5(T.TextInstance), r7 = function(e) { + }, r5 = r4(T.Link), r8 = r4(T.Text), r6 = r4(T.TextInstance), r7 = function(e) { var t; return !!(null !== (t = e.props) && void 0 !== t && t.render); }, r9 = function(e) { - return r6(e) || r8(e); + return r8(e) || r6(e); }, ne = function(e) { var t = e.children || []; // Text string inside a Link - return !!t.every(r8) || !t.every(r6) && t.every(r9) // Text node inside a Link + return !!t.every(r6) || !t.every(r8) && t.every(r9) // Text node inside a Link ; }, nt = function(e) { var t = { @@ -2724,7 +2724,7 @@ ] }); }, nr = function(e) { - return r4(e) ? r7(e) ? Object.assign({}, e, { + return r5(e) ? r7(e) ? Object.assign({}, e, { type: T.Text }) : ne(e) ? nt(e) : e : e // If has render prop substitute the instance by a Text, that will ; @@ -3936,7 +3936,7 @@ }) : "dotted" === c && e.dash(f, { space: 1.2 * f }), e.stroke(), e.undash(); - }, e5 = function(e, t, r, n, i) { + }, e4 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderBottomWidth, c = r.borderRightWidth, f = r.borderLeftWidth; e.moveTo(a + u - i, o + l), e.lineTo(a + n, o + l); var d = n * (1.0 - e$); // Clip outer top right cap @@ -3956,14 +3956,14 @@ var w = -s / f; e.moveTo(a + u / 2, u / 2 * w + o + l), e.lineTo(a, o + l), e.lineTo(a + u, o + l), e.lineTo(a + u, o), e.closePath(), e.clip(); } - }, e4 = function(e, t, r, n, i) { + }, e5 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderBottomColor, c = r.borderBottomStyle, f = r.borderBottomWidth, d = r.borderRightWidth, p = r.borderLeftWidth, h = n * (1.0 - e$), y = i * (1.0 - e$); e.moveTo(a + u, o + l - i), e.bezierCurveTo(a + u, o + l - y, a + u - y, o + l, a + u - i, o + l), e.lineTo(a + n, o + l), e.bezierCurveTo(a + h, o + l, a, o + l - h, a, o + l - n), e.strokeColor(s), e.lineWidth(2 * Math.max(f, d, p)), "dashed" === c ? e.dash(2 * f, { space: 1.2 * f }) : "dotted" === c && e.dash(f, { space: 1.2 * f }), e.stroke(), e.undash(); - }, e6 = function(e, t, r, n, i) { + }, e8 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.width, l = t.height, s = r.borderTopWidth, c = r.borderLeftWidth, f = r.borderBottomWidth; e.moveTo(a, o + l - n), e.lineTo(a, o + i); var d = i * (1.0 - e$); // Clip outer top left cap @@ -3983,7 +3983,7 @@ var w = -s / c; e.moveTo(a + u / 2, -u / 2 * w + o), e.lineTo(a, o), e.lineTo(a, o + l), e.lineTo(a + u, o + l), e.closePath(), e.clip(); } - }, e8 = function(e, t, r, n, i) { + }, e6 = function(e, t, r, n, i) { var o = t.top, a = t.left, u = t.height, l = r.borderLeftColor, s = r.borderLeftStyle, c = r.borderLeftWidth, f = r.borderTopWidth, d = r.borderBottomWidth, p = n * (1.0 - e$), h = i * (1.0 - e$); e.moveTo(a + n, o + u), e.bezierCurveTo(a + p, o + u, a, o + u - p, a, o + u - n), e.lineTo(a, o + i), e.bezierCurveTo(a, o + h, a + h, o, a + i, o), e.strokeColor(l), e.lineWidth(2 * Math.max(c, f, d)), "dashed" === s ? e.dash(2 * c, { space: 1.2 * c @@ -4010,7 +4010,7 @@ borderBottomLeftRadius: g, borderBottomRightRadius: b }, T = Math.min(h, 0.5 * n, 0.5 * i), O = Math.min(d, 0.5 * n, 0.5 * i), C = Math.min(b, 0.5 * n, 0.5 * i), P = Math.min(g, 0.5 * n, 0.5 * i); - e.save(), e.strokeOpacity(c), o && (e.save(), e0(e, t.box, k, T, O), e1(e, t.box, k, T, O), e.restore()), u && (e.save(), e2(e, t.box, k, T, C), e3(e, t.box, k, T, C), e.restore()), l && (e.save(), e5(e, t.box, k, P, C), e4(e, t.box, k, P, C), e.restore()), a && (e.save(), e6(e, t.box, k, P, O), e8(e, t.box, k, P, O), e.restore()), e.restore(); + e.save(), e.strokeOpacity(c), o && (e.save(), e0(e, t.box, k, T, O), e1(e, t.box, k, T, O), e.restore()), u && (e.save(), e2(e, t.box, k, T, C), e3(e, t.box, k, T, C), e.restore()), l && (e.save(), e4(e, t.box, k, P, C), e5(e, t.box, k, P, C), e.restore()), a && (e.save(), e8(e, t.box, k, P, O), e6(e, t.box, k, P, O), e.restore()), e.restore(); } }, e9 = function(e, t) { var r, n = t.box, i = n.top, o = n.left, a = n.width, u = n.height, l = ek(t.style.backgroundColor), s = (0, m.isNil)(null === (r = t.style) || void 0 === r ? void 0 : r.opacity) ? 1 : t.style.opacity, c = Math.min(l.opacity, s); @@ -25120,20 +25120,20 @@ if (!n) throw Error(d(169)); r ? (t = eZ(e, t, ez), n.__reactInternalMemoizedMergedChildContext = t, eB(eU, e), eB(eL, e), eM(eL, t, e)) : eB(eU, e), eM(eU, r, e); } - var eY = f.unstable_runWithPriority, eK = f.unstable_scheduleCallback, eQ = f.unstable_cancelCallback, e$ = f.unstable_shouldYield, e0 = f.unstable_requestPaint, e1 = f.unstable_now, e2 = f.unstable_getCurrentPriorityLevel, e3 = f.unstable_ImmediatePriority, e5 = f.unstable_UserBlockingPriority, e4 = f.unstable_NormalPriority, e6 = f.unstable_LowPriority, e8 = f.unstable_IdlePriority, e7 = {}, e9 = void 0 !== e0 ? e0 : function() {}, te = null, tt = null, tr = !1, tn = e1(), ti = 1e4 > tn ? e1 : function() { + var eY = f.unstable_runWithPriority, eK = f.unstable_scheduleCallback, eQ = f.unstable_cancelCallback, e$ = f.unstable_shouldYield, e0 = f.unstable_requestPaint, e1 = f.unstable_now, e2 = f.unstable_getCurrentPriorityLevel, e3 = f.unstable_ImmediatePriority, e4 = f.unstable_UserBlockingPriority, e5 = f.unstable_NormalPriority, e8 = f.unstable_LowPriority, e6 = f.unstable_IdlePriority, e7 = {}, e9 = void 0 !== e0 ? e0 : function() {}, te = null, tt = null, tr = !1, tn = e1(), ti = 1e4 > tn ? e1 : function() { return e1() - tn; }; function to() { switch(e2()){ case e3: return 99; - case e5: - return 98; case e4: + return 98; + case e5: return 97; - case e6: - return 96; case e8: + return 96; + case e6: return 95; default: throw Error(d(332)); @@ -25144,13 +25144,13 @@ case 99: return e3; case 98: - return e5; - case 97: return e4; + case 97: + return e5; case 96: - return e6; - case 95: return e8; + case 95: + return e6; default: throw Error(d(332)); } @@ -25327,13 +25327,13 @@ tk = !1, t = tI(e, t); for(var o = t.baseState, a = null, u = 0, l = t.firstUpdate, s = o; null !== l;){ var c = l.expirationTime; - c < i ? (null === a && (a = l, o = s), u < c && (u = c)) : (n5(c, l.suspenseConfig), s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next; + c < i ? (null === a && (a = l, o = s), u < c && (u = c)) : (n4(c, l.suspenseConfig), s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = l : (t.lastEffect.nextEffect = l, t.lastEffect = l))), l = l.next; } for(c = null, l = t.firstCapturedUpdate; null !== l;){ var f = l.expirationTime; f < i ? (null === c && (c = l, null === a && (o = s)), u < f && (u = f)) : (s = tj(e, t, l, s, r, n), null !== l.callback && (e.effectTag |= 32, l.nextEffect = null, null === t.lastCapturedEffect ? t.firstCapturedEffect = t.lastCapturedEffect = l : (t.lastCapturedEffect.nextEffect = l, t.lastCapturedEffect = l))), l = l.next; } - null === a && (t.lastUpdate = null), null === c ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === a && null === c && (o = s), t.baseState = o, t.firstUpdate = a, t.firstCapturedUpdate = c, n4(u), e.expirationTime = u, e.memoizedState = s; + null === a && (t.lastUpdate = null), null === c ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === a && null === c && (o = s), t.baseState = o, t.firstUpdate = a, t.firstCapturedUpdate = c, n5(u), e.expirationTime = u, e.memoizedState = s; } function tM(e, t, r) { null !== t.firstCapturedUpdate && (null !== t.lastUpdate && (t.lastUpdate.next = t.firstCapturedUpdate, t.lastUpdate = t.lastCapturedUpdate), t.firstCapturedUpdate = t.lastCapturedUpdate = null), tN(t.firstEffect, r), t.firstEffect = t.lastEffect = null, tN(t.firstCapturedEffect, r), t.firstCapturedEffect = t.lastCapturedEffect = null; @@ -25592,17 +25592,17 @@ if (e === t$) throw Error(d(174)); return e; } - function t5(e, t) { + function t4(e, t) { eM(t2, t, e), eM(t1, e, e), eM(t0, t$, e), t = B(t), eB(t0, e), eM(t0, t, e); } - function t4(e) { + function t5(e) { eB(t0, e), eB(t1, e), eB(t2, e); } - function t6(e) { + function t8(e) { var t = t3(t2.current), r = t3(t0.current); t = M(r, e.type, t), r !== t && (eM(t1, e, e), eM(t0, t, e)); } - function t8(e) { + function t6(e) { t1.current === e && (eB(t0, e), eB(t1, e)); } var t7 = { @@ -25712,7 +25712,7 @@ var u = i = null, l = n, s = !1; do { var c = l.expirationTime; - c < rn ? (s || (s = !0, u = a, i = o), c > rc && n4(rc = c)) : (n5(c, l.suspenseConfig), o = l.eagerReducer === e ? l.eagerState : e(o, l.action)), a = l, l = l.next; + c < rn ? (s || (s = !0, u = a, i = o), c > rc && n5(rc = c)) : (n4(c, l.suspenseConfig), o = l.eagerReducer === e ? l.eagerState : e(o, l.action)), a = l, l = l.next; }while (null !== l && l !== n) s || (u = a, i = o), tp(o, t.memoizedState) || (rJ = !0), t.memoizedState = o, t.baseUpdate = u, t.baseState = i, r.lastRenderedState = o; } @@ -26095,37 +26095,37 @@ var u = a && "function" != typeof r.getDerivedStateFromError ? null : n.render(); return t.effectTag |= 1, null !== e && a ? (t.child = tK(t, e.child, null, o), t.child = tK(t, null, u, o)) : rY(e, t, u, o), t.memoizedState = n.state, i && eJ(t, r, !0), t.child; } - function r5(e) { + function r4(e) { var t = e.stateNode; - t.pendingContext ? eH(e, t.pendingContext, t.pendingContext !== t.context) : t.context && eH(e, t.context, !1), t5(e, t.containerInfo); + t.pendingContext ? eH(e, t.pendingContext, t.pendingContext !== t.context) : t.context && eH(e, t.context, !1), t4(e, t.containerInfo); } - var r4 = { + var r5 = { dehydrated: null, retryTime: 0 }; - function r6(e, t, r) { + function r8(e, t, r) { var n, i = t.mode, o = t.pendingProps, a = t7.current, u = !1; if ((n = 0 != (64 & t.effectTag)) || (n = 0 != (2 & a) && (null === e || null !== e.memoizedState)), n ? (u = !0, t.effectTag &= -65) : null !== e && null === e.memoizedState || void 0 === o.fallback || !0 === o.unstable_avoidThisFallback || (a |= 1), eM(t7, 1 & a, t), null === e) { if (void 0 !== o.fallback && rq(t), u) { if (u = o.fallback, (o = ig(null, i, 0, null)).return = t, 0 == (2 & t.mode)) for(e = null !== t.memoizedState ? t.child.child : t.child, o.child = e; null !== e;)e.return = o, e = e.sibling; - return (r = ig(u, i, r, null)).return = t, o.sibling = r, t.memoizedState = r4, t.child = o, r; + return (r = ig(u, i, r, null)).return = t, o.sibling = r, t.memoizedState = r5, t.child = o, r; } return i = o.children, t.memoizedState = null, t.child = tQ(t, null, i, r); } if (null !== e.memoizedState) { if (i = (e = e.child).sibling, u) { if (o = o.fallback, (r = ih(e, e.pendingProps, 0)).return = t, 0 == (2 & t.mode) && (u = null !== t.memoizedState ? t.child.child : t.child) !== e.child) for(r.child = u; null !== u;)u.return = r, u = u.sibling; - return (i = ih(i, o, i.expirationTime)).return = t, r.sibling = i, r.childExpirationTime = 0, t.memoizedState = r4, t.child = r, i; + return (i = ih(i, o, i.expirationTime)).return = t, r.sibling = i, r.childExpirationTime = 0, t.memoizedState = r5, t.child = r, i; } return r = tK(t, e.child, o.children, r), t.memoizedState = null, t.child = r; } if (e = e.child, u) { if (u = o.fallback, (o = ig(null, i, 0, null)).return = t, o.child = e, null !== e && (e.return = o), 0 == (2 & t.mode)) for(e = null !== t.memoizedState ? t.child.child : t.child, o.child = e; null !== e;)e.return = o, e = e.sibling; - return (r = ig(u, i, r, null)).return = t, o.sibling = r, r.effectTag |= 2, o.childExpirationTime = 0, t.memoizedState = r4, t.child = o, r; + return (r = ig(u, i, r, null)).return = t, o.sibling = r, r.effectTag |= 2, o.childExpirationTime = 0, t.memoizedState = r5, t.child = o, r; } return t.memoizedState = null, t.child = tK(t, e, o.children, r); } - function r8(e, t) { + function r6(e, t) { e.expirationTime < t && (e.expirationTime = t); var r = e.alternate; null !== r && r.expirationTime < t && (r.expirationTime = t), tx(e.return, t); @@ -26147,8 +26147,8 @@ if (rY(e, t, n.children, r), 0 != (2 & (n = t7.current))) n = 1 & n | 2, t.effectTag |= 64; else { if (null !== e && 0 != (64 & e.effectTag)) r: for(e = t.child; null !== e;){ - if (13 === e.tag) null !== e.memoizedState && r8(e, r); - else if (19 === e.tag) r8(e, r); + if (13 === e.tag) null !== e.memoizedState && r6(e, r); + else if (19 === e.tag) r6(e, r); else if (null !== e.child) { e.child.return = e, e = e.child; continue; @@ -26189,7 +26189,7 @@ function ne(e, t, r) { null !== e && (t.dependencies = e.dependencies); var n = t.expirationTime; - if (0 !== n && n4(n), t.childExpirationTime < r) return null; + if (0 !== n && n5(n), t.childExpirationTime < r) return null; if (null !== e && t.child !== e.child) throw Error(d(153)); if (null !== t.child) { for(r = ih(e = t.child, e.pendingProps, e.expirationTime), t.child = r, r.return = t; null !== e.sibling;)e = e.sibling, (r = r.sibling = ih(e, e.pendingProps, e.expirationTime)).return = t; @@ -26690,7 +26690,7 @@ } n = n.return; } - return null !== i && (nx === i && (n4(t), 4 === nk && iw(i, nA)), iE(i, t)), i; + return null !== i && (nx === i && (n5(t), 4 === nk && iw(i, nA)), iE(i, t)), i; } function nY(e) { var t = e.lastExpiredTime; @@ -26724,7 +26724,7 @@ n_ |= 16; for(var i = n3(e);;)try { !function() { - for(; null !== nS && !e$();)nS = n6(nS); + for(; null !== nS && !e$();)nS = n8(nS); }(); break; } catch (t) { @@ -26802,7 +26802,7 @@ n_ |= 16; for(var n = n3(e);;)try { !function() { - for(; null !== nS;)nS = n6(nS); + for(; null !== nS;)nS = n8(nS); }(); break; } catch (t) { @@ -26835,13 +26835,13 @@ null != n.type.childContextTypes && eq(n); break; case 3: - t4(n), eV(n); + t5(n), eV(n); break; case 5: - t8(n); + t6(n); break; case 4: - t4(n); + t5(n); break; case 13: case 19: @@ -26923,7 +26923,7 @@ l = l.return; }while (null !== l) } - nS = n8(nS); + nS = n6(nS); } catch (e) { t = e; continue; @@ -26935,17 +26935,17 @@ var e = nw.current; return nw.current = rB, null === e ? rB : e; } - function n5(e, t) { + function n4(e, t) { e < nO && 2 < e && (nO = e), null !== t && e < nC && 2 < e && (nC = e, nP = t); } - function n4(e) { + function n5(e) { e > nF && (nF = e); } - function n6(e) { + function n8(e) { var t = l(e.alternate, e, nA); - return e.memoizedProps = e.pendingProps, null === t && (t = n8(e)), nE.current = null, t; + return e.memoizedProps = e.pendingProps, null === t && (t = n6(e)), nE.current = null, t; } - function n8(e) { + function n6(e) { nS = e; do { var t = nS.alternate; @@ -26971,10 +26971,10 @@ eG(t.type) && eq(t); break; case 3: - t4(t), eV(t), (l = t.stateNode).pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (null === r || null === r.child) && rH(t) && nt(t), o(t); + t5(t), eV(t), (l = t.stateNode).pendingContext && (l.context = l.pendingContext, l.pendingContext = null), (null === r || null === r.child) && rH(t) && nt(t), o(t); break; case 5: - t8(t); + t6(t); var s = t3(t2.current); if (n = t.type, null !== r && null != t.stateNode) a(r, t, n, l, s), r.ref !== t.ref && (t.effectTag |= 128); else if (l) { @@ -27006,7 +27006,7 @@ l = null !== l, s = !1, null === r ? void 0 !== t.memoizedProps.fallback && rH(t) : (s = null !== (n = r.memoizedState), l || null === n || null !== (n = r.child.sibling) && (null !== (c = t.firstEffect) ? (t.firstEffect = n, n.nextEffect = c) : (t.firstEffect = t.lastEffect = n, n.nextEffect = null), n.effectTag = 8)), l && !s && 0 != (2 & t.mode) && (null === r && !0 !== t.memoizedProps.unstable_avoidThisFallback || 0 != (1 & t7.current) ? 0 === nk && (nk = 3) : ((0 === nk || 3 === nk) && (nk = 4), 0 !== nF && null !== nx && (iw(nx, nA), iE(nx, nF)))), Q && l && (t.effectTag |= 4), K && (l || s) && (t.effectTag |= 4); break; case 4: - t4(t), o(t); + t5(t), o(t); break; case 10: t_(t); @@ -27062,16 +27062,16 @@ var t = e.effectTag; return 4096 & t ? (e.effectTag = -4097 & t | 64, e) : null; case 3: - if (t4(e), eV(e), 0 != (64 & (t = e.effectTag))) throw Error(d(285)); + if (t5(e), eV(e), 0 != (64 & (t = e.effectTag))) throw Error(d(285)); return e.effectTag = -4097 & t | 64, e; case 5: - return t8(e), null; + return t6(e), null; case 13: return eB(t7, e), 4096 & (t = e.effectTag) ? (e.effectTag = -4097 & t | 64, e) : null; case 19: return eB(t7, e), null; case 4: - return t4(e), null; + return t5(e), null; case 10: return t_(e), null; default: @@ -27331,23 +27331,23 @@ if (n < r) { switch(rJ = !1, t.tag){ case 3: - r5(t), rZ(); + r4(t), rZ(); break; case 5: - if (t6(t), 4 & t.mode && 1 !== r && V(t.type, i)) return t.expirationTime = t.childExpirationTime = 1, null; + if (t8(t), 4 & t.mode && 1 !== r && V(t.type, i)) return t.expirationTime = t.childExpirationTime = 1, null; break; case 1: eG(t.type) && eX(t); break; case 4: - t5(t, t.stateNode.containerInfo); + t4(t, t.stateNode.containerInfo); break; case 10: tE(t, t.memoizedProps.value); break; case 13: if (null !== t.memoizedState) { - if (0 !== (n = t.child.childExpirationTime) && n >= r) return r6(e, t, r); + if (0 !== (n = t.child.childExpirationTime) && n >= r) return r8(e, t, r); return eM(t7, 1 & t7.current, t), null !== (t = ne(e, t, r)) ? t.sibling : null; } eM(t7, 1 & t7.current, t); @@ -27417,7 +27417,7 @@ case 1: return n = t.type, i = t.pendingProps, i = t.elementType === n ? i : tg(n, i), r2(e, t, n, i, r); case 3: - if (r5(t), null === (n = t.updateQueue)) throw Error(d(282)); + if (r4(t), null === (n = t.updateQueue)) throw Error(d(282)); if (i = null !== (i = t.memoizedState) ? i.element : null, tB(t, n, t.pendingProps, null, r), (n = t.memoizedState.element) === i) rZ(), t = ne(e, t, r); else { if ((i = t.stateNode.hydrate) && ($ ? (rU = eA(t.stateNode.containerInfo), rL = t, i = rz = !0) : i = !1), i) for(r = tQ(t, null, n, r), t.child = r; r;)r.effectTag = -3 & r.effectTag | 1024, r = r.sibling; @@ -27426,13 +27426,13 @@ } return t; case 5: - return t6(t), null === e && rq(t), n = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, a = i.children, q(n, i) ? a = null : null !== o && q(n, o) && (t.effectTag |= 16), r0(e, t), 4 & t.mode && 1 !== r && V(n, i) ? (t.expirationTime = t.childExpirationTime = 1, t = null) : (rY(e, t, a, r), t = t.child), t; + return t8(t), null === e && rq(t), n = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, a = i.children, q(n, i) ? a = null : null !== o && q(n, o) && (t.effectTag |= 16), r0(e, t), 4 & t.mode && 1 !== r && V(n, i) ? (t.expirationTime = t.childExpirationTime = 1, t = null) : (rY(e, t, a, r), t = t.child), t; case 6: return null === e && rq(t), null; case 13: - return r6(e, t, r); + return r8(e, t, r); case 4: - return t5(t, t.stateNode.containerInfo), n = t.pendingProps, null === e ? t.child = tK(t, null, n, r) : rY(e, t, n, r), t.child; + return t4(t, t.stateNode.containerInfo), n = t.pendingProps, null === e ? t.child = tK(t, null, n, r) : rY(e, t, n, r), t.child; case 11: return n = t.type, i = t.pendingProps, i = t.elementType === n ? i : tg(n, i), rK(e, t, n, i, r); case 7: 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 index 7f5d19df3980..25f301f3acda 100644 --- a/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js +++ b/crates/swc_ecma_minifier/tests/full/issue-5912-bigdecimal/output.js @@ -1,2 +1,2 @@ !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(){}// This is an unfortunate kludge because Java methods and constructors cannot accept vararg parameters. -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 f=o.replace(/_va$/,"");i[f]=function n(){var t=Array.prototype.slice.call(arguments);return n.inner_method(t)},i[f].inner_method=r[o]}else i[o]=r[o]}}var u=i.prototype;for(var o in u)if(u.hasOwnProperty(o)&&"function"==typeof u[o]&&o.match(/_va$/)){var f=o.replace(/_va$/,"");u[f]=function n(){var t=Array.prototype.slice.call(arguments);return n.inner_method.apply(this,[t])},u[f].inner_method=u[o],delete u[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,o,f=e,u=f.document,c=f.__gwtStatsEvent?function(n){return f.__gwtStatsEvent(n)}:null,s=f.__gwtStatsSessionId?f.__gwtStatsSessionId:null;function h(){}function a(){}function b(){}function l(){}function g(){}function w(){}function d(){}function _(){}function v(){}function m(){}function y(){}function C(){}function x(){}function S(){}function M(){}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(){}function T(){}function j(){nY()}function F(){nX()}function H(){tk()}function $(){eF()}function V(){eF()}function q(){eF()}function G(){eF()}function z(){eF()}function J(){eF()}function K(){nZ()}function W(){ns(this)}function Z(){ns(this)}function X(n){iQ(this,n)}function Y(n){this.c=n}function nn(n){this.b=n}function nt(n){this.b=n}function ne(n){this.b=n}function nr(n){eF(),this.f=n}function ni(n){nr.call(this,n)}function no(n){nr.call(this,n)}function nf(n){nr.call(this,n)}function nu(n){nr.call(this,n)}function nc(n){nr.call(this,n)}function ns(n){n.b=new x}function nh(){this.b=new x}function na(){na=g,fe=new d}function nb(){nb=g,o=new n0}function nl(n,t){nb(),n[oC]=t}function ng(n,t){nb(),function(n,t){var e,r,i,o,u,c,s,h,a,b;for(u=0,s=iv(n,oy,0),c=f;ut?n:t}function nv(n,t){return!rN(n,t)}function nm(n){this.b=new iS(n)}function ny(){this.b=(rF(),fF)}function nC(){this.b=(iA(),f3)}function nx(n,t){var e;nb(),e=o.b,n?function(n,t,e,r){var i=n.b[r];if(i)for(var o=0,f=i.length;o=t&&n.splice(0,t),n}function tw(n){return nz(n,15)?n:new n1(n)}function td(){try{null.a()}catch(n){return n}}function tp(n){var t;return(t=new I).d=iV+n,t.c=1,t}function t_(n,t){return nH(n)?n.eQ(t):n===t}function tv(n,t){return n.l==t.l&&n.m==t.m&&n.h==t.h}function tm(n,t){return n.l!=t.l||n.m!=t.m||n.h!=t.h}function ty(n,t,e){return(i$=new M).l=n,i$.m=t,i$.h=e,i$}function tC(n,t){return nj(n)===nj(t)||null!=n&&t_(n,t)}function tx(n,t){throw new nu("Index: "+n+", Size: "+t)}function tS(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tM(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tB(n,t,e,r){eJ.call(this,n,t,e),is(this,r)}function tA(n,t){eJ.call(this,n,0,n.length),is(this,t)}function tN(n,t){eJ.call(this,t4(n),0,n.length),is(this,t)}function tI(n){nr.call(this,"String index out of range: "+n)}function tE(n,t){var e,r;return e=n.b,r=String.fromCharCode(t),e.b+=r,n}function tR(n,t){rC(n.b,n.b,n.e,t.b,t.e),tZ(n),n.c=-2}function tO(n,t){n.d=t,n.b=t.ab(),n.b<54&&(n.g=ri(eN(t)))}function tD(){tD=g,fr=[],fi=[],function(n,t,e){var r,i=0;for(var o in n)(r=n[o])&&(t[i]=o,e[i]=r,++i)}(new S,fr,fi)}function tk(){fC||(fC=!0,new j,new F,function(){if(ng(oB,iV),f.bigdecimal.BigDecimal)var n=f.bigdecimal.BigDecimal;f.bigdecimal.BigDecimal=uc(function(){1==arguments.length&&null!=arguments[0]&&arguments[0].gC()==uk?this.__gwt_instance=arguments[0]:0==arguments.length&&(this.__gwt_instance=new nw,nl(this.__gwt_instance,this))});var t=f.bigdecimal.BigDecimal.prototype={};if(n)for(p in n)f.bigdecimal.BigDecimal[p]=n[p];f.bigdecimal.BigDecimal.ROUND_CEILING=2,f.bigdecimal.BigDecimal.ROUND_DOWN=1,f.bigdecimal.BigDecimal.ROUND_FLOOR=3,f.bigdecimal.BigDecimal.ROUND_HALF_DOWN=5,f.bigdecimal.BigDecimal.ROUND_HALF_EVEN=6,f.bigdecimal.BigDecimal.ROUND_HALF_UP=4,f.bigdecimal.BigDecimal.ROUND_UNNECESSARY=7,f.bigdecimal.BigDecimal.ROUND_UP=0,f.bigdecimal.BigDecimal.__init__=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==on)t=new nL(new nG(n[0].toString()));else if("BigInteger number"==e)t=new tS(new nG(n[0].toString()),n[1]);else if("BigInteger number MathContext"==e)t=new tr(new nG(n[0].toString()),n[1],new iS(n[2].toString()));else if("BigInteger MathContext"==e)t=new n6(new nG(n[0].toString()),new iS(n[1].toString()));else if(e==oS)t=new n3(t4(n[0].toString()));else if("array number number"==e)t=new eJ(t4(n[0].toString()),n[1],n[2]);else if("array number number MathContext"==e)t=new tB(t4(n[0].toString()),n[1],n[2],new iS(n[3].toString()));else if("array MathContext"==e)t=new tA(t4(n[0].toString()),new iS(n[1].toString()));else if(e==oL)t=new eu(n[0]);else if(e==oU)t=new e_(n[0],new iS(n[1].toString()));else if(e==oH)t=new X(n[0].toString());else if("string MathContext"==e)t=new tN(n[0].toString(),new iS(n[1].toString()));else throw new nr("Unknown call signature for obj = new java.math.BigDecimal: "+e);return new nU(t)}(n))}),t.abs_va=uc(function(n){return nR(this.__gwt_instance.s(n))}),t.add_va=uc(function(n){return nR(this.__gwt_instance.t(n))}),t.byteValueExact=uc(function(){return this.__gwt_instance.u()}),t.compareTo=uc(function(n){return this.__gwt_instance.v(n.__gwt_instance)}),t.divide_va=uc(function(n){return nR(this.__gwt_instance.y(n))}),t.divideToIntegralValue_va=uc(function(n){return nR(this.__gwt_instance.x(n))}),t.doubleValue=uc(function(){return this.__gwt_instance.z()}),t.equals=uc(function(n){return this.__gwt_instance.eQ(n)}),t.floatValue=uc(function(){return this.__gwt_instance.A()}),t.hashCode=uc(function(){return this.__gwt_instance.hC()}),t.intValue=uc(function(){return this.__gwt_instance.B()}),t.intValueExact=uc(function(){return this.__gwt_instance.C()}),t.max=uc(function(n){return nR(this.__gwt_instance.F(n.__gwt_instance))}),t.min=uc(function(n){return nR(this.__gwt_instance.G(n.__gwt_instance))}),t.movePointLeft=uc(function(n){return nR(this.__gwt_instance.H(n))}),t.movePointRight=uc(function(n){return nR(this.__gwt_instance.I(n))}),t.multiply_va=uc(function(n){return nR(this.__gwt_instance.J(n))}),t.negate_va=uc(function(n){return nR(this.__gwt_instance.K(n))}),t.plus_va=uc(function(n){return nR(this.__gwt_instance.L(n))}),t.pow_va=uc(function(n){return nR(this.__gwt_instance.M(n))}),t.precision=uc(function(){return this.__gwt_instance.q()}),t.remainder_va=uc(function(n){return nR(this.__gwt_instance.N(n))}),t.round=uc(function(n){return nR(this.__gwt_instance.O(n.__gwt_instance))}),t.scale=uc(function(){return this.__gwt_instance.P()}),t.scaleByPowerOfTen=uc(function(n){return nR(this.__gwt_instance.Q(n))}),t.setScale_va=uc(function(n){return nR(this.__gwt_instance.R(n))}),t.shortValueExact=uc(function(){return this.__gwt_instance.S()}),t.signum=uc(function(){return this.__gwt_instance.r()}),t.stripTrailingZeros=uc(function(){return nR(this.__gwt_instance.T())}),t.subtract_va=uc(function(n){return nR(this.__gwt_instance.U(n))}),t.toBigInteger=uc(function(){return nR(this.__gwt_instance.V())}),t.toBigIntegerExact=uc(function(){return nR(this.__gwt_instance.W())}),t.toEngineeringString=uc(function(){return this.__gwt_instance.X()}),t.toPlainString=uc(function(){return this.__gwt_instance.Y()}),t.toString=uc(function(){return this.__gwt_instance.tS()}),t.ulp=uc(function(){return nR(this.__gwt_instance.Z())}),t.unscaledValue=uc(function(){return nR(this.__gwt_instance.$())}),t.divideAndRemainder_va=uc(function(n){return nO(this.__gwt_instance.w(n))}),t.longValue=uc(function(){return this.__gwt_instance.E()}),t.longValueExact=uc(function(){return this.__gwt_instance.D()}),f.bigdecimal.BigDecimal.valueOf_va=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==oL)t=function(n){if(!isFinite(n)||isNaN(n))throw new nd(oh);return new X(iV+n)}(n[0]);else if(e==oL)t=tX(e5(n[0]));else if(e==oP)t=eL(e5(n[0]),n[1]);else throw new nr("Unknown call signature for bd = java.math.BigDecimal.valueOf: "+e);return new nU(t)}(n))}),f.bigdecimal.BigDecimal.log=uc(function(n){iP(),typeof console!==o$&&console.log&&console.log(n)}),f.bigdecimal.BigDecimal.logObj=uc(function(n){iP(),typeof console!==o$&&console.log&&typeof JSON!==o$&&JSON.stringify&&console.log("object: "+JSON.stringify(n))}),f.bigdecimal.BigDecimal.ONE=uc(function(){return nR((iP(),new nU(fw)))}),f.bigdecimal.BigDecimal.TEN=uc(function(){return nR((iP(),new nU(fd)))}),f.bigdecimal.BigDecimal.ZERO=uc(function(){return nR((iP(),new nU(fp)))}),nx(uk,f.bigdecimal.BigDecimal)}())}function tL(n,t,e){var r;return(r=new I).d=n+t,r.c=4,r.b=e,r}function tU(n,t,e,r,i){var o;return tK(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 tI(e)}(n.length,t,r),t6(n,t,r)}function tQ(n,t){return il(),t=n.c.c)throw new J;return t=n.c,r=e=n.b++,i=t.c,(r<0||r>=i)&&tx(r,i),t.b[e]}function tF(n,t){return!!nz(t,1)&&String(n)==t}function tH(){nr.call(this,"Add not supported on this collection")}function t$(){this.b=[],this.f={},this.d=!1,this.c=null,this.e=0}function tV(n,t){rW(),this.f=n,this.e=1,this.b=tK(up,{6:1},-1,[t])}function tq(n,t){var e;return e=n.c,n.c=t,!n.d&&(n.d=!0,++n.e),e}function tG(n,t){var e,r;return e=n.b,r=String.fromCharCode.apply(null,t),e.b+=r,n}function tz(n,t,e,r){var i,o;return null==t&&(t=ok),i=n.b,o=t.substr(e,r-e),i.b+=o,n}function tJ(n,t,e,r){var i;return rC(i=tU(up,{6:1},-1,t,1),n,t,e,r),i}function tK(n,t,e,r){return tD(),function(n,t,e){tD();for(var r=0,i=t.length;r0&&0==n.b[--n.e];);0==n.b[n.e++]&&(n.f=0)}function tX(n){return rN(n,oJ)&&nv(n,oY)?fs[nB(n)]:new ef(n,0)}function tY(n,t){return 0==t||0==n.f?n:t>0?e6(n,t):rY(n,-t)}function t0(n,t){return 0==t||0==n.f?n:t>0?rY(n,t):e6(n,-t)}function t1(n){var t;return 0==n.f?-1:((t=ew(n))<<5)+es(n.b[t])}function t2(n){var t;return 0!=(t=nB(n))?es(t):es(nB(rK(n,32)))+32}function t3(n,t){var e;return 0==(e=eO(n,t)).length?(new _).o(t):tg(e,1)}function t6(n,t,e){return n=n.slice(t,e),String.fromCharCode.apply(null,n)}function t5(n,t,e,r){var i;return ib(i=tU(up,{6:1},-1,t+1,1),n,t,e,r),i}function t4(n){var t,e;return t=tU(uK,{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,(_=(g=b.e)+(w=l.e),v=b.f!=l.f?-1:1,2==_)?(x=nB(y=iR(th(e5(b.b[0]),o5),th(e5(l.b[0]),o5))),0==(C=nB(rP(y,32)))?new tV(v,x):new to(v,2,tK(up,{6:1},-1,[x,C]))):(eG(b.b,g,l.b,w,d=tU(up,{6:1},-1,_,1)),tZ(m=new to(v,_,d)),m)):(u=(-2&t.e)<<4,h=t.fb(u),a=e.fb(u),i=ih(t,h.eb(u)),o=ih(e,a.eb(u)),s=n(h,a),r=n(i,o),f=(f=ix(ix(f=n(ih(h,i),ih(o,a)),s),r)).eb(u),ix(ix(s=s.eb(u<<1),f),r))}(n,t))}function ee(n,t){var e;if(t.f<=0)throw new ni(or);return(e=rH(n,t)).f<0?ix(e,t):e}function er(n){var t;t=new nJ,n.d&&n4(t,new ne(n)),function(n,t){var e=n.f;for(var r in e)if(58==r.charCodeAt(0)){var i=new nA(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],f=0,u=o.length;f0?1:0:(n.d||(n.d=eP(n.g)),n.d).r()}function ep(n){return n.b<54?new ti(-n.g,n.f):new tM((n.d||(n.d=eP(n.g)),n.d).cb(),n.f)}function e_(n,t){if(!isFinite(n)||isNaN(n))throw new nd(oh);iQ(this,n.toPrecision(20)),is(this,t)}function ev(n,t){return isNaN(n)?isNaN(t)?0:1:isNaN(t)?-1:nt?1:0}function em(n,t){return t<2||t>36||n<0||n>=t?0:n<10?48+n&65535:97+n-10&65535}function ey(n,t){var e,r;return t?((e=t[oC])||(e=new(r=t.gC(),t8(ei(n.b,r)))(t),t[oC]=e),e):null}function eC(n){var t,e;return 32==(e=r$(n.h))?32==(t=r$(n.m))?r$(n.l)+32:t+20-10:e-12}function ex(n){return ty(4194303&n,~~n>>22&4194303,n<0?1048575:0)}function eS(){eS=g,fo=ty(4194303,4194303,524287),ff=ty(0,0,524288),fu=e5(1),e5(2),fc=e5(0)}function eM(n,t){ib(n.b,n.b,n.e,t.b,t.e),n.e=np(n_(n.e,t.e)+1,n.b.length),tZ(n),n.c=-2}function eB(n,t){var e;e=~~t>>5,n.e+=e+(r$(n.b[n.e-1])-(31&t)>=0?0:1),rx(n.b,n.b,e,31&t),tZ(n),n.c=-2}function eA(n,t){var e,r;e=~~t>>5,n.e>>r:0,tZ(n))}function eN(n){var t;return t=n.e>1?ta(rU(e5(n.b[1]),32),th(e5(n.b[0]),o5)):th(e5(n.b[0]),o5),iR(e5(n.f),t)}function eI(n,t,e){var r;for(r=e-1;r>=0&&n[r]==t[r];--r);return r<0?0:nv(th(e5(n[r]),o5),th(e5(t[r]),o5))?-1:1}function eE(n,t,e){var r,i,o;for(i=0,r=0;i>>31;0!=r&&(n[e]=r)}function eR(n,t,e,r){if(iH=t,n)try{uc(iy)()}catch(e){n(t)}else uc(iy)()}function eO(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 ef(oJ,0x7fffffff):new ef(oJ,-0x80000000)}function eP(n){return(rW(),n<0)?-1!=n?new rf(-1,-n):fx:n<=10?fM[eo(n)]:new rf(1,n)}function eQ(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,ty(t,e,r)}function eT(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 ej(n){var t,e,r;for(r=0,e=tU(ux,{6:1},13,n.length,0),t=n.length;r=0;--r)if(n[r]!=i[r]){e=0!=n[r]&&rA(th(e5(n[r]),o5),th(e5(i[r]),o5));break}}return f=new to(1,o+1,n),e&&tR(f,t),tZ(f),f}(o,e)}function eV(n,t){var e;return n===t||!!nz(t,17)&&(e=tT(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 eq(n){var t,e;return 0==n.f?0:(t=n.e<<5,e=n.b[n.e-1],n.f<0&&ew(n)==n.e-1&&(e=~~(e-1)),t-=r$(e))}function eG(n,t,e,r,i){il(),0!=t&&0!=r&&(1==t?i[r]=rc(i,e,r,n[0]):1==r?i[t]=rc(i,n,t,e[0]):function(n,t,e,r,i){var o,f,u,c;if(nj(n)===nj(t)&&r==i){iu(n,r,e);return}for(u=0;u0x7fffffff))return eo(n);throw new ni("Underflow")}function eW(n,t){if(rF(),n<0)throw new nf("Digits < 0");if(!t)throw new nc("null RoundingMode");this.b=n,this.c=t}function eZ(n){return(rW(),nv(n,oJ))?tm(n,oz)?new ro(-1,eQ(n)):fx:rA(n,oX)?new ro(1,n):fM[nB(n)]}function eX(n){var t;return nv(n,oJ)&&(n=ty(4194303&~n.l,4194303&~n.m,1048575&~n.h)),64-(0!=(t=nB(rK(n,32)))?r$(t):r$(nB(n))+32)}function eY(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),ty(4194303&e,4194303&r,1048575&i)}function e0(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),ty(4194303&e,4194303&r,1048575&i)}function e1(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-n_(e,n.bb())}function e2(n,t){var e;return n===t||!!nz(t,16)&&(e=tT(t,16)).f==n.f&&(n.b<54?e.g==n.g:n.d.eQ(e.d))}function e3(n,t,e){var r,i,o;for(o=oJ,r=t-1;r>=0;--r)i=r2(eY(rU(o,32),th(e5(n[r]),o5)),e),o=e5(nB(rK(i,32)));return nB(o)}function e6(n,t){var e,r,i,o;return e=~~t>>5,t&=31,rx(r=tU(up,{6:1},-1,i=n.e+e+(0==t?0:1),1),n.b,e,t),tZ(o=new to(n.f,i,r)),o}function e5(n){var t,e;return n>-129&&n<128?(t=n+128,null==fn&&(fn=tU(uR,{6:1},2,256,0)),(e=fn[t])||(e=fn[t]=ex(n)),e):ex(n)}function e4(n){var t,e,r;return(rW(),n>5,t=31&n,(r=tU(up,{6:1},-1,e+1,1))[e]=1<iq&&n[n.length-1]>iq?n:n.replace(/^(\s*)/,iV).replace(/\s*$/,iV)}function e7(n){return n-=~~n>>1&0x55555555,n=(~~(n=(~~n>>2&0x33333333)+(0x33333333&n))>>4)+n&0xf0f0f0f,n+=~~n>>8,63&(n+=~~n>>16)}function rn(n,t,e){if(null!=e){var r;if(n.qI>0&&(r=n.qI,!e.cM||!e.cM[r])||n.qI<0&&(e.tM==g||n$(e,1)))throw new V}return n[t]=e}function rt(n,t){return n.f>t.f?1:n.ft.e?n.f:n.e=0;--o)f=e$(f,f,r,i),(e.b[~~o>>5]&1<<(31&o))!=0&&(f=e$(f,t,r,i));return f}(u,r,t,e,o):function(n,t,e,r,i){var o,f,u,c,s,h,a;for(s=tU(u9,{6:1},17,8,0),h=n,rn(s,0,t),a=e$(t,t,r,i),f=1;f<=7;++f)rn(s,f,e$(s[f-1],a,r,i));for(f=e.ab()-1;f>=0;--f)if((e.b[~~f>>5]&1<<(31&f))!=0){for(c=1,o=f,u=f-3>0?f-3:0;u<=f-1;++u)(e.b[~~u>>5]&1<<(31&u))!=0&&(u>1],h,r,i),f=o}else h=e$(h,h,r,i);return h}(u,r,t,e,o),e$(f,(rW(),fS),e,o)}function rh(n,t){var e,r,i,o;for(e=0,r=n.length;e36)throw new nd("Radix out of range");if(0==n.length)throw new nd("Zero length BigInteger");(function(n,t,e){var r,i,o,f,u,c,s,h,a,b,l,g,w,d;for(s=l=t.length,45==t.charCodeAt(0)?(a=-1,b=1,--l):(a=1,b=0),o=~~(l/(f=(iM(),fP)[e])),0!=(d=l%f)&&++o,c=tU(up,{6:1},-1,o,1),r=fU[e-2],u=0,g=b+(0==d?f:d),w=b;wr)return 1;if(e=0&&n[i]==t[i];--i);return i<0?0:nv(th(e5(n[i]),o5),th(e5(t[i]),o5))?-1:1}function rg(n,t){var e,r,i;for(r=tU(up,{6:1},-1,i=n.e,1),np(ew(n),ew(t)),e=0;e0x3b9ac9ff)throw new ni(oa);return e=n.f*t,0==n.b&&-1!=n.g?eU(e):new tS((n.d||(n.d=eP(n.g)),n.d).db(t),eK(e))}function rp(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)uf[n]=e,e*=.5;for(n=24,t=1;n>=0;--n)uo[n]=t,t*=.5}function rv(){rv=g,fO=tK(uK,{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(n){var t;return 0!=n.c||(n.b<54?(t=r3(n.g),n.c=nB(th(t,oz)),n.c=33*n.c+nB(th(rK(t,32),oz)),n.c=17*n.c+eo(n.f)):n.c=17*n.d.hC()+eo(n.f)),n.c}function ry(n,t,e,r){var i,o,f,u,c;return o=(c=n/t)>0?Math.floor(c):Math.ceil(c),f=n%t,u=ev(n*t,0),0!=f&&(i=ev((f<=0?0-f:f)*2,t<=0?0-t:t),o+=it(1&eo(o),u*(5+i),r)),new ti(o,e)}function rC(n,t,e,r,i){var o,f;for(f=0,o=oJ;fe;--i)n[i]|=~~t[i-e-1]>>>o,n[i-1]=t[i-e-1]<>5,n.e-=r,!rD(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-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=eo(nP(Math.log(n)/.6931471805599453)),(!t||n!=Math.pow(2,e))&&++e,e):eX(r3(n))}function rR(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)?eZ(rI(eN(e),eN(r))):function(n,t){var e,r,i,o;i=(e=n.bb())<(r=t.bb())?e:r,rB(n,e),rB(t,r),1==rt(n,t)&&(o=n,n=t,t=o);do{if(1==t.e||2==t.e&&t.b[1]>0){t=eZ(rI(eN(n),eN(t)));break}if(t.e>1.2*n.e)0!=(t=rH(t,n)).r()&&rB(t,t.bb());else do tR(t,n),rB(t,t.bb());while(rt(t,n)>=0)o=t,t=n,n=o}while(0!=o.f)return t.eb(i)}(eb(e),eb(r))}function rO(n,t){var e;if(t.f<=0)throw new ni(or);if(!(n.gb(0)||t.gb(0)))throw new ni(oe);if(1==t.e&&1==t.b[0])return fA;if(0==(e=function(n,t){var e,r,i,o,f,u,c,s,h,a,b;if(0==n.f)throw new ni(oe);if(!t.gb(0))return function(n,t){var e,r,i,o,f,u,c,s,h,a,b;for(h=tU(up,{6:1},-1,(o=n_(n.e,t.e))+1,1),b=tU(up,{6:1},-1,o+1,1),iB(t.b,0,h,0,t.e),iB(n.b,0,b,0,n.e),s=new to(t.f,t.e,h),a=new to(n.f,n.e,b),u=new to(0,1,tU(up,{6:1},-1,o+1,1)),(c=new to(1,1,tU(up,{6:1},-1,o+1,1))).b[0]=1,e=0,r=0,f=t.ab();!eD(s,e)&&!eD(a,r);)if(0!=(i=e1(s,f))&&(eB(s,i),e>=r?eB(u,i):(rB(c,r-e0&&eB(u,i-r+e)),e+=i),0!=(i=e1(a,f))&&(eB(a,i),r>=e?eB(c,i):(rB(u,e-r0&&eB(c,i-e+r)),r+=i),s.r()==a.r()?e<=r?(rq(s,a),rq(u,c)):(rq(a,s),rq(c,u)):e<=r?(rV(s,a),rV(u,c)):(rV(a,s),rV(c,u)),0==a.r()||0==s.r())throw new ni(oe);return eD(a,r)&&(u=c,a.r()!=s.r()&&(s=s.cb())),s.gb(f)&&(u=0>u.r()?u.cb():ih(t,u)),0>u.r()&&(u=ix(u,t)),u}(n,t);for(o=32*t.e,a=eb(t),c=new to(1,1,tU(up,{6:1},-1,(f=n_((b=eb(n)).e,a.e))+1,1)),(s=new to(1,1,tU(up,{6:1},-1,f+1,1))).b[0]=1,e=0,(r=a.bb())>(i=b.bb())?(rB(a,r),rB(b,i),eB(c,i),e+=r-i):(rB(a,r),rB(b,i),eB(s,r),e+=i-r),c.f=1;b.r()>0;){for(;rt(a,b)>0;)tR(a,b),h=a.bb(),rB(a,h),eM(c,s),eB(s,h),e+=h;for(;0>=rt(a,b)&&(tR(b,a),0!=b.r());)h=b.bb(),rB(b,h),eM(s,c),eB(c,h),e+=h}if(!(1==a.e&&1==a.b[0]))throw new ni(oe);return rt(c,t)>=0&&tR(c,t),c=ih(t,c),u=ru(t),e>o&&(c=e$(c,(rW(),fS),t,u),e-=o),c=e$(c,e4(o-e),t,u)}(ee(n._(),t),t)).f)throw new ni(oe);return n.f<0?ih(t,e):e}function rD(n,t,e,r,i){var o,f,u;for(f=0,o=!0;f>>i|e[f+r+1]<>>i,++f}return o}function rk(n,t){var e;return(e=n.f+t.f,0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)?eU(e):n.b+t.b<54?new ti(n.g*t.g,eK(e)):new tS(et((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),eK(e))}function rL(n,t){var e;if(t<0)throw new ni("Negative exponent");if(0==t)return fS;if(1==t||n.eQ(fS)||n.eQ(fA))return n;if(!n.gb(0)){for(e=1;!n.gb(e);)++e;return et(e4(e*t),n.fb(e).db(t))}return function(n,t){var e,r;for(il(),rW(),r=fS,e=n;t>1;t>>=1)(1&t)!=0&&(r=et(r,e)),e=1==e.e?et(e,e):new e9(iu(e.b,e.e,tU(up,{6:1},-1,e.e<<1,1)));return et(r,e)}(n,t)}function rU(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),ty(4194303&r,4194303&i,1048575&o)}function rQ(n){switch(iA(),n){case 2:return fX;case 1:return fY;case 3:return f0;case 5:return f1;case 6:return f2;case 4:return f3;case 7:return f6;case 0:return f5;default:throw new nf("Invalid rounding mode")}}function rT(n,t){var e,r,i;if(0==t)return(1&n.b[0])!=0;if(t<0)throw new ni(ol);if((i=~~t>>5)>=n.e)return n.f<0;if(e=n.b[i],t=1<<(31&t),n.f<0){if(i<(r=ew(n)))return!1;e=r==i?-e:~e}return(e&t)!=0}function rj(n){var t,e;return n.e>0||(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!=ia((n.d||(n.d=eP(n.g)),n.d),im(t)).r()&&++t),n.e=eo(t)),n.e}function rF(){rF=g,fQ=new eW(34,(iA(),f2)),fT=new eW(7,f2),fj=new eW(16,f2),fF=new eW(0,f3),fH=tK(uK,{6:1},-1,[112,114,101,99,105,115,105,111,110,61]),f$=tK(uK,{6:1},-1,[114,111,117,110,100,105,110,103,77,111,100,101,61])}function rH(n,t){var e,r,i,o;if(0==t.f)throw new ni(ot);return((o=n.e)!=(e=t.e)?o>e?1:-1:eI(n.b,t.b,o))==-1?n:(r=tU(up,{6:1},-1,e,1),1==e?r[0]=e3(n.b,o,t.b[0]):r=iL(null,o-e+1,n.b,o,t.b,e),tZ(i=new to(n.f,e,r)),i)}function r$(n){var t,e,r;return n<0?0:0==n?32:(e=16-(t=~~(r=-(~~n>>16))>>16&16)+(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 rV(n,t){if(0==n.f)iB(t.b,0,n.b,0,t.e);else{if(0==t.f)return;n.f==t.f?ib(n.b,n.b,n.e,t.b,t.e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f)}n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rq(n,t){var e;e=rt(n,t),0==n.f?(iB(t.b,0,n.b,0,t.e),n.f=-t.f):n.f!=t.f?(ib(n.b,n.b,n.e,t.b,t.e),n.f=e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f),n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rG(n,t,e){var r,i,o,f,u,c,s,h,a,b;if(e.f<=0)throw new ni(or);return(r=n,(1==e.e&&1==e.b[0])|t.f>0&0==r.f)?fA:0==r.f&&0==t.f?fS:(t.f<0&&(r=rO(n,e),t=t.cb()),i=e.gb(0)?rs(r._(),t,e):(o=r._(),f=t,u=e.bb(),h=rs(o,f,c=e.fb(u)),a=function(n,t,e){var r,i,o,f,u;for(rW(),f=fS,i=eb(t),r=eb(n),n.gb(0)&&eA(i,e-1),eA(r,e),o=i.ab()-1;o>=0;--o)eA(u=eb(f),e),f=et(f,u),(i.b[~~o>>5]&1<<(31&o))!=0&&eA(f=et(f,r),e);return eA(f,e),f}(o,f,u),s=function(n,t){var e,r,i,o;for(e=1,(r=new e9(tU(up,{6:1},-1,1<>5]&1<<(31&o))!=0&&(r.b[~~e>>5]|=1<<(31&e));return r}(c,u),eA(b=et(ih(a,h),s),u),b.f<0&&(b=ix(b,e4(u))),ix(h,et(c,b))),r.f<0&&t.gb(0)&&(i=ee(et(ih(e,fS),i),e)),i)}function rz(n,t){var e,r,i,o,f,u,c;if(i=ew(n),(r=ew(t))>=n.e)return rW(),fA;for(f=tU(up,{6:1},-1,u=n.e,1),(e=i>r?i:r)==r&&(f[e]=-t.b[e]&n.b[e],++e),o=np(t.e,n.e);e=t.e)for(;e0?t:0):t>=0?n.b<54?new ti(n.g,eK(t)):new tS((n.d||(n.d=eP(n.g)),n.d),eK(t)):-t>t,o=~~n.m>>t|e<<22-t,i=~~n.l>>t|n.m<<22-t):t<44?(f=r?1048575:0,o=~~e>>t-22,i=~~n.m>>t-22|e<<44-t):(f=r?1048575:0,o=r?4194303:0,i=~~e>>t-44),ty(4194303&i,4194303&o,1048575&f)}function rW(){var n;for(n=0,rW=g,fS=new tV(1,1),fB=new tV(1,10),fA=new tV(0,0),fx=new tV(-1,1),fM=tK(u9,{6:1},17,[fA,fS,new tV(1,2),new tV(1,3),new tV(1,4),new tV(1,5),new tV(1,6),new tV(1,7),new tV(1,8),new tV(1,9),fB]),fN=tU(u9,{6:1},17,32,0);n=t.e)return t;if(r>=n.e)return n;if(o=tU(up,{6:1},-1,f=np(n.e,t.e),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?(rW(),fx):(rW(),fA);if(rD(i=tU(up,{6:1},-1,(o=n.e-r)+1,1),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?rS(n,t,e):rS(t,n,-e):n_(n.b,t.b)+1<54?new ti(n.g+t.g,n.f):new tM(ix((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f)}function r2(n,t){var e,r,i,o,f;return(r=th(e5(t),o5),rN(n,oJ))?(o=iI(n,r,!1),f=n5(n,r)):(o=iI(e=rP(n,1),i=e5(~~t>>>1),!1),f=eY(rU(f=n5(e,i),1),th(n,oK)),(1&t)!=0&&(rA(o,f)?rA(e0(o,f),r)?(f=eY(f,e0(rU(r,1),o)),o=e0(o,oW)):(f=eY(f,e0(r,o)),o=e0(o,oK)):f=e0(f,o))),ta(rU(f,32),th(o,o5))}function r3(n){var t,e,r,i;return isNaN(n)?(eS(),fc):n<-0x8000000000000000?(eS(),ff):n>=0x8000000000000000?(eS(),fo):(r=!1,n<0&&(r=!0,n=-n),e=0,n>=0x100000000000&&(e=eo(n/0x100000000000),n-=0x100000000000*e),t=0,n>=4194304&&(t=eo(n/4194304),n-=4194304*t),i=ty(eo(n),t,e),r&&eT(i),i)}function r6(n){var t,e,r,i;if(0==n.l&&0==n.m&&0==n.h)return iW;if(524288==n.h&&0==n.m&&0==n.l)return"-9223372036854775808";if(~~n.h>>19!=0)return iJ+r6(eQ(n));for(e=n,r=iV;!(0==e.l&&0==e.m&&0==e.h);){if(e=iI(e,e5(1e9),!0),t=iV+nB(o7),!(0==e.l&&0==e.m&&0==e.h))for(i=9-t.length;i>0;--i)t=iW+t;r=t+r}return r}function r5(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m,y,C,x,S,M,B,A;if(0==(i=t.f))throw new ni(ot);return(r=t.e,e=t.b,1==r)?(g=e[0],(M=n.b,B=n.e,A=n.f,1==B)?(_=iI(w=th(e5(M[0]),o5),d=th(e5(g),o5),!1),y=n5(w,d),A!=i&&(_=eQ(_)),A<0&&(y=eQ(y)),tK(u9,{6:1},17,[eZ(_),eZ(y)])):(m=A==i?1:-1,v=tU(up,{6:1},-1,B,1),C=tK(up,{6:1},-1,[ii(v,M,B,g)]),x=new to(m,B,v),S=new to(A,1,C),tZ(x),tZ(S),tK(u9,{6:1},17,[x,S]))):(a=n.b,((b=n.e)!=r?b>r?1:-1:eI(a,e,b))<0)?tK(u9,{6:1},17,[fA,n]):(l=n.f,f=b-r+1,u=l==i?1:-1,c=iL(o=tU(up,{6:1},-1,f,1),f,a,b,e,r),s=new to(u,f,o),h=new to(l,r,c),tZ(s),tZ(h),tK(u9,{6:1},17,[s,h]))}function r4(n){var t;if(0==n.f||0==n.b&&-1!=n.g)return n.d||(n.d=eP(n.g)),n.d;if(n.f<0)return et((n.d||(n.d=eP(n.g)),n.d),im(-n.f));if(n.f>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)||n.f>(n.d||(n.d=eP(n.g)),n.d).bb()||0!=(t=r5((n.d||(n.d=eP(n.g)),n.d),im(n.f)))[1].r())throw new ni(og);return t[0]}function r9(n,t,e,r,i){var o,f;if(o=oJ,e36)throw new nd("radix "+t+" out of range");for(e=i=(r=n.length)>0&&45==n.charCodeAt(0)?1:0;e0x7fffffff)throw new nd(os+n+iG);return o}function r7(n){var t,e;if(0==n.f)return rW(),fx;if(eV(n,(rW(),fx)))return fA;if(e=tU(up,{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 ie(n,t){var e,r,i,o,f,u,c,s,h;if(s=0==n.f?1:n.f,f=~~t>>5,e=31&t,u=tU(up,{6:1},-1,c=n_(f+1,n.e)+1,1),r=1<=n.e)u[f]=r;else if(f>(i=ew(n)))u[f]^=r;else if(f=0||0==s.f||1==s.e&&1==s.b[0])if(!(1==(h=rG(s,u,n)).e&&1==h.b[0]||h.eQ(f))){for(i=1;i=0;--u)rN(h=ta(rU(s,32),th(e5(t[u]),o5)),oJ)?(c=iI(h,o,!1),s=n5(h,o)):(c=iI(i=rP(h,1),f=e5(~~r>>>1),!1),s=eY(rU(s=n5(i,f),1),th(h,oK)),(1&r)!=0&&(rA(c,s)?rA(e0(c,s),o)?(s=eY(s,e0(rU(o,1),c)),c=e0(c,oW)):(s=eY(s,e0(o,c)),c=e0(c,oK)):s=e0(s,c))),n[u]=nB(th(c,o5));return nB(s)}function io(n,t){var e,r,i,o,f,u,c;if(f=tU(up,{6:1},-1,u=n_(n.e,t.e),1),i=ew(n),e=r=ew(t),i==r)f[r]=-n.b[r]^-t.b[r];else{for(f[r]=-t.b[r],o=np(t.e,i),++e;et.g?1:0:(r=n.f-t.f,(e=(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1))>r+1)?i:e0&&(f=et(f,im(r))),rt(o,f))}function is(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g;if(o=t.b,!((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-o<0||0==o||(r=n.q()-o)<=0)){if(n.b<54){l=r3(fl[c=r]),b=e0(r3(n.f),e5(c)),a=iI(g=r3(n.g),l,!1),tm(h=n5(g,l),oJ)&&(s=tv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?0:nv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?-1:1,a=eY(a,e5(it(1&nB(a),(tv(h,oJ)?0:nv(h,oJ)?-1:1)*(5+s),t.c))),tn(ri(nv(a,oJ)?eQ(a):a))>=t.b&&(a=nQ(a,oX),b=e0(b,oK))),n.f=eK(ri(b)),n.e=t.b,n.g=ri(a),n.b=eX(a),n.d=null;return}u=im(r),i=r5((n.d||(n.d=eP(n.g)),n.d),u),f=n.f-r,0!=i[1].r()&&(e=rt(eH(i[1]._()),u),0!=(e=it(i[0].gb(0)?1:0,i[1].r()*(5+e),t.c))&&rn(i,0,ix(i[0],eZ(e5(e)))),new nL(i[0]).q()>o&&(rn(i,0,ia(i[0],(rW(),fB))),--f)),n.f=eK(f),n.e=o,tO(n,i[0])}}function ih(n,t){var e,r,i,o,f,u,c,s,h,a;if(f=n.f,0==(c=t.f))return n;if(0==f)return t.cb();if((o=n.e)+(u=t.e)==2)return e=th(e5(n.b[0]),o5),r=th(e5(t.b[0]),o5),f<0&&(e=eQ(e)),c<0&&(r=eQ(r)),eZ(e0(e,r));if(-1==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))a=-c,h=f==c?tJ(t.b,u,n.b,o):t5(t.b,u,n.b,o);else if(a=f,f==c){if(0==i)return rW(),fA;h=tJ(n.b,o,t.b,u)}else h=t5(n.b,o,t.b,u);return tZ(s=new to(a,h.length,h)),s}function ia(n,t){var e,r,i,o,f,u,c,s,h,a;if(0==t.f)throw new ni(ot);return(i=t.f,1==t.e&&1==t.b[0])?t.f>0?n:n.cb():(h=n.f,(s=n.e)+(r=t.e)==2)?(a=nQ(th(e5(n.b[0]),o5),th(e5(t.b[0]),o5)),h!=i&&(a=eQ(a)),eZ(a)):0==(e=s!=r?s>r?1:-1:eI(n.b,t.b,s))?h==i?fS:fx:-1==e?fA:(o=tU(up,{6:1},-1,f=s-r+1,1),u=h==i?1:-1,1==r?ii(o,n.b,s,t.b[0]):iL(o,f,n.b,s,t.b,r),tZ(c=new to(u,f,o)),c)}function ib(n,t,e,r,i){var o,f;if(o=eY(th(e5(t[0]),o5),th(e5(r[0]),o5)),n[0]=nB(o),o=rK(o,32),e>=i){for(f=1;f0){if(i0?f=tQ(f,eo(i)):i<0&&(o=tQ(o,eo(-i))),id(o,f,e,r)}function iw(n,t){var e,r,i,o,f,u,c;if(r=ew(t),(i=ew(n))>=t.e)return t;if(f=tU(up,{6:1},-1,u=t.e,1),rt.ab()?(c=eN(s),o=eN(t),i=tv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?0:nv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?-1:1):i=rt(eH(s._()),t._()),0!=(i=it(u.gb(0)?1:0,h*(5+i),r))){if(54>u.ab())return eL(eY(eN(u),e5(i)),e);u=ix(u,eZ(e5(i)))}return new tS(u,e)}function ip(n){var t,e,r,i,o,f;return null!=n.i?n.i:n.b<32?(n.i=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;if(iM(),(f=nv(n,oJ))&&(n=eQ(n)),tv(n,oJ))switch(t){case 0:return iW;case 1:return iX;case 2:return iY;case 3:return i0;case 4:return i1;case 5:return i2;case 6:return i3;default:return s=new W,t<0?s.b.b+=i5:s.b.b+=i6,b=s.b,l=-0x80000000==t?"2147483648":iV+-t,b.b+=l,s.b.b}c=tU(uK,{6:1},-1,19,1),e=18,a=n;do u=a,a=nQ(a,oX),c[--e]=65535&nB(eY(o1,e0(u,iR(a,oX))));while(tm(a,oJ))if(r=e0(e0(e0(o0,e5(e)),e5(t)),oK),0==t)return f&&(c[--e]=45),tP(c,e,18-e);if(t>0&&rN(r,oG)){if(rN(r,oJ)){for(o=17,i=e+nB(r);o>=i;--o)c[o+1]=c[o];return c[++i]=46,f&&(c[--e]=45),tP(c,e,18-e+1)}for(o=2;nv(e5(o),eY(eQ(r),oK));++o)c[--e]=48;return c[--e]=46,c[--e]=48,f&&(c[--e]=45),tP(c,e,18-e)}return(h=e+1,s=new Z,f&&(s.b.b+=iJ),18-h>=1)?(tE(s,c[e]),s.b.b+=iK,g=s.b,w=tP(c,e+1,18-e-1),g.b+=w):(d=s.b,_=tP(c,e,18-e),d.b+=_),s.b.b+=oc,rA(r,oJ)&&(s.b.b+=iz),v=s.b,m=iV+r6(r),v.b+=m,s.b.b}(r3(n.g),eo(n.f)),n.i):(i=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)?i:(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,e=i.length,r=-n.f+e-t,f=(o=new W).b,f.b+=i,n.f>0&&r>=-6?r>=0?n8(o,e-eo(n.f),iK):(te(o.b,t-1,t-1,iZ),n8(o,t+1,tP(fh,0,-eo(r)-1))):(e-t>=1&&(te(o.b,t,t,iK),++e),te(o.b,e,e,oc),r>0&&n8(o,++e,iz),n8(o,++e,iV+r6(r3(r)))),n.i=o.b.b,n.i)}function i_(n,t){var e,r,i,o,f,u;if(i=ew(n),o=ew(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]=f;break}i[o]=f.substring(0,c.index),f=f.substring(c.index+c[0].length,f.length),r.lastIndex=0,u==f&&(i[o]=f.substring(0,1),f=f.substring(1)),u=f,o++}if(0==e&&n.length>0){for(var s=i.length;s>0&&i[s-1]==iV;)--s;s1e6)throw new ni("power of ten too big");if(n<=0x7fffffff)return fV[1].db(t).eb(t);for(i=r=fV[1].db(0x7fffffff),e=r3(n-0x7fffffff),t=eo(n%0x7fffffff);rA(e,o6);)i=et(i,r),e=e0(e,o6);for(i=(i=et(i,fV[1].db(t))).eb(0x7fffffff),e=r3(n-0x7fffffff);rA(e,o6);)i=i.eb(0x7fffffff),e=e0(e,o6);return i.eb(t)}function iy(){var n,t;c&&rM("com.iriscouch.gwtapp.client.BigDecimalApp"),nZ(new K),nY(new j),nX(new F),tk(new H),c&&rM("com.google.gwt.user.client.UserAgentAsserter"),tF(oF,n=-1!=(t=r.userAgent.toLowerCase()).indexOf(oT)?oT:-1!=t.indexOf("webkit")||function(){if(-1!=t.indexOf("chromeframe"))return!0;if(typeof e.ActiveXObject!=o$)try{var n=new ActiveXObject("ChromeTab.ChromeFrame");if(n)return n.registerBhoIfNeeded(),!0}catch(n){}return!1}()?oF:-1!=t.indexOf(oD)&&u.documentMode>=9?"ie9":-1!=t.indexOf(oD)&&u.documentMode>=8?"ie8":!function(){var n=/msie ([0-9]+)\.([0-9]+)/.exec(t);if(n&&3==n.length)return 1e3*parseInt(n[1])+parseInt(n[2])>=6e3}()?-1!=t.indexOf("gecko")?"gecko1_8":"unknown":"ie6")||f.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"),c&&rM("com.google.gwt.user.client.DocumentModeAsserter"),function(){var n,t,e;for(e=0,t=u.compatMode,n=tK(uI,{6:1},1,[oo]);e>5,this.b=tU(up,{6:1},-1,this.e,1);f=0x80000000&&(r-=0x100000000),r));this.b[this.e-1]>>>=31&-n,tZ(this)}}function ix(n,t){var e,r,i,o,f,u,c,s,h,a,b,l;if(f=n.f,c=t.f,0==f)return t;if(0==c)return n;if((o=n.e)+(u=t.e)==2)return(e=th(e5(n.b[0]),o5),r=th(e5(t.b[0]),o5),f==c)?(l=nB(s=eY(e,r)),0==(b=nB(rP(s,32)))?new tV(f,l):new to(f,2,tK(up,{6:1},-1,[l,b]))):eZ(f<0?e0(r,e):e0(e,r));if(f==c)a=f,h=o>=u?t5(n.b,o,t.b,u):t5(t.b,u,n.b,o);else{if(0==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))return rW(),fA;1==i?(a=f,h=tJ(n.b,o,t.b,u)):(a=c,h=tJ(t.b,u,n.b,o))}return tZ(s=new to(a,h.length,h)),s}function iS(n){var t,e,r,i;if(rF(),null==n)throw new nc("null string");if((t=t4(n)).length<27||t.length>45)throw new nf(oM);for(r=0;rue.length)throw new q;if(o=null,i=null,67==r[0]?(i=fX,o=f4):68==r[0]?(i=fY,o=f9):70==r[0]?(i=f0,o=f8):72==r[0]?e>6&&(68==r[5]?(i=f1,o=f7):69==r[5]?(i=f2,o=un):85==r[5]&&(i=f3,o=ut)):85==r[0]&&(80==r[1]?(i=f5,o=ur):78==r[1]&&(i=f6,o=ue)),i&&e==o.length){for(t=1;tl||r+i>s)throw new G;if(((1&a.c)==0||(4&a.c)!=0)&&b!=c){if(h=tT(n,11),o=tT(e,11),nj(n)===nj(e)&&tr;)rn(o,u,h[--t]);else for(u=r+i;rh.r()&&(s=s.cb()),c=eK(e+(o>f?o:f)),new tS(s=(i=o-f)>0?(il(),i>19!=0&&(t=eQ(t),c=!0),f=((b=(h=t).l)&b-1)!=0||((l=h.m)&l-1)!=0||((a=h.h)&a-1)!=0||0==a&&0==l&&0==b?-1:0==a&&0==l&&0!=b?es(b):0==a&&0!=l&&0==b?es(l)+22:0!=a&&0==l&&0==b?es(a)+44:-1,o=!1,i=!1,r=!1,524288==n.h&&0==n.m&&0==n.l){if(i=!0,o=!0,-1!=f)return u=rK(n,f),c&&eT(u),e&&(o7=ty(0,0,0)),u;n=nT((eS(),fo)),r=!0,c=!c}else~~n.h>>19!=0&&(o=!0,n=eQ(n),r=!0,c=!c);return -1!=f?(g=n,w=c,d=o,_=rK(g,f),w&&eT(_),e&&(v=g,f<=22?(m=v.l&(1<=0&&((g=n.h-f.h)<0||(b=n.l-f.l,(g+=~~(l=n.m-f.m+(~~b>>22))>>22)<0||(n.l=4194303&b,n.m=4194303&l,n.h=1048575&g,0))||(c<22?u.l|=1<>>1,f.m=~~h>>>1|(1&a)<<21,f.l=~~s>>>1|(1&h)<<21,--c;return e&&eT(u),o&&(r?(o7=eQ(n),i&&(o7=e0(o7,(eS(),fu)))):o7=ty(n.l,n.m,n.h)),u}(r?n:ty(n.l,n.m,n.h),t,c,o,i,e):(e&&(o7=o?eQ(n):ty(n.l,n.m,n.h)),ty(0,0,0))}function iE(n){var t=[];for(var e in n){var r=typeof n[e];r!=oQ?t[t.length]=r:n[e]instanceof Array?t[t.length]=oS:f&&f.bigdecimal&&f.bigdecimal.BigInteger&&n[e]instanceof f.bigdecimal.BigInteger?t[t.length]=on:f&&f.bigdecimal&&f.bigdecimal.BigDecimal&&n[e]instanceof f.bigdecimal.BigDecimal?t[t.length]=i9:f&&f.bigdecimal&&f.bigdecimal.RoundingMode&&n[e]instanceof f.bigdecimal.RoundingMode?t[t.length]=ow:f&&f.bigdecimal&&f.bigdecimal.MathContext&&n[e]instanceof f.bigdecimal.MathContext?t[t.length]=ob:t[t.length]=oQ}return t.join(iq)}function iR(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;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,f=~~(1048320&n.h)>>8,u=8191&t.l,c=~~t.l>>13|(15&t.m)<<9,s=~~t.m>>4&8191,h=~~t.m>>17|(255&t.h)<<5,a=~~(1048320&t.h)>>8,w=e*u,d=r*u,_=i*u,v=o*u,m=f*u,0!=c&&(d+=e*c,_+=r*c,v+=i*c,m+=o*c),0!=s&&(_+=e*s,v+=r*s,m+=i*s),0!=h&&(v+=e*h,m+=r*h),0!=a&&(m+=e*a),b=(4194303&w)+((511&d)<<13),l=(~~w>>22)+(~~d>>9)+((262143&_)<<4)+((31&v)<<17),g=(~~_>>18)+(~~v>>5)+((4095&m)<<8),l+=~~b>>22,b&=4194303,g+=~~l>>22,ty(b,l&=4194303,g&=1048575)}function iO(n,t,e){var r,i,o,f,u,c,s,h;if(h=ri(eY(e5(e.b),oW))+(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1)-(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1),c=i=n.f-t.f,o=1,u=fm.length-1,s=tK(u9,{6:1},17,[(n.d||(n.d=eP(n.g)),n.d)]),0==e.b||0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)return iN(n,t);if(h>0&&(rn(s,0,et((n.d||(n.d=eP(n.g)),n.d),im(h))),c+=h),f=(s=r5(s[0],(t.d||(t.d=eP(t.g)),t.d)))[0],0!=s[1].r())r=rt(eH(s[1]),(t.d||(t.d=eP(t.g)),t.d)),f=ix(et(f,(rW(),fB)),eZ(e5(s[0].r()*(5+r)))),++c;else for(;!f.gb(0);)if(0==(s=r5(f,fm[o]))[1].r()&&c-o>=i)c-=o,o=0)return n;return 0==e?n_(n.b,t.b)+1<54?new ti(n.g-t.g,n.f):new tM(ih((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f):e>0?e0?t.e:nP((t.b-1)*.3010299956639812)+1)+o>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)+1||0==n.b&&-1!=n.g)rW(),r=fA;else if(0==o)r=ia((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d));else if(o>0)f=im(o),r=ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),f)),r=et(r,f);else{for(f=im(-o),r=ia(et((n.d||(n.d=eP(n.g)),n.d),f),(t.d||(t.d=eP(t.g)),t.d));!r.gb(0);)if(0==(u=r5(r,fm[e]))[1].r()&&c-e>=o)c-=e,e=0;){if(w[a]==c)s=-1;else if(s=nB(m=r2(eY(rU(th(e5(w[a]),o5),32),th(e5(w[a-1]),o5)),c)),v=nB(rK(m,32)),0!=s){_=!1,++s;do{if(--s,_)break;l=iR(th(e5(s),o5),th(e5(d[o-2]),o5)),y=eY(rU(e5(v),32),th(e5(w[a-2]),o5)),32>r$(nB(rP(g=eY(th(e5(v),o5),th(e5(c),o5)),32)))?_=!0:v=nB(g)}while(rA(tb(l,oV),tb(y,oV)))}if(0!=s&&0!=function(n,t,e,r,i){var o,f,u;for(u=0,o=oJ,f=oJ;u0)rn(b,0,ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),im(o)))),a=o<(h-l+1>0?h-l+1:0)?o:h-l+1>0?h-l+1:0,rn(b,0,et(b[0],im(a)));else if(f=-o<(h-i>0?h-i:0)?-o:h-i>0?h-i:0,b=r5(et((n.d||(n.d=eP(n.g)),n.d),im(f)),(t.d||(t.d=eP(t.g)),t.d)),a+=f,f=-a,0!=b[1].r()&&f>0&&(0==(r=new nL(b[1]).q()+f-t.q())&&(rn(b,1,ia(et(b[1],im(f)),(t.d||(t.d=eP(t.g)),t.d))),r=(d=b[1].r())<0?-d:d),r>0))throw new ni(ou);if(0==b[0].r())return eU(o);for(w=b[0],g=(c=new nL(b[0])).q(),u=1;!w.gb(0);)if(0==(b=r5(w,fm[u]))[1].r()&&(g-u>=h||a-u>=o))g-=u,a-=u,uh)throw new ni(ou);return c.f=eK(a),tO(c,w),c}function ij(){var n;for(n=0,ij=g,fJ=tK(up,{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]),fK=tU(u9,{6:1},17,(fW=tK(up,{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])).length,0);n=0;--c)w=function(n){var t,e,r;return rN(n,oJ)?(e=nQ(n,o3),r=n5(n,o3)):(e=nQ(t=rP(n,1),o2),r=eY(rU(r=n5(t,o2),1),th(n,oK))),ta(rU(r,32),th(e,o5))}(eY(rU(y,32),th(e5(S[c]),o5))),S[c]=nB(w),y=e5(nB(rK(w,32)));d=nB(y),g=e;do v[--e]=48+d%10&65535;while(0!=(d=~~(d/10))&&0!=e)for(u=0,r=9-g+e;u0;++u)v[--e]=48;for(h=M-1;0==S[h];--h)if(0==h)break n;M=h+1}for(;48==v[e];)++e}if(a=C<0,o=_-e-t-1,0==t)return a&&(v[--e]=45),tP(v,e,_-e);if(t>0&&o>=-6){if(o>=0){for(s=e+o,h=_-1;h>=s;--h)v[h+1]=v[h];return v[++s]=46,a&&(v[--e]=45),tP(v,e,_-e+1)}for(h=2;h<-o+1;++h)v[--e]=48;return v[--e]=46,v[--e]=48,a&&(v[--e]=45),tP(v,e,_-e)}return(x=e+1,m=new Z,a&&(m.b.b+=iJ),_-x>=1)?(tE(m,v[e]),m.b.b+=iK,I=m.b,E=tP(v,e+1,_-e-1),I.b+=E):(R=m.b,O=tP(v,e,_-e),R.b+=O),m.b.b+=oc,o>0&&(m.b.b+=iz),D=m.b,k=iV+o,D.b+=k,m.b.b}c&&c({moduleName:"gwtapp",sessionId:s,subSystem:"startup",evtGroup:"moduleStartup",millis:new Date().getTime(),type:"moduleEvalStart"});var iH,i$,iV="",iq=" ",iG='"',iz="+",iJ="-",iK=".",iW="0",iZ="0.",iX="0.0",iY="0.00",i0="0.000",i1="0.0000",i2="0.00000",i3="0.000000",i6="0E",i5="0E+",i4=":",i9="BigDecimal",i8="BigDecimal MathContext",i7="BigDecimal;",on="BigInteger",ot="BigInteger divide by zero",oe="BigInteger not invertible.",or="BigInteger: modulus not positive",oi="BigInteger;",oo="CSS1Compat",of="Division by zero",ou="Division impossible",oc="E",os='For input string: "',oh="Infinite or NaN",oa="Invalid Operation",ob="MathContext",ol="Negative bit address",og="Rounding necessary",ow="RoundingMode",od="RoundingMode;",op="String",o_="[Lcom.iriscouch.gwtapp.client.",ov="[Ljava.lang.",om="[Ljava.math.",oy="\\.",oC="__gwtex_wrap",ox="anonymous",oS="array",oM="bad string format",oB="bigdecimal",oA="com.google.gwt.core.client.",oN="com.google.gwt.core.client.impl.",oI="com.iriscouch.gwtapp.client.",oE="java.lang.",oR="java.math.",oO="java.util.",oD="msie",ok="null",oL="number",oU="number MathContext",oP="number number",oQ="object",oT="opera",oj="org.timepedia.exporter.client.",oF="safari",oH="string",o$="undefined",oV={l:0,m:0,h:524288},oq={l:0,m:4193280,h:1048575},oG={l:4194298,m:4194303,h:1048575},oz={l:4194303,m:4194303,h:1048575},oJ={l:0,m:0,h:0},oK={l:1,m:0,h:0},oW={l:2,m:0,h:0},oZ={l:5,m:0,h:0},oX={l:10,m:0,h:0},oY={l:11,m:0,h:0},o0={l:18,m:0,h:0},o1={l:48,m:0,h:0},o2={l:877824,m:119,h:0},o3={l:1755648,m:238,h:0},o6={l:4194303,m:511,h:0},o5={l:4194303,m:1023,h:0},o4={l:0,m:1024,h:0};(i$=h.prototype={}).eQ=function(n){return this===n},i$.gC=function(){return us},i$.hC=function(){return nF(this)},i$.tS=function(){return this.gC().d+"@"+function(n){var t,e,r;if(t=tU(uK,{6:1},-1,8,1),rv(),e=fO,r=7,n>=0)for(;n>15;)t[r--]=e[15&n],n>>=4;else for(;r>0;)t[r--]=e[15&n],n>>=4;return t[r]=e[15&n],t6(t,r,8)}(this.hC())},i$.toString=function(){return this.tS()},i$.tM=g,i$.cM={},(i$=a.prototype=new h).gC=function(){return ua},i$.j=function(){return this.f},i$.tS=function(){var n,t;return n=this.gC().d,null!=(t=this.j())?n+": "+t:n},i$.cM={6:1,15:1},i$.f=null,(i$=b.prototype=new a).gC=function(){return ub},i$.cM={6:1,15:1},(i$=nr.prototype=l.prototype=new b).gC=function(){return ul},i$.cM={6:1,12:1,15:1},(i$=n1.prototype=(function(){}).prototype=new l).gC=function(){return ug},i$.j=function(){var n,t,e,r,i;return null==this.d&&(this.e=null==(e=this.c)?ok:tt(e)?null==(r=t8(e))?null:r.name:nz(e,1)?op:(nH(e)?e.gC():uw).d,this.b=tt(n=this.c)?null==(i=t8(n))?null:i.message:n+iV,this.d="("+this.e+"): "+this.b+(tt(t=this.c)?function(n){var t=iV;try{for(var e in n)if("name"!=e&&"message"!=e&&"toString"!=e)try{t+="\n "+e+": "+n[e]}catch(n){}}catch(n){}return t}(t8(t)):iV)),this.d},i$.cM={6:1,12:1,15:1},i$.b=null,i$.c=null,i$.d=null,i$.e=null,(i$=w.prototype=new h).gC=function(){return ud};var o9=0,o8=0;(i$=d.prototype=(function(){}).prototype=new w).gC=function(){return um},i$.b=null,i$.c=null,(i$=_.prototype=v.prototype=new h).k=function(){for(var n={},t=[],e=arguments.callee.caller.caller;e;){var r,i,o=this.n(e.toString());t.push(o);var f=i4+o,u=n[f];if(u){for(r=0,i=u.length;r0?i:ox},i$.gC=function(){return uy},i$.o=function(n){return[]},(i$=m.prototype=new v).k=function(){return tg(this.o(td()),this.p())},i$.gC=function(){return uS},i$.o=function(n){return eO(this,n)},i$.p=function(){return 2},(i$=y.prototype=(function(){}).prototype=new m).k=function(){return eh(this)},i$.n=function(n){var t,e;return 0==n.length||(0==(e=e8(n)).indexOf("at ")&&(e=n7(e,3)),-1==(t=e.indexOf("["))&&(t=e.indexOf("(")),-1==t)?ox:(-1!=(t=(e=e8(e.substr(0,t-0))).indexOf("."))&&(e=n7(e,t+1)),e.length>0?e:ox)},i$.gC=function(){return uM},i$.o=function(n){return t3(this,n)},i$.p=function(){return 3},(i$=C.prototype=new h).gC=function(){return uB},(i$=x.prototype=(function(){}).prototype=new C).gC=function(){return uA},i$.b=iV,(i$=S.prototype=(function(){}).prototype=new h).gC=function(){return this.aC},i$.aC=null,i$.qI=0;var o7=null,fn=null;(i$=M.prototype=(function(){}).prototype=new h).gC=function(){return uE},i$.cM={2:1},(i$=B.prototype=new h).gC=function(){return uO},i$.cM={6:1,10:1};var ft=null;(i$=ef.prototype=ti.prototype=tM.prototype=tN.prototype=X.prototype=e_.prototype=eu.prototype=tA.prototype=tB.prototype=eJ.prototype=n3.prototype=n6.prototype=tr.prototype=tS.prototype=nL.prototype=A.prototype=new B).eQ=function(n){return e2(this,n)},i$.gC=function(){return uD},i$.hC=function(){return rm(this)},i$.q=function(){return rj(this)},i$.r=function(){return ed(this)},i$.tS=function(){return ip(this)},i$.cM={6:1,8:1,10:1,16:1},i$.b=0,i$.c=0,i$.d=null,i$.e=0,i$.f=0,i$.g=0,i$.i=null;var fe,fr,fi,fo,ff,fu,fc,fs,fh,fa,fb,fl,fg,fw,fd,fp,f_,fv=null,fm=null,fy=null;(i$=nU.prototype=nw.prototype=(function(){}).prototype=new A).s=function(n){var t,e,r;if((e=iE(n))==iV)t=0>ed(this)?ep(this):this;else if(e==ob)t=0>(r=t7(this,new iS(n[0].toString()))).r()?ep(r):r;else throw new nr("Unknown call signature for interim = super.abs: "+e);return new nU(t)},i$.t=function(n){var t,e;if((e=iE(n))==i9)t=r1(this,new X(n[0].toString()));else if(e==i8)t=function(n,t,e){var r,i,o,f;if(r=n.f-t.f,0==t.b&&-1!=t.g||0==n.b&&-1!=n.g||0==e.b)return t7(r1(n,t),e);if((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)0?t.e:nP((t.b-1)*.3010299956639812)+1)<-r-1))return t7(r1(n,t),e);i=n,f=t}return e.b>=(i.e>0?i.e:nP((i.b-1)*.3010299956639812)+1)?t7(r1(n,t),e):t7(i=new tM((o=i.r())==f.r()?ix(rZ((i.d||(i.d=eP(i.g)),i.d),10),eZ(e5(o))):ix(rZ(ih((i.d||(i.d=eP(i.g)),i.d),eZ(e5(o))),10),eZ(e5(9*o))),i.f+1),e)}(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.add: "+e);return new nU(t)},i$.u=function(){return~~(nB(en(this,8))<<24)>>24},i$.v=function(n){return ic(this,n)},i$.w=function(n){var t,e,r,i;if((i=iE(n))==i9)e=el(this,new X(n[0].toString()));else if(i==i8)e=eg(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.divideAndRemainder: "+i);for(t=0,r=tU(uL,{6:1},3,e.length,0);t129?n*=1/0:n=t9(ip(this)),n},i$.gC=function(){return uk},i$.hC=function(){return rm(this)},i$.B=function(){var n;return this.f<=-32||this.f>(this.e>0?this.e:nP((this.b-1)*.3010299956639812)+1)?0:(n=new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))).f*n.b[0]},i$.C=function(){return nB(en(this,32))},i$.D=function(){return nB(en(this,32))},i$.E=function(){return t9(ip(this))},i$.F=function(n){return new nU(ic(this,n)>=0?this:n)},i$.G=function(n){return new nU(0>=ic(this,n)?this:n)},i$.H=function(n){return new nU(rJ(this,this.f+n))},i$.I=function(n){return new nU(rJ(this,this.f-n))},i$.J=function(n){var t,e;if((e=iE(n))==i9)t=rk(this,new X(n[0].toString()));else if(e==i8)t=tl(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.multiply: "+e);return new nU(t)},i$.K=function(n){var t,e;if((e=iE(n))==iV)t=ep(this);else if(e==ob)t=ep(t7(this,new iS(n[0].toString())));else throw new nr("Unknown call signature for interim = super.negate: "+e);return new nU(t)},i$.L=function(n){var t,e;if((e=iE(n))==iV)t=this;else if(e==ob)t=t7(this,new iS(n[0].toString()));else throw new nr("Unknown call signature for interim = super.plus: "+e);return new nU(t)},i$.M=function(n){var t,e;if((e=iE(n))==oL)t=rd(this,n[0]);else if(e==oU)t=function(n,t,e){var r,i,o,f,u,c;if(o=t<0?-t:t,f=e.b,i=eo(tn(o))+1,u=e,0==t||0==n.b&&-1!=n.g&&t>0)return rd(n,t);if(o>0x3b9ac9ff||0==f&&t<0||f>0&&i>f)throw new ni(oa);for(f>0&&(u=new eW(f+i+1,e.c)),r=t7(n,u),c=~~function(n){var t;if(n<0)return -0x80000000;if(0==n)return 0;for(t=0x40000000;(t&n)==0;t>>=1);return t}(o)>>1;c>0;)r=tl(r,r,u),(o&c)==c&&(r=tl(r,n,u)),c>>=1;return t<0&&(r=iO(fw,r,u)),is(r,e),r}(this,n[0],new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.pow: "+e);return new nU(t)},i$.q=function(){return rj(this)},i$.N=function(n){var t,e;if((e=iE(n))==i9)t=el(this,new X(n[0].toString()))[1];else if(e==i8)t=eg(this,new X(n[0].toString()),new iS(n[1].toString()))[1];else throw new nr("Unknown call signature for interim = super.remainder: "+e);return new nU(t)},i$.O=function(n){return new nU(t7(this,new iS(ea(n.b))))},i$.P=function(){return eo(this.f)},i$.Q=function(n){var t;return new nU((t=this.f-n,this.b<54)?0==this.g?eU(t):new ti(this.g,eK(t)):new tS((this.d||(this.d=eP(this.g)),this.d),eK(t)))},i$.R=function(n){var t,e;if((e=iE(n))==oL)t=r0(this,n[0],(iA(),f6));else if(e==oP)t=r0(this,n[0],rQ(n[1]));else if("number RoundingMode"==e)t=r0(this,n[0],ts(n[1].toString()));else throw new nr("Unknown call signature for interim = super.setScale: "+e);return new nU(t)},i$.S=function(){return~~(nB(en(this,16))<<16)>>16},i$.r=function(){return ed(this)},i$.T=function(){return new nU(function(n){var t,e,r,i,o;if(t=1,e=fm.length-1,r=n.f,0==n.b&&-1!=n.g)return new X(iW);for(n.d||(n.d=eP(n.g)),o=n.d;!o.gb(0);)if(0==(i=r5(o,fm[t]))[1].r())r-=t,t0?r.e:nP((r.b-1)*.3010299956639812)+1)0?this.e:nP((this.b-1)*.3010299956639812)+1)?t7(new tM((f=ed(this))!=r.r()?ix(rZ((this.d||(this.d=eP(this.g)),this.d),10),eZ(e5(f))):ix(rZ(ih((this.d||(this.d=eP(this.g)),this.d),eZ(e5(f))),10),eZ(e5(9*f))),this.f+1),i):t7(iD(this,r),i);else throw new nr("Unknown call signature for interim = super.subtract: "+e);return new nU(t)},i$.V=function(){return new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))},i$.W=function(){return new n2(r4(this))},i$.X=function(){return function(n){var t,e,r,i,o,f,u,c;if(f=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)return f;if(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,r=f.length,i=-n.f+r-t,c=new nq(f),n.f>0&&i>=-6)i>=0?n8(c,r-eo(n.f),iK):(te(c.b,t-1,t-1,iZ),n8(c,t+1,tP(fh,0,-eo(i)-1)));else{if(e=r-t,0!=(u=eo(i%3))&&(0==(n.d||(n.d=eP(n.g)),n.d).r()?i+=u=u<0?-u:3-u:(i-=u=u<0?u+3:u,t+=u),e<3))for(o=u-e;o>0;--o)n8(c,r++,iW);r-t>=1&&(te(c.b,t,t,iK),++r),0!=i&&(te(c.b,r,r,oc),i>0&&n8(c,++r,iz),n8(c,++r,iV+r6(r3(i))))}return c.b.b}(this)},i$.Y=function(){return function(n){var t,e,r,i,o,f;if(r=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f||0==n.b&&-1!=n.g&&n.f<0)return r;if(t=0>ed(n)?1:0,e=n.f,i=new Z(r.length+1+((o=eo(n.f))<0?-o:o)),1==t&&(i.b.b+=iJ),n.f>0){if((e-=r.length-t)>=0){for(i.b.b+=iZ;e>fh.length;e-=fh.length)tG(i,fh);n9(i,fh,eo(e)),nE(i,n7(r,t))}else nE(i,(f=eo(e=t-e),r.substr(t,f-t))),i.b.b+=iK,nE(i,n7(r,eo(e)))}else{for(nE(i,n7(r,t));e<-fh.length;e+=fh.length)tG(i,fh);n9(i,fh,eo(-e))}return i.b.b}(this)},i$.tS=function(){return ip(this)},i$.Z=function(){return new nU(new ti(1,this.f))},i$.$=function(){return new n2((this.d||(this.d=eP(this.g)),this.d))},i$.cM={3:1,6:1,8:1,10:1,16:1,24:1},(i$=H.prototype=(function(){}).prototype=new h).gC=function(){return uU};var fC=!1;(i$=rf.prototype=ro.prototype=to.prototype=e9.prototype=tV.prototype=ra.prototype=nG.prototype=iC.prototype=N.prototype=new B)._=function(){return this.f<0?new to(1,this.e,this.b):this},i$.ab=function(){return eq(this)},i$.eQ=function(n){return eV(this,n)},i$.gC=function(){return uP},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.cb=function(){return 0==this.f?this:new to(-this.f,this.e,this.b)},i$.db=function(n){return rL(this,n)},i$.eb=function(n){return tY(this,n)},i$.fb=function(n){return t0(this,n)},i$.r=function(){return this.f},i$.gb=function(n){return rT(this,n)},i$.tS=function(){return iF(this,0)},i$.cM={6:1,8:1,10:1,17:1},i$.b=null,i$.c=-2,i$.d=0,i$.e=0,i$.f=0;var fx,fS,fM,fB,fA,fN=null;(i$=n2.prototype=nD.prototype=nk.prototype=(function(){}).prototype=new N)._=function(){return new n2(this.f<0?new to(1,this.e,this.b):this)},i$.hb=function(n){return new n2(ix(this,n))},i$.ib=function(n){return new n2(0==n.f||0==this.f?(rW(),fA):eV(n,(rW(),fx))?this:eV(this,fx)?n:this.f>0?n.f>0?function(n,t){var e,r,i,o;if(i=np(n.e,t.e),(e=n_(ew(n),ew(t)))>=i)return rW(),fA;for(r=tU(up,{6:1},-1,i,1);e0?rz(n,this):this.e>n.e?i_(this,n):i_(n,this))},i$.jb=function(n){return new n2(0==n.f?this:0==this.f?(rW(),fA):eV(this,(rW(),fx))?new n2(r7(n)):eV(n,fx)?fA:this.f>0?n.f>0?function(n,t){var e,r,i,o;for(i=tU(up,{6:1},-1,n.e,1),r=np(n.e,t.e),e=ew(n);e=n.e)return n;for(o=tU(up,{6:1},-1,f=np(n.e,t.e),1),e=i;e0?function(n,t){var e,r,i,o,f,u,c;if(i=ew(n),o=ew(t),i>=t.e)return n;if(c=n_(n.e,t.e),r=i,o>i){for(u=tU(up,{6:1},-1,c,1),f=np(n.e,o);r=t.e)return rW(),fA;if(f=tU(up,{6:1},-1,u=t.e,1),e=i,i0)for(;e34028234663852886e22?1/0:n<-34028234663852886e22?-1/0:n},i$.qb=function(n){return new n2(rR(this,n))},i$.gC=function(){return uQ},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.B=function(){return this.f*this.b[0]},i$.rb=function(n){return function(n,t){var e,r;if(ij(),t<=0||1==n.e&&2==n.b[0])return!0;if(!rT(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}(fW,n.b[0])>=0;for(r=1;r>1)?r:1+(~~(t-1)>>1))}(new n2(this.f<0?new to(1,this.e,this.b):this),n)},i$.sb=function(){return t9(iF(this,0))},i$.tb=function(n){return new n2(1==rt(this,n)?this:n)},i$.ub=function(n){return new n2(-1==rt(this,n)?this:n)},i$.vb=function(n){return new n2(ee(this,n))},i$.wb=function(n){return new n2(rO(this,n))},i$.xb=function(n,t){return new n2(rG(this,n,t))},i$.yb=function(n){return new n2(et(this,n))},i$.cb=function(){return new n2(0==this.f?this:new to(-this.f,this.e,this.b))},i$.zb=function(){return new n2(function(n){if(n.f<0)throw new ni("start < 0: "+n);return function(n){var t,e,r,i,o,f,u,c;if(ij(),o=tU(up,{6:1},-1,fW.length,1),r=tU(uv,{6:1},-1,1024,2),1==n.e&&n.b[0]>=0&&n.b[0]=fW[e];++e);return fK[e]}for(u=new to(1,n.e,tU(up,{6:1},-1,n.e+1,1)),iB(n.b,0,u.b,0,n.e),rT(n,0)?tW(u,2):u.b[0]|=1,i=u.ab(),t=2;i0?n.f>0?this.e>n.e?rg(this,n):rg(n,this):iw(this,n):n.f>0?iw(n,this):ew(n)>ew(this)?rX(n,this):rX(this,n))},i$.db=function(n){return new n2(rL(this,n))},i$.Cb=function(n){return new n2(rH(this,n))},i$.Db=function(n){return new n2(rT(this,n)?this:ie(this,n))},i$.eb=function(n){return new n2(tY(this,n))},i$.fb=function(n){return new n2(t0(this,n))},i$.r=function(){return this.f},i$.Eb=function(n){return new n2(ih(this,n))},i$.gb=function(n){return rT(this,n)},i$.Fb=function(n){var t,e;if((e=iE(n))==iV)t=iF(this,0);else if(e==oL)t=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v;if(iM(),w=n.f,h=n.e,u=n.b,0==w)return iW;if(1==h)return v=th(e5(u[0]),o5),w<0&&(v=eQ(v)),function(n,t){var e,r,i,o;if(10==t||t<2||t>36)return iV+r6(n);if(e=tU(uK,{6:1},-1,65,1),rv(),r=fO,i=64,o=e5(t),rN(n,oJ)){for(;rN(n,o);)e[i--]=r[nB(n5(n,o))],n=iI(n,o,!1);e[i]=r[nB(n)]}else{for(;!rA(n,eQ(o));)e[i--]=r[nB(eQ(n5(n,o)))],n=iI(n,o,!1);e[i--]=r[nB(eQ(n))],e[i]=45}return t6(e,i,65)}(v,t);if(10==t||t<2||t>36)return iF(n,0);if(r=Math.log(t)/Math.log(2),g=tU(uK,{6:1},-1,l=eo(eq(new n2(n.f<0?new to(1,n.e,n.b):n))/r+(w<0?1:0))+1,1),o=l,16!=t)for(iB(u,0,d=tU(up,{6:1},-1,h,1),0,h),_=h,i=fP[t],e=fU[t-2];;){b=ii(d,d,_,e),a=o;do g[--o]=em(b%t,t);while(0!=(b=~~(b/t))&&0!=o)for(c=0,f=i-a+o;c0;++c)g[--o]=48;for(c=_-1;c>0&&0==d[c];--c);if(1==(_=c+1)&&0==d[0])break}else for(c=0;c0;++s)b=~~u[c]>>(s<<2)&15,g[--o]=em(b,16);for(;48==g[o];)++o;return -1==w&&(g[--o]=45),tP(g,o,l-o)}(this,n[0]);else throw new nr("Unknown call signature for result = super.toString: "+e);return t},i$.Gb=function(n){return new n2(0==n.f?this:0==this.f?n:eV(n,(rW(),fx))?new n2(r7(this)):eV(this,fx)?new n2(r7(n)):this.f>0?n.f>0?this.e>n.e?rw(this,n):rw(n,this):iU(this,n):n.f>0?iU(n,this):ew(n)>ew(this)?io(n,this):io(this,n))},i$.cM={4:1,6:1,8:1,10:1,17:1,24:1},(i$=F.prototype=(function(){}).prototype=new h).gC=function(){return uj};var fI=!1;(i$=nm.prototype=ny.prototype=(function(){}).prototype=new h).gC=function(){return uF},i$.Hb=function(){return this.b.b},i$.Ib=function(){return new nn(this.b.c)},i$.hC=function(){return nM(this.b)},i$.tS=function(){return ea(this.b)},i$.cM={24:1},i$.b=null,(i$=j.prototype=(function(){}).prototype=new h).gC=function(){return uH};var fE=!1;(i$=nn.prototype=nC.prototype=(function(){}).prototype=new h).gC=function(){return u$},i$.Jb=function(){return this.b.b},i$.tS=function(){return this.b.b},i$.cM={5:1,24:1},i$.b=null,(i$=K.prototype=(function(){}).prototype=new h).gC=function(){return uq};var fR=!1;(i$=ni.prototype=(function(){}).prototype=new l).gC=function(){return uG},i$.cM={6:1,12:1,15:1},(i$=no.prototype=V.prototype=(function(){}).prototype=new l).gC=function(){return uJ},i$.cM={6:1,12:1,15:1},(i$=I.prototype=(function(){}).prototype=new h).gC=function(){return uW},i$.tS=function(){return((2&this.c)!=0?"interface ":(1&this.c)!=0?iV:"class ")+this.d},i$.b=null,i$.c=0,i$.d=null,(i$=$.prototype=(function(){}).prototype=new l).gC=function(){return uZ},i$.cM={6:1,12:1,15:1},(i$=E.prototype=new h).eQ=function(n){return this===n},i$.gC=function(){return uh},i$.hC=function(){return nF(this)},i$.tS=function(){return this.b},i$.cM={6:1,8:1,9:1},i$.b=null,i$.c=0,(i$=nf.prototype=q.prototype=R.prototype=new l).gC=function(){return uX},i$.cM={6:1,12:1,15:1},(i$=nu.prototype=G.prototype=O.prototype=new l).gC=function(){return uz},i$.cM={6:1,12:1,15:1},(i$=nc.prototype=z.prototype=(function(){}).prototype=new l).gC=function(){return uY},i$.cM={6:1,12:1,15:1},(i$=nd.prototype=(function(){}).prototype=new R).gC=function(){return u0},i$.cM={6:1,12:1,15:1},(i$=tf.prototype=(function(){}).prototype=new h).gC=function(){return uC},i$.tS=function(){return this.b+iK+this.d+"(Unknown Source"+(this.c>=0?i4+this.c:iV)+")"},i$.cM={6:1,13:1},i$.b=null,i$.c=0,i$.d=null,(i$=String.prototype).eQ=function(n){return tF(this,n)},i$.gC=function(){return uN},i$.hC=function(){var n,t;return nK(),null!=(t=fk[n=i4+this])?t:(null==(t=fD[n])&&(t=function(n){var t,e,r,i;for(t=0,i=(r=n.length)-4,e=0;et?n:t}function nv(n,t){return!rN(n,t)}function nm(n){this.b=new iS(n)}function ny(){this.b=(rF(),fF)}function nC(){this.b=(iA(),f3)}function nx(n,t){var e;nb(),e=o.b,n?function(n,t,e,r){var i=n.b[r];if(i)for(var o=0,f=i.length;o=t&&n.splice(0,t),n}function tw(n){return nz(n,15)?n:new n1(n)}function td(){try{null.a()}catch(n){return n}}function tp(n){var t;return(t=new I).d=iV+n,t.c=1,t}function t_(n,t){return nH(n)?n.eQ(t):n===t}function tv(n,t){return n.l==t.l&&n.m==t.m&&n.h==t.h}function tm(n,t){return n.l!=t.l||n.m!=t.m||n.h!=t.h}function ty(n,t,e){return(i$=new M).l=n,i$.m=t,i$.h=e,i$}function tC(n,t){return nj(n)===nj(t)||null!=n&&t_(n,t)}function tx(n,t){throw new nu("Index: "+n+", Size: "+t)}function tS(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tM(n,t){if(!n)throw new z;this.f=t,tO(this,n)}function tB(n,t,e,r){eJ.call(this,n,t,e),is(this,r)}function tA(n,t){eJ.call(this,n,0,n.length),is(this,t)}function tN(n,t){eJ.call(this,t5(n),0,n.length),is(this,t)}function tI(n){nr.call(this,"String index out of range: "+n)}function tE(n,t){var e,r;return e=n.b,r=String.fromCharCode(t),e.b+=r,n}function tR(n,t){rC(n.b,n.b,n.e,t.b,t.e),tZ(n),n.c=-2}function tO(n,t){n.d=t,n.b=t.ab(),n.b<54&&(n.g=ri(eN(t)))}function tD(){tD=g,fr=[],fi=[],function(n,t,e){var r,i=0;for(var o in n)(r=n[o])&&(t[i]=o,e[i]=r,++i)}(new S,fr,fi)}function tk(){fC||(fC=!0,new j,new F,function(){if(ng(oB,iV),f.bigdecimal.BigDecimal)var n=f.bigdecimal.BigDecimal;f.bigdecimal.BigDecimal=uc(function(){1==arguments.length&&null!=arguments[0]&&arguments[0].gC()==uk?this.__gwt_instance=arguments[0]:0==arguments.length&&(this.__gwt_instance=new nw,nl(this.__gwt_instance,this))});var t=f.bigdecimal.BigDecimal.prototype={};if(n)for(p in n)f.bigdecimal.BigDecimal[p]=n[p];f.bigdecimal.BigDecimal.ROUND_CEILING=2,f.bigdecimal.BigDecimal.ROUND_DOWN=1,f.bigdecimal.BigDecimal.ROUND_FLOOR=3,f.bigdecimal.BigDecimal.ROUND_HALF_DOWN=5,f.bigdecimal.BigDecimal.ROUND_HALF_EVEN=6,f.bigdecimal.BigDecimal.ROUND_HALF_UP=4,f.bigdecimal.BigDecimal.ROUND_UNNECESSARY=7,f.bigdecimal.BigDecimal.ROUND_UP=0,f.bigdecimal.BigDecimal.__init__=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==on)t=new nL(new nG(n[0].toString()));else if("BigInteger number"==e)t=new tS(new nG(n[0].toString()),n[1]);else if("BigInteger number MathContext"==e)t=new tr(new nG(n[0].toString()),n[1],new iS(n[2].toString()));else if("BigInteger MathContext"==e)t=new n6(new nG(n[0].toString()),new iS(n[1].toString()));else if(e==oS)t=new n3(t5(n[0].toString()));else if("array number number"==e)t=new eJ(t5(n[0].toString()),n[1],n[2]);else if("array number number MathContext"==e)t=new tB(t5(n[0].toString()),n[1],n[2],new iS(n[3].toString()));else if("array MathContext"==e)t=new tA(t5(n[0].toString()),new iS(n[1].toString()));else if(e==oL)t=new eu(n[0]);else if(e==oU)t=new e_(n[0],new iS(n[1].toString()));else if(e==oH)t=new X(n[0].toString());else if("string MathContext"==e)t=new tN(n[0].toString(),new iS(n[1].toString()));else throw new nr("Unknown call signature for obj = new java.math.BigDecimal: "+e);return new nU(t)}(n))}),t.abs_va=uc(function(n){return nR(this.__gwt_instance.s(n))}),t.add_va=uc(function(n){return nR(this.__gwt_instance.t(n))}),t.byteValueExact=uc(function(){return this.__gwt_instance.u()}),t.compareTo=uc(function(n){return this.__gwt_instance.v(n.__gwt_instance)}),t.divide_va=uc(function(n){return nR(this.__gwt_instance.y(n))}),t.divideToIntegralValue_va=uc(function(n){return nR(this.__gwt_instance.x(n))}),t.doubleValue=uc(function(){return this.__gwt_instance.z()}),t.equals=uc(function(n){return this.__gwt_instance.eQ(n)}),t.floatValue=uc(function(){return this.__gwt_instance.A()}),t.hashCode=uc(function(){return this.__gwt_instance.hC()}),t.intValue=uc(function(){return this.__gwt_instance.B()}),t.intValueExact=uc(function(){return this.__gwt_instance.C()}),t.max=uc(function(n){return nR(this.__gwt_instance.F(n.__gwt_instance))}),t.min=uc(function(n){return nR(this.__gwt_instance.G(n.__gwt_instance))}),t.movePointLeft=uc(function(n){return nR(this.__gwt_instance.H(n))}),t.movePointRight=uc(function(n){return nR(this.__gwt_instance.I(n))}),t.multiply_va=uc(function(n){return nR(this.__gwt_instance.J(n))}),t.negate_va=uc(function(n){return nR(this.__gwt_instance.K(n))}),t.plus_va=uc(function(n){return nR(this.__gwt_instance.L(n))}),t.pow_va=uc(function(n){return nR(this.__gwt_instance.M(n))}),t.precision=uc(function(){return this.__gwt_instance.q()}),t.remainder_va=uc(function(n){return nR(this.__gwt_instance.N(n))}),t.round=uc(function(n){return nR(this.__gwt_instance.O(n.__gwt_instance))}),t.scale=uc(function(){return this.__gwt_instance.P()}),t.scaleByPowerOfTen=uc(function(n){return nR(this.__gwt_instance.Q(n))}),t.setScale_va=uc(function(n){return nR(this.__gwt_instance.R(n))}),t.shortValueExact=uc(function(){return this.__gwt_instance.S()}),t.signum=uc(function(){return this.__gwt_instance.r()}),t.stripTrailingZeros=uc(function(){return nR(this.__gwt_instance.T())}),t.subtract_va=uc(function(n){return nR(this.__gwt_instance.U(n))}),t.toBigInteger=uc(function(){return nR(this.__gwt_instance.V())}),t.toBigIntegerExact=uc(function(){return nR(this.__gwt_instance.W())}),t.toEngineeringString=uc(function(){return this.__gwt_instance.X()}),t.toPlainString=uc(function(){return this.__gwt_instance.Y()}),t.toString=uc(function(){return this.__gwt_instance.tS()}),t.ulp=uc(function(){return nR(this.__gwt_instance.Z())}),t.unscaledValue=uc(function(){return nR(this.__gwt_instance.$())}),t.divideAndRemainder_va=uc(function(n){return nO(this.__gwt_instance.w(n))}),t.longValue=uc(function(){return this.__gwt_instance.E()}),t.longValueExact=uc(function(){return this.__gwt_instance.D()}),f.bigdecimal.BigDecimal.valueOf_va=uc(function(n){return nR(function(n){var t,e;if(iP(),(e=iE(n))==oL)t=function(n){if(!isFinite(n)||isNaN(n))throw new nd(oh);return new X(iV+n)}(n[0]);else if(e==oL)t=tX(e4(n[0]));else if(e==oP)t=eL(e4(n[0]),n[1]);else throw new nr("Unknown call signature for bd = java.math.BigDecimal.valueOf: "+e);return new nU(t)}(n))}),f.bigdecimal.BigDecimal.log=uc(function(n){iP(),typeof console!==o$&&console.log&&console.log(n)}),f.bigdecimal.BigDecimal.logObj=uc(function(n){iP(),typeof console!==o$&&console.log&&typeof JSON!==o$&&JSON.stringify&&console.log("object: "+JSON.stringify(n))}),f.bigdecimal.BigDecimal.ONE=uc(function(){return nR((iP(),new nU(fw)))}),f.bigdecimal.BigDecimal.TEN=uc(function(){return nR((iP(),new nU(fd)))}),f.bigdecimal.BigDecimal.ZERO=uc(function(){return nR((iP(),new nU(fp)))}),nx(uk,f.bigdecimal.BigDecimal)}())}function tL(n,t,e){var r;return(r=new I).d=n+t,r.c=4,r.b=e,r}function tU(n,t,e,r,i){var o;return tK(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 tI(e)}(n.length,t,r),t6(n,t,r)}function tQ(n,t){return il(),t=n.c.c)throw new J;return t=n.c,r=e=n.b++,i=t.c,(r<0||r>=i)&&tx(r,i),t.b[e]}function tF(n,t){return!!nz(t,1)&&String(n)==t}function tH(){nr.call(this,"Add not supported on this collection")}function t$(){this.b=[],this.f={},this.d=!1,this.c=null,this.e=0}function tV(n,t){rW(),this.f=n,this.e=1,this.b=tK(up,{6:1},-1,[t])}function tq(n,t){var e;return e=n.c,n.c=t,!n.d&&(n.d=!0,++n.e),e}function tG(n,t){var e,r;return e=n.b,r=String.fromCharCode.apply(null,t),e.b+=r,n}function tz(n,t,e,r){var i,o;return null==t&&(t=ok),i=n.b,o=t.substr(e,r-e),i.b+=o,n}function tJ(n,t,e,r){var i;return rC(i=tU(up,{6:1},-1,t,1),n,t,e,r),i}function tK(n,t,e,r){return tD(),function(n,t,e){tD();for(var r=0,i=t.length;r0&&0==n.b[--n.e];);0==n.b[n.e++]&&(n.f=0)}function tX(n){return rN(n,oJ)&&nv(n,oY)?fs[nB(n)]:new ef(n,0)}function tY(n,t){return 0==t||0==n.f?n:t>0?e6(n,t):rY(n,-t)}function t0(n,t){return 0==t||0==n.f?n:t>0?rY(n,t):e6(n,-t)}function t1(n){var t;return 0==n.f?-1:((t=ew(n))<<5)+es(n.b[t])}function t2(n){var t;return 0!=(t=nB(n))?es(t):es(nB(rK(n,32)))+32}function t3(n,t){var e;return 0==(e=eO(n,t)).length?(new _).o(t):tg(e,1)}function t6(n,t,e){return n=n.slice(t,e),String.fromCharCode.apply(null,n)}function t4(n,t,e,r){var i;return ib(i=tU(up,{6:1},-1,t+1,1),n,t,e,r),i}function t5(n){var t,e;return t=tU(uK,{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,(_=(g=b.e)+(w=l.e),v=b.f!=l.f?-1:1,2==_)?(x=nB(y=iR(th(e4(b.b[0]),o4),th(e4(l.b[0]),o4))),0==(C=nB(rP(y,32)))?new tV(v,x):new to(v,2,tK(up,{6:1},-1,[x,C]))):(eG(b.b,g,l.b,w,d=tU(up,{6:1},-1,_,1)),tZ(m=new to(v,_,d)),m)):(u=(-2&t.e)<<4,h=t.fb(u),a=e.fb(u),i=ih(t,h.eb(u)),o=ih(e,a.eb(u)),s=n(h,a),r=n(i,o),f=(f=ix(ix(f=n(ih(h,i),ih(o,a)),s),r)).eb(u),ix(ix(s=s.eb(u<<1),f),r))}(n,t))}function ee(n,t){var e;if(t.f<=0)throw new ni(or);return(e=rH(n,t)).f<0?ix(e,t):e}function er(n){var t;t=new nJ,n.d&&n5(t,new ne(n)),function(n,t){var e=n.f;for(var r in e)if(58==r.charCodeAt(0)){var i=new nA(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],f=0,u=o.length;f0?1:0:(n.d||(n.d=eP(n.g)),n.d).r()}function ep(n){return n.b<54?new ti(-n.g,n.f):new tM((n.d||(n.d=eP(n.g)),n.d).cb(),n.f)}function e_(n,t){if(!isFinite(n)||isNaN(n))throw new nd(oh);iQ(this,n.toPrecision(20)),is(this,t)}function ev(n,t){return isNaN(n)?isNaN(t)?0:1:isNaN(t)?-1:nt?1:0}function em(n,t){return t<2||t>36||n<0||n>=t?0:n<10?48+n&65535:97+n-10&65535}function ey(n,t){var e,r;return t?((e=t[oC])||(e=new(r=t.gC(),t8(ei(n.b,r)))(t),t[oC]=e),e):null}function eC(n){var t,e;return 32==(e=r$(n.h))?32==(t=r$(n.m))?r$(n.l)+32:t+20-10:e-12}function ex(n){return ty(4194303&n,~~n>>22&4194303,n<0?1048575:0)}function eS(){eS=g,fo=ty(4194303,4194303,524287),ff=ty(0,0,524288),fu=e4(1),e4(2),fc=e4(0)}function eM(n,t){ib(n.b,n.b,n.e,t.b,t.e),n.e=np(n_(n.e,t.e)+1,n.b.length),tZ(n),n.c=-2}function eB(n,t){var e;e=~~t>>5,n.e+=e+(r$(n.b[n.e-1])-(31&t)>=0?0:1),rx(n.b,n.b,e,31&t),tZ(n),n.c=-2}function eA(n,t){var e,r;e=~~t>>5,n.e>>r:0,tZ(n))}function eN(n){var t;return t=n.e>1?ta(rU(e4(n.b[1]),32),th(e4(n.b[0]),o4)):th(e4(n.b[0]),o4),iR(e4(n.f),t)}function eI(n,t,e){var r;for(r=e-1;r>=0&&n[r]==t[r];--r);return r<0?0:nv(th(e4(n[r]),o4),th(e4(t[r]),o4))?-1:1}function eE(n,t,e){var r,i,o;for(i=0,r=0;i>>31;0!=r&&(n[e]=r)}function eR(n,t,e,r){if(iH=t,n)try{uc(iy)()}catch(e){n(t)}else uc(iy)()}function eO(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 ef(oJ,0x7fffffff):new ef(oJ,-0x80000000)}function eP(n){return(rW(),n<0)?-1!=n?new rf(-1,-n):fx:n<=10?fM[eo(n)]:new rf(1,n)}function eQ(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,ty(t,e,r)}function eT(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 ej(n){var t,e,r;for(r=0,e=tU(ux,{6:1},13,n.length,0),t=n.length;r=0;--r)if(n[r]!=i[r]){e=0!=n[r]&&rA(th(e4(n[r]),o4),th(e4(i[r]),o4));break}}return f=new to(1,o+1,n),e&&tR(f,t),tZ(f),f}(o,e)}function eV(n,t){var e;return n===t||!!nz(t,17)&&(e=tT(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 eq(n){var t,e;return 0==n.f?0:(t=n.e<<5,e=n.b[n.e-1],n.f<0&&ew(n)==n.e-1&&(e=~~(e-1)),t-=r$(e))}function eG(n,t,e,r,i){il(),0!=t&&0!=r&&(1==t?i[r]=rc(i,e,r,n[0]):1==r?i[t]=rc(i,n,t,e[0]):function(n,t,e,r,i){var o,f,u,c;if(nj(n)===nj(t)&&r==i){iu(n,r,e);return}for(u=0;u0x7fffffff))return eo(n);throw new ni("Underflow")}function eW(n,t){if(rF(),n<0)throw new nf("Digits < 0");if(!t)throw new nc("null RoundingMode");this.b=n,this.c=t}function eZ(n){return(rW(),nv(n,oJ))?tm(n,oz)?new ro(-1,eQ(n)):fx:rA(n,oX)?new ro(1,n):fM[nB(n)]}function eX(n){var t;return nv(n,oJ)&&(n=ty(4194303&~n.l,4194303&~n.m,1048575&~n.h)),64-(0!=(t=nB(rK(n,32)))?r$(t):r$(nB(n))+32)}function eY(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),ty(4194303&e,4194303&r,1048575&i)}function e0(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),ty(4194303&e,4194303&r,1048575&i)}function e1(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-n_(e,n.bb())}function e2(n,t){var e;return n===t||!!nz(t,16)&&(e=tT(t,16)).f==n.f&&(n.b<54?e.g==n.g:n.d.eQ(e.d))}function e3(n,t,e){var r,i,o;for(o=oJ,r=t-1;r>=0;--r)i=r2(eY(rU(o,32),th(e4(n[r]),o4)),e),o=e4(nB(rK(i,32)));return nB(o)}function e6(n,t){var e,r,i,o;return e=~~t>>5,t&=31,rx(r=tU(up,{6:1},-1,i=n.e+e+(0==t?0:1),1),n.b,e,t),tZ(o=new to(n.f,i,r)),o}function e4(n){var t,e;return n>-129&&n<128?(t=n+128,null==fn&&(fn=tU(uR,{6:1},2,256,0)),(e=fn[t])||(e=fn[t]=ex(n)),e):ex(n)}function e5(n){var t,e,r;return(rW(),n>5,t=31&n,(r=tU(up,{6:1},-1,e+1,1))[e]=1<iq&&n[n.length-1]>iq?n:n.replace(/^(\s*)/,iV).replace(/\s*$/,iV)}function e7(n){return n-=~~n>>1&0x55555555,n=(~~(n=(~~n>>2&0x33333333)+(0x33333333&n))>>4)+n&0xf0f0f0f,n+=~~n>>8,63&(n+=~~n>>16)}function rn(n,t,e){if(null!=e){var r;if(n.qI>0&&(r=n.qI,!e.cM||!e.cM[r])||n.qI<0&&(e.tM==g||n$(e,1)))throw new V}return n[t]=e}function rt(n,t){return n.f>t.f?1:n.ft.e?n.f:n.e=0;--o)f=e$(f,f,r,i),(e.b[~~o>>5]&1<<(31&o))!=0&&(f=e$(f,t,r,i));return f}(u,r,t,e,o):function(n,t,e,r,i){var o,f,u,c,s,h,a;for(s=tU(u9,{6:1},17,8,0),h=n,rn(s,0,t),a=e$(t,t,r,i),f=1;f<=7;++f)rn(s,f,e$(s[f-1],a,r,i));for(f=e.ab()-1;f>=0;--f)if((e.b[~~f>>5]&1<<(31&f))!=0){for(c=1,o=f,u=f-3>0?f-3:0;u<=f-1;++u)(e.b[~~u>>5]&1<<(31&u))!=0&&(u>1],h,r,i),f=o}else h=e$(h,h,r,i);return h}(u,r,t,e,o),e$(f,(rW(),fS),e,o)}function rh(n,t){var e,r,i,o;for(e=0,r=n.length;e36)throw new nd("Radix out of range");if(0==n.length)throw new nd("Zero length BigInteger");(function(n,t,e){var r,i,o,f,u,c,s,h,a,b,l,g,w,d;for(s=l=t.length,45==t.charCodeAt(0)?(a=-1,b=1,--l):(a=1,b=0),o=~~(l/(f=(iM(),fP)[e])),0!=(d=l%f)&&++o,c=tU(up,{6:1},-1,o,1),r=fU[e-2],u=0,g=b+(0==d?f:d),w=b;wr)return 1;if(e=0&&n[i]==t[i];--i);return i<0?0:nv(th(e4(n[i]),o4),th(e4(t[i]),o4))?-1:1}function rg(n,t){var e,r,i;for(r=tU(up,{6:1},-1,i=n.e,1),np(ew(n),ew(t)),e=0;e0x3b9ac9ff)throw new ni(oa);return e=n.f*t,0==n.b&&-1!=n.g?eU(e):new tS((n.d||(n.d=eP(n.g)),n.d).db(t),eK(e))}function rp(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)uf[n]=e,e*=.5;for(n=24,t=1;n>=0;--n)uo[n]=t,t*=.5}function rv(){rv=g,fO=tK(uK,{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(n){var t;return 0!=n.c||(n.b<54?(t=r3(n.g),n.c=nB(th(t,oz)),n.c=33*n.c+nB(th(rK(t,32),oz)),n.c=17*n.c+eo(n.f)):n.c=17*n.d.hC()+eo(n.f)),n.c}function ry(n,t,e,r){var i,o,f,u,c;return o=(c=n/t)>0?Math.floor(c):Math.ceil(c),f=n%t,u=ev(n*t,0),0!=f&&(i=ev((f<=0?0-f:f)*2,t<=0?0-t:t),o+=it(1&eo(o),u*(5+i),r)),new ti(o,e)}function rC(n,t,e,r,i){var o,f;for(f=0,o=oJ;fe;--i)n[i]|=~~t[i-e-1]>>>o,n[i-1]=t[i-e-1]<>5,n.e-=r,!rD(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-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=eo(nP(Math.log(n)/.6931471805599453)),(!t||n!=Math.pow(2,e))&&++e,e):eX(r3(n))}function rR(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)?eZ(rI(eN(e),eN(r))):function(n,t){var e,r,i,o;i=(e=n.bb())<(r=t.bb())?e:r,rB(n,e),rB(t,r),1==rt(n,t)&&(o=n,n=t,t=o);do{if(1==t.e||2==t.e&&t.b[1]>0){t=eZ(rI(eN(n),eN(t)));break}if(t.e>1.2*n.e)0!=(t=rH(t,n)).r()&&rB(t,t.bb());else do tR(t,n),rB(t,t.bb());while(rt(t,n)>=0)o=t,t=n,n=o}while(0!=o.f)return t.eb(i)}(eb(e),eb(r))}function rO(n,t){var e;if(t.f<=0)throw new ni(or);if(!(n.gb(0)||t.gb(0)))throw new ni(oe);if(1==t.e&&1==t.b[0])return fA;if(0==(e=function(n,t){var e,r,i,o,f,u,c,s,h,a,b;if(0==n.f)throw new ni(oe);if(!t.gb(0))return function(n,t){var e,r,i,o,f,u,c,s,h,a,b;for(h=tU(up,{6:1},-1,(o=n_(n.e,t.e))+1,1),b=tU(up,{6:1},-1,o+1,1),iB(t.b,0,h,0,t.e),iB(n.b,0,b,0,n.e),s=new to(t.f,t.e,h),a=new to(n.f,n.e,b),u=new to(0,1,tU(up,{6:1},-1,o+1,1)),(c=new to(1,1,tU(up,{6:1},-1,o+1,1))).b[0]=1,e=0,r=0,f=t.ab();!eD(s,e)&&!eD(a,r);)if(0!=(i=e1(s,f))&&(eB(s,i),e>=r?eB(u,i):(rB(c,r-e0&&eB(u,i-r+e)),e+=i),0!=(i=e1(a,f))&&(eB(a,i),r>=e?eB(c,i):(rB(u,e-r0&&eB(c,i-e+r)),r+=i),s.r()==a.r()?e<=r?(rq(s,a),rq(u,c)):(rq(a,s),rq(c,u)):e<=r?(rV(s,a),rV(u,c)):(rV(a,s),rV(c,u)),0==a.r()||0==s.r())throw new ni(oe);return eD(a,r)&&(u=c,a.r()!=s.r()&&(s=s.cb())),s.gb(f)&&(u=0>u.r()?u.cb():ih(t,u)),0>u.r()&&(u=ix(u,t)),u}(n,t);for(o=32*t.e,a=eb(t),c=new to(1,1,tU(up,{6:1},-1,(f=n_((b=eb(n)).e,a.e))+1,1)),(s=new to(1,1,tU(up,{6:1},-1,f+1,1))).b[0]=1,e=0,(r=a.bb())>(i=b.bb())?(rB(a,r),rB(b,i),eB(c,i),e+=r-i):(rB(a,r),rB(b,i),eB(s,r),e+=i-r),c.f=1;b.r()>0;){for(;rt(a,b)>0;)tR(a,b),h=a.bb(),rB(a,h),eM(c,s),eB(s,h),e+=h;for(;0>=rt(a,b)&&(tR(b,a),0!=b.r());)h=b.bb(),rB(b,h),eM(s,c),eB(c,h),e+=h}if(!(1==a.e&&1==a.b[0]))throw new ni(oe);return rt(c,t)>=0&&tR(c,t),c=ih(t,c),u=ru(t),e>o&&(c=e$(c,(rW(),fS),t,u),e-=o),c=e$(c,e5(o-e),t,u)}(ee(n._(),t),t)).f)throw new ni(oe);return n.f<0?ih(t,e):e}function rD(n,t,e,r,i){var o,f,u;for(f=0,o=!0;f>>i|e[f+r+1]<>>i,++f}return o}function rk(n,t){var e;return(e=n.f+t.f,0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)?eU(e):n.b+t.b<54?new ti(n.g*t.g,eK(e)):new tS(et((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),eK(e))}function rL(n,t){var e;if(t<0)throw new ni("Negative exponent");if(0==t)return fS;if(1==t||n.eQ(fS)||n.eQ(fA))return n;if(!n.gb(0)){for(e=1;!n.gb(e);)++e;return et(e5(e*t),n.fb(e).db(t))}return function(n,t){var e,r;for(il(),rW(),r=fS,e=n;t>1;t>>=1)(1&t)!=0&&(r=et(r,e)),e=1==e.e?et(e,e):new e9(iu(e.b,e.e,tU(up,{6:1},-1,e.e<<1,1)));return et(r,e)}(n,t)}function rU(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),ty(4194303&r,4194303&i,1048575&o)}function rQ(n){switch(iA(),n){case 2:return fX;case 1:return fY;case 3:return f0;case 5:return f1;case 6:return f2;case 4:return f3;case 7:return f6;case 0:return f4;default:throw new nf("Invalid rounding mode")}}function rT(n,t){var e,r,i;if(0==t)return(1&n.b[0])!=0;if(t<0)throw new ni(ol);if((i=~~t>>5)>=n.e)return n.f<0;if(e=n.b[i],t=1<<(31&t),n.f<0){if(i<(r=ew(n)))return!1;e=r==i?-e:~e}return(e&t)!=0}function rj(n){var t,e;return n.e>0||(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!=ia((n.d||(n.d=eP(n.g)),n.d),im(t)).r()&&++t),n.e=eo(t)),n.e}function rF(){rF=g,fQ=new eW(34,(iA(),f2)),fT=new eW(7,f2),fj=new eW(16,f2),fF=new eW(0,f3),fH=tK(uK,{6:1},-1,[112,114,101,99,105,115,105,111,110,61]),f$=tK(uK,{6:1},-1,[114,111,117,110,100,105,110,103,77,111,100,101,61])}function rH(n,t){var e,r,i,o;if(0==t.f)throw new ni(ot);return((o=n.e)!=(e=t.e)?o>e?1:-1:eI(n.b,t.b,o))==-1?n:(r=tU(up,{6:1},-1,e,1),1==e?r[0]=e3(n.b,o,t.b[0]):r=iL(null,o-e+1,n.b,o,t.b,e),tZ(i=new to(n.f,e,r)),i)}function r$(n){var t,e,r;return n<0?0:0==n?32:(e=16-(t=~~(r=-(~~n>>16))>>16&16)+(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 rV(n,t){if(0==n.f)iB(t.b,0,n.b,0,t.e);else{if(0==t.f)return;n.f==t.f?ib(n.b,n.b,n.e,t.b,t.e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f)}n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rq(n,t){var e;e=rt(n,t),0==n.f?(iB(t.b,0,n.b,0,t.e),n.f=-t.f):n.f!=t.f?(ib(n.b,n.b,n.e,t.b,t.e),n.f=e):rl(n.b,t.b,n.e,t.e)>0?rC(n.b,n.b,n.e,t.b,t.e):(r9(n.b,n.b,n.e,t.b,t.e),n.f=-n.f),n.e=n_(n.e,t.e)+1,tZ(n),n.c=-2}function rG(n,t,e){var r,i,o,f,u,c,s,h,a,b;if(e.f<=0)throw new ni(or);return(r=n,(1==e.e&&1==e.b[0])|t.f>0&0==r.f)?fA:0==r.f&&0==t.f?fS:(t.f<0&&(r=rO(n,e),t=t.cb()),i=e.gb(0)?rs(r._(),t,e):(o=r._(),f=t,u=e.bb(),h=rs(o,f,c=e.fb(u)),a=function(n,t,e){var r,i,o,f,u;for(rW(),f=fS,i=eb(t),r=eb(n),n.gb(0)&&eA(i,e-1),eA(r,e),o=i.ab()-1;o>=0;--o)eA(u=eb(f),e),f=et(f,u),(i.b[~~o>>5]&1<<(31&o))!=0&&eA(f=et(f,r),e);return eA(f,e),f}(o,f,u),s=function(n,t){var e,r,i,o;for(e=1,(r=new e9(tU(up,{6:1},-1,1<>5]&1<<(31&o))!=0&&(r.b[~~e>>5]|=1<<(31&e));return r}(c,u),eA(b=et(ih(a,h),s),u),b.f<0&&(b=ix(b,e5(u))),ix(h,et(c,b))),r.f<0&&t.gb(0)&&(i=ee(et(ih(e,fS),i),e)),i)}function rz(n,t){var e,r,i,o,f,u,c;if(i=ew(n),(r=ew(t))>=n.e)return rW(),fA;for(f=tU(up,{6:1},-1,u=n.e,1),(e=i>r?i:r)==r&&(f[e]=-t.b[e]&n.b[e],++e),o=np(t.e,n.e);e=t.e)for(;e0?t:0):t>=0?n.b<54?new ti(n.g,eK(t)):new tS((n.d||(n.d=eP(n.g)),n.d),eK(t)):-t>t,o=~~n.m>>t|e<<22-t,i=~~n.l>>t|n.m<<22-t):t<44?(f=r?1048575:0,o=~~e>>t-22,i=~~n.m>>t-22|e<<44-t):(f=r?1048575:0,o=r?4194303:0,i=~~e>>t-44),ty(4194303&i,4194303&o,1048575&f)}function rW(){var n;for(n=0,rW=g,fS=new tV(1,1),fB=new tV(1,10),fA=new tV(0,0),fx=new tV(-1,1),fM=tK(u9,{6:1},17,[fA,fS,new tV(1,2),new tV(1,3),new tV(1,4),new tV(1,5),new tV(1,6),new tV(1,7),new tV(1,8),new tV(1,9),fB]),fN=tU(u9,{6:1},17,32,0);n=t.e)return t;if(r>=n.e)return n;if(o=tU(up,{6:1},-1,f=np(n.e,t.e),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?(rW(),fx):(rW(),fA);if(rD(i=tU(up,{6:1},-1,(o=n.e-r)+1,1),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?rS(n,t,e):rS(t,n,-e):n_(n.b,t.b)+1<54?new ti(n.g+t.g,n.f):new tM(ix((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f)}function r2(n,t){var e,r,i,o,f;return(r=th(e4(t),o4),rN(n,oJ))?(o=iI(n,r,!1),f=n4(n,r)):(o=iI(e=rP(n,1),i=e4(~~t>>>1),!1),f=eY(rU(f=n4(e,i),1),th(n,oK)),(1&t)!=0&&(rA(o,f)?rA(e0(o,f),r)?(f=eY(f,e0(rU(r,1),o)),o=e0(o,oW)):(f=eY(f,e0(r,o)),o=e0(o,oK)):f=e0(f,o))),ta(rU(f,32),th(o,o4))}function r3(n){var t,e,r,i;return isNaN(n)?(eS(),fc):n<-0x8000000000000000?(eS(),ff):n>=0x8000000000000000?(eS(),fo):(r=!1,n<0&&(r=!0,n=-n),e=0,n>=0x100000000000&&(e=eo(n/0x100000000000),n-=0x100000000000*e),t=0,n>=4194304&&(t=eo(n/4194304),n-=4194304*t),i=ty(eo(n),t,e),r&&eT(i),i)}function r6(n){var t,e,r,i;if(0==n.l&&0==n.m&&0==n.h)return iW;if(524288==n.h&&0==n.m&&0==n.l)return"-9223372036854775808";if(~~n.h>>19!=0)return iJ+r6(eQ(n));for(e=n,r=iV;!(0==e.l&&0==e.m&&0==e.h);){if(e=iI(e,e4(1e9),!0),t=iV+nB(o7),!(0==e.l&&0==e.m&&0==e.h))for(i=9-t.length;i>0;--i)t=iW+t;r=t+r}return r}function r4(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m,y,C,x,S,M,B,A;if(0==(i=t.f))throw new ni(ot);return(r=t.e,e=t.b,1==r)?(g=e[0],(M=n.b,B=n.e,A=n.f,1==B)?(_=iI(w=th(e4(M[0]),o4),d=th(e4(g),o4),!1),y=n4(w,d),A!=i&&(_=eQ(_)),A<0&&(y=eQ(y)),tK(u9,{6:1},17,[eZ(_),eZ(y)])):(m=A==i?1:-1,v=tU(up,{6:1},-1,B,1),C=tK(up,{6:1},-1,[ii(v,M,B,g)]),x=new to(m,B,v),S=new to(A,1,C),tZ(x),tZ(S),tK(u9,{6:1},17,[x,S]))):(a=n.b,((b=n.e)!=r?b>r?1:-1:eI(a,e,b))<0)?tK(u9,{6:1},17,[fA,n]):(l=n.f,f=b-r+1,u=l==i?1:-1,c=iL(o=tU(up,{6:1},-1,f,1),f,a,b,e,r),s=new to(u,f,o),h=new to(l,r,c),tZ(s),tZ(h),tK(u9,{6:1},17,[s,h]))}function r5(n){var t;if(0==n.f||0==n.b&&-1!=n.g)return n.d||(n.d=eP(n.g)),n.d;if(n.f<0)return et((n.d||(n.d=eP(n.g)),n.d),im(-n.f));if(n.f>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)||n.f>(n.d||(n.d=eP(n.g)),n.d).bb()||0!=(t=r4((n.d||(n.d=eP(n.g)),n.d),im(n.f)))[1].r())throw new ni(og);return t[0]}function r9(n,t,e,r,i){var o,f;if(o=oJ,e36)throw new nd("radix "+t+" out of range");for(e=i=(r=n.length)>0&&45==n.charCodeAt(0)?1:0;e0x7fffffff)throw new nd(os+n+iG);return o}function r7(n){var t,e;if(0==n.f)return rW(),fx;if(eV(n,(rW(),fx)))return fA;if(e=tU(up,{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 ie(n,t){var e,r,i,o,f,u,c,s,h;if(s=0==n.f?1:n.f,f=~~t>>5,e=31&t,u=tU(up,{6:1},-1,c=n_(f+1,n.e)+1,1),r=1<=n.e)u[f]=r;else if(f>(i=ew(n)))u[f]^=r;else if(f=0||0==s.f||1==s.e&&1==s.b[0])if(!(1==(h=rG(s,u,n)).e&&1==h.b[0]||h.eQ(f))){for(i=1;i=0;--u)rN(h=ta(rU(s,32),th(e4(t[u]),o4)),oJ)?(c=iI(h,o,!1),s=n4(h,o)):(c=iI(i=rP(h,1),f=e4(~~r>>>1),!1),s=eY(rU(s=n4(i,f),1),th(h,oK)),(1&r)!=0&&(rA(c,s)?rA(e0(c,s),o)?(s=eY(s,e0(rU(o,1),c)),c=e0(c,oW)):(s=eY(s,e0(o,c)),c=e0(c,oK)):s=e0(s,c))),n[u]=nB(th(c,o4));return nB(s)}function io(n,t){var e,r,i,o,f,u,c;if(f=tU(up,{6:1},-1,u=n_(n.e,t.e),1),i=ew(n),e=r=ew(t),i==r)f[r]=-n.b[r]^-t.b[r];else{for(f[r]=-t.b[r],o=np(t.e,i),++e;et.g?1:0:(r=n.f-t.f,(e=(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1))>r+1)?i:e0&&(f=et(f,im(r))),rt(o,f))}function is(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g;if(o=t.b,!((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)-o<0||0==o||(r=n.q()-o)<=0)){if(n.b<54){l=r3(fl[c=r]),b=e0(r3(n.f),e4(c)),a=iI(g=r3(n.g),l,!1),tm(h=n4(g,l),oJ)&&(s=tv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?0:nv(e0(rU(nv(h,oJ)?eQ(h):h,1),l),oJ)?-1:1,a=eY(a,e4(it(1&nB(a),(tv(h,oJ)?0:nv(h,oJ)?-1:1)*(5+s),t.c))),tn(ri(nv(a,oJ)?eQ(a):a))>=t.b&&(a=nQ(a,oX),b=e0(b,oK))),n.f=eK(ri(b)),n.e=t.b,n.g=ri(a),n.b=eX(a),n.d=null;return}u=im(r),i=r4((n.d||(n.d=eP(n.g)),n.d),u),f=n.f-r,0!=i[1].r()&&(e=rt(eH(i[1]._()),u),0!=(e=it(i[0].gb(0)?1:0,i[1].r()*(5+e),t.c))&&rn(i,0,ix(i[0],eZ(e4(e)))),new nL(i[0]).q()>o&&(rn(i,0,ia(i[0],(rW(),fB))),--f)),n.f=eK(f),n.e=o,tO(n,i[0])}}function ih(n,t){var e,r,i,o,f,u,c,s,h,a;if(f=n.f,0==(c=t.f))return n;if(0==f)return t.cb();if((o=n.e)+(u=t.e)==2)return e=th(e4(n.b[0]),o4),r=th(e4(t.b[0]),o4),f<0&&(e=eQ(e)),c<0&&(r=eQ(r)),eZ(e0(e,r));if(-1==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))a=-c,h=f==c?tJ(t.b,u,n.b,o):t4(t.b,u,n.b,o);else if(a=f,f==c){if(0==i)return rW(),fA;h=tJ(n.b,o,t.b,u)}else h=t4(n.b,o,t.b,u);return tZ(s=new to(a,h.length,h)),s}function ia(n,t){var e,r,i,o,f,u,c,s,h,a;if(0==t.f)throw new ni(ot);return(i=t.f,1==t.e&&1==t.b[0])?t.f>0?n:n.cb():(h=n.f,(s=n.e)+(r=t.e)==2)?(a=nQ(th(e4(n.b[0]),o4),th(e4(t.b[0]),o4)),h!=i&&(a=eQ(a)),eZ(a)):0==(e=s!=r?s>r?1:-1:eI(n.b,t.b,s))?h==i?fS:fx:-1==e?fA:(o=tU(up,{6:1},-1,f=s-r+1,1),u=h==i?1:-1,1==r?ii(o,n.b,s,t.b[0]):iL(o,f,n.b,s,t.b,r),tZ(c=new to(u,f,o)),c)}function ib(n,t,e,r,i){var o,f;if(o=eY(th(e4(t[0]),o4),th(e4(r[0]),o4)),n[0]=nB(o),o=rK(o,32),e>=i){for(f=1;f0){if(i0?f=tQ(f,eo(i)):i<0&&(o=tQ(o,eo(-i))),id(o,f,e,r)}function iw(n,t){var e,r,i,o,f,u,c;if(r=ew(t),(i=ew(n))>=t.e)return t;if(f=tU(up,{6:1},-1,u=t.e,1),rt.ab()?(c=eN(s),o=eN(t),i=tv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?0:nv(e0(rU(nv(c,oJ)?eQ(c):c,1),nv(o,oJ)?eQ(o):o),oJ)?-1:1):i=rt(eH(s._()),t._()),0!=(i=it(u.gb(0)?1:0,h*(5+i),r))){if(54>u.ab())return eL(eY(eN(u),e4(i)),e);u=ix(u,eZ(e4(i)))}return new tS(u,e)}function ip(n){var t,e,r,i,o,f;return null!=n.i?n.i:n.b<32?(n.i=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;if(iM(),(f=nv(n,oJ))&&(n=eQ(n)),tv(n,oJ))switch(t){case 0:return iW;case 1:return iX;case 2:return iY;case 3:return i0;case 4:return i1;case 5:return i2;case 6:return i3;default:return s=new W,t<0?s.b.b+=i4:s.b.b+=i6,b=s.b,l=-0x80000000==t?"2147483648":iV+-t,b.b+=l,s.b.b}c=tU(uK,{6:1},-1,19,1),e=18,a=n;do u=a,a=nQ(a,oX),c[--e]=65535&nB(eY(o1,e0(u,iR(a,oX))));while(tm(a,oJ))if(r=e0(e0(e0(o0,e4(e)),e4(t)),oK),0==t)return f&&(c[--e]=45),tP(c,e,18-e);if(t>0&&rN(r,oG)){if(rN(r,oJ)){for(o=17,i=e+nB(r);o>=i;--o)c[o+1]=c[o];return c[++i]=46,f&&(c[--e]=45),tP(c,e,18-e+1)}for(o=2;nv(e4(o),eY(eQ(r),oK));++o)c[--e]=48;return c[--e]=46,c[--e]=48,f&&(c[--e]=45),tP(c,e,18-e)}return(h=e+1,s=new Z,f&&(s.b.b+=iJ),18-h>=1)?(tE(s,c[e]),s.b.b+=iK,g=s.b,w=tP(c,e+1,18-e-1),g.b+=w):(d=s.b,_=tP(c,e,18-e),d.b+=_),s.b.b+=oc,rA(r,oJ)&&(s.b.b+=iz),v=s.b,m=iV+r6(r),v.b+=m,s.b.b}(r3(n.g),eo(n.f)),n.i):(i=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)?i:(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,e=i.length,r=-n.f+e-t,f=(o=new W).b,f.b+=i,n.f>0&&r>=-6?r>=0?n8(o,e-eo(n.f),iK):(te(o.b,t-1,t-1,iZ),n8(o,t+1,tP(fh,0,-eo(r)-1))):(e-t>=1&&(te(o.b,t,t,iK),++e),te(o.b,e,e,oc),r>0&&n8(o,++e,iz),n8(o,++e,iV+r6(r3(r)))),n.i=o.b.b,n.i)}function i_(n,t){var e,r,i,o,f,u;if(i=ew(n),o=ew(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]=f;break}i[o]=f.substring(0,c.index),f=f.substring(c.index+c[0].length,f.length),r.lastIndex=0,u==f&&(i[o]=f.substring(0,1),f=f.substring(1)),u=f,o++}if(0==e&&n.length>0){for(var s=i.length;s>0&&i[s-1]==iV;)--s;s1e6)throw new ni("power of ten too big");if(n<=0x7fffffff)return fV[1].db(t).eb(t);for(i=r=fV[1].db(0x7fffffff),e=r3(n-0x7fffffff),t=eo(n%0x7fffffff);rA(e,o6);)i=et(i,r),e=e0(e,o6);for(i=(i=et(i,fV[1].db(t))).eb(0x7fffffff),e=r3(n-0x7fffffff);rA(e,o6);)i=i.eb(0x7fffffff),e=e0(e,o6);return i.eb(t)}function iy(){var n,t;c&&rM("com.iriscouch.gwtapp.client.BigDecimalApp"),nZ(new K),nY(new j),nX(new F),tk(new H),c&&rM("com.google.gwt.user.client.UserAgentAsserter"),tF(oF,n=-1!=(t=r.userAgent.toLowerCase()).indexOf(oT)?oT:-1!=t.indexOf("webkit")||function(){if(-1!=t.indexOf("chromeframe"))return!0;if(typeof e.ActiveXObject!=o$)try{var n=new ActiveXObject("ChromeTab.ChromeFrame");if(n)return n.registerBhoIfNeeded(),!0}catch(n){}return!1}()?oF:-1!=t.indexOf(oD)&&u.documentMode>=9?"ie9":-1!=t.indexOf(oD)&&u.documentMode>=8?"ie8":!function(){var n=/msie ([0-9]+)\.([0-9]+)/.exec(t);if(n&&3==n.length)return 1e3*parseInt(n[1])+parseInt(n[2])>=6e3}()?-1!=t.indexOf("gecko")?"gecko1_8":"unknown":"ie6")||f.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"),c&&rM("com.google.gwt.user.client.DocumentModeAsserter"),function(){var n,t,e;for(e=0,t=u.compatMode,n=tK(uI,{6:1},1,[oo]);e>5,this.b=tU(up,{6:1},-1,this.e,1);f=0x80000000&&(r-=0x100000000),r));this.b[this.e-1]>>>=31&-n,tZ(this)}}function ix(n,t){var e,r,i,o,f,u,c,s,h,a,b,l;if(f=n.f,c=t.f,0==f)return t;if(0==c)return n;if((o=n.e)+(u=t.e)==2)return(e=th(e4(n.b[0]),o4),r=th(e4(t.b[0]),o4),f==c)?(l=nB(s=eY(e,r)),0==(b=nB(rP(s,32)))?new tV(f,l):new to(f,2,tK(up,{6:1},-1,[l,b]))):eZ(f<0?e0(r,e):e0(e,r));if(f==c)a=f,h=o>=u?t4(n.b,o,t.b,u):t4(t.b,u,n.b,o);else{if(0==(i=o!=u?o>u?1:-1:eI(n.b,t.b,o)))return rW(),fA;1==i?(a=f,h=tJ(n.b,o,t.b,u)):(a=c,h=tJ(t.b,u,n.b,o))}return tZ(s=new to(a,h.length,h)),s}function iS(n){var t,e,r,i;if(rF(),null==n)throw new nc("null string");if((t=t5(n)).length<27||t.length>45)throw new nf(oM);for(r=0;rue.length)throw new q;if(o=null,i=null,67==r[0]?(i=fX,o=f5):68==r[0]?(i=fY,o=f9):70==r[0]?(i=f0,o=f8):72==r[0]?e>6&&(68==r[5]?(i=f1,o=f7):69==r[5]?(i=f2,o=un):85==r[5]&&(i=f3,o=ut)):85==r[0]&&(80==r[1]?(i=f4,o=ur):78==r[1]&&(i=f6,o=ue)),i&&e==o.length){for(t=1;tl||r+i>s)throw new G;if(((1&a.c)==0||(4&a.c)!=0)&&b!=c){if(h=tT(n,11),o=tT(e,11),nj(n)===nj(e)&&tr;)rn(o,u,h[--t]);else for(u=r+i;rh.r()&&(s=s.cb()),c=eK(e+(o>f?o:f)),new tS(s=(i=o-f)>0?(il(),i>19!=0&&(t=eQ(t),c=!0),f=((b=(h=t).l)&b-1)!=0||((l=h.m)&l-1)!=0||((a=h.h)&a-1)!=0||0==a&&0==l&&0==b?-1:0==a&&0==l&&0!=b?es(b):0==a&&0!=l&&0==b?es(l)+22:0!=a&&0==l&&0==b?es(a)+44:-1,o=!1,i=!1,r=!1,524288==n.h&&0==n.m&&0==n.l){if(i=!0,o=!0,-1!=f)return u=rK(n,f),c&&eT(u),e&&(o7=ty(0,0,0)),u;n=nT((eS(),fo)),r=!0,c=!c}else~~n.h>>19!=0&&(o=!0,n=eQ(n),r=!0,c=!c);return -1!=f?(g=n,w=c,d=o,_=rK(g,f),w&&eT(_),e&&(v=g,f<=22?(m=v.l&(1<=0&&((g=n.h-f.h)<0||(b=n.l-f.l,(g+=~~(l=n.m-f.m+(~~b>>22))>>22)<0||(n.l=4194303&b,n.m=4194303&l,n.h=1048575&g,0))||(c<22?u.l|=1<>>1,f.m=~~h>>>1|(1&a)<<21,f.l=~~s>>>1|(1&h)<<21,--c;return e&&eT(u),o&&(r?(o7=eQ(n),i&&(o7=e0(o7,(eS(),fu)))):o7=ty(n.l,n.m,n.h)),u}(r?n:ty(n.l,n.m,n.h),t,c,o,i,e):(e&&(o7=o?eQ(n):ty(n.l,n.m,n.h)),ty(0,0,0))}function iE(n){var t=[];for(var e in n){var r=typeof n[e];r!=oQ?t[t.length]=r:n[e]instanceof Array?t[t.length]=oS:f&&f.bigdecimal&&f.bigdecimal.BigInteger&&n[e]instanceof f.bigdecimal.BigInteger?t[t.length]=on:f&&f.bigdecimal&&f.bigdecimal.BigDecimal&&n[e]instanceof f.bigdecimal.BigDecimal?t[t.length]=i9:f&&f.bigdecimal&&f.bigdecimal.RoundingMode&&n[e]instanceof f.bigdecimal.RoundingMode?t[t.length]=ow:f&&f.bigdecimal&&f.bigdecimal.MathContext&&n[e]instanceof f.bigdecimal.MathContext?t[t.length]=ob:t[t.length]=oQ}return t.join(iq)}function iR(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v,m;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,f=~~(1048320&n.h)>>8,u=8191&t.l,c=~~t.l>>13|(15&t.m)<<9,s=~~t.m>>4&8191,h=~~t.m>>17|(255&t.h)<<5,a=~~(1048320&t.h)>>8,w=e*u,d=r*u,_=i*u,v=o*u,m=f*u,0!=c&&(d+=e*c,_+=r*c,v+=i*c,m+=o*c),0!=s&&(_+=e*s,v+=r*s,m+=i*s),0!=h&&(v+=e*h,m+=r*h),0!=a&&(m+=e*a),b=(4194303&w)+((511&d)<<13),l=(~~w>>22)+(~~d>>9)+((262143&_)<<4)+((31&v)<<17),g=(~~_>>18)+(~~v>>5)+((4095&m)<<8),l+=~~b>>22,b&=4194303,g+=~~l>>22,ty(b,l&=4194303,g&=1048575)}function iO(n,t,e){var r,i,o,f,u,c,s,h;if(h=ri(eY(e4(e.b),oW))+(t.e>0?t.e:nP((t.b-1)*.3010299956639812)+1)-(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1),c=i=n.f-t.f,o=1,u=fm.length-1,s=tK(u9,{6:1},17,[(n.d||(n.d=eP(n.g)),n.d)]),0==e.b||0==n.b&&-1!=n.g||0==t.b&&-1!=t.g)return iN(n,t);if(h>0&&(rn(s,0,et((n.d||(n.d=eP(n.g)),n.d),im(h))),c+=h),f=(s=r4(s[0],(t.d||(t.d=eP(t.g)),t.d)))[0],0!=s[1].r())r=rt(eH(s[1]),(t.d||(t.d=eP(t.g)),t.d)),f=ix(et(f,(rW(),fB)),eZ(e4(s[0].r()*(5+r)))),++c;else for(;!f.gb(0);)if(0==(s=r4(f,fm[o]))[1].r()&&c-o>=i)c-=o,o=0)return n;return 0==e?n_(n.b,t.b)+1<54?new ti(n.g-t.g,n.f):new tM(ih((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d)),n.f):e>0?e0?t.e:nP((t.b-1)*.3010299956639812)+1)+o>(n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)+1||0==n.b&&-1!=n.g)rW(),r=fA;else if(0==o)r=ia((n.d||(n.d=eP(n.g)),n.d),(t.d||(t.d=eP(t.g)),t.d));else if(o>0)f=im(o),r=ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),f)),r=et(r,f);else{for(f=im(-o),r=ia(et((n.d||(n.d=eP(n.g)),n.d),f),(t.d||(t.d=eP(t.g)),t.d));!r.gb(0);)if(0==(u=r4(r,fm[e]))[1].r()&&c-e>=o)c-=e,e=0;){if(w[a]==c)s=-1;else if(s=nB(m=r2(eY(rU(th(e4(w[a]),o4),32),th(e4(w[a-1]),o4)),c)),v=nB(rK(m,32)),0!=s){_=!1,++s;do{if(--s,_)break;l=iR(th(e4(s),o4),th(e4(d[o-2]),o4)),y=eY(rU(e4(v),32),th(e4(w[a-2]),o4)),32>r$(nB(rP(g=eY(th(e4(v),o4),th(e4(c),o4)),32)))?_=!0:v=nB(g)}while(rA(tb(l,oV),tb(y,oV)))}if(0!=s&&0!=function(n,t,e,r,i){var o,f,u;for(u=0,o=oJ,f=oJ;u0)rn(b,0,ia((n.d||(n.d=eP(n.g)),n.d),et((t.d||(t.d=eP(t.g)),t.d),im(o)))),a=o<(h-l+1>0?h-l+1:0)?o:h-l+1>0?h-l+1:0,rn(b,0,et(b[0],im(a)));else if(f=-o<(h-i>0?h-i:0)?-o:h-i>0?h-i:0,b=r4(et((n.d||(n.d=eP(n.g)),n.d),im(f)),(t.d||(t.d=eP(t.g)),t.d)),a+=f,f=-a,0!=b[1].r()&&f>0&&(0==(r=new nL(b[1]).q()+f-t.q())&&(rn(b,1,ia(et(b[1],im(f)),(t.d||(t.d=eP(t.g)),t.d))),r=(d=b[1].r())<0?-d:d),r>0))throw new ni(ou);if(0==b[0].r())return eU(o);for(w=b[0],g=(c=new nL(b[0])).q(),u=1;!w.gb(0);)if(0==(b=r4(w,fm[u]))[1].r()&&(g-u>=h||a-u>=o))g-=u,a-=u,uh)throw new ni(ou);return c.f=eK(a),tO(c,w),c}function ij(){var n;for(n=0,ij=g,fJ=tK(up,{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]),fK=tU(u9,{6:1},17,(fW=tK(up,{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])).length,0);n=0;--c)w=function(n){var t,e,r;return rN(n,oJ)?(e=nQ(n,o3),r=n4(n,o3)):(e=nQ(t=rP(n,1),o2),r=eY(rU(r=n4(t,o2),1),th(n,oK))),ta(rU(r,32),th(e,o4))}(eY(rU(y,32),th(e4(S[c]),o4))),S[c]=nB(w),y=e4(nB(rK(w,32)));d=nB(y),g=e;do v[--e]=48+d%10&65535;while(0!=(d=~~(d/10))&&0!=e)for(u=0,r=9-g+e;u0;++u)v[--e]=48;for(h=M-1;0==S[h];--h)if(0==h)break n;M=h+1}for(;48==v[e];)++e}if(a=C<0,o=_-e-t-1,0==t)return a&&(v[--e]=45),tP(v,e,_-e);if(t>0&&o>=-6){if(o>=0){for(s=e+o,h=_-1;h>=s;--h)v[h+1]=v[h];return v[++s]=46,a&&(v[--e]=45),tP(v,e,_-e+1)}for(h=2;h<-o+1;++h)v[--e]=48;return v[--e]=46,v[--e]=48,a&&(v[--e]=45),tP(v,e,_-e)}return(x=e+1,m=new Z,a&&(m.b.b+=iJ),_-x>=1)?(tE(m,v[e]),m.b.b+=iK,I=m.b,E=tP(v,e+1,_-e-1),I.b+=E):(R=m.b,O=tP(v,e,_-e),R.b+=O),m.b.b+=oc,o>0&&(m.b.b+=iz),D=m.b,k=iV+o,D.b+=k,m.b.b}c&&c({moduleName:"gwtapp",sessionId:s,subSystem:"startup",evtGroup:"moduleStartup",millis:new Date().getTime(),type:"moduleEvalStart"});var iH,i$,iV="",iq=" ",iG='"',iz="+",iJ="-",iK=".",iW="0",iZ="0.",iX="0.0",iY="0.00",i0="0.000",i1="0.0000",i2="0.00000",i3="0.000000",i6="0E",i4="0E+",i5=":",i9="BigDecimal",i8="BigDecimal MathContext",i7="BigDecimal;",on="BigInteger",ot="BigInteger divide by zero",oe="BigInteger not invertible.",or="BigInteger: modulus not positive",oi="BigInteger;",oo="CSS1Compat",of="Division by zero",ou="Division impossible",oc="E",os='For input string: "',oh="Infinite or NaN",oa="Invalid Operation",ob="MathContext",ol="Negative bit address",og="Rounding necessary",ow="RoundingMode",od="RoundingMode;",op="String",o_="[Lcom.iriscouch.gwtapp.client.",ov="[Ljava.lang.",om="[Ljava.math.",oy="\\.",oC="__gwtex_wrap",ox="anonymous",oS="array",oM="bad string format",oB="bigdecimal",oA="com.google.gwt.core.client.",oN="com.google.gwt.core.client.impl.",oI="com.iriscouch.gwtapp.client.",oE="java.lang.",oR="java.math.",oO="java.util.",oD="msie",ok="null",oL="number",oU="number MathContext",oP="number number",oQ="object",oT="opera",oj="org.timepedia.exporter.client.",oF="safari",oH="string",o$="undefined",oV={l:0,m:0,h:524288},oq={l:0,m:4193280,h:1048575},oG={l:4194298,m:4194303,h:1048575},oz={l:4194303,m:4194303,h:1048575},oJ={l:0,m:0,h:0},oK={l:1,m:0,h:0},oW={l:2,m:0,h:0},oZ={l:5,m:0,h:0},oX={l:10,m:0,h:0},oY={l:11,m:0,h:0},o0={l:18,m:0,h:0},o1={l:48,m:0,h:0},o2={l:877824,m:119,h:0},o3={l:1755648,m:238,h:0},o6={l:4194303,m:511,h:0},o4={l:4194303,m:1023,h:0},o5={l:0,m:1024,h:0};(i$=h.prototype={}).eQ=function(n){return this===n},i$.gC=function(){return us},i$.hC=function(){return nF(this)},i$.tS=function(){return this.gC().d+"@"+function(n){var t,e,r;if(t=tU(uK,{6:1},-1,8,1),rv(),e=fO,r=7,n>=0)for(;n>15;)t[r--]=e[15&n],n>>=4;else for(;r>0;)t[r--]=e[15&n],n>>=4;return t[r]=e[15&n],t6(t,r,8)}(this.hC())},i$.toString=function(){return this.tS()},i$.tM=g,i$.cM={},(i$=a.prototype=new h).gC=function(){return ua},i$.j=function(){return this.f},i$.tS=function(){var n,t;return n=this.gC().d,null!=(t=this.j())?n+": "+t:n},i$.cM={6:1,15:1},i$.f=null,(i$=b.prototype=new a).gC=function(){return ub},i$.cM={6:1,15:1},(i$=nr.prototype=l.prototype=new b).gC=function(){return ul},i$.cM={6:1,12:1,15:1},(i$=n1.prototype=(function(){}).prototype=new l).gC=function(){return ug},i$.j=function(){var n,t,e,r,i;return null==this.d&&(this.e=null==(e=this.c)?ok:tt(e)?null==(r=t8(e))?null:r.name:nz(e,1)?op:(nH(e)?e.gC():uw).d,this.b=tt(n=this.c)?null==(i=t8(n))?null:i.message:n+iV,this.d="("+this.e+"): "+this.b+(tt(t=this.c)?function(n){var t=iV;try{for(var e in n)if("name"!=e&&"message"!=e&&"toString"!=e)try{t+="\n "+e+": "+n[e]}catch(n){}}catch(n){}return t}(t8(t)):iV)),this.d},i$.cM={6:1,12:1,15:1},i$.b=null,i$.c=null,i$.d=null,i$.e=null,(i$=w.prototype=new h).gC=function(){return ud};var o9=0,o8=0;(i$=d.prototype=(function(){}).prototype=new w).gC=function(){return um},i$.b=null,i$.c=null,(i$=_.prototype=v.prototype=new h).k=function(){for(var n={},t=[],e=arguments.callee.caller.caller;e;){var r,i,o=this.n(e.toString());t.push(o);var f=i5+o,u=n[f];if(u){for(r=0,i=u.length;r0?i:ox},i$.gC=function(){return uy},i$.o=function(n){return[]},(i$=m.prototype=new v).k=function(){return tg(this.o(td()),this.p())},i$.gC=function(){return uS},i$.o=function(n){return eO(this,n)},i$.p=function(){return 2},(i$=y.prototype=(function(){}).prototype=new m).k=function(){return eh(this)},i$.n=function(n){var t,e;return 0==n.length||(0==(e=e8(n)).indexOf("at ")&&(e=n7(e,3)),-1==(t=e.indexOf("["))&&(t=e.indexOf("(")),-1==t)?ox:(-1!=(t=(e=e8(e.substr(0,t-0))).indexOf("."))&&(e=n7(e,t+1)),e.length>0?e:ox)},i$.gC=function(){return uM},i$.o=function(n){return t3(this,n)},i$.p=function(){return 3},(i$=C.prototype=new h).gC=function(){return uB},(i$=x.prototype=(function(){}).prototype=new C).gC=function(){return uA},i$.b=iV,(i$=S.prototype=(function(){}).prototype=new h).gC=function(){return this.aC},i$.aC=null,i$.qI=0;var o7=null,fn=null;(i$=M.prototype=(function(){}).prototype=new h).gC=function(){return uE},i$.cM={2:1},(i$=B.prototype=new h).gC=function(){return uO},i$.cM={6:1,10:1};var ft=null;(i$=ef.prototype=ti.prototype=tM.prototype=tN.prototype=X.prototype=e_.prototype=eu.prototype=tA.prototype=tB.prototype=eJ.prototype=n3.prototype=n6.prototype=tr.prototype=tS.prototype=nL.prototype=A.prototype=new B).eQ=function(n){return e2(this,n)},i$.gC=function(){return uD},i$.hC=function(){return rm(this)},i$.q=function(){return rj(this)},i$.r=function(){return ed(this)},i$.tS=function(){return ip(this)},i$.cM={6:1,8:1,10:1,16:1},i$.b=0,i$.c=0,i$.d=null,i$.e=0,i$.f=0,i$.g=0,i$.i=null;var fe,fr,fi,fo,ff,fu,fc,fs,fh,fa,fb,fl,fg,fw,fd,fp,f_,fv=null,fm=null,fy=null;(i$=nU.prototype=nw.prototype=(function(){}).prototype=new A).s=function(n){var t,e,r;if((e=iE(n))==iV)t=0>ed(this)?ep(this):this;else if(e==ob)t=0>(r=t7(this,new iS(n[0].toString()))).r()?ep(r):r;else throw new nr("Unknown call signature for interim = super.abs: "+e);return new nU(t)},i$.t=function(n){var t,e;if((e=iE(n))==i9)t=r1(this,new X(n[0].toString()));else if(e==i8)t=function(n,t,e){var r,i,o,f;if(r=n.f-t.f,0==t.b&&-1!=t.g||0==n.b&&-1!=n.g||0==e.b)return t7(r1(n,t),e);if((n.e>0?n.e:nP((n.b-1)*.3010299956639812)+1)0?t.e:nP((t.b-1)*.3010299956639812)+1)<-r-1))return t7(r1(n,t),e);i=n,f=t}return e.b>=(i.e>0?i.e:nP((i.b-1)*.3010299956639812)+1)?t7(r1(n,t),e):t7(i=new tM((o=i.r())==f.r()?ix(rZ((i.d||(i.d=eP(i.g)),i.d),10),eZ(e4(o))):ix(rZ(ih((i.d||(i.d=eP(i.g)),i.d),eZ(e4(o))),10),eZ(e4(9*o))),i.f+1),e)}(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.add: "+e);return new nU(t)},i$.u=function(){return~~(nB(en(this,8))<<24)>>24},i$.v=function(n){return ic(this,n)},i$.w=function(n){var t,e,r,i;if((i=iE(n))==i9)e=el(this,new X(n[0].toString()));else if(i==i8)e=eg(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.divideAndRemainder: "+i);for(t=0,r=tU(uL,{6:1},3,e.length,0);t129?n*=1/0:n=t9(ip(this)),n},i$.gC=function(){return uk},i$.hC=function(){return rm(this)},i$.B=function(){var n;return this.f<=-32||this.f>(this.e>0?this.e:nP((this.b-1)*.3010299956639812)+1)?0:(n=new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))).f*n.b[0]},i$.C=function(){return nB(en(this,32))},i$.D=function(){return nB(en(this,32))},i$.E=function(){return t9(ip(this))},i$.F=function(n){return new nU(ic(this,n)>=0?this:n)},i$.G=function(n){return new nU(0>=ic(this,n)?this:n)},i$.H=function(n){return new nU(rJ(this,this.f+n))},i$.I=function(n){return new nU(rJ(this,this.f-n))},i$.J=function(n){var t,e;if((e=iE(n))==i9)t=rk(this,new X(n[0].toString()));else if(e==i8)t=tl(this,new X(n[0].toString()),new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.multiply: "+e);return new nU(t)},i$.K=function(n){var t,e;if((e=iE(n))==iV)t=ep(this);else if(e==ob)t=ep(t7(this,new iS(n[0].toString())));else throw new nr("Unknown call signature for interim = super.negate: "+e);return new nU(t)},i$.L=function(n){var t,e;if((e=iE(n))==iV)t=this;else if(e==ob)t=t7(this,new iS(n[0].toString()));else throw new nr("Unknown call signature for interim = super.plus: "+e);return new nU(t)},i$.M=function(n){var t,e;if((e=iE(n))==oL)t=rd(this,n[0]);else if(e==oU)t=function(n,t,e){var r,i,o,f,u,c;if(o=t<0?-t:t,f=e.b,i=eo(tn(o))+1,u=e,0==t||0==n.b&&-1!=n.g&&t>0)return rd(n,t);if(o>0x3b9ac9ff||0==f&&t<0||f>0&&i>f)throw new ni(oa);for(f>0&&(u=new eW(f+i+1,e.c)),r=t7(n,u),c=~~function(n){var t;if(n<0)return -0x80000000;if(0==n)return 0;for(t=0x40000000;(t&n)==0;t>>=1);return t}(o)>>1;c>0;)r=tl(r,r,u),(o&c)==c&&(r=tl(r,n,u)),c>>=1;return t<0&&(r=iO(fw,r,u)),is(r,e),r}(this,n[0],new iS(n[1].toString()));else throw new nr("Unknown call signature for interim = super.pow: "+e);return new nU(t)},i$.q=function(){return rj(this)},i$.N=function(n){var t,e;if((e=iE(n))==i9)t=el(this,new X(n[0].toString()))[1];else if(e==i8)t=eg(this,new X(n[0].toString()),new iS(n[1].toString()))[1];else throw new nr("Unknown call signature for interim = super.remainder: "+e);return new nU(t)},i$.O=function(n){return new nU(t7(this,new iS(ea(n.b))))},i$.P=function(){return eo(this.f)},i$.Q=function(n){var t;return new nU((t=this.f-n,this.b<54)?0==this.g?eU(t):new ti(this.g,eK(t)):new tS((this.d||(this.d=eP(this.g)),this.d),eK(t)))},i$.R=function(n){var t,e;if((e=iE(n))==oL)t=r0(this,n[0],(iA(),f6));else if(e==oP)t=r0(this,n[0],rQ(n[1]));else if("number RoundingMode"==e)t=r0(this,n[0],ts(n[1].toString()));else throw new nr("Unknown call signature for interim = super.setScale: "+e);return new nU(t)},i$.S=function(){return~~(nB(en(this,16))<<16)>>16},i$.r=function(){return ed(this)},i$.T=function(){return new nU(function(n){var t,e,r,i,o;if(t=1,e=fm.length-1,r=n.f,0==n.b&&-1!=n.g)return new X(iW);for(n.d||(n.d=eP(n.g)),o=n.d;!o.gb(0);)if(0==(i=r4(o,fm[t]))[1].r())r-=t,t0?r.e:nP((r.b-1)*.3010299956639812)+1)0?this.e:nP((this.b-1)*.3010299956639812)+1)?t7(new tM((f=ed(this))!=r.r()?ix(rZ((this.d||(this.d=eP(this.g)),this.d),10),eZ(e4(f))):ix(rZ(ih((this.d||(this.d=eP(this.g)),this.d),eZ(e4(f))),10),eZ(e4(9*f))),this.f+1),i):t7(iD(this,r),i);else throw new nr("Unknown call signature for interim = super.subtract: "+e);return new nU(t)},i$.V=function(){return new n2(0==this.f||0==this.b&&-1!=this.g?(this.d||(this.d=eP(this.g)),this.d):this.f<0?et((this.d||(this.d=eP(this.g)),this.d),im(-this.f)):ia((this.d||(this.d=eP(this.g)),this.d),im(this.f)))},i$.W=function(){return new n2(r5(this))},i$.X=function(){return function(n){var t,e,r,i,o,f,u,c;if(f=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f)return f;if(t=0>(n.d||(n.d=eP(n.g)),n.d).r()?2:1,r=f.length,i=-n.f+r-t,c=new nq(f),n.f>0&&i>=-6)i>=0?n8(c,r-eo(n.f),iK):(te(c.b,t-1,t-1,iZ),n8(c,t+1,tP(fh,0,-eo(i)-1)));else{if(e=r-t,0!=(u=eo(i%3))&&(0==(n.d||(n.d=eP(n.g)),n.d).r()?i+=u=u<0?-u:3-u:(i-=u=u<0?u+3:u,t+=u),e<3))for(o=u-e;o>0;--o)n8(c,r++,iW);r-t>=1&&(te(c.b,t,t,iK),++r),0!=i&&(te(c.b,r,r,oc),i>0&&n8(c,++r,iz),n8(c,++r,iV+r6(r3(i))))}return c.b.b}(this)},i$.Y=function(){return function(n){var t,e,r,i,o,f;if(r=iF((n.d||(n.d=eP(n.g)),n.d),0),0==n.f||0==n.b&&-1!=n.g&&n.f<0)return r;if(t=0>ed(n)?1:0,e=n.f,i=new Z(r.length+1+((o=eo(n.f))<0?-o:o)),1==t&&(i.b.b+=iJ),n.f>0){if((e-=r.length-t)>=0){for(i.b.b+=iZ;e>fh.length;e-=fh.length)tG(i,fh);n9(i,fh,eo(e)),nE(i,n7(r,t))}else nE(i,(f=eo(e=t-e),r.substr(t,f-t))),i.b.b+=iK,nE(i,n7(r,eo(e)))}else{for(nE(i,n7(r,t));e<-fh.length;e+=fh.length)tG(i,fh);n9(i,fh,eo(-e))}return i.b.b}(this)},i$.tS=function(){return ip(this)},i$.Z=function(){return new nU(new ti(1,this.f))},i$.$=function(){return new n2((this.d||(this.d=eP(this.g)),this.d))},i$.cM={3:1,6:1,8:1,10:1,16:1,24:1},(i$=H.prototype=(function(){}).prototype=new h).gC=function(){return uU};var fC=!1;(i$=rf.prototype=ro.prototype=to.prototype=e9.prototype=tV.prototype=ra.prototype=nG.prototype=iC.prototype=N.prototype=new B)._=function(){return this.f<0?new to(1,this.e,this.b):this},i$.ab=function(){return eq(this)},i$.eQ=function(n){return eV(this,n)},i$.gC=function(){return uP},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.cb=function(){return 0==this.f?this:new to(-this.f,this.e,this.b)},i$.db=function(n){return rL(this,n)},i$.eb=function(n){return tY(this,n)},i$.fb=function(n){return t0(this,n)},i$.r=function(){return this.f},i$.gb=function(n){return rT(this,n)},i$.tS=function(){return iF(this,0)},i$.cM={6:1,8:1,10:1,17:1},i$.b=null,i$.c=-2,i$.d=0,i$.e=0,i$.f=0;var fx,fS,fM,fB,fA,fN=null;(i$=n2.prototype=nD.prototype=nk.prototype=(function(){}).prototype=new N)._=function(){return new n2(this.f<0?new to(1,this.e,this.b):this)},i$.hb=function(n){return new n2(ix(this,n))},i$.ib=function(n){return new n2(0==n.f||0==this.f?(rW(),fA):eV(n,(rW(),fx))?this:eV(this,fx)?n:this.f>0?n.f>0?function(n,t){var e,r,i,o;if(i=np(n.e,t.e),(e=n_(ew(n),ew(t)))>=i)return rW(),fA;for(r=tU(up,{6:1},-1,i,1);e0?rz(n,this):this.e>n.e?i_(this,n):i_(n,this))},i$.jb=function(n){return new n2(0==n.f?this:0==this.f?(rW(),fA):eV(this,(rW(),fx))?new n2(r7(n)):eV(n,fx)?fA:this.f>0?n.f>0?function(n,t){var e,r,i,o;for(i=tU(up,{6:1},-1,n.e,1),r=np(n.e,t.e),e=ew(n);e=n.e)return n;for(o=tU(up,{6:1},-1,f=np(n.e,t.e),1),e=i;e0?function(n,t){var e,r,i,o,f,u,c;if(i=ew(n),o=ew(t),i>=t.e)return n;if(c=n_(n.e,t.e),r=i,o>i){for(u=tU(up,{6:1},-1,c,1),f=np(n.e,o);r=t.e)return rW(),fA;if(f=tU(up,{6:1},-1,u=t.e,1),e=i,i0)for(;e34028234663852886e22?1/0:n<-34028234663852886e22?-1/0:n},i$.qb=function(n){return new n2(rR(this,n))},i$.gC=function(){return uQ},i$.bb=function(){return t1(this)},i$.hC=function(){return ek(this)},i$.B=function(){return this.f*this.b[0]},i$.rb=function(n){return function(n,t){var e,r;if(ij(),t<=0||1==n.e&&2==n.b[0])return!0;if(!rT(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}(fW,n.b[0])>=0;for(r=1;r>1)?r:1+(~~(t-1)>>1))}(new n2(this.f<0?new to(1,this.e,this.b):this),n)},i$.sb=function(){return t9(iF(this,0))},i$.tb=function(n){return new n2(1==rt(this,n)?this:n)},i$.ub=function(n){return new n2(-1==rt(this,n)?this:n)},i$.vb=function(n){return new n2(ee(this,n))},i$.wb=function(n){return new n2(rO(this,n))},i$.xb=function(n,t){return new n2(rG(this,n,t))},i$.yb=function(n){return new n2(et(this,n))},i$.cb=function(){return new n2(0==this.f?this:new to(-this.f,this.e,this.b))},i$.zb=function(){return new n2(function(n){if(n.f<0)throw new ni("start < 0: "+n);return function(n){var t,e,r,i,o,f,u,c;if(ij(),o=tU(up,{6:1},-1,fW.length,1),r=tU(uv,{6:1},-1,1024,2),1==n.e&&n.b[0]>=0&&n.b[0]=fW[e];++e);return fK[e]}for(u=new to(1,n.e,tU(up,{6:1},-1,n.e+1,1)),iB(n.b,0,u.b,0,n.e),rT(n,0)?tW(u,2):u.b[0]|=1,i=u.ab(),t=2;i0?n.f>0?this.e>n.e?rg(this,n):rg(n,this):iw(this,n):n.f>0?iw(n,this):ew(n)>ew(this)?rX(n,this):rX(this,n))},i$.db=function(n){return new n2(rL(this,n))},i$.Cb=function(n){return new n2(rH(this,n))},i$.Db=function(n){return new n2(rT(this,n)?this:ie(this,n))},i$.eb=function(n){return new n2(tY(this,n))},i$.fb=function(n){return new n2(t0(this,n))},i$.r=function(){return this.f},i$.Eb=function(n){return new n2(ih(this,n))},i$.gb=function(n){return rT(this,n)},i$.Fb=function(n){var t,e;if((e=iE(n))==iV)t=iF(this,0);else if(e==oL)t=function(n,t){var e,r,i,o,f,u,c,s,h,a,b,l,g,w,d,_,v;if(iM(),w=n.f,h=n.e,u=n.b,0==w)return iW;if(1==h)return v=th(e4(u[0]),o4),w<0&&(v=eQ(v)),function(n,t){var e,r,i,o;if(10==t||t<2||t>36)return iV+r6(n);if(e=tU(uK,{6:1},-1,65,1),rv(),r=fO,i=64,o=e4(t),rN(n,oJ)){for(;rN(n,o);)e[i--]=r[nB(n4(n,o))],n=iI(n,o,!1);e[i]=r[nB(n)]}else{for(;!rA(n,eQ(o));)e[i--]=r[nB(eQ(n4(n,o)))],n=iI(n,o,!1);e[i--]=r[nB(eQ(n))],e[i]=45}return t6(e,i,65)}(v,t);if(10==t||t<2||t>36)return iF(n,0);if(r=Math.log(t)/Math.log(2),g=tU(uK,{6:1},-1,l=eo(eq(new n2(n.f<0?new to(1,n.e,n.b):n))/r+(w<0?1:0))+1,1),o=l,16!=t)for(iB(u,0,d=tU(up,{6:1},-1,h,1),0,h),_=h,i=fP[t],e=fU[t-2];;){b=ii(d,d,_,e),a=o;do g[--o]=em(b%t,t);while(0!=(b=~~(b/t))&&0!=o)for(c=0,f=i-a+o;c0;++c)g[--o]=48;for(c=_-1;c>0&&0==d[c];--c);if(1==(_=c+1)&&0==d[0])break}else for(c=0;c0;++s)b=~~u[c]>>(s<<2)&15,g[--o]=em(b,16);for(;48==g[o];)++o;return -1==w&&(g[--o]=45),tP(g,o,l-o)}(this,n[0]);else throw new nr("Unknown call signature for result = super.toString: "+e);return t},i$.Gb=function(n){return new n2(0==n.f?this:0==this.f?n:eV(n,(rW(),fx))?new n2(r7(this)):eV(this,fx)?new n2(r7(n)):this.f>0?n.f>0?this.e>n.e?rw(this,n):rw(n,this):iU(this,n):n.f>0?iU(n,this):ew(n)>ew(this)?io(n,this):io(this,n))},i$.cM={4:1,6:1,8:1,10:1,17:1,24:1},(i$=F.prototype=(function(){}).prototype=new h).gC=function(){return uj};var fI=!1;(i$=nm.prototype=ny.prototype=(function(){}).prototype=new h).gC=function(){return uF},i$.Hb=function(){return this.b.b},i$.Ib=function(){return new nn(this.b.c)},i$.hC=function(){return nM(this.b)},i$.tS=function(){return ea(this.b)},i$.cM={24:1},i$.b=null,(i$=j.prototype=(function(){}).prototype=new h).gC=function(){return uH};var fE=!1;(i$=nn.prototype=nC.prototype=(function(){}).prototype=new h).gC=function(){return u$},i$.Jb=function(){return this.b.b},i$.tS=function(){return this.b.b},i$.cM={5:1,24:1},i$.b=null,(i$=K.prototype=(function(){}).prototype=new h).gC=function(){return uq};var fR=!1;(i$=ni.prototype=(function(){}).prototype=new l).gC=function(){return uG},i$.cM={6:1,12:1,15:1},(i$=no.prototype=V.prototype=(function(){}).prototype=new l).gC=function(){return uJ},i$.cM={6:1,12:1,15:1},(i$=I.prototype=(function(){}).prototype=new h).gC=function(){return uW},i$.tS=function(){return((2&this.c)!=0?"interface ":(1&this.c)!=0?iV:"class ")+this.d},i$.b=null,i$.c=0,i$.d=null,(i$=$.prototype=(function(){}).prototype=new l).gC=function(){return uZ},i$.cM={6:1,12:1,15:1},(i$=E.prototype=new h).eQ=function(n){return this===n},i$.gC=function(){return uh},i$.hC=function(){return nF(this)},i$.tS=function(){return this.b},i$.cM={6:1,8:1,9:1},i$.b=null,i$.c=0,(i$=nf.prototype=q.prototype=R.prototype=new l).gC=function(){return uX},i$.cM={6:1,12:1,15:1},(i$=nu.prototype=G.prototype=O.prototype=new l).gC=function(){return uz},i$.cM={6:1,12:1,15:1},(i$=nc.prototype=z.prototype=(function(){}).prototype=new l).gC=function(){return uY},i$.cM={6:1,12:1,15:1},(i$=nd.prototype=(function(){}).prototype=new R).gC=function(){return u0},i$.cM={6:1,12:1,15:1},(i$=tf.prototype=(function(){}).prototype=new h).gC=function(){return uC},i$.tS=function(){return this.b+iK+this.d+"(Unknown Source"+(this.c>=0?i5+this.c:iV)+")"},i$.cM={6:1,13:1},i$.b=null,i$.c=0,i$.d=null,(i$=String.prototype).eQ=function(n){return tF(this,n)},i$.gC=function(){return uN},i$.hC=function(){var n,t;return nK(),null!=(t=fk[n=i5+this])?t:(null==(t=fD[n])&&(t=function(n){var t,e,r,i;for(t=0,i=(r=n.length)-4,e=0;e Date: Wed, 11 Sep 2024 10:56:50 +0900 Subject: [PATCH 5/5] Create popular-crabs-hang.md --- .changeset/popular-crabs-hang.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/popular-crabs-hang.md diff --git a/.changeset/popular-crabs-hang.md b/.changeset/popular-crabs-hang.md new file mode 100644 index 000000000000..6d442afe5998 --- /dev/null +++ b/.changeset/popular-crabs-hang.md @@ -0,0 +1,6 @@ +--- +swc_core: patch +swc_ecma_codegen: patch +--- + +fix(es/codegen): Handle minify number