diff --git a/.changeset/silly-wolves-suffer.md b/.changeset/silly-wolves-suffer.md new file mode 100644 index 00000000000..e408bdfe564 --- /dev/null +++ b/.changeset/silly-wolves-suffer.md @@ -0,0 +1,6 @@ +--- +swc_core: patch +swc_ecma_minifier: patch +--- + +fix(es/codegen): Improve EndsWithAlphaNum diff --git a/crates/swc_ecma_codegen/src/expr.rs b/crates/swc_ecma_codegen/src/expr.rs index 5577d95884a..cd8005983fe 100644 --- a/crates/swc_ecma_codegen/src/expr.rs +++ b/crates/swc_ecma_codegen/src/expr.rs @@ -65,6 +65,18 @@ mod tests { assert_min("2 >>> 2", "2>>>2"); assert_min("foo in bar", "foo in bar"); assert_min("foo instanceof Foo", "foo instanceof Foo"); + + assert_min("foo() in b", "foo()in b"); + assert_min("typeof foo() in b", "typeof foo()in b"); + assert_min("`` in b", "``in b"); + assert_min("a?.foo() in b", "a?.foo()in b"); + assert_min("++a[1] in b", "++a[1]in b"); + assert_min("a++ in foo", "a++in foo"); + assert_min("``+`` in b", "``+``in b"); + assert_min("new Foo(a) in b", "new Foo(a)in b"); + + assert_min("new Foo() in b", "new Foo in b"); + assert_min("++a in b", "++a in b"); } #[test] diff --git a/crates/swc_ecma_codegen/src/util.rs b/crates/swc_ecma_codegen/src/util.rs index c8d692a0d7f..cba38407b0c 100644 --- a/crates/swc_ecma_codegen/src/util.rs +++ b/crates/swc_ecma_codegen/src/util.rs @@ -52,17 +52,36 @@ impl EndsWithAlphaNum for UsingDecl { impl EndsWithAlphaNum for Expr { fn ends_with_alpha_num(&self) -> bool { - !matches!( - self, + match self { Expr::Array(..) - | Expr::Object(..) - | Expr::Lit(Lit::Str(..)) - | Expr::Paren(..) - | Expr::Member(MemberExpr { - prop: MemberProp::Computed(..), - .. - }) - ) + | Expr::Object(..) + | Expr::Lit(Lit::Str(..)) + | Expr::Paren(..) + | Expr::Member(MemberExpr { + prop: MemberProp::Computed(..), + .. + }) + | Expr::Tpl(..) + | Expr::TaggedTpl(..) + | Expr::Call(..) => false, + + Expr::Unary(n) => n.arg.ends_with_alpha_num(), + + Expr::Update(n) => n.prefix && n.arg.ends_with_alpha_num(), + + Expr::OptChain(n) => match n.base.as_ref() { + OptChainBase::Member(base) => base.prop.is_computed(), + OptChainBase::Call(_) => false, + }, + + Expr::Bin(n) => n.right.ends_with_alpha_num(), + + Expr::New(NewExpr { + args: Some(args), .. + }) => args.is_empty(), + + _ => true, + } } } 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 7fa2188996d..1dd21756927 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,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;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