summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-02-25 20:48:39 +0100
committerManolo Carrasco <manolo@apache.org>2015-02-25 20:48:39 +0100
commit2aab9e0717ff573ea4c592d76a8e71e6029ede60 (patch)
tree5a5099e5ef47afa064e450cffa6be9b75de97624
parent312ceaa278bb5ce5050cebfbe8f6691f14cb431e (diff)
downloadvaadin-core-2aab9e0717ff573ea4c592d76a8e71e6029ede60.tar.gz
vaadin-core-2aab9e0717ff573ea4c592d76a8e71e6029ede60.zip
Upgrading version 0.1.2
-rw-r--r--vaadin-components.html24629
1 files changed, 24061 insertions, 568 deletions
diff --git a/vaadin-components.html b/vaadin-components.html
index 78e4730..8cfab0b 100644
--- a/vaadin-components.html
+++ b/vaadin-components.html
@@ -3,574 +3,24067 @@
<head>
<script>
$wnd = window; $doc = document;
-function VaadinComponents(){var N='bootstrap',O='begin',P='gwt.codesvr.VaadinComponents=',Q='gwt.codesvr=',R='VaadinComponents',S='startup',T='DUMMY',U=0,V=1,W='iframe',X='javascript:""',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='_',db='$1',eb='script',fb='javascript',gb='meta',hb='name',ib='VaadinComponents::',jb='::',kb='gwt:property',lb='content',mb='=',nb='gwt:onPropertyErrorFn',ob='Bad handler "',pb='" for "gwt:onPropertyErrorFn"',qb='gwt:onLoadErrorFn',rb='" for "gwt:onLoadErrorFn"',sb='#',tb='?',ub='/',vb='img',wb='clear.cache.gif',xb='baseUrl',yb='VaadinComponents.nocache.js',zb='base',Ab='//',Bb='modernie',Cb='MSIE',Db='Trident',Eb='yes',Fb='none',Gb='selectorCapability',Hb='function',Ib='native',Jb='js',Kb='user.agent',Lb='webkit',Mb='safari',Nb='msie',Ob=10,Pb=11,Qb='ie10',Rb=9,Sb='ie9',Tb=8,Ub='ie8',Vb='gecko',Wb='gecko1_8',Xb=2,Yb=3,Zb=4,$b='selectingPermutation',_b='VaadinComponents.devmode.js',ac='F194DFE525790C9C07D740E01B790A92',bc=':1',cc=':2',dc=':3',ec=':4',fc=':5',gc=':6',hc=':',ic='.cache.js',jc='loadExternalRefs',kc='end',lc='http:',mc='file:',nc='_gwt_dummy_',oc='__gwtDevModeHook:VaadinComponents',pc='Ignoring non-whitelisted Dev Mode URL: ',qc=':moduleBase',rc='head';var n=window;var o=document;q(N,O);function p(){var a=n.location.search;return a.indexOf(P)!=-1||a.indexOf(Q)!=-1}
-function q(a,b){if(n.__gwtStatsEvent){n.__gwtStatsEvent({moduleName:R,sessionId:n.__gwtStatsSessionId,subSystem:S,evtGroup:a,millis:(new Date).getTime(),type:b})}}
-VaadinComponents.__sendStats=q;VaadinComponents.__moduleName=R;VaadinComponents.__errFn=null;VaadinComponents.__moduleBase=T;VaadinComponents.__softPermutationId=U;VaadinComponents.__computePropValue=null;VaadinComponents.__getPropMap=null;VaadinComponents.__installRunAsyncCode=function(){};VaadinComponents.__gwtStartLoadingFragment=function(){return null};VaadinComponents.__gwt_isKnownPropertyValue=function(){return false};VaadinComponents.__gwt_getMetaProperty=function(){return null};var r=null;var s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[R]={moduleName:R};VaadinComponents.__moduleStartupDone=function(e){var f=s[R].bindings;s[R].bindings=function(){var a=f?f():{};var b=e[VaadinComponents.__softPermutationId];for(var c=U;c<b.length;c++){var d=b[c];a[d[U]]=d[V]}return a}};var t;function u(){v();return t}
-function v(){if(t){return}var a=o.createElement(W);a.src=X;a.id=R;a.style.cssText=Y+Z;a.tabIndex=-1;o.body.appendChild(a);t=a.contentDocument;if(!t){t=a.contentWindow.document}t.open();var b=document.compatMode==$?_:ab;t.write(b+bb);t.close()}
-function w(a){this[cb+a.replace(/.*([\dA-F]{32}).cache.js/,db)](window,document)}
-VaadinComponents.__startLoadingFragment=function(a){return C(a)};VaadinComponents.__installRunAsyncCode=function(a){var b=u();var c=b.body;var d=b.createElement(eb);d.language=fb;d.text=a;c.appendChild(d);c.removeChild(d)};function A(){var c={};var d;var e;var f=o.getElementsByTagName(gb);for(var g=U,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(hb),k;if(j){j=j.replace(ib,ab);if(j.indexOf(jb)>=U){continue}if(j==kb){k=i.getAttribute(lb);if(k){var l,m=k.indexOf(mb);if(m>=U){j=k.substring(U,m);l=k.substring(m+V)}else{j=k;l=ab}c[j]=l}}else if(j==nb){k=i.getAttribute(lb);if(k){try{d=eval(k)}catch(a){alert(ob+k+pb)}}}else if(j==qb){k=i.getAttribute(lb);if(k){try{e=eval(k)}catch(a){alert(ob+k+rb)}}}}}__gwt_getMetaProperty=function(a){var b=c[a];return b==null?null:b};r=d;VaadinComponents.__errFn=e}
-function B(){function e(a){var b=a.lastIndexOf(sb);if(b==-1){b=a.length}var c=a.indexOf(tb);if(c==-1){c=a.length}var d=a.lastIndexOf(ub,Math.min(c,b));return d>=U?a.substring(U,d+V):ab}
-function f(a){if(a.match(/^\w+:\/\//)){}else{var b=o.createElement(vb);b.src=a+wb;a=e(b.src)}return a}
-function g(){var a=__gwt_getMetaProperty(xb);if(a!=null){return a}return ab}
-function h(){var a=o.getElementsByTagName(eb);for(var b=U;b<a.length;++b){if(a[b].src.indexOf(yb)!=-1){return e(a[b].src)}}return ab}
-function i(){var a=o.getElementsByTagName(zb);if(a.length>U){return a[a.length-V].href}return ab}
-function j(){var a=o.location;return a.href==a.protocol+Ab+a.host+a.pathname+a.search+a.hash}
-var k=g();if(k==ab){k=h()}if(k==ab){k=i()}if(k==ab&&j()){k=e(o.location.href)}k=f(k);return k}
-function C(a){if(a.match(/^\//)){return a}if(a.match(/^[a-zA-Z]+:\/\//)){return a}return VaadinComponents.__moduleBase+a}
-function D(){var f=[];var g=U;function h(a,b){var c=f;for(var d=U,e=a.length-V;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b}
-var i=[];var j=[];function k(a){var b=j[a](),c=i[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(r){r(a,d,b)}throw null}
-j[Bb]=function(){{var a=n.navigator.userAgent;if(a.indexOf(Cb)==-1&&a.indexOf(Db)!=-1){return Eb}return Fb}};i[Bb]={none:U,yes:V};j[Gb]=function(){return !/_force_no_native/.test(document.location.search)&&typeof document.querySelectorAll==Hb?Ib:Jb};i[Gb]={js:U,'native':V};j[Kb]=function(){var a=navigator.userAgent.toLowerCase();var b=o.documentMode;if(function(){return a.indexOf(Lb)!=-1}())return Mb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Ob&&b<Pb)}())return Qb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Rb&&b<Pb)}())return Sb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Tb&&b<Pb)}())return Ub;if(function(){return a.indexOf(Vb)!=-1||b>=Pb}())return Wb;return ab};i[Kb]={gecko1_8:U,ie10:V,ie8:Xb,ie9:Yb,safari:Zb};__gwt_isKnownPropertyValue=function(a,b){return b in i[a]};VaadinComponents.__getPropMap=function(){var a={};for(var b in i){if(i.hasOwnProperty(b)){a[b]=k(b)}}return a};VaadinComponents.__computePropValue=k;n.__gwt_activeModules[R].bindings=VaadinComponents.__getPropMap;q(N,$b);if(p()){return C(_b)}var l;try{h([Fb,Jb,Wb],ac);h([Fb,Ib,Wb],ac+bc);h([Eb,Jb,Wb],ac+cc);h([Eb,Ib,Wb],ac+dc);h([Fb,Jb,Qb],ac+ec);h([Fb,Ib,Qb],ac+fc);h([Fb,Ib,Mb],ac+gc);l=f[k(Bb)][k(Gb)][k(Kb)];var m=l.indexOf(hc);if(m!=-1){g=parseInt(l.substring(m+V),Ob);l=l.substring(U,m)}}catch(a){}VaadinComponents.__softPermutationId=g;return C(l+ic)}
-function F(){if(!n.__gwt_stylesLoaded){n.__gwt_stylesLoaded={}}q(jc,O);q(jc,kc)}
-A();VaadinComponents.__moduleBase=B();s[R].moduleBase=VaadinComponents.__moduleBase;var G=D();if(n){var H=!!(n.location.protocol==lc||n.location.protocol==mc);n.__gwt_activeModules[R].canRedirect=H;function I(){var b=nc;try{n.sessionStorage.setItem(b,b);n.sessionStorage.removeItem(b);return true}catch(a){return false}}
-if(H&&I()){var J=oc;var K=n.sessionStorage[J];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(K)){if(K&&(window.console&&console.log)){console.log(pc+K)}K=ab}if(K&&!n[J]){n[J]=true;n[J+qc]=B();var L=o.createElement(eb);L.src=K;var M=o.getElementsByTagName(rc)[U];M.insertBefore(L,M.firstElementChild||M.children[U]);return false}}}F();q(N,kc);w(G);return true}
-VaadinComponents.succeeded=VaadinComponents();
-function _F194DFE525790C9C07D740E01B790A92($wnd, $doc){
-var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.VaadinComponents;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats('moduleStartup', 'moduleEvalStart');var $gwt_version = "2.8.0-MCM";var $strongName = 'F194DFE525790C9C07D740E01B790A92';var $gwt = {};var $doc = $wnd.document;var $moduleName, $moduleBase;function __gwtStartLoadingFragment(frag) {var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js';return __gwtModuleFunction.__startLoadingFragment(fragFile);}function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}function __gwt_isKnownPropertyValue(propName, propValue) {return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue);}function __gwt_getMetaProperty(name) {return __gwtModuleFunction.__gwt_getMetaProperty(name);}var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;var aa=3.141592653589793,h={3:1},ba={3:1,12:1},ca={3:1,7:1,12:1},da={3:1,7:1,9:1,12:1},ea=65535,fa={40:1,10:1,3:1,5:1,4:1},ga={14:1,10:1,3:1,5:1,4:1},ha={10:1,49:1,3:1,5:1,4:1},ia={10:1,50:1,3:1,5:1,4:1},ja={10:1,51:1,3:1,5:1,4:1},ka={27:1,3:1,5:1,4:1},la={10:1,71:1,3:1,5:1,4:1},ma={10:1,41:1,3:1,5:1,4:1},na={72:1,3:1,7:1,9:1,12:1},oa=4194303,pa=1048575,qa=524288,ra=4194304,ta=17592186044416,ua=-9223372036854775E3,va={6:1},wa={19:1},xa={44:1,42:1},ya={128:1},za={84:1},Aa={24:1,21:1,18:1,23:1,22:1,
-20:1,16:1},Ca={24:1,21:1,18:1,23:1,37:1,22:1,34:1,20:1,16:1},Da={24:1,21:1,18:1,73:1,23:1,37:1,22:1,34:1,20:1,16:1},Ea=65536,Fa=131072,Ga=1048576,Ha=2097152,Ia=8388608,Ja=16777216,Ka=33554432,La=67108864,Ma={24:1,21:1,18:1,85:1,23:1,37:1,22:1,34:1,20:1,16:1},Na=4.9E-324,Oa={59:1,3:1,5:1,4:1},Pa={47:1},Qa={65:1},Ra={45:1},Sa={57:1},Ta={3:1,45:1,86:1},Ua={3:1,65:1},_,Va,Wa={},Xa=-1;function Ya(){switch(Xa){case 4:case 5:return new Za;case 6:return new $a}return new ab}
-function bb(){switch(Xa){case 4:case 5:return new cb;case 6:return new db}return new eb}function fb(){switch(Xa){case 4:case 5:return new gb;case 6:return new hb}return new ib}function jb(){switch(Xa){case 6:return new kb;case 4:case 5:return new lb}return new mb}function nb(){switch(Xa){case 4:return new ob;case 5:return new pb}return new qb}function rb(){switch(Xa){case 4:case 5:return new sb;case 6:return new tb}return new ub}
-function vb(){switch(Xa){case 6:return new wb;case 4:case 5:return new xb}return new yb}function zb(){}function Ab(a){var b=this;if("$wnd"==a)return $wnd;if(""===a)return b;"$wnd."==a.substring(0,5)&&(b=$wnd,a=a.substring(5));a=a.split(".");a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)b[d]?b=b[d]:b=b[d]={};return b}function Bb(a){function b(){}b.prototype=a||{};return new b}
-function Cb(a,b){return function(){for(var d=[],e=0;e<arguments.length;e++){var f;f=arguments[e];f=b[e]?"number"==typeof f?Db(f):f:f;d.push(f)}return a.apply(this,d)}}function m(){}function s(a,b,d){var e=Wa[a],f=e instanceof Array?e[0]:null;e&&!f?_=e:(_=Wa[a]=b?Bb(Wa[b]):{},_.cM=d,_.constructor=_,!b&&(_.tM=zb));for(e=3;e<arguments.length;++e)arguments[e].prototype=_;f&&(_.cZ=f)}function Fb(a){return Gb(Hb(a))+"@"+(Ib(a)>>>0).toString(16)}function Jb(){}
-function Kb(a,b){return Lb(a)?a===b:Mb(a)?a.eQ(b):(Nb(a),a===b)}function Hb(a){return Lb(a)?Ob:Mb(a)?a.cZ:Nb(a)?a.cZ:Pb}function Ib(a){return Lb(a)?Qb(a):Mb(a)?a.hC():(Nb(a),Rb(a))}function Sb(a){return Lb(a)?a:Mb(a)?a.tS():Nb(a)?Fb(a):a.toString?a.toString():"[JavaScriptObject]"}s(1,null,{},Jb);_.eQ=Tb;_.gC=function(){return this.cZ};_.hC=Ub;_.tS=function(){return Fb(this)};_.toString=function(){return this.tS()};Vb={3:1,571:1,5:1,2:1};
-!Array.isArray&&(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});function Wb(){return function(){}}function Mb(a){return!Array.isArray(a)&&a.tM===zb}function u(a,b){return null!=a&&(Lb(a)&&!!Vb[b]||a.cM&&!!a.cM[b])}function Xb(a){return null!=a&&!Lb(a)&&a.tM!==zb}function Nb(a){return Array.isArray(a)&&a.tM===zb}function Lb(a){return"string"===typeof a}function Yb(a){return null==a?null:a}function v(a){return Math.max(Math.min(a,2147483647),-2147483648)|0}var Vb;
-function Zb(a){if(null==a.k)if(a.Le()){var b=a.c;b.Me()?a.k="["+b.j:b.Le()?a.k="["+b.Je():a.k="[L"+b.Je()+";";a.b=b.Ie()+"[]";a.i=b.Ke()+"[]"}else{var b=a.f,d=a.d,d=d.split("/");a.k=$b(".",[b,$b("$",d)]);a.b=$b(".",[b,$b(".",d)]);a.i=d[d.length-1]}}function Gb(a){Zb(a);return a.k}function ac(a){Zb(a);return a.i}function bc(){this.g=cc++;this.a=this.j=this.b=this.d=this.f=this.i=this.k=null}function dc(a){var b;b=new bc;b.k="Class$"+(a?"S"+a:""+b.g);b.b=b.k;b.i=b.k;return b}
-function w(a){var b;b=dc(a);ec(a,b);return b}function x(a,b){var d;d=dc(a);ec(a,d);d.e=b?8:0;return d}function fc(){var a;a=dc(null);a.e=2;return a}function y(a,b){var d=a.a=a.a||[];return d[b]||(d[b]=a.He(b))}function $b(a,b){for(var d=0;!b[d]||""==b[d];)d++;for(var e=b[d++];d<b.length;d++)b[d]&&""!=b[d]&&(e+=a+b[d]);return e}function ec(a,b){if(a){b.j=a;var d=b.Me()?null:Wa[b.j];d?d.cZ=b:Wa[a]=[b]}}s(129,1,{},bc);_.He=function(a){var b;b=new bc;b.e=4;1<a?b.c=y(this,a-1):b.c=this;return b};
-_.Ie=function(){Zb(this);return this.b};_.Je=function(){return Gb(this)};_.Ke=function(){return ac(this)};_.Le=function(){return 0!=(this.e&4)};_.Me=function(){return 0!=(this.e&1)};_.tS=function(){return(0!=(this.e&2)?"interface ":0!=(this.e&1)?"":"class ")+(Zb(this),this.k)};_.e=0;_.g=0;var cc=1,z=w(1),Pb=w(0);w(129);function gc(a){a.p&&(a.v=a.q,a.o=null,a.p=!1,a.q=!1,a.r&&(a.r.U(),a.r=null),a.v&&a.P())}function hc(a){var b=ic();gc(a);a.p=!0;a.q=!1;a.n=200;a.u=b;a.o=null;++a.s;jc(a.k,ic())}
-function kc(a,b){var d,e;d=a.s;e=b>=a.u+a.n;return a.q&&!e?(e=(b-a.u)/a.n,a.R((1+Math.cos(aa+e*aa))/2),a.p&&a.s==d):!a.q&&b>=a.u&&(a.q=!0,a.Q(),!a.p||a.s!=d)?!1:e?(a.p=!1,a.q=!1,a.P(),!1):!0}function lc(){var a=(!mc&&(mc=nc()?new oc:new pc),mc);this.k=new qc(this);this.t=a}s(105,1,{});_.P=function(){this.R((1+Math.cos(6.283185307179586))/2)};_.Q=function(){this.R((1+Math.cos(aa))/2)};_.n=-1;_.p=!1;_.q=!1;_.s=-1;_.u=-1;_.v=!1;w(105);
-function jc(a,b){kc(a.a,b)?a.a.r=a.a.t.T(a.a.k,a.a.o):a.a.r=null}function qc(a){this.a=a}s(276,1,{},qc);_.S=function(a){jc(this,a)};w(276);s(550,1,{});var mc;w(550);s(102,1,{102:1});w(102);function nc(){return!!$wnd.requestAnimationFrame&&!!$wnd.cancelAnimationFrame}function oc(){}function rc(a,b){var d=B(function(){var b=ic();a.S(b)});return{id:$wnd.requestAnimationFrame(d,b)}}s(55,550,{},oc);_.T=function(a,b){var d;d=rc(a,b);return new sc(d)};w(55);function sc(a){this.a=a}s(502,102,{102:1},sc);
-_.U=function(){$wnd.cancelAnimationFrame(this.a.id)};w(502);function pc(){this.a=new C;this.b=new tc(this)}s(56,550,{},pc);_.T=function(a){a=new uc(this,a);vc(this.a,a);1==this.a.b.length&&wc(this.b,16);return a};w(56);function xc(a){a.f&&(++a.d,a.e?$wnd.clearInterval(a.f.a):$wnd.clearTimeout(a.f.a),a.f=null)}function wc(a,b){if(0>b)throw new D("must be non-negative");a.f&&xc(a);a.e=!1;var d;d=yc(a,a.d);d=$wnd.setTimeout(d,b);a.f=F(d)}function yc(a,b){return B(function(){a.V(b)})}s(38,1,{});
-_.V=function(a){a==this.d&&(this.e||(this.f=null),this.W())};_.d=0;_.e=!1;_.f=null;w(38);function tc(a){this.a=a}s(503,38,{},tc);_.W=function(){var a=this.a,b,d,e,f,g;b=zc(Ac,h,126,a.a.b.length,0);b=Bc(a.a,b);d=new Cc;f=0;for(g=b.length;f<g;++f)e=b[f],Dc(a.a,e),e.a.S(d.a);0<a.a.b.length&&wc(a.b,Ec(5,16-(ic()-d.a)))};w(503);function uc(a,b){this.b=a;this.a=b}s(126,102,{102:1,126:1},uc);_.U=function(){var a=this.b;Dc(a.a,this);0==a.a.b.length&&xc(a.b)};var Ac=w(126);function Fc(a){a.g=null;Gc()}
-function Hc(a){for(var b,d;a;a=a.e){if(null==a.g){d=a;Gc();b=zc(Ic,h,680,0,0);a:for(var e=void 0,f=void 0,f=Jc(b.length,5),e=0;e<f;e++)if(null.yf()){b=(b.length>=e+1&&b.splice(0,e+1),b);break a}d.g=b}b=a.g;d=0;for(b=b.length;d<b;++d);}}s(12,1,ba);_.Z=function(){return this.f};_.tS=function(){var a,b;return a=Gb(this.cZ),b=this.Z(),null!=b?a+": "+b:a};w(12);function Kc(a){this.f=a;Fc(this)}s(7,12,ca,Kc);w(7);function Lc(a){Kc.call(this,a)}s(9,7,da,Lc);w(9);function Mc(a){Kc.call(this,a)}
-s(570,9,da,Mc);w(570);function Cc(){this.a=ic()}s(169,1,{},Cc);_.a=0;w(169);s(278,9,da);w(278);function Oc(){Oc=m;Pc=new Jb}function Qc(a){Oc();this.f=this.e=null;this.a="";this.b=a;this.a=""}s(61,278,{61:1,3:1,7:1,9:1,12:1},Qc);_.Z=function(){var a;null==this.c&&(a=Yb(this.b)===Yb(Pc)?null:this.b,this.d=null==a?"null":Xb(a)?null==a?null:a.name:Lb(a)?"String":Gb(Hb(a)),this.a=this.a+": "+(Xb(a)?null==a?null:a.message:a+""),this.c="("+this.d+") "+this.a);return this.c};
-_.$=function(){return Yb(this.b)===Yb(Pc)?null:this.b};var Pc;w(61);function ic(){return Date.now?Date.now():(new Date).getTime()}s(527,1,{});w(527);function Rc(){Rc=m;Sc=$wnd}
-function Tc(a,b){var d=!1;function e(){a.onerror=a.onreadystatechange=a.onload=null;if(d){var b=a;Rc();b.parentNode.removeChild(b)}}Rc();a.onload=B(function(){e();b&&b.Y(null)});a.onerror=B(function(){e();if(b){var a=new Mc("onerror() called.");b.X(a)}});a.onreadystatechange=B(function(){/loaded|complete/.test(a.readyState)&&a.onload()})}function Uc(){Rc();return window}function Vc(a){Rc();return a.createElement("script")}var Sc;function Wc(a){var b=(G(),Xc);a.c=b;return a}
-function Yc(a){this.b=a}s(324,1,{},Yc);_.a=!0;w(324);function Zc(a){this.b=a}s(325,1,{},Zc);w(325);function Rb(a){return a.$H||(a.$H=++$c)}function ad(a){$wnd.setTimeout(function(){throw a;},0)}function bd(){0!=cd&&(cd=0);dd=-1}var cd=0,$c=0,ed=0,dd=-1;function fd(){fd=m;gd=new hd}function id(a){a.j||(a.j=!0,!a.f&&(a.f=new jd(a)),kd(a.f,1),!a.i&&(a.i=new ld(a)),kd(a.i,50))}function md(a,b){a.d=nd(a.d,[b,!1])}function od(a){return a._()}function nd(a,b){!a&&(a=[]);a[a.length]=b;return a}
-function pd(a,b){var d,e,f;e=0;for(f=a.length;e<f;e++){d=a[e];try{d[1]?d[0]._()&&(b=nd(b,d)):d[0].ab()}catch(g){if(g=H(g),u(g,12))d=g,ad(u(d,61)?d.$():d);else throw I(g);}}return b}function kd(a,b){function d(){B(od)(a)&&$wnd.setTimeout(d,b)}fd();$wnd.setTimeout(d,b)}s(408,527,{});_.e=!1;_.j=!1;var gd;w(408);function jd(a){this.a=a}s(409,1,{},jd);
-_._=function(){this.a.e=!0;var a=this.a,b;a.b&&(b=a.b,a.b=null,!a.g&&(a.g=[]),pd(b,a.g));if(a.g){b=a.g;var d,e,f,g,l,n;l=b.length;if(0==l)b=null;else{d=!1;for(e=new Cc;16>ic()-e.a;){f=!1;for(g=0;g<l;g++)if(n=b[g])f=!0,n[0]._()||(b[g]=null,d=!0);if(!f)break}if(d){d=[];for(g=0;g<l;g++)b[g]&&(d[d.length]=b[g]);b=0==d.length?null:d}}a.g=b}this.a.e=!1;a=this.a;return this.a.j=!!a.b||!!a.g};w(409);function ld(a){this.a=a}s(410,1,{},ld);_._=function(){this.a.e&&kd(this.a.f,1);return this.a.j};w(410);
-function Gc(){Gc=m}function qd(a,b){if(!a)throw new D(""+b);}function J(a){if(!a)throw new rd;}function sd(a,b){if(0>a||a>=b)throw new td("Index: "+a+", Size: "+b);}function ud(a){if(null==a)throw new vd;}function wd(a,b){if(0>a||a>b)throw new td("Index: "+a+", Size: "+b);}function xd(a){if(!a)throw new yd;}
-function zd(a){var b,d,e,f,g;b="Enum constant undefined: %s";d=new Ad;for(e=g=0;e<a.length;){f=b.indexOf("%s",g);if(-1==f)break;Bd(d,b.substr(g,f-g));Bd(d,a[e++]);g=f+2}Bd(d,b.substr(g,b.length-g));if(e<a.length){d.a+=" [";for(Bd(d,a[e++]);e<a.length;)d.a+=", ",Bd(d,a[e++]);d.a+="]"}return d.a}function Cd(a){return Dd((K(),a))}function Ed(a,b){return(K(),L).rb(a,b)}function Fd(a){var b;(b=Dd((K(),a)))&&b.removeChild(a)}
-function Gd(a,b){var d;b=Hd(b);d=a.className||"";-1==Id(d,b)&&(0<d.length?M(a,d+" "+b):M(a,b))}function Jd(a){return(K(),L).fb(a)}function Kd(a){return(K(),L).gb(a)}function Ld(a,b){return(K(),a).getAttribute(b)||""}function Md(a){return Nd((K(),a))}function Od(a){return(K(),a).innerHTML}function Pd(a,b){return parseInt(a[b])|0}function Qd(a,b){return null==a[b]?null:String(a[b])}function Rd(a){return(K(),L).lb(a)}function Sd(a){return(K(),L).mb(a)}
-function Td(a,b){var d,e,f,g;b=Hd(b);g=a.className||"";e=Id(g,b);-1!=e&&(d=Ud(g.substr(0,e)),e=Ud(Vd(g,e+b.length)),0==d.length?f=e:0==e.length?f=d:f=d+" "+e,M(a,f))}function M(a,b){a.className=b||""}function Id(a,b){var d,e,f;for(d=a.indexOf(b);-1!=d;){if(0==d||32==a.charCodeAt(d-1))if(e=d+b.length,f=a.length,e==f||e<f&&32==a.charCodeAt(e))break;d=a.indexOf(b,d+1)}return d}function Wd(a){var b;try{b=!!a&&!!a.nodeType}catch(d){b=!1}return b?!!a&&1==a.nodeType:!1}function Hd(a){return a=Ud(a)}
-function K(){K=m;L=vb()}function Nd(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Xd(a){for(a=a.nextSibling;a&&1!=a.nodeType;)a=a.nextSibling;return a}function Dd(a){(a=a.parentNode)&&1==a.nodeType||(a=null);return a}function Yd(a){for(a=a.previousSibling;a&&1!=a.nodeType;)a=a.previousSibling;return a}function Zd(a){K();return a|0}s(558,1,{});_.bb=function(a,b){var d=a.createElement("BUTTON");d.type=b;return d};
-_.cb=function(a,b){var d;d=a.createElement("script");d.text=b;return d};_.db=function(a){return a.currentTarget};_.fb=function(a){for(var b=0,d=a;d.offsetParent;)b-=d.scrollLeft,d=d.parentNode;for(;a;)b+=a.offsetLeft,a=a.offsetParent;return Zd(b)};_.gb=function(a){for(var b=0,d=a;d.offsetParent;)b-=d.scrollTop,d=d.parentNode;for(;a;)b+=a.offsetTop,a=a.offsetParent;return Zd(b)};_.hb=function(){return 0};_.ib=function(){return 0};_.jb=function(a,b){return a[b]};
-_.kb=function(a){return Rd("CSS1Compat"===a.compatMode?a.documentElement:a.body)};_.lb=function(a){return Zd(a.scrollLeft||0)};_.mb=function(a){return a.tabIndex};_.nb=function(a,b){a.scrollLeft=b};_.ob=function(a){return a.outerHTML};var L;w(558);s(559,558,{});_.pb=function(a){return a.relatedTarget};_.qb=function(a){return a.target};_.rb=function(a,b){return a.contains(b)};w(559);function $d(a){return"rtl"==a.ownerDocument.defaultView.getComputedStyle(a,"").direction}s(560,559,{});
-_.bb=function(a,b){var d=a.createElement("BUTTON");d.setAttribute("type",b);return d};_.cb=function(a,b){var d;d=a.createElement("script");(K(),d).textContent=b||"";return d};_.db=function(a){return a.currentTarget||$wnd};_.eb=function(a){return Math.round(-a.wheelDelta/40)||0};
-_.fb=function(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.left+Rd(a.ownerDocument.body);else if(null==a.offsetLeft)a=0;else{b=0;var d=a.ownerDocument,e=a.parentNode;if(e)for(;e.offsetParent;)b-=e.scrollLeft,"rtl"==d.defaultView.getComputedStyle(e,"").getPropertyValue("direction")&&(b+=e.scrollWidth-e.clientWidth),e=e.parentNode;for(;a;){b+=a.offsetLeft;if("fixed"==d.defaultView.getComputedStyle(a,"").position){b+=d.body.scrollLeft;break}(e=a.offsetParent)&&$wnd.devicePixelRatio&&
-(b+=parseInt(d.defaultView.getComputedStyle(e,"").getPropertyValue("border-left-width")));if(e&&"BODY"==e.tagName&&"absolute"==a.style.position)break;a=e}a=b}return Zd(a)};
-_.gb=function(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.top+((a.ownerDocument.body.scrollTop||0)|0);else if(null==a.offsetTop)a=0;else{b=0;var d=a.ownerDocument,e=a.parentNode;if(e)for(;e.offsetParent;)b-=e.scrollTop,e=e.parentNode;for(;a;){b+=a.offsetTop;if("fixed"==d.defaultView.getComputedStyle(a,"").position){b+=d.body.scrollTop;break}(e=a.offsetParent)&&$wnd.devicePixelRatio&&(b+=parseInt(d.defaultView.getComputedStyle(e,"").getPropertyValue("border-top-width")));if(e&&
-"BODY"==e.tagName&&"absolute"==a.style.position)break;a=e}a=b}return Zd(a)};_.kb=function(a){return a.documentElement.scrollLeft||a.body.scrollLeft};_.lb=function(a){return!ae("body",(K(),a).tagName)&&$d(a)?Zd(a.scrollLeft||0)-(((a.scrollWidth||0)|0)-(a.clientWidth|0)):Zd(a.scrollLeft||0)};_.mb=function(a){return"undefined"!=typeof a.tabIndex?a.tabIndex:-1};_.nb=function(a,b){!ae("body",(K(),a).tagName)&&$d(a)&&(b+=((a.scrollWidth||0)|0)-(a.clientWidth|0));a.scrollLeft=b};w(560);
-function xb(){K()}s(399,560,{},xb);_.fb=function(a){var b;try{b=a.getBoundingClientRect().left}catch(d){b=0}b+=$wnd.pageXOffset;$d(a)&&(a=a.offsetParent,b+=a?a.offsetWidth-a.clientWidth:0);return Zd(b)};_.gb=function(a){var b;try{b=a.getBoundingClientRect().top}catch(d){b=0}return Zd(b+$wnd.pageYOffset)};_.jb=function(a,b){return"number"==typeof a[b]?""+a[b]:a[b]};_.kb=function(){return Zd($wnd.pageXOffset)};_.lb=function(a){var b;b=Zd(a.scrollLeft||0);$d(a)&&(b=-b);return b};
-_.mb=function(a){return a.tabIndex<ea?a.tabIndex:-(a.tabIndex%ea)-1};_.rb=function(a,b){var d;a:if(d=b,1!=a.nodeType&&9!=a.nodeType)d=a==d;else{if(1!=d.nodeType&&(d=d.parentNode,!d)){d=!1;break a}d=9==a.nodeType?a===d||a.body&&a.body.contains(d):a===d||a.contains(d)}return d};_.nb=function(a,b){$d(a)&&(b=-b);a.scrollLeft=b};w(399);function yb(){K()}
-function be(){var a;a=(a=/rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase()))&&3<=a.length?1E6*parseInt(a[1])+1E3*parseInt(a[2])+parseInt(5<=a.length&&!isNaN(a[4])?a[4]:0):-1;return-1!=a&&1009E3<=a}s(398,559,{},yb);_.eb=function(a){return a.detail||0};_.pb=function(a){return(a=a.relatedTarget)?a:null};
-_.fb=function(a){var b=ce(a.ownerDocument);Element.prototype.getBoundingClientRect?a=a.getBoundingClientRect().left+b.scrollLeft|0:(b=a.ownerDocument,a=b.getBoxObjectFor(a).screenX-b.getBoxObjectFor(b.documentElement).screenX);return a};_.gb=function(a){var b=ce(a.ownerDocument);Element.prototype.getBoundingClientRect?a=a.getBoundingClientRect().top+b.scrollTop|0:(b=a.ownerDocument,a=b.getBoxObjectFor(a).screenY-b.getBoxObjectFor(b.documentElement).screenY);return a};
-_.hb=function(a){a=$wnd.getComputedStyle(a.documentElement,null);return null==a?0:parseInt(a.marginLeft,10)+parseInt(a.borderLeftWidth,10)};_.ib=function(a){a=$wnd.getComputedStyle(a.documentElement,null);return null==a?0:parseInt(a.marginTop,10)+parseInt(a.borderTopWidth,10)};_.lb=function(a){return be()||"rtl"!=a.ownerDocument.defaultView.getComputedStyle(a,null).direction?Zd(a.scrollLeft||0):Zd(a.scrollLeft||0)-(((a.scrollWidth||0)|0)-(a.clientWidth|0))};
-_.rb=function(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)};_.nb=function(a,b){!be()&&"rtl"==a.ownerDocument.defaultView.getComputedStyle(a,null).direction&&(b+=((a.scrollWidth||0)|0)-(a.clientWidth|0));a.scrollLeft=b};_.ob=function(a){var b=a.ownerDocument;a=a.cloneNode(!0);b=b.createElement("DIV");b.appendChild(a);outer=b.innerHTML;a.innerHTML="";return outer};w(398);function wb(){K()}s(397,560,{},wb);_.qb=function(a){(a=a.target)&&3==a.nodeType&&(a=a.parentNode);return a};w(397);
-function de(){var a=$doc,b;return b=(K(),a).createElement("INPUT"),b.type="checkbox",b.value="on",b}function N(){var a=$doc;return(K(),a).createElement("div")}function ee(){var a=$doc;return(K(),a).createElement("tr")}function fe(){var a=$doc;return(K(),L).hb(a)}function ge(){var a=$doc;return(K(),L).ib(a)}function he(){var a=$doc;return("CSS1Compat"===a.compatMode?a.documentElement:a.body).clientHeight|0}
-function ie(){var a=$doc;return("CSS1Compat"===a.compatMode?a.documentElement:a.body).clientWidth|0}function ce(a){return"CSS1Compat"===a.compatMode?a.documentElement:a.body}function je(a){return(K(),L).qb(a)}function ke(a){return(K(),a).keyCode|0}function le(a){return(K(),a).touches}function me(a,b){return(K(),a)[b]}function O(a,b){this.a=a;this.b=b}function ne(a){var b,d,e,f;b={};e=0;for(f=a.length;e<f;++e)d=a[e],b[":"+(null!=d.a?d.a:""+d.b)]=d;return b}
-function oe(a,b){var d;ud(b);d=a[":"+b];var e=P(y(z,1),h,1,3,[b]);if(!d)throw new D(zd(e));return d}s(4,1,{3:1,5:1,4:1});_.eQ=Tb;_.hC=Ub;_.tS=function(){return null!=this.a?this.a:""+this.b};_.b=0;w(4);function pe(){pe=m;qe=new re;se=new te;ue=new ve;we=new xe;ye=new ze}s(40,4,fa);var ue,se,we,qe,ye,Ae=x(40,function(){pe();return P(y(Ae,1),h,40,0,[qe,se,ue,we,ye])});function re(){O.call(this,"NONE",0)}s(341,40,fa,re);x(341,null);function te(){O.call(this,"DOTTED",1)}s(342,40,fa,te);x(342,null);
-function ve(){O.call(this,"DASHED",2)}s(343,40,fa,ve);x(343,null);function xe(){O.call(this,"HIDDEN",3)}s(344,40,fa,xe);x(344,null);function ze(){O.call(this,"SOLID",4)}s(345,40,fa,ze);x(345,null);function Be(){Be=m;Ce=new De;Ee=new Fe;Ge=new He;Ie=new Je;Ke=new Le;Me=new Ne;Oe=new Pe;Qe=new Re;Se=new Te;Ue=new Ve;We=new Xe;Ye=new Ze;$e=new af;bf=new cf;df=new ef;ff=new gf;hf=new jf}s(14,4,ga);
-var Ee,hf,Ge,Ie,Ke,Me,Ce,Oe,Qe,Se,bf,df,Ue,Ye,We,ff,$e,kf=x(14,function(){Be();return P(y(kf,1),h,14,0,[Ce,Ee,Ge,Ie,Ke,Me,Oe,Qe,Se,Ue,We,Ye,$e,bf,df,ff,hf])});function De(){O.call(this,"NONE",0)}s(346,14,ga,De);x(346,null);function Ve(){O.call(this,"TABLE_COLUMN_GROUP",9)}s(355,14,ga,Ve);x(355,null);function Xe(){O.call(this,"TABLE_HEADER_GROUP",10)}s(356,14,ga,Xe);x(356,null);function Ze(){O.call(this,"TABLE_FOOTER_GROUP",11)}s(357,14,ga,Ze);x(357,null);
-function af(){O.call(this,"TABLE_ROW_GROUP",12)}s(358,14,ga,af);x(358,null);function cf(){O.call(this,"TABLE_CELL",13)}s(359,14,ga,cf);x(359,null);function ef(){O.call(this,"TABLE_COLUMN",14)}s(360,14,ga,ef);x(360,null);function gf(){O.call(this,"TABLE_ROW",15)}s(361,14,ga,gf);x(361,null);function jf(){O.call(this,"INITIAL",16)}s(362,14,ga,jf);x(362,null);function Fe(){O.call(this,"BLOCK",1)}s(347,14,ga,Fe);x(347,null);function He(){O.call(this,"INLINE",2)}s(348,14,ga,He);x(348,null);
-function Je(){O.call(this,"INLINE_BLOCK",3)}s(349,14,ga,Je);x(349,null);function Le(){O.call(this,"INLINE_TABLE",4)}s(350,14,ga,Le);x(350,null);function Ne(){O.call(this,"LIST_ITEM",5)}s(351,14,ga,Ne);x(351,null);function Pe(){O.call(this,"RUN_IN",6)}s(352,14,ga,Pe);x(352,null);function Re(){O.call(this,"TABLE",7)}s(353,14,ga,Re);x(353,null);function Te(){O.call(this,"TABLE_CAPTION",8)}s(354,14,ga,Te);x(354,null);function lf(){lf=m;mf=new nf;of=new pf;qf=new rf;sf=new tf}s(49,4,ha);
-var sf,of,qf,mf,uf=x(49,function(){lf();return P(y(uf,1),h,49,0,[mf,of,qf,sf])});function nf(){O.call(this,"VISIBLE",0)}s(363,49,ha,nf);x(363,null);function pf(){O.call(this,"HIDDEN",1)}s(364,49,ha,pf);x(364,null);function rf(){O.call(this,"SCROLL",2)}s(365,49,ha,rf);x(365,null);function tf(){O.call(this,"AUTO",3)}s(366,49,ha,tf);x(366,null);function vf(){vf=m;wf=new xf;yf=new zf;Af=new Bf;Cf=new Df}s(50,4,ia);var Af,Cf,yf,wf,Ef=x(50,function(){vf();return P(y(Ef,1),h,50,0,[wf,yf,Af,Cf])});
-function xf(){O.call(this,"STATIC",0)}s(367,50,ia,xf);x(367,null);function zf(){O.call(this,"RELATIVE",1)}s(368,50,ia,zf);x(368,null);function Bf(){O.call(this,"ABSOLUTE",2)}s(369,50,ia,Bf);x(369,null);function Df(){O.call(this,"FIXED",3)}s(370,50,ia,Df);x(370,null);function Ff(){Ff=m;Gf=new Hf;If=new Jf;Kf=new Lf;Mf=new Nf}s(51,4,ja);var Gf,If,Kf,Mf,Of=x(51,function(){Ff();return P(y(Of,1),h,51,0,[Gf,If,Kf,Mf])});function Hf(){O.call(this,"CENTER",0)}s(371,51,ja,Hf);x(371,null);
-function Jf(){O.call(this,"JUSTIFY",1)}s(372,51,ja,Jf);x(372,null);function Lf(){O.call(this,"LEFT",2)}s(373,51,ja,Lf);x(373,null);function Nf(){O.call(this,"RIGHT",3)}s(374,51,ja,Nf);x(374,null);function Q(){Q=m;Pf=new Qf;Rf=new Sf;Tf=new Uf;Vf=new Wf;Xf=new Yf;Zf=new $f;ag=new bg;cg=new dg;eg=new fg}s(27,4,ka);var cg,Tf,Vf,ag,eg,Zf,Rf,Xf,Pf,gg=x(27,function(){Q();return P(y(gg,1),h,27,0,[Pf,Rf,Tf,Vf,Xf,Zf,ag,cg,eg])});function Qf(){O.call(this,"PX",0)}s(332,27,ka,Qf);x(332,null);
-function Sf(){O.call(this,"PCT",1)}s(333,27,ka,Sf);x(333,null);function Uf(){O.call(this,"EM",2)}s(334,27,ka,Uf);x(334,null);function Wf(){O.call(this,"EX",3)}s(335,27,ka,Wf);x(335,null);function Yf(){O.call(this,"PT",4)}s(336,27,ka,Yf);x(336,null);function $f(){O.call(this,"PC",5)}s(337,27,ka,$f);x(337,null);function bg(){O.call(this,"IN",6)}s(338,27,ka,bg);x(338,null);function dg(){O.call(this,"CM",7)}s(339,27,ka,dg);x(339,null);function fg(){O.call(this,"MM",8)}s(340,27,ka,fg);x(340,null);
-function hg(){hg=m;ig=new jg;kg=new lg}s(71,4,la);var kg,ig,mg=x(71,function(){hg();return P(y(mg,1),h,71,0,[ig,kg])});function jg(){O.call(this,"VISIBLE",0)}s(375,71,la,jg);x(375,null);function lg(){O.call(this,"HIDDEN",1)}s(376,71,la,lg);x(376,null);function ng(){ng=m;og=new pg;qg=new rg;sg=new tg;ug=new vg;wg=new xg}s(41,4,ma);var og,qg,sg,ug,wg,yg=x(41,function(){ng();return P(y(yg,1),h,41,0,[og,qg,sg,ug,wg])});function pg(){O.call(this,"NORMAL",0)}s(377,41,ma,pg);x(377,null);
-function rg(){O.call(this,"NOWRAP",1)}s(378,41,ma,rg);x(378,null);function tg(){O.call(this,"PRE",2)}s(379,41,ma,tg);x(379,null);function vg(){O.call(this,"PRE_LINE",3)}s(380,41,ma,vg);x(380,null);function xg(){O.call(this,"PRE_WRAP",4)}s(381,41,ma,xg);x(381,null);function zg(a){return Zd((K(),a).clientX||0)}s(541,1,{});_.tS=function(){return"An event type"};w(541);s(542,541,{});_.ub=Ag;_.vb=function(){this.f=!1;this.g=null};_.f=!1;w(542);s(546,542,{});_.tb=function(){return this.wb()};var Bg;w(546);
-s(548,546,{});w(548);s(549,548,{});w(549);function Cg(){Cg=m;Dg=new Eg("click",new Fg)}function Fg(){}s(450,549,{},Fg);_.sb=function(a){a.xb(this)};_.wb=function(){return Dg};var Dg;w(450);s(186,1,{});_.hC=Gg;_.tS=function(){return"Event type"};var Hg=_.c=0;w(186);function Ig(){this.c=++Hg}s(30,186,{},Ig);w(30);function Eg(a,b){var d;this.c=++Hg;this.a=b;!Bg&&(Bg=new Jg);d=Bg.a[a];d||(d=new C,Bg.a[a]=d);d.Ne(this);this.b=a}s(101,30,{},Eg);w(101);s(547,546,{});w(547);function Jg(){this.a={}}
-s(434,1,{},Jg);w(434);function Kg(){}function Lg(a){var b;Mg&&(b=new Kg,a.M&&Ng(a.M,b))}s(185,542,{},Kg);_.sb=function(a){a.yb(this)};_.tb=function(){return Mg};var Mg;w(185);function Og(){}function Pg(a){var b;Qg&&(b=new Og,a.Bb(b))}s(475,542,{},Og);_.sb=function(a){a.zb(this)};_.tb=function(){return Qg};var Qg;w(475);function Rg(){}s(501,542,{},Rg);_.sb=function(){Sg()};_.tb=function(){return Tg};var Tg;w(501);function Ug(a){this.a=a}function Vg(a,b){var d;Wg&&(d=new Ug(b),a.Bb(d))}
-s(226,542,{},Ug);_.sb=function(a){a.Ab(this)};_.tb=function(){return Wg};var Wg;w(226);function Xg(a,b,d){a=a.a;if(!b)throw new Yg("Cannot add a handler with a null type");if(!d)throw new Yg("Cannot add a null handler");if(0<a.b){var e=new Zg(a,b,d);!a.a&&(a.a=new C);vc(a.a,e)}else $g(a,b,null,d);return new ah(new bh(a,b,d))}
-function Ng(a,b){var d;!b.f||b.vb();d=b.ub();b.g=a.b;try{var e=a.a,f,g,l,n,p;if(!b)throw new Yg("Cannot fire null event");try{++e.b;var r=b.tb();n=ch(e,r,null);f=null;for(p=e.c?n.ef(n.jd()):n.df();e.c?p.gf():p.Tc();){l=e.c?p.hf():p.Uc();try{b.sb(l)}catch(q){if(q=H(q),u(q,12))g=q,!f&&(f=new dh),eh(f,g);else throw I(q);}}if(f)throw new fh(f);}finally{if(--e.b,0==e.b){var t,A;if(e.a)try{for(A=new gh(e.a);A.b<A.d.jd();)t=(J(A.b<A.d.jd()),A.d.bf(A.c=A.b++)),t.ab()}finally{e.a=null}}}}catch(E){E=H(E);if(u(E,
-72))throw d=E,new hh(d.a);throw I(E);}finally{null==d?(b.f=!0,b.g=null):b.g=d}}function ih(a){jh.call(this,a,!1)}function jh(a,b){this.a=new kh(b);this.b=a}s(48,1,{21:1},ih,jh);_.Bb=function(a){Ng(this,a)};w(48);s(557,1,{});w(557);function $g(a,b,d,e){var f;f=a.d.We(b);f||(f=new lh,a.d.Xe(b,f));a=f.We(d);a||(a=new C,f.Xe(d,a));a.Ne(e)}function mh(a,b,d,e){var f,g;f=ch(a,b,d);f.Re(e)&&f.Qe()&&(g=a.d.We(b),g.Ye(d),g.Qe()&&a.d.Ye(b))}
-function ch(a,b,d){a=a.d.We(b);return a?(d=a.We(d))?d:(R(),R(),nh):(R(),R(),nh)}s(310,557,{});_.b=0;_.c=!1;w(310);function kh(a){this.d=new lh;this.c=a}s(311,310,{},kh);w(311);function ah(a){this.a=a}s(428,1,{},ah);w(428);function fh(a){var b;var d,e,f;b=a.jd();if(0==b)b=null;else{b=new oh(1==b?"Exception caught: ":b+" exceptions caught: ");d=!0;for(f=a.Cc();f.Tc();)e=f.Uc(),d?d=!1:b.a+="; ",Bd(b,e.Z());b=b.a}d=a.Cc();this.e=d=d.Tc()?d.Uc():null;this.f=b;Fc(this);this.a=a}s(72,9,na,fh);w(72);
-function hh(a){fh.call(this,a)}s(161,72,na,hh);w(161);function ph(a,b,d){this.c=new qh(this);if(!a)throw new vd;if(!d)throw new vd;if(0>b)throw new rh;this.a=d;this.b=b;this.d=a;0<b&&wc(this.c,b)}s(561,1,{},ph);_.Cb=function(a){var b;if(this.d){xc(this.c);b=this.d;this.d=null;b=new sh(b);var d,e;d=b.a.status;0>=d||400<=d?(e=0>=d?"Bad CORS":b.a.statusText,b=new th("HTTP ERROR: "+d+" "+e+"\n"+b.a.responseText),uh(a.c,P(y(z,1),h,1,3,[b,this]))):vh(a.c,P(y(z,1),h,1,3,[b,this]))}};_.b=0;var wh=w(561);
-function qh(a){this.a=a}s(504,38,{},qh);_.W=function(){var a=this.a;if(a.d){var b;a.d&&(xc(a.c),b=a.d,a.d=null,xh(b),b.abort());b=new yh(a.b);uh(a.a.c,P(y(z,1),h,1,3,[b,a]))}};w(504);function th(a){Kc.call(this,a)}s(95,7,ca,th);w(95);function zh(a){Kc.call(this,"The URL "+a+" is invalid or violates the same-origin security restriction")}s(518,95,ca,zh);w(518);function yh(a){Kc.call(this,"A request timeout has expired after "+a+" ms")}s(523,95,ca,yh);w(523);s(569,1,{});w(569);
-function sh(a){this.a=a}s(505,569,{},sh);w(505);function Ah(a){a=Qd(a,"dir");return ae("rtl",a)?(Bh(),Ch):ae("ltr",a)?(Bh(),Dh):(Bh(),Eh)}function Bh(){Bh=m;Ch=new Fh("RTL",0);Dh=new Fh("LTR",1);Eh=new Fh("DEFAULT",2)}function Fh(a,b){O.call(this,a,b)}s(82,4,{82:1,3:1,5:1,4:1},Fh);var Eh,Dh,Ch,Gh=x(82,function(){Bh();return P(y(Gh,1),h,82,0,[Ch,Dh,Eh])});function Hh(){Hh=m;Ih=new Jh}function Jh(){}s(315,1,{},Jh);var Ih;w(315);function Kh(){Kh=m;var a=(Hh(),Hh(),Ih);!a.a&&(a.a=new Nh)}
-function Oh(a,b,d,e,f){var g,l,n,p;Ph(e,0,e.a.length);l=!1;n=b.length;for(p=d;p<n;++p)if(g=b.charCodeAt(p),39==g)p+1<n&&39==b.charCodeAt(p+1)?(++p,e.a+="'"):l=!l;else if(l)e.a+=String.fromCharCode(g);else switch(g){case 35:case 48:case 44:case 46:case 59:return p-d;case 164:a.g=!0;p+1<n&&164==b.charCodeAt(p+1)?(++p,p<n-2&&164==b.charCodeAt(p+1)&&164==b.charCodeAt(p+2)?(p+=2,g=a.a,Bd(e,g[4]||g[1])):Bd(e,a.a[0])):Bd(e,a.a[1]);break;case 37:if(!f){if(1!=a.p)throw new D('Too many percent/per mille characters in pattern "'+
-b+'"');a.p=100}e.a+="%";break;case 8240:if(!f){if(1!=a.p)throw new D('Too many percent/per mille characters in pattern "'+b+'"');a.p=1E3}e.a+="\u2030";break;case 45:e.a+="-";break;default:e.a+=String.fromCharCode(g)}return n-d}
-function Qh(a,b,d,e){var f,g,l,n,p,r,q,t,A;g=-1;n=t=l=0;p=-1;r=b.length;A=d;for(q=!0;A<r&&q;++A)switch(f=b.charCodeAt(A),f){case 35:0<t?++n:++l;0<=p&&0>g&&++p;break;case 48:if(0<n)throw new D("Unexpected '0' in pattern \""+b+'"');++t;0<=p&&0>g&&++p;break;case 44:p=0;break;case 46:if(0<=g)throw new D('Multiple decimal separators in pattern "'+b+'"');g=l+t+n;break;case 69:if(!e){if(a.v)throw new D('Multiple exponential symbols in pattern "'+b+'"');a.v=!0;a.k=0}for(;A+1<r&&48==b.charCodeAt(A+1);)++A,
-e||++a.k;if(!e&&1>l+t||1>a.k)throw new D('Malformed exponential pattern "'+b+'"');q=!1;break;default:--A,q=!1}0==t&&0<l&&0<=g&&(t=g,0==g&&++t,n=l-t,l=t-1,t=1);if(0>g&&0<n||0<=g&&(g<l||g>l+t)||0==p)throw new D('Malformed pattern "'+b+'"');if(e)return A-d;b=l+t+n;a.i=0<=g?b-g:0;0<=g&&(a.n=l+t-g,0>a.n&&(a.n=0));a.o=(0<=g?g:b)-l;a.v&&(a.j=l+a.o,0==a.i&&0==a.o&&(a.o=1));a.f=0<p?p:0;a.c=0==g||g==b;return A-d}
-function Rh(a,b,d){var e,f;for(e=!0;e&&0<=d;)if(f=b.a.charCodeAt(d),57==f){f=d--;var g=b,l=f+1,n=String.fromCharCode(48);g.a=g.a.substr(0,f)+n+Vd(g.a,l)}else e=b,g=d+1,f=String.fromCharCode(f+1&ea),e.a=e.a.substr(0,d)+f+Vd(e.a,g),e=!1;e&&(b.a=b.a.substr(0,0)+"1"+Vd(b.a,0),++a.b,++a.d)}
-function Sh(a){Kh();if(!a)throw new D("Unknown currency code");this.s="\u00a4#,##0.00";this.a=a;a=this.s;var b,d;b=new Th;d=0+Oh(this,a,0,b,!1);this.t=b.a;d+=Qh(this,a,d,!1);d+=Oh(this,a,d,b,!1);this.u=b.a;d<a.length&&59==a.charCodeAt(d)?(++d,d+=Oh(this,a,d,b,!0),this.q=b.a,d+=Qh(this,a,d,!0),Oh(this,a,d,b,!0),this.r=b.a):(this.q="-"+this.t,this.r=this.u);this.g&&(this.i=this.n=this.a[2]&7)}s(142,1,{},Sh);_.b=0;_.c=!1;_.d=0;_.e=0;_.f=3;_.g=!1;_.i=3;_.j=40;_.k=0;_.n=0;_.o=1;_.p=1;_.q="-";_.r="";
-_.t="";_.u="";_.v=!1;var Uh;w(142);function Nh(){}s(448,1,{},Nh);w(448);function Vh(){Vh=m;$wnd.__gwt_jsonp__||($wnd.__gwt_jsonp__={},$wnd.__gwt_jsonp__.__gwt_jsonp_counter__=0);Wh=$wnd.__gwt_jsonp__}function Xh(a,b){xc(a.i);try{a.a&&a.a.jc(b)}finally{Yh((fd(),gd),new Zh(a))}}
-function $h(a,b){var d=Wh,e={};e.onSuccess=B(function(b){"boolean"==typeof b?b=new ai(b):"number"==typeof b&&(a.e?b=new bi(b):b=new T(b));a.Eb(b)});a.f&&(e.onFailure=B(function(b){a.Db(b)}));if(b){var f=d[a.b];f||(f={callbackList:[],onSuccess:function(a){for(;0<f.callbackList.length;)f.callbackList.shift().onSuccess(a)},onFailure:function(a){for(;0<f.callbackList.length;)f.callbackList.shift().onFailure(a)}},d[a.b]=f);f.callbackList.push(e)}else d[a.b]=e}
-function ci(a,b,d,e){Vh();this.b="P"+$wnd.__gwt_jsonp__.__gwt_jsonp_counter__++;this.a=a;this.g=b;this.e=d;this.c=e;this.f=null;this.d=!1}s(520,1,{},ci);_.Db=function(a){Xh(this,new Kc(a))};_.Eb=function(a){xc(this.i);try{this.a&&this.a.Y(a)}finally{Yh((fd(),gd),new Zh(this))}};_.tS=function(){return"JsonpRequest(id\x3d"+this.b+")"};_.d=!1;_.e=!1;_.g=0;var Wh;w(520);function di(a,b){this.a=a;this.b=b}s(521,38,{},di);_.W=function(){Xh(this.a,new ei("Timeout while calling "+this.b))};w(521);
-function Zh(a){this.a=a}s(175,1,{},Zh);_.ab=function(){var a;this.a.d||(a=this.a,delete (Vh(),Wh)[a.b]);(a=$doc.getElementById(this.a.b))&&(Vh(),$doc.getElementsByTagName("head")[0]).removeChild(a)};w(175);function fi(){}s(519,1,{},fi);
-_.Fb=function(a,b){var d,e,f;d=new ci(b,this.b,!1,this.a);$h(d,d.d);e=new oh(a);Bd(e,-1!=a.indexOf("?")?"\x26":"?");f="__gwt_jsonp__."+d.b;Bd(Bd(Bd(Bd(e,d.c),"\x3d"),f),".onSuccess");f=$doc;f=(K(),f).createElement("script");f.type="text/javascript";f.id=d.b;f.src=e.a;d.i=new di(d,a);wc(d.i,d.g);$doc.getElementsByTagName("head")[0].appendChild(f)};_.a="callback";_.b=1E4;w(519);function ei(a){Kc.call(this,a)}s(522,7,ca,ei);w(522);
-function gi(a,b){var d;d=a.slice(0,b);P(Hb(a),a.cM,a.__elementTypeId$,a.__elementTypeCategory$,d);return d}function hi(a,b){var d;d=ii(0,b);P(Hb(a),a.cM,a.__elementTypeId$,a.__elementTypeCategory$,d);return d}function zc(a,b,d,e,f){e=ii(f,e);P(y(a,1),b,d,f,e);return e}function P(a,b,d,e,f){f.cZ=a;f.cM=b;f.tM=zb;f.__elementTypeId$=d;f.__elementTypeCategory$=e;return f}
-function ii(a,b){var d=Array(b),e;switch(a){case 6:e={l:0,m:0,h:0};break;case 7:e=0;break;case 8:e=!1;break;default:return d}for(var f=0;f<b;++f)d[f]=e;return d}function I(a){return u(a,61)&&Yb(a.b)!==Yb((Oc(),Pc))?Yb(a.b)===Yb(Pc)?null:a.b:a}function H(a){var b;if(u(a,12))return a;b=a&&a.__gwt$exception;if(!b&&(b=new Qc(a),Gc(),a&&"object"==typeof a))try{a.__gwt$exception=b}catch(d){}return b}function ji(a){return ki(a.l,a.m,a.h)}function ki(a,b,d){return{l:a,m:b,h:d}}
-function li(a,b){var d,e,f,g,l,n,p,r;if(0==b.l&&0==b.m&&0==b.h)throw new mi;if(0==a.l&&0==a.m&&0==a.h)return ni=ki(0,0,0),ki(0,0,0);if(b.h==qa&&0==b.m&&0==b.l)return r=a,r.h==qa&&0==r.m&&0==r.l?(ni=ki(0,0,0),r=ji((oi(),pi))):(ni=ki(r.l,r.m,r.h),r=ki(0,0,0)),r;r=!1;0!=b.h>>19&&(b=qi(b),r=!0);n=b.l;0!=(n&n-1)?p=-1:(l=b.m,0!=(l&l-1)?p=-1:(g=b.h,p=0!=(g&g-1)||0==g&&0==l&&0==n?-1:0==g&&0==l&&0!=n?ri(n):0==g&&0!=l&&0==n?ri(l)+22:0!=g&&0==l&&0==n?ri(g)+44:-1));g=l=n=!1;if(a.h==qa&&0==a.m&&0==a.l)if(n=l=
-!0,-1==p)a=ji((oi(),si)),g=!0,r=!r;else return g=ti(a,p),r&&ui(g),ni=ki(0,0,0),g;else 0!=a.h>>19&&(n=!0,a=qi(a),g=!0,r=!r);if(-1!=p){g=a;l=p;p=ti(g,l);r&&ui(p);var q;22>=l?(r=g.l&(1<<l)-1,q=g=0):44>=l?(r=g.l,q=g.m&(1<<l-22)-1,g=0):(r=g.l,q=g.m,g=g.h&(1<<l-44)-1);g=ki(r,q,g);n?ni=qi(g):ni=ki(g.l,g.m,g.h);return p}if(!vi(a,b))return n?ni=qi(a):ni=ki(a.l,a.m,a.h),ki(0,0,0);g=g?a:ki(a.l,a.m,a.h);var t;q=wi(b)-wi(g);e=q&63;22>e?(d=b.l<<e,p=b.m<<e|b.l>>22-e,f=b.h<<e|b.m>>22-e):44>e?(d=0,p=b.l<<e-22,f=b.m<<
-e-22|b.l>>44-e):(p=d=0,f=b.l<<e-44);d&=oa;e=p&oa;f&=pa;for(p=ki(0,0,0);0<=q;){t=g;var A=void 0,E=void 0,S=void 0,S=t.h-f;0>S?t=!1:(A=t.l-d,E=t.m-e+(A>>22),S+=E>>22,0>S?t=!1:(t.l=A&oa,t.m=E&oa,t.h=S&pa,t=!0));if(t&&(22>q?p.l|=1<<q:44>q?p.m|=1<<q-22:p.h|=1<<q-44,0==g.l&&0==g.m&&0==g.h))break;t=e;e=f;f=e>>>1;e=t>>>1|(e&1)<<21;d=d>>>1|(t&1)<<21;--q}r&&ui(p);n?(ni=qi(g),l&&(r=ni,g=(oi(),pi),n=r.l-g.l,l=r.m-g.m+(n>>22),ni={l:n&oa,m:l&oa,h:r.h-g.h+(l>>22)&pa})):ni=ki(g.l,g.m,g.h);return p}
-function ui(a){var b,d,e;b=~a.l+1&oa;d=~a.m+(0==b?1:0)&oa;e=~a.h+(0==b&&0==d?1:0)&pa;a.l=b;a.m=d;a.h=e}function wi(a){var b;b=xi(a.h);return 32==b?(b=xi(a.m),32==b?xi(a.l)+32:b+20-10):b-12}var ni;function yi(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}function Db(a){var b,d,e;if(isNaN(a))return oi(),zi;if(a<ua)return oi(),Ai;if(9223372036854775E3<=a)return oi(),si;e=!1;0>a&&(e=!0,a=-a);d=0;a>=ta&&(d=v(a/ta),a-=d*ta);b=0;a>=ra&&(b=v(a/ra),a-=b*ra);a=v(a);b=ki(a,b,d);e&&ui(b);return b}
-function Bi(a){var b,d;return-129<a&&128>a?(b=a+128,null==Ci&&(Ci=zc(Di,h,583,256,0)),d=Ci[b],!d&&(d=Ci[b]=ki(a&oa,a>>22&oa,0>a?pa:0)),d):ki(a&oa,a>>22&oa,0>a?pa:0)}function vi(a,b){var d,e;d=a.h>>19;e=b.h>>19;return 0==d?0!=e||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==e||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}function qi(a){var b,d;b=~a.l+1&oa;d=~a.m+(0==b?1:0)&oa;return ki(b,d,~a.h+(0==b&&0==d?1:0)&pa)}
-function ti(a,b){var d,e,f;b&=63;d=a.h;(e=0!=(d&qa))&&(d|=-1048576);22>b?(f=d>>b,e=a.m>>b|d<<22-b,d=a.l>>b|a.m<<22-b):44>b?(f=e?pa:0,e=d>>b-22,d=a.m>>b-22|d<<44-b):(f=e?pa:0,e=e?oa:0,d>>=b-44);return{l:d&oa,m:e&oa,h:f&pa}}function Ei(a){yi(a,(oi(),Ai))?a=ua:vi(a,zi)?a=a.l+a.m*ra+a.h*ta:(a=qi(a),a=-(a.l+a.m*ra+a.h*ta));return a}function Fi(a){return a.l|a.m<<22}
-function Gi(a){var b,d,e;if(0==a.l&&0==a.m&&0==a.h)return"0";if(a.h==qa&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return"-"+Gi(qi(a));for(d="";0!=a.l||0!=a.m||0!=a.h;){b=Bi(1E9);a=li(a,b);b=""+Fi(ni);if(0!=a.l||0!=a.m||0!=a.h)for(e=9-b.length;0<e;e--)b="0"+b;d=b+d}return d}var Ci;function oi(){oi=m;si=ki(oa,oa,524287);Ai=ki(0,0,qa);pi=Bi(1);Bi(2);zi=Bi(0)}var si,Ai,pi,zi;function Hi(){Hi=m}s(177,1,{},function(){});w(177);
-function Ii(){this.a=this.Gb();this.b=this.Hb();this.c=this.Ib();this.d=this.Jb();this.e=this.Kb();this.f=this.Lb();this.Mb();this.g=this.Mb()}s(114,1,{});_.a=!1;_.b=!1;_.c=!1;_.d=!1;_.e=!1;_.f=!1;_.g=!1;w(114);function ub(){Ii.call(this)}s(318,114,{},ub);_.Gb=Ji;_.Hb=Ji;_.Ib=Ji;_.Jb=Ki;_.Kb=Ji;_.Lb=Ji;_.Mb=Ji;_.tS=Li;w(318);function sb(){Ii.call(this)}s(316,114,{},sb);_.Gb=Ji;_.Hb=Ji;_.Ib=Ji;_.Jb=Ji;_.Kb=Ki;_.Lb=Ji;_.Mb=Ji;_.tS=Li;w(316);function tb(){Ii.call(this)}s(317,114,{},tb);_.Gb=Ji;
-_.Hb=Ji;_.Ib=Ji;_.Jb=Ji;_.Kb=Ji;_.Lb=Ji;_.Mb=Ki;_.tS=Li;w(317);function Mi(a,b){var d;(d=(a.g=b)?Ni(b):null)?(a.i=!0,Oi(a,d)):a.Nb()}function Oi(a,b){var d=(U(),b.O);a.g=d;a.i?(a.i=!1,a.Nb()):(d=b.O,a.g=d,Mi(a,d))}function Pi(a,b){a.f=b;a.Nb();return Qi(),Qi(),Ri}function Si(a,b,d){a=a.f;a=null!=a?0!=(Hb(a).e&4)?a:P(y(z,1),h,1,3,[a]):zc(z,h,1,0,3);b=a.length>b?a[b]:null;return null!=b&&(!d||Hb(b)==d||d==Pb&&Xb(b))?b:null}function Ti(a,b){a.f=b;return a}function Ui(){this.f=zc(z,h,1,0,3)}s(6,1,va);
-_.Nb=function(){throw new Lc("You have to override the adequate method to handle this action, or you have to override 'public void f()' to avoid this error");};_.Ob=function(a){return Pi(this,a)};_.Pb=function(a){this.Ob(P(y(z,1),h,1,3,[a]))};_.Qb=function(a){return this.Ob(a)};_.Rb=function(a){Ti(this,a)};_.g=null;_.i=!1;var Vi=w(6),Wi,V;function G(){G=m;Xi=rb();Yi=new Zi;$i=$doc;aj();bj();cj=/<([\w:-]+)/;dj=(ej(),fj);Xc=(Rc(),Sc)}function gj(a){a.c=zc(Pb,h,0,0,2);a.d=[]}
-function W(a){var b;G();var d,e;if(null!=a){if(Lb(a))return hj(a,$i);if(u(a,19))return a;if(u(a,6))return new ij(a.g);if(u(a,42))return new ij(a.Tb());if(u(a,22))return jj(new kj(P(y(z,1),h,1,3,[a])));if(Xb(a)){if(lj(a))return b=new mj(a),Pi(b,b.f),new nj(oj(null));if(!pj(a,"alert")&&!qj(a)&&rj(a)){b=a;a=oj(null);for(d=0;d<b.length;d++)(e=null!=b[d]?Object(b[d]):null)&&sj(a,e);return new nj(a)}if(b=Object.prototype.toString.call(a),"[object HTMLCollection]"==b||"[object NodeList]"==b||"object"==typeof a&&
-a.length&&a[0]&&a[0].tagName?!0:!1)return new tj(a);pj(a,"currentTarget")&&(a=(K(),L).db(a));return new ij(a)}uj(vj(P(y(z,1),h,1,3,["Error: GQuery.$(Object o) could not wrap the type : ",Gb(Hb(a)),a])))}return new nj(oj(null))}
-function hj(a,b){G();var d;d=null;if(null==a||0==(d=Ud(a)).length)d=new nj(oj(null));else if(wj(d.substr(0,1),"\x3c")){d=b&&qj(b)?9==b.nodeType?b:b.ownerDocument:null;var e,f,g,l;if(e=cj.exec(a)){e=e[1];xj||(f=new yj(1,"\x3ctable\x3e","\x3c/table\x3e"),g=new yj(1,'\x3cselect multiple\x3d"multiple"\x3e',"\x3c/select\x3e"),l=new yj(3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"),xj={},X(xj,"option",g),X(xj,"optgroup",g),g=new yj(1,"\x3cfieldset\x3e","\x3c/fieldset\x3e"),
-X(xj,"legend",g),X(xj,"thead",f),X(xj,"tbody",f),X(xj,"tfoot",f),X(xj,"colgroup",f),X(xj,"caption",f),f=new yj(2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"),X(xj,"tr",f),X(xj,"td",l),X(xj,"th",l),l=new yj(2,"\x3ctable\x3e\x3ctbody\x3e\x3c/tbody\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"),X(xj,"col",l),l=new yj(1,"\x3cmap\x3e","\x3c/map\x3e"),X(xj,"area",l));e=e.toLowerCase();e=zj(xj,e);!e&&(e=(Aj(),Bj));d=(K(),d).createElement("div");l=e.b+Ud(a)+e.a;d.innerHTML=l||"";
-for(e=e.c;0!=e--;)d=d.lastChild;d=Cj(W(d.childNodes),!1)}else d=W(d.createTextNode(a))}else d=new Dj,e=Ej((!Fj&&(Fj=new Gj),Fj),a,b?b:$i),d.b=a,d.a=b?b:$i,d=Hj(d,e);return d}function jj(a){G();var b,d;b=oj(null);for(d=a.Cc();d.Tc();)a=d.Uc(),Xb(a)?sj(b,a):u(a,22)&&sj(b,Ij(a.oc()));return new nj(b)}function Jj(a,b){var d;if(b==Kj)return a;if(Lj&&(d=Mj(Lj,Rb(b))))return d.gc(a);throw new Lc((Zb(b),"No plugin registered for class "+b.k));}function Nj(a,b){return 0==a.c.length?"":Ld(Oj(a,0),b)}
-function Pj(a){var b,d,e,f;f=oj(null);a=a.c;d=0;for(e=a.length;d<e;++d){b=a[d];b=Nd((K(),b));for(var g=f;b;)b&&Qj(g,P(y(Pb,1),h,0,2,[b])),b=Xd((K(),b))}return new nj(Rj(f))}function Sj(a){var b=P(y(Ob,1),h,2,4,["th"]);return Tj(Pj(a),b)}function Uj(a,b){var d,e,f;e=0;for(f=b.length;e<f;++e){d=b[e];try{Vj(),Vj(),Wj(a,d,null)}catch(g){if(g=H(g),u(g,7))d=g,Hc(d);else throw I(g);}}}function Xj(a,b){var d;d=Yj((!Fj&&(Fj=new Gj),a.d),b);return Zj(a,d,a.b)}
-function Tj(a,b){var d;d=ak(", ",b);var e=(!Fj&&(Fj=new Gj),Fj);var f=a.d,g=e.a,l,n,p,r,q,t,A,E;E=oj(null);if(d.length){p=null;A=new dh;n=new dh;r=0;for(q=f.length;r<q;r++)l=f[r],l==(G(),Xc)||l==$i||null==l.nodeName||ae("html",l.nodeName)||(eh(n,l),g?(t=Dd((K(),l)))?A.a.Ue(t)||eh(A,t):(p||(p=N(),eh(A,p)),t=p,t.appendChild(l)):0==A.a.jd()&&eh(A,$i));for(f=bk(new ck(A.a));f.a.Tc();)for(l=dk(f),q=Ej(e,d,l),g=0,r=q.length;g<r;g++)l=q[g],null!=n.a.Ye(l)&&Qj(E,P(y(Pb,1),h,0,2,[l]));p&&(p.innerHTML="")}return Zj(a,
-E,d)}function ek(a,b){var d,e,f,g,l,n,p,r,q,t,A;d=oj(null);t=0;for(A=b.length;t<A;++t)for(q=b[t],n=a.c,p=0,r=n.length;p<r;++p)for(e=n[p],f=hj(q,e).c,g=0,l=f.length;g<l;++g)e=f[g],Qj(d,P(y(Pb,1),h,0,2,[e]));return Zj(a,Rj(d),b[0])}function Oj(a,b){var d;d=a.c.length;return 0<=b&&b<d?a.c[b]:0>b&&0<=d+b?a.c[d+b]:null}function fk(a){return 0==a.c.length?"":Od(Oj(a,0))}function ak(a,b){var d,e;e="";for(d=0;d<b.length;d++)e+=0<d?a+b[d]:b[d];return e}
-function gk(a){var b,d,e,f,g;g=oj(null);a=a.c;d=0;for(e=a.length;d<e;++d)for(b=a[d],f=0,b=b.parentNode;b&&b!=$i;)Qj(g,P(y(Pb,1),h,0,2,[b])),b=b.parentNode,++f;return new nj(Rj(g))}function hk(a,b){return 0==a.c.length?null:ik(Oj(a,0),b)}function Zj(a,b,d){b=new nj(b);b.b=d;b.a=a.a;return b}function Cj(a,b){var d,e,f,g,l;e=a.c;f=0;for(g=e.length;f<g;++f)d=e[f],b&&(Uj(a,hj("*",d).c),Uj(a,P(y(Pb,1),h,0,2,[d]))),(l=Ni(d))?jk(l):Fd(d);return a}
-function Wj(a,b,d){var e;kk||(lk={},kk={});b=b==Xc||null==b.nodeName?lk:b;e=Rb(b);if(null!=d){if(kk[F(e)]){delete zj(kk,F(e))[d];a:{d=zj(kk,F(e));for(k in d)if(d.hasOwnProperty(k)){d=!1;break a}d=!0}d&&Wj(a,b,null)}}else a=F(e),delete kk[a]}function Hj(a,b){var d,e;if(b){d=a.d;var f,g,l;f=mk(d);g=0;for(l=f.length;g<l;++g)e=f[g],delete d[e];e=b.length;a.c=zc(Pb,h,0,e,2);for(d=0;d<e;d++)a.c[d]=b[d],Qj(a.d,P(y(Pb,1),h,0,2,[b[d]]))}return a}
-function nk(a,b,d){var e,f;f=oj(null);e=a.c.length;for((-1==d||d>e)&&(d=e);b<d;b++)sj(f,Oj(a,b));return new nj(f)}function ok(a){var b,d,e,f;f="";b=a.c;d=0;for(e=b.length;d<e;++d)a=b[d],f+=(K(),a).textContent;return f}
-function pk(a){var b,d,e,f,g;g="";b=a.c;d=0;for(e=b.length;d<e;++d)if(a=b[d],Xc!=a){try{f=a&&"HTML"!==(a&&qj(a)?9==a.nodeType?a:a.ownerDocument:null).documentElement.nodeName?(new XMLSerializer).serializeToString(a):(K(),L).ob(a)}catch(l){if(l=H(l),u(l,7))f=l,f="\x3c "+(a?a.nodeName:"null")+"(gquery, error getting the element string representation: "+f.Z()+")/\x3e";else throw I(l);}g+=""+f}return g}
-function qk(a){var b=0,d,e,f;a=a.c;e=0;for(f=a.length;e<f;++e)if(d=a[e],d=Ni(d)){if(0==b)return d;--b}return null}function Dj(){gj(this)}function ij(a){nj.call(this,oj(a))}function tj(a){gj(this);Hj(this,a)}function rk(a){G();gj(this);this.c=a.c;this.d=a.d;this.b=a.b;this.a=a.a}function nj(a){G();tj.call(this,a)}
-function sk(a,b,d){G();kk||(lk={},kk={});if((a=a==Xc||null==a.nodeName?lk:a)&&null!=b){a=Rb(a);if(null==d)return kk[F(a)]?tk(zj(kk,F(a)),b,null):null;kk[F(a)]||X(kk,F(a),{});X(zj(kk,F(a)),b,d)}return d}function Ni(a){G();var b;try{b=(U(),uk(a));if(!b)return null;if(u(b,16))return b}catch(d){if(d=H(d),u(d,7))a=d,Hc(a);else throw I(d);}return null}function vk(a,b){G();!Lj&&(Lj={});wk(Lj,a,b);return a}s(19,1,wa,Dj,ij,tj,nj);_.Sb=function(a,b){var d=Jj(this,(xk(),yk));return zk(d,a,b)};_.tS=function(){return pk(this)};
-var dj,Ak,Xi,Yi,kk=null,$i,Fj,Lj,Bk,cj,Xc,lk=null,xj,Kj=w(19);function Aj(){Aj=m;Bj=new yj(0,"","")}function yj(a,b,d){Aj();this.c=a;this.a=d;this.b=b}s(58,1,{},yj);_.c=0;var Bj;w(58);s(543,1,{});_.Wb=function(){return!1};w(543);function Ck(a,b){var d;return d=tk(a,""+b,Dk),d?d.a:0}function Ek(a,b){var d,e;e=zj(a,""+b);if(null!=e){if(u(e,6))return e;if(Xb(e))return d=zj(e,"__f"),null!=d&&u(d,6)?d:new mj(e)}return null}function Fk(a,b){return Qd(a,""+b)}function Gk(a,b,d){X(a,""+b,d);return a}
-var Hk=fc();function Ik(a,b,d){var e;for(e=0;e<b.length;e++){var f=b,g=e,l;l=zj(a,F(e));var n=d;l=(!V&&(V=new Jk),Kk(Lk(n),l));f[g]=l}return b}function Kk(a,b){if(null!=b&&Lb(b))return Kk(a,Mk(b));null!=b&&(a.a=b);return a}function Nk(a,b,d){var e,f,g,l;if(0<d.length&&u(d[0],42))for(e=[],g=0,l=d.length;g<l;++g)f=d[g],f=f.Tb(),e[e.length]=f;else e=[],Qj(e,d);Gk(a.a,b,e)}s(43,1,xa);_.Tb=Ok;_.Ub=function(a){return Kk(this,a)};_.$b=function(a){return Kk(this,Mk(a))};
-_.Vb=function(a,b){return null!=b&&(!Lb(b)&&b.tM!==zb||Lb(b)&&Vb[44]||b.cM&&b.cM[44])?Gk(this.a,a,Mb(b)?b.Tb():b):Gk(this.a,a,b),this};_.tS=function(){return $wnd.JSON.stringify(this.a)};w(43);function Pk(){this.a={}}s(457,43,xa,Pk);w(457);
-function Lk(a){if(a==Hk)return new Pk;if(a==Qk)return new Rk;if(a==Sk)return new Tk;if(a==Uk)return new Vk;if(a==Wk)return new Xk;if(a==Yk)return new Zk;if(a==$k)return new al;if(a==bl)return new cl;if(a==dl)return new el;if(a==fl)return new gl;if(a==hl)return new il;jl((G(),Yi),"GQ.create: not registered class :"+a);return null}function Jk(){}s(31,1,{},Jk);w(31);
-function kl(){kl=m;ll=RegExp("^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$","i")}function ml(){kl()}s(173,1,{},ml);var ll;w(173);function nl(){}s(507,1,{},nl);_._b=function(a){return null==a};_.ac=function(a,b,d){a.setAttribute(b,""+d)};var ol;w(507);function pl(){}s(509,507,{},pl);_._b=function(a){return null==a||ql((Qi(),rl),a)};_.ac=function(a,b){pj(a,b)&&(a[b]=!0);var d=b.toLowerCase();a.setAttribute(b,""+d)};var sl;
-w(509);function tl(){}s(510,507,{},tl);_.ac=function(a,b,d){var e=null==d?null:Sb(d);a.id=e;a.setAttribute(b,""+d)};var ul;w(510);function vl(){vl=m;wl=/^(?:button|input)$/i}function xl(){vl()}s(511,507,{},xl);
-_.ac=function(a,b,d){var e;e=a.nodeName;var f;if(f=wl.test(e)){f=W(a);var g=P(y(Ob,1),h,2,4,["body"]);f=0<Tj(gk(f),g).c.length}if(f)throw new Lc("You cannot change type of button or input element if the element is already attached to the dom");wj("input",e.toLowerCase())&&"radio"===d?(b=a.value,a.setAttribute("type",""+d),a.value=b):a.setAttribute(b,""+d)};var yl,wl;w(511);function zl(){}s(508,507,{},zl);_.ac=function(a,b,d){a.value=""+d;a.setAttribute(b,""+d)};var Al;w(508);
-function jl(a,b){a.a.bc(vj(P(y(z,1),h,1,3,[b])))}function vj(a){var b,d,e,f;f=[];d=0;for(e=a.length;d<e;++d)b=a[d],Qj(f,P(y(z,1),h,1,3,[b]));return f}function Zi(){this.a=(G(),Xi).b?new Bl:Xi.c?new Cl:new Dl}s(319,1,{},Zi);w(319);function uj(a){$wnd.console.log.apply($wnd.console,a)}function Dl(){}s(320,1,{},Dl);_.bc=function(a){$wnd.console.error.apply($wnd.console,a)};_.cc=function(a){$wnd.console.info.apply($wnd.console,a)};w(320);function Cl(){this.dc()}s(145,320,{},Cl);
-_.bc=function(a){this.a&&$wnd.console.error.apply($wnd.console,a)};_.cc=function(a){this.a&&$wnd.console.info.apply($wnd.console,a)};_.dc=function(){try{"log info warn error dir clear profile profileEnd".split(" ").forEach(function(a){$wnd.console[a]=this.call($wnd.console[a],$wnd.console)},Function.prototype.bind),this.a=!0}catch(a){}};_.a=!1;w(145);function Bl(){this.dc()}s(321,145,{},Bl);
-_.dc=function(){try{Function.prototype.call.call($wnd.console.log,$wnd.console,Array.prototype.slice.call(arguments)),this.a=!0}catch(a){}};w(321);function El(){El=m;Fl=/^(fillOpacity|fontWeight|lineHeight|opacity|orphans|widows|zIndex|zoom)$/i;Gl=/^(client|offset|)(width|height)$/i}
-function Hl(a,b,d,e){var f,g;if(!b)return"";d=Il(d);f=me(b.style,d);if(e){e=null;if(ae("html",b.nodeName)?0:!Ed((b&&qj(b)?9==b.nodeType?b:b.ownerDocument:null).body,b))e=gk(W(b)),e=W(Oj(e,e.c.length-1)),e=Oj(e,0),!e&&(e=b),$doc.body.appendChild(e);if(Gl.test(d)){g=d;var l;Mj((Jl(),Kl),Qb("visible")).Wb(b,0)?a=Ll(a,b,g):(f=Hl(a,b,"display",!1),l=Hl(a,b,"position",!1),d=Hl(a,b,"visibility",!1),Ml(b,"display","block"),Ml(b,"position","absolute"),Ml(b,"visibility","hidden"),a=Ll(a,b,g),Ml(b,"display",
-f),Ml(b,"position",l),Ml(b,"visibility",d));f=a+"px"}else if(ae("opacity",d))f=""+(g=me(b.style,"opacity"),g?Nl(g):1);else{a=d.replace(/([A-Z])/g,"-$1").toLowerCase();try{f=(l=$doc.defaultView.getComputedStyle(b,null))&&l.getPropertyValue?l.getPropertyValue(a):null}catch(n){f=null}}e&&Fd(e)}return null==f?"":f}function Ol(a,b){0==(b.clientHeight|0)&&0==(b.clientWidth|0)&&wj("inline",Hl(a,b,"display",!0))&&(Ml(b,"display","inline-block"),Ml(b,"width","auto"),Ml(b,"height","auto"))}
-function Il(a){return ae("float",a)?"cssFloat":ae("for",a)?"htmlFor":Pl(a)}function Ll(a,b,d){var e;e=0;"width"===d?e=(Ol(a,b),v((b.clientWidth|0)-Nl(Hl(a,b,"paddingLeft",!0))-Nl(Hl(a,b,"paddingRight",!0)))):"height"===d?e=(Ol(a,b),v((b.clientHeight|0)-Nl(Hl(a,b,"paddingTop",!0))-Nl(Hl(a,b,"paddingBottom",!0)))):"clientWidth"===d?e=b.clientWidth|0:"clientHeight"===d?e=b.clientHeight|0:"offsetWidth"===d?e=(b.offsetWidth||0)|0:"offsetHeight"===d&&(e=(b.offsetHeight||0)|0);return e}
-function Nl(a){return(a=Ql(Ud(a),"[^\\d\\.\\-]+.*$",""))?Rl(a):0}function Ml(a,b,d){a&&null!=b&&(b=Il(b),Sl(b,"^[A-Z]+$")&&(b=b.toLowerCase()),b=Pl(b),null==d||0==Ud(d).length?a.style[b]="":(Sl(d,"-?[\\d\\.]+")&&!Fl.test(b)&&(d+="px"),a.style[b]=d))}function Tl(){El()}s(331,1,{},Tl);var Fl,Gl,Ul=w(331);
-function Jl(){Jl=m;Vl=0>$doc.location.href.indexOf("_force_no_native")&&"function"==typeof $doc.querySelectorAll;Kl={};wk(Kl,"visible",new Wl);wk(Kl,"hidden",new Xl);wk(Kl,"selected",new Yl);wk(Kl,"input",new Zl);wk(Kl,"header",new $l)}function Yj(a,b){var d,e,f,g,l;l=oj(null);e=0;g=a.length;for(f=0;e<g;e++)if(d=a[e],b.Wb(d,e)){var n=f++;X(l,F(n),d)}return l}
-function Ej(a,b,d){var e,f,g,l,n,p,r;if(a.d.test(b))for(;l=a.d.exec(b);)b=l[1]+":"+l[3],l[3]===l[2]||(b+=":"+l[2]),b+=l[4];if(a.b.test(b)){l=oj(null);b=am(Ud(b),"\\s*,\\s*",0);p=0;for(r=b.length;p<r;++p)n=b[p],(e=a.b.exec(n))?(n=e[1].length?e[1]:"*",g=e[2],(e=Mj(Kl,Qb(g.toLowerCase())))?f=Yj(Ej(a,n,d),e):a.d.test(g)?f=Ej(a,n,d):f=Ej(a,n+"[type\x3d"+g+"]",d)):f=Ej(a,n,d),bm(l,f,!1);return l}return a.c.ec(b,d)}
-function Gj(){Jl();this.b=RegExp("(.*):((visible|hidden|selected|input|header)|((button|checkbox|file|hidden|image|password|radio|reset|submit|text)\\s*(,|$)))(.*)","i");this.d=/(.*):([\w]+):(disabled|checked|enabled|empty|focus)\s*([:,].*|$)/i;this.c=nb();Gb(this.c.cZ);cm=new Tl;Zb(Ul)}function dm(a,b){Jl();return b.querySelectorAll(a)}s(91,1,{},Gj);_.ec=function(a,b){return Ej(this,a,b)};_.a=!0;var Kl,Vl=!1,cm;w(91);function Wl(){}s(326,543,{},Wl);
-_.Wb=function(a){return 0<((a.offsetWidth||0)|0)+((a.offsetHeight||0)|0)&&!ae("none",Hl((Jl(),cm),a,"display",!0))};w(326);function Xl(){}s(327,543,{},Xl);_.Wb=function(a,b){return!Mj((Jl(),Kl),Qb("visible")).Wb(a,b)};w(327);function Yl(){}s(328,543,{},Yl);_.Wb=function(a){return!!a.selected};w(328);function Zl(){}s(329,543,{},Zl);_.Wb=function(a){return Sl(a.nodeName.toLowerCase(),"input|select|textarea|button")};w(329);function $l(){}s(330,543,{},$l);
-_.Wb=function(a){return Sl(a.nodeName.toLowerCase(),"h\\d")};w(330);s(566,1,{});w(566);
-function em(){em=m;fm=new gm;hm=new im;jm=new km;lm=new mm;nm=P(y(z,1),h,1,3,["(['\\[])([^'\\]]*)([\\s\\.#])([^'\\]]*)(['\\]])",fm,"\\[([^@\\]~\\$\\*\\^\\|\\!]+)(\x3d[^\\]]+)?\\]","[@$1$2]","\\s*,\\s*","|.//","\\s*(\\+|~|\x3e)\\s*","$1","([\\w\\-\\*])~([\\w\\-\\*])","$1/following-sibling::$2","([\\w\\-\\*])\\+([\\w\\-\\*])","$1/following-sibling::*[1]/self::$2","([\\w\\-\\*])\x3e([\\w\\-\\*])","$1/$2","\\[([^\x3d]+)\x3d([^'|\"][^\\]]*)\\]","[$1\x3d'$2']","(^|[^\\w\\-\\*])(#|\\.)([\\w\\-]+)","$1*$2$3",
-"([\\\x3e\\+\\|\\~\\,\\s])([a-zA-Z\\*]+)","$1//$2","\\s+//","//","([\\w\\-\\*]+):first-child","*[1]/self::$1","([\\w\\-\\*]+):last-child","$1[not(following-sibling::*)]","([\\w\\-\\*]+):only-child","*[last()\x3d1]/self::$1","([\\w\\-\\*]+):empty","$1[not(*) and not(normalize-space())]",":odd",":nth-child(even)",":even",":nth-child(odd)","(.+):not\\(([^\\)]*)\\)",jm,"([a-zA-Z0-9\\_\\-\\*]*|\\]):nth-child\\(([^\\)]*)\\)",lm,":contains\\(([^\\)]*)\\)","[contains(string(.),'$1')]","\\[([\\w\\-]+)\\|\x3d([^\\]]+)\\]",
-"[@$1\x3d$2 or starts-with(@$1,concat($2,'-'))]","\\[([\\w\\-]+)\\*\x3d([^\\]]+)\\]","[contains(@$1,$2)]","\\[([\\w\\-]+)~\x3d([^\\]]+)\\]","[contains(concat(' ',normalize-space(@$1),' '),concat(' ',$2,' '))]","\\[([\\w\\-]+)\\^\x3d([^\\]]+)\\]","[starts-with(@$1,$2)]","\\[([\\w\\-]+)\\$\x3d([^\\]]+)\\]",hm,"\\[([\\w\\-]+)\\!\x3d([^\\]]+)\\]","[not(@$1) or @$1!\x3d$2]","#([\\w\\-]+)","[@id\x3d'$1']","\\.([\\w\\-]+)","[contains(concat(' ',normalize-space(@class),' '),' $1 ')]","\\]\\[([^\\]]+)"," and ($1)",
-":(enabled)","[not(@disabled)]",":(checked)","[@$1\x3d'$1']",":(disabled)","[@$1]",":(first)","[1]",":(last)","[last()]","(^|\\|[\\./]*)(\\[)","$1*$2","%S%"," ","%P%",".","%H%","#","'+","'"])}function om(a){var b;b=a;for(a=0;a<nm.length;){var d=Sb(nm[a++]),e=nm[a++],f=void 0,g=void 0,l=f=void 0,n=void 0,n=RegExp(d);if(u(e,128))for(;n.test(b);){f=n.exec(b);g=new C;for(l=0;f&&l<f.length;l++)vc(g,f[l]);f=e.fc(g);b=pm(b,d,f)}else b=Ql(b,d,Sb(e))}return".//"+b}function qm(){em();rm=this}s(167,566,{},qm);
-_.ec=function(a,b){var d,e;!sm&&(sm={});e=zj(sm,a);null==e&&(e=wj(a.substr(0,2),"./")||wj(a.substr(0,1),"/")?a:om(a),X(sm,a,e));d=oj(null);try{Jl();for(var f,g=b&&(b.ownerDocument||b),l=(g?g:$doc).evaluate(e,b,null,0,null);f=l.iterateNext();)d.push(f);return Rj(d)}catch(n){n=H(n);if(u(n,7))return d;throw I(n);}};var sm,rm,hm,jm,lm,fm,nm;w(167);function gm(){}s(452,1,ya,gm);
-_.fc=function(a){return sd(1,a.b.length),a.b[1]+(sd(2,a.b.length),a.b[2])+(tm((sd(3,a.b.length),a.b[3])," ")?"%S%":tm((sd(3,a.b.length),a.b[3]),"#")?"%H%":"%P%")+(sd(4,a.b.length),a.b[4])+(sd(5,a.b.length),a.b[5])};w(452);function im(){}s(453,1,ya,im);_.fc=function(a){sd(1,a.b.length);var b="[substring(@"+a.b[1]+",string-length(@"+(sd(1,a.b.length),a.b[1])+")-",d=Ql((sd(2,a.b.length),a.b[2]),"'","");return b+(d.length-1)+")\x3d"+(sd(2,a.b.length),a.b[2])+"]"};w(453);function km(){}s(454,1,ya,km);
-_.fc=function(a){return sd(1,a.b.length),a.b[1]+"[not("+Ql(om((em(),!rm&&(rm=new qm),sd(2,a.b.length),a.b[2])),"^[^\\[]+\\[([^\\]]*)\\].*$","$1)]")};w(454);function mm(){}s(455,1,ya,mm);
-_.fc=function(a){var b,d,e,f;e=(sd(1,a.b.length),a.b[1]);f=(sd(2,a.b.length),a.b[2]);d=(b="]"===e)?e:"*";a=b||null==e||0==e.length;if("n"===f)return e;if("even"===f)return d+"[position() mod 2\x3d0 and position()\x3e\x3d0]"+(a?"":"/self::"+e);if("odd"===f)return(b?d:a?"":e)+"[(count(preceding-sibling::*) + 1) mod 2\x3d1]";if(-1==f.indexOf("n"))return d+"[position() \x3d "+f+"]"+(a?"":"/self::"+e);f=am(Ql(f,"^([0-9]*)n.*?([0-9]*)?$","$1+$2"),"\\+",0);b=f[0];f=1<f.length?f[1]:"0";return d+"[(position()-"+
-f+") mod "+b+"\x3d0 and position()\x3e\x3d"+f+"]"+(a?"":"/self::"+e)};w(455);function ob(){if(!um){a:{switch(Xa){case 4:case 5:um=new vm;break a}um=new qm}Gb(um.cZ)}}s(430,566,{},ob);
-_.ec=function(a,b){var d,e;-1!=a.indexOf("!\x3d")&&(!wm&&(wm={}),e=zj(wm,a),null==e&&(e=Ql(a,"(\\[\\w+)!(\x3d[^\\]]+\\])",":not($1$2)"),X(wm,a,e)),a=e);if((Jl(),!Vl)||Sl(a,xm))return um.ec(a,b);try{return dm(a,b)}catch(f){f=H(f);if(u(f,7))return d=f,e=(G(),Yi),d="ERROR SelectorEngineNative "+d.Z()+" "+a+", falling back to "+Ql(Gb(um.cZ),".*\\.",""),e.a.cc(vj(P(y(z,1),h,1,3,[d]))),um.ec(a,b);throw I(f);}};var xm="(^[\\./]/.*)|(.*(:contains|:first([^-]|$)|:last([^-]|$)|:even|:odd)).*",wm,um;w(430);
-function qb(){}s(432,566,{},qb);_.ec=function(a,b){var d;try{return dm(a,b)}catch(e){e=H(e);if(u(e,7))return d=e,jl((G(),Yi),"GwtQuery: Selector '"+a+"' is unsupported in this SelectorEngineNativeMin engine. Do not use this syntax or configure your module to use a JS fallback. "+d.Z()),null;throw I(e);}};w(432);function pb(){}s(431,566,{},pb);
-_.ec=function(a,b){var d;try{return dm(a,b)}catch(e){e=H(e);if(u(e,7))return d=e,jl((G(),Yi),"GwtQuery: Selector '"+a+"' is unsupported in this SelectorEngineNativeMinIE8 engine, check that you are in 'standards mode' or configure your module to use JS fallback. "+d.Z()),null;throw I(e);}};w(431);function vm(){ym()}
-function ym(){(function(){function a(a,b){for(var d=[],e="",g,l=b.nodeType?[b]:b;g=t.match.PSEUDO.exec(a);)e+=g[0],a=a.replace(t.match.PSEUDO,"");a=t.relative[a]?a+"*":a;g=0;for(var n=l.length;g<n;g++)f(a,l[g],d);return f.filter(e,d)}function b(a,b){if(!a.sourceIndex||!b.sourceIndex)return a==b&&(q=!0),a.sourceIndex?-1:1;var d=a.sourceIndex-b.sourceIndex;0===d&&(q=!0);return d}function d(a,b){a=Array.prototype.slice.call(a,0);return b?(b.push.apply(b,a),b):a}function e(a,b){return"\\"+(b-0+1)}function f(b,
-e,g,l){g=g||[];var p=e=e||document;if(1!==e.nodeType&&9!==e.nodeType)return[];if(!b||"string"!==typeof b)return g;var q=[],sa,Nc,E,S,ot=!0,Lh=f.isXML(e),pt=b,Eb;do if(n.exec(""),sa=n.exec(pt))if(pt=sa[3],q.push(sa[1]),sa[2]){S=sa[3];break}while(sa);if(1<q.length&&A.exec(b))if(2===q.length&&t.relative[q[0]])Nc=a(q[0]+q[1],e);else for(Nc=t.relative[q[0]]?[e]:f(q.shift(),e);q.length;)b=q.shift(),t.relative[b]&&(b+=q.shift()),Nc=a(b,Nc);else if(!l&&1<q.length&&9===e.nodeType&&!Lh&&t.match.ID.test(q[0])&&
-!t.match.ID.test(q[q.length-1])&&(sa=f.find(q.shift(),e,Lh),e=sa.expr?f.filter(sa.expr,sa.set)[0]:sa.set[0]),e)for(sa=l?{expr:q.pop(),set:d(l)}:f.find(q.pop(),1!==q.length||"~"!==q[0]&&"+"!==q[0]||!e.parentNode?e:e.parentNode,Lh),Nc=sa.expr?f.filter(sa.expr,sa.set):sa.set,0<q.length?E=d(Nc):ot=!1;q.length;)sa=Eb=q.pop(),t.relative[Eb]?sa=q.pop():Eb="-",null==sa&&(sa=e),t.relative[Eb](E,sa,Lh);else E=[];!E&&(E=Nc);!E&&f.error(Eb||b);if("[object Array]"===r.call(E))if(ot)if(e&&1===e.nodeType)for(b=
-0;null!=E[b];b++)E[b]&&(!0===E[b]||1===E[b].nodeType&&f.contains(e,E[b]))&&g.push(Nc[b]);else for(b=0;null!=E[b];b++)E[b]&&1===E[b].nodeType&&g.push(Nc[b]);else g.push.apply(g,E);else d(E,g);S&&(f(S,p,g,l),f.uniqueSort(g));return g}function g(a,b,d,e,f,g){f=0;for(var l=e.length;f<l;f++){var n=e[f];if(n){for(var n=n[a],p=!1;n;){if(n.sizcache===d){p=e[n.sizset];break}1!==n.nodeType||g||(n.sizcache=d,n.sizset=f);if(n.nodeName.toLowerCase()===b){p=n;break}n=n[a]}e[f]=p}}}function l(a,b,d,e,g,l){g=0;for(var n=
-e.length;g<n;g++){var p=e[g];if(p){for(var p=p[a],q=!1;p;){if(p.sizcache===d){q=e[p.sizset];break}if(1===p.nodeType)if(l||(p.sizcache=d,p.sizset=g),"string"!==typeof b){if(p===b){q=!0;break}}else if(0<f.filter(b,[p]).length){q=p;break}p=p[a]}e[g]=q}}}var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,p=0,r=Object.prototype.toString,q=!1;f.uniqueSort=function(a){if(b&&(q=!1,a.sort(b),q))for(var d=1;d<a.length;d++)a[d]===
-a[d-1]&&a.splice(d--,1);return a};f.matches=function(a,b){return f(a,null,null,b)};f.find=function(a,b,d){var e;if(!a)return[];for(var f=0,g=t.order.length;f<g;f++){var l=t.order[f],n;if(n=t.leftMatch[l].exec(a)){var p=n[1];n.splice(1,1);if("\\"!==p.substr(p.length-1)&&(n[1]=(n[1]||"").replace(/\\/g,""),e=t.find[l](n,b,d),null!=e)){a=a.replace(t.match[l],"");break}}}!e&&(e=b.getElementsByTagName("*"));return{set:e,expr:a}};f.filter=function(a,b,d,e){for(var g=a,l=[],n=b,p,q,r=b&&b[0]&&f.isXML(b[0]);a&&
-b.length;){for(var A in t.filter)if(null!=(p=t.leftMatch[A].exec(a))&&p[2]){var E=t.filter[A],S,Eb;Eb=p[1];q=!1;p.splice(1,1);if("\\"!==Eb.substr(Eb.length-1)){n===l&&(l=[]);if(t.preFilter[A])if(p=t.preFilter[A](p,n,d,l,e,r),!p)q=S=!0;else if(!0===p)continue;if(p)for(var Mh=0;null!=(Eb=n[Mh]);Mh++)if(Eb){S=E(Eb,p,Mh,n);var qt=e^!!S;d&&null!=S?qt?q=!0:n[Mh]=!1:qt&&(l.push(Eb),q=!0)}if(void 0!==S){!d&&(n=l);a=a.replace(t.match[A],"");if(!q)return[];break}}}if(a===g)if(null==q)f.error(a);else break;
-g=a}return n};f.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var t=f.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
-PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href",2)}},relative:{"+":function(a,b){var d="string"===typeof b,e=d&&!/\W/.test(b),d=d&&!e;e&&(b=b.toLowerCase());for(var e=0,g=a.length,l;e<g;e++)if(l=a[e]){for(;(l=l.previousSibling)&&1!==l.nodeType;);a[e]=d||l&&l.nodeName.toLowerCase()===b?l||!1:l===b}d&&f.filter(b,a,!0)},"\x3e":function(a,b){var d=
-"string"===typeof b,e,g=0,l=a.length;if(d&&!/\W/.test(b))for(b=b.toLowerCase();g<l;g++){if(e=a[g])d=e.parentNode,a[g]=d.nodeName.toLowerCase()===b?d:!1}else{for(;g<l;g++)(e=a[g])&&(a[g]=d?e.parentNode:e.parentNode===b);d&&f.filter(b,a,!0)}},"-":function(a,b,d){var e=p++,f=l,n;"string"!==typeof b||/\W/.test(b)||(n=b=b.toLowerCase(),f=g);f("parentNode",b,e,a,n,d)},"~":function(a,b,d){var e=p++,f=l,n;"string"!==typeof b||/\W/.test(b)||(n=b=b.toLowerCase(),f=g);f("previousSibling",b,e,a,n,d)}},find:{ID:function(a,
-b,d){if("undefined"!==typeof b.getElementById&&!d)return(b=b.getElementById(a[1]))?b.id===a[1]||"undefined"!==typeof b.getAttributeNode&&b.getAttributeNode("id").nodeValue===a[1]?[b]:void 0:[]},NAME:function(a,b){if("undefined"!==typeof b.getElementsByName){for(var d=[],e=b.getElementsByName(a[1]),f=0,g=e.length;f<g;f++)e[f].getAttribute("name")===a[1]&&d.push(e[f]);return 0===d.length?null:d}},TAG:function(a,b){var d=b.getElementsByTagName(a[1]);if("*"===a[1]){for(var e=[],f=0;d[f];f++)1===d[f].nodeType&&
-e.push(d[f]);d=e}return d}},preFilter:{CLASS:function(a,b,d,e,f,g){a=" "+a[1].replace(/\\/g,"")+" ";if(g)return a;g=0;for(var l;null!=(l=b[g]);g++)l&&(f^(l.className&&0<=(" "+l.className+" ").replace(/[\t\n]/g," ").indexOf(a))?!d&&e.push(l):d&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a){return a[1].toLowerCase()},CHILD:function(a){if("nth"===a[1]){var b=/(-?)(\d*)n((?:\+|-)?\d*)/.exec("even"===a[2]&&"2n"||"odd"===a[2]&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);
-a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}a[0]=p++;return a},ATTR:function(a,b,d,e,f,g){b=a[1].replace(/\\/g,"");!g&&t.attrMap[b]&&(a[1]=t.attrMap[b]);"~\x3d"===a[2]&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,d,e,g){if("not"===a[1])if(1<(n.exec(a[3])||"").length||/^\w/.test(a[3]))a[3]=f(a[3],null,null,b);else return a=f.filter(a[3],b,d,1^g),!d&&e.push.apply(e,a),!1;else if(t.match.POS.test(a[0])||t.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return!1===
-a.disabled&&"hidden"!==a.type},disabled:function(a){return!0===a.disabled},checked:function(a){return!0===a.checked},selected:function(a){return!0===a.selected},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,d){return!!f(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},
-password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||"button"===a.nodeName.toLowerCase()},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return 0===b},last:function(a,b,d,e){return b===e.length-1},even:function(a,b){return 0===b%2},odd:function(a,b){return 1===b%2},lt:function(a,
-b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-0},nth:function(a,b,d){return d[3]-0===b},eq:function(a,b,d){return d[3]-0===b}},filter:{PSEUDO:function(a,b,d,e){var g=b[1],l=t.filters[g];if(l)return l(a,d,b,e);if("contains"===g)return 0<=(a.textContent||a.innerText||f.getText([a])||"").indexOf(b[3]);if("not"===g){b=b[3];d=0;for(e=b.length;d<e;d++)if(b[d]===a)return!1;return!0}f.error("Syntax error, unrecognized expression: "+g)},CHILD:function(a,b){var d=b[1],e=a;switch(d){case "only":case "first":for(;e=
-e.previousSibling;)if(1===e.nodeType)return!1;if("first"===d)return!0;e=a;case "last":for(;e=e.nextSibling;)if(1===e.nodeType)return!1;return!0;case "nth":var d=b[2],f=b[3];if(1===d&&0===f)return!0;var g=b[0],l=a.parentNode;if(l&&(l.sizcache!==g||!a.nodeIndex)){for(var n=0,e=l.firstChild;e;e=e.nextSibling)1===e.nodeType&&(e.nodeIndex=++n);l.sizcache=g}e=a.nodeIndex-f;return 0===d?0===e:0===e%d&&0<=e/d}},ID:function(a,b){var d="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id");return 1===
-a.nodeType&&d&&d.nodeValue===b},TAG:function(a,b){return"*"===b&&1===a.nodeType||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return-1<(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)},ATTR:function(a,b){var d=b[1],d=t.attrHandle[d]?t.attrHandle[d](a):null!=a[d]?a[d]:a.getAttribute(d),e=d+"",f=b[2],g=b[4];return null==d?"!\x3d"===f:"\x3d"===f?e===g:"*\x3d"===f?0<=e.indexOf(g):"~\x3d"===f?0<=(" "+e+" ").indexOf(g):g?"!\x3d"===f?e!==g:"^\x3d"===f?0===e.indexOf(g):"$\x3d"===f?e.substr(e.length-
-g.length)===g:"|\x3d"===f?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&!1!==d},POS:function(a,b,d,e){var f=t.setFilters[b[2]];if(f)return f(a,d,b,e)}}},A=t.match.POS,E;for(E in t.match)t.match[E]=RegExp(t.match[E].source+/(?![^\[]*\])(?![^\(]*\))/.source),t.leftMatch[E]=RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[E].source.replace(/\\(\d+)/g,e));try{Array.prototype.slice.call(document.documentElement.childNodes,0)}catch(S){d=function(a,b){var d=b||[],e=0;if("[object Array]"===r.call(a))Array.prototype.push.apply(d,
-a);else if("number"===typeof a.length)for(var f=a.length;e<f;e++)d.push(a[e]);else for(;a[e];e++)d.push(a[e]);return d}}f.getText=function(a){for(var b="",d,e=0;a[e];e++)d=a[e],3===d.nodeType||4===d.nodeType?b+=d.nodeValue:8!==d.nodeType&&(b+=f.getText(d.childNodes));return b};f.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)};f.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?"HTML"!==a.nodeName:!1};window.IES=f;$wnd.IES=f})()}s(456,566,{},vm);
-_.ec=function(a,b){return $wnd.IES(a,b,[],null)};w(456);function zj(a,b){return zm([a&&a[b]])}
-function tk(a,b,d){b=zj(a,b);if(null!=b&&d)if(u(b,13))if(a=b,d==Dk)b=new Am(a.a);else if(d==Bm)b=F(v(a.a));else if(d==Cm){d=Db(a.a);a=oa;b=pa;var e,f;e=d.h>>19;f=b>>19;(0==e?!(0!=f||d.h>b||d.h==b&&d.m>a||d.h==b&&d.m==a&&4194175<d.l):0==f||d.h<b||d.h==b&&d.m<a||d.h==b&&d.m==a&&4194175>=d.l)||vi(d,{l:128,m:0,h:0})?b=new Dm(d):(a=Fi(d)+128,b=(Em(),Fm)[a],!b&&(b=Fm[a]=new Dm(d)))}else d==Gm?(d=v(a.a)<<16>>16,-129<d&&128>d?(a=d+128,b=(Hm(),Im)[a],!b&&(b=Im[a]=new Jm(d))):b=new Jm(d)):d==Km&&(d=v(a.a)<<
-24>>24,a=d+128,b=(Lm(),Mm)[a],!b&&(b=Mm[a]=new Nm(d)));else d!=Om||u(b,60)?d==Ob&&!Lb(b)&&(b=""+b):b=(Qi(),ae("true",""+b)?Ri:rl);return b}function Pm(a,b){var d=a[b];return"[object Array]"==Object.prototype.toString.call(d)?d:null}function Qm(a,b){var d;return(d=tk(a,b,Rm))?d.a:0}function Sm(a,b){var d;d=zj(a,b);return null!=d&&Xb(d)?d:null}
-function mk(a){var b,d=[];for(b in a)a.hasOwnProperty(b)&&"__gwt_ObjectId"!=b&&"$H"!=b&&d.push(String(b));b=zc(Ob,h,2,d.length,4);for(a=0;a<d.length;a++)b[a]=d[a];return b}function Tm(a){if("number"==typeof a.length)return a.length;var b,d=0;for(b in a)"__gwt_ObjectId"!=b&&d++;return d}function X(a,b,d){u(d,60)?a[b]=d.a:(u(d,52)&&(d=d.Ge()),a[b]=d)}
-function zm(a){if("object"==typeof a&&1==a.length){a=a[0];var b=typeof a;if("boolean"==b)return Qi(),a?Ri:rl;if("number"==b)return new T(a)}return a||null}function Mj(a,b){return zj(a,F(b))}function wk(a,b,d){X(a,F(Ib(b)),d)}function sj(a,b){Qj(a,P(y(Pb,1),h,0,2,[b]))}function oj(a){return a?[a]:[]}function Qj(a,b){var d,e,f;e=0;for(f=b.length;e<f;++e)if(d=b[e],u(d,52)){var g=F(Tm(a));d=d.Ge();a[g]=d}else u(d,60)?(g=F(Tm(a)),a[g]=d.a):X(a,F(Tm(a)),d);return a}
-function Pl(a){return a.replace(/\-(\w)/g,function(a,d){return d.toUpperCase()})}function bm(a,b,d){var e,f,g,l;l=!a||d?oj(null):a;g={};for(f=0;a&&f<a.length;f++)e=a[f],X(g,F(Rb(e)),F(1)),d&&X(l,F(f),e);a=0;f=b.length;for(d=l.length;a<f;a++)if(e=b[a],!g[F(Rb(e))]){e=b[a];var n=d++;X(l,F(n),e)}return l}function pj(a,b){var d=b.split("."),e;for(e in d){if(!(a&&d[e]in a))return!1;a=a[d[e]]}return!0}function rj(a){return"[object Array]"==Object.prototype.toString.call(a)||"number"==typeof a.length}
-function qj(a){return!!a&&"nodeType"in a&&"nodeName"in a}function lj(a){return"[object Function]"==Object.prototype.toString.call(a)}function Um(a,b,d){return Vm(a,b,Qj([],d))}function Mk(a){try{var b;try{b=JSON.parse(a)}catch(d){throw new D("Error parsing JSON: "+d+"\n"+a);}return b}catch(e){e=H(e);if(u(e,7))return{};throw I(e);}}function ik(a,b){return a?zj(a,b):null}function Vm(a,b,d){var e=a||$wnd;b=b.split(".");for(var f in b)if(a=e,e=e[b[f]],!e)return null;return lj(e)&&zm([e.apply(a,d)])}
-function Wm(a){return function(b){var d=new C;for(i in arguments)b=zm([arguments[i]]),d.Ne(b);d=d.Se();a.Rb(d);return a.Qb(d)}}function mj(a){Ui.call(this);lj(a)&&(this.a=a)}s(144,6,va,mj);_.eQ=function(a){return Yb(this.a)===Yb(a)};_.ab=Xm;_.Nb=Xm;_.hC=function(){return Rb(this.a)};_.a=null;w(144);function Rj(a){var b,d,e,f,g;g=[];b={};for(e=0;e<a.length;e++)d=a[e],f=Rb(d),b[F(f)]||(f=F(f),b[f]=1,g[g.length]=d);return g}function bj(){bj=m;G();vk(Ym,new Zm)}function $m(a){bj();rk.call(this,a)}
-s(131,19,wa,$m);var Ym=w(131);function an(){an=m;bj();bn=vk(cn,new dn)}function en(a){an();$m.call(this,a)}
-function fn(a,b,d){if($wnd.MutationObserver){var e=new $wnd.MutationObserver(function(a){var b;b=Gk({},"mutations",a);if(u(d,6))d.Ob(P(y(z,1),h,1,3,[b]));else if(u(d,572)){a=(Lb(d)||d.tM===zb?d.ue:d.onMutation).bind(d);var e=Sk,e=(!V&&(V=new Jk),Lk(e));Kk(e,b);b=Pm(e.a,"mutations");b=new kj(Ik(b,zc(Uk,h,573,b?b.length:0,0),Uk));a(b)}});(a.__gq_obs||(a.__gq_obs=[])).push(e);e.observe(a,b)}else $wnd.console.log("ERROR: this browser does not support MutationObserver: "+$wnd.navigator.userAgent)}
-s(187,131,wa,en);var bn,cn=w(187);function dn(){}s(188,1,{},dn);_.gc=function(a){return new en(a)};w(188);var Qk=fc(),Sk=fc(),Uk=fc();function Rk(){this.a={}}s(458,43,xa,Rk);w(458);function Tk(){this.a={}}s(459,43,xa,Tk);w(459);function Vk(){this.a={}}s(460,43,{44:1,42:1,573:1},Vk);w(460);function xk(){xk=m;G();yk=vk(gn,new hn);Zb(gn);jn=(Zb(gn),gn.k+".Queue-");kn=jn+"fx"}function zk(a,b,d){var e=kn,f,g,l,n;g=a.c;l=0;for(n=g.length;l<n;++l)f=g[l],ln(a,f,e,new mn(a,f,e,b,d));return a}
-function ln(a,b,d,e){var f;return b?(f=(G(),sk(b,d,null)),e&&(!f&&(f=sk(b,d,new nn)),on(f,e,f.c.b,f.c),1==f.b&&pn(a,b,d,f)),f):null}function pn(a,b,d,e){var f,g;(e=0==e.b?null:(J(0!=e.b),e.a.a.c))?(e.g=b,Mi(e,b)):(qn((f=d+".Empty",g=(G(),sk(b,f,null)),!g&&(g=sk(b,f,new rn("once memory"))),g),P(y(z,1),h,1,3,[])),Wj(a,b,d),Wj(a,b,d+".Empty"))}function sn(a){xk();rk.call(this,a)}s(110,19,wa,sn);_.Sb=function(a,b){return zk(this,a,b)};var kn,jn,yk,gn=w(110);function aj(){aj=m;xk();vk(tn,new un)}
-function vn(a){aj();sn.call(this,a)}s(322,110,wa,vn);var tn=w(322);function un(){}s(323,1,{},un);_.gc=function(a){return new vn(a)};w(323);function Zm(){}s(189,1,{},Zm);_.gc=function(a){return new $m(a)};w(189);function hn(){}s(304,1,{},hn);_.gc=function(a){return new sn(a)};w(304);function mn(a,b,d,e,f){this.e=a;Ui.call(this);this.b=b;this.a=e;this.c=f;this.d=d}s(302,6,va,mn);_.Nb=function(){wc(new wn(this),this.a)};_.a=0;w(302);function wn(a){this.a=a}s(303,38,{},wn);
-_.W=function(){var a,b,d,e;b=this.a.c;d=0;for(e=b.length;d<e;++d){a=b[d];var f=this.a.b;a.g=f;Mi(a,f)}b=this.a.e;d=this.a.b;e=this.a.d;a=this.a;(f=ln(b,d,e,null))&&Yb(a)===Yb(0==f.b?null:(J(0!=f.b),f.a.a.c))&&(a=ln(b,d,e,null))&&(0==a.b||(J(0!=a.b),xn(a,a.a.a)),pn(b,d,e,a))};w(303);function ej(){ej=m;xk();yn=P(y(Ob,1),h,2,4,"html body head tr thead tfoot options script noscript style title".split(" "));vk(fj,new zn)}
-function An(a){var b,d,e,f;f=new C;a=a.c;d=0;for(e=a.length;d<e;++d){for(var g=b=a[d],l=yn,n=void 0,p=void 0,r=void 0,p=new oh("^("),r=null!=l?l.length:0,n=0;n<r;n++)Bd(p,l[n].toUpperCase()),n<r-1&&(p.a+="|");p.a+=")$";(b=Sl((K(),g).tagName.toUpperCase(),p.a)?null:new Bn(b))&&vc(f,(U(),b.O))}return Jj(jj(f),fj)}function Cn(a){ej();sn.call(this,a)}s(300,110,wa,Cn);var yn,fj=w(300);function zn(){}s(301,1,{},zn);_.gc=function(a){return new Cn(a)};w(301);function Dn(){Dn=m;G();vk(En,new Fn)}
-function Gn(a){Dn();rk.call(this,a)}s(400,19,wa,Gn);var En=w(400);function Fn(){}s(401,1,{},Fn);_.gc=function(a){return new Gn(a)};w(401);function Hn(a){this.a=a;Ui.call(this)}s(402,6,va,Hn);
-_.Ob=function(){var a,b,d,e;d=Si(this,0,null);b=Si(this,1,null);e=d.a.responseText;if(null!=e&&""!==e)try{if(ae("xml",this.a))a=d.a.responseText,e=(new DOMParser).parseFromString(a,"text/xml").documentElement;else if(ae("json",this.a)){var f=d.a.responseText;e=(!V&&(V=new Jk),Mk(f))}else if(e=d.a.responseText,ae("script",this.a)){var g=Wc((Rc(),new Yc(e))),l,n,p=g.c?g.c:Uc();Rc();l=p.document;n=Vc(l);var r=g.b;Rc();n.text=r;Rc();(l.head||l.getElementsByTagName("head")[0]).appendChild(n);g.a&&(Rc(),
-n.parentNode.removeChild(n))}}catch(q){if(q=H(q),u(q,7))a=q,Hc(a);else throw I(q);}return P(y(z,1),h,1,3,[e,"success",b,d])};w(402);function In(){Ui.call(this)}s(403,6,va,In);_.Ob=function(){var a,b,d;a=Si(this,0,null);d=Si(this,1,wh);b=""+a;return P(y(z,1),h,1,3,[null,b,d,null,a])};w(403);var Wk=fc();function Jn(){}s(125,1,{},Jn);w(125);function Kn(a,b){Ln(a.c.d,b);return a}function Mn(){new Nn(this);new On(this);this.c=new Pn}function Qn(a){new Nn(this);new On(this);this.c=a}s(74,1,za,Qn);
-_.Xb=function(a){Ln(this.c.d,a);Ln(this.c.c,a)};_.Yb=function(){return"resolved"===this.c.e};_.Zb=function(a){Ln(this.c.a,a)};_.tS=function(){return"Promise this\x3d"+Rb(this)+" "+this.c};w(74);s(132,74,za);w(132);function Rn(a){this.b=a;Mn.call(this);this.hc(this.c)}s(496,132,za,Rn);
-_.hc=function(a){var b=Wc((Rc(),new Zc(Fk(this.b.a,"url"))));b.a=new Sn(this,a);var d;a=b.c?b.c:Uc();Rc();a=a.document;d=Vc(a);b.a&&Tc(d,b.a);b=b.b;Rc();d.src=b;Rc();(a.head||a.getElementsByTagName("head")[0]).appendChild(d);this.a=d};w(496);function Tn(a){W((G(),Xc)).Sb(0,P(y(Vi,1),h,6,0,[new Un(a,a.b)]))}function Sn(a,b){this.a=a;this.b=b}s(497,1,{577:1},Sn);_.X=function(a){var b=this.b;a=P(y(z,1),h,1,3,[a]);"pending"==b.e&&qn(b.c,a)};_.Y=function(){Tn(this)};w(497);
-function Un(a,b){this.a=a;this.b=b;Ui.call(this)}s(498,6,va,Un);_.Nb=function(){Vn(this.b,P(y(z,1),h,1,3,[this.a.a.a]))};w(498);function Xk(){this.a={}}s(461,43,xa,Xk);w(461);function Ln(a,b){var d,e,f;e=0;for(f=b.length;e<f;++e)if(d=b[e],a.a||!a.f||!d||a.d&&-1!=Wn(a.f,d)||vc(a.f,d),a.b&&a.e){var g;g=a.e;g=gi(g.b,g.b.length);Xn(d,g)}}function Yn(a){a.f=null;a.a=!0}
-function qn(a,b){var d,e;if(!a.a&&(a.a=a.c,a.b&&(a.e=new Zn(new kj(b))),a.f))for(e=new gh(a.f);e.b<e.d.jd()&&(d=(J(e.b<e.d.jd()),e.d.bf(e.c=e.b++)),Xn(d,b)||!a.g););}function Xn(a,b){var d;null!=b&&1==b.length&&null!=b[0]&&0!=(Hb(b[0]).e&4)&&(b=b[0]);if(u(a,6))return d=a.Ob(b),!u(d,60)||d.a;u(a,577)&&Tn(a);return!0}function rn(a){this.f=new C;this.c=-1!=a.indexOf("once");this.b=-1!=a.indexOf("memory");this.d=-1!=a.indexOf("unique");this.g=-1!=a.indexOf("stopOnFalse")}s(94,1,{},rn);_.a=!1;_.b=!1;
-_.c=!1;_.d=!1;_.e=null;_.g=!1;w(94);function uh(a,b){"pending"==a.e&&qn(a.c,b)}function Vn(a,b){"pending"==a.e&&qn(a.d,b)}function vh(a,b){"pending"==a.e&&qn(a.d,b)}function Pn(){this.a=new rn("memory");this.c=new rn("once memory");this.d=new rn("once memory");Ln(this.d,P(y(Vi,1),h,6,0,[new $n(this)]));Ln(this.c,P(y(Vi,1),h,6,0,[new ao(this)]))}s(133,1,{},Pn);
-_.tS=function(){var a="Deferred this\x3d"+Rb(this)+" promise\x3d"+(!this.b&&(this.b=new Qn(this)),Rb(this.b))+" state\x3d"+this.b.c.e+" restatus\x3d",b;b=this.d;b="stack\x3d"+(b.f?F(b.f.b.length):"null")+" "+b.a;return a+b};_.b=null;_.e="pending";w(133);function $n(a){this.a=a;Ui.call(this)}s(192,6,va,$n);_.Nb=function(){this.a.e="resolved";Yn(this.a.d);var a=this.a.a;a.b||Yn(a);a.f=null};w(192);function ao(a){this.a=a;Ui.call(this)}s(193,6,va,ao);
-_.Nb=function(){this.a.e="rejected";Yn(this.a.c);var a=this.a.a;a.b||Yn(a);a.f=null};w(193);function Nn(a){this.a=a;Ui.call(this)}s(134,6,va,Nn);_.Nb=function(){vh(this.a.c,this.f)};w(134);function On(a){this.a=a;Ui.call(this)}s(135,6,va,On);_.Nb=function(){uh(this.a.c,this.f)};w(135);function bo(a,b,d){0==b&&Vn(a.b,d);if(1==b){var e=a.b;"pending"==e.e&&qn(e.c,d)}2==b&&(a=a.b,"pending"==a.e&&qn(a.a,d))}
-function co(a,b,d){Ui.call(this);this.d=d;this.c=b.length>this.d?b[this.d]:null;this.b=a;this.a=!1}s(98,6,va,co);_.Nb=function(){var a,b;b=this.f;this.c?(a=Ti(this.c,b).Ob(b),u(a,84)?2==this.d?a.Zb(P(y(Vi,1),h,6,0,[new eo(this)])):a.Xb(P(y(Vi,1),h,6,0,[new fo(this,a)])):(a=ql((Qi(),Ri),a)?b:(null!=a&&Hb(a),a),bo(this,this.d,P(y(z,1),h,1,3,[a])))):bo(this,this.d,b)};_.a=!1;_.d=0;w(98);function eo(a){this.a=a;Ui.call(this)}s(190,6,va,eo);_.Nb=function(){bo(this.a,2,this.f)};w(190);
-function fo(a,b){this.a=a;this.b=b;Ui.call(this)}s(191,6,va,fo);_.Nb=function(){bo(this.a,(0==this.a.d||1==this.a.d&&this.a.a)&&this.b.Yb()?0:1,this.f)};w(191);
-function go(a){var b,d,e,f,g,l,n,p,r,q;Mn.call(this);p=Fk(a.a,"type");e=Fk(a.a,"url");d=(!Sm(a.a,"data")&&Gk(a.a,"data",{}),Sm(a.a,"data"));b=Fk(a.a,"contentType");r=(Qi(),d&&"[object FormData]"==Object.prototype.toString.call(d)?Ri:rl);q=new $wnd.XMLHttpRequest;try{null!=Fk(a.a,"username")&&null!=Fk(a.a,"password")?q.open(p,e,!0,Fk(a.a,"username"),Fk(a.a,"password")):null!=Fk(a.a,"username")?q.open(p,e,!0,Fk(a.a,"username")):q.open(p,e,!0)}catch(t){t=H(t);if(u(t,61)){a=t;d=new zh(e);r=new th(a.Z());
-if(d.e)throw new Y("Can't overwrite cause");qd(r!=d,"Self-causation not permitted");d.e=r;uh(this.c,P(y(z,1),h,1,3,[a,null]));return}throw I(t);}e=Wm(new ho(this));q&&X(q,"onprogress",e);e=q?zj(q,"upload"):null;f=Wm(new io(this));e&&X(e,"onprogress",f);if(n=(!Sm(a.a,"headers")&&Gk(a.a,"headers",{}),Sm(a.a,"headers")))for(f=mk(n),g=0,l=f.length;g<l;++g){e=f[g];var A=""+zj(n,""+e);q.setRequestHeader(e,A)}!d||r.a||ae("GET",p)||q.setRequestHeader("Content-Type",b);b=tk(a.a,"withCredentials",Om);b=!!b&&
-b.a;q&&X(q,"withCredentials",b?Ri:rl);b=v(Ck(a.a,"timeout"));b=new ph(q,b,this);jo(q,new ko(this,b));try{Um(q,"send",P(y(z,1),h,1,3,[r.a?d:Fk(a.a,"dataString")]))}catch(E){if(E=H(E),u(E,61))a=E,uh(this.c,P(y(z,1),h,1,3,[a,null]));else throw I(E);}}s(513,74,za,go);w(513);function ho(a){this.a=a;Ui.call(this)}s(514,6,va,ho);
-_.Nb=function(){var a,b,d,e;b=Si(this,0,null);e=Qm(b,"total");a=Qm(b,"loaded");d=0==a?0:0==e?100:100*a/e;b=this.a.c;e=P(y(z,1),h,1,3,[new T(e),new T(a),new T(d),"download"]);"pending"==b.e&&qn(b.a,e)};w(514);function io(a){this.a=a;Ui.call(this)}s(515,6,va,io);_.Nb=function(){var a,b,d,e;b=Si(this,0,null);e=Qm(b,"total");a=Qm(b,"loaded");d=100*a/e;b=this.a.c;e=P(y(z,1),h,1,3,[new T(e),new T(a),new T(d),"upload"]);"pending"==b.e&&qn(b.a,e)};w(515);function ko(a,b){this.a=a;this.b=b}s(516,1,{},ko);
-_.ic=function(a){4==a.readyState&&(xh(a),this.b.Cb(this.a))};w(516);function lo(){lo=m;mo=/^(.+[\?&])([^=]+)=\?(.*)$/}function no(a,b){lo();var d=a,e=null,f,g;Mn.call(this);f=new fi;0<b&&(f.b=b);null==e&&(g=mo.exec(d))&&4==g.length&&(e=g[2],d=g[1]+g[3]);null!=e&&(f.a=e);f.Fb(d,new oo(this))}s(174,74,za,no);var mo;w(174);function oo(a){this.a=a}s(512,1,{},oo);_.jc=function(a){uh(this.a.c,P(y(z,1),h,1,3,[a]))};_.Y=function(a){vh(this.a.c,P(y(z,1),h,1,3,[a]))};w(512);
-function Vj(){Vj=m;po=new lh;po.Xe(qo,new ro);po.Xe(so,new ro)}var qo="mouseenter",so="mouseleave",po;s(438,1,{});w(438);function ro(){new to;new uo}s(163,438,{},ro);w(163);function uo(){Ui.call(this)}s(439,6,va,uo);w(439);function to(){Ui.call(this)}s(440,6,va,to);w(440);function Ij(a){return U(),a.O}function vo(a,b){wo(a,xo((yo(),zo).Zc(Ao((U(),a.O))))+"-"+b,!1)}function wo(a,b,d){Bo((yo(),zo).Zc(Ao((U(),a.O))),b,d)}
-function xo(a){var b;a=a.className||"";b=Co(a,Do(32));return 0<=b?a.substr(0,b):a}function Bo(a,b,d){if(!a)throw new Lc("Null widget handle. If you are creating a composite, ensure that initWidget() has been called.");b=Ud(b);if(0==b.length)throw new D("Style names cannot be empty");d?Gd(a,b):Td(a,b)}
-function Eo(a,b){if(!a)throw new Lc("Null widget handle. If you are creating a composite, ensure that initWidget() has been called.");b=Ud(b);if(0==b.length)throw new D("Style names cannot be empty");var d=b,e=(a.className||"").split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var l=1,n=e.length;l<n;l++){var p=e[l];p.length>g&&"-"==p.charAt(g)&&0==p.indexOf(f)&&(e[l]=d+p.substring(g))}a.className=e.join(" ")}}s(20,1,{23:1,20:1});_.kc=Fo;_.lc=function(){throw new Go;};
-_.mc=function(a){(U(),this.O).style.height=a};_.nc=function(a){(U(),this.O).style.width=a};_.tS=function(){var a;this.O?(a=(U(),this.O),a=(K(),L).ob(a)):a="(null handle)";return a};w(20);function Ho(a,b,d){var e;e=d.b;e=Io((U(),e));if(-1==e){e=d.b;var f=(U(),a.O);U();var g=Jo;Ko(g);g.Fc(f,e)}else a.yc(e);Xg(a.M?a.M:a.M=new ih(a),d,b)}function Lo(a,b,d){return Xg(a.M?a.M:a.M=new ih(a),d,b)}function Mo(a,b){a.M&&Ng(a.M,b)}
-function No(a){var b;if(a.rc())throw new Y("Should only call onAttach when the widget is detached from the browser's document");a.K=!0;U();a.O.__listener=a;b=a.L;a.L=-1;0<b&&a.yc(b);a.pc();a.vc();Lg(a)}function Oo(a,b){var d;switch(U(),Io((K(),b).type)){case 16:case 32:if((d=L.pb(b))&&Ed(a.O,d))return}d=a.O;var e,f,g,l;if(Bg&&(e=(K(),b).type,e=Bg.a[e]))for(l=e.Cc();l.Tc();)g=l.Uc(),e=g.a.d,f=g.a.e,g.a.d=b,g.a.e=d,Mo(a,g.a),g.a.d=e,g.a.e=f}
-function Po(a){if(!a.rc())throw new Y("Should only call onDetach when the widget is attached to the browser's document");try{a.wc(),Lg(a)}finally{try{a.qc()}finally{U(),a.O.__listener=null,a.K=!1}}}function jk(a){if(!a.N)Qo(),Ro.a.Ue(a)&&So(a);else if(u(a.N,37))a.N.Ac(a);else if(a.N)throw new Y("This widget's parent does not implement HasWidgets");}
-function To(a,b){var d;d=a.N;if(b){if(d)throw new Y("Cannot set a new parent without first clearing the old parent");a.N=b;b.rc()&&a.sc()}else try{d&&d.rc()&&a.uc()}finally{a.N=null}}function Uo(a,b){-1==a.L?Vo((U(),a.O),b|(a.O.__eventBits||0)):a.L|=b}s(16,20,Aa);_.oc=function(){return this};_.pc=Wo;_.qc=Wo;_.Bb=function(a){Mo(this,a)};_.rc=function(){return this.K};_.sc=function(){No(this)};_.tc=function(a){Oo(this,a)};_.uc=function(){Po(this)};_.vc=Wo;_.wc=Wo;_.xc=function(a){To(this,a)};
-_.yc=function(a){Uo(this,a)};_.K=!1;_.L=0;var Xo=w(16);s(34,16,Ca);_.zc=function(){throw new Yo("This panel does not support no-arg add()");};_.pc=function(){Zo(this,($o(),ap))};_.qc=function(){Zo(this,($o(),bp))};w(34);function cp(a,b,d){jk(b);dp(a.a,b);U();var e=ep(b.O);d.appendChild(e);To(b,a)}function fp(a,b){var d;if(b.N!=a)return!1;try{To(b,null)}finally{d=(U(),b.O),Dd((K(),d)).removeChild(d),gp(a.a,b)}return!0}s(160,34,Ca);_.Bc=Ok;_.Cc=function(){return new hp(this.a)};
-_.Ac=function(a){return fp(this,a)};w(160);s(73,160,Da);_.zc=function(a){cp(this,a,(U(),this.O))};w(73);
-function ip(a,b){var d,e,f,g,l;e=Pj(W(b)).c;f=0;for(g=e.length;f<g;++f)if(d=e[f],l=qk(W(d))){d=a;var n=void 0,p=void 0,p=l.N,n=!1;if(p)if(u(p,73)){var p=l,r=void 0,r=p.N;if(u(r,73))gp(r.Bc(),p),p.xc(null);else throw new Y("You can only use this method to detach a child from an HTMLPanel");}else jk(l),n=!0;else Qo(),Ro.a.Ue(l)&&So(l);dp(d.a,l);n&&(U(),n=ep(l.O),d.O.appendChild(n));To(l,d)}else ip(a,d)}
-function Bn(a){var b,d;this.a=new jp(this);b=N();this.O=(U(),b);(U(),this.O).innerHTML="";a&&((d=qk(W(a)))?(b=d.N,u(b,34)?(cp(this,d,this.O),b.zc(this)):(b=Dd((K(),a)),b.appendChild(this.O),this.O.appendChild(a),kp(this,null))):(this.O=a,kp(this,null)));ip(this,this.O)}s(492,73,Da,Bn);w(492);
-function kp(a,b){var d,e;if(a&&!a.N)if(b)if(u(b,73))d=b,(e=Cd((U(),a.O)))?cp(d,a,e):cp(d,a,d.O);else if(u(b,85))b.Oc(a);else if(u(b,37))try{b.zc(a)}catch(f){if(f=H(f),u(f,26))a.xc(b);else throw I(f);}else a.xc(b);else{a:{var g;e=Cd((U(),a.O));for(d=$doc.body;e&&d!=e;){if(uk(e)&&(g=qk(W(e)))){b=g;break a}e=Dd((K(),e))}b=null}b?kp(a,b):(Qo(),eh(Ro,a),a.sc())}}function U(){U=m;Jo=jb()}function lp(a){U();var b=$doc;return(K(),b).createElement(a)}
-function mp(a,b,d){U();b==np&&8192==Io((K(),a).type)&&(np=null);d.tc(a)}function Ao(a){U();return Nd((K(),a))}function op(a){U();var b;var d=pp,e,f,g;qp&&d&&d.a.d.Ue(qp)?(b=rp.a,e=rp.b,f=rp.c,g=rp.d,sp(rp),rp.d=a,Ng(d,rp),d=!(rp.a&&!rp.b),rp.a=b,rp.b=e,rp.c=f,rp.d=g,b=d):b=!0;!b&&a&&((K(),a).stopPropagation(),a.preventDefault());return b}function ep(a){U();return a.__gwt_resolve?a.__gwt_resolve():a}function Vo(a,b){U();Jo.Gc(a,b)}var Jo,np;function tp(a){return U(),Io((K(),a).type)}
-function up(a){U();Ko(Jo);!qp&&(qp=new Ig);pp||(pp=new jh(null,!0),rp=new vp);return Xg(pp,qp,a)}var pp;function sp(a){a.f=!1;a.g=null;a.a=!1;a.b=!1;a.c=!0;a.d=null}function vp(){}s(277,542,{},vp);_.sb=function(a){a.Dc(this);rp.c=!1};_.tb=function(){return qp};_.vb=function(){sp(this)};_.a=!1;_.b=!1;_.c=!1;var qp,rp;w(277);function wp(){wp=m;new xp;yp=new zp;Ap=Bp()}
-function Bp(){var a;a=(Cp(),Dp).Hc();null!=a&&a.length?(a=a.substr(1,a.length-1),a=$wnd.decodeURI(a.replace("%23","#"))):a="";return a}function Ep(){wp();var a;a=Bp();a!==Ap&&(Ap=a,Vg(yp,a))}var yp,Ap;function zp(){this.a=new ih(null)}s(499,1,{21:1},zp);_.Bb=function(a){Ng(this.a,a)};w(499);function xp(){var a;a=B(Ep);$wnd.addEventListener("hashchange",a,!1)}s(500,1,{},xp);w(500);function Cp(){Cp=m;Dp=fb()}function Fp(a,b){return Xg((!Gp&&(Gp=new Hp),Gp),a,b)}
-function Ip(){Cp();Jp&&Pg((!Gp&&(Gp=new Hp),Gp))}function Kp(){Cp();var a;Jp&&(a=new Lp,Gp&&Ng(Gp,a));return null}function Mp(){Cp();var a,b;Np&&(b=ie(),a=he(),Op!=b||Pp!=a)&&(Op=b,Pp=a,a=(!Gp&&(Gp=new Hp),Gp),Tg&&(b=new Rg,Ng(a,b)))}var Jp=!1,Gp,Dp,Pp=0,Op=0,Np=!1;function Qp(){Qp=m;Rp=new Ig}function Lp(){Qp()}s(309,542,{},Lp);_.sb=Sp;_.tb=function(){return Rp};var Rp;w(309);var Tp="",Up;function Hp(){jh.call(this,null,!1)}s(113,48,{21:1},Hp);w(113);
-function Io(a){switch(a){case "blur":return 4096;case "change":return 1024;case "click":return 1;case "dblclick":return 2;case "focus":return 2048;case "keydown":return 128;case "keypress":return 256;case "keyup":return 512;case "load":return 32768;case "losecapture":return 8192;case "mousedown":return 4;case "mousemove":return 64;case "mouseout":return 32;case "mouseover":return 16;case "mouseup":return 8;case "scroll":return 16384;case "error":return Ea;case "DOMMouseScroll":case "mousewheel":return Fa;
-case "contextmenu":return 262144;case "paste":return qa;case "touchstart":return Ga;case "touchmove":return Ha;case "touchend":return ra;case "touchcancel":return Ia;case "gesturestart":return Ja;case "gesturechange":return Ka;case "gestureend":return La;default:return-1}}function Ko(a){Vp||(a.Ec(),Vp=!0)}function uk(a){a=a.__listener;return!Xb(a)&&u(a,18)?a:null}s(563,1,{});var Vp=!1;w(563);
-function Wp(){Wp=m;Xp={_default_:Yp,dragenter:Zp,dragover:Zp};$p={click:aq,dblclick:aq,mousedown:aq,mouseup:aq,mousemove:aq,mouseover:aq,mouseout:aq,mousewheel:aq,keydown:bq,keyup:bq,keypress:bq,touchstart:aq,touchend:aq,touchmove:aq,touchcancel:aq,gesturestart:aq,gestureend:aq,gesturechange:aq}}function cq(a,b){for(var d=0,e=a.firstChild;e;){if(1==e.nodeType){if(b==d)return e;++d}e=e.nextSibling}return null}
-function dq(){eq=B(Yp);fq=B(gq);var a=Xp;hq(a,function(b,e){a[b]=B(e)});var b=$p;hq(b,function(a,e){b[a]=B(e)});hq(b,function(a,b){$wnd.addEventListener(a,b,!0)})}function iq(a,b){var d=Xp;a.addEventListener(b,d[b]||d._default_,!1)}
-function jq(a,b){var d=(a.__eventBits||0)^b;a.__eventBits=b;d&&(d&1&&(a.onclick=b&1?eq:null),d&2&&(a.ondblclick=b&2?eq:null),d&4&&(a.onmousedown=b&4?eq:null),d&8&&(a.onmouseup=b&8?eq:null),d&16&&(a.onmouseover=b&16?eq:null),d&32&&(a.onmouseout=b&32?eq:null),d&64&&(a.onmousemove=b&64?eq:null),d&128&&(a.onkeydown=b&128?eq:null),d&256&&(a.onkeypress=b&256?eq:null),d&512&&(a.onkeyup=b&512?eq:null),d&1024&&(a.onchange=b&1024?eq:null),d&2048&&(a.onfocus=b&2048?eq:null),d&4096&&(a.onblur=b&4096?eq:null),
-d&8192&&(a.onlosecapture=b&8192?eq:null),d&16384&&(a.onscroll=b&16384?eq:null),d&32768&&(a.onload=b&32768?fq:null),d&Ea&&(a.onerror=b&Ea?eq:null),d&Fa&&(a.onmousewheel=b&Fa?eq:null),d&262144&&(a.oncontextmenu=b&262144?eq:null),d&qa&&(a.onpaste=b&qa?eq:null),d&Ga&&(a.ontouchstart=b&Ga?eq:null),d&Ha&&(a.ontouchmove=b&Ha?eq:null),d&ra&&(a.ontouchend=b&ra?eq:null),d&Ia&&(a.ontouchcancel=b&Ia?eq:null),d&Ja&&(a.ongesturestart=b&Ja?eq:null),d&Ka&&(a.ongesturechange=b&Ka?eq:null),d&La&&(a.ongestureend=b&
-La?eq:null))}function bq(a){op(a)}function aq(a){Wp();if(op(a)&&kq){var b;b=kq;U();var d;(d=uk(b))?(mp(a,b,d),b=!0):b=!1;b&&(K(),a).stopPropagation()}}function Zp(a){(K(),a).preventDefault();Yp(a)}function Yp(a){var b;for(b=(K(),L).db(a);b&&!uk(b);)b=b.parentNode;b&&mp(a,1!=b.nodeType?null:b,uk(b))}function gq(a){(K(),L).db(a).__gwtLastUnhandledEvent=a.type;Yp(a)}s(564,563,{});_.Ec=function(){dq()};_.Fc=function(a,b){iq(a,b)};_.Gc=function(a,b){Ko(this);jq(a,b)};var Xp,kq,$p,eq,fq;w(564);
-s(565,564,{});w(565);function lb(){Wp()}s(413,565,{},lb);_.Fc=function(a,b){iq(a,b);"dragover"===b&&iq(a,"dragenter")};w(413);function lq(){lq=m;Wp();$p.DOMMouseScroll=aq}
-function mq(){$wnd.addEventListener("mouseout",B(function(a){var b=(Wp(),kq);if(b&&!a.relatedTarget&&"html"==a.target.tagName.toLowerCase()){var d=$doc.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(d)}}),!0)}function mb(){lq()}s(412,564,{},mb);_.Ec=function(){dq();mq()};_.Gc=function(a,b){Ko(this);jq(a,b);b&Fa&&a.addEventListener("DOMMouseScroll",(Wp(),eq),!1)};w(412);
-function kb(){Wp()}s(411,565,{},kb);w(411);function hq(a,b){for(var d in a)a.hasOwnProperty(d)&&b(d,a[d])}function hb(){}s(444,1,{},hb);_.Hc=function(){return $wnd.location.hash};_.Ic=function(){return $wnd.location.search};
-_.Jc=function(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var e;try{e=B(Kp)()}finally{b=a&&a(b)}if(null!=e)return e;if(null!=b)return b};$wnd.onunload=B(function(a){try{Cp(),Jp&&Pg((!Gp&&(Gp=new Hp),Gp))}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})};_.Kc=function(){var a=$wnd.onresize;$wnd.onresize=B(function(b){try{Mp()}finally{a&&a(b)}})};w(444);
-function nq(a,b){var d;d=$doc;d=(K(),L).cb(d,a);$doc.body.appendChild(d);b.ab();$doc.body.removeChild(d)}function gb(){}s(468,444,{},gb);_.Hc=function(){var a=$wnd.location.href,b=a.indexOf("#");return 0<b?a.substring(b):""};_.Ic=function(){var a=$wnd.location.href,b=a.indexOf("#");0<=b&&(a=a.substring(0,b));b=a.indexOf("?");return 0<b?a.substring(b):""};
-_.Jc=function(){nq('function __gwt_initWindowCloseHandler(beforeunload, unload) {\n var wnd \x3d window\n , oldOnBeforeUnload \x3d wnd.onbeforeunload\n , oldOnUnload \x3d wnd.onunload;\n \n wnd.onbeforeunload \x3d function(evt) {\n var ret, oldRet;\n try {\n ret \x3d beforeunload();\n } finally {\n oldRet \x3d oldOnBeforeUnload \x26\x26 oldOnBeforeUnload(evt);\n }\n // Avoid returning null as IE6 will coerce it into a string.\n // Ensure that "" gets returned properly.\n if (ret !\x3d null) {\n return ret;\n }\n if (oldRet !\x3d null) {\n return oldRet;\n }\n // returns undefined.\n };\n \n wnd.onunload \x3d function(evt) {\n try {\n unload();\n } finally {\n oldOnUnload \x26\x26 oldOnUnload(evt);\n wnd.onresize \x3d null;\n wnd.onscroll \x3d null;\n wnd.onbeforeunload \x3d null;\n wnd.onunload \x3d null;\n }\n };\n \n // Remove the reference once we\'ve initialize the handler\n wnd.__gwt_initWindowCloseHandler \x3d undefined;\n}\n',new oq)};
-_.Kc=function(){nq("function __gwt_initWindowResizeHandler(resize) {\n var wnd \x3d window, oldOnResize \x3d wnd.onresize;\n \n wnd.onresize \x3d function(evt) {\n try {\n resize();\n } finally {\n oldOnResize \x26\x26 oldOnResize(evt);\n }\n };\n \n // Remove the reference once we've initialize the handler\n wnd.__gwt_initWindowResizeHandler \x3d undefined;\n}\n",new pq)};w(468);function oq(){}s(469,1,{},oq);_.ab=function(){$wnd.__gwt_initWindowCloseHandler(B(Kp),B(Ip))};
-w(469);function pq(){}s(470,1,{},pq);_.ab=function(){$wnd.__gwt_initWindowResizeHandler(B(Mp))};w(470);function ib(){}s(471,444,{},ib);_.Hc=function(){var a=$wnd.location.href,b=a.indexOf("#");return 0<b?a.substring(b):""};w(471);function qq(a,b){var d;if(d=fp(a,b)){var e=(U(),b.O);e.style.left="";e.style.top="";e.style.position=""}return d}s(420,160,Ca);_.zc=function(a){cp(this,a,(U(),this.O))};_.Ac=function(a){return qq(this,a)};w(420);function $o(){$o=m;ap=new rq;bp=new sq}
-function tq(a){fh.call(this,a)}function Zo(a,b){$o();var d,e,f;d=null;for(f=a.Cc();f.Tc();){e=f.Uc();try{b.Lc(e)}catch(g){if(g=H(g),u(g,12))e=g,!d&&(d=new dh),eh(d,e);else throw I(g);}}if(d)throw new tq(d);}s(425,161,na,tq);var ap,bp;w(425);function rq(){}s(426,1,{},rq);_.Lc=function(a){a.sc()};w(426);function sq(){}s(427,1,{},sq);_.Lc=function(a){a.uc()};w(427);function uq(){uq=m;vq()}s(419,16,Aa);_.Mc=function(){return Sd((U(),this.O))};_.sc=function(){No(this);-1==this.Mc()&&this.Nc(0)};
-_.Nc=function(a){(U(),this.O).tabIndex=a};w(419);s(158,419,Aa);w(158);function wq(){uq();var a;a=$doc;a=(K(),L).bb(a,"button");this.O=(U(),a);M((U(),this.O),"gwt-Button")}s(159,158,Aa,wq);w(159);
-function xq(){uq();var a=(U(),de());U();var b=$doc,b=(K(),b).createElement("span");this.O=(U(),b);this.a=a;a=$doc;this.b=(K(),a).createElement("label");this.O.appendChild(this.a);this.O.appendChild(this.b);a=$doc;!a.gwt_uid&&(a.gwt_uid=1);a="gwt-uid-"+a.gwt_uid++;this.a.id=a;this.b.htmlFor=a;new yq(this.b);this.a&&(this.a.tabIndex=0);M(this.O,"gwt-CheckBox")}s(166,158,Aa,xq);_.Mc=function(){return Sd(this.a)};_.vc=function(){U();this.a.__listener=this};
-_.wc=function(){U();this.a.__listener=null;var a=this.K?(Qi(),this.a.checked?Ri:rl):(Qi(),this.a.defaultChecked?Ri:rl);!a&&(a=(Qi(),rl));Qi();this.a.checked=a.a;this.a.defaultChecked=a.a};_.Nc=function(a){this.a&&(this.a.tabIndex=a)};_.yc=function(a){if(-1==this.L){var b=this.a,d;d=this.a;d=(U(),d.__eventBits||0);Vo(b,a|d)}else-1==this.L?Vo((U(),this.O),a|(this.O.__eventBits||0)):this.L|=a};_.c=!1;w(166);function zq(a){this.a=a}s(451,1,{},zq);
-_.xb=function(){var a=this.a,b;b=this.a;b=b.K?(Qi(),b.a.checked?Ri:rl):(Qi(),b.a.defaultChecked?Ri:rl);Vg(a,b)};w(451);function Aq(a){if(!a.J)throw new Y("initWidget() is not called yet");-1!=a.L&&(Uo(a.J,a.L),a.L=-1);No(a.J);U();a.O.__listener=a;Lg(a)}s(544,16,Aa);_.rc=function(){return this.J?this.J.K:!1};_.sc=function(){Aq(this)};_.tc=function(a){Oo(this,a);Oo(this.J,a)};_.uc=function(){try{Lg(this)}finally{Po(this.J)}};_.lc=function(){throw new Go;};w(544);
-function Bq(a,b,d){d?a.a.innerHTML=b||"":(d=a.a,(K(),d).textContent=b||"");if(a.c!=a.b)switch(a.c=a.b,b=a.a,a.b.b){case 0:b.dir="rtl";break;case 1:b.dir="ltr";break;case 2:Ah(b)!=(Bh(),Eh)&&(b.dir="")}}function yq(a){this.a=a;this.c=this.b=Ah(a)}s(164,1,{},yq);w(164);s(146,16,Aa);w(146);s(382,146,Aa);w(382);function Cq(){var a=N();ae("span",(K(),a).tagName);this.O=(U(),a);this.a=new yq(this.O);M((U(),this.O),"gwt-HTML");Bq(this.a,"",!0);this.O.style.whiteSpace=(ng(),"nowrap")}s(115,382,Aa,Cq);w(115);
-function Dq(a,b){if(a.D!=b)return!1;try{To(b,null)}finally{var d=a.Pc(),e=(U(),b.O);d.removeChild(e);a.D=null}return!0}function Eq(a,b){if(b!=a.D&&(b&&jk(b),a.D&&Dq(a,a.D),a.D=b)){U();var d=a.Pc(),e=ep(Ij(a.D));d.appendChild(e);To(b,a)}}s(103,34,Ma);_.zc=function(a){if(this.D)throw new Y("SimplePanel can only contain one child widget");this.Oc(a)};_.Pc=Fo;_.Cc=function(){return new Fq(this)};_.Ac=function(a){return Dq(this,a)};_.Oc=function(a){Eq(this,a)};w(103);
-function yo(){yo=m;a:{switch(Xa){case 4:case 5:case 6:zo=new Gq;break a}zo=new Hq}}function Iq(a){return Pd((U(),a.O),"offsetHeight")}function Jq(a){return Pd((U(),a.O),"offsetWidth")}function Kq(a){a.B&&(Lq(a.A,!1,!1),Pg(a))}function Mq(a){var b;if(b=a.D)null!=a.j&&b.mc(a.j),null!=a.k&&b.nc(a.k)}function Nq(a,b,d){a.s=b;a.C=d;b-=fe();d-=ge();a=(U(),a.O);a.style.left=b+(Q(),"px");a.style.top=d+"px"}s(104,103,Ma);_.Pc=function(){return zo.Yc(Ao((U(),this.O)))};
-_.kc=function(){return zo.Zc(Ao((U(),this.O)))};_.Qc=function(){this.Rc(!1)};_.Rc=function(){Kq(this)};_.wc=function(){this.B&&Lq(this.A,!1,!0)};_.mc=function(a){this.j=a;Mq(this);0==a.length&&(this.j=null)};_.Sc=function(a,b){Nq(this,a,b)};_.Oc=function(a){Eq(this,a);Mq(this)};_.nc=function(a){this.k=a;Mq(this);0==a.length&&(this.k=null)};_.g=!1;_.i=!1;_.q=!1;_.r=!1;_.s=0;_.t=!1;_.w=!1;_.B=!1;_.C=0;var zo;w(104);
-function Sg(){var a,b,d,e;null.yf();e=(Cp(),ie());d=he();null.yf(Be());null.yf(Q());null.yf(Q());b=$doc;b=(("CSS1Compat"===b.compatMode?b.documentElement:b.body).scrollWidth||0)|0;a=$doc;a=(("CSS1Compat"===a.compatMode?a.documentElement:a.body).scrollHeight||0)|0;null.yf((b>e?b:e)+"px");null.yf((a>d?a:d)+"px");null.yf(Be())}function Oq(){}s(273,1,{},Oq);w(273);function Pq(a){this.a=a}s(274,1,{},Pq);
-_.Dc=function(a){var b=this.a,d,e,f;if(a.a||!b.w&&a.b)b.t&&(a.a=!0);else if(!a.a)switch(e=a.d,d=(K(),L).qb(e),(d=Wd(d)?Ed((U(),b.O),d)||!!d.shadowRoot&&d.shadowRoot.contains(b.O):!1)&&(a.b=!0),b.t&&(a.a=!0),f=(U(),Io((K(),e).type)),f){case 4:case Ga:if(np){a.b=!0;break}if(!d&&b.g){b.Rc(!0);break}break;case 8:case 64:case 1:case 2:case ra:if(np){a.b=!0;break}break;case 2048:e=L.qb(e),b.t&&!d&&e&&(e.blur&&e!=$doc.body&&e.blur(),a.a=!0)}};w(274);function Qq(a){this.a=a}s(275,1,{},Qq);
-_.Ab=function(){this.a.i&&this.a.Qc()};w(275);function Rq(a){if(a.i){if(a.a.r){$doc.body.appendChild(a.a.n);var b;b=a.a.o;Cp();Jp||(Dp.Jc(),Jp=!0);Np||(Dp.Kc(),Np=!0);b=Fp((!Tg&&(Tg=new Ig),Tg),b);a.f=b;Sg();a.b=!0}}else a.b&&($doc.body.removeChild(a.a.n),Sq(a.f.a),a.f=null,a.b=!1)}function Tq(a){a.i||(Rq(a),a.c||qq(a.j.v,a.a));(yo(),zo).$c(Ij(a.a),"rect(auto, auto, auto, auto)");Ij(a.a).style.overflow="visible"}
-function Uq(a,b){var d,e,f,g;a.i||(b=1-b);d=v(b*a.d);f=v(b*a.e);g=a.d-d>>1;e=a.e-f>>1;f=e+f;d=g+d;(yo(),zo).$c(Ij(a.a),"rect("+g+"px, "+f+"px, "+d+"px, "+e+"px)")}
-function Lq(a,b,d){a.c=d;gc(a);a.g&&(xc(a.g),a.g=null,Tq(a));a.a.B=b;var e=a.a;e.u&&(Sq(e.u.a),e.u=null);e.p&&(Sq(e.p.a),e.p=null);if(e.B){e.u=up(new Pq(e));var f;f=new Qq(e);wp();f=Xg(yp.a,(!Wg&&(Wg=new Ig),Wg),f);e.p=f}d=!d&&a.a.q;a.i=b;d?b?(Rq(a),Ij(a.a).style.position="fixed",-1!=a.a.C&&a.a.Sc(a.a.s,a.a.C),(yo(),zo).$c(Ij(a.a),"rect(0px, 0px, 0px, 0px)"),b=a.j.v,cp(b,a.a,(U(),b.O)),a.g=new Vq(a),wc(a.g,1)):hc(a):(Rq(a),a.i?(Ij(a.a).style.position="absolute",-1!=a.a.C&&a.a.Sc(a.a.s,a.a.C),b=a.j.v,
-cp(b,a.a,(U(),b.O))):a.c||qq(a.j.v,a.a),Ij(a.a).style.overflow="visible")}function Wq(a,b){this.j=a;lc.call(this);this.a=b}s(271,105,{},Wq);_.P=function(){Tq(this)};_.Q=function(){this.d=Iq(this.a);this.e=Jq(this.a);Ij(this.a).style.overflow="hidden";Uq(this,(1+Math.cos(aa))/2)};_.R=function(a){Uq(this,a)};_.a=null;_.b=!1;_.c=!1;_.d=0;_.e=-1;_.i=!1;w(271);function Vq(a){this.a=a}s(272,38,{},Vq);_.W=function(){this.a.g=null;hc(this.a)};w(272);function Xq(){Xq=m;Yq()}
-function Zq(a){return function(){this.__gwt_resolve=$q;return a.lc()}}function $q(){throw"A PotentialElement cannot be resolved twice.";}function Yq(){function a(){}a.prototype={className:"",clientHeight:0,clientWidth:0,dir:"",getAttribute:function(a){return this[a]},href:"",id:"",lang:"",nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,d){this[a]=d},src:"",style:{},title:""};$wnd.GwtPotentialElementShim=a}s(545,544,Aa);w(545);
-function Qo(){Qo=m;ar=new br;cr=new lh;Ro=new dh}function So(a){Qo();try{a.uc()}finally{Ro.a.Ye(a)}}function dr(){Qo();var a;if(a=cr.We(null))return a;0==cr.jd()&&(a=new er,Cp(),Jp||(Dp.Jc(),Jp=!0),Fp(Qg?Qg:Qg=new Ig,a),Hh());a=new fr;cr.Xe(null,a);eh(Ro,a);return a}function gr(){Qo();return $doc.body}s(421,420,Ca);var ar,cr,Ro;w(421);function br(){}s(423,1,{},br);_.Lc=function(a){a.rc()&&a.uc()};w(423);function er(){}s(424,1,{},er);_.zb=function(){Qo();try{Zo(Ro,ar)}finally{Ro.a.Ze(),cr.Ze()}};w(424);
-function fr(){var a=gr();this.a=new jp(this);this.O=(U(),a);No(this)}s(422,421,Ca,fr);w(422);function Fq(a){this.c=a;this.a=!!this.c.D}s(265,1,{},Fq);_.Tc=Ok;_.Uc=function(){if(!this.a||!this.c.D)throw new rd;this.a=!1;return this.b=this.c.D};_.Vc=function(){this.b&&Dq(this.c,this.b)};_.a=!1;_.b=null;w(265);
-function dp(a,b){var d=a.c,e,f;if(0>d||d>a.c)throw new hr;if(a.c==a.a.length){f=zc(Xo,h,16,2*a.a.length,0);for(e=0;e<a.a.length;++e)f[e]=a.a[e];a.a=f}++a.c;for(e=a.c-1;e>d;--e)a.a[e]=a.a[e-1];a.a[d]=b}function gp(a,b){var d;a:{for(d=0;d<a.c;++d)if(a.a[d]==b)break a;d=-1}if(-1==d)throw new rd;if(0>d||d>=a.c)throw new hr;for(--a.c;d<a.c;++d)a.a[d]=a.a[d+1];a.a[a.c]=null}function jp(a){this.b=a;this.a=zc(Xo,h,16,4,0)}s(506,1,{},jp);_.Cc=function(){return new hp(this)};_.c=0;w(506);
-function hp(a){this.c=a}s(172,1,{},hp);_.Tc=function(){return this.b<this.c.c};_.Uc=function(){if(this.b>=this.c.c)throw new rd;this.a=this.c.a[this.b];++this.b;return this.a};_.Vc=function(){if(!this.a)throw new yd;this.c.b.Ac(this.a);--this.b;this.a=null};_.b=0;w(172);function vq(){vq=m;ir=bb()}function cb(){vq()}s(479,1,{},cb);_.Wc=function(a){a.focus()};var ir;w(479);function eb(){vq()}s(493,479,{},eb);w(493);function db(){vq()}s(494,493,{},db);
-_.Wc=function(a){$wnd.setTimeout(function(){a.focus()},0)};w(494);function Gq(){}s(472,1,{},Gq);_.Xc=function(){return N()};_.Yc=jr;_.Zc=function(a){return Dd((K(),a))};_.$c=function(a,b){a.style.clip=b};w(472);function kr(){kr=m;a:{var a=navigator.userAgent;if(-1!=a.indexOf("Macintosh")&&(a=/rv:([0-9]+)\.([0-9]+)/.exec(a))&&3==a.length&&1008>=1E3*parseInt(a[1])+parseInt(a[2])){lr=!0;break a}lr=!1}}function Hq(){kr()}s(473,472,{},Hq);
-_.Xc=function(){var a;a=(U(),N());lr&&(a.innerHTML="\x3cdiv\x3e\x3c/div\x3e",Yh((fd(),gd),new mr(a)));return a};_.Yc=function(a){return lr?Nd((K(),a)):a};_.Zc=function(a){return lr?a:Dd((K(),a))};_.$c=function(a,b){a.style.clip=b;var d=(Be(),"none");a.style.display=d;a.style.display=""};var lr=!1;w(473);function mr(a){this.a=a}s(474,1,{},mr);_.ab=function(){this.a.style.overflow=(lf(),"auto")};w(474);function nr(){var a,b;b=Ya();a=b._c();b=b.ad();if(a!==b)throw new or(a,b);}s(97,12,ba);w(97);
-s(32,97,ba);w(32);
-function or(a,b){this.e=u("Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+b+").\nExpect more errors.",12)?"Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+b+").\nExpect more errors.":null;this.f=""+("Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+b+
-").\nExpect more errors.");Fc(this)}s(178,32,ba,or);w(178);function ab(){}s(477,1,{},ab);_._c=function(){return"gecko1_8"};_.ad=function(){var a=navigator.userAgent.toLowerCase(),b=$doc.documentMode;return-1!=a.indexOf("webkit")?"safari":-1!=a.indexOf("msie")&&10<=b&&11>b?"ie10":-1!=a.indexOf("msie")&&9<=b&&11>b?"ie9":-1!=a.indexOf("msie")&&8<=b&&11>b?"ie8":-1!=a.indexOf("gecko")||11<=b?"gecko1_8":"unknown"};w(477);function Za(){}s(476,1,{},Za);_._c=function(){return"ie10"};
-_.ad=function(){var a=navigator.userAgent.toLowerCase(),b=$doc.documentMode;return-1!=a.indexOf("webkit")?"safari":-1!=a.indexOf("msie")&&10<=b&&11>b?"ie10":-1!=a.indexOf("msie")&&9<=b&&11>b?"ie9":-1!=a.indexOf("msie")&&8<=b&&11>b?"ie8":-1!=a.indexOf("gecko")||11<=b?"gecko1_8":"unknown"};w(476);function $a(){}s(478,1,{},$a);_._c=function(){return"safari"};
-_.ad=function(){var a=navigator.userAgent.toLowerCase(),b=$doc.documentMode;return-1!=a.indexOf("webkit")?"safari":-1!=a.indexOf("msie")&&10<=b&&11>b?"ie10":-1!=a.indexOf("msie")&&9<=b&&11>b?"ie9":-1!=a.indexOf("msie")&&8<=b&&11>b?"ie8":-1!=a.indexOf("gecko")||11<=b?"gecko1_8":"unknown"};w(478);function xh(a){a.onreadystatechange=function(){}}function jo(a,b){a.onreadystatechange=B(function(){b.ic(a)})}
-function Sq(a){var b=a.a,d=a.d,e=a.c;a=a.b;0<b.b?(d=new pr(b,d,e,a),!b.a&&(b.a=new C),vc(b.a,d)):mh(b,d,e,a)}function bh(a,b,d){this.a=a;this.d=b;this.c=null;this.b=d}s(312,1,{},bh);w(312);function Zg(a,b,d){this.a=a;this.d=b;this.c=null;this.b=d}s(313,1,{},Zg);_.ab=function(){$g(this.a,this.d,this.c,this.b)};w(313);function pr(a,b,d,e){this.a=a;this.d=b;this.c=d;this.b=e}s(314,1,{},pr);_.ab=function(){mh(this.a,this.d,this.c,this.b)};w(314);
-function qr(){qr=m;a:{var a=document.createElement("fakeelement"),b={animationName:"animationend",OAnimationName:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"},d;for(d in b)if(void 0!==a.style[d]){rr=b[d];break a}rr=void 0}a:for(a=document.createElement("fakeelement"),b=["animation","oAnimation","mozAnimation","webkitAnimation"],d=0;d<b.length;d++)if(void 0!==a.style[b[d]])break a}
-function sr(a,b){qr();var d=B(function(a){b.bd(a)});a.addEventListener(rr,d,!1);!a._vaadin_animationend_callbacks&&(a._vaadin_animationend_callbacks=[]);a._vaadin_animationend_callbacks.push(d);return d}function tr(a){qr();return a.webkitAnimationName?a.webkitAnimationName:a.animationName?a.animationName:a.mozAnimationName?a.mozAnimationName:a.oAnimationName?a.oAnimationName:""}
-function ur(a){qr();a=a.a;return a.getPropertyValue?a.getPropertyValue("-webkit-animation-name")?a.getPropertyValue("-webkit-animation-name"):a.getPropertyValue("animation-name")?a.getPropertyValue("animation-name"):a.getPropertyValue("-moz-animation-name")?a.getPropertyValue("-moz-animation-name"):a.getPropertyValue("-o-animation-name")?a.getPropertyValue("-o-animation-name"):"":""}var rr;function vr(){vr=m;new nn;wr=new C}var wr;
-function xr(){xr=m;var a;a=(!Z&&(Z=new yr),Z);var b,d,e,f;null==zr&&(b=f=e=d="",a.a.d?(d="ff",e="ff"+a.a.a,f=e+a.a.b,b="gecko"):a.a.c?(d="sa",e="ch",b="webkit"):a.a.k?(d="sa",e="sa"+a.a.a,f=e+a.a.b,b="webkit"):a.a.f?(d="ie",e="ie"+a.a.a,f=e+a.a.b,b="trident"):a.a.j&&(d="op",e="op"+a.a.a,f=e+a.a.b,b="presto"),zr="v-"+d,""===e||(zr=zr+" v-"+e),""===f||(zr=zr+" v-"+f),""===b||(zr=zr+" v-"+b),b=5==a.a.p?"v-android":4==a.a.p?"v-ios v-ios"+a.a.q:1==a.a.p?"v-win":3==a.a.p?"v-lin":2==a.a.p?"v-mac":null,null!=
-b&&(zr=zr+" "+b),a.b&&(zr+=" v-touch"));a=zr;b=(Qo(),dr());Bo(b.kc(),a,!0)}function Ar(a){return a.a.f&&8==a.a.a}function Br(a){return a.a.f&&9==a.a.a}function yr(){xr();var a;this.a=new Cr($wnd.navigator.userAgent);if(this.a.f&&(a=(a=$wnd.document.documentMode)?a:-1,-1!=a)){var b=this.a;b.a=a;b.b=0}if(this.a.c)this.b="ontouchstart"in window;else if(this.a.f)this.b=!!navigator.msMaxTouchPoints;else{var d;try{document.createEvent("TouchEvent"),d=!0}catch(e){d=!1}this.b=d}}s(29,1,{},yr);_.b=!1;
-var zr=null,Z;w(29);function Dr(a){a=1!=a.nodeType?{}:$wnd.document.defaultView&&$wnd.document.defaultView.getComputedStyle?$wnd.document.defaultView.getComputedStyle(a,null):a.currentStyle?a.currentStyle:void 0;this.a=a}s(170,1,{},Dr);w(170);function Yh(a,b){++a.a;a.b=nd(a.b,[b,!1]);id(a);a.b=nd(a.b,[new Er(a),!1]);id(a)}function hd(){}s(445,408,{},hd);_.a=0;w(445);function Er(a){this.a=a}s(446,1,{},Er);_.ab=function(){--this.a.a};w(446);function Fr(){Fr=m;U();N()}
-function Gr(){Fr();var a;0>Hr&&(a=(U(),N()),a.style.width="50px",a.style.height="50px",a.style.overflow="scroll",a.style.position="absolute",a.style.marginLeft="-5000px",gr().appendChild(a),Hr=((a.offsetWidth||0)|0)-Pd(a,"clientWidth"),gr().removeChild(a));return Hr}function Ir(a){Fr();null!=a.getBoundingClientRect?(a=a.getBoundingClientRect(),a=a.bottom-a.top):a=a.offsetHeight;return a}function Jr(a){Fr();return a.getBoundingClientRect?(a=a.getBoundingClientRect(),a.right-a.left):a.offsetWidth}
-function Kr(a,b){Fr();return 0.49>=(0>=a-b?0-(a-b):a-b)}var Hr=-1;function Lr(a){var b;b=Mr(a.f,Nr(a));Or(a,b[0]);a.f=b[1];Or(a,b[2])}function Or(a,b){var d,e;for(d=b.b;d<b.a;d++)e=a.n.Ye(F(d)),a.o.Ye(a.fd(e))}function Pr(a){a.g||(a.g=!0,Yh((fd(),gd),a.i))}function Qr(a){var b;b=a.jd();-1==b&&(b=Rr(a.r));return $(0,b)}function Nr(a){var b;b=Qr(a);var d=a.r;a=(d.a-d.b)*a.e.a;return Sr(new Tr(d.b-a,d.a+a),b)}function Ur(a,b){b.b>=b.a||(a.j=new Vr,a.gd(b.b,b.a-b.b,a.j))}
-function Wr(a,b){var d;d=a.fd(b);return a.o.Ue(d)?a.o.We(d).a:-1}function Xr(a,b){var d,e;e=b.a;d=a.p.We(e);d||(d=F(0),a.q.Xe(e,b));a.p.Xe(e,F(d.a+1))}function Yr(a,b){a.s=b;Or(a,a.f);a.f=$(0,0);var d=a.k,e,f;e=d.a.o.a;f=e.n;d.a.b.g>=b&&(d.a.b.g=b-1);b>f?Zr(e,f,b-f):b<f&&$r(e,b,f-b);0<b&&(d.a.i=!0,e=as(d.a.o),d.b.cd(e.b,e.a-e.b))}
-function bs(a,b,d){var e,f,g;e=$(b,d.jd());a.j&&(ic(),a.j=null);f=Nr(a);f=Mr(e,f)[1];if(f.b<f.a){for(e=f.b;e<f.a;e++)g=d.bf(e-b),a.n.Xe(F(e),g),a.o.Xe(a.Ee(g),F(e));a.k&&cs(a.k.a.o.a,f.b,f.a-f.b);if(ds(a.f))a.f=f;else if(Lr(a),ds(a.f))a.f=f;else{b=a.f;if(b.b>f.a||f.b>b.a)throw new D("There is a gap between "+b+" and "+f);b=new Tr(Jc(b.b,f.b),Ec(b.a,f.a));a.f=b}a.k&&es(a.k,a.f.b,Rr(a.f));for(b=d.Cc();b.Tc();)d=b.Uc(),f=a.Ee(d),(f=a.q.We(f))&&(f.b=d)}Pr(a)}
-function fs(a,b){var d,e;e=b.a;if(d=a.p.We(e)){var f=F(1);u(f,77)&&f.a==d.a?(a.q.Ye(e),a.p.Ye(e)):a.p.Xe(e,F(d.a-1))}else throw new Y("Row "+gs(b)+" with key "+e+" was not pinned to begin with");}s(279,1,{});_.cd=function(a,b){this.r=$(a,b);Pr(this)};
-_.dd=function(a){var b;b=this.fd(a);if(null==b)throw new Yg("key may not be null (row: "+a+")");if(this.q.Ue(b))return this.q.We(b);if(this.o.Ue(b))return new hs(this,a,b);throw new Y("The cache of this DataSource does not currently contain the row "+a);};_.ed=function(a){return this.n.We(F(a))};_.hd=function(a){(this.k=a)&&!ds(this.f)&&(cs(a.a.o.a,this.f.b,Rr(this.f)),es(a,this.f.b,Rr(this.f)))};_.jd=function(){return this.s};_.g=!1;_.s=-1;w(279);function is(a){this.a=a}s(282,1,{},is);
-_.ab=function(){this.a.g=!1;var a=this.a,b;if(!a.j){b=Qr(a);var d=a.r,e;e=(d.a-d.b)*a.e.b;b=Sr(new Tr(d.b-e,d.a+e),b);!js(b,a.f)||ds(a.f)?(a.n.Ze(),a.o.Ze(),a.f=new Tr(0,0),Ur(a,Nr(a))):(Lr(a),d=a.f,b.b>=b.a&&d.b>=d.a||d.b<=b.b&&b.a<=d.a?a.k&&es(a.k,a.f.b,Rr(a.f)):(b=Mr(Nr(a),a.f),Ur(a,b[0]),Ur(a,b[2])))}};w(282);function Vr(){this.a=ic()}s(281,1,{},Vr);_.a=0;w(281);s(553,1,{});_.eQ=function(a){return ks(this,a)};_.hC=function(){return Ib(this.a)};w(553);
-function ks(a,b){return u(b,109)?Kb(a.a,b.a):!1}function gs(a){if(a.c.q.Ue(a.a))return a.b;throw new Y("The row handle for key "+a.a+" was not pinned");}function hs(a,b,d){this.c=a;this.b=b;this.a=d}s(109,553,{109:1},hs);w(109);s(568,1,{});w(568);function ls(){this.b=3;this.a=4}s(168,568,{},ls);_.a=0;_.b=0;w(168);function ms(a,b){var d,e,f;d=a.a.c;for(f=0;f<d.childNodes.length;f++)if((e=d.childNodes[f])&&1==e.nodeType)if(b)e.style.visibility="";else{var g=(hg(),"hidden");e.style.visibility=g}}
-s(66,1,{66:1});w(66);s(258,103,Ma);w(258);function ns(a){!a.c&&(a.c=new os(a));wc(a.c,a.b)}function ps(a){this.b=100;this.a=a}s(414,1,{},ps);_.b=0;w(414);function os(a){this.a=a}s(415,38,{},os);_.W=function(){this.a.c=null;var a=this.a.a,b=a.a;Vg(b,b.r);a.a.a=1};w(415);
-function qs(a,b){var d;Ar((xr(),!Z&&(Z=new yr),xr(),Z))||Br((!Z&&(Z=new yr),Z))?Kq(a):-1!=(zo.Zc(Ao((U(),a.O))).className||"").indexOf("animate-in")?sr(a.O,new rs(a,b)):(wo(a,xo(zo.Zc(Ao(a.O)))+"-animate-out",!0),a.e&&Gd(a.e,"v-shadow-animate-out"),d=new Dr(a.O),d=ur(d),null==d&&(d=""),-1!=d.indexOf("animate-out")?(a.q=!1,sr(a.O,new ss(a,b)),a.w=!1):(wo(a,xo(zo.Zc(Ao(a.O)))+"-animate-out",!1),a.e&&Td(a.e,"v-shadow-animate-out"),Kq(a)))}
-function ts(){var a;a=(xr(),!Z&&(Z=new yr),xr(),Z);return a.a.f&&(8==a.a.a?0<=a.a.b:8<a.a.a)}
-function us(a,b){var d,e,f,g;if(a.K){try{var l=(U(),a.O).style;e=(K(),L).jb(l,"zIndex");f=vs(e)}catch(n){if(n=H(n),u(n,7))f=1E3;else throw I(n);}-1==f&&(f=ws);(xr(),!Z&&(Z=new yr),xr(),Z).a.f&&U();if(a.e||ts())e=new xs((d=Jd((U(),a.O)),d-=fe(),d-=(-1==ys&&(ys=zs("left")),ys),d),(g=Kd(a.O),g-=ge(),g-=(-1==As&&(As=zs("top")),As),g),Pd(a.O,"offsetWidth"),Pd(a.O,"offsetHeight")),e.b+=v(e.d*(1-b)/2),e.c+=v(e.a*(1-b)/2),e.d=v(e.d*b),e.a=v(e.a*b),d=Cd(a.O),a.e&&((xr(),!Z&&(Z=new yr),xr(),Z).a.j&&((U(),cq(a.e,
-3)).style.height="auto",cq(a.e,4).style.height="auto",cq(a.e,5).style.height="auto"),Bs(a.e,e),a.e.style.zIndex=f+"",a.e.style.display=0.9>b?"none":"",(!Z&&(Z=new yr),Z).a.j&&((U(),cq(a.e,3)).style.height=((cq(a.e,3).offsetHeight||0)|0)+(Q(),"px"),cq(a.e,4).style.height=((cq(a.e,4).offsetHeight||0)|0)+"px",cq(a.e,5).style.height=((cq(a.e,5).offsetHeight||0)|0)+"px"),!Cd(a.e)&&d.insertBefore(a.e,a.O)),ts()&&(!a.f&&ts()&&(f=$doc,f=(K(),f).createElement("iframe"),a.f=f,a.f.style.position=(vf(),"absolute"),
-a.f.style.borderStyle=(pe(),"none"),a.f.tabIndex=-1,a.f.frameBorder=0,a.f.marginHeight=0),Bs(a.f,e),!Cd(a.f)&&d.insertBefore(a.f,a.O));(e=Br((!Z&&(Z=new yr),Z)))||(e=(!Z&&(Z=new yr),Z),e=e.a.f&&10==e.a.a);e&&(e=(U(),a.O),Fr(),(xr(),!Z&&(Z=new yr),xr(),Z).a.f&&(e=e.style,f=(K(),e).zoom,e.zoom="1",e.zoom=f))}}function Cs(a){a.e&&Cd(a.e)&&(a.e&&Cd(a.e)&&(U(),a.e.__listener=null,Vo(a.e,0)),Fd(a.e))}
-function Ds(a,b,d){var e;e=(U(),a.O).style;e.marginLeft=(-1==ys&&(ys=zs("left")),-ys+(Q(),"px"));e.marginTop=(-1==As&&(As=zs("top")),-As+"px");Nq(a,b,d);us(a,a.q?0:1)}function Es(a,b){(U(),a.O).style.visibility=b?"visible":"hidden";a.e&&(a.e.style.visibility=b?"visible":"hidden");a.f&&(a.f.style.visibility=b?"visible":"hidden")}function Bs(a,b){a.style.left=b.b+(Q(),"px");a.style.top=b.c+"px";a.style.width=b.d+"px";a.style.height=b.a+"px"}
-function zs(a){try{var b=$wnd.document.body,d=b.currentStyle?b.currentStyle:getComputedStyle(b);if(d&&"relative"==d.position)return b.getBoundingClientRect()[a]}catch(e){}return 0}s(260,104,Ma);_.Qc=function(){qs(this,!1)};_.Rc=function(a){qs(this,a)};_.sc=function(){var a;if(a=Fs){if(a.d)for(a=(vr(),vr(),wr),a=new gh(a);a.b<a.d.jd();)J(a.b<a.d.jd()),a.d.bf(a.c=a.b++),null.yf(),null.yf();a=(Zb(Gs),Ij((Qo(),dr())));var b=(U(),this.O);a.appendChild(b)}No(this)};_.zb=function(){Cs(this)};
-_.uc=function(){Po(this);Cs(this);this.f&&Fd(this.f)};_.mc=function(a){this.j=a;Mq(this);0==a.length&&(this.j=null);us(this,1)};_.Sc=function(a,b){Ds(this,a,b)};_.nc=function(a){this.k=a;Mq(this);0==a.length&&(this.k=null);us(this,1)};_.yc=function(a){-1==this.L?Vo((U(),this.O),a|(this.O.__eventBits||0)):this.L|=a};var ws=2E4,Fs,ys=-1,As=-1;w(260);function Hs(a){this.a=a}s(268,1,{},Hs);
-_.bd=function(a){if(-1!=tr(a).indexOf("animate-in")){a=Ij(this.a);var b=this.a.c;qr();a.removeEventListener(rr,b,!1);vo(this.a,"animate-in");this.a.e&&Td(this.a.e,"v-shadow-animate-in")}};w(268);function rs(a,b){this.a=a;this.b=b}s(269,1,{},rs);_.bd=function(a){-1!=tr(a).indexOf("animate-in")&&qs(this.a,this.b)};_.b=!1;w(269);function ss(a,b){this.a=a;this.b=b}s(270,1,{},ss);
-_.bd=function(a){if(-1!=tr(a).indexOf("animate-out")){a=Ij(this.a);qr();if(a._vaadin_animationend_callbacks)for(var b=a._vaadin_animationend_callbacks,d=0;d<b.length;d++)a.removeEventListener(rr,b[d],!1);vo(this.a,"animate-in");vo(this.a,"animate-out");this.a.e&&(Td(this.a.e,"v-shadow-animate-in"),Td(this.a.e,"v-shadow-animate-out"));Kq(this.a)}};_.b=!1;w(270);function xs(a,b,d,e){this.b=a;this.c=b;a=d;0>a&&(a=0);this.d=a;0>e&&(e=0);this.a=e}s(266,1,{},xs);_.a=0;_.b=0;_.c=0;_.d=0;w(266);
-function Is(a){this.a=a;lc.call(this)}s(267,105,{},Is);_.R=function(a){us(this.a,a)};w(267);function Js(a,b){var d;d=Math.round(100*b);a.a.style.width=d+(Q(),"%")}function Ks(){this.b=(U(),N());this.a=N();this.O=N();this.O.appendChild(this.b);this.b.appendChild(this.a);Eo(this.O,"v-progressbar");M(this.a,xo(this.O)+"-indicator");M(this.b,xo(this.O)+"-wrapper")}s(256,16,Aa,Ks);w(256);
-function Ls(a,b){var d,e,f,g;b.a<a.n?b=new T(a.n):b.a>a.k&&(b=new T(a.k));e=Pd(a.b,"offsetWidth")-2-Pd(a.j,"offsetWidth");f=b.a;0<a.p?(f*=Ms(a.p),f=Math.round(f),f=Ei(Db(f)),f/=Ms(a.p)):f=Ei(Db(Math.round(f)));g=a.k-a.n;d=0;0<g&&(d=(f-a.n)/g*e);0>d&&(d=0);a.j.style.marginLeft=Fi(Db(Math.round(d)))+(Q(),"px");a.r=new T(f);e=""+f;0==a.p&&(e=""+v((new T(f)).a));Bq(a.g.a,e,!1)}function Ns(a,b,d){b&&(Ls(a,b),d&&Vg(a,a.r))}
-function Os(a,b,d){var e,f;e=(Fr(),-1!=(K(),b).type.indexOf("touch")?zg(b.changedTouches[0]):Zd(b.clientX||0));f=(a.j.offsetWidth||0)|0;b=(a.b.offsetWidth||0)|0;var g=Jd(a.b);Cp();var l;l=$doc;l=(K(),L).kb(l);b=(e-(g-l+(f/2|0)))/(b-f)*(a.k-a.n)+a.n;b<a.n?b=a.n:b>a.k&&(b=a.k);Ns(a,new T(b),d)}
-function Ps(){var a=(U(),N());this.O=(U(),a);(U(),this.O).tabIndex=0;this.a=1;this.g=new Cq;this.i=new Qs(this);this.f=!1;this.d=new ps(new Rs(this));this.b=N();this.j=N();this.q=N();this.c=N();a=xo(this.O)+"-feedback";Bo(this.i.kc(),a,!1);a=xo(this.O)+"-vertical";Bo(this.kc(),a,!1);M(this.O,"v-slider");a=xo(this.O)+"-feedback";Bo(this.i.kc(),a,!0);M(this.b,xo(this.O)+"-base");M(this.j,xo(this.O)+"-handle");M(this.q,xo(this.O)+"-smaller");M(this.c,xo(this.O)+"-bigger");this.O.appendChild(this.c);
-this.O.appendChild(this.q);this.O.appendChild(this.b);this.b.appendChild(this.j);this.q.style.display=(Be(),"none");this.c.style.display="none";-1==this.L?Vo(this.O,15866876|(this.O.__eventBits||0)):this.L|=15866876;a=this.i;Eq(a,this.g);Mq(a)}s(259,258,Ma,Ps);
-_.tc=function(a){var b;if(!this.e&&!this.o){b=(U(),(K(),L).qb(a));if(Io(a.type)==Fa)b=L.eb(a),0>b?Ns(this,new T(this.r.a+Ms(-this.p)),!1):Ns(this,new T(this.r.a-Ms(-this.p)),!1),ns(this.d),a.preventDefault(),a.cancelBubble=!0;else if(this.f||b==this.j)switch(U(),Io((K(),a).type)){case 4:case Ga:this.e||this.o||((vq(),vq(),ir).Wc(this.O),Ss(this.i),this.f=!0,M(this.j,xo(this.O)+"-handle"),Gd(this.j,xo(this.O)+"-handle-active"),b=this.O,U(),np=b,Ko(Jo),kq=b,a.preventDefault(),a.cancelBubble=!0,a.stopPropagation());
-break;case 64:case Ha:this.f&&(Os(this,a,!1),Ds(this.i,Jd(this.j)+(((this.j.offsetWidth||0)|0)/2|0)-(Jq(this.i)/2|0),Kd(this.j)-Iq(this.i)),a.stopPropagation());break;case ra:qs(this.i,!1);case 8:this.f=!1,M(this.j,xo(this.O)+"-handle"),b=this.O,U(),np&&b==np&&(np=null),Ko(Jo),kq==b&&(kq=null),Os(this,a,!0),a.stopPropagation()}else if(b==this.q)Ns(this,new T(this.r.a-Ms(-this.p)),!0);else if(b==this.c)Ns(this,new T(this.r.a+Ms(-this.p)),!0);else if(124==Io(a.type))U(),4!=Io((K(),a).type)||this.e||
-this.o||this.f||(Os(this,a,!0),a.cancelBubble=!0);else if((xr(),!Z&&(Z=new yr),xr(),Z).a.e&&256==Io(a.type)||!(!Z&&(Z=new yr),Z).a.e&&128==Io(a.type)){b=a.keyCode|0;var d=!!a.shiftKey;if(a.ctrlKey)b=!1;else if(39==b){if(d){for(b=0;b<this.a;b++)Ns(this,new T(this.r.a+Ms(-this.p)),!1);++this.a}else Ns(this,new T(this.r.a+Ms(-this.p)),!1);b=!0}else if(37==b){if(d){for(b=0;b<this.a;b++)Ns(this,new T(this.r.a-Ms(-this.p)),!1);++this.a}else Ns(this,new T(this.r.a-Ms(-this.p)),!1);b=!0}else b=!1;b&&(Ss(this.i),
-ns(this.d),a.preventDefault(),a.cancelBubble=!0)}else b==this.O&&2048==Io(a.type)?Ss(this.i):b==this.O&&4096==Io(a.type)?qs(this.i,!1):4==Io(a.type)&&Ss(this.i);Fr();-1!=a.type.indexOf("touch")&&(a.preventDefault(),a.stopPropagation())}};_.a=0;_.e=!1;_.f=!1;_.k=0;_.n=0;_.o=!1;_.p=0;w(259);
-function Ss(a){Fs=a;var b;b=a.K&&a.B;a.B||(a.K&&jk(a),Lq(a.A,!0,!1));b||Ar((xr(),!Z&&(Z=new yr),xr(),Z))||Br((xr(),!Z&&(Z=new yr),xr(),Z))||(Es(a,!1),wo(a,xo(zo.Zc(Ao((U(),a.O))))+"-animate-in",!0),a.e&&Gd(a.e,"v-shadow-animate-in"),b=new Dr(a.O),b=ur(b),null==b&&(b=""),Es(a,!0),-1!=b.indexOf("animate-in")?(a.q=!1,a.c=sr(a.O,new Hs(a))):(wo(a,xo(zo.Zc(Ao(a.O)))+"-animate-in",!1),a.e&&Td(a.e,"v-shadow-animate-in")));a.q?hc(new Is(a)):us(a,1);Fs=null;a=a.a;Ds(a.i,Jd(a.j)+(((a.j.offsetWidth||0)|0)/2|
-0)-(Jq(a.i)/2|0),Kd(a.j)-Iq(a.i))}
-function Qs(a){yo();this.a=a;a=(U(),N());this.O=(U(),a);this.o=new Oq;this.q=!1;this.s=-1;this.A=new Wq(this,this);this.C=-1;this.v=(Qo(),dr());a=(U(),this.O);var b=zo.Xc();a.appendChild(b);this.Sc(0,0);M(zo.Zc(Ao(this.O)),"gwt-PopupPanel");M(zo.Yc(Ao(this.O)),"popupContent");this.i=this.g=!0;this.t=!1;a=Ar((xr(),!Z&&(Z=new yr),xr(),Z));a!=!!this.e&&(a?(this.e=(U(),N()),M(this.e,"v-shadow"),this.e.innerHTML='\x3cdiv aria-hidden\x3d"true" class\x3d"top-left"\x3e\x3c/div\x3e\x3cdiv class\x3d"top"\x3e\x3c/div\x3e\x3cdiv class\x3d"top-right"\x3e\x3c/div\x3e\x3cdiv class\x3d"left"\x3e\x3c/div\x3e\x3cdiv class\x3d"center"\x3e\x3c/div\x3e\x3cdiv class\x3d"right"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom-left"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom-right"\x3e\x3c/div\x3e',this.e.style.position=
-(vf(),"absolute"),Lo(this,this,Qg?Qg:Qg=new Ig)):(Cs(this),this.e=null));a=ws;(U(),this.O).style.zIndex=a+"";this.e&&(this.e.style.zIndex=a+"");this.d=this.a}s(261,260,Ma,Qs);var Gs=w(261);function Rs(a){this.a=a}s(262,1,{},Rs);_.ab=function(){var a=this.a;Vg(a,a.r);this.a.a=1};w(262);function Ts(a){this.a=a;this.b="offsetWidth";this.c="width"}s(263,1,{},Ts);_.ab=function(){var a;a=Cd(Ij(this.a));55<Pd(a,this.b)&&(this.a.b.style[this.c]="",Ns(this.a,this.a.r,!1))};w(263);function Us(a){this.a=a}
-s(264,1,{},Us);_.ab=function(){var a=this.a;a.j.style.marginLeft="0";a.j.style.marginTop="";Ns(this.a,this.a.r,!1)};w(264);function Vs(a,b,d){this.c=a;this.a=b;this.b=d}s(119,1,{},Vs);_.a=0;_.c=0;w(119);function Ws(){Ws=m;Xs=new Ys}var Xs;function Ys(){}s(225,1,{},Ys);_.ld=Zs;_.md=Zs;_.nd=Zs;_.od=Zs;_.pd=Zs;w(225);function $s(a,b){var d;a.b=b;b.b&&(d=a.d.c.cells[a.a],d.colSpan=1,0<=a.d.b[a.a]&&(d.style.width=a.d.b[a.a]+(Q(),"px")),d.style.display="",a.c=d)}function at(a,b){this.d=a;this.a=b}
-s(76,1,{76:1},at);_.a=0;_.b=null;_.c=null;var bt=w(76);function ct(a){return new dt(a,0,a.a.b.length)}function et(a,b,d,e){a.c=b;a.d=d;a.b=e}function ft(a,b){var d;for(d=b;d<a.a.b.length;d++){var e=a.a,f=d,g=new at(a,d);sd(f,e.b.length);e.b[f]=g}}function gt(){this.a=new C}s(449,1,{},gt);_.b=null;_.d=0;w(449);function dt(a,b,d){this.a=a;this.c=b;this.b=d}s(123,1,{},dt);_.Cc=function(){return new ht(new it(this.a.a,this.c,this.c+this.b),!0)};_.b=0;_.c=0;w(123);
-function jt(a,b){this.a=a;this.c=b;this.b=1}s(165,1,{},jt);_.Cc=function(){return new ht(new it(this.a.a,this.c,this.c+this.b),!1)};_.b=0;_.c=0;w(165);function kt(a){var b;for(b=0;b<a.d;b++)a.a.ff(a.c);a.d=0;b=lt(a.a,a.c++);$s(b,a);return b}function mt(a,b){var d,e,f;f=new it(a.a,Jc(a.c,a.a.b.length),Jc(a.c+b,a.a.b.length));for(e=new gh(f);e.b<e.d.jd();)d=(J(e.b<e.d.jd()),e.d.bf(e.c=e.b++)),$s(d,a);return f}function ht(a,b){this.a=new Zn(a);this.b=b}s(83,1,{},ht);
-_.Tc=function(){return this.c+this.d<this.a.b.length};_.Uc=function(){return kt(this)};_.Vc=function(){throw new Yo("Cannot remove cells via iterator");};_.b=!1;_.c=0;_.d=0;w(83);function nt(){}s(92,1,{92:1},nt);_.qd=function(a){a.style.left="";a.style.top=""};_.rd=function(a,b,d){a.style.left=b+(Q(),"px");a.style.top=d+"px"};w(92);function rt(){}s(416,1,{},rt);_.qd=st;_.rd=function(a,b,d){a.style.transform="translate3d("+b+"px, "+d+"px, 0)"};w(416);function tt(){}s(417,1,{},tt);_.qd=st;
-_.rd=function(a,b,d){a.style.transform="translate("+b+"px,"+d+"px)"};w(417);function ut(){}s(418,1,{},ut);_.qd=function(a){a.style.webkitTransform=""};_.rd=function(a,b,d){a.style.webkitTransform="translate3d("+b+"px,"+d+"px,0)"};w(418);function vt(){vt=m;wt=new Ig}function xt(a,b){vt();this.a=a;this.b=b}s(154,542,{},xt);_.sb=function(a){a.a.j&&0!=a.a.j.jd()&&(a.a.i=!0,a.a.j.cd(this.a,this.b))};_.tb=function(){return wt};_.a=0;_.b=0;var wt;w(154);
-function yt(a,b){return Xg((!a.a&&(a.a=new ih(a)),a.a),(zt(),At),b)}function Bt(a){var b;b=a.j;a.j=Ct(a.yd())<Ct(a.Ad());b!=a.j&&(b=new Dt,Ng((!a.a&&(a.a=new ih(a)),a.a),b))}function Et(a,b){a.g.style.display=b?"":(Be(),"none");a.xd(b)}function Ft(a){return a.c?0:Ct(a.Bd())}function Gt(a){var b,d;d=Ct(a.Ad());b=Ct(a.yd());a.e=0>d-b?0:d-b;Ht(a,a.k)}function It(a,b){var d;d=b>Ct(a.Ad());Ct(a.yd())<Ct(a.Ad())&&d&&0!=a.k?(a.f=yt(a,new Jt(a,b)),Ht(a,0)):Kt(a,b)}
-function Kt(a,b){a.Cd(Ec(0,0<b?Math.floor(b):Lt(b)));Gt(a);Et(a,Ct(a.yd())<Ct(a.Ad()));Bt(a)}function Ht(a,b){var d;a.d||(d=a.k,a.k=Ec(0,Jc(a.e,0<b?Math.floor(b):Lt(b))),Kr(d,a.k)||(a.c&&(d=a.b,d.a.Fd(13),wc(d.b,1E3)),a.Dd(a.k|0)))}function Mt(a,b){0!=b&&Ht(a,a.zd()+b)}function Nt(a,b){var d;d=b<=Ct(a.yd());Ct(a.yd())<Ct(a.Ad())&&d&&0!=a.k?(a.o=yt(a,new Ot(a,b)),Ht(a,0)):Pt(a,b)}function Pt(a,b){a.Ed(0>b?0:b);Gt(a);Et(a,Ct(a.yd())<Ct(a.Ad()));Bt(a)}
-function Qt(a,b){a.c=0==b;a.c?(Vo(a.g,16384),U(),a.g.__listener=new Rt(a)):(Vo(a.g,0),U(),a.g.__listener=null);a.Fd(1>b?1:b)}function St(a){return Ct(a.yd())<Ct(a.Ad())}function Tt(a){var b;b=a.zd();a.d?a.k!=b&&a.Dd(a.k|0):(a.k=b,a=a.i,a.b||(Yh((fd(),gd),a.a),a.b=!0))}function Ut(){this.g=(U(),N());this.n=N();this.b=new Vt(this);this.i=new Wt(this);this.g.appendChild(this.n);this.g.style.display=(Be(),"none");this.g.tabIndex=-1}function Ct(a){return a.length?Rl(a.substr(0,a.length-2)):0}s(141,1,{});
-_.wd=Ag;_.Gd=function(){Tt(this)};_.c=!1;_.d=!1;_.e=0;_.j=!1;_.k=0;w(141);function Jt(a,b){this.a=a;this.b=b}s(252,1,{},Jt);_.Hd=function(){Kt(this.a,this.b);Sq(this.a.f.a);this.a.f=null};_.b=0;w(252);function Ot(a,b){this.a=a;this.b=b}s(253,1,{},Ot);_.Hd=function(){Pt(this.a,this.b);Sq(this.a.o.a);this.a.o=null};_.b=0;w(253);function Rt(a){this.a=a}s(254,1,{18:1},Rt);_.tc=function(){var a=this.a.b;a.a.Fd(13);wc(a.b,1E3)};w(254);
-function Xt(){Xt=m;Yt=new Zt("VERTICAL",0);$t=new Zt("HORIZONTAL",1)}function Zt(a,b){O.call(this,a,b)}s(88,4,{88:1,3:1,5:1,4:1},Zt);var $t,Yt,au=x(88,function(){Xt();return P(y(au,1),h,88,0,[Yt,$t])});function bu(){Ut.call(this)}s(248,141,{},bu);_.xd=function(a){this.g.style.overflowX=a?(lf(),"scroll"):""};_.yd=function(){return me(this.g.style,"width")};_.zd=function(){return Rd(this.g)};_.Ad=cu;_.Bd=du;_.Cd=function(a){this.g.style.width=a+(Q(),"px")};
-_.Dd=function(a){var b=this.g;(K(),L).nb(b,a)};_.Ed=function(a){this.n.style.width=a+(Q(),"px")};_.Fd=function(a){this.g.style.paddingBottom=a+(Q(),"px");this.g.style.height="0.0px";this.n.style.height=a+"px"};w(248);function Wt(a){this.c=a;this.a=new eu(this)}s(244,1,{},Wt);_.b=!1;w(244);function eu(a){this.a=a}s(249,1,{},eu);_.ab=function(){Tt(this.a.c);var a=this.a.c;!a.a&&(a.a=new ih(a));Ng(a.a,new fu);this.a.b=!1};w(249);function Vt(a){this.a=a;this.b=new gu(this)}s(245,1,{},Vt);w(245);
-function gu(a){this.a=a}s(250,38,{},gu);_.W=function(){this.a.a.Fd(1)};w(250);function hu(){Ut.call(this)}s(247,141,{},hu);_.xd=function(a){this.g.style.overflowY=a?(lf(),"scroll"):""};_.yd=function(){return me(this.g.style,"height")};_.zd=function(){return(this.g.scrollTop||0)|0};_.Ad=du;_.Bd=cu;_.Cd=function(a){this.g.style.height=a+(Q(),"px")};_.Dd=function(a){this.g.scrollTop=a};_.Ed=function(a){this.n.style.height=a+(Q(),"px")};
-_.Fd=function(a){this.g.style.paddingRight=a+(Q(),"px");this.g.style.width="0.0px";this.n.style.width=a+"px"};w(247);function iu(){iu=m;ju=new ku}function Dt(){iu()}s(246,542,{},Dt);_.sb=function(a){lu(a.a)};_.tb=function(){return ju};var ju;w(246);function ku(){this.c=++Hg}s(251,30,{},ku);_.tS=function(){return"VisibilityChangeEvent"};w(251);s(117,1,{},function(a){this.e=a});_.d=0;w(117);function mu(){mu=m;nu=new Ig}function ou(a){mu();this.a=a}s(155,542,{},ou);_.sb=function(a){a.Id(this)};
-_.tb=function(){return nu};var nu;w(155);function pu(a){this.e=new qu;this.b=a}s(390,117,{},pu);w(390);function ru(a){this.e=a}s(396,117,{},ru);w(396);function qu(){}s(153,1,{},qu);_.b=0;w(153);s(137,549,{});_.sb=function(a){var b,d;b=je(this.d);Wd(b)&&!su(this.b,b)&&(b=tu(this.b.o,b))&&(d=(uu(),vu),b==this.b.o.j?d=wu:b==this.b.o.a&&(d=xu),this.Kd(a,d))};_.wb=Ok;w(137);function yu(a,b){this.a=new Eg(this.Ld(),this);this.b=a;this.c=b}s(394,137,{},yu);
-_.Kd=function(a,b){var d;b==(uu(),xu)&&a&&(d=this.c.e.a,a.a.c.G.Qd(d)?a.a.b&&zu(a.a.c,d):Au(a.a.c,d))};_.Ld=function(){return"click"};w(394);function Bu(a,b){this.a=new Eg(this.Ld(),this);this.b=a;this.c=b}s(395,137,{},Bu);_.Kd=Cu;_.Ld=function(){return"dblclick"};w(395);function Du(a,b){this.a=new Eg(this.Ld(),this);this.b=a;this.c=b}s(99,547,{});_.sb=function(a){var b,d;b=je(this.d);Wd(b)&&!su(this.b,b)&&(d=(uu(),vu),b=this.b.b.c,b==this.b.o.j?d=wu:b==this.b.o.a&&(d=xu),this.Md(a,d))};_.wb=Ok;w(99);
-function Eu(a,b){Du.call(this,a,b)}s(391,99,{},Eu);_.Md=function(a,b){if(b==(uu(),xu)&&a){var d;32!=ke(this.d)||a.b.c||(d=this.d,(K(),d).preventDefault(),a.b.c=!0,d=this.c.e.b,a.a&&(Sq(a.a.a),a.a=null),a.a=Fu(a.b.b,new Gu(a,d)),Hu(a.b.b,d))}};_.Ld=function(){return"keydown"};w(391);function Iu(a,b){Du.call(this,a,b)}s(393,99,{},Iu);_.Md=Cu;_.Ld=function(){return"keypress"};w(393);function Ju(a,b){Du.call(this,a,b)}s(392,99,{},Ju);_.Md=function(a,b){(b==(uu(),xu)&&u(a,576)||b==wu&&u(a,574))&&a.Jd(this)};
-_.Ld=function(){return"keyup"};w(392);function zt(){zt=m;At=new Ig}function fu(){zt()}s(118,542,{},fu);_.sb=function(a){a.Hd(this)};_.tb=function(){return At};var At;w(118);function Ku(){Ku=m;Lu=new Ig}function Mu(){Ku()}s(495,542,{},Mu);_.sb=Sp;_.tb=function(){return Lu};var Lu;w(495);s(554,1,{});w(554);function Nu(a){this.c=a;this.a=Lo(a,new Ou(this),a.e.a)}s(483,1,{},Nu);_.b=!0;w(483);function Ou(a){this.a=a}s(484,1,{},Ou);w(484);
-function Pu(a){var b;for(b=0;a;)b+=(a.offsetTop||0)|0,a=a.offsetParent;return b}function Qu(){var a;a=new dh;eh(a,"mousedown");eh(a,"touchstart");return a}function Ru(a,b){var d;if(!b)return-1;d=Su(a);for(d=Nd((K(),d));d;){if(L.rb(d,b))return d=Nd(d),d=Nd(d),Pd(d,"vEscalatorLogicalRow");d=Xd(d)}return-1}function Tu(a){return(a=Ij(a.b).childNodes[2])?Nd((K(),a)):null}function Su(a){return(a=Tu(a))?a.tBodies[0]:null}function Uu(a){return(a=Tu(a))?a.tFoot:null}
-function Vu(a){return(a=Tu(a))?a.tHead:null}function Wu(a){a.c&&(Sq(a.c.a),a.c=null)}function Xu(a,b){var d;d=Md(a.a.c);d.checked=b.a;d.vEscalatorLogicalRow=a.e.b}function Yu(a,b,d){b=a.b.j.ed(b);d?Au(a.b,b):zu(a.b,b)}function Zu(a){this.a=new $u(this);this.b=a}s(487,66,{66:1},Zu);_.kd=function(a,b){Xu(a,b)};w(487);
-function av(a){var b;a.d&&(Sq(a.d.a),a.d=null);a.a&&(b=a.a,b.p=!1,b.g&&(b.g.U(),b.g=null),a.a=null);b=a.f.b.G;if(u(b,526)){var d,e,f,g;if(b.a){b.a=!1;d=bv(b.f);b.f.a.Ze();g=bv(b.b);for(f=bk(new ck(b.b.a));f.a.Tc();)e=dk(f),fs(e.c,e);b.b.a.Ze();Mo(b.c,new cv(b.c,d,g))}}Wu(a.f)}function $u(a){this.f=a;this.e=new dv(this)}s(490,1,{},$u);_.b=-1;_.c=0;_.g=-1;w(490);function dv(a){this.a=a}s(491,1,{},dv);
-_.Dc=function(a){var b;if(this.a.a)switch(b=a.d,tp(a.d)){case 64:case Ha:Fr();Fr();-1!=(K(),b).type.indexOf("touch")?(a=b.changedTouches[0],a=Zd((K(),a).clientY||0)):a=Zd(b.clientY||0);b=-1!=b.type.indexOf("touch")?zg(b.changedTouches[0]):Zd(b.clientX||0);var d=this.a.a,e,f,g;-1==d.u?(d.u=Jc(d.e,a),d.c=Ec(d.d,a)):(f=d.u,d.u<d.e&&(d.u=Ec(d.u,Jc(d.e,a))),e=d.c,d.c>d.d&&(d.c=Jc(d.c,Ec(d.d,a))),f=f==d.u,e=e==d.c,g=a!=d.k,d.q=f&&e&&g);ev(d,a);d.k=a;-1==d.i&&(d.i=b);break;case 8:case ra:case Ia:av(this.a)}else av(this.a)};
-w(491);function ev(a,b){var d;b<a.u?(d=b-a.u,d=Ec(-1,d/a.f)):b>a.c?(d=b-a.c,d=Jc(1,d/a.f)):d=0;a.r=500*d}function fv(a,b,d,e,f){this.t=a;this.e=b;this.d=d;this.f=e;this.s=f;this.b=Pu(Ij(a.b))+((Vu(a).offsetHeight||0)|0);this.a=Pu(Uu(a))-1}s(489,1,{},fv);
-_.S=function(a){var b;b=a-this.o;this.o=a;this.q&&(a=v(Math.ceil(0.001*b)),this.u<this.e?(this.u+=a,this.u=Jc(this.u,this.e),ev(this,this.k)):this.c>this.d&&(this.c-=a,this.c=Ec(this.c,this.d),ev(this,this.k)));this.n+=b/1E3*this.r;b=v(this.n);this.n-=b;0!=b&&Ht(this.t.b.o.B,this.t.b.o.B.k+b);b=this.t;a=this.i;var d=Ec(this.b,Jc(this.a,this.k));Fr();var e=$wnd.document.elementFromPoint(a,d),e=$wnd.document.elementFromPoint(a,d);null!=e&&3==e.nodeType&&(e=e.parentNode);a=Ru(b,e);for(b=a>this.j?1:-1;-1!=
-a&&this.j!=a;)this.j+=b,Yu(this.t,this.j,this.s);this.p&&10<=this.f&&(this.g=(!mc&&(mc=nc()?new oc:new pc),mc).T(this,Ij(this.t.b)))};_.a=0;_.b=0;_.c=-1;_.d=0;_.e=0;_.f=0;_.i=-1;_.j=-1;_.k=0;_.n=0;_.o=0;_.p=!1;_.q=!1;_.r=0;_.s=!1;_.u=-1;w(489);function gv(a){this.a=a}s(488,1,{},gv);
-_.Dc=function(a){var b;switch(tp(a.d)){case Ga:1==le(a.d).length&&av(this.a.a);break;case Ha:a.a=!0;break;case ra:case Ia:b=je(a.d);var d;if(b)if((d=Su(this.a))&&(K(),L).rb(d,b)){for(;Dd((K(),b))&&Cd(Dd(b))!=d;)b=Dd(b);d=Nd(Dd(b))==b}else d=!1;else d=!1;d&&(Wu(this.a),a.a=!0)}};w(488);function hv(){hv=m;iv=new Ig}function jv(a,b,d){hv();this.a=a;null!=b?R():(R(),R());null!=d?R():(R(),R())}function cv(a,b,d){hv();this.a=a;b?new Zn(b):(R(),R());d?new Zn(d):(R(),R())}s(70,542,{},jv,cv);_.sb=function(a){a.Nd(this)};
-_.tb=function(){return iv};_.ub=Ok;var iv;w(70);function kv(a){var b,d;0<a.e.a.jd()&&(d=new lv(a.e),b=new cv(a.c,null,mv(a)),a.e.a.Ze(),a.a&&(a.f.a.Ze(),a.b.a.Ze(),nv(a.b,d)),Mo(a.c,b))}function mv(a){var b,d;d=new ov;for(b=bk(new ck(a.e.a));b.a.Tc();)a=dk(b),eh(d,gs(a));return R(),new pv(d)}function bv(a){var b,d;d=new qv(a.a.jd());for(b=bk(new ck(a.a));b.a.Tc();)a=dk(b),vc(d,gs(a));return d}function rv(){this.f=new ov;this.b=new ov;this.d=this.c=null;this.e=new ov}
-s(108,554,{176:1,526:1,108:1},rv);_.Od=function(){return mv(this)};_.Pd=sv;_.Qd=function(a){a=this.c.j.dd(a);return this.e.a.Ue(a)};_.Rd=function(){kv(this)};_.Sd=function(a){if(this.c&&a)throw new Y("Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.");(this.c=a)?(this.g=new tv(a),this.d=new Zu(a)):(a=this.g,Sq(a.d.a),Sq(a.e.a),this.d=this.g=null)};_.a=!1;w(108);function uv(){}s(429,554,{},uv);_.Od=function(){return R(),R(),vv};_.Pd=wv;
-_.Qd=xv;_.Rd=Wo;_.Sd=yv;w(429);function zv(a,b){if(null==b)throw new D("Row cannot be null");a.d&&ks(a.d,a.c.j.dd(b))&&(Av(a,a.d),Mo(a.c,new jv(a.c,null,b)))}function Av(a,b){if(b&&ks(b,a.d)){var d=a.d;fs(d.c,d);a.d=null}}function Bv(){}s(107,554,{127:1,107:1},Bv);_.Od=function(){var a;if(null!=(this.d?gs(this.d):null)){a=this.d?gs(this.d):null;R();var b;b=new Cv;eh(b,a);a=new pv(b)}else a=(R(),R(),vv);return a};_.Pd=wv;_.Qd=function(a){return!!this.d&&ks(this.d,this.c.j.dd(a))};
-_.Rd=function(){this.d&&zv(this,this.d?gs(this.d):null)};_.Sd=function(a){if(this.c&&a)throw new Y("Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.");(this.c=a)?(this.e=new tv(a),this.a=new Nu(a),this.e&&(this.e.a=this.b),this.a&&(this.a.b=this.b)):(a=this.e,Sq(a.d.a),Sq(a.e.a),Sq(this.a.a.a),this.a=this.e=null)};_.b=!0;w(107);function tv(a){this.b=a;this.d=Lo(a,new Dv(this),a.s.a);this.e=Lo(a,new Ev(this),a.t.a)}s(171,1,{},tv);_.a=!0;
-_.c=!1;w(171);function Ev(a){this.a=a}s(482,1,{576:1},Ev);_.Jd=function(a){32==ke(a.d)&&(this.a.c=!1)};w(482);function Dv(a){this.b=a}s(480,1,{},Dv);_.a=null;w(480);function Gu(a,b){this.a=a;this.b=b}s(481,1,{},Gu);_.Id=function(a){if(Fv(a.a,this.b)){a=this.a;var b=this.a.b.b,d;d=b.j.ed(this.b);b.G.Qd(d)?a.b.a&&zu(b,d):Au(b,d);Sq(this.a.a.a);this.a.a=null}};_.b=0;w(481);function Gv(){Gv=m;Hv=1/Math.sqrt(3);Iv=Math.tan(0.6981317007977318)}
-function lu(a){var b,d,e,f;a.p==(Jv(),Kv)&&(e=a.j.g,d=a.f.g,b=a.a.e*a.o,f=St(a.r)?Ft(a.r):0,Lv(a,e+b+f+d+"px"))}function tu(a,b){return a.j.j!=b&&Ed(a.j.j,b)?a.j:a.a.j!=b&&Ed(a.a.j,b)?a.a:a.f.j!=b&&Ed(a.f.j,b)?a.f:null}function Mv(a){var b,d;0==a.a.d.b?Mo(a,new xt(0,0)):(d=Nv(a.a,Ov(a.a.d)),b=Nv(a.a,Pv(a.a.d))+1,Mo(a,new xt(d,b-d)))}function as(a){return 0==a.a.d.b?$(0,0):$(Nv(a.a,Ov(a.a.d)),a.a.d.b)}function Qv(a){return(0<a.j.n||0<a.a.n||0<a.f.n)&&0<a.c.a.b.length}
-function Rv(a){return a.i.hasChildNodes()||a.b.hasChildNodes()||a.e.hasChildNodes()}function Sv(a){a.K&&(a.C=Ec(0,Jr((U(),a.O))),a.q=Ec(0,Ir(a.O)),Tv(a.j),Tv(a.f),Uv(a.u),Vv(a.a))}function Wv(a,b){null!=b&&b.length?a.n=b:a.n="400.0px";a.p==(Jv(),Xv)&&Lv(a,b)}function Yv(a,b){if(0>=b)throw new D("The number of rows must be a positive number.");if(!isFinite(b)&&!isNaN(b))throw new D("The number of rows must be finite.");if(isNaN(b))throw new D("The number must not be NaN.");a.o=b;lu(a)}
-function Lv(a,b){var d;d=a.a.d.b;null!=b&&b.length?(U(),a.O).style.height=b:(U(),a.O).style.height="400.0px";Sv(a);d!=a.a.d.b&&Mv(a)}function Zv(a,b){if(b!=a.p)switch(a.p=b,a.p.b){case 0:Wv(a,a.n);break;case 1:Yv(a,a.o);break;default:throw new Y("Unimplemented feature - unknown HeightMode: "+a.p);}}
-function $v(a,b){Eo((U(),a.O),b);var d=a.B;M(d.g,b+"-scroller");Gd(d.g,b+"-scroller-vertical");d=a.r;M(d.g,b+"-scroller");Gd(d.g,b+"-scroller-horizontal");Eo(a.A,b+"-tablewrapper");Eo(a.k,b+"-header-deco");Eo(a.g,b+"-footer-deco");Eo(a.s,b+"-horizontal-scrollbar-deco");d=a.j;aw(d,b);Eo(d.j,b+"-header");d=a.a;aw(d,b);Eo(d.j,b+"-body");d=a.f;aw(d,b);Eo(d.j,b+"-footer")}function bw(a,b){null!=b&&b.length?(U(),a.O).style.width=b:(U(),a.O).style.width="500.0px";Sv(a)}
-function cw(){Gv();var a,b,d,e;this.d=new gt;U();b=$doc;this.i=(K(),b).createElement("thead");b=$doc;this.b=(K(),b).createElement("tbody");b=$doc;this.e=(K(),b).createElement("tfoot");this.B=new hu;this.r=new bu;this.j=new dw(this,this.i);this.a=new ew(this,this.b);this.f=new fw(this,this.e);this.u=new gw(this);this.c=new hw(this);this.s=N();this.k=N();this.g=N();this.p=(Jv(),Xv);-1!=$wnd.navigator.userAgent.indexOf("Firefox")?this.t=new nt:(b=$doc.body.style,void 0!==b.transform?void 0!==b.transformStyle?
-this.t=new rt:this.t=new tt:void 0!==b.webkitTransform?this.t=new ut:this.t=new nt);Zb(iw);ac(this.t.cZ);this.O=b=N();a=new jw(this);d=Gr();(xr(),!Z&&(Z=new yr),xr(),Z).a.f&&(Br((!Z&&(Z=new yr),Z))?d+=2:d+=1);b.appendChild(this.B.g);yt(this.B,a);Qt(this.B,d);Ar((!Z&&(Z=new yr),Z))&&(e=this.B.g.style,e.right=Ft(this.B)-1+(Q(),"px"));b.appendChild(this.r.g);yt(this.r,a);Qt(this.r,d);a=this.r;d=new kw(this);Xg((!a.a&&(a.a=new ih(a)),a.a),(iu(),ju),d);this.A=N();b.appendChild(this.A);a=$doc;a=(K(),a).createElement("table");
-this.A.appendChild(a);a.appendChild(this.i);a.appendChild(this.b);a.appendChild(this.e);a=this.k.style;a.width=Ft(this.B)+(Q(),"px");d=(Be(),"none");a.display=d;b.appendChild(this.k);a=this.g.style;a.width=Ft(this.B)+"px";a.display="none";b.appendChild(this.g);a=this.s.style;a.display="none";a.height=Ft(this.r)+"px";b.appendChild(this.s);$v(this,"v-escalator");this.n="400.0px";this.p==Xv&&Lv(this,null);this.O.style.width="500.0px";Sv(this)}
-function lw(a,b,d,e,f){Gv();var g;g=a-f;a=b+f-(e-d);return g<d?g:b+f>e?a:d}function mw(a,b,d){Gv();var e,f,g;g=zc(nw,h,0,2,7);0!=a&&0!=b?(e=0>=a?0-a:a,f=0>=b?0-b:b,g[0]=e/f<d?0:a,g[1]=f/e<d?0:b):(g[0]=a,g[1]=b);return g}s(228,16,Aa,cw);
-_.vc=function(){var a,b,d;ow(this.j);ow(this.a);ow(this.f);pw(this.j,0,this.j.n);pw(this.f,0,this.f.n);Sv(this);d=!1;for(b=new gh(this.c.a);b.b<b.d.jd();)a=(J(b.b<b.d.jd()),b.d.bf(b.c=b.b++)),a.c?(a.c=!1,qw(a,a.b),a=!0):a=!1,a&&(d=!0);d&&(rw(this.j),rw(this.a),rw(this.f));sw(this.u,this.B.g);sw(this.u,this.r.g);b=this.u;d=(U(),this.O);d.addEventListener?d.addEventListener("onmousewheel"in d?"mousewheel":"wheel",b.d):d.attachEvent("onmousewheel",b.d);b=this.u;d=this.O;d.addEventListener&&(d.addEventListener("touchstart",
-b.j),d.addEventListener("touchmove",b.i),d.addEventListener("touchend",b.f),d.addEventListener("touchcancel",b.f))};
-_.wc=function(){var a,b,d,e;tw(this.u,this.B.g);tw(this.u,this.r.g);a=this.u;b=(U(),this.O);b.addEventListener?b.removeEventListener(void 0===b.onwheel?"mousewheel":"wheel",a.d):b.detachEvent("onmousewheel",a.d);a=this.u;b=this.O;b.removeEventListener&&(b.removeEventListener("touchstart",a.j),b.removeEventListener("touchmove",a.i),b.removeEventListener("touchend",a.f),b.removeEventListener("touchcancel",a.f));uw(this.j,0,this.j.n);uw(this.f,0,this.f.n);d=this.b.childNodes.length;for(a=0;a<d;a++)b=
-d-a-1,e=this.b.rows[b],vw(this.a,e,b),this.a.k.Ye(e);ww(this.a.d);a=this.a;Hi();a.c=0};_.mc=function(a){Wv(this,a)};_.nc=function(a){bw(this,a)};_.n="";_.o=10;_.q=0;_.v=0;_.w=0;var Hv=_.C=0,Iv=0,iw=w(228);s(241,1,{},function(a){this.a=a});_.ab=function(){Sv(this.a)};w(241);function jw(a){this.a=a}s(242,1,{},jw);_.Hd=function(){xw(this.a.u);Mo(this.a,new fu)};w(242);function kw(a){this.a=a}s(243,1,{},kw);w(243);
-function yw(a,b,d){if(1>d)throw new D("Number of rows must be 1 or greater (was "+d+")");if(0>b||b+d>a.n)throw new td("The given row range ("+b+".."+(b+d)+") was outside of the current number of rows ("+a.n+")");}function ow(a){Yh((fd(),gd),new zw(a))}function Aw(a,b){var d;d=lp(a.Ud());d.style.height=a.e+(Q(),"px");0<=b&&(d.style.width=b+"px");Gd(d,a.i+"-cell");return d}
-function Bw(a,b){var d,e,f,g;if(!b)throw new D("Element cannot be null");if(a.j==b||Dd((K(),b))==a.j||!Ed(a.j,b))return null;for(d=b;Cd(Dd((K(),d)))!=a.j;)d=Dd(d);e=-1;for(f=d;f;f=Yd(f))++e;f=-1;for(g=Dd(d);g;g=Yd(g))++f;return new Vs(f,e,d)}
-function Cw(a,b){var d,e,f,g,l,n,p;f=-1;n=a.j.rows;for(g=0;g<n.length;g++){l=n[g];e=l.cells[b];d=1<e.colSpan;var r=(Be(),"none"),q;q=e.style;q=(K(),q).display;(p=r===q,d||p)||(d=e.cloneNode(!0),d.style.height="",d.style.width="",l.insertBefore(d,e),e=(Fr(),v(Lt(Jr(d)))),Br((xr(),!Z&&(Z=new yr),xr(),Z))&&(e+=1),f=e>f?e:f,Fd(d))}return f}function Dw(a,b){return a.k.We(b).a}function Ew(a,b,d){d?(d=d?d.nextSibling:null)?a.insertBefore(b,d):a.appendChild(b):a.insertBefore(b,a.firstChild);return b}
-function Zr(a,b,d){var e,f;if(0>b||b>a.n)throw new td("The given index ("+b+") was outside of the current number of rows (0.."+a.n+")");if(1>d)throw new D("Number of rows must be 1 or greater (was "+d+")");a.n+=d;if(a.o.K&&(a.Wd(b,d),a.n==d)){d=new lh;f=new T(100);for(e=0;e<a.o.c.a.b.length;e++)b=F(e),d.Xe(b,f);Fw(a.o.c,d)}}
-function Gw(a,b,d){var e,f;for(e=0;e<a.j.childNodes.length;e++){f=a.Vd(e);var g=a,l=b,n=void 0,p=void 0,r=p=void 0,q=void 0,t=r=void 0;et(g.o.d,f,e,Hw(g.o.c));q=new jt(g.o.d,l);for(p=new ht(new it(q.a.a,q.c,q.c+q.b),!1);p.c+p.d<p.a.b.length;)n=kt(p),r=Iw(g.o.c,n.a),r=Aw(g,r),n.c=r;g.p.nd(g.o.d,q);0!=l?t=f.childNodes[l-1]:t=null;for(p=new ht(new it(q.a.a,q.c,q.c+q.b),!1);p.c+p.d<p.a.b.length;)n=kt(p),t=Ew(f,n.c,t);g.p.ld(g.o.d,q);g.p.pd(g.o.d,q)}Jw(a);if(d)for(d=b;d<b+1;d++)Kw(a,d,!0)}
-function pw(a,b,d){var e,f,g,l,n,p;e=new C;if(1>d)return e;0!=a.j.childNodes.length&&0!=b?l=a.j.childNodes[b-1]:l=null;for(n=b;n<b+d;n++){p=(U(),ee());e.b[e.b.length]=p;Gd(p,a.i+"-row");for(g=0;g<a.o.c.a.b.length;g++)f=Iw(a.o.c,g),f=Aw(a,f),p.appendChild(f),g<a.o.c.b&&(Gd(f,"frozen"),a.o.t.rd(f,a.o.u.b,0));g=a;et(g.o.d,p,n,Hw(g.o.c));g.p.nd(g.o.d,ct(g.o.d));l=Ew(g.j,p,l);g.p.ld(g.o.d,ct(g.o.d));g.p.pd(g.o.d,ct(g.o.d))}Jw(a);a.Zd();return e}
-function Lw(a,b){var d,e,f;for(f=0;f<a.j.childNodes.length;f++){e=a.Vd(f);et(a.o.d,e,f,Hw(a.o.c));d=new dt(a.o.d,b,1);a.p.od(a.o.d,d);for(d=0;1>d;d++)Fd(e.cells[b]);e=new jt(a.o.d,b);a.p.md(a.o.d,e)}}function vw(a,b,d){et(a.o.d,b,d,Hw(a.o.c));a.p.od(a.o.d,ct(a.o.d));Fd(b);a.p.md(a.o.d,ct(a.o.d))}
-function rw(a){var b,d,e,f,g,l;for(e=Md(a.j);e;){b=Nd((K(),e));for(d=0;b;)f=(g=Pd(b,"colSpan"),l=$(d,g),l.a>a.o.c.a.b.length&&(l=new Tr(d,a.o.c.a.b.length)),Mw(a.o.c,l)),b.style.width=f+(Q(),"px"),b=Xd(b),++d;e=Xd(e)}Jw(a)}function Nw(a,b){var d;for(d=Nd((K(),a));d;)d.style.height=b+(Q(),"px"),d=Xd(d)}function Jw(a){var b;b=Ow(a.o.c);for(a=Md(a.j);a;)0<=b&&(a.style.width=b+(Q(),"px")),a=Xd((K(),a))}function Pw(a,b,d,e){et(a.o.d,b,d,Hw(a.o.c));a.p.pd(a.o.d,new dt(a.o.d,e.b,e.a-e.b))}
-function cs(a,b,d){d=$(b,d);b=$(0,a.o.c.a.b.length);a.$d(d,b)}function $r(a,b,d){yw(a,b,d);a.n-=d;a.o.K&&Rv(a.o)&&a.Xd(b,d)}function Kw(a,b,d){var e,f,g;f=a.j.rows;for(g=0;g<f.length;g++)e=f[g],e=e.cells[b],d?Gd(e,"frozen"):(Td(e,"frozen"),a.o.t.qd(e));d&&Qw(a,b,a.o.u.b)}function Rw(a,b){a.p=b;Qv(a.o)&&0<a.n&&cs(a,0,a.n)}function Sw(a,b,d){a.o.t.rd(b,0,d);a.k.Xe(b,new T(d))}
-function aw(a,b){var d,e;d=a.i;if(null==d?null!=b:d!==b)for(a.i=b,e=a.j.rows[0];e;){Eo(e,b+"-row");for(d=e.cells[0];d;)Eo(d,b+"-cell"),d=Xd((K(),d));e=Xd((K(),e))}}function Qw(a,b,d){var e,f,g;f=a.j.rows;for(g=0;g<f.length;g++)e=f[g],e=e.cells[b],a.o.t.rd(e,d,0)}function Tw(a,b){this.o=a;this.p=(Ws(),Xs);this.k=new lh;this.j=b}s(139,1,{});_.Td=function(){ow(this)};_.sd=function(a){return Bw(this,a)};_.td=function(){return this.n};_.ud=function(a){return this.Vd(a)};_.vd=function(a){cs(this,a,1)};
-_.e=20;_.f=!0;_.g=0;_.i=null;_.n=0;w(139);function zw(a){this.a=a}s(239,1,{},zw);_.ab=function(){if(this.a.f&&this.a.o.K){var a=this.a,b,d;a.o.K?(d=(U(),ee()),M(d,a.i+"-row"),b=lp(a.Ud()),M(b,a.i+"-cell"),(K(),b).textContent="Ij",d.appendChild(b),a.j.appendChild(d),b=Ir(b),a.e=1>b?1:b,a.j.removeChild(d),a.j.hasChildNodes()&&(a.Yd(),lu(a.o))):a.f=!0;this.a.f=!1}};w(239);function Uw(a,b){if(0<=b&&b<a.j.childNodes.length)return a.j.rows[b];throw new td("No such visual index: "+b);}
-function uw(a,b,d){var e,f;for(e=b;e<b+d;e++)f=a.j.rows[b],vw(a,f,b);Tv(a)}function Tv(a){var b;b=a.e*a.n;b!=a.g&&(a.g=b,a._d(),It(a.b.B,a.b.q-a.b.j.g-a.b.f.g),Vv(a.b.a))}s(140,139,{});_.Vd=function(a){return Uw(this,a)};_.Wd=function(a,b){pw(this,a,b)};_.Xd=function(a,b){uw(this,a,b)};_.Yd=function(){var a;if(0!=this.j.childNodes.length){for(a=this.j.rows[0];a;)Nw(a,this.e),a=Xd((K(),a));Tv(this)}};_.Zd=function(){Tv(this)};
-_.$d=function(a,b){var d,e;yw(this,a.b,a.a-a.b);if(this.b.K&&Qv(this.b))for(d=a.b;d<a.a;d++)e=Uw(this,d),Pw(this,e,d,b)};w(140);function Vw(a,b){var d,e,f;if(0!=b){Mt(a.b.B,b);d=b-b%a.e;for(f=Ww(a.d,0);f.b!=f.d.c;)e=(J(f.b!=f.d.c),f.c=f.b,f.b=f.b.a,++f.a,f.c.c),Sw(a,e,a.k.We(e).a+d);Xw(a,a.b.v,a.b.w+b)}}function Yw(a){return((a.b.A.offsetHeight||0)|0)-a.b.f.g-a.b.j.g}
-function Zw(a,b){var d,e;if(b.b>=b.a)return b;if(0==a.d.b)return $(0,0);e=$w(a);d=Nv(a,Ov(a.d));e=Mr(b,$(d,e))[1];return 0==-d?e:new Tr(e.b+-d,e.a+-d)}function ax(a,b,d){var e;e=$w(a)-a.j.childNodes.length;d=d<e?d:e;if(0<d){d=pw(a,b,d);bx(a.d,b,d);for(e=0;e<d.b.length;e++)Sw(a,(sd(e,d.b.length),d.b[e]),(b+e)*a.e);for(b+=d.b.length;b<a.d.b;b++)e=cx(a.d,b),Sw(a,e,b*a.e);return d}return new C}function Nv(a,b){var d;d=dx(a.d,b);return a.c+d}function $w(a){a=v(Lt(Yw(a)/a.e))+1;return 0>a?0:a}
-function ex(a,b){var d;if(0>b||b>=a.n)throw new td("No such logical index: "+b);d=b-Nv(a,Ov(a.d));if(0<=d&&d<a.d.b)return fx(a,d);throw new Y("Row with logical index "+b+" is currently not available in the DOM");}function fx(a,b){if(0<=b&&b<a.d.b)return cx(a.d,b);throw new td("No such visual index: "+b);}
-function gx(a,b,d,e){var f,g,l;if(!(b.b>=b.a)){if(0>b.b)throw new D("Logical source start must be 0 or greater (was "+b.b+")");if(0>e)throw new D("Logical target must be 0 or greater");if(0>d)throw new D("Visual target must be 0 or greater");if(d>a.j.childNodes.length)throw new D("Visual target must not be greater than the number of escalator rows");if(e+(b.a-b.b)>a.n)throw b=$(e,b.a-b.b),a=$(0,a.n),new D("Logical target leads to rows outside of the data range ("+b+" goes beyond "+a+")");b.b<d?f=
-d-(b.a-b.b):f=d;if(b.b!=f){l=new qv(b.a-b.b);for(g=0;g<b.a-b.b;g++)d=hx(a.d,b.b),l.b[l.b.length]=d;bx(a.d,f,l)}l=Ww(a.d,f);for(g=e;g<e+(b.a-b.b);g++)d=(J(l.b!=l.d.c),l.c=l.b,l.b=l.b.a,++l.a,l.c.c),Pw(a,d,g,$(0,a.o.c.a.b.length));e*=a.e;l=Ww(a.d,f);for(g=0;g<b.a-b.b;g++)d=(J(l.b!=l.d.c),l.c=l.b,l.b=l.b.a,++l.a,l.c.c),a.o.t.rd(d,0,e),a.k.Xe(d,new T(e)),e+=a.e}}function Xw(a,b,d){a.b.v=b;a.b.w=d;a.b.t.rd(a.b.b,-a.b.v,-a.b.w)}
-function ix(a){var b,d,e,f;b=null;Fr();if((d=$wnd.document.activeElement?$wnd.document.activeElement:null)&&Ed(a.j,d))for(;d&&d!=a.j;)d&&ae("tr",(K(),d).tagName)&&(b=d),d=Dd((K(),d));e=!b;for(d=Ww(a.d,a.d.b);d.b.b!=d.d.a;)if(f=(J(d.b.b!=d.d.a),d.c=d.b=d.b.b,--d.a,d.c.c),f==b)e=!0;else if(e){var g=a.j;g.insertBefore(f,g.firstChild)}else{var g=a.j,l=void 0;(l=b?b.nextSibling:null)?g.insertBefore(f,l):g.appendChild(f)}}
-function Vv(a){var b,d,e,f;if(a.b.K){f=$w(a);f=Jc(f,a.b.a.n);f-=a.d.b;if(0<f)e=a.d.b,0==a.d.b?d=0:d=Nv(a,Pv(a.d))+1,(b=d<a.n-f)?(b=ax(a,e,f),gx(a,$(e,b.b.length),e,d)):(d=a.b.B.k,Ht(a.b.B,0),xw(a.b.u),ax(a,e,f),Ht(a.b.B,d),xw(a.b.u));else if(0>f){e=Ww(a.d,a.d.b);for(d=0;d<-f;d++)b=(J(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c),Fd(b),jx(e);0!=a.d.b&&(e=Dw(a,Ov(a.d)),d=a.b.w-a.e,e<d&&(d=Nv(a,Pv(a.d))+1,gx(a,new Tr(0,1),a.d.b,d)))}0!=f&&Mv(a.b)}}
-function ew(a,b){this.b=a;Tw.call(this,a,b);this.d=new nn;this.a=new kx(this)}s(234,139,{},ew);_.sd=function(a){var b;a=Bw(this,a);if(!a)return null;b=Cd(a.b);return new Vs(Nv(this,b),a.a,a.b)};_.Ud=lx;_.ud=function(a){return ex(this,a)};_.Vd=function(a){return fx(this,a)};
-_.Wd=function(a,b){var d,e,f,g;if(0!=b)if(d=ax(this,a,b),Uv(this.b.u),e=a*this.e<this.b.B.k,f=a*this.e>this.b.B.k+Yw(this),e)e=b*this.e,Vw(this,e),e=this.c+b,Hi(),this.c=e;else if(!f){e=a+d.b.length;f=Nv(this,Ov(this.d));d=b-d.b.length;g=Zw(this,$(e,d));d=this.j.childNodes.length;g=d-(g.a-g.b);f=e-f;gx(this,new Tr(g,d),f,e);e=(e+(d-g))*this.e;for(d=Ww(this.d,f+(d-g));d.b!=d.d.c;)f=(J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c),this.o.t.rd(f,0,e),this.k.Xe(f,new T(e)),e+=this.e;Mv(this.b);ix(this)}};
-_.Xd=function(a,b){var d,e,f,g,l,n,p,r;if(0!=b){f=as(this.b);p=$(a,b);f=Mr(p,f);p=f[0];d=f[1];f=Zw(this,d);g=f.b<f.a&&0==f.b;if(p.b<p.a||g)e=(p.a-p.b)*this.e,l=this.e,l=this.b.B.k-e<l,!(f.b>=f.a)||l&&g?l&&Vw(this,-this.b.B.k):Vw(this,-e);if(f.b<f.a){g=this.b.b.childNodes.length;e=this.n;if(e<g){e=g-e;for(n=0;n<e;n++)l=hx(this.d,f.b),vw(this,l,a),this.k.Ye(l);g-=e;Xw(this.b.a,this.b.v,0);for(f=d.b;f<g;f++)l=cx(this.d,f),Sw(this,l,f*this.e);f=b-e;for(n=0>g-f?0:g-f;n<g;n++)l=cx(this.d,n),Pw(this,l,n,
-$(0,this.o.c.a.b.length))}else if(e=this.n*this.e,r=this.b.w+Yw(this),r<=e)for(g=this.d.b,e=Nv(this,Pv(this.d))-(f.a-f.b-1),gx(this,f,g,e),e=Ww(this.d,f.b),l=d.b*this.e,d=f.b;d<g-(f.a-f.b);d++)r=(J(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c),this.o.t.rd(r,0,l),this.k.Xe(r,new T(l)),l+=this.e;else if(0>=f.b&&0<f.a&&b>=this.d.b)f=this.b.r.k,d=e-this.d.b*this.e,Xw(this,f,d),d=$(0,this.d.b),f=this.n-(d.a-d.b),gx(this,d,0,f);else if(e+b*this.e-r<this.e){g=Nv(this,Ov(this.d))-(f.a-f.b);gx(this,f,0,g);f=
-Ww(this.d,f.a);for(g=d.b*this.e;f.b!=f.d.c;)e=(J(f.b!=f.d.c),f.c=f.b,f.b=f.b.a,++f.a,f.c.c),this.o.t.rd(e,0,g),this.k.Xe(e,new T(g)),g+=this.e;f=this.c+-(d.a-d.b);Hi();this.c=f}else{d=Dw(this,cx(this.d,f.b));for(n=0;n<f.a-f.b;n++){l=hx(this.d,f.b);var q=this.d;on(q,l,q.c.b,q.c)}for(n=f.b;n<g;n++)l=cx(this.d,n),Sw(this,l,v(d)),d+=this.e;d=e-Yw(this);Ht(this.b.B,d);xw(this.b.u);gx(this,new Tr(g-1,g-1+1),0,Nv(this,Ov(this.d))-1);d=this.c+-1;Hi();this.c=d;d=v(Lt((r-e)/this.e));d=g-(f.a-f.b-d);g=new Tr(d,
-g);f=Nv(this,Ov(this.d))+d;gx(this,g,d,f)}Mv(this.b);ix(this)}p=this.c+-(p.a-p.b);Hi();this.c=p;Uv(this.b.u)}};_.Yd=function(){var a,b,d;if(0!=this.d.b){for(a=0;a<this.d.b;a++)d=cx(this.d,a),Nw(d,this.e),b=this.c+a,Sw(this,d,b*this.e);a=this.b.B.k/Ct(me(this.b.B.n.style,"height"));Uv(this.b.u);Ht(this.b.B,v(this.e*this.n*a));Xw(this,this.b.r.k,this.b.B.k);xw(this.b.u);Vv(this);a=v(Dw(this,Ov(this.d))/this.e);Hi();this.c=a}};_.Zd=Wo;
-_.$d=function(a,b){var d,e,f;f=Zw(this,a);if(f.b<f.a)for(d=Nv(this,Ov(this.d)),e=f.b;e<f.a;e++)Pw(this,cx(this.d,e),d+e,b)};_.c=0;w(234);function mx(a){nx(a);a.a=(!mc&&(mc=nc()?new oc:new pc),mc).T(a.b,null)}function nx(a){a.a&&(a.a.U(),a.a=null);a.d=ic();a.c=0}function kx(a){this.e=a;this.b=new ox(this)}s(235,1,{},kx);_.c=0;_.d=0;w(235);function ox(a){this.a=a}s(240,1,{},ox);
-_.S=function(){++this.a.c;var a=this.a,b,d,e;b=3<=a.c;d=50<=ic()-a.d;e=!a.e.b.u.a;if(b=b&&d&&e)nx(a),ix(a.e);b||(this.a.a=(!mc&&(mc=nc()?new oc:new pc),mc).T(this,null))};w(240);function Ow(a){return Mw(a,new Tr(0,a.a.b.length))}function px(a,b){if(!Fv($(0,a.a.b.length),b))throw new D("The given column index ("+b+") does not exist");}function Hw(a){var b;if(null==a.d||a.d.length!=a.a.b.length)for(a.d=zc(nw,h,0,a.a.b.length,7),b=0;b<a.a.b.length;b++)a.d[b]=qx(lt(a.a,b));return a.d}
-function Mw(a,b){var d,e,f;f=0;for(e=b.b;e<b.a;e++)d=qx(lt(a.a,e)),f+=d;return f}function Iw(a,b){return qx(lt(a.a,b))}function Fw(a,b){var d,e,f;if(!b.Qe()){for(e=b.Ve().Cc();e.Tc();)d=e.Uc(),f=d.jf().a,d=d.kf().a,px(a,f),qw(lt(a.a,f),d);a.d=null;rw(a.c.j);rw(a.c.a);rw(a.c.f);Sv(a.c)}}function hw(a){this.c=a;this.a=new C}s(236,1,{},hw);_.b=0;_.d=null;w(236);function qx(a){return a.c?-1:a.a}
-function qw(a,b){a.b=b;if(0>b)if(a.d.c.K){var d=a.d,e=Wn(a.d.a,a),f,g;g=Cw(d.c.j,e);f=Cw(d.c.a,e);d=Cw(d.c.f,e);a.a=g>(f>d?f:d)?g:f>d?f:d}else a.c=!0;else a.a=b}function rx(a){this.d=a}s(237,1,{},rx);_.a=100;_.b=-1;_.c=!1;w(237);
-function sx(a,b,d,e){this.f=a;this.g=-7<(7>b/e?b/e:7)?7>b/e?b/e:7:-7;this.i=-7<(7>d/e?d/e:7)?7>d/e?d/e:7:-7;this.b=a.r.k;this.c=a.B.k;a=mw(this.g,this.i,(Gv(),Hv));this.g=a[0];this.i=a[1];0.005<this.g*this.g+this.i*this.i?(this.d=1500,this.j=this.g/this.d,this.k=this.i/this.d):this.d=0}s(230,1,{},sx);
-_.S=function(){var a,b,d,e,f;0>=this.d||this.a?this.f.u.a=null:(f=ic(),0==this.e?this.e=f:(a=this.f.r.k,b=this.f.B.k,e=f-this.e,d=a-this.g*e,Ht(this.f.r,d),this.g-=this.j*e,d=b-this.i*e,Ht(this.f.B,d),this.i-=this.k*e,this.b==this.f.r.k&&this.c==this.f.B.k&&(this.a=!0),this.e=f,this.d=v(this.d-e),this.b=a,this.c=b),(!mc&&(mc=nc()?new oc:new pc),mc).T(this,null))};_.a=!1;_.b=0;_.c=0;_.d=0;_.e=0;_.g=0;_.i=0;_.j=0;_.k=0;w(230);function fw(a,b){this.b=this.a=a;Tw.call(this,a,b)}s(233,140,{},fw);
-_.Ud=lx;_._d=function(){var a;a=v(Math.floor(this.a.q-this.a.j.g-this.a.f.g));Ow(this.a.c)>this.a.C&&(a=v(a-Ft(this.a.r)));this.a.g.style.height=this.a.f.g+(Q(),"px");It(this.a.B,a)};w(233);function dw(a,b){this.b=this.a=a;Tw.call(this,a,b)}s(232,140,{},dw);_.Ud=function(){return"th"};_._d=function(){this.a.b.style.marginTop=this.g+(Q(),"px");this.a.B.g.style.top=this.g+"px";this.a.k.style.height=this.g+"px"};w(232);
-function tx(a,b,d,e){isNaN(b)||Mt(a.r,b);isNaN(d)||Mt(a.B,d);d=0!=d&&St(a.B);a=0!=b&&St(a.r);(d||a)&&(K(),e).preventDefault()}function ux(a){return B(function(b){a.ae(b)})}function vx(a){return B(function(b){a.be(b)})}function wx(a){return B(function(b){a.ce(b)})}function xx(a){this.q=new yx(this);this.d=a}s(229,1,{},xx);
-_.ae=function(a){var b,d;this.s=le(a).length;if(0==this.s){a=this.k-this.j;(b=0>this.f||0>this.i)||33.333333333333336<a?(d=this.g,b=this.e):(a+=100,d=this.i,b=this.f);this.i=this.g=-1;this.j=Na;b=this.p.targetTouches[0].pageX-b;d=this.p.targetTouches[0].pageY-d;var e=this.d.u;e.a=new sx(e.c,b,d,a);(!mc&&(mc=nc()?new oc:new pc),mc).T(e.a,null);mx(this.d.a.a)}};_.be=function(a){this.p=a;this.a&&this.a.U();this.a=(!mc&&(mc=nc()?new oc:new pc),mc).T(this.q,this.d.b);(K(),a).preventDefault()};
-_.ce=function(a){this.s=le(a).length;if(1==this.s){var b=this.d.u;b.a&&(b.a.a=!0);this.n=a.targetTouches[0].pageX;this.o=a.targetTouches[0].pageY;this.r=!0}};_.b=0;_.c=0;_.e=-1;_.f=-1;_.g=-1;_.i=-1;_.j=Na;_.k=0;_.n=0;_.o=0;_.r=!0;_.s=0;w(229);function yx(a){this.a=a}s(238,1,{},yx);
-_.S=function(a){var b,d;1==this.a.s&&(b=this.a.p.targetTouches[0].pageX,d=this.a.p.targetTouches[0].pageY,100<a-this.a.j&&(this.a.j=a,this.a.i=this.a.g,this.a.g=d,this.a.f=this.a.e,this.a.e=b),this.a.b=b-this.a.n,this.a.c=d-this.a.o,this.a.n=b,this.a.o=d,this.a.k=ic(),this.a.r&&(a=this.a.b,b=this.a.c,d=mw(this.a.b,this.a.c,(Gv(),Iv)),this.a.b=d[0],this.a.c=d[1],0!=a&&this.a.b==a&&0!=b&&this.a.c==b&&(this.a.r=!1)),tx(this.a.d,-this.a.b,-this.a.c,this.a.p))};w(238);s(227,1,{});w(227);
-function sw(a,b){b.addEventListener?b.addEventListener("scroll",a.e):b.attachEvent("onscroll",a.e)}function zx(a){return B(function(b){var d=b.deltaX?b.deltaX:-0.5*b.wheelDeltaX,e=b.deltaY?b.deltaY:-0.5*b.wheelDeltaY;isNaN(e)&&(e=-0.5*b.wheelDelta);tx(a,d,e,b)})}function Ax(a){var b=a.B,d=b.wd(),e=a.r,f=e.wd();return B(function(a){a=a.target||a.srcElement;a===d?b.Gd():a===f?e.Gd():$wnd.console.error("unexpected scroll target: "+a)})}
-function tw(a,b){b.addEventListener?b.removeEventListener("scroll",a.e):b.detachEvent("onscroll",a.e)}
-function xw(a){var b,d,e;e=a.c.B.k;d=a.c.r.k;if(a.b!=d){for(b=0;b<a.c.c.b;b++)Qw(a.c.j,b,d),Qw(a.c.a,b,d),Qw(a.c.f,b,d);a.c.t.rd(a.c.i,-d,0);u(a.c.t,92)?a.c.e.style.left=-d+(Q(),"px"):a.c.t.rd(a.c.e,-d,0);a.b=d}Xw(a.c.a,d,e);a=a.c.a;var f,g;0!=a.d.b&&(d=!1,e=Dw(a,Ov(a.d)),b=a.b.w,e-=b,0<e?(d=v(Lt(e/a.e)),e=Jc(d,a.j.childNodes.length),d=a.j.childNodes.length,e=d-e,f=v(b/a.e),gx(a,new Tr(e,d),0,f),Hi(),a.c=f,d=!0):0>=e+a.e&&(d=e/a.e,d=v(0>=d?0-d:d),e=Jc(d,a.j.childNodes.length),e<a.j.childNodes.length?
-f=Nv(a,Pv(a.d))+1:f=v(b/a.e),g=a.j.childNodes.length,b=!1,f+e>a.n&&(--e,b=!0),gx(a,new Tr(0,e),g,f),b&&(f=new Tr(0,1),b=a.n-a.d.b,gx(a,f,0,b)),b=a.c+d,f=a.n-a.d.b,Hi(),a.c=b<f?b:f,d=!0),d&&(Mv(a.b),0==a.b.u.g.s&&mx(a.a)))}
-function Uv(a){var b,d,e,f,g,l;b=a.c.a;f=b.e*b.n;d=Ow(a.c.c);g=a.c.q;b=a.c.C;l=f>g-a.c.j.g-a.c.f.g;e=d>b;l!=e&&(!l&&e?l=f>g-a.c.j.g-a.c.f.g-Ft(a.c.r):e=d>b-Ft(a.c.B));l&&(b-=Ft(a.c.B),b=0>b?0:b);e&&(g-=Ft(a.c.r),g=0>g?0:g);a.c.A.style.height=g+(Q(),"px");a.c.A.style.width=b+"px";It(a.c.B,Ec(0,g-a.c.f.g-a.c.j.g));Nt(a.c.B,f);e=a.c.r.k;f=Mw(a.c.c,new Tr(a.c.c.b,a.c.c.a.b.length));d-=f;It(a.c.r,b-d);Nt(a.c.r,f);a.c.r.g.style.left=d+"px";Ht(a.c.r,e);St(a.c.r)?a.c.s.style.display="":a.c.s.style.display=
-(Be(),"none");d=a.c.k.style;b=a.c.g.style;St(a.c.B)?(d.display="",b.display="",St(a.c.r)?(a=Ft(a.c.r),b.bottom=a+"px"):b.bottom=""):(a=(Be(),"none"),d.display=a,b.display="none")}function gw(a){this.c=a;this.e=Ax(a);this.d=zx(a);this.g=new xx(a);this.j=wx(this.g);this.i=vx(this.g);this.f=ux(this.g)}s(231,227,{},gw);_.b=0;w(231);
-function Bx(a,b,d){var e;Cx(a.f,d,b);Dx(a.r,b);Dx(a.q,b);Ex(b,a);e=a.o.c;var f,g,l,n;if(0>d||d>e.a.b.length)throw new td("The given index("+d+") was outside of the current number of columns (0.."+e.a.b.length+")");f=e.c.d;for(l=0;1>l;l++)g=d+l,Cx(f.a,g,new at(f,g));ft(f,d+1);for(f=0;1>f;f++)Cx(e.a,d,new rx(e));(f=d<e.b)&&(e.b+=1);l=Ct(me(e.c.r.g.style,"width"))<Ct(me(e.c.r.n.style,"width"));Uv(e.c.u);g=Ct(me(e.c.r.g.style,"width"))<Ct(me(e.c.r.n.style,"width"));!l&&g&&Vv(e.c.a);Gw(e.c.j,d,f);Gw(e.c.a,
-d,f);Gw(e.c.f,d,f);if(0<e.c.j.n||0<e.c.a.n||0<e.c.f.n){g=new lh;n=new T(100);for(l=d;l<d+1;l++)f=F(l),g.Xe(f,n);Fw(e.c.c,g)}f=Mw(e.c.c,$(0,d));e.c.u.b>f&&(d=Mw(e.c.c,$(d,1)),Ht(e.c.r,e.c.u.b+d));b.he(b.k);e=new dh;e.Oe(Fx(b.c));Gx(a,e)}function Fu(a,b){md((fd(),gd),new Hx(a,b));return Lo(a,b,(mu(),nu))}
-function zu(a,b){if(u(a.G,127))zv(a.G,b);else if(u(a.G,176)){var d=a.G,e=new kj(P(y(z,1),h,1,3,[b])),f,g,l;g=new ov;for(l=new gh(e);l.b<l.d.jd();){e=(J(l.b<l.d.jd()),l.d.bf(l.c=l.b++));f=d.c.j.dd(e);var n;n=d;null!=n.e.a.Ye(f)?(n.a?(n.f.a.Ye(f),eh(n.b,f)):fs(f.c,f),n=!0):n=!1;n&&eh(g,e)}0<g.a.jd()&&Mo(d.c,new cv(d.c,null,g))}else throw new Y("Unsupported selection model");}function Ix(a,b){if(0>b||b>=a.f.b.length)throw new Y("Column not found.");return lt(a.f,b)}
-function Fx(a){var b;b=new dh;u(a,66)&&(a=Qu(),b.Oe(a));return b}function Jx(a){var b,d,e;d=as(a.o).b;b=a.o.j.j;e=(K(),L).gb(b)+((b.offsetHeight||0)|0);for(b=ex(a.o.a,d);(K(),L).gb(b)+((b.offsetHeight||0)|0)<e;)b=ex(a.o.a,++d);return d}function Kx(a){var b,d,e;e=as(a.o).a;b=Kd(a.o.f.j);do d=ex(a.o.a,--e);while((K(),L).gb(d)>b);return e}function Lx(a){if(u(a.G,127))return a=a.G,a.d?gs(a.d):null;throw new Y("Unsupported selection model; can not get single selected row");}
-function su(a,b){var d;a:{d=b;Fr();var e;if(d){for(e=null;!e&&d;)e=(U(),uk(d)),!e&&(d=Dd((K(),d)));if(u(e,16))for(d=e;d;)break a}d=null}if(d==a)return!1;for(;d&&d!=a;)d=d.N;return!!d}function Mx(a){Nx(a.o.j,a.r)}function Nx(a,b){var d,e;d=(b.e?b.d.b.length:0)-a.n;0<d?(Zr(a,0,d),Sv(a.b),lu(a.b)):0>d&&(e=a.b.B.k,$r(a,0,-d),Sv(a.b),lu(a.b),Ht(a.b.B,e));0<a.n&&cs(a,0,a.n)}
-function Ox(a,b){var d;d=Wn(a.f,b);var e=a.o.c;if(0>d||d+1>e.a.b.length)throw new td("The given column range ("+d+".."+(d+1)+") was outside of the current number of columns ("+e.a.b.length+")");var f,g,l;Ct(me(e.c.r.g.style,"width"))>=Ct(me(e.c.r.n.style,"width"))||(f=Mw(e,new Tr(0,d)),l=Mw(e,$(d,1)),g=e.c.r.k,g<=f||Ht(e.c.r,f>g-l?f:g-l));Lw(e.c.j,d);Lw(e.c.a,d);Lw(e.c.f,d);f=e.c.d;Px(new it(f.a,d,d+1));ft(f,d);Px(new it(e.a,d,d+1));d<e.b&&(d+1<e.b?e.b-=1:e.b=d);Uv(e.c.u);Vv(e.c.a);0<e.c.c.a.b.length&&
-(f=e.c.j,0<f.n&&Jw(f),f=e.c.a,0<f.n&&Jw(f),e=e.c.f,0<e.n&&Jw(e));Qx(a);Rx(a.r,b);Rx(a.q,b);Ex(b,null);a.f.ff(d)}function Hu(a,b){var d;d=a.o.a.n-1;if(0>b)throw new D("Row index ("+b+") is below zero!");if(b>d)throw new D("Row index ("+b+") is above maximum ("+d+")!");d=a.o;if(0>b||b>=d.a.n)throw new td("The given row index "+b+" does not exist.");d=d.u;var e,f,g;f=d.c.a.e*b;e=f+d.c.a.e;g=d.c.B.k;e=lw(f,e,g,g+Yw(d.c.a),0);Ht(d.c.B,e)}
-function Au(a,b){if(u(a.G,127)){var d=a.G,e;if(null==b)throw new D("Row cannot be null");e=d.d?gs(d.d):null;var f;(f=d.c.j.dd(b))&&!ks(f,d.d)?(Av(d,d.d),d.d=f,f=d.d,Xr(f.c,f),f=!0):f=!1;f&&Mo(d.c,new jv(d.c,b,e))}else if(u(a.G,176)){d=a.G;f=new kj(P(y(z,1),h,1,3,[b]));var g,l;e=new ov;for(l=new gh(f);l.b<l.d.jd();){f=(J(l.b<l.d.jd()),l.d.bf(l.c=l.b++));g=d.c.j.dd(f);var n;n=d;eh(n.e,g)?(Xr(g.c,g),n.a&&(n.b.a.Ye(g),eh(n.f,g)),n=!0):n=!1;n&&eh(e,f)}0<e.a.jd()&&Mo(d.c,new cv(d.c,e,null))}else throw new Y("Unsupported selection model");
-}function Sx(a,b){var d;if(!b)throw new D("dataSource can't be null.");a.G.Rd();a.j&&a.j.hd(null);a.j=b;b.hd(new Tx(a,b));d=a.o.a.n;0!=d&&$r(a.o.a,0,d);Ux(a)}function Ux(a){var b;b=a.j.jd();-1==b&&a.J&&a.J.K&&(b=$w(a.o.a));0<b&&Zr(a.o.a,0,b)}
-function Vx(a,b){var d;d=b.ie();a.G&&a.G.Sd(null);a.G=d;d.Sd(a);d=a.G.Pd();var e;if(a.D!=d){a.D&&(a.D&&(e=a.D,e.c&&Wu(e)),e=a.F,a.F=null,Ox(a,e),e=a.b,e.a=Wx(e.a,-1));if(a.D=d){e=a.b;e.a=Wx(e.a,1);a.F=new Xx(a,d);Bx(a,a.F,0);d=a.F;var f;u(d.b.G,176)&&d.b.r.a&&(f=d.b.G,e=new xq,f=new Yx(d,f),e.c||(Ho(e,new zq(e),(Cg(),Cg(),Dg)),e.c=!0),Lo(e,f,(!Wg&&(Wg=new Ig),Wg)),f=Zx(d.b.r.a,d),f.b=e,f.d=($x(),ay),by(f.c));cy(d,-1);if(d.a)throw new Yo("can't set the selection column editable");if(d.d&&0!=d.f.k.n)throw new Y("Cannot change column editable status while the editor is active");
-d.d=!1;d.a=!0}else a.F=null,cs(a.o.a,0,a.o.a.n);Qx(a)}}function Gx(a,b){var d,e,f,g;d=0;for(g=b.Cc();g.Tc();)if(f=g.Uc(),e=Io((U(),f)),0>e){e=a.O;var l=f;U();f=e;e=l;l=Jo;Ko(l);l.Fc(f,e)}else d|=e;0<d&&(-1==a.L?Vo((U(),a.O),d|(a.O.__eventBits||0)):a.L|=d)}
-function Qx(a){var b;b=0;a.F&&++b;a=a.o.c;var d=b,e,f;if(0>d||d>a.a.b.length)throw new D("count must be between 0 and the current number of columns ("+a.a.b.length+")");f=a.b;if(d!=f){a.b=d;if(Rv(a.c))for((b=d>f)?e=f:(e=d,d=f);e<d;e++)Kw(a.c.j,e,b),Kw(a.c.a,e,b),Kw(a.c.f,e,b);Uv(a.c.u)}}
-function dy(){var a;this.p=new pu(this);this.s=new Eu(this,this.p);this.t=new Ju(this,this.p);new Iu(this,this.p);this.e=new yu(this,this.p);new Bu(this,this.p);this.o=new cw;this.r=new ey;this.q=new fy;this.f=new C;this.g=$(0,0);this.H=new C;this.I=new gy(this);this.k=new hy;this.a=new iy(this);this.A=new qu;this.u=new ru(this.A);a=this.o;var b;if(this.J)throw new Y("Composite.initWidget() may only be called once.");jk(a);this.O=b=(U(),a.O);Xq();var d;U();try{d=!!b&&!!b.__gwt_resolve}catch(e){d=
-!1}d&&(Xq(),b.__gwt_resolve=Zq(this));this.J=a;To(a,this);(U(),this.O).tabIndex=0;this.b=new jy(this);Eo((U(),this.O),"v-grid");$v(this.o,"v-grid");a=this.k;null!=a.o&&(Td(a.e,a.o),Td(a.d,a.o+"-cells"),Td(a.g,a.o+"-footer"),Td(a.i,a.o+"-message"),Td(a.b,a.o+"-buttons"),b=a.o+"-save",Bo(a.k.kc(),b,!1),b=a.o+"-cancel",Bo(a.c.kc(),b,!1));a.o="v-grid-editor";M(a.e,a.o);M(a.d,a.o+"-cells");M(a.g,a.o+"-footer");M(a.i,a.o+"-message");M(a.b,a.o+"-buttons");b=a.k;d=a.o+"-save";M((U(),b.O),d);b=a.c;a=a.o+"-cancel";
-M((U(),b.O),a);a=xo(this.O)+"-row";this.w=a+"-has-data";this.B=a+"-selected";this.C=a+"-stripe";this.c=xo(this.O)+"-cell-focused";this.v=xo(this.O)+"-row-focused";this.J&&this.J.K&&(Nx(this.o.j,this.r),cs(this.o.a,0,this.o.a.n),Nx(this.o.f,this.q));Rw(this.o.j,new ky(this,this.r,this.o.j));Rw(this.o.a,new ly(this));Rw(this.o.f,new ky(this,this.q,this.o.f));this.r.c=this;a=my(this.r);ny(this.r,a);this.q.c=this;a=this.k;a.f=this;Fu(this,new oy(a));Vx(this,(py(),qy));Lo(this.o,new ry(this),(zt(),At));
-Lo(this.o,new sy(this),(vt(),wt));Lo(this,new ty(this),(hv(),hv(),iv));Gx(this,new kj(P(y(Ob,1),h,2,4,["touchstart","touchmove","touchend","touchcancel","click"])));Gx(this,new kj(P(y(Ob,1),h,2,4,["keydown","keyup","keypress","dblclick","mousedown"])));Lo(this,new uy(this),this.t.a);Fu(this,new vy(this))}function wy(a){var b;b=Qd(a,"customStyle");null!=b&&null!==b&&(null!=b&&Td(a,b),a.customStyle=null)}s(194,545,{24:1,21:1,18:1,23:1,37:1,22:1,20:1,16:1},dy);
-_.zc=function(){throw new Yo("Cannot add widgets to Grid with this method");};_.Cc=function(){throw new Yo("Cannot iterate through widgets in Grid this way");};_.sc=function(){Aq(this);0==this.o.a.n&&this.j&&Ux(this)};
-_.tc=function(a){var b,d,e,f;if(this.n&&(f=(K(),L).qb(a),Wd(f))){d=tu(this.o,f);e=a.type;if(d)b=d.sd(f),"mousedown"===e?this.d=b:!b&&"click"===e&&(b=this.d);else if("keydown"===e||"keyup"===e||"keypress"===e)d=this.b,b=new Vs(d.g,d.a.b,d.b),d=this.b.c;else return;e=this.p;var g,l;l=b.c;g=b.a;var n=e.e,p=e.b.j.ed(l);n.b=l;n.a=p;l=Ix(e.b,g);e.d=g;e.c=l;e.a=b.b;0!=this.k.n?(U(),128==Io((K(),a).type)&&27==(a.keyCode|0)&&xy(),e=!0):e=!1;if(!e){Oo(this,a);Oo(this.J,a);(f=su(this,f))||(d==this.o.j&&yy(this.r,
-this.p.e.b),f=!1);if(!f){a:{if(d==this.o.a&&(d=this.p.c,K(),u(d.c,66))){f=d.c;if(d=Qu().a.Ue(a.type))if(!(d=wj("touchstart",(K(),a).type))&&(d="mousedown"===a.type)&&(d=a.button,d=1==(1==d?4:2==d?2:1)),d){Wu(f);f.c=up(new gv(f));d=Ru(f,L.qb(a));f=f.a;e=f.f.b.G;u(e,526)&&(e.a=!0);e=f.f;b=Pu(Ij(e.b))+((Vu(e).offsetHeight||0)|0);e=Pu(Uu(f.f))-1;g=Ij(f.f.b);for(l=0;g;)l-=(g.scrollTop||0)|0,g=Dd((K(),g));g=l;f.g=g+b+100;f.b=g+e-100;f.c=100;50>f.b-f.g&&(e=50-(f.b-f.g),f.g-=e/2|0,f.b+=e/2|0,f.c-=e/2|0);
-f.d=up(f.e);e=f.f;b=f.g;g=f.b;l=f.c;n=f.f;p=n.b.j.ed(d);n=n.b.G.Qd(p);f.a=new fv(e,b,g,l,!n);f=f.a;f.p=!0;Yu(f.t,d,f.s);f.j=d;f.p&&10<=f.f&&(f.g=(!mc&&(mc=nc()?new oc:new pc),mc).T(f,Ij(f.t.b)));a.preventDefault();a.stopPropagation();d=!0}else throw new Y("received unexpected event: "+a.type);if(d){d=!0;break a}}d=!1}if(!d)a:if(wj((K(),a).type,"keydown")){e=-1;f=this.o.a;switch(a.keyCode|0){case 36:0<f.n&&(e=0);break;case 35:0<f.n&&(e=f.n-1);break;case 33:d=as(this.o);d.b<d.a&&(f=Jx(this),e=f-(d.a-
-d.b),0>e&&(e=0));break;case 34:d=as(this.o);d.b<d.a&&(e=Kx(this),e+=d.a-d.b,e>=f.n&&(e=f.n-1));break;default:d=!1;break a}Hu(this,e);d=!0}else d=!1;f=d}if(!f&&(d=new kj(P(y(Ob,1),h,2,4,["keydown","click"])),-1!=dx(d,a.type)))a:if(d=this.b,f=this.p,wj((K(),a).type,"click"))zy(d,f.e.b,f.d,tu(d.j.o,f.a)),Ij(d.j).focus();else if("keydown"===a.type){b=d.g;e=d.c;f=d.a.b;switch(a.keyCode|0){case 40:++b;break;case 38:--b;break;case 39:if(d.a.a>=Ay(new Zn(d.j.f)).jd())break a;f=d.a.a;break;case 37:if(0==f)break a;
---f;break;case 9:a.shiftKey?e=By(d,d.c):e=Cy(d,d.c);if(e==d.c)break a;break;default:break a}e!=d.c?e==d.j.o.a?b=d.d:e==d.j.o.j?b=d.f:b=d.e:0>b?(e=By(d,e),e==d.c?b=0:e==d.j.o.a?b=Kx(d.j):b=e.n-1):b>=d.c.n&&(e=Cy(d,e),e==d.c?b=d.c.n-1:e==d.j.o.a?b=Jx(d.j):b=0);0!=e.n&&(a.preventDefault(),a.stopPropagation(),zy(d,b,f,e))}}}};_.Ac=xv;_.mc=function(a){Wv(this.o,a)};_.nc=function(a){bw(this.o,a)};_.i=!1;_.n=!0;_.D=null;var Dy=w(194);function ry(a){this.a=a}s(218,1,{},ry);_.Hd=function(){Mo(this.a,new fu)};
-w(218);function sy(a){this.a=a}s(219,1,{},sy);w(219);function ty(a){this.a=a}s(220,1,{},ty);_.Nd=function(){var a=this.a;cs(a.o.a,0,a.o.a.n)};w(220);function uy(a){this.a=a}s(221,1,{574:1},uy);_.Jd=function(a){if(13==ke(a.d)){var b=this.a.I;a=a.c.c;K();Ey(b,a)}};w(221);function vy(a){this.a=a}s(222,1,{},vy);_.Id=function(){this.a.i=!1};w(222);function es(a,b,d){a.a.g=$(b,d);Mo(a.a,new ou(a.a.g))}function Tx(a,b){this.a=a;this.b=b}s(223,1,{},Tx);w(223);function Hx(a,b){this.a=a;this.b=b}
-s(224,1,{},Hx);_.ab=function(){this.a.i||this.b.Id(new ou(this.a.g))};w(224);function Fy(a){a=a.de();return 0<a?a:0>a?1:0}function Gy(a){a=a.ee();return 0<=a?a:1.7976931348623157E308}function Hy(a){a=a.fe();return 0<=a?a:Na}function Iy(a){a.b||(a.b=!0,md((fd(),gd),a.a))}function iy(a){this.d=a;this.a=new Jy(this)}s(205,1,{},iy);_.b=!1;_.c=0;w(205);function Jy(a){this.a=a}s(214,1,{},Jy);
-_.ab=function(){if(this.a.b)if(this.a.d.r.b)10>this.a.c?(md((fd(),gd),this),++this.a.c):(this.a.c=0,Yh((fd(),gd),this));else if(this.a.d.i)Yh((fd(),gd),this);else{var a=this.a,b,d,e,f,g;a.b=!1;a.c=0;b=Jr(a.d.o.A);for(g=new Ky(Ay(new Zn(a.d.f)).b.Cc());g.b.Tc();)f=g.b.Uc(),0<=f.k?b-=f.k:0<=f.fe()&&(b-=f.fe());if(0>b){b=new Ly;f=Ay(new Zn(a.d.f));for(g=0;g<f.jd();g++)My(b,F(g),new T(f.a.bf(g).k));Fw(a.d.o.c,b);b=new Ly;for(d=0;d<f.jd();d++)if(g=f.a.bf(d),e=0>g.k)e=Iw(g.f.o.c,Wn(g.f.f,g)),e<Hy(g)?My(b,
-F(d),new T(g.fe())):e>Gy(g)&&My(b,F(d),new T(g.ee()));Fw(a.d.o.c,b)}else{var l,n,p,r,q,t;p=!1;n=b=0;g=new dh;for(l=new Ky(Ay(new Zn(a.d.f)).b.Cc());l.b.Tc();){f=l.b.Uc();d=f.k;e=0<=d;r=Ec(d,f.fe());d=f.de();if(e)Ny(f,r);else if(Ny(f,-1),r=Iw(f.f.o.c,Wn(f.f.f,f)),e=Gy(f),e=r<e&&0<d)b+=d,eh(g,f),p=!0;n+=Iw(f.f.o.c,Wn(f.f.f,f))}if(!p)for(e=new Ky(Ay(new Zn(a.d.f)).b.Cc());e.b.Tc();)f=e.b.Uc(),l=f.k,d=f.de(),0>l&&0>d&&(++b,eh(g,f));r=Lt(Jr(a.d.o.A))-n;if(!(0>=r||0>=b)){do for(l=!1,t=Math.floor(r/b),p=
-bk(new ck(g.a));p.a.Tc();)f=dk(p),d=Fy(f),n=Iw(f.f.o.c,Wn(f.f.f,f)),e=Gy(f),q=n+t*d,e<=q&&(Ny(f,e),b-=d,r-=e-n,p.a.Vc(),l=!0);while(l);if(!(0>=b&&0==g.a.jd())){l=Math.floor(r/b);for(e=bk(new ck(g.a));e.a.Tc();)f=dk(e),d=Fy(f),n=Iw(f.f.o.c,Wn(f.f.f,f)),n+=l*d,Ny(f,n),b-=d;do{d=!1;n=0;for(e=new Ky(Ay(new Zn(a.d.f)).b.Cc());e.b.Tc();)f=e.b.Uc(),p=Lt(Hy(f)),b=Iw(f.f.o.c,Wn(f.f.f,f)),(l=0>f.k)&&b<p&&(Ny(f,p),n+=p-b,d=!0,g.a.Ye(f));b=0;for(e=bk(new ck(g.a));e.a.Tc();)f=dk(e),b+=Fy(f);n=Math.ceil(n/b);for(b=
-bk(new ck(g.a));b.a.Tc();)f=dk(b),e=n*Fy(f),Ny(f,Iw(f.f.o.c,Wn(f.f.f,f))-e)}while(d)}}e=!1;f=Jr(a.d.o.A);g=0;for(d=new Ky(Ay(new Zn(a.d.f)).b.Cc());d.b.Tc();)b=d.b.Uc(),g+=Iw(b.f.o.c,Wn(b.f.f,b)),0>b.k&&0!=b.de()&&(e=!0);e&&(b=Ix(a.d,a.d.f.b.length-1),f=Iw(b.f.o.c,Wn(b.f.f,b))+(f-g),f=Math.floor(f),Fw(a.d.o.c,Oy(F(a.d.f.b.length-1),new T(f))))}}};w(214);function ly(a){this.a=a}s(206,1,{},ly);_.ld=function(a,b){var d,e;for(e=b.Cc();e.Tc();)d=e.Uc(),Ix(this.a,d.a)};
-_.md=function(a,b){var d,e,f;e=this.a.A;e.b=a.d;e.a=null;for(e=b.Cc();e.Tc();)if(d=e.Uc(),f=Ix(this.a,d.a).c,u(f,66))try{var g=this.a.u;f=d;var l=Ix(this.a,d.a);g.a=f;d=g;var n=l;d.d=f.a;d.c=n}catch(p){if(p=H(p),u(p,9))Zb(Dy);else throw I(p);}};
-_.nd=function(a,b){var d,e,f;e=a.d;f=this.a.A;d=this.a.j.ed(e);f.b=e;f.a=d;for(e=b.Cc();e.Tc();)if(d=e.Uc(),f=Ix(this.a,d.a).c,u(f,66))try{var g=this.a.u;f=d;var l=Ix(this.a,d.a);g.a=f;d=g;var n=l;d.d=f.a;d.c=n;var p=this.a.u;f=void 0;f=(U(),de());for(var r=p.a.c;r.lastChild;)r.removeChild(r.lastChild);p.a.c.appendChild(f)}catch(q){if(q=H(q),u(q,9))Zb(Dy);else throw I(q);}};_.od=function(a,b){var d,e;for(e=new ht(new it(b.a.a,b.c,b.c+b.b),!0);e.c+e.d<e.a.b.length;)d=kt(e),Ix(this.a,d.a)};
-_.pd=function(a,b){var d,e,f,g,l,n,p,r;e=a.d;d=a.c;n=this.a.j.ed(e);g=null!=n;p=this.a.w;p=Hd(p);p=-1!=Id(d.className||"",p);p!=g&&Bo(d,this.a.w,g);Bo(d,this.a.C,0!=a.d%2);f=this.a.A;f.b=e;f.a=n;g?(Bo(d,this.a.B,this.a.G.Qd(n)),wy(d)):p&&(Bo(d,this.a.B,!1),wy(d));d=this.a.b;if(d.g==a.d&&d.c==d.j.o.a)a.c!=d.i&&(d.i&&Bo(d.i,d.j.v,!1),d.i=a.c,Bo(d.i,d.j.v,!0));else if(d.i==a.c||d.c!=d.j.o.a&&d.i)Bo(d.i,d.j.v,!1),d.i=null;for(e=b.Cc();e.Tc();){d=e.Uc();f=Ix(this.a,d.a);Py(this.a.b,d,this.a.o.a);(g||p)&&
-wy(d.c);l=f.c;try{var q=this.a.u,t=d,A=f;q.a=t;var E=q;E.d=t.a;E.c=A;if(u(l,66))g?(p||ms(this.a.u,!0),r=f.ge(n),Xu(this.a.u,r)):ms(this.a.u,!1);else if(g)r=f.ge(n),l.kd(this.a.u,r);else for(var S=d.c;S.lastChild;)S.removeChild(S.lastChild)}catch(Ba){if(Ba=H(Ba),u(Ba,9))Zb(Dy);else throw I(Ba);}}};w(206);function Cy(a,b){if(b==a.j.o.j)b=a.j.o.a;else if(b==a.j.o.a)b=a.j.o.f;else return b;return 0==b.n?Cy(a,b):b}
-function By(a,b){if(b==a.j.o.f)b=a.j.o.a;else if(b==a.j.o.a)b=a.j.o.j;else return b;return 0==b.n?By(a,b):b}
-function zy(a,b,d,e){var f,g,l,n;if(b!=a.g||!Fv(a.a,d)||e!=a.c){n=a.g;a.g=b;b=a.a;if(e==a.j.o.a)Hu(a.j,a.g),a.a=$(d,1);else{l=0;f=Md(e.ud(a.g));do{g=Pd(f,"colSpan");g=$(l,g);if(g.b<=d&&d<g.a){a.a=g;break}f=Xd((K(),f));++l}while(f)}if(d>=a.j.o.c.b){f=a.j.o;if(0>d||d>=f.c.a.b.length)throw new td("The given column index "+d+" does not exist.");if(d<f.c.b)throw new D("The given column index "+d+" is frozen.");f=f.u;var p;g=Mw(f.c.c,$(0,f.c.c.b));l=Mw(f.c.c,$(0,d))-g;d=l+Iw(f.c.c,d);p=f.c.r.k;g=p+Jr(Ij(f.c))-
-g;St(f.c.B)&&(g-=Gr());d=lw(l,d,p,g,10);Ht(f.c.r,d)}a.c==e?Qy(b,a.a)&&n!=a.g?a.c.vd(n):(Mx(a.j),n=a.j,Nx(n.o.f,n.q)):(d=a.c,a.c=e,d==a.j.o.a?a.d=n:d==a.j.o.j?a.f=n:a.e=n,Qy(b,a.a)?d.vd(n):(Mx(a.j),e=a.j,Nx(e.o.f,e.q),d==a.j.o.a&&d.vd(n)))}a.c.vd(a.g)}function Py(a,b,d){var e,f;e=b.d.d;f=js($(b.a,Pd(b.c,"colSpan")),a.a);d==a.c&&(e==a.g&&f?a.b!=b.c&&(a.b&&Bo(a.b,a.j.c,!1),a.b=b.c,Bo(a.b,a.j.c,!0)):a.b==b.c&&(Bo(a.b,a.j.c,!1),a.b=null))}
-function jy(a){this.j=a;this.c=this.j.o.a;this.a=$(0,1);Gx(a,new kj(P(y(Ob,1),h,2,4,["keydown","click"])))}s(202,1,{},jy);_.b=null;_.d=0;_.e=0;_.f=0;_.g=0;_.i=null;w(202);function Ny(a,b){var d,e;a.f&&(e=Wn(a.f.f,a),d=a.f.o.c,Fw(d,Oy(F(e),new T(b))))}function Ex(a,b){var d;if(a.f&&b)throw new Y("Column already is attached to a grid. Remove the column first from the grid and then add it. (in: "+Ry(a)+")");a.f&&Iy(a.f.a);a.f=b;a.f&&(Iy(a.f.a),d=a.f.r.a)&&(d=Zx(d,a),d.b=a.g,d.d=($x(),Sy),by(d.c))}
-function Ty(a,b){if(!b)throw new D("Renderer cannot be null.");a.c=b;if(a.f){var d=a.f;cs(d.o.a,0,d.o.a.n)}}function Uy(a,b){Kr(a.k,b)||(a.k=b,a.f&&Iy(a.f.a));return a}function Ry(a){var b,d;b="";a.g.length?b+='header:"'+a.g+'" ':b+="header:empty ";a.f?(d=Ay(new Zn(a.f.f)).a.cf(a),-1!=d?b+="attached:#"+d+" ":b+="attached:unindexed "):b+="detached ";b+="sortable:false ";return ac(a.cZ)+"["+Ud(b)+"]"}s(130,1,{});_.de=Vy;_.ee=function(){return this.i};_.fe=function(){return this.j};
-_.he=function(a){return Uy(this,a)};_.tS=function(){return Ry(this)};_.d=!0;_.e=-1;_.g="";_.i=-1;_.j=10;_.k=-1;w(130);function xy(){throw new Y("Cannot cancel edit: editor is not enabled");}function hy(){this.e=(U(),N());this.d=N();this.g=N();this.i=N();this.b=N();N();new lh;this.a=new Wy;new dh;var a=this.k=new wq,a=(U(),a.O);(K(),a).textContent="Save";Ho(this.k,new Xy,(Cg(),Cg(),Dg));a=this.c=new wq;a=(U(),a.O);(K(),a).textContent="Cancel";Ho(this.c,new Yy,Dg)}s(201,1,{},hy);_.j=-1;_.n=0;_.o=null;
-w(201);s(207,38,{},function(){});_.W=Zy;w(207);function Wy(){}s(208,38,{},Wy);_.W=Zy;w(208);function Xy(){}s(209,1,{},Xy);_.xb=function(){throw new Y("Cannot save: editor is not enabled");};w(209);function Yy(){}s(210,1,{},Yy);_.xb=function(){xy()};w(210);function oy(a){this.a=a}s(211,1,{},oy);
-_.Id=function(a){if(Fv(a.a,this.a.j)&&(a=this.a,1==a.n)){a.n=2;wc(a.a,5E3);null.yf();a=a.f.o;var b=(Xt(),Yt);switch(b.b){case 1:a.r.d=!0;break;case 0:a.B.d=!0;break;default:throw new Yo("Unexpected value: "+b);}}};w(211);function Dx(a,b){var d,e;for(e=new gh(a.d);e.b<e.d.jd();)d=(J(e.b<e.d.jd()),e.d.bf(e.c=e.b++)),$y(d,b)}function my(a){var b=a.d.b.length,d,e;e=new az;e.d=a;for(d=0;d<a.c.f.b.length;++d)$y(e,Ix(a.c,d));Cx(a.d,b,e);a.b=!0;md((fd(),gd),new bz(a));return e}
-function yy(a,b){try{return lt(a.d,b)}catch(d){d=H(d);if(u(d,28))throw new D("Row with index "+b+" does not exist");throw I(d);}}function Rx(a,b){var d,e;for(e=new gh(a.d);e.b<e.d.jd();)d=(J(e.b<e.d.jd()),e.d.bf(e.c=e.b++)),d.c.Ye(b)}s(136,1,{});_.e=!0;w(136);function fy(){this.d=new C}s(200,136,{},fy);w(200);function by(a){a.b=!0;md((fd(),gd),new bz(a))}
-function ny(a,b){if(b!=a.a){if(b&&-1==Wn(a.d,b))throw new D("Cannot set a default row that does not exist in the container");a.a&&(a.a.a=!1);b&&(b.a=!0);a.a=b;a.b=!0;md((fd(),gd),new bz(a))}}function ey(){this.d=new C}s(197,136,{},ey);_.b=!1;w(197);function bz(a){this.a=a}s(100,1,{},bz);_.ab=function(){this.a.b&&(this.a.b=!1,Mx(this.a.c))};w(100);function cz(a){if(a.d!=($x(),ay))throw new Y("Cannot fetch Widget from a cell with type "+a.d);return a.b}s(195,1,{});_.a=1;_.b=null;w(195);
-function dz(){this.d=($x(),Sy)}s(199,195,{},dz);w(199);function $y(a,b){var d;d=new dz;d.c=a.d;a.c.Xe(b,d)}function Zx(a,b){var d;a:{var e;for(e=bk(new ck(a.b));e.a.Tc();)if(d=dk(e),d.Pe(b))break a;d=null}return d?a.b.We(d):a.c.We(b)}s(196,1,{});w(196);function az(){this.c=new lh;this.b=new lh}s(198,196,{},az);_.a=!1;w(198);function uu(){uu=m;wu=new ez("HEADER",0);xu=new ez("BODY",1);vu=new ez("FOOTER",2)}function ez(a,b){O.call(this,a,b)}s(75,4,{75:1,3:1,5:1,4:1},ez);
-var xu,vu,wu,fz=x(75,function(){uu();return P(y(fz,1),h,75,0,[wu,xu,vu])});function cy(a,b){if(b!=a.k&&a.a)throw new Yo("The selection column cannot be modified after init");Uy(a,b);return a}function Xx(a,b){this.b=a;Ty(this,b);this.a=!1}s(203,130,{},Xx);_.de=gz;_.ee=hz;_.fe=hz;_.ge=function(a){return Qi(),this.b.G.Qd(a)?Ri:rl};_.he=function(a){return cy(this,a)};_.a=!1;w(203);function Yx(a,b){this.a=a;this.b=b}s(212,1,{},Yx);_.Ab=function(a){a.a.a?Mo(this.a.b,new Mu):kv(this.b)};w(212);
-function py(){py=m;qy=new iz;jz=new kz;lz=new mz}s(59,4,Oa);var jz,lz,qy,nz=x(59,function(){py();return P(y(nz,1),h,59,0,[qy,jz,lz])});function iz(){O.call(this,"SINGLE",0)}s(215,59,Oa,iz);_.ie=function(){return new Bv};x(215,null);function kz(){O.call(this,"MULTI",1)}s(216,59,Oa,kz);_.ie=function(){return new rv};x(216,null);function mz(){O.call(this,"NONE",2)}s(217,59,Oa,mz);_.ie=function(){return new uv};x(217,null);
-function oz(a,b,d){var e,f,g;f=yy(a.b,b.d);b=Ay(new Zn(a.c.f));for(d=d.Cc();d.Tc();)if(e=d.Uc(),g=Zx(f,b.a.bf(e.a)),($x(),ay)==g.d&&(g=cz(g),e=e.c,!g.rc())){var l=(U(),g.O);e.appendChild(l);g.xc(a.c)}}function pz(a,b,d){var e;if(a.b.d.b.length>b.d)for(b=yy(a.b,b.d),a=Ay(new Zn(a.c.f)),d=d.Cc();d.Tc();)e=d.Uc(),e=Zx(b,a.a.bf(e.a)),($x(),ay)==e.d&&cz(e).rc()&&(e=cz(e),e.xc(null),Fd((U(),e.O)))}function ky(a,b,d){this.c=a;this.b=b;this.a=d}s(138,1,{},ky);_.ld=function(a,b){oz(this,a,b)};_.md=Zs;
-_.nd=Zs;_.od=function(a,b){pz(this,a,b)};
-_.pd=function(a,b){var d,e,f,g,l,n;n=yy(this.b,a.d);f=Ay(new Zn(this.c.f));wy(a.c);for(e=b.Cc();e.Tc();){d=e.Uc();l=Zx(n,f.a.bf(d.a));if(n){g=d.c;g.removeAttribute("sort-order");Td(g,"sort-desc");Td(g,"sort-asc");g=Ix(this.c,d.a);a:for(var p=void 0,p=new Ky(Ay(this.c.H).b.Cc());p.b.Tc();)if(p.b.Uc(),null.zf==g)break a}g=d;var p=l.a,r=void 0;if(1>p)throw new D("Number of cells should be more than 0");r=Pd(g.c,"colSpan");if(1!=p||1!=r){g.c.colSpan=p;for(var q=g,t=void 0,A=void 0,E=void 0,S=void 0,t=
-mt(q.b,p-1).b,E=q.d.b[q.a],A=S=0;A<t;A++)S+=q.d.b[q.a+A+1];q.c.style.width=E+S+(Q(),"px");q=p;A=t=void 0;t=mt(g.b,(r>q?r:q)-1);if(r<q)for(A=0;A<t.b;A++)(sd(r+A-1,t.b),lt(t.c,t.a+(r+A-1))).c.style.display=(Be(),"none");else if(r>q)for(A=0;A<t.b;A++)(sd(q+A-1,t.b),lt(t.c,t.a+(q+A-1))).c.style.display="";g.b.d=p-1}g=d.c;switch(l.d.b){case 0:p=g;if(l.d!=($x(),Sy))throw new Y("Cannot fetch Text from a cell with type "+l.d);l=l.b;(K(),p).textContent=l||"";break;case 1:p=g;if(l.d!=($x(),qz))throw new Y("Cannot fetch HTML from a cell with type "+
-l.d);p.innerHTML=l.b||"";break;case 2:pz(this,a,new kj(P(y(bt,1),h,76,0,[d]))),g.innerHTML="",oz(this,a,new kj(P(y(bt,1),h,76,0,[d])))}wy(g);Py(this.c.b,d,this.a)}};w(138);function Ey(a,b){if(-1==Wn(a.b.f,b))throw new D("Given column is not a column in this grid. "+Ry(b));}function gy(a){this.b=a}s(204,1,{},gy);w(204);s(213,38,{},function(a){this.a=a});_.W=function(){Ey(this.a,this.a.a)};w(213);s(538,1,{});_.addEventListener=function(a,b){this.addEventListener(a,b)};_.appendChild=function(a){this.appendChild(a)};
-_.children=function(){return this.children};_.className=function(){return this.className};_.className=function(a){return _=this,_.className=a,_};_.createShadowRoot=function(){return this.createShadowRoot()};_.dispatchEvent=function(a){this.dispatchEvent(a)};_.getAttribute=function(a){return this.getAttribute(a)};_.innerHTML=function(a){this.innerHTML=a};_.innerText=function(){return this.innerText};_.innerText=function(a){this.innerText=a};_.setAttribute=function(a,b){this.setAttribute(a,b)};
-_.shadowRoot=function(){return this.shadowRoot};_.style=function(){return this.style};w(538);s(539,538,{});w(539);function rz(){rz=m;sz=$wnd}var sz;function tz(){tz=m;new dh;uz=(rz(),sz);vz=uz.document;wz()}
-function xz(a){var b=$wnd.Object.create($wnd.HTMLElement.prototype);a=$wnd.Object.getPrototypeOf(a);(function(a,b){for(var f in b)if(b.hasOwnProperty(f)){var g=/^jsProperty([A-Z].+)$/.exec(f);if(g){var l=g[1].charAt(0).toLowerCase()+g[1].slice(1),n="get"+g[1],g="set"+g[1];void 0===b[l]&&Object.defineProperty(a,l,{get:b[n]||function(){},set:b[g]||function(){},enumerable:!0,configurable:!0});delete a[n];delete a[g]}else a[f]=b[f]}})(b,a);$wnd.__addEventListener_patched&&(b.addEventListener=$wnd.__addEventListener_patched);
-return{prototype:b}}function wz(){$wnd.__addEventListener_org||(console.log("Monkey Patched HTMLElement.addEventListener"),$wnd.__addEventListener_org=$wnd.HTMLElement.prototype.addEventListener,$wnd.__addEventListener_patched=function(a,b,d){$wnd.__addEventListener_org.call(this,a,u(b,18)?function(a){b.tc(a)}:b,d)},$wnd.HTMLElement.prototype.addEventListener=$wnd.__addEventListener_patched)}function yz(a,b){tz();var d;d=xz(b);vz.registerElement(a,d)}var vz,uz;s(540,1,{},function(){});w(540);
-function zz(){zz=m;Az=new Bz}function Cz(a,b,d){zz();try{return(new Dz(Ez(a,b,""+d))).a}catch(e){e=H(e);if(u(e,63))return 0;throw I(e);}}function Ez(a,b,d){zz();a=a.getAttribute(b);return null!=a&&a.length?a:d}
-function Fz(a){var b,d,e,f,g,l;g=ek(a,P(y(Ob,1),h,2,4,["link[rel\x3d'import'], script[src]"]));a=P(y(Vi,1),h,6,0,[new Gz(a)]);var n,p,r;b=0;for(p=a.length;b<p;++b)if(d=a[b])for(r=0,e=g.c,f=0,l=e.length;f<l;++f){n=e[f];var q=d,t=n;++r;n=void 0;q.g=t;q.g=t;(n=Ni(t))?(t=(U(),n.O),q.g=t,Oi(q,n)):(q.g=t,Mi(q,t))}l=(G(),new nj(oj(null)));a=g.c;e=0;for(f=a.length;e<f;++e)if(d=a[e],b=hk(W(d),"import"))d=l,b=Fz(W(b)),Zj(d,bm(d.d,b.d,!0),ak(",",P(y(Ob,1),h,2,4,[d.b,b.b])));return Zj(g,bm(g.d,l.d,!0),ak(",",
-P(y(Ob,1),h,2,4,[g.b,l.b])))}
-function Hz(a,b,d){var e,f;zz();var g,l,n,p;g=Fz(W((G(),$i)));l=Xj(g,new Iz);n=Xj(g,new Jz);p=Xj(g,new Kz);g=Lz((f="__gwtDevModeHook:"+$moduleName+":moduleBase",e=$wnd||self,e[f]||$moduleBase),$moduleName+"/","");0==l.c.length?-1!=g.indexOf("VAADIN/widgetsets")?g+="../themes/":0==p.c.length?0==n.c.length||(g+="VAADIN/themes/"):g=Lz(0==p.c.length?"":Ld(Oj(p,0),"src"),"vaadin-components.js","themes/"):(g=pm(0==l.c.length?"":Ld(Oj(l,0),"href"),"[\\w\\-]+\\.html",""),Sl(g,"^(|/|.*[\\w\\-]/)$")?g+="../vaadin-":
-g+="VAADIN/themes/");g+=d+"/styles.css";d=P(y(Ob,1),h,2,4,[d]);var r;n=a.c;p=0;for(r=n.length;p<r;++p)if((l=n[p])&&1==l.nodeType)for(e=0,f=d.length;e<f;++e)a=d[e],Gd(l,a);g="@import url('"+g+"')";a=b.c;d=0;for(e=a.length;d<e;++d)b=a[d],(K(),b).textContent=g||""}function Mz(a,b,d){var e=Az;zz();b=Ez(b,"theme",null);null!=b&&-1==Co(ok(W(d)),b)&&(Hz(W(a),W(d),b),Nz(W(d),e))}
-function Oz(a,b){zz();if("observe"in Object){var d=function(){b.tc(null)};a.__fnc=d;Object.observe(a,d)}else $wnd.console.log("This browser does not support Object.observe, consider to load a polyfill.")}function Pz(a){zz();a&&a.__fnc&&(Object.unobserve(a,a.__fnc),a.__fnc=void 0)}
-function Nz(a,b){zz();var d,e;try{if((e=0==a.c.length?null:ik(Oj(a,0),"sheet"))&&(d=e?zj(e,"cssRules"):null)&&0<d.length){var f=new Qz(d,a,b);f.f&&xc(f);f.e=!0;var g,l=yc(f,f.d);g=$wnd.setInterval(l,100);f.f=F(g)}}catch(n){if(n=H(n),u(n,7))Yh((fd(),gd),new Rz(a,b));else throw I(n);}}var Az;function Bz(){Ui.call(this)}s(289,6,va,Bz);_.Nb=function(){var a,b,d,e;b=(G(),hj("v-grid",$i)).c;d=0;for(e=b.length;d<e;++d)a=b[d],Um(a,"redraw",P(y(z,1),h,1,3,[]))};w(289);
-function Sz(a,b){"complete"===hk(W((G(),$i)),"readyState")?Vn(b,P(y(z,1),h,1,3,[])):wc(new Tz(a,b),5)}function Uz(){Mn.call(this);this.hc(this.c)}s(290,132,za,Uz);_.hc=function(a){Sz(this,a)};w(290);function Tz(a,b){this.a=a;this.b=b}s(291,38,{},Tz);_.W=function(){Sz(this.a,this.b)};w(291);function Vz(){Ui.call(this)}s(292,6,va,Vz);
-_.Nb=function(){var a,b,d;a=(G(),hj("body",$i));d=0==a.c.length?"":Ld(Oj(a,0),"vaadin-theme");if(d.length){b=hj("#__vaadin-style",$i);if(0==b.c.length){b=hj("\x3cstyle id\x3d'__vaadin-style' language\x3d'text/css'\x3e\x3c/style\x3e",$i);var e=hj("head",$i),f=P(y(Pb,1),h,0,2,[]),g,l,n,p,r,q;r=oj(null);0==f.length&&(f=e.c);g=0;for(n=f.length;g<n;g++)for(e=f[g],9==e.nodeType&&(e=e.body),l=0,q=b.c.length;l<q;l++)p=Oj(b,l),0<g&&(p=p.cloneNode(!0)),sj(r,e.appendChild(p)),Vj(),Vj();Tm(r)>=b.c.length&&Hj(b,
-r)}Hz(a,b,d);Nz(b,(zz(),Az))}};w(292);function Qz(a,b,d){this.b=a;this.c=b;this.a=d}s(293,38,{},Qz);_.W=function(){var a;try{if(a=ik(this.b[0],"styleSheet"))wc(new Wz(this.a),500),uj(vj(P(y(z,1),h,1,3,[(G(),"Theme rules were loaded: "+ok(this.c))]))),xc(this)}catch(b){if(b=H(b),u(b,7))a=b,uj(vj(P(y(z,1),h,1,3,[(G(),a)])));else throw I(b);}};w(293);function Wz(a){this.a=a}s(294,38,{},Wz);_.W=function(){this.a.Nb()};w(294);function Rz(a,b){this.b=a;this.a=b}s(295,1,{},Rz);
-_.ab=function(){Nz(this.b,this.a)};w(295);function Gz(a){this.a=a;Ui.call(this)}s(296,6,va,Gz);
-_.Nb=function(){var a,b;a=hj("\x3ca\x3e",Oj(this.a,0));b=null!=hk(W(this),"href")?"href":"src";var d=Nj(W(this),b),e,f,g,l;f=a.c;g=0;for(l=f.length;g<l;++g)(e=f[g])&&X(e,"href",d);d=W(this);a=0==a.c.length?null:ik(Oj(a,0),"href");e=(!Ak&&(Ak=new ml),d);var n,d=ae("type",b)?(vl(),!yl&&(yl=new xl),vl(),yl):"id"===b?(!ul&&(ul=new tl),ul):"value"===b?(!Al&&(Al=new zl),Al):ll.test(b)?(!sl&&(sl=new pl),sl):(!ol&&(ol=new nl),ol);if(d._b(a))for(d=(!(G(),Ak)&&(Ak=new ml),e).c,e=0,f=d.length;e<f;++e)a=d[e],
-1==a.nodeType&&(pj(a,b)&&(ll.test(b)?a[b]=!1:a[b]=null),a.removeAttribute(b));else for(f=e.c,g=0,l=f.length;g<l;++g)e=f[g],n=e.nodeType,3!=n&&8!=n&&2!=n&&d.ac(e,b,a)};w(296);function Iz(){}s(297,543,{},Iz);_.Wb=function(a){a=Nj(W(a),"href");return Sl(a,"^(|.*/)(vaadin-[\\w\\-]+)\\.html")};w(297);function Jz(){}s(298,543,{},Jz);_.Wb=function(a){a=Nj(W(a),"src");return Sl(a,"^.*\\.nocache.js.*")};w(298);function Kz(){}s(299,543,{},Kz);
-_.Wb=function(a){a=Nj(W(a),"src");return wj(a.substr(a.length-20,20),"vaadin-components.js")};w(299);function Xz(a){a.r=a.e.j.jd();Yz(a,a.r)}
-function Yz(a,b){var d,e;e=(Cp(),Dp).Ic();if(!Up||Tp!==e){var f,g,l,n,p,r,q,t;q=new lh;if(null!=e&&1<e.length)for(g=e.substr(1,e.length-1),g=am(g,"\x26",0),p=0,r=g.length;p<r;++p)if(l=g[p],n=am(l,"\x3d",2),l=n[0],l.length){n=1<n.length?n[1]:"";try{if(null==n)throw new Yg("encodedURLComponent cannot be null");n=(f=/\+/g,decodeURIComponent(n.replace(f,"%20")))}catch(A){if(A=H(A),!u(A,61))throw I(A);}t=q.We(l);t||(t=new C,q.Xe(l,t));t.Ne(n)}for(g=q.Ve().Cc();g.Tc();)f=g.Uc(),f.lf(Ay(f.kf()));Up=q=(R(),
-new Zz(q));Tp=e}null!=(d=Up.We("resize"),d?d.bf(d.jd()-1):null)&&0<b&&(a.r=b,d=(Jv(),Kv),Zv(a.e.o,d),Yv(a.e.o,10>b?b:10))}function $z(a){a.e||(a.a=!0,aA(a));return a.e}
-function aA(a){var b,d,e,f,g,l,n,p,r,q;if(a.a){a.a=!1;for(u(a.e.G,107)&&wj(Nj(W(a),"selectionMode"),"multi")?Vx(a.e,(py(),jz)):u(a.e.G,108)&&!wj(Nj(W(a),"selectionMode"),"multi")&&Vx(a.e,(py(),qy));0<a.f.b.length;){b=a.e;if((e=a.f.ff(0))&&e==b.F)throw new D("The selection column may not be removed manually.");Ox(b,e)}if(a.b){n=0;for(r=a.b.jd();n<r;n++){b=a.b.bf(n);e=(g=RegExp("\\{\\{data\\}\\}","ig"),new bA(new cA(b,g),b,n));p=d=a.e;l=e;d=d.f.b.length;if(l==p.F)throw new D("The selection column many not be added manually");
-if(p.F&&0==d)throw new Y("A column cannot be inserted before the selection column");Bx(p,l,d);vc(a.f,e);for(p=0;p<dA(b).a.length;p++){a.e.r.d.b.length<dA(b).a.length&&my(a.e.r);l=eA(dA(b),p);for(d=f=0;d<=p+f;d++)q=yy(a.e.r,d),0!=n&&1!=Zx(q,Ix(a.e,n-1)).a&&++f;f=d=Zx(yy(a.e.r,p+f),e);q=v(Ck(l.a,"colSpan"));if(1>q)throw new D("Colspan cannot be less than 1");f.a=q;by(f.c);f=zj(l.a,"content");l=Fk(l.a,"format");fA();switch(oe((gA(),hA),l).b){case 1:d.b=f;d.d=($x(),qz);by(d.c);break;case 2:l=d;l.b=f;
-l.d=($x(),ay);by(l.c);break;case 0:l=d,l.b=f,l.d=($x(),Sy),by(l.c)}}}g=yy(a.e.r,a.g);ny(a.e.r,g)}g=Oj(Tj(a.k,P(y(Ob,1),h,2,4,["table"])),0);g=new iA(g,a);if(g=0<g.c?g:null)Sx(a.e,g),a.redraw()}}function jA(){this.je()}s(179,539,{572:1},jA);_.je=Wo;_.ke=function(){Xz(this)};_.le=function(a){Yz(this,a)};_.me=function(){this.se()};_.attachedCallback=Cb(_.me,[]);_.ne=function(){this.we()};_.attributeChangedCallback=Cb(_.ne,[]);
-_.oe=function(){this.s=(tz(),vz.createElement("style"));this.s.setAttribute("language","text/css");this.o=vz.createEvent("HTMLEvents");this.o.initEvent("select",!1,!1);this.o.srcElement=this;this.d=vz.createElement("div");this.b=new C;this.f=new C;this.e=new dy;Lo(this.e,this,(hv(),hv(),iv))};_.createdCallback=Cb(_.oe,[]);_.pe=kA;
-_.getColumns=function(){var a,b;if(this.c)for(a=0,b=this.c.length;a<b;a++)Pz(this.c[a]);a=(!V&&(V=new Jk),Lk(Yk));Nk(a,"columns",this.b.Te(zc(fl,h,524,0,0)));this.c=zj(a.a,"columns");a=0;for(b=this.c.length;a<b;a++)Oz(this.c[a],new lA(this));return this.c};_.getDataSource=function(){return Wb()};_.qe=function(){return $z(this)};_.getHeightMode=function(){var a=this.e.o.p;return null!=a.a?a.a:""+a.b};_.getRowCount=function(){return this.r};
-_.getSelectedRow=function(){return this.e&&this.e.G&&u(this.e.G,127)&&null!=Lx(this.e)?Wr(this.e.j,Lx(this.e)):-1};_.getSelectedRows=function(){var a;if(!this.q){!this.p&&(this.p=[]);this.p.length=0;a=this.e.G.Od();for(a=a.Cc();a.Tc();){var b=this.p,d=Wr(this.e.j,a.Uc());b[b.length]=d}Pz(this.p);Oz(this.p,new mA(this))}return this.p};_.getTheme=nA;_.re=function(){aA(this)};
-_.se=function(){var a;if(!this.i){this.i=!0;a=Pj(W(this));var b,d,e,f,g,l;e=a.c;f=0;for(g=e.length;f<g;++f)d=e[f],b=Hl((!Bk&&(Bk=(!Fj&&(Fj=new Gj),Jl(),cm)),Bk),d,"display",!1),l=sk(d,"old-display",null),null==l&&0!=b.length&&"none"!==b&&sk(d,"old-display",b);b=a.c;e=0;for(f=b.length;e<f;++e)d=b[e],g=(Be(),"none"),d.style.display=g;this.k=a;a=qk(W(this));!a&&(a=qk(An(Jj(W(this),(G(),dj)))));Lo(a,this,(!Mg&&(Mg=new Ig),Mg));zz();(Qi(),ae("true",Ez(this,"shadow","false"))?Ri:rl).a?(a=this.createShadowRoot(),
-a.appendChild(this.s),a.appendChild(this.d)):(this.appendChild(this.s),this.appendChild(this.d));a=qk(An(Jj(W(this.d),(G(),dj))));a.zc(this.e);this.we();d=Jj(this.k,(an(),bn));a=(!V&&(V=new Jk),Lk(Qk));a.a.attributes=!0;a.a.characterData=!0;a.a.childList=!0;a.a.subtree=!0;a=a.a;b=d.c;e=0;for(f=b.length;e<f;++e)d=b[e],fn(d,a,this)}};_.jsPropertyColumns=Wo;_.jsPropertyDataSource=Wo;_.jsPropertyHeight=Wo;_.jsPropertyHeightMode=Wo;_.jsPropertyRowCount=Wo;_.jsPropertySelectedRow=Wo;
-_.jsPropertySelectedRows=Wo;_.jsPropertyTheme=Wo;
-_.te=function(){var a,b,d,e,f,g,l,n,p,r,q,t;a=ek(this.k,P(y(Ob,1),h,2,4,["thead tr"]));e=pk(a);if(0!=a.c.length&&e!==this.j){this.j=e;e=new C;p=new lh;a:{n=Oj(ek(this.k,P(y(Ob,1),h,2,4,["tr[default]"])),0);l=0;b=a.c;f=0;for(g=b.length;f<g;++f){d=b[f];if(d==n){n=l;break a}++l}n=-1}this.g=n;-1==this.g&&(this.g=0);for(b=0;b<a.c.length;b++)for(d=Sj(W(Oj(a,b)));e.b.length<d.c.length;)n=(!V&&(V=new Jk),Lk(fl)),p.Xe(n,new C),e.b[e.b.length]=n;for(q=0;q<a.c.length;q++)for(d=Sj(W(Oj(a,q))),t=f=0;t<d.c.length;t++)n=
-(sd(t+f,e.b.length),e.b[t+f]),r=(!V&&(V=new Jk),Lk(hl)),b=W(Oj(d,t)),oA(n,0==b.c.length?"":Ld(Oj(b,0),"name")),g=1,l=0==b.c.length?"":Ld(Oj(b,0),"colspan"),l.length&&(g=vs(l),f+=g-1),r.a.colSpan=g,pA(qA(r,0==b.c.length?"":Od(Oj(b,0)))),p.We(n).Ne(r);f=bk(new ck(p));Cj(ek(this.k,P(y(Ob,1),h,2,4,["div[v-wc-container]"])),!0);a=ek(this.k,P(y(Ob,1),h,2,4,["tr[template] td"]));for(b=0;f.a.Tc();b++)n=dk(f),rA(n,p.We(n)),b<a.c.length&&(d=fk(W(Oj(a,b))),Gk(n.a,"template",d));this.a=!0;this.b=e}};_.yb=yv;
-_.onAttachOrDetach=Cb(_.yb,[!1]);_.ue=function(){this.we();this.refresh()};_.onMutation=Cb(_.ue,[!1]);_.Nd=function(){this.n||(this.n=!0,this.dispatchEvent(this.o),Sl(this.getAttribute("selectedRow"),"\\s*\\{\\{.+\\}\\}\\s*")||this.setAttribute("selectedRow",""+(0>this.selectedRow?"":F(this.selectedRow))),this.n=!1)};_.onSelect=Cb(_.Nd,[!1]);_.Ab=yv;_.onValueChange=Cb(_.Ab,[!1]);
-_.ve=function(){var a,b,d,e;a=this.getAttribute("dataSource");e=/\{\{\s*(\w+)\s*\}\}/;if(d=e.exec(a))b=ik((G(),Xc),d[1]),lj(b)?(a=this.getAttribute("rowCount"),(d=e.exec(a))&&(a=""+ik(Xc,d[1])),null!=a&&Sl(a,"[\\d\\.\\+]+")&&(this.rowCount=F(vs(a)).a),this.dataSource=b):rj(b)?this.dataSource=b:uj(vj(P(y(z,1),h,1,3,["Unknown type of datasource: "+b])))};
-_.we=function(){var a,b;this.n||(zz(),Mz(this.d,this,this.s),this.te(),aA(this),this.ve(),this.selectedRow=v(Cz(this,"selectedRow",-1)),a=Ez(this,"type",null),b=Ez(this,"url",null),"ajax"===a&&null!=b&&(a={},X(a,"url",b),this.dataSource=a))};
-_.redraw=function(){var a,b;a=this.e.o;b=a.j;b.f=!0;b.Td();b=a.f;b.f=!0;b.Td();b=a.a;b.f=!0;b.Td();a=a.c;for(b=0;b<a.a.b.length;b++){var d=(px(a,b),lt(a.a,b).b);Fw(a,Oy(F(b),new T(d)))}for(a=new gh(this.f);a.b<a.d.jd();){a=(J(a.b<a.d.jd()),a.d.bf(a.c=a.b++));a.he(-2);break}};_.refresh=function(){var a;u(this.e.j,47)?(a=this.selectedRow,this.e.j.Fe(),0<a&&(this.n=!0,W(this).Sb(5,P(y(Vi,1),h,6,0,[new sA(this,a)])))):this.e.j&&Sx(this.e,this.e.j)};_.xe=function(a){this.a=!0;this.b=a};
-_.setColumnWidth=function(a,b){Ix(this.e,a).he(b)};_.setColumns=function(a){this.a=!0;a=(!V&&(V=new Jk),Lk(Yk)).Vb("columns",a);a=Pm(a.a,"columns");this.b=new kj(Ik(a,zc(fl,h,524,a?a.length:0,0),fl))};_.setDataSource=function(a){if(lj(a))Sx(this.e,new tA(a,this.r,this));else if(rj(a))this.te(),Sx(this.e,new uA(a,this));else if(null!=(a?zj(a,"url"):null))this.te(),new vA(a,this);else throw new Lc("Unknown jso: "+a);};_.setHeight=function(a){Wv(this.e.o,a)};
-_.setHeightMode=function(a){a=(Jv(),oe((wA(),xA),a));Zv(this.e.o,a)};_.setRowCount=function(a){this.r=v(a);Yz(this,this.r)};_.setSelectedRow=function(a){0>a||a>=this.e.j.jd()?0<=this.selectedRow&&(a=this.e.j.ed(this.selectedRow))&&zu(this.e,a):(a=this.e.j.ed(a))&&Au(this.e,a);(Lb(this)||this.tM===zb?this.Nd:this.onSelect).bind(this)(null)};
-_.setSelectedRows=function(a){var b;a!=this.p&&Pz(this.p);this.p=a;this.q=!0;this.e.G.Rd();a=0;for(b=this.p.length;a<b;a++)Au(this.e,this.e.j.ed(this.p[a]));this.q=!1};_.setTheme=yA;_.a=!0;_.g=0;_.i=!1;_.j=null;_.n=!1;_.q=!1;_.r=0;w(179);function cA(a,b){this.a=a;this.b=b}s(180,1,{},cA);
-_.kd=function(a,b){var d,e;e=Sm(this.a.a,"renderer");d=a.a.c;if(e)if(lj(e))Um(e,"call",P(y(z,1),h,1,3,[e,d,b,a.e.a]));else{var f=W(d);if(null==(0==f.c.length?null:sk(Oj(f,0),"init",null))){var g=W(d),f=(Qi(),Qi(),Ri),l,n,p;l=g.c;n=0;for(p=l.length;n<p;++n)g=l[n],sk(g,"init",f);Um(e,"init",P(y(z,1),h,1,3,[d]))}Um(e,"render",P(y(z,1),h,1,3,[d,b]))}else null!=Fk(this.a.a,"template")?(e=Fk(this.a.a,"template").replace(this.b,""+b),d.innerHTML=e||""):d.innerHTML=""+b||""};w(180);
-function bA(a,b,d){this.a=b;this.b=d;Ty(this,a)}s(181,130,{},bA);_.ge=function(a){var b;b=zj(this.a.a,"value");Xb(b)&&lj(b)?a=Um(b,"call",P(y(z,1),h,1,3,[b,a,F(this.b)])):Lb(b)?a=a?zj(a,b):null:rj(a)?(b=this.b,a=null!=a[b]?Object(a[b]):null):(b=mk(a)[this.b],a=zj(a,""+b));return a};_.b=0;w(181);function sA(a,b){this.a=a;this.b=b;Ui.call(this)}s(182,6,va,sA);_.Nb=function(){this.a.selectedRow=this.b;this.a.n=!1};_.b=0;w(182);function lA(a){this.a=a}s(183,1,{18:1},lA);_.tc=function(){this.a.refresh()};
-w(183);function mA(a){this.a=a}s(184,1,{18:1},mA);_.tc=function(){this.a.selectedRows=this.a.p};w(184);function zA(){this.ye()}s(255,538,{},zA);_.ye=Wo;_.me=function(){this.ze()};_.attachedCallback=Cb(_.me,[]);_.ne=function(){this.Ae()};_.attributeChangedCallback=Cb(_.ne,[]);
-_.oe=function(){this.e=(tz(),vz.createElement("style"));this.d=new Ks;this.a=vz.createEvent("HTMLEvents");this.a.initEvent("change",!1,!1);this.a.srcElement=this;this.b=vz.createElement("div");this.b.setAttribute("v-wc-container","");this.Ae()};_.createdCallback=Cb(_.oe,[]);_.getTheme=nA;_.getValue=gz;_.ze=AA;_.jsPropertyTheme=Wo;_.jsPropertyValue=Wo;_.yb=yv;_.onAttachOrDetach=Cb(_.yb,[!1]);_.Ae=function(){Js(this.d,Cz(this,"value",0));zz();Mz(this.b,this,this.e)};_.setTheme=yA;
-_.setValue=function(a){Js(this.d,a)};_.c=!1;w(255);function BA(){this.Be()}s(257,538,{},BA);_.Be=Wo;_.me=function(){this.Ce();var a=this.d,b;a.b.style.height="";b=(U(),a.O);Dd((K(),b))&&(b=Cd(a.O),50<Pd(b,"offsetWidth")?a.b.style.width="":(a.b.style.width=(Q(),"50.0px"),Yh((fd(),gd),new Ts(a))));Yh((fd(),gd),new Us(a))};_.attachedCallback=Cb(_.me,[]);_.ne=function(){this.De()};_.attributeChangedCallback=Cb(_.ne,[]);
-_.oe=function(){this.e=(tz(),vz.createElement("style"));this.d=new Ps;Lo(this.d,this,(!Wg&&(Wg=new Ig),Wg));this.a=vz.createEvent("HTMLEvents");this.a.initEvent("change",!1,!1);this.a.srcElement=this;this.b=vz.createElement("div");this.De()};_.createdCallback=Cb(_.oe,[]);_.getTheme=nA;_.getValue=function(){return this.d.r.a};_.Ce=AA;_.jsPropertyTheme=Wo;_.jsPropertyValue=Wo;_.yb=yv;_.onAttachOrDetach=Cb(_.yb,[!1]);
-_.Ab=function(a){a=""+a.a.a;wj(a,this.getAttribute("value"))||(this.setAttribute("value",a),this.dispatchEvent(this.a),this.value=(new CA(a)).a)};_.onValueChange=Cb(_.Ab,[!1]);_.De=function(){zz();Mz(this.b,this,this.e);var a=Cz(this,"min",0);this.d.n=a;a=Cz(this,"max",100);this.d.k=a;Ls(this.d,new T(Cz(this,"value",0)))};_.setTheme=yA;_.setValue=function(a){Ls(this.d,new T(a))};_.c=!1;w(257);var Yk=fc(),$k=fc(),bl=fc(),dl=fc(),fl=fc(),hl=fc();
-function fA(){fA=m;DA=new EA("TEXT",0);FA=new EA("HTML",1);GA=new EA("WIDGET",2)}function EA(a,b){O.call(this,a,b)}s(69,4,{69:1,3:1,5:1,4:1},EA);var FA,DA,GA,HA=x(69,function(){fA();return P(y(HA,1),h,69,0,[DA,FA,GA])});function gA(){gA=m;hA=ne((fA(),P(y(HA,1),h,69,0,[DA,FA,GA])))}var hA;
-function IA(a,b,d){var e;e=(!V&&(V=new Jk),Lk(Yk)).Vb("values",d);d=Pm(e.a,"values");d=zc(Pb,h,0,d?d.length:0,2);var f=Pb,g,l,n,p;e=Pm(e.a,"values");n=d.length;for(l=0;l<n;l++)p=zj(e,F(l)),g=Hb(p),g==f&&(d[l]=p);bs(a,b,new kj(d))}
-function JA(a,b,d,e,f){if(0<f.length){if(!(rj(f[0])||e&&!e.Qe())){var g=f[0],l,n,p,r;e=new C;l=mk(g);n=0;for(p=l.length;n<p;++n)g=l[n],r=new C,vc(r,KA(pA(qA((!V&&(V=new Jk),Lk(hl)),g)))),vc(e,rA(oA((!V&&(V=new Jk),Lk(fl)),g),r));a.d&&(g=a.d,g.a=!0,g.b=e,aA(a.d))}IA(a,b,f.slice(b,b+d))}}function LA(a){this.r=new Tr(0,0);this.f=new Tr(0,0);this.n=new lh;this.o=new lh;this.e=new ls;this.i=new is(this);this.p=new lh;this.q=new lh;R();this.d=a}s(47,279,Pa);_.Ee=jr;_.fd=function(a){return this.Ee(a)};
-_.Fe=function(){Yr(this,this.c)};_.jd=Gg;_.c=300;w(47);function el(){this.a={}}s(465,43,{44:1,42:1,575:1},el);w(465);function cl(){this.a={}}s(464,43,xa,cl);w(464);function al(){this.a={}}s(463,43,xa,al);w(463);function KA(a){a.a.colSpan=1;return a}function qA(a,b){Gk(a.a,"content",b);return a}function pA(a){var b=(fA(),FA);Gk(a.a,"format",null!=b.a?b.a:""+b.b);return a}function il(){this.a={}}s(467,43,{44:1,42:1,525:1},il);w(467);
-function dA(a){a=Pm(a.a,"headerData");return new kj(Ik(a,zc(hl,h,525,a?a.length:0,0),hl))}function rA(a,b){Nk(a,"headerData",b.Te(zc(hl,h,525,0,0)));return a}function oA(a,b){Gk(a.a,"value",b);return a}function gl(){this.a={}}s(466,43,{44:1,42:1,524:1},gl);w(466);function Zk(){this.a={}}s(462,43,xa,Zk);w(462);function iA(a,b){LA.call(this,b);this.a=a;this.c=((!this.b||0==this.b.c.length)&&(this.b=ek(W(this.a),P(y(Ob,1),h,2,4,["tbody tr:not([template])"]))),this.b).c.length}s(280,47,Pa,iA);
-_.Fe=function(){this.b=null;this.c=((!this.b||0==this.b.c.length)&&(this.b=ek(W(this.a),P(y(Ob,1),h,2,4,["tbody tr:not([template])"]))),this.b).c.length;Yr(this,this.c)};
-_.gd=function(a,b){var d,e,f,g,l,n,p,r,q;l=new C;n=nk(nk(((!this.b||0==this.b.c.length)&&(this.b=ek(W(this.a),P(y(Ob,1),h,2,4,["tbody tr:not([template])"]))),this.b),a-1+1,-1),0,b).c;p=0;for(r=n.length;p<r;++p){e=n[p];q=[];e=ek(W(e),P(y(Ob,1),h,2,4,["td"])).c;f=0;for(g=e.length;f<g;++f)d=e[f],d=fk(W(d)),q[q.length]=d;l.b[l.b.length]=q}bs(this,a,l)};w(280);function MA(a,b,d,e){return a(b,d,function(a){e.Y(a)})}function tA(a,b,d){LA.call(this,d);this.a=a;this.c=b}s(286,47,Pa,tA);_.Ee=function(a){return $wnd.JSON.stringify(a)};
-_.gd=function(a,b){var d;(d=MA(this.a,a,b,new NA(this,a)))&&IA(this,a,d)};w(286);function NA(a,b){this.a=a;this.b=b}s(287,1,{},NA);_.jc=yv;_.Y=function(a){IA(this.a,this.b,a)};_.b=0;w(287);function uA(a,b){LA.call(this,b);this.a=a;this.c=a.length}s(288,47,Pa,uA);_.gd=function(a,b){JA(this,a,b,this.d.b,this.a)};w(288);
-function OA(a,b,d){var e,f,g,l,n;e=Lz(Lz(Fk(a.a.a,"url"),"{START}",""+b),"{LENGTH}",""+d);uj(vj(P(y(z,1),h,1,3,[(G(),e)])));Dn();f=(!V&&(V=new Jk),Lk(Wk));Gk(f.a,"url",e);Gk(f.a,"dataType","txt");Gk(f.a,"type","post");Gk(f.a,"data",null);g=Fk(f.a,"url");l="POST";null!=Fk(f.a,"type")&&(l=Fk(f.a,"type").toUpperCase());ae("jsonp",Fk(f.a,"dataType"))&&(l="GET");Gk(f.a,"type",l);if(l=(!Sm(f.a,"data")&&Gk(f.a,"data",{}),Sm(f.a,"data"))){if("[object FormData]"==Object.prototype.toString.call(l))n=null,l=
-"application/x-www-form-urlencoded";else if(Sl(Fk(f.a,"type"),"(POST|PUT)")&&ae("json",Fk(f.a,"dataType")))n=$wnd.JSON.stringify(l),l="application/json; charset\x3dutf-8";else{var p,r,q,t,A,E,S,Ba;Ba="";r=mk(l);q=0;for(t=r.length;q<t;++q)if(n=r[q],Ba+=Ba.length?"\x26":"",E=Pm(l,""+n))for(p=0,A=Tm(E);p<A;p++)Ba+=0<p?"\x26":"",(S=Sm(E,F(p)))?Ba+=n+"[]\x3d"+$wnd.JSON.stringify(S):Ba+=n+"[]\x3d"+Qd(E,F(p));else(S=Sm(l,""+n))?Ba+=n+"\x3d"+$wnd.JSON.stringify(S):(p=Qd(l,""+n),null!=p&&p.length&&!ae("null",
-p)&&(Ba+=n+"\x3d"+p));n=Ba;l="application/x-www-form-urlencoded"}Gk(f.a,"dataString",n);Gk(f.a,"contentType",l)}"GET"===Fk(f.a,"type")&&null!=Fk(f.a,"dataString")&&(g+=(-1!=g.indexOf("?")?"\x26":"?")+Fk(f.a,"dataString"),Gk(f.a,"url",g));if(g=Ek(f.a,"success"))l=Sm(f.a,"context"),g.g=l;if(l=Ek(f.a,"error"))n=Sm(f.a,"context"),l.g=n;n=Fk(f.a,"dataType");ae("jsonp",n)?f=(!Wi&&(Wi=new Jn),new no(Fk(f.a,"url"),v(Ck(f.a,"timeout")))):ae("loadscript",n)?f=(!Wi&&(Wi=new Jn),new Rn(f)):(!Wi&&(Wi=new Jn),
-f=new go(f),r=P(y(Vi,1),h,6,0,[new Hn(n),new In]),n=new Pn,Kn(f,P(y(Vi,1),h,6,0,[new co(n,r,0)])),q=P(y(Vi,1),h,6,0,[new co(n,r,1)]),Ln(f.c.c,q),r=P(y(Vi,1),h,6,0,[new co(n,r,2)]),Ln(f.c.a,r),f=(!n.b&&(n.b=new Qn(n)),n.b));g&&Kn(f,P(y(Vi,1),h,6,0,[g]));l&&(g=P(y(Vi,1),h,6,0,[l]),Ln(f.c.c,g));a=Kn(f,P(y(Vi,1),h,6,0,[new PA(a,d,b)]));e=P(y(Vi,1),h,6,0,[new QA(e)]);Ln(a.c.c,e)}function vA(a,b){LA.call(this,b);this.a=(!V&&(V=new Jk),Lk($k)).Ub(a);OA(this,0,0)}s(283,47,Pa,vA);
-_.gd=function(a,b){OA(this,a,b)};w(283);function PA(a,b,d){this.a=a;this.c=b;this.b=d;Ui.call(this)}s(284,6,va,PA);
-_.Nb=function(){var a,b,d,e;d=Si(this,0,null);d=(!V&&(V=new Jk),Lk(bl)).$b(d);this.a.c=v(Ck(d.a,"size"));a=(b=Pm(d.a,"columns"),e=b?b.length:0,new kj(Ik(b,zc(dl,h,575,e,0),dl)));b=this.a.d.b;if(!(a.Qe()||b&&!b.Qe())){b=this.a;var f,g;e=new C;for(f=new gh(a);f.b<f.d.jd();)a=(J(f.b<f.d.jd()),f.d.bf(f.c=f.b++)),g=new C,vc(g,KA(pA(qA((!V&&(V=new Jk),Lk(hl)),Fk(a.a,"title"))))),vc(e,rA(oA((!V&&(V=new Jk),Lk(fl)),Fk(a.a,"name")),g));b.d&&(a=b.d,a.a=!0,a.b=e,aA(b.d));b=e}0==this.c?Sx($z(this.a.d),this.a):
-(d=Sm(d.a,"data"),JA(this.a,this.b,this.c,b,d));Xz(this.a.d)};_.b=0;_.c=0;w(284);function QA(a){this.a=a;Ui.call(this)}s(285,6,va,QA);_.Nb=function(){var a="Error getting datasources "+this.a;Cp();$wnd.alert(a)};w(285);
-function RA(a,b){a.q=-1;a.r=-1;if(1<=b.length)try{a.q=vs(b[0])}catch(d){if(d=H(d),!u(d,7))throw I(d);}if(2<=b.length){try{a.r=vs(b[1])}catch(e){if(e=H(e),!u(e,7))throw I(e);}if(-1==a.r&&-1!=b[1].indexOf("-"))try{var f,g=Co(b[1],Do(45));f=b[1].substr(0,g);a.r=vs(f)}catch(l){if(l=H(l),!u(l,7))throw I(l);}}}
-function SA(a,b){var d,e;d=Co(b,Do(46));0>d&&(d=b.length);a.a=vs(TA(b,0,d));e=Do(46);e=b.indexOf(e,d+1);0>e&&(e=b.length);try{a.b=vs(Ql(TA(b,d+1,e),"[^0-9].*",""))}catch(f){if(f=H(f),!u(f,63))throw I(f);}}function TA(a,b,d){0>b&&(b=0);(0>d||d>a.length)&&(d=a.length);return a.substr(b,d-b)}
-function Cr(a){var b,d,e,f,g;a=a.toLowerCase();this.e=-1!=a.indexOf("gecko")&&-1==a.indexOf("webkit")&&-1==a.indexOf("trident/");a.indexOf(" presto/");this.n=-1!=a.indexOf("trident/");this.o=!this.n&&-1!=a.indexOf("applewebkit");this.c=-1!=a.indexOf(" chrome/");this.j=-1!=a.indexOf("opera");this.f=(this.f=-1!=a.indexOf("msie")&&!this.j&&-1==a.indexOf("webtv"))||this.n;this.k=!this.c&&!this.f&&-1!=a.indexOf("safari");this.d=-1!=a.indexOf(" firefox/");a.indexOf("chromeframe");try{this.e?(e=a.indexOf("rv:"),
-0<=e&&(f=a.substr(e+3,a.length-(e+3)),f=pm(f,"(\\.[0-9]+).+","$1"),UA(f))):this.o?(f=Vd(a,a.indexOf("webkit/")+7),f=pm(f,"([0-9]+)[^0-9].+","$1"),UA(f)):this.f&&(g=a.indexOf("trident/"),0<=g&&(f=a.substr(g+8,a.length-(g+8)),f=pm(f,"([0-9]+\\.[0-9]+).*","$1"),UA(f)))}catch(l){if(l=H(l),!u(l,7))throw I(l);}try{this.f?-1==a.indexOf("msie")?(e=a.indexOf("rv:"),0<=e&&(f=a.substr(e+3,a.length-(e+3)),f=pm(f,"(\\.[0-9]+).+","$1"),SA(this,f))):(d=Vd(a,a.indexOf("msie ")+5),d=TA(d,0,d.indexOf(";")),SA(this,
-d)):this.d?(b=a.indexOf(" firefox/")+9,SA(this,TA(a,b,b+5))):this.c?(b=a.indexOf(" chrome/")+8,SA(this,TA(a,b,b+5))):this.k?(b=a.indexOf(" version/")+9,SA(this,TA(a,b,b+5))):this.j&&(b=a.indexOf(" version/"),-1!=b?b+=9:b=a.indexOf("opera/")+6,SA(this,TA(a,b,b+5)))}catch(n){if(n=H(n),!u(n,7))throw I(n);}if(-1!=a.indexOf("windows "))this.p=1,a.indexOf("windows phone");else if(-1!=a.indexOf("android"))this.p=5,-1!=a.indexOf("android")&&(a=TA(a,a.indexOf("android ")+8,a.length),a=TA(a,0,a.indexOf(";")),
-a=am(a,"\\.",0),RA(this,a));else if(-1!=a.indexOf("linux"))this.p=3;else if(-1!=a.indexOf("macintosh")||-1!=a.indexOf("mac osx")||-1!=a.indexOf("mac os x"))this.g=-1!=a.indexOf("ipad"),this.i=-1!=a.indexOf("iphone"),this.g||-1!=a.indexOf("ipod")||this.i?(this.p=4,-1!=a.indexOf("os ")&&-1!=a.indexOf(" like mac")&&(a=TA(a,a.indexOf("os ")+3,a.indexOf(" like mac")),a=am(a,"_",0),RA(this,a))):this.p=2}s(447,1,h,Cr);_.a=-1;_.b=-1;_.c=!1;_.d=!1;_.e=!1;_.f=!1;_.g=!1;_.i=!1;_.j=!1;_.k=!1;_.n=!1;_.o=!1;
-_.p=0;_.q=-1;_.r=-1;w(447);function $x(){$x=m;Sy=new VA("TEXT",0);qz=new VA("HTML",1);ay=new VA("WIDGET",2)}function VA(a,b){O.call(this,a,b)}s(81,4,{81:1,3:1,5:1,4:1},VA);var qz,Sy,ay,WA=x(81,function(){$x();return P(y(WA,1),h,81,0,[Sy,qz,ay])});function Jv(){Jv=m;Xv=new XA("CSS",0);Kv=new XA("ROW",1)}function XA(a,b){O.call(this,a,b)}s(80,4,{80:1,3:1,5:1,4:1},XA);var Xv,Kv,YA=x(80,function(){Jv();return P(y(YA,1),h,80,0,[Xv,Kv])});function wA(){wA=m;xA=ne((Jv(),P(y(YA,1),h,80,0,[Xv,Kv])))}var xA;
-function Fv(a,b){return a.b<=b&&b<a.a}function Qy(a,b){return a===b?!0:null==b||ZA!=Hb(b)||a.a!=b.a||a.b!=b.b?!1:!0}function js(a,b){return a.b<b.a&&b.b<a.a}function ds(a){return a.b>=a.a}function Rr(a){return a.a-a.b}function Wx(a,b){return 0==b?a:new Tr(a.b+b,a.a+b)}function Mr(a,b){var d,e,f;f=$A(a,b.b);e=f[0];d=$A(f[1],b.a);f=d[0];d=d[1];return P(y(ZA,1),h,17,0,[e,f,d])}
-function Sr(a,b){var d,e,f;f=Fv(b,a.b);e=Fv(b,a.a);d=a.b<b.b&&a.a>=b.a;return f?e?a:new Tr(a.b,b.a):e?new Tr(b.b,a.a):d?b:$(a.b,0)}function $A(a,b){return b<a.b?P(y(ZA,1),h,17,0,[$(a.b,0),a]):b>=a.a?P(y(ZA,1),h,17,0,[a,$(a.a,0)]):P(y(ZA,1),h,17,0,[new Tr(a.b,b),new Tr(b,a.a)])}function Tr(a,b){if(a>b)throw new D("start must not be greater than end");this.b=a;this.a=b}function $(a,b){if(0>b)throw new D("length must not be negative");return new Tr(a,a+b)}s(17,1,{17:1,3:1},Tr);
-_.eQ=function(a){return Qy(this,a)};_.hC=function(){var a;a=31+this.a;return a=31*a+this.b};_.tS=function(){return Zb(ZA),ZA.i+" ["+this.b+".."+this.a+"["+(this.b>=this.a?" (empty)":"")};_.a=0;_.b=0;var ZA=w(17);s(106,1,{});_.tS=Ok;w(106);function mi(){Kc.call(this,"divide by zero")}s(383,9,da,mi);w(383);function Qi(){Qi=m;rl=new ai(!1);Ri=new ai(!0)}function ql(a,b){return u(b,60)&&b.a==a.a}function ai(a){Qi();this.a=a}s(60,1,{3:1,60:1,5:1},ai);_.eQ=function(a){return ql(this,a)};
-_.hC=function(){return this.a?1231:1237};_.tS=aB;_.a=!1;var rl,Ri,Om=w(60);function Rl(a){var b;if(b=bB,!b&&(b=bB=/^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/),!b.test(a))throw new cB('For input string: "'+a+'"');return parseFloat(a)}
-function vs(a){var b,d;if(null==a)throw new cB("null");d=a.length;for(b=0<d&&(45==a.charCodeAt(0)||43==a.charCodeAt(0))?1:0;b<d;b++){var e=a.charCodeAt(b);if(-1==(48<=e&&58>e?e-48:97<=e&&97>e?e-97+10:65<=e&&65>e?e-65+10:-1))throw new cB('For input string: "'+a+'"');}d=parseInt(a,10);b=-2147483648>d;if(isNaN(d))throw new cB('For input string: "'+a+'"');if(b||2147483647<d)throw new cB('For input string: "'+a+'"');return d}s(52,1,{3:1,52:1});var bB;w(52);function Nm(a){this.a=a}
-s(89,52,{3:1,89:1,5:1,52:1},Nm);_.Ge=Ok;_.eQ=function(a){return u(a,89)&&a.a==this.a};_.hC=Ok;_.tS=aB;_.a=0;var Km=w(89);function Lm(){Lm=m;Mm=zc(Km,h,89,256,0)}var Mm;function T(a){this.a=a}function CA(a){this.a=Rl(a)}s(13,52,{3:1,5:1,13:1,52:1},T,CA);_.Ge=Ok;_.eQ=function(a){return u(a,13)&&a.a==this.a};_.hC=dB;_.tS=aB;_.a=0;var Rm=w(13);function Am(a){this.a=a}function Dz(a){this.a=UA(a)}function UA(a){a=Rl(a);return 3.4028234663852886E38<a?Infinity:-3.4028234663852886E38>a?-Infinity:a}
-s(90,52,{3:1,5:1,90:1,52:1},Am,Dz);_.Ge=Ok;_.eQ=function(a){return u(a,90)&&a.a==this.a};_.hC=dB;_.tS=aB;_.a=0;var Dk=w(90);function rh(){Fc(this)}function D(a){Kc.call(this,a)}s(8,9,da,rh,D);w(8);function yd(){Fc(this)}function Y(a){Kc.call(this,a)}s(15,9,da,yd,Y);w(15);function hr(){Fc(this)}function td(a){Kc.call(this,a)}s(28,9,{3:1,7:1,28:1,9:1,12:1},hr,td);w(28);function bi(a){this.a=a}
-function xi(a){var b,d;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;d=16-b;a>>=b;b=a-256>>16&8;d+=b;a<<=b;b=a-4096>>16&4;d+=b;a<<=b;b=a-16384>>16&2;d+=b;a=a<<b>>14;b=a&~(a>>1);return d+2-b}function ri(a){var b,d;if(0==a)return 32;d=0;for(b=1;0==(b&a);b<<=1)++d;return d}function F(a){var b,d;return-129<a&&128>a?(b=a+128,d=(eB(),fB)[b],!d&&(d=fB[b]=new bi(a)),d):new bi(a)}s(77,52,{3:1,5:1,77:1,52:1},bi);_.Ge=Ok;_.eQ=function(a){return u(a,77)&&a.a==this.a};_.hC=Ok;_.tS=aB;_.a=0;var Bm=w(77);
-function eB(){eB=m;fB=zc(Bm,h,77,256,0)}var fB;function Dm(a){this.a=a}s(78,52,{3:1,5:1,78:1,52:1},Dm);_.Ge=function(){return Ei(this.a)};_.eQ=function(a){return u(a,78)&&yi(a.a,this.a)};_.hC=function(){return Fi(this.a)};_.tS=function(){return""+Gi(this.a)};_.a={l:0,m:0,h:0};var Cm=w(78);function Em(){Em=m;Fm=zc(Cm,h,78,256,0)}var Fm;function Lt(a){return Math.ceil(a)}function Ec(a,b){return a>b?a:b}function Jc(a,b){return a<b?a:b}function Ms(a){return Math.pow(10,a)}function vd(){Fc(this)}
-function Yg(a){Kc.call(this,a)}s(53,9,da,vd,Yg);w(53);function cB(a){Kc.call(this,a)}s(63,8,{3:1,7:1,63:1,9:1,12:1},cB);w(63);function Jm(a){this.a=a}s(79,52,{3:1,5:1,52:1,79:1},Jm);_.Ge=Ok;_.eQ=function(a){return u(a,79)&&a.a==this.a};_.hC=Ok;_.tS=aB;_.a=0;var Gm=w(79);function Hm(){Hm=m;Im=zc(Gm,h,79,256,0)}var Im;function wj(a,b){return a===b}function ae(a,b){return null==b?!1:a==b?!0:a.length==b.length&&a.toLowerCase()==b.toLowerCase()}function Co(a,b){return a.indexOf(b)}
-function Sl(a,b){return RegExp("^("+b+")$").test(a)}function Lz(a,b,d){b=Ql(b,"([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])","\\\\$1");d=Ql(Ql(d,"\\\\","\\\\\\\\"),"\\$","\\\\$");return Ql(a,b,d)}function Ql(a,b,d){d=gB(d);return a.replace(RegExp(b,"g"),d)}function pm(a,b,d){d=gB(d);return a.replace(RegExp(b),d)}
-function am(a,b,d){var e=RegExp(b,"g");b=[];for(var f=0,g=a,l=null;;){var n=e.exec(g);if(null==n||""==g||f==d-1&&0<d){b[f]=g;break}else b[f]=g.substring(0,n.index),g=g.substring(n.index+n[0].length,g.length),e.lastIndex=0,l==g&&(b[f]=g.substring(0,1),g=g.substring(1)),l=g,f++}if(0==d&&0<a.length){for(a=b.length;0<a&&""==b[a-1];)--a;a<b.length&&b.splice(a,b.length-a)}a=zc(Ob,h,2,b.length,4);for(d=0;d<b.length;++d)a[d]=b[d];return a}function tm(a,b){return wj(a.substr(0,b.length),b)}
-function Vd(a,b){return a.substr(b,a.length-b)}function Ud(a){return 0==a.length||" "<a[0]&&" "<a[a.length-1]?a:a.replace(/^[\u0000-\u0020]*|[\u0000-\u0020]*$/g,"")}function gB(a){var b;for(b=0;0<=(b=a.indexOf("\\",b));)36==a.charCodeAt(b+1)?a=a.substr(0,b)+"$"+Vd(a,++b):a=a.substr(0,b)+Vd(a,++b);return a}function Do(a){var b;return a>=Ea?(b=55296+(a-Ea>>10&1023)&ea,a=56320+(a-Ea&1023)&ea,String.fromCharCode(b)+String.fromCharCode(a)):String.fromCharCode(a&ea)}var Ob=w(2);
-function hB(){hB=m;iB={};jB={}}function Qb(a){hB();var b=":"+a,d=jB[b];if(null!=d)return d;d=iB[b];if(null==d){var e,f,g;e=0;f=a.length;g=f-4;for(d=0;d<g;)e=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*e))),e|=0,d+=4;for(;d<f;)e*=31,g=d++,g=a.charCodeAt(g),e+=g;d=e|0}256==kB&&(iB=jB,jB={},kB=0);++kB;return jB[b]=d}var iB,kB=0,jB;function Bd(a,b){a.a+=b;return a}function Ph(a,b,d){a.a=a.a.substr(0,b)+""+Vd(a.a,d)}
-function lB(a,b,d){a.a=a.a.substr(0,b)+d+Vd(a.a,b)}function Th(){this.a=""}function Ad(){this.a=""}function oh(a){this.a=a}s(46,106,{571:1},Th,Ad,oh);w(46);function Go(){Fc(this)}function Yo(a){Kc.call(this,a)}s(26,9,{3:1,7:1,9:1,12:1,26:1},Go,Yo);w(26);function nv(a,b){var d,e,f;ud(b);d=!1;for(f=b.Cc();f.Tc();)e=f.Uc(),d|=a.Ne(e);return d}function mB(a,b,d){var e;for(e=a.Cc();e.Tc();)if(a=e.Uc(),Yb(b)===Yb(a)||null!=b&&Kb(b,a))return d&&e.Vc(),!0;return!1}
-function nB(a){var b,d,e,f;f=new oh("[");b=!1;for(e=a.Cc();e.Tc();)d=e.Uc(),b?f.a+=", ":b=!0,f.a+=d===a?"(this Collection)":""+d;f.a+="]";return f.a}s(551,1,{});_.Ne=function(){throw new Yo("Add not supported on this collection");};_.Oe=function(a){return nv(this,a)};_.Pe=function(a){return mB(this,a,!1)};_.Qe=oB;_.Re=function(a){return mB(this,a,!0)};_.Se=function(){return this.Te(zc(z,h,1,this.jd(),3))};
-_.Te=function(a){var b,d,e;e=this.jd();a.length<e&&(a=hi(a,e));d=this.Cc();for(b=0;b<e;++b)a[b]=d.Uc();a.length>e&&(a[e]=null);return a};_.tS=function(){return nB(this)};w(551);function pB(a,b){var d,e,f;d=b.jf();f=b.kf();e=a.We(d);return!(Yb(f)===Yb(e)||null!=f&&Kb(f,e))||null==e&&!a.Ue(d)?!1:!0}function qB(a,b,d){var e,f;for(e=a.Ve().Cc();e.Tc();)if(a=e.Uc(),f=a.jf(),Yb(b)===Yb(f)||null!=b&&Kb(b,f))return d&&(a=new rB(a.jf(),a.kf()),e.Vc()),a;return null}
-function sB(a,b){return b===a?"(this Map)":""+b}function tB(a){return a?a.kf():null}s(555,1,{96:1});_.Ue=function(a){return!!qB(this,a,!1)};_.eQ=function(a){var b;if(a===this)return!0;if(!u(a,96)||this.jd()!=a.jd())return!1;for(b=a.Ve().Cc();b.Tc();)if(a=b.Uc(),!pB(this,a))return!1;return!0};_.We=function(a){return tB(qB(this,a,!1))};_.hC=function(){return uB(this.Ve())};_.Qe=oB;_.Xe=function(){throw new Yo("Put not supported on this map");};_.Ye=function(a){return tB(qB(this,a,!0))};_.jd=function(){return this.Ve().jd()};
-_.tS=function(){var a,b,d,e;e=new oh("{");a=!1;for(d=this.Ve().Cc();d.Tc();)b=d.Uc(),a?e.a+=", ":a=!0,Bd(e,sB(this,b.jf())),e.a+="\x3d",Bd(e,sB(this,b.kf()));e.a+="}";return e.a};w(555);function vB(a){wB();a.d=xB.pf();a.d.b=a;a.f=xB.qf();a.f.b=a;a.e=0;yB(a)}s(111,555,{96:1});_.Ze=function(){vB(this)};_.Ue=function(a){return Lb(a)?null==a?!!zB(this.d,null):void 0!==this.f.sf(a):!!zB(this.d,a)};_.Ve=function(){return new AB(this)};
-_.We=function(a){return Lb(a)?null==a?tB(zB(this.d,null)):this.f.sf(a):tB(zB(this.d,a))};_.Xe=function(a,b){return Lb(a)?null==a?BB(this.d,null,b):this.f.vf(a,b):BB(this.d,a,b)};_.Ye=function(a){return Lb(a)?null==a?CB(this.d,null):this.f.wf(a):CB(this.d,a)};_.jd=Vy;_.e=0;w(111);s(556,551,Qa);_.eQ=function(a){if(a===this)a=!0;else if(u(a,65)&&a.jd()==this.jd())a:{var b;ud(a);for(b=a.Cc();b.Tc();)if(a=b.Uc(),!this.Pe(a)){a=!1;break a}a=!0}else a=!1;return a};_.hC=function(){return uB(this)};w(556);
-function DB(a,b){return u(b,57)?pB(a.a,b):!1}function AB(a){this.a=a}s(305,556,Qa,AB);_.Pe=function(a){return DB(this,a)};_.Cc=function(){return new EB(this.a)};_.Re=function(a){return DB(this,a)?(a=a.jf(),this.a.Ye(a),!0):!1};_.jd=FB;w(305);function GB(a){if(a.a.Tc())return!0;if(a.a!=a.c)return!1;a.a=a.d.d.nf();return a.a.Tc()}function EB(a){this.d=a;this.a=this.c=this.d.f.nf();this._gwt_modCount=a._gwt_modCount}s(306,1,{},EB);_.Tc=function(){return GB(this)};
-_.Uc=function(){return HB(this.d,this),J(GB(this)),this.b=this.a,this.a.Uc()};_.Vc=function(){xd(!!this.b);HB(this.d,this);this.b.Vc();this.b=null;this._gwt_modCount=this.d._gwt_modCount};w(306);function Px(a){var b=a.b,d;d=new IB(a,0);for(a=0;a<b;++a)d.Uc(),d.Vc()}function dx(a,b){var d,e;d=0;for(e=a.jd();d<e;++d)if(JB(b,a.bf(d)))return d;return-1}s(552,551,Ra);_.af=function(){throw new Yo("Add not supported on this list");};_.Ne=function(a){this.af(this.jd(),a);return!0};
-_.eQ=function(a){var b,d,e;if(a===this)return!0;if(!u(a,45)||this.jd()!=a.jd())return!1;e=a.Cc();for(b=this.Cc();b.Tc();)if(a=b.Uc(),d=e.Uc(),!(Yb(a)===Yb(d)||null!=a&&Kb(a,d)))return!1;return!0};_.hC=function(){R();var a,b,d;d=1;for(b=this.Cc();b.Tc();)a=b.Uc(),d=31*d+(null!=a?Ib(a):0),d|=0;return d};_.cf=function(a){return dx(this,a)};_.Cc=function(){return new gh(this)};_.df=function(){return this.ef(0)};_.ef=function(a){return new IB(this,a)};
-_.ff=function(){throw new Yo("Remove not supported on this list");};w(552);function gh(a){this.d=a}s(35,1,{},gh);_.Tc=function(){return this.b<this.d.jd()};_.Uc=function(){return J(this.b<this.d.jd()),this.d.bf(this.c=this.b++)};_.Vc=function(){xd(-1!=this.c);this.d.ff(this.c);this.b=this.c;this.c=-1};_.b=0;_.c=-1;w(35);function IB(a,b){this.d=this.a=a;wd(b,a.jd());this.b=b}s(143,35,{},IB);_.gf=function(){return 0<this.b};_.hf=function(){J(0<this.b);return this.a.bf(this.c=--this.b)};w(143);
-function it(a,b,d){var e=a.b.length;if(0>b)throw new td("fromIndex: "+b+" \x3c 0");if(d>e)throw new td("toIndex: "+d+" \x3e size "+e);if(b>d)throw new D("fromIndex: "+b+" \x3e toIndex: "+d);this.c=a;this.a=b;this.b=d-b}s(62,552,Ra,it);_.af=function(a,b){wd(a,this.b);Cx(this.c,this.a+a,b);++this.b};_.bf=function(a){return sd(a,this.b),lt(this.c,this.a+a)};_.ff=function(a){sd(a,this.b);a=this.c.ff(this.a+a);--this.b;return a};_.jd=kA;_.a=0;_.b=0;w(62);
-function bk(a){a=a.a.Ve().Cc();return new KB(a)}function ck(a){this.a=a}s(39,556,Qa,ck);_.Pe=function(a){return this.a.Ue(a)};_.Cc=function(){return bk(this)};_.Re=function(a){return this.a.Ue(a)?(this.a.Ye(a),!0):!1};_.jd=FB;w(39);function dk(a){return a.a.Uc().jf()}function KB(a){this.a=a}s(308,1,{},KB);_.Tc=LB;_.Uc=function(){return dk(this)};_.Vc=function(){this.a.Vc()};w(308);function MB(a,b){var d;d=a.e;a.e=b;return d}s(307,1,Sa);
-_.eQ=function(a){return u(a,57)?JB(this.d,a.jf())&&JB(this.e,a.kf()):!1};_.jf=sv;_.kf=Vy;_.hC=function(){return NB(this.d)^NB(this.e)};_.lf=function(a){return MB(this,a)};_.tS=function(){return this.d+"\x3d"+this.e};w(307);function rB(a,b){this.d=a;this.e=b}s(112,307,Sa,rB);w(112);s(562,1,Sa);_.eQ=function(a){return u(a,57)?JB(this.jf(),a.jf())&&JB(this.kf(),a.kf()):!1};_.hC=function(){return NB(this.jf())^NB(this.kf())};_.tS=function(){return this.jf()+"\x3d"+this.kf()};w(562);
-function bx(a,b,d){ud(d);a=Ww(a,b);for(b=new gh(d);b.b<b.d.jd();)d=(J(b.b<b.d.jd()),b.d.bf(b.c=b.b++)),OB(a,d)}function cx(a,b){var d;d=Ww(a,b);try{return J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c}catch(e){e=H(e);if(u(e,54))throw new td("Can't get element "+b);throw I(e);}}function hx(a,b){var d,e;d=Ww(a,b);try{return e=(J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c),jx(d),e}catch(f){f=H(f);if(u(f,54))throw new td("Can't remove element "+b);throw I(f);}}s(567,552,Ra);
-_.af=function(a,b){var d;d=Ww(this,a);OB(d,b)};_.bf=function(a){return cx(this,a)};_.Cc=function(){return Ww(this,0)};_.ff=function(a){return hx(this,a)};w(567);function PB(a){a.b=zc(z,h,1,0,3)}function Cx(a,b,d){wd(b,a.b.length);a.b.splice(b,0,d)}function vc(a,b){a.b[a.b.length]=b;return!0}function lt(a,b){sd(b,a.b.length);return a.b[b]}function Wn(a,b){for(var d=0;d<a.b.length;++d)if(JB(b,a.b[d]))return d;return-1}
-function QB(a,b,d){var e=d;a=a.b;d=d.length;var f=0;e===a&&(e=e.slice(f,f+d),f=0);for(var g=f,f=f+d;g<f;){var l=Math.min(g+1E4,f);d=l-g;Array.prototype.splice.apply(a,[b,0].concat(e.slice(g,l)));g=l;b+=d}}function RB(a,b){var d;d=(sd(b,a.b.length),a.b[b]);a.b.splice(b,1);return d}function Dc(a,b){var d;d=Wn(a,b);if(-1==d)return!1;a.ff(d);return!0}function Bc(a,b){var d,e;e=a.b.length;b.length<e&&(b=hi(b,e));for(d=0;d<e;++d)b[d]=a.b[d];b.length>e&&(b[e]=null);return b}function C(){PB(this)}
-function qv(a){PB(this);qd(0<=a,"Initial capacity must not be negative")}function Zn(a){PB(this);QB(this,0,a.Se())}s(11,552,Ta,C,qv,Zn);_.af=function(a,b){Cx(this,a,b)};_.Ne=function(a){return vc(this,a)};_.Oe=function(a){a=a.Se();0==a.length?a=!1:(QB(this,this.b.length,a),a=!0);return a};_.Pe=function(a){return-1!=Wn(this,a)};_.bf=function(a){return lt(this,a)};_.cf=function(a){return Wn(this,a)};_.Qe=function(){return 0==this.b.length};_.ff=function(a){return RB(this,a)};
-_.Re=function(a){return Dc(this,a)};_.jd=function(){return this.b.length};_.Se=function(){return gi(this.b,this.b.length)};_.Te=function(a){return Bc(this,a)};w(11);function eA(a,b){sd(b,a.a.length);return a.a[b]}function kj(a){this.a=a}s(33,552,Ta,kj);_.Pe=function(a){return-1!=dx(this,a)};_.bf=function(a){return eA(this,a)};_.jd=function(){return this.a.length};_.Se=function(){var a=this.a;return gi(a,a.length)};
-_.Te=function(a){var b,d;d=this.a.length;a.length<d&&(a=hi(a,d));for(b=0;b<d;++b)a[b]=this.a[b];a.length>d&&(a[d]=null);return a};w(33);function R(){R=m;nh=new SB;vv=new TB}function uB(a){R();var b,d;d=0;for(b=a.Cc();b.Tc();)a=b.Uc(),d+=null!=a?Ib(a):0,d|=0;return d}function Oy(a,b){R();var d;d=new UB;d.Xe(a,b);return new Zz(d)}function Ay(a){R();return u(a,86)?new VB(a):new WB(a)}var nh,vv;function SB(){}s(384,552,Ta,SB);_.Pe=xv;_.bf=function(a){sd(a,0);return null};_.Cc=XB;_.df=XB;_.jd=gz;w(384);
-function YB(){YB=m;ZB=new $B}function $B(){}s(385,1,{},$B);_.Tc=Ji;_.gf=Ji;_.Uc=aC;_.hf=aC;_.Vc=function(){throw new yd;};var ZB;w(385);function TB(){}s(386,556,Ua,TB);_.Pe=xv;_.Cc=XB;_.jd=gz;w(386);s(147,552,{3:1,45:1},function(a){this.a=a});_.Pe=function(a){return JB(this.a,a)};_.bf=function(a){sd(a,1);return this.a};_.jd=function(){return 1};w(147);s(148,1,{});_.Ne=bC;_.Oe=bC;_.Pe=cC;_.Cc=function(){return new Ky(this.b.Cc())};_.Re=bC;_.jd=dC;_.Se=function(){return this.b.Se()};_.Te=function(a){return this.b.Te(a)};
-_.tS=eC;w(148);function Ky(a){this.b=a}s(64,1,{},Ky);_.Tc=function(){return this.b.Tc()};_.Uc=function(){return this.b.Uc()};_.Vc=fC;w(64);function WB(a){this.a=this.b=a}s(149,148,Ra,WB);_.eQ=gC;_.bf=function(a){return this.a.bf(a)};_.hC=hC;_.cf=function(a){return this.a.cf(a)};_.Qe=function(){return this.a.Qe()};_.df=function(){return new iC(this.a.ef(0))};_.ef=function(a){return new iC(this.a.ef(a))};w(149);function iC(a){this.a=this.b=a}s(152,64,{},iC);_.gf=function(){return this.a.gf()};
-_.hf=function(){return this.a.hf()};w(152);function Zz(a){this.b=a}s(150,1,{96:1},Zz);_.Ve=function(){!this.a&&(this.a=new jC(this.b.Ve()));return this.a};_.eQ=kC;_.We=function(a){return this.b.We(a)};_.hC=lC;_.Qe=function(){return this.b.Qe()};_.Xe=function(){throw new Go;};_.Ye=bC;_.jd=dC;_.tS=eC;w(150);function pv(a){this.b=a}s(116,148,Qa,pv);_.eQ=kC;_.hC=lC;w(116);function mC(a,b){var d;for(d=0;d<b;++d)a[d]=new nC(a[d])}function jC(a){this.b=a}s(387,116,Qa,jC);_.Pe=cC;
-_.Cc=function(){var a;a=this.b.Cc();return new oC(a)};_.Se=function(){var a;a=this.b.Se();mC(a,a.length);return a};_.Te=function(a){a=this.b.Te(a);mC(a,this.b.jd());return a};w(387);function oC(a){this.a=a}s(389,1,{},oC);_.Tc=LB;_.Uc=function(){return new nC(this.a.Uc())};_.Vc=fC;w(389);function nC(a){this.a=a}s(151,1,Sa,nC);_.eQ=gC;_.jf=function(){return this.a.jf()};_.kf=function(){return this.a.kf()};_.hC=hC;_.lf=bC;_.tS=function(){return this.a.tS()};w(151);function VB(a){WB.call(this,a)}
-s(388,149,{45:1,86:1},VB);w(388);function HB(a,b){if(b._gwt_modCount!=a._gwt_modCount)throw new pC;}function yB(a){a._gwt_modCount=(a._gwt_modCount|0)+1}function pC(){Fc(this)}s(517,9,da,pC);w(517);function lh(){vB(this)}function UB(){qd(!0,"Negative initial capacity");qd(!0,"Non-positive load factor");vB(this)}s(25,111,{3:1,96:1},lh,UB);_.$e=function(a,b){return Yb(a)===Yb(b)||null!=a&&Kb(a,b)};_._e=function(a){return Ib(a)|0};w(25);function eh(a,b){return null==a.a.Xe(b,a)}
-function dh(){this.a=new lh}function Cv(){this.a=new UB}s(36,556,Ua,dh,Cv);_.Ne=function(a){return eh(this,a)};_.Pe=function(a){return this.a.Ue(a)};_.Qe=function(){return 0==this.a.jd()};_.Cc=function(){return bk(new ck(this.a))};_.Re=function(a){return null!=this.a.Ye(a)};_.jd=FB;_.tS=function(){return nB(new ck(this.a))};w(36);function zB(a,b){var d,e,f,g;d=null==b?"0":""+a.b._e(b);e=a.a[d]||[];f=0;for(g=e.length;f<g;++f)if(d=e[f],a.b.$e(b,d.jf()))return d;return null}
-function BB(a,b,d){var e,f,g,l;e=null==b?"0":""+a.b._e(b);f=a.a;e=f[e]||(f[e]=[]);g=0;for(l=e.length;g<l;++g)if(f=e[g],a.b.$e(b,f.jf()))return f.lf(d);e[e.length]=new rB(b,d);a=a.b;++a.e;yB(a);return null}function CB(a,b){var d,e,f,g;f=null==b?"0":""+a.b._e(b);d=a.a[f]||[];for(g=0;g<d.length;g++)if(e=d[g],a.b.$e(b,e.jf()))return 1==d.length?delete a.a[f]:d.splice(g,1),d=a.b,--d.e,yB(d),e.kf();return null}function qC(){this.a=this.mf()}s(162,1,{},qC);_.mf=function(){return Object.create(null)};
-_.nf=function(){return new rC(this)};w(162);function sC(a){if(a.c<a.a.length)return!0;if(a.b<a.d.length-1){var b=a.d[++a.b];a.a=a.g.a[b];a.c=0;return!0}return!1}function rC(a){this.g=a;this.d=Object.getOwnPropertyNames(this.g.a);this.a=zc(tC,h,57,0,0)}s(437,1,{},rC);_.Tc=function(){return sC(this)};_.Uc=function(){return J(sC(this)),this.e=this.a,this.f=this.a[this.c++],this.f};_.Vc=function(){xd(!!this.f);CB(this.g,this.f.jf());Yb(this.a)===Yb(this.e)&&1!=this.a.length&&--this.c;this.f=null};
-_.b=-1;_.c=0;_.e=null;_.f=null;w(437);function uC(){qC.call(this)}s(435,162,{},uC);_.mf=function(){return{}};_.nf=function(){var a=this.of(),b=this.a,d;for(d in b)if(d==parseInt(d,10))for(var e=b[d],f=0,g=e.length;f<g;++f)a.Ne(e[f]);return a.Cc()};_.of=function(){return new vC(this)};w(435);function vC(a){this.a=a;PB(this)}s(436,11,Ta,vC);_.ff=function(a){var b;return b=RB(this,a),CB(this.a,b.jf()),b};w(436);function wC(){}s(441,1,{},wC);_.pf=function(){return new qC};_.qf=function(){return new xC};
-w(441);function wB(){wB=m;var a,b;if(b=Object.create&&Object.getOwnPropertyNames)b=Object.create(null),void 0!==b.__proto__||0!=Object.getOwnPropertyNames(b).length?b=!1:(b.__proto__=42,b=42!==b.__proto__?!1:!0);xB=b?(a=Object.create(null),a.__proto__=42,0==Object.getOwnPropertyNames(a).length)?new yC:new wC:new zC}var xB;function yC(){}s(443,441,{},yC);_.qf=function(){return new AC};w(443);function zC(){}s(442,441,{},zC);_.pf=function(){return new uC};_.qf=function(){return new BC};w(442);
-function CC(a,b,d){var e;e=a.a[b];if(void 0===e){var f=a.b;++f.e;yB(f)}a.a[b]=void 0===d?null:d;return e}function DC(a,b){var d;d=a.a[b];if(void 0!==d){delete a.a[b];var e=a.b;--e.e;yB(e)}return d}function xC(){this.a=this.rf()}s(120,1,{},xC);_.rf=function(){return Object.create(null)};_.nf=function(){var a;a=this.tf();return new EC(this,a)};_.sf=function(a){return this.a[a]};_.tf=function(){return Object.getOwnPropertyNames(this.a)};_.uf=function(a){return new FC(this,a)};
-_.vf=function(a,b){return CC(this,a,b)};_.wf=function(a){return DC(this,a)};w(120);function EC(a,b){this.c=a;this.d=b}s(407,1,{},EC);_.Tc=function(){return this.a<this.d.length};_.Uc=function(){return J(this.a<this.d.length),new FC(this.c,this.d[this.b=this.a++])};_.Vc=function(){xd(-1!=this.b);this.c.wf(this.d[this.b]);this.b=-1};_.a=0;_.b=-1;w(407);function FC(a,b){this.a=a;this.b=b}s(156,562,Sa,FC);_.jf=kA;_.kf=function(){return this.a.sf(this.b)};_.lf=function(a){return this.a.vf(this.b,a)};w(156);
-function BC(){xC.call(this)}s(404,120,{},BC);_.rf=function(){return{}};_.nf=function(){var a=this.xf(),b;for(b in this.a)if(58==b.charCodeAt(0)){var d=this.uf(b.substring(1));a.Ne(d)}return a.Cc()};_.sf=function(a){return this.a[":"+a]};_.xf=function(){return new GC(this)};_.vf=function(a,b){return CC(this,":"+a,b)};_.wf=function(a){return DC(this,":"+a)};w(404);function GC(a){this.a=a;PB(this)}s(406,11,Ta,GC);_.ff=function(a){var b;return b=RB(this,a),DC(this.a,":"+b.jf()),b};w(406);
-function AC(){xC.call(this)}s(405,120,{},AC);_.tf=function(){var a;a=Object.getOwnPropertyNames(this.a);void 0!==this.a.__proto__&&(a[a.length]="__proto__");return a};w(405);function My(a,b,d){var e;if(e=a.c.We(b))return b=MB(e,d),a.a&&(HC(e),IC(e)),b;e=new JC(a,b,d);a.c.Xe(b,e);IC(e);return null}function KC(a,b){var d;return(d=a.c.Ye(b))?(HC(d),d.e):null}function Ly(){vB(this);this.b=new LC(this);this.c=new lh;this.b.b=this.b;this.b.a=this.b}s(93,25,{3:1,96:1},Ly);
-_.Ze=function(){this.c.Ze();this.b.b=this.b;this.b.a=this.b};_.Ue=function(a){return this.c.Ue(a)};_.Ve=function(){return new MC(this)};_.We=function(a){return(a=this.c.We(a))?(this.a&&(HC(a),IC(a)),a.e):null};_.Xe=function(a,b){return My(this,a,b)};_.Ye=function(a){return KC(this,a)};_.jd=function(){return this.c.jd()};_.a=!1;w(93);function IC(a){var b;b=a.c.b.b;a.b=b;a.a=a.c.b;b.a=a.c.b.b=a}function HC(a){a.a.b=a.b;a.b.a=a.a;a.a=a.b=null}function LC(a){JC.call(this,a,null,null)}
-function JC(a,b,d){this.c=a;rB.call(this,b,d)}s(124,112,Sa,LC,JC);w(124);function MC(a){this.a=a}s(485,556,Qa,MC);_.Pe=function(a){return DB(this,a)};_.Cc=function(){return new NC(this)};_.Re=function(a){return DB(this,a)?(a=a.jf(),KC(this.a,a),!0):!1};_.jd=function(){return this.a.c.jd()};w(485);function NC(a){this.c=a;this.b=a.a.b.a;this._gwt_modCount=a.a.c._gwt_modCount}s(486,1,{},NC);_.Tc=function(){return this.b!=this.c.a.b};
-_.Uc=function(){return HB(this.c.a.c,this),J(this.b!=this.c.a.b),this.a=this.b,this.b=this.b.a,this.a};_.Vc=function(){xd(!!this.a);HB(this.c.a.c,this);HC(this.a);this.c.a.c.Ye(this.a.d);this._gwt_modCount=this.c.a.c._gwt_modCount;this.a=null};w(486);function ov(){this.a=new Ly}function lv(a){this.a=new Ly;nv(this,a)}s(67,36,Ua,ov,lv);w(67);function on(a,b,d,e){var f;f=new OC;f.c=b;f.b=d;f.a=e;e.b=d.a=f;++a.b}function Ov(a){J(0!=a.b);return a.a.a.c}function Pv(a){J(0!=a.b);return a.c.b.c}
-function Ww(a,b){var d,e;wd(b,a.b);if(b>=a.b>>1)for(e=a.c,d=a.b;d>b;--d)e=e.b;else for(e=a.a.a,d=0;d<b;++d)e=e.a;return new PC(a,b,e)}function xn(a,b){b.a.b=b.b;b.b.a=b.a;b.a=b.b=null;b.c=null;--a.b}function ww(a){a.a.a=a.c;a.c.b=a.a;a.a.b=a.c.a=null;a.b=0}function nn(){this.a=new OC;this.c=new OC;ww(this)}s(121,567,{3:1,45:1},nn);_.Ne=function(a){return on(this,a,this.c.b,this.c),!0};_.ef=function(a){return Ww(this,a)};_.jd=kA;_.b=0;w(121);function OB(a,b){on(a.d,b,a.b.b,a.b);++a.a;a.c=null}
-function jx(a){var b;xd(!!a.c);b=a.c.a;xn(a.d,a.c);a.b==a.c?a.b=b:--a.a;a.c=null}function PC(a,b,d){this.d=a;this.b=d;this.a=b}s(433,1,{},PC);_.Tc=function(){return this.b!=this.d.c};_.gf=function(){return this.b.b!=this.d.a};_.Uc=function(){return J(this.b!=this.d.c),this.c=this.b,this.b=this.b.a,++this.a,this.c.c};_.hf=function(){return J(this.b.b!=this.d.a),this.c=this.b=this.b.b,--this.a,this.c.c};_.Vc=function(){jx(this)};_.a=0;_.c=null;w(433);function OC(){}s(122,1,{},OC);w(122);var tC=fc();
-function rd(){Fc(this)}s(54,9,{3:1,7:1,9:1,12:1,54:1},rd);w(54);function JB(a,b){return Yb(a)===Yb(b)||null!=a&&Kb(a,b)}function NB(a){return null!=a?Ib(a):0}s(157,1,{},function(){});w(157);w(529);w(531);var Di=w(null);w(534);var fl=fc(),hl=fc(),Yk=fc(),Qk=fc(),Sk=fc(),QC=fc(),nw,RC;RC=dc("D");RC.j="D";RC.e=1;nw=RC;var $k=fc(),bl=fc(),Ic=w(null),Wk=fc(),Hk=fc(),Uk=fc(),dl=fc(),tC=fc();_=Ab("$wnd.vaadin.Utils");
-_.formatCurrency=function(a){var b;b=(Kh(),!Uh&&(Uh=new Sh(["USD","US$",2,"US$","$"])),Kh(),Uh);var d=a,e,f;if(isNaN(d))b="NaN";else{(e=0>d||0==d&&0>1/d)&&(d=-d);a=new Th;if(isFinite(d)||isNaN(d)){var d=d*b.p,g,l;f=a.a.length;Bd(a,d.toPrecision(20));d=0;l=a.a.indexOf("e",f);0>l&&(l=a.a.indexOf("E",f));0<=l&&(g=l+1,g<a.a.length&&43==a.a.charCodeAt(g)&&++g,g<a.a.length&&(d=vs(Vd(a.a,g))),Ph(a,l,a.a.length));f=a.a.indexOf(".",f);0<=f&&(a.a=a.a.substr(0,f)+""+Vd(a.a,f+1),d-=a.a.length-f);f=d;d=a.a.length+
-f+b.i+3;0<d&&d<a.a.length&&57==a.a.charCodeAt(d)&&(Rh(b,a,d-1),f+=a.a.length-d,Ph(a,d,a.a.length));b.e=0;b.d=a.a.length;b.b=b.d+f;d=b.v;f=b.f;1024<b.b&&(d=!0);if(d){for(g=0;g<b.d-1&&48==a.a.charCodeAt(g);)++g;0<g&&(a.a=a.a.substr(0,0)+""+Vd(a.a,g),b.d-=g,b.e-=g);b.j>b.o&&0<b.j?(b.e+=b.b-1,g=b.e%b.j,0>g&&(g+=b.j),b.b=g+1,b.e-=g):(b.e+=b.b-b.o,b.b=b.o);1==b.d&&48==a.a.charCodeAt(0)&&(b.e=0,b.b=b.o)}if(b.b>b.d)for(;b.d<b.b;)a.a+="0",++b.d;if(!b.v)if(b.b<b.o){for(g=new Th;b.b<b.o;)g.a+="0",++b.b,++b.d;
-lB(a,0,g.tS())}else if(b.b>b.o){l=b.b-b.o;for(g=0;g<l;++g)if(48!=a.a.charCodeAt(g)){l=g;break}0<l&&(a.a=a.a.substr(0,0)+""+Vd(a.a,l),b.d-=l,b.b-=l)}b.d>b.b+b.i&&53<=a.a.charCodeAt(b.b+b.i)&&(g=b.b+b.i-1,Rh(b,a,g));if(0<f)for(g=f;g<b.b;g+=f+1)lB(a,b.b-g,","),++b.b,++b.d;f=b.b+b.n;if(b.d<f)for(;b.d<f;)a.a+="0",++b.d;else{g=b.b+b.i;for(g>b.d&&(g=b.d);g>f&&48==a.a.charCodeAt(g-1);)--g;g<b.d&&(Ph(a,g,b.d),b.d=g)}0==b.d&&(a.a=a.a.substr(0,0)+"0"+Vd(a.a,0),++b.b,++b.d);if(b.b<b.d||b.c)lB(a,b.b,"."),++b.d;
-if(d){a.a+="E";0>b.e&&(b.e=-b.e,a.a+="-");d=""+b.e;for(f=d.length;f<b.k;++f)a.a+="0";a.a+=d}lB(a,0,e?b.q:b.t)}else Bd(a,e?b.q:b.t),a.a+="\u221e";Bd(a,e?b.r:b.u);b=a.a}return b};_=Ab("$wnd.vaadin");_.WCVGrid=jA;_=Ab("$wnd.vaadin.WCVGrid");_.createGridColumn=function(a,b){return new bA(new cA(a,RegExp("\\{\\{data\\}\\}","ig")),a,b)};_.TAG="v-grid";_=Ab("$wnd.vaadin");_.WCVProgress=zA;_=Ab("$wnd.vaadin.WCVProgress");_.TAG="v-progress";_=Ab("$wnd.vaadin");_.WCVSlider=BA;_=Ab("$wnd.vaadin.WCVSlider");
-_.TAG="v-slider";function B(a){return function(){var b;a:{var d=arguments,e;0!=cd&&(e=ic(),2E3<e-ed&&(ed=e,dd=$wnd.setTimeout(bd,10)));if(0==cd++){e=(fd(),gd);var f,g;if(e.c){g=null;do f=e.c,e.c=null,g=pd(f,g);while(e.c);e.c=g}e=!0}else e=!1;try{b=a.apply(this,d);break a}finally{if(d=e)if(e=(fd(),gd),e.d){g=null;do f=e.d,e.d=null,g=pd(f,g);while(e.d);e.d=g}--cd;d&&-1!=dd&&($wnd.clearTimeout(dd),dd=-1)}b=void 0}return b}}
-var gwtOnLoad=gwtOnLoad=function(a,b,d,e){function f(){for(var a=0;a<g.length;a++)g[a]()}null==Va&&(Va=[]);var g=Va;$moduleName=b;$moduleBase=d;Xa=e;if(a)try{B(f)()}catch(l){a(b,l)}else B(f)()};
-(function(){null==Va&&(Va=[]);for(var a=Va,b=0;b<arguments.length;b++)a.push(arguments[b])})(function(){var a;$wnd.setTimeout(B(nr));var b,d;b=$doc.compatMode;a=P(y(Ob,1),h,2,4,["CSS1Compat"]);for(d=0;d<a.length&&a[d]!==b;d++);Hi();zz();a=P(y(Vi,1),h,6,0,[]);zz();a=Kn(new Uz,a);Kn(a,P(y(Vi,1),h,6,0,[new Vz]));a=new zA;yz("v-progress",a);yz("v-progress-bar",a);yz("v-slider",new BA);yz("v-grid",new jA);a=P(y(z,1),h,1,3,[]);Vm(null,"onVaadinX",Qj([],a))});
-var SC=[[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","ie10"]],[["locale","default"],["user.agent","ie10"]],[["locale","default"],["user.agent","safari"]]];"object"===typeof window&&"object"===typeof window.$gwt&&(window.$gwt.permProps=SC);function Tb(a){return this===a}function Ub(){return Rb(this)}
-function Ji(){return!1}function Ki(){return!0}function Li(){return"Browser: webkit\x3d"+this.g+" mozilla\x3d"+this.d+" opera\x3d"+this.f+" msie\x3d"+this.e+" ie6\x3d"+this.a+" ie8\x3d"+this.b+" ie9\x3d"+this.c}function Xm(){if(this.a){var a=y(z,1),b=h,d;d=Si(this,0,null);d=zm([this.a(d)]);Ti(this,P(a,b,1,3,[d]))}}function Wo(){}function Ok(){return this.a}function Fo(){return U(),this.O}function Zs(){}function st(a){a.style.transform=""}function Ag(){return this.g}
-function du(){return me(this.n.style,"height")}function cu(){return me(this.n.style,"width")}function Cu(){uu()}function Sp(){null.yf()}function wv(){return null}function lx(){return"td"}function xv(){return!1}function Zy(){Zb(Dy);Zb(QC)}function hz(){return-1}function yv(){}function nA(){this.getAttribute("theme")}function gz(){return 0}function yA(a){this.setAttribute("theme",a)}
-function AA(){var a;this.c||(this.c=!0,a=qk(W(this)),!a&&(a=qk(An(Jj(W(this),(G(),dj))))),Lo(a,this,(!Mg&&(Mg=new Ig),Mg)),null!=this.getAttribute("shadow")?(a=this.createShadowRoot(),a.appendChild(this.e),a.appendChild(this.b)):(Cj(Pj(W(this)),!0),this.appendChild(this.e),this.appendChild(this.b)),a=qk(An(Jj(W(this.b),(G(),dj)))),a.zc(this.d))}function jr(a){return a}function Gg(){return this.c}function aB(){return""+this.a}function dB(){return v(this.a)}function oB(){return 0==this.jd()}
-function Vy(){return this.e}function kA(){return this.b}function FB(){return this.a.jd()}function sv(){return this.d}function XB(){return R(),YB(),ZB}function aC(){throw new rd;}function bC(){throw new Go;}function dC(){return this.b.jd()}function eC(){return this.b.tS()}function kC(a){return this.b.eQ(a)}function lC(){return this.b.hC()}function cC(a){return this.b.Pe(a)}function LB(){return this.a.Tc()}function fC(){throw new Go;}function gC(a){return this.a.eQ(a)}
-function hC(){return this.a.hC()};window.gwtOnLoad=gwtOnLoad;
-$sendStats('moduleStartup', 'moduleEvalEnd');gwtOnLoad(__gwtModuleFunction.__errFn, __gwtModuleFunction.__moduleName, __gwtModuleFunction.__moduleBase, __gwtModuleFunction.__softPermutationId,__gwtModuleFunction.__computePropValue);$sendStats('moduleStartup', 'end');$gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps);
+function VaadinComponents(){
+ var $wnd_0 = window;
+ var $doc_0 = document;
+ sendStats('bootstrap', 'begin');
+ function isHostedMode(){
+ var query = $wnd_0.location.search;
+ return query.indexOf('gwt.codesvr.VaadinComponents=') != -1 || query.indexOf('gwt.codesvr=') != -1;
+ }
+
+ function sendStats(evtGroupString, typeString){
+ if ($wnd_0.__gwtStatsEvent) {
+ $wnd_0.__gwtStatsEvent({moduleName:'VaadinComponents', sessionId:$wnd_0.__gwtStatsSessionId, subSystem:'startup', evtGroup:evtGroupString, millis:(new Date).getTime(), type:typeString});
+ }
+ }
+
+ VaadinComponents.__sendStats = sendStats;
+ VaadinComponents.__moduleName = 'VaadinComponents';
+ VaadinComponents.__errFn = null;
+ VaadinComponents.__moduleBase = 'DUMMY';
+ VaadinComponents.__softPermutationId = 0;
+ VaadinComponents.__computePropValue = null;
+ VaadinComponents.__getPropMap = null;
+ VaadinComponents.__installRunAsyncCode = function(){
+ }
+ ;
+ VaadinComponents.__gwtStartLoadingFragment = function(){
+ return null;
+ }
+ ;
+ VaadinComponents.__gwt_isKnownPropertyValue = function(){
+ return false;
+ }
+ ;
+ VaadinComponents.__gwt_getMetaProperty = function(){
+ return null;
+ }
+ ;
+ var __propertyErrorFunction = null;
+ var activeModules = $wnd_0.__gwt_activeModules = $wnd_0.__gwt_activeModules || {};
+ activeModules['VaadinComponents'] = {moduleName:'VaadinComponents'};
+ VaadinComponents.__moduleStartupDone = function(permProps){
+ var oldBindings = activeModules['VaadinComponents'].bindings;
+ activeModules['VaadinComponents'].bindings = function(){
+ var props = oldBindings?oldBindings():{};
+ var embeddedProps = permProps[VaadinComponents.__softPermutationId];
+ for (var i = 0; i < embeddedProps.length; i++) {
+ var pair = embeddedProps[i];
+ props[pair[0]] = pair[1];
+ }
+ return props;
+ }
+ ;
+ }
+ ;
+ var frameDoc;
+ function getInstallLocationDoc(){
+ setupInstallLocation();
+ return frameDoc;
+ }
+
+ function setupInstallLocation(){
+ if (frameDoc) {
+ return;
+ }
+ var scriptFrame = $doc_0.createElement('iframe');
+ scriptFrame.src = 'javascript:""';
+ scriptFrame.id = 'VaadinComponents';
+ scriptFrame.style.cssText = 'position:absolute; width:0; height:0; border:none; left: -1000px;' + ' top: -1000px;';
+ scriptFrame.tabIndex = -1;
+ $doc_0.body.appendChild(scriptFrame);
+ frameDoc = scriptFrame.contentDocument;
+ if (!frameDoc) {
+ frameDoc = scriptFrame.contentWindow.document;
+ }
+ frameDoc.open();
+ var doctype = document.compatMode == 'CSS1Compat'?'<!doctype html>':'';
+ frameDoc.write(doctype + '<html><head><\/head><body><\/body><\/html>');
+ frameDoc.close();
+ }
+
+ function installScript(filename){
+ this['_' + filename.replace(/.*([\dA-F]{32}).cache.js/, '$1')](window, document);
+ }
+
+ VaadinComponents.__startLoadingFragment = function(fragmentFile){
+ return computeUrlForResource(fragmentFile);
+ }
+ ;
+ VaadinComponents.__installRunAsyncCode = function(code_0){
+ var doc = getInstallLocationDoc();
+ var docbody = doc.body;
+ var script = doc.createElement('script');
+ script.language = 'javascript';
+ script.text = code_0;
+ docbody.appendChild(script);
+ }
+ ;
+ function processMetas(){
+ var metaProps = {};
+ var propertyErrorFunc;
+ var onLoadErrorFunc;
+ var metas = $doc_0.getElementsByTagName('meta');
+ for (var i = 0, n = metas.length; i < n; ++i) {
+ var meta = metas[i], name_1 = meta.getAttribute('name'), content_0;
+ if (name_1) {
+ name_1 = name_1.replace('VaadinComponents::', '');
+ if (name_1.indexOf('::') >= 0) {
+ continue;
+ }
+ if (name_1 == 'gwt:property') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ var value_1, eq = content_0.indexOf('=');
+ if (eq >= 0) {
+ name_1 = content_0.substring(0, eq);
+ value_1 = content_0.substring(eq + 1);
+ }
+ else {
+ name_1 = content_0;
+ value_1 = '';
+ }
+ metaProps[name_1] = value_1;
+ }
+ }
+ else if (name_1 == 'gwt:onPropertyErrorFn') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ try {
+ propertyErrorFunc = eval(content_0);
+ }
+ catch (e) {
+ alert('Bad handler "' + content_0 + '" for "gwt:onPropertyErrorFn"');
+ }
+ }
+ }
+ else if (name_1 == 'gwt:onLoadErrorFn') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ try {
+ onLoadErrorFunc = eval(content_0);
+ }
+ catch (e) {
+ alert('Bad handler "' + content_0 + '" for "gwt:onLoadErrorFn"');
+ }
+ }
+ }
+ }
+ }
+ __gwt_getMetaProperty = function(name_0){
+ var value_0 = metaProps[name_0];
+ return value_0 == null?null:value_0;
+ }
+ ;
+ __propertyErrorFunction = propertyErrorFunc;
+ VaadinComponents.__errFn = onLoadErrorFunc;
+ }
+
+ function computeScriptBase(){
+ function getDirectoryOfFile(path){
+ var hashIndex = path.lastIndexOf('#');
+ if (hashIndex == -1) {
+ hashIndex = path.length;
+ }
+ var queryIndex = path.indexOf('?');
+ if (queryIndex == -1) {
+ queryIndex = path.length;
+ }
+ var slashIndex = path.lastIndexOf('/', Math.min(queryIndex, hashIndex));
+ return slashIndex >= 0?path.substring(0, slashIndex + 1):'';
+ }
+
+ function ensureAbsoluteUrl(url_0){
+ if (url_0.match(/^\w+:\/\//)) {
+ }
+ else {
+ var img = $doc_0.createElement('img');
+ img.src = url_0 + 'clear.cache.gif';
+ url_0 = getDirectoryOfFile(img.src);
+ }
+ return url_0;
+ }
+
+ function tryMetaTag(){
+ var metaVal = __gwt_getMetaProperty('baseUrl');
+ if (metaVal != null) {
+ return metaVal;
+ }
+ return '';
+ }
+
+ function tryNocacheJsTag(){
+ var scriptTags = $doc_0.getElementsByTagName('script');
+ for (var i = 0; i < scriptTags.length; ++i) {
+ if (scriptTags[i].src.indexOf('VaadinComponents.nocache.js') != -1) {
+ return getDirectoryOfFile(scriptTags[i].src);
+ }
+ }
+ return '';
+ }
+
+ function tryBaseTag(){
+ var baseElements = $doc_0.getElementsByTagName('base');
+ if (baseElements.length > 0) {
+ return baseElements[baseElements.length - 1].href;
+ }
+ return '';
+ }
+
+ function isLocationOk(){
+ var loc = $doc_0.location;
+ return loc.href == loc.protocol + '//' + loc.host + loc.pathname + loc.search + loc.hash;
+ }
+
+ var tempBase = tryMetaTag();
+ if (tempBase == '') {
+ tempBase = tryNocacheJsTag();
+ }
+ if (tempBase == '') {
+ tempBase = tryBaseTag();
+ }
+ if (tempBase == '' && isLocationOk()) {
+ tempBase = getDirectoryOfFile($doc_0.location.href);
+ }
+ tempBase = ensureAbsoluteUrl(tempBase);
+ return tempBase;
+ }
+
+ function computeUrlForResource(resource){
+ if (resource.match(/^\//)) {
+ return resource;
+ }
+ if (resource.match(/^[a-zA-Z]+:\/\//)) {
+ return resource;
+ }
+ return VaadinComponents.__moduleBase + resource;
+ }
+
+ function getCompiledCodeFilename(){
+ var answers = [];
+ var softPermutationId = 0;
+ function unflattenKeylistIntoAnswers(propValArray, value_0){
+ var answer = answers;
+ for (var i = 0, n = propValArray.length - 1; i < n; ++i) {
+ answer = answer[propValArray[i]] || (answer[propValArray[i]] = []);
+ }
+ answer[propValArray[n]] = value_0;
+ }
+
+ var values = [];
+ var providers = [];
+ function computePropValue(propName){
+ var value_0 = providers[propName](), allowedValuesMap = values[propName];
+ if (value_0 in allowedValuesMap) {
+ return value_0;
+ }
+ var allowedValuesList = [];
+ for (var k in allowedValuesMap) {
+ allowedValuesList[allowedValuesMap[k]] = k;
+ }
+ if (__propertyErrorFunction) {
+ __propertyErrorFunction(propName, allowedValuesList, value_0);
+ }
+ throw null;
+ }
+
+ providers['modernie'] = function(){
+ {
+ var ua = $wnd_0.navigator.userAgent;
+ if (ua.indexOf('MSIE') == -1 && ua.indexOf('Trident') != -1) {
+ return 'yes';
+ }
+ return 'none';
+ }
+ }
+ ;
+ values['modernie'] = {none:0, yes:1};
+ providers['selectorCapability'] = function(){
+ return !/_force_no_native/.test(document.location.search) && typeof document.querySelectorAll == 'function'?'native':'js';
+ }
+ ;
+ values['selectorCapability'] = {js:0, 'native':1};
+ providers['user.agent'] = function(){
+ var ua = navigator.userAgent.toLowerCase();
+ var docMode = $doc_0.documentMode;
+ if (function(){
+ return ua.indexOf('webkit') != -1;
+ }
+ ())
+ return 'safari';
+ if (function(){
+ return ua.indexOf('msie') != -1 && (docMode >= 10 && docMode < 11);
+ }
+ ())
+ return 'ie10';
+ if (function(){
+ return ua.indexOf('msie') != -1 && (docMode >= 9 && docMode < 11);
+ }
+ ())
+ return 'ie9';
+ if (function(){
+ return ua.indexOf('msie') != -1 && (docMode >= 8 && docMode < 11);
+ }
+ ())
+ return 'ie8';
+ if (function(){
+ return ua.indexOf('gecko') != -1 || docMode >= 11;
+ }
+ ())
+ return 'gecko1_8';
+ return '';
+ }
+ ;
+ values['user.agent'] = {gecko1_8:0, ie10:1, ie8:2, ie9:3, safari:4};
+ __gwt_isKnownPropertyValue = function(propName, propValue){
+ return propValue in values[propName];
+ }
+ ;
+ VaadinComponents.__getPropMap = function(){
+ var result = {};
+ for (var key in values) {
+ if (values.hasOwnProperty(key)) {
+ result[key] = computePropValue(key);
+ }
+ }
+ return result;
+ }
+ ;
+ VaadinComponents.__computePropValue = computePropValue;
+ $wnd_0.__gwt_activeModules['VaadinComponents'].bindings = VaadinComponents.__getPropMap;
+ sendStats('bootstrap', 'selectingPermutation');
+ if (isHostedMode()) {
+ return computeUrlForResource('VaadinComponents.devmode.js');
+ }
+ var strongName;
+ try {
+ unflattenKeylistIntoAnswers(['none', 'js', 'gecko1_8'], '55F58E459C89683EEE1180D97E79CF39');
+ unflattenKeylistIntoAnswers(['none', 'native', 'gecko1_8'], '55F58E459C89683EEE1180D97E79CF39' + ':1');
+ unflattenKeylistIntoAnswers(['yes', 'js', 'gecko1_8'], '55F58E459C89683EEE1180D97E79CF39' + ':2');
+ unflattenKeylistIntoAnswers(['yes', 'native', 'gecko1_8'], '55F58E459C89683EEE1180D97E79CF39' + ':3');
+ unflattenKeylistIntoAnswers(['none', 'js', 'ie10'], '55F58E459C89683EEE1180D97E79CF39' + ':4');
+ unflattenKeylistIntoAnswers(['none', 'native', 'ie10'], '55F58E459C89683EEE1180D97E79CF39' + ':5');
+ unflattenKeylistIntoAnswers(['none', 'native', 'safari'], '55F58E459C89683EEE1180D97E79CF39' + ':6');
+ strongName = answers[computePropValue('modernie')][computePropValue('selectorCapability')][computePropValue('user.agent')];
+ var idx = strongName.indexOf(':');
+ if (idx != -1) {
+ softPermutationId = parseInt(strongName.substring(idx + 1), 10);
+ strongName = strongName.substring(0, idx);
+ }
+ }
+ catch (e) {
+ }
+ VaadinComponents.__softPermutationId = softPermutationId;
+ return computeUrlForResource(strongName + '.cache.js');
+ }
+
+ function loadExternalStylesheets(){
+ if (!$wnd_0.__gwt_stylesLoaded) {
+ $wnd_0.__gwt_stylesLoaded = {};
+ }
+ sendStats('loadExternalRefs', 'begin');
+ sendStats('loadExternalRefs', 'end');
+ }
+
+ processMetas();
+ VaadinComponents.__moduleBase = computeScriptBase();
+ activeModules['VaadinComponents'].moduleBase = VaadinComponents.__moduleBase;
+ var filename_0 = getCompiledCodeFilename();
+ if ($wnd_0) {
+ var devModePermitted = !!($wnd_0.location.protocol == 'http:' || $wnd_0.location.protocol == 'file:');
+ $wnd_0.__gwt_activeModules['VaadinComponents'].canRedirect = devModePermitted;
+ function supportsSessionStorage(){
+ var key = '_gwt_dummy_';
+ try {
+ $wnd_0.sessionStorage.setItem(key, key);
+ $wnd_0.sessionStorage.removeItem(key);
+ return true;
+ }
+ catch (e) {
+ return false;
+ }
+ }
+
+ if (devModePermitted && supportsSessionStorage()) {
+ var devModeKey = '__gwtDevModeHook:VaadinComponents';
+ var devModeUrl = $wnd_0.sessionStorage[devModeKey];
+ if (!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(devModeUrl)) {
+ if (devModeUrl && (window.console && console.log)) {
+ console.log('Ignoring non-whitelisted Dev Mode URL: ' + devModeUrl);
+ }
+ devModeUrl = '';
+ }
+ if (devModeUrl && !$wnd_0[devModeKey]) {
+ $wnd_0[devModeKey] = true;
+ $wnd_0[devModeKey + ':moduleBase'] = computeScriptBase();
+ var devModeScript = $doc_0.createElement('script');
+ devModeScript.src = devModeUrl;
+ var head = $doc_0.getElementsByTagName('head')[0];
+ head.insertBefore(devModeScript, head.firstElementChild || head.children[0]);
+ return false;
+ }
+ }
+ }
+ loadExternalStylesheets();
+ sendStats('bootstrap', 'end');
+ installScript(filename_0);
+ return true;
+}
+
+VaadinComponents.succeeded = VaadinComponents();
+
+function _55F58E459C89683EEE1180D97E79CF39($wnd, $doc){
+var $wnd = $wnd || window.parent;
+var __gwtModuleFunction = $wnd.VaadinComponents;
+var $sendStats = __gwtModuleFunction.__sendStats;
+$sendStats('moduleStartup', 'moduleEvalStart');
+var $gwt_version = "2.8.0-MCM";
+var $strongName = '55F58E459C89683EEE1180D97E79CF39';
+var $gwt = {};
+var $doc = $wnd.document;
+var $moduleName, $moduleBase;
+function __gwtStartLoadingFragment(frag) {
+var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js';
+return __gwtModuleFunction.__startLoadingFragment(fragFile);
+}
+function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}
+function __gwt_isKnownPropertyValue(propName, propValue) {
+return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue);
+}
+function __gwt_getMetaProperty(name) {
+return __gwtModuleFunction.__gwt_getMetaProperty(name);
+}
+var $stats = $wnd.__gwtStatsEvent ? function(a) {
+return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a);
+} : null;
+var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;
+var $intern_0 = 3.141592653589793, $intern_1 = {3:1, 13:1}, $intern_2 = {3:1, 9:1, 13:1}, $intern_3 = {3:1, 9:1, 11:1, 13:1}, $intern_4 = 65535, $intern_5 = {3:1, 4:1}, $intern_6 = {49:1, 12:1, 3:1, 7:1, 6:1}, $intern_7 = {16:1, 12:1, 3:1, 7:1, 6:1}, $intern_8 = {12:1, 61:1, 3:1, 7:1, 6:1}, $intern_9 = {12:1, 62:1, 3:1, 7:1, 6:1}, $intern_10 = {12:1, 63:1, 3:1, 7:1, 6:1}, $intern_11 = {33:1, 3:1, 7:1, 6:1}, $intern_12 = {12:1, 93:1, 3:1, 7:1, 6:1}, $intern_13 = {12:1, 50:1, 3:1, 7:1, 6:1}, $intern_14 = {94:1, 3:1, 9:1, 11:1, 13:1}, $intern_15 = 4194303, $intern_16 = 1048575, $intern_17 = 524288, $intern_18 = 4194304, $intern_19 = 17592186044416, $intern_20 = -9223372036854775808, $intern_21 = {8:1}, $intern_22 = {47:1}, $intern_23 = {52:1, 45:1}, $intern_24 = {120:1}, $intern_25 = {109:1}, $intern_26 = {20:1, 78:1}, $intern_27 = {96:1}, $intern_28 = {28:1, 25:1, 21:1, 27:1, 24:1, 23:1, 17:1}, $intern_29 = {28:1, 25:1, 21:1, 27:1, 40:1, 24:1, 37:1, 23:1, 17:1}, $intern_30 = {28:1, 25:1, 21:1, 76:1, 27:1, 40:1, 24:1, 37:1, 23:1, 17:1}, $intern_31 = 65536, $intern_32 = 131072, $intern_33 = 1048576, $intern_34 = 2097152, $intern_35 = 8388608, $intern_36 = 16777216, $intern_37 = 33554432, $intern_38 = 67108864, $intern_39 = {199:1, 22:1}, $intern_40 = {28:1, 25:1, 21:1, 97:1, 27:1, 40:1, 24:1, 37:1, 23:1, 17:1}, $intern_41 = {22:1, 201:1}, $intern_42 = {149:1, 22:1}, $intern_43 = {28:1, 25:1, 21:1, 27:1, 40:1, 24:1, 37:1, 116:1, 23:1, 17:1}, $intern_44 = {202:1, 28:1, 22:1, 25:1, 21:1, 97:1, 27:1, 40:1, 24:1, 37:1, 23:1, 17:1}, $intern_45 = -2147483648, $intern_46 = {22:1, 150:1}, $intern_47 = {22:1, 200:1}, $intern_48 = 4.9E-324, $intern_49 = {71:1, 3:1, 7:1, 6:1}, $intern_50 = {65:1, 54:1}, $intern_51 = {204:1, 3:1, 4:1}, $intern_52 = {203:1, 3:1, 4:1}, $intern_53 = {64:1}, $intern_54 = {32:1}, $intern_55 = {26:1}, $intern_56 = {3:1, 32:1, 111:1}, $intern_57 = {3:1, 64:1};
+var _, initFnList_0, prototypesByTypeId_0 = {}, permutationId = -1;
+function getPermutationId(){
+ if (permutationId == -1) {
+ debugger;
+ throw new AssertionError_0('The bootstrap linker did not provide a soft permutation id to the gwtOnLoad function');
+ }
+ return permutationId;
+}
+
+function com_google_gwt_useragent_client_UserAgent(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ return new UserAgentImplIe10;
+ case 6:
+ return new UserAgentImplSafari;
+ }
+ return new UserAgentImplGecko1_8;
+}
+
+function com_google_gwt_user_client_ui_impl_PopupImpl(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ case 6:
+ return new PopupImpl;
+ }
+ return new PopupImplMozilla;
+}
+
+function com_google_gwt_user_client_ui_impl_FocusImpl(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ return new FocusImpl;
+ case 6:
+ return new FocusImplSafari;
+ }
+ return new FocusImplStandard;
+}
+
+function com_google_gwt_user_client_impl_WindowImpl(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ return new WindowImplIE;
+ case 6:
+ return new WindowImpl;
+ }
+ return new WindowImplMozilla;
+}
+
+function com_google_gwt_user_client_impl_DOMImpl(){
+ switch (getPermutationId()) {
+ case 6:
+ return new DOMImplWebkit_0;
+ case 4:
+ case 5:
+ return new DOMImplIE9_0;
+ }
+ return new DOMImplMozilla_0;
+}
+
+function com_google_gwt_query_client_impl_SelectorEngineImpl(){
+ switch (getPermutationId()) {
+ case 4:
+ return new SelectorEngineNative;
+ case 5:
+ return new SelectorEngineNativeMinIE8;
+ }
+ return new SelectorEngineNativeMin;
+}
+
+function com_google_gwt_query_client_impl_HasSelector(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ return new SelectorEngineSizzleIE;
+ }
+ return new SelectorEngineCssToXPath;
+}
+
+function com_google_gwt_query_client_Browser(){
+ switch (getPermutationId()) {
+ case 4:
+ case 5:
+ return new Browser_ie10;
+ case 6:
+ return new Browser_safari;
+ }
+ return new Browser_gecko1_8;
+}
+
+function com_google_gwt_dom_client_DOMImpl(){
+ switch (getPermutationId()) {
+ case 6:
+ return new DOMImplWebkit;
+ case 4:
+ case 5:
+ return new DOMImplIE9;
+ }
+ return new DOMImplMozilla;
+}
+
+function typeMarkerFn(){
+}
+
+function trampolineBridgeMethod(o, bridgeRef, nonbridgeRef){
+ return !isJavaString(o) && !hasTypeMarker(o)?bridgeRef:nonbridgeRef;
+}
+
+function provide(namespace){
+ var cur = this;
+ if (namespace == '$wnd') {
+ return $wnd;
+ }
+ else if (namespace === '') {
+ return cur;
+ }
+ if (namespace.substring(0, 5) == '$wnd.') {
+ cur = $wnd;
+ namespace = namespace.substring(5);
+ }
+ var parts = namespace.split('.');
+ !(parts[0] in cur) && cur.execScript && cur.execScript('var ' + parts[0]);
+ for (var part; parts.length && (part = parts.shift());) {
+ cur[part]?(cur = cur[part]):(cur = cur[part] = {});
+ }
+ return cur;
+}
+
+function portableObjCreate(obj){
+ function F(){
+ }
+
+ ;
+ F.prototype = obj || {};
+ return new F;
+}
+
+function modernizeBrowser(){
+ !Array.isArray && (Array.isArray = function(vArg){
+ return Object.prototype.toString.call(vArg) === '[object Array]';
+ }
+ );
+}
+
+function maybeGetClassLiteralFromPlaceHolder_0(entry){
+ return entry instanceof Array?entry[0]:null;
+}
+
+function maybeCoerceToLong(o, isLong){
+ if (!isLong) {
+ return o;
+ }
+ if (typeof o == 'number') {
+ return fromDouble(o);
+ }
+ return o;
+}
+
+function maybeCoerceFromLong(o, isLong){
+ if (!isLong) {
+ return o;
+ }
+ return toDouble(o);
+}
+
+function makeBridgeMethod(methodRef, returnsLong, longParams){
+ return function(){
+ var args = [];
+ for (var i_0 = 0; i_0 < arguments.length; i_0++) {
+ var maybeCoerced = maybeCoerceToLong(arguments[i_0], longParams[i_0]);
+ args.push(maybeCoerced);
+ }
+ var result = methodRef.apply(this, args);
+ return returnsLong?maybeCoerceFromLong(result, returnsLong):result;
+ }
+ ;
+}
+
+function emptyMethod(){
+}
+
+function defineClass(typeId, superTypeId, castableTypeMap){
+ var prototypesByTypeId = prototypesByTypeId_0;
+ var createSubclassPrototype = createSubclassPrototype_0;
+ var maybeGetClassLiteralFromPlaceHolder = maybeGetClassLiteralFromPlaceHolder_0;
+ var prototype_0 = prototypesByTypeId[typeId];
+ var clazz = maybeGetClassLiteralFromPlaceHolder(prototype_0);
+ if (prototype_0 && !clazz) {
+ _ = prototype_0;
+ }
+ else {
+ _ = prototypesByTypeId[typeId] = !superTypeId?{}:createSubclassPrototype(superTypeId);
+ _.castableTypeMap$ = castableTypeMap;
+ _.constructor = _;
+ !superTypeId && (_.typeMarker$ = typeMarkerFn);
+ }
+ for (var i_0 = 3; i_0 < arguments.length; ++i_0) {
+ arguments[i_0].prototype = _;
+ }
+ clazz && (_.___clazz$ = clazz);
+}
+
+function createSubclassPrototype_0(superTypeId){
+ var prototypesByTypeId = prototypesByTypeId_0;
+ return portableObjCreate(prototypesByTypeId[superTypeId]);
+}
+
+function setGwtProperty(propertyName, propertyValue){
+ typeof window === 'object' && typeof window['$gwt'] === 'object' && (window['$gwt'][propertyName] = propertyValue);
+}
+
+function gwtOnLoad_0(errFn, modName, modBase, softPermutationId){
+ ensureModuleInit();
+ var initFnList = initFnList_0;
+ $moduleName = modName;
+ $moduleBase = modBase;
+ permutationId = softPermutationId;
+ function initializeModules(){
+ for (var i_0 = 0; i_0 < initFnList.length; i_0++) {
+ initFnList[i_0]();
+ }
+ }
+
+ if (errFn) {
+ try {
+ $entry(initializeModules)();
+ }
+ catch (e) {
+ errFn(modName, e);
+ }
+ }
+ else {
+ $entry(initializeModules)();
+ }
+}
+
+function ensureModuleInit(){
+ initFnList_0 == null && (initFnList_0 = []);
+}
+
+function addInitFunctions(){
+ ensureModuleInit();
+ var initFnList = initFnList_0;
+ for (var i_0 = 0; i_0 < arguments.length; i_0++) {
+ initFnList.push(arguments[i_0]);
+ }
+}
+
+function $toString(this$static){
+ return $getName(getClass__Ljava_lang_Class___devirtual$(this$static)) + '@' + (hashCode__I__devirtual$(this$static) >>> 0).toString(16);
+}
+
+function Object_0(){
+}
+
+function equals_Ljava_lang_Object__Z__devirtual$(this$static, other){
+ return isJavaString(this$static)?$equals_2(this$static, other):hasJavaObjectVirtualDispatch(this$static)?this$static.equals$(other):isJavaArray(this$static)?this$static === other:this$static === other;
+}
+
+function getClass__Ljava_lang_Class___devirtual$(this$static){
+ return isJavaString(this$static)?Ljava_lang_String_2_classLit:hasJavaObjectVirtualDispatch(this$static)?this$static.___clazz$:isJavaArray(this$static)?this$static.___clazz$:Lcom_google_gwt_core_client_JavaScriptObject_2_classLit;
+}
+
+function hashCode__I__devirtual$(this$static){
+ return isJavaString(this$static)?getHashCode_0(this$static):hasJavaObjectVirtualDispatch(this$static)?this$static.hashCode$():isJavaArray(this$static)?getHashCode(this$static):getHashCode(this$static);
+}
+
+function toString__Ljava_lang_String___devirtual$(this$static){
+ return isJavaString(this$static)?this$static:hasJavaObjectVirtualDispatch(this$static)?this$static.toString$():isJavaArray(this$static)?$toString(this$static):toStringVerbose(this$static);
+}
+
+defineClass(1, null, {}, Object_0);
+_.equals$ = function(other){
+ return this === other;
+}
+;
+_.getClass$ = function(){
+ return this.___clazz$;
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this);
+}
+;
+_.toString$ = function(){
+ return $toString(this);
+}
+;
+_.toString = function(){
+ return this.toString$();
+}
+;
+stringCastMap = {3:1, 594:1, 7:1, 2:1};
+modernizeBrowser();
+function createFunction(){
+ return function(){
+ }
+ ;
+}
+
+function toStringVerbose(obj){
+ var defined = function(m){
+ return typeof m != 'undefined';
+ }
+ ;
+ var strip = function(s){
+ return s.replace(/\r\n/g, '');
+ }
+ ;
+ if (defined(obj.outerHTML))
+ return strip(obj.outerHTML);
+ defined(obj.innerHTML) && obj.cloneNode && $doc.createElement('div').appendChild(obj.cloneNode(true)).innerHTML;
+ if (defined(obj.nodeType) && obj.nodeType == 3) {
+ return "'" + obj.data.replace(/ /g, '\u25AB').replace(/\u00A0/, '\u25AA') + "'";
+ }
+ if (typeof defined(obj.htmlText) && obj.collapse) {
+ var html = obj.htmlText;
+ if (html) {
+ return 'IETextRange [' + strip(html) + ']';
+ }
+ else {
+ var dup = obj.duplicate();
+ dup.pasteHTML('|');
+ var out = 'IETextRange ' + strip(obj.parentElement().outerHTML);
+ dup.moveStart('character', -1);
+ dup.pasteHTML('');
+ return out;
+ }
+ }
+ return obj.toString?obj.toString():'[JavaScriptObject]';
+}
+
+function canCast(src_0, dstId){
+ return isJavaString(src_0) && !!stringCastMap[dstId] || src_0.castableTypeMap$ && !!src_0.castableTypeMap$[dstId];
+}
+
+function charToString(x_0){
+ return String.fromCharCode(x_0);
+}
+
+function dynamicCast(src_0, dstId){
+ if (src_0 != null && !canCast(src_0, dstId)) {
+ throw new ClassCastException;
+ }
+ return src_0;
+}
+
+function dynamicCastAllowJso(src_0, dstId){
+ if (src_0 != null && !(!isJavaString(src_0) && !hasTypeMarker(src_0)) && !canCast(src_0, dstId)) {
+ throw new ClassCastException;
+ }
+ return src_0;
+}
+
+function dynamicCastJso(src_0){
+ if (src_0 != null && !(!isJavaString(src_0) && !hasTypeMarker(src_0))) {
+ throw new ClassCastException;
+ }
+ return src_0;
+}
+
+function dynamicCastToString(src_0){
+ if (src_0 != null && !isJavaString(src_0)) {
+ throw new ClassCastException;
+ }
+ return src_0;
+}
+
+function hasJavaObjectVirtualDispatch(src_0){
+ return !instanceofArray(src_0) && hasTypeMarker(src_0);
+}
+
+function instanceOf(src_0, dstId){
+ return src_0 != null && canCast(src_0, dstId);
+}
+
+function instanceOfJso(src_0){
+ return src_0 != null && !isJavaString(src_0) && !hasTypeMarker(src_0);
+}
+
+function instanceofArray(src_0){
+ return Array.isArray(src_0);
+}
+
+function isJavaArray(src_0){
+ return instanceofArray(src_0) && hasTypeMarker(src_0);
+}
+
+function isJavaString(src_0){
+ return typeof src_0 === 'string';
+}
+
+function maskUndefined(src_0){
+ return src_0 == null?null:src_0;
+}
+
+function round_byte(x_0){
+ return round_int(x_0) << 24 >> 24;
+}
+
+function round_int(x_0){
+ return Math.max(Math.min(x_0, 2147483647), -2147483648) | 0;
+}
+
+function round_short(x_0){
+ return round_int(x_0) << 16 >> 16;
+}
+
+function throwClassCastExceptionUnlessNull(o){
+ if (o != null) {
+ throw new ClassCastException;
+ }
+ return null;
+}
+
+var stringCastMap;
+function $ensureNamesAreInitialized(this$static){
+ if (this$static.typeName != null) {
+ return;
+ }
+ initializeNames(this$static);
+}
+
+function $getName(this$static){
+ $ensureNamesAreInitialized(this$static);
+ return this$static.typeName;
+}
+
+function $getSimpleName(this$static){
+ $ensureNamesAreInitialized(this$static);
+ return this$static.simpleName;
+}
+
+function Class(){
+ ++nextSequentialId;
+ this.typeName = null;
+ this.simpleName = null;
+ this.packageName = null;
+ this.compoundName = null;
+ this.canonicalName = null;
+ this.typeId = null;
+ this.arrayLiterals = null;
+}
+
+function createClassObject(packageName, compoundClassName){
+ var clazz;
+ clazz = new Class;
+ clazz.packageName = packageName;
+ clazz.compoundName = compoundClassName;
+ return clazz;
+}
+
+function createForClass(packageName, compoundClassName, typeId, superclass){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ maybeSetClassLiteral(typeId, clazz);
+ clazz.superclass = superclass;
+ return clazz;
+}
+
+function createForEnum(packageName, compoundClassName, typeId, superclass, enumConstantsFunc){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ maybeSetClassLiteral(typeId, clazz);
+ clazz.modifiers = enumConstantsFunc?8:0;
+ clazz.superclass = superclass;
+ return clazz;
+}
+
+function createForInterface(packageName, compoundClassName){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ clazz.modifiers = 2;
+ return clazz;
+}
+
+function createForPrimitive(className, primitiveTypeId){
+ var clazz;
+ clazz = createClassObject('', className);
+ clazz.typeId = primitiveTypeId;
+ clazz.modifiers = 1;
+ return clazz;
+}
+
+function getClassLiteralForArray_0(leafClass, dimensions){
+ var arrayLiterals = leafClass.arrayLiterals = leafClass.arrayLiterals || [];
+ return arrayLiterals[dimensions] || (arrayLiterals[dimensions] = leafClass.createClassLiteralForArray(dimensions));
+}
+
+function getPrototypeForClass(clazz){
+ if (clazz.isPrimitive()) {
+ return null;
+ }
+ var typeId = clazz.typeId;
+ var prototype_0 = prototypesByTypeId_0[typeId];
+ return prototype_0;
+}
+
+function initializeNames(clazz){
+ if (clazz.isArray_0()) {
+ var componentType = clazz.componentType;
+ componentType.isPrimitive()?(clazz.typeName = '[' + componentType.typeId):!componentType.isArray_0()?(clazz.typeName = '[L' + componentType.getName_0() + ';'):(clazz.typeName = '[' + componentType.getName_0());
+ clazz.canonicalName = componentType.getCanonicalName() + '[]';
+ clazz.simpleName = componentType.getSimpleName() + '[]';
+ return;
+ }
+ var packageName = clazz.packageName;
+ var compoundName = clazz.compoundName;
+ compoundName = compoundName.split('/');
+ clazz.typeName = join_0('.', [packageName, join_0('$', compoundName)]);
+ clazz.canonicalName = join_0('.', [packageName, join_0('.', compoundName)]);
+ clazz.simpleName = compoundName[compoundName.length - 1];
+}
+
+function join_0(separator, strings){
+ var i_0 = 0;
+ while (!strings[i_0] || strings[i_0] == '') {
+ i_0++;
+ }
+ var result = strings[i_0++];
+ for (; i_0 < strings.length; i_0++) {
+ if (!strings[i_0] || strings[i_0] == '') {
+ continue;
+ }
+ result += separator + strings[i_0];
+ }
+ return result;
+}
+
+function maybeSetClassLiteral(typeId, clazz){
+ var proto;
+ if (!typeId) {
+ return;
+ }
+ clazz.typeId = typeId;
+ var prototype_0 = getPrototypeForClass(clazz);
+ if (!prototype_0) {
+ prototypesByTypeId_0[typeId] = [clazz];
+ return;
+ }
+ prototype_0.___clazz$ = clazz;
+}
+
+defineClass(152, 1, {}, Class);
+_.createClassLiteralForArray = function(dimensions){
+ var clazz;
+ clazz = new Class;
+ clazz.modifiers = 4;
+ clazz.superclass = Ljava_lang_Object_2_classLit;
+ dimensions > 1?(clazz.componentType = getClassLiteralForArray_0(this, dimensions - 1)):(clazz.componentType = this);
+ return clazz;
+}
+;
+_.getCanonicalName = function(){
+ $ensureNamesAreInitialized(this);
+ return this.canonicalName;
+}
+;
+_.getName_0 = function(){
+ return $getName(this);
+}
+;
+_.getSimpleName = function(){
+ return $getSimpleName(this);
+}
+;
+_.isArray_0 = function(){
+ return (this.modifiers & 4) != 0;
+}
+;
+_.isPrimitive = function(){
+ return (this.modifiers & 1) != 0;
+}
+;
+_.toString$ = function(){
+ return ((this.modifiers & 2) != 0?'interface ':(this.modifiers & 1) != 0?'':'class ') + ($ensureNamesAreInitialized(this) , this.typeName);
+}
+;
+_.modifiers = 0;
+var nextSequentialId = 1;
+var Ljava_lang_Object_2_classLit = createForClass('java.lang', 'Object', 1, null), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptObject$', 0, Ljava_lang_Object_2_classLit), Ljava_lang_Class_2_classLit = createForClass('java.lang', 'Class', 152, Ljava_lang_Object_2_classLit);
+function $cancel(this$static){
+ if (!this$static.isRunning) {
+ return;
+ }
+ this$static.wasStarted = this$static.isStarted;
+ this$static.element = null;
+ this$static.isRunning = false;
+ this$static.isStarted = false;
+ if (this$static.requestHandle) {
+ this$static.requestHandle.cancel();
+ this$static.requestHandle = null;
+ }
+ this$static.wasStarted && this$static.onComplete();
+}
+
+function $run(this$static, startTime){
+ $cancel(this$static);
+ this$static.isRunning = true;
+ this$static.isStarted = false;
+ this$static.duration = 200;
+ this$static.startTime = startTime;
+ this$static.element = null;
+ ++this$static.runId;
+ $execute(this$static.callback, now_1());
+}
+
+function $update(this$static, curTime){
+ var curRunId, finished, progress;
+ curRunId = this$static.runId;
+ finished = curTime >= this$static.startTime + this$static.duration;
+ if (this$static.isStarted && !finished) {
+ progress = (curTime - this$static.startTime) / this$static.duration;
+ this$static.onUpdate((1 + Math.cos($intern_0 + progress * $intern_0)) / 2);
+ return this$static.isRunning && this$static.runId == curRunId;
+ }
+ if (!this$static.isStarted && curTime >= this$static.startTime) {
+ this$static.isStarted = true;
+ this$static.onStart();
+ if (!(this$static.isRunning && this$static.runId == curRunId)) {
+ return false;
+ }
+ }
+ if (finished) {
+ this$static.isRunning = false;
+ this$static.isStarted = false;
+ this$static.onComplete();
+ return false;
+ }
+ return true;
+}
+
+function Animation(){
+ Animation_0.call(this, (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance));
+}
+
+function Animation_0(scheduler){
+ this.callback = new Animation$1(this);
+ this.scheduler = scheduler;
+}
+
+defineClass(129, 1, {});
+_.onComplete = function(){
+ this.onUpdate((1 + cos_0(6.283185307179586)) / 2);
+}
+;
+_.onStart = function(){
+ this.onUpdate((1 + cos_0($intern_0)) / 2);
+}
+;
+_.duration = -1;
+_.isRunning = false;
+_.isStarted = false;
+_.runId = -1;
+_.startTime = -1;
+_.wasStarted = false;
+var Lcom_google_gwt_animation_client_Animation_2_classLit = createForClass('com.google.gwt.animation.client', 'Animation', 129, Ljava_lang_Object_2_classLit);
+function $execute(this$static, timestamp){
+ $update(this$static.this$01, timestamp)?(this$static.this$01.requestHandle = this$static.this$01.scheduler.requestAnimationFrame_0(this$static.this$01.callback, this$static.this$01.element)):(this$static.this$01.requestHandle = null);
+}
+
+function Animation$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(299, 1, {}, Animation$1);
+_.execute = function(timestamp){
+ $execute(this, timestamp);
+}
+;
+var Lcom_google_gwt_animation_client_Animation$1_2_classLit = createForClass('com.google.gwt.animation.client', 'Animation/1', 299, Ljava_lang_Object_2_classLit);
+defineClass(576, 1, {});
+var instance;
+var Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationScheduler', 576, Ljava_lang_Object_2_classLit);
+defineClass(126, 1, {126:1});
+var Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationScheduler/AnimationHandle', 126, Ljava_lang_Object_2_classLit);
+function $isNativelySupported(){
+ return !!$wnd.requestAnimationFrame && !!$wnd.cancelAnimationFrame;
+}
+
+function AnimationSchedulerImplStandard(){
+}
+
+function cancelImpl(holder){
+ $wnd.cancelAnimationFrame(holder.id);
+}
+
+function requestImpl(cb, element){
+ var callback = $entry(function(){
+ var time = now_1();
+ cb.execute(time);
+ }
+ );
+ var handle = $wnd.requestAnimationFrame(callback, element);
+ return {id:handle};
+}
+
+defineClass(69, 576, {}, AnimationSchedulerImplStandard);
+_.requestAnimationFrame_0 = function(callback, element){
+ var handle;
+ handle = requestImpl(callback, element);
+ return new AnimationSchedulerImplStandard$1(handle);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplStandard', 69, Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit);
+function AnimationSchedulerImplStandard$1(val$handle){
+ this.val$handle2 = val$handle;
+}
+
+defineClass(523, 126, {126:1}, AnimationSchedulerImplStandard$1);
+_.cancel = function(){
+ cancelImpl(this.val$handle2);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard$1_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplStandard/1', 523, Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit);
+function $cancelAnimationFrame(this$static, requestId){
+ $remove_7(this$static.animationRequests, requestId);
+ this$static.animationRequests.array.length == 0 && $cancel_0(this$static.timer);
+}
+
+function $updateAnimations(this$static){
+ var curAnimations, duration, requestId, requestId$index, requestId$max;
+ curAnimations = initDim(Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_2_classLit, {609:1, 3:1, 4:1}, 147, this$static.animationRequests.array.length, 0, 1);
+ curAnimations = dynamicCast($toArray_0(this$static.animationRequests, curAnimations), 609);
+ duration = new Duration;
+ for (requestId$index = 0 , requestId$max = curAnimations.length; requestId$index < requestId$max; ++requestId$index) {
+ requestId = curAnimations[requestId$index];
+ $remove_7(this$static.animationRequests, requestId);
+ requestId.callback.execute(duration.start_0);
+ }
+ this$static.animationRequests.array.length > 0 && $schedule(this$static.timer, max_1(5, 16 - (now_1() - duration.start_0)));
+}
+
+function AnimationSchedulerImplTimer(){
+ this.animationRequests = new ArrayList;
+ this.timer = new AnimationSchedulerImplTimer$1(this);
+}
+
+defineClass(70, 576, {}, AnimationSchedulerImplTimer);
+_.requestAnimationFrame_0 = function(callback, element){
+ var requestId;
+ requestId = new AnimationSchedulerImplTimer$AnimationHandleImpl(this, callback);
+ $add_6(this.animationRequests, requestId);
+ this.animationRequests.array.length == 1 && $schedule(this.timer, 16);
+ return requestId;
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer', 70, Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit);
+function $cancel_0(this$static){
+ if (!this$static.timerId) {
+ return;
+ }
+ ++this$static.cancelCounter;
+ this$static.isRepeating?clearInterval_0(this$static.timerId.value_0):clearTimeout_0(this$static.timerId.value_0);
+ this$static.timerId = null;
+}
+
+function $schedule(this$static, delayMillis){
+ if (delayMillis < 0) {
+ throw new IllegalArgumentException_0('must be non-negative');
+ }
+ !!this$static.timerId && $cancel_0(this$static);
+ this$static.isRepeating = false;
+ this$static.timerId = valueOf_2(setTimeout_0(createCallback(this$static, this$static.cancelCounter), delayMillis));
+}
+
+function $scheduleRepeating(this$static){
+ !!this$static.timerId && $cancel_0(this$static);
+ this$static.isRepeating = true;
+ this$static.timerId = valueOf_2(setInterval_0(createCallback(this$static, this$static.cancelCounter), 100));
+}
+
+function Timer(){
+}
+
+function clearInterval_0(timerId){
+ $wnd.clearInterval(timerId);
+}
+
+function clearTimeout_0(timerId){
+ $wnd.clearTimeout(timerId);
+}
+
+function createCallback(timer, cancelCounter){
+ return $entry(function(){
+ timer.fire(cancelCounter);
+ }
+ );
+}
+
+function setInterval_0(func, time){
+ return $wnd.setInterval(func, time);
+}
+
+function setTimeout_0(func, time){
+ return $wnd.setTimeout(func, time);
+}
+
+defineClass(46, 1, {});
+_.fire = function(scheduleCancelCounter){
+ if (scheduleCancelCounter != this.cancelCounter) {
+ return;
+ }
+ this.isRepeating || (this.timerId = null);
+ this.run();
+}
+;
+_.cancelCounter = 0;
+_.isRepeating = false;
+_.timerId = null;
+var Lcom_google_gwt_user_client_Timer_2_classLit = createForClass('com.google.gwt.user.client', 'Timer', 46, Ljava_lang_Object_2_classLit);
+function AnimationSchedulerImplTimer$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(524, 46, {}, AnimationSchedulerImplTimer$1);
+_.run = function(){
+ $updateAnimations(this.this$01);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$1_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer/1', 524, Lcom_google_gwt_user_client_Timer_2_classLit);
+function AnimationSchedulerImplTimer$AnimationHandleImpl(this$0, callback){
+ this.this$01 = this$0;
+ this.callback = callback;
+}
+
+defineClass(147, 126, {126:1, 147:1}, AnimationSchedulerImplTimer$AnimationHandleImpl);
+_.cancel = function(){
+ $cancelAnimationFrame(this.this$01, this);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer/AnimationHandleImpl', 147, Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit);
+function $fillInStackTrace(this$static){
+ this$static.stackTrace = null;
+ captureStackTrace();
+ return this$static;
+}
+
+function $initCause(this$static, cause){
+ checkState_0(!this$static.cause);
+ checkCriticalArgument(cause != this$static, 'Self-causation not permitted');
+ this$static.cause = cause;
+ return this$static;
+}
+
+function $printStackTrace(this$static){
+ var element$array, element$index, element$max, t, stackTrace;
+ for (t = this$static; t; t = t.cause) {
+ for (element$array = (t.stackTrace == null && (t.stackTrace = ($clinit_StackTraceCreator() , stackTrace = initDim(Ljava_lang_StackTraceElement_2_classLit, {3:1, 4:1, 604:1}, 691, 0, 0, 1) , dropInternalFrames(stackTrace))) , t.stackTrace) , element$index = 0 , element$max = element$array.length; element$index < element$max; ++element$index)
+ ;
+ }
+}
+
+function Throwable(){
+ $fillInStackTrace(this);
+}
+
+function Throwable_0(message, cause){
+ this.cause = cause;
+ this.detailMessage = message;
+ $fillInStackTrace(this);
+}
+
+defineClass(13, 1, $intern_1);
+_.getMessage = function(){
+ return this.detailMessage;
+}
+;
+_.toString$ = function(){
+ var className, msg;
+ return className = $getName(this.___clazz$) , msg = this.getMessage() , msg != null?className + ': ' + msg:className;
+}
+;
+var Ljava_lang_Throwable_2_classLit = createForClass('java.lang', 'Throwable', 13, Ljava_lang_Object_2_classLit);
+function Exception(message){
+ this.detailMessage = message;
+ $fillInStackTrace(this);
+}
+
+defineClass(9, 13, $intern_2, Exception);
+var Ljava_lang_Exception_2_classLit = createForClass('java.lang', 'Exception', 9, Ljava_lang_Throwable_2_classLit);
+function RuntimeException(){
+ Throwable.call(this);
+}
+
+function RuntimeException_0(message){
+ Exception.call(this, message);
+}
+
+function RuntimeException_1(message, cause){
+ Throwable_0.call(this, message, cause);
+}
+
+defineClass(11, 9, $intern_3, RuntimeException_0);
+var Ljava_lang_RuntimeException_2_classLit = createForClass('java.lang', 'RuntimeException', 11, Ljava_lang_Exception_2_classLit);
+function CodeDownloadException(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(593, 11, $intern_3, CodeDownloadException);
+var Lcom_google_gwt_core_client_CodeDownloadException_2_classLit = createForClass('com.google.gwt.core.client', 'CodeDownloadException', 593, Ljava_lang_RuntimeException_2_classLit);
+function Duration(){
+ this.start_0 = now_1();
+}
+
+defineClass(189, 1, {}, Duration);
+_.start_0 = 0;
+var Lcom_google_gwt_core_client_Duration_2_classLit = createForClass('com.google.gwt.core.client', 'Duration', 189, Ljava_lang_Object_2_classLit);
+function isScript(){
+ return true;
+}
+
+defineClass(301, 11, $intern_3);
+var Lcom_google_gwt_core_client_impl_JavaScriptExceptionBase_2_classLit = createForClass('com.google.gwt.core.client.impl', 'JavaScriptExceptionBase', 301, Ljava_lang_RuntimeException_2_classLit);
+function $clinit_JavaScriptException(){
+ $clinit_JavaScriptException = emptyMethod;
+ NOT_SET = new Object_0;
+}
+
+function $ensureInit(this$static){
+ var exception;
+ if (this$static.message_0 == null) {
+ exception = maskUndefined(this$static.e) === maskUndefined(NOT_SET)?null:this$static.e;
+ this$static.name_0 = exception == null?'null':instanceOfJso(exception)?getExceptionName0(dynamicCastJso(exception)):isJavaString(exception)?'String':$getName(getClass__Ljava_lang_Class___devirtual$(exception));
+ this$static.description = this$static.description + ': ' + (instanceOfJso(exception)?getExceptionDescription0(dynamicCastJso(exception)):exception + '');
+ this$static.message_0 = '(' + this$static.name_0 + ') ' + this$static.description;
+ }
+}
+
+function JavaScriptException(e){
+ $clinit_JavaScriptException();
+ this.cause = null;
+ this.detailMessage = null;
+ this.description = '';
+ this.e = e;
+ this.description = '';
+}
+
+function getExceptionDescription0(e){
+ return e == null?null:e.message;
+}
+
+function getExceptionName0(e){
+ return e == null?null:e.name;
+}
+
+defineClass(58, 301, {58:1, 3:1, 9:1, 11:1, 13:1}, JavaScriptException);
+_.getMessage = function(){
+ return $ensureInit(this) , this.message_0;
+}
+;
+_.getThrown = function(){
+ return maskUndefined(this.e) === maskUndefined(NOT_SET)?null:this.e;
+}
+;
+var NOT_SET;
+var Lcom_google_gwt_core_client_JavaScriptException_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptException', 58, Lcom_google_gwt_core_client_impl_JavaScriptExceptionBase_2_classLit);
+function $push(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function $push_0(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function $getObject(this$static, index_0){
+ return this$static[index_0] != null?Object(this$static[index_0]):null;
+}
+
+function $push_1(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function now_1(){
+ if (Date.now) {
+ return Date.now();
+ }
+ return (new Date).getTime();
+}
+
+function safeEval(json){
+ try {
+ return JSON.parse(json);
+ }
+ catch (e) {
+ return throwIllegalArgumentException('Error parsing JSON: ' + e, json);
+ }
+}
+
+function throwIllegalArgumentException(message, data_0){
+ throw new IllegalArgumentException_0(message + '\n' + data_0);
+}
+
+defineClass(554, 1, {});
+var Lcom_google_gwt_core_client_Scheduler_2_classLit = createForClass('com.google.gwt.core.client', 'Scheduler', 554, Ljava_lang_Object_2_classLit);
+function $clinit_ScriptInjector(){
+ $clinit_ScriptInjector = emptyMethod;
+ TOP_WINDOW = $wnd;
+}
+
+function attachListeners(scriptElement, callback, removeTag){
+ $clinit_ScriptInjector();
+ function clearCallbacks(){
+ scriptElement.onerror = scriptElement.onreadystatechange = scriptElement.onload = null;
+ removeTag && nativeRemove(scriptElement);
+ }
+
+ scriptElement.onload = $entry(function(){
+ clearCallbacks();
+ callback && callback.onSuccess_0(null);
+ }
+ );
+ scriptElement.onerror = $entry(function(){
+ clearCallbacks();
+ if (callback) {
+ var ex = new CodeDownloadException('onerror() called.');
+ callback.onFailure_0(ex);
+ }
+ }
+ );
+ scriptElement.onreadystatechange = $entry(function(){
+ /loaded|complete/.test(scriptElement.readyState) && scriptElement.onload();
+ }
+ );
+}
+
+function nativeAttachToHead(doc, scriptElement){
+ $clinit_ScriptInjector();
+ (doc.head || doc.getElementsByTagName('head')[0]).appendChild(scriptElement);
+}
+
+function nativeDefaultWindow(){
+ $clinit_ScriptInjector();
+ return window;
+}
+
+function nativeGetDocument(wnd){
+ $clinit_ScriptInjector();
+ return wnd.document;
+}
+
+function nativeMakeScriptElement(doc){
+ $clinit_ScriptInjector();
+ return doc.createElement('script');
+}
+
+function nativeRemove(scriptElement){
+ $clinit_ScriptInjector();
+ scriptElement.parentNode.removeChild(scriptElement);
+}
+
+function nativeSetSrc(element, url_0){
+ $clinit_ScriptInjector();
+ element.src = url_0;
+}
+
+function nativeSetText(element, scriptBody){
+ $clinit_ScriptInjector();
+ element.text = scriptBody;
+}
+
+var TOP_WINDOW;
+function $inject(this$static){
+ var doc, scriptElement, wnd;
+ wnd = !this$static.window_0?nativeDefaultWindow():this$static.window_0;
+ if (!wnd) {
+ debugger;
+ throw new AssertionError;
+ }
+ doc = nativeGetDocument(wnd);
+ if (!doc) {
+ debugger;
+ throw new AssertionError;
+ }
+ scriptElement = nativeMakeScriptElement(doc);
+ if (!scriptElement) {
+ debugger;
+ throw new AssertionError;
+ }
+ nativeSetText(scriptElement, this$static.scriptBody);
+ nativeAttachToHead(doc, scriptElement);
+ this$static.removeTag && nativeRemove(scriptElement);
+ return scriptElement;
+}
+
+function $setWindow(this$static, window_0){
+ this$static.window_0 = window_0;
+ return this$static;
+}
+
+function ScriptInjector$FromString(scriptBody){
+ this.scriptBody = scriptBody;
+}
+
+defineClass(345, 1, {}, ScriptInjector$FromString);
+_.removeTag = true;
+var Lcom_google_gwt_core_client_ScriptInjector$FromString_2_classLit = createForClass('com.google.gwt.core.client', 'ScriptInjector/FromString', 345, Ljava_lang_Object_2_classLit);
+function $inject_0(this$static){
+ var doc, scriptElement, wnd;
+ wnd = !this$static.window_0?nativeDefaultWindow():this$static.window_0;
+ if (!wnd) {
+ debugger;
+ throw new AssertionError;
+ }
+ doc = nativeGetDocument(wnd);
+ if (!doc) {
+ debugger;
+ throw new AssertionError;
+ }
+ scriptElement = nativeMakeScriptElement(doc);
+ if (!scriptElement) {
+ debugger;
+ throw new AssertionError;
+ }
+ !!this$static.callback && attachListeners(scriptElement, this$static.callback, false);
+ nativeSetSrc(scriptElement, this$static.scriptUrl);
+ nativeAttachToHead(doc, scriptElement);
+ return scriptElement;
+}
+
+function $setCallback(this$static, callback){
+ this$static.callback = callback;
+ return this$static;
+}
+
+function $setWindow_0(this$static, window_0){
+ this$static.window_0 = window_0;
+ return this$static;
+}
+
+function ScriptInjector$FromUrl(scriptUrl){
+ this.scriptUrl = scriptUrl;
+}
+
+defineClass(346, 1, {}, ScriptInjector$FromUrl);
+var Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2_classLit = createForClass('com.google.gwt.core.client', 'ScriptInjector/FromUrl', 346, Ljava_lang_Object_2_classLit);
+function apply_0(jsFunction, thisObj, args){
+ return jsFunction.apply(thisObj, args);
+ var __0;
+}
+
+function enter(){
+ var now_0;
+ if (entryDepth < 0) {
+ debugger;
+ throw new AssertionError_0('Negative entryDepth value at entry ' + entryDepth);
+ }
+ if (entryDepth != 0) {
+ now_0 = now_1();
+ if (now_0 - watchdogEntryDepthLastScheduled > 2000) {
+ watchdogEntryDepthLastScheduled = now_0;
+ watchdogEntryDepthTimerId = $wnd.setTimeout(watchdogEntryDepthRun, 10);
+ }
+ }
+ if (entryDepth++ == 0) {
+ $flushEntryCommands(($clinit_SchedulerImpl() , INSTANCE));
+ return true;
+ }
+ return false;
+}
+
+function entry_0(jsFunction){
+ return function(){
+ if (isScript()) {
+ return entry0(jsFunction, this, arguments);
+ }
+ else {
+ var __0 = entry0(jsFunction, this, arguments);
+ __0 != null && (__0 = __0.val);
+ return __0;
+ }
+ }
+ ;
+}
+
+function entry0(jsFunction, thisObj, args){
+ var initialEntry;
+ initialEntry = enter();
+ try {
+ return apply_0(jsFunction, thisObj, args);
+ }
+ finally {
+ exit(initialEntry);
+ }
+}
+
+function exit(initialEntry){
+ initialEntry && $flushFinallyCommands(($clinit_SchedulerImpl() , INSTANCE));
+ --entryDepth;
+ if (entryDepth < 0) {
+ debugger;
+ throw new AssertionError_0('Negative entryDepth value at exit ' + entryDepth);
+ }
+ if (initialEntry) {
+ if (entryDepth != 0) {
+ debugger;
+ throw new AssertionError_0('Depth not 0' + entryDepth);
+ }
+ if (watchdogEntryDepthTimerId != -1) {
+ watchdogEntryDepthCancel(watchdogEntryDepthTimerId);
+ watchdogEntryDepthTimerId = -1;
+ }
+ }
+}
+
+function getHashCode(o){
+ return o.$H || (o.$H = ++sNextHashId);
+}
+
+function reportToBrowser(e){
+ $wnd.setTimeout(function(){
+ throw e;
+ }
+ , 0);
+}
+
+function watchdogEntryDepthCancel(timerId){
+ $wnd.clearTimeout(timerId);
+}
+
+function watchdogEntryDepthRun(){
+ entryDepth != 0 && (entryDepth = 0);
+ watchdogEntryDepthTimerId = -1;
+}
+
+var entryDepth = 0, sNextHashId = 0, watchdogEntryDepthLastScheduled = 0, watchdogEntryDepthTimerId = -1;
+function $clinit_SchedulerImpl(){
+ $clinit_SchedulerImpl = emptyMethod;
+ INSTANCE = new VSchedulerImpl;
+}
+
+function $flushEntryCommands(this$static){
+ var oldQueue, rescheduled;
+ if (this$static.entryCommands) {
+ rescheduled = null;
+ do {
+ oldQueue = this$static.entryCommands;
+ this$static.entryCommands = null;
+ rescheduled = runScheduledTasks(oldQueue, rescheduled);
+ }
+ while (this$static.entryCommands);
+ this$static.entryCommands = rescheduled;
+ }
+}
+
+function $flushFinallyCommands(this$static){
+ var oldQueue, rescheduled;
+ if (this$static.finallyCommands) {
+ rescheduled = null;
+ do {
+ oldQueue = this$static.finallyCommands;
+ this$static.finallyCommands = null;
+ rescheduled = runScheduledTasks(oldQueue, rescheduled);
+ }
+ while (this$static.finallyCommands);
+ this$static.finallyCommands = rescheduled;
+ }
+}
+
+function $flushPostEventPumpCommands(this$static){
+ var oldDeferred;
+ if (this$static.deferredCommands) {
+ oldDeferred = this$static.deferredCommands;
+ this$static.deferredCommands = null;
+ !this$static.incrementalCommands && (this$static.incrementalCommands = []);
+ runScheduledTasks(oldDeferred, this$static.incrementalCommands);
+ }
+ !!this$static.incrementalCommands && (this$static.incrementalCommands = $runRepeatingTasks(this$static.incrementalCommands));
+}
+
+function $isWorkQueued(this$static){
+ return !!this$static.deferredCommands || !!this$static.incrementalCommands;
+}
+
+function $maybeSchedulePostEventPumpCommands(this$static){
+ if (!this$static.shouldBeRunning) {
+ this$static.shouldBeRunning = true;
+ !this$static.flusher && (this$static.flusher = new SchedulerImpl$Flusher(this$static));
+ scheduleFixedDelayImpl(this$static.flusher, 1);
+ !this$static.rescue && (this$static.rescue = new SchedulerImpl$Rescuer(this$static));
+ scheduleFixedDelayImpl(this$static.rescue, 50);
+ }
+}
+
+function $runRepeatingTasks(tasks){
+ var canceledSomeTasks, duration, executedSomeTask, i_0, length_0, newTasks, t;
+ if (!tasks) {
+ debugger;
+ throw new AssertionError_0('tasks');
+ }
+ length_0 = tasks.length;
+ if (length_0 == 0) {
+ return null;
+ }
+ canceledSomeTasks = false;
+ duration = new Duration;
+ while (now_1() - duration.start_0 < 16) {
+ executedSomeTask = false;
+ for (i_0 = 0; i_0 < length_0; i_0++) {
+ if (tasks.length != length_0) {
+ debugger;
+ throw new AssertionError_0('Working array length changed ' + tasks.length + ' != ' + length_0);
+ }
+ t = tasks[i_0];
+ if (!t) {
+ continue;
+ }
+ executedSomeTask = true;
+ if (!t[1]) {
+ debugger;
+ throw new AssertionError_0('Found a non-repeating Task');
+ }
+ if (!t[0].execute_0()) {
+ tasks[i_0] = null;
+ canceledSomeTasks = true;
+ }
+ }
+ if (!executedSomeTask) {
+ break;
+ }
+ }
+ if (canceledSomeTasks) {
+ newTasks = [];
+ for (i_0 = 0; i_0 < length_0; i_0++) {
+ !!tasks[i_0] && $push(newTasks, tasks[i_0]);
+ }
+ if (newTasks.length >= length_0) {
+ debugger;
+ throw new AssertionError;
+ }
+ return newTasks.length == 0?null:newTasks;
+ }
+ else {
+ return tasks;
+ }
+}
+
+function $scheduleDeferred(this$static, cmd){
+ this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, false]);
+ $maybeSchedulePostEventPumpCommands(this$static);
+}
+
+function $scheduleFinally(this$static, cmd){
+ this$static.finallyCommands = push_0(this$static.finallyCommands, [cmd, false]);
+}
+
+function execute(cmd){
+ return cmd.execute_0();
+}
+
+function push_0(queue, task){
+ !queue && (queue = []);
+ $push(queue, task);
+ return queue;
+}
+
+function runScheduledTasks(tasks, rescheduled){
+ var e, i_0, j, t;
+ if (!tasks) {
+ debugger;
+ throw new AssertionError_0('tasks');
+ }
+ for (i_0 = 0 , j = tasks.length; i_0 < j; i_0++) {
+ if (tasks.length != j) {
+ debugger;
+ throw new AssertionError_0('Working array length changed ' + tasks.length + ' != ' + j);
+ }
+ t = tasks[i_0];
+ try {
+ t[1]?t[0].execute_0() && (rescheduled = push_0(rescheduled, t)):t[0].execute_1();
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ reportToBrowser(instanceOf(e, 58)?dynamicCast(e, 58).getThrown():e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ return rescheduled;
+}
+
+function scheduleFixedDelayImpl(cmd, delayMs){
+ $clinit_SchedulerImpl();
+ function callback(){
+ var ret = $entry(execute)(cmd);
+ !isScript() && (ret = ret == true);
+ ret && $wnd.setTimeout(callback, delayMs);
+ }
+
+ $wnd.setTimeout(callback, delayMs);
+}
+
+defineClass(429, 554, {});
+_.flushRunning = false;
+_.shouldBeRunning = false;
+var INSTANCE;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl', 429, Lcom_google_gwt_core_client_Scheduler_2_classLit);
+function SchedulerImpl$Flusher(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(430, 1, {}, SchedulerImpl$Flusher);
+_.execute_0 = function(){
+ this.this$01.flushRunning = true;
+ $flushPostEventPumpCommands(this.this$01);
+ this.this$01.flushRunning = false;
+ return this.this$01.shouldBeRunning = $isWorkQueued(this.this$01);
+}
+;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl$Flusher_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Flusher', 430, Ljava_lang_Object_2_classLit);
+function SchedulerImpl$Rescuer(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(431, 1, {}, SchedulerImpl$Rescuer);
+_.execute_0 = function(){
+ this.this$01.flushRunning && scheduleFixedDelayImpl(this.this$01.flusher, 1);
+ return this.this$01.shouldBeRunning;
+}
+;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl$Rescuer_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Rescuer', 431, Ljava_lang_Object_2_classLit);
+function $clinit_StackTraceCreator(){
+ $clinit_StackTraceCreator = emptyMethod;
+ !(!!Error.stackTraceLimit || 'stack' in new Error);
+}
+
+function captureStackTrace(){
+ $clinit_StackTraceCreator();
+}
+
+function dropInternalFrames(stackTrace){
+ var i_0, numberOfFrameToSearch;
+ numberOfFrameToSearch = min_1(stackTrace.length, 5);
+ for (i_0 = 0; i_0 < numberOfFrameToSearch; i_0++) {
+ if (null.nullMethod()) {
+ return dynamicCast((stackTrace.length >= i_0 + 1 && stackTrace.splice(0, i_0 + 1) , stackTrace), 604);
+ }
+ }
+ return stackTrace;
+}
+
+function checkCriticalArgument(expression, errorMessage){
+ if (!expression) {
+ throw new IllegalArgumentException_0('' + errorMessage);
+ }
+}
+
+function checkCriticalArgument_0(expression, errorMessageArgs){
+ if (!expression) {
+ throw new IllegalArgumentException_0(format('Enum constant undefined: %s', errorMessageArgs));
+ }
+}
+
+function checkCriticalElement(expression){
+ if (!expression) {
+ throw new NoSuchElementException;
+ }
+}
+
+function checkCriticalPositionIndexes(start_0, end, size_0){
+ if (start_0 < 0) {
+ throw new IndexOutOfBoundsException_0('fromIndex: ' + start_0 + ' < 0');
+ }
+ if (end > size_0) {
+ throw new IndexOutOfBoundsException_0('toIndex: ' + end + ' > size ' + size_0);
+ }
+ if (start_0 > end) {
+ throw new IllegalArgumentException_0('fromIndex: ' + start_0 + ' > toIndex: ' + end);
+ }
+}
+
+function checkElementIndex(index_0, size_0){
+ if (index_0 < 0 || index_0 >= size_0) {
+ throw new IndexOutOfBoundsException_0('Index: ' + index_0 + ', Size: ' + size_0);
+ }
+}
+
+function checkNotNull(reference){
+ if (reference == null) {
+ throw new NullPointerException;
+ }
+ return reference;
+}
+
+function checkPositionIndex(index_0, size_0){
+ if (index_0 < 0 || index_0 > size_0) {
+ throw new IndexOutOfBoundsException_0('Index: ' + index_0 + ', Size: ' + size_0);
+ }
+}
+
+function checkState(expression){
+ if (!expression) {
+ throw new IllegalStateException;
+ }
+}
+
+function checkState_0(expression){
+ if (!expression) {
+ throw new IllegalStateException_0("Can't overwrite cause");
+ }
+}
+
+function format(template, args){
+ var builder, i_0, placeholderStart, templateStart;
+ template = '' + template;
+ builder = new StringBuilder_0(template.length + 16 * args.length);
+ templateStart = 0;
+ i_0 = 0;
+ while (i_0 < args.length) {
+ placeholderStart = template.indexOf('%s', templateStart);
+ if (placeholderStart == -1) {
+ break;
+ }
+ $append_0(builder, template.substr(templateStart, placeholderStart - templateStart));
+ $append(builder, args[i_0++]);
+ templateStart = placeholderStart + 2;
+ }
+ $append_0(builder, __substr(template, templateStart, template.length - templateStart));
+ if (i_0 < args.length) {
+ builder.string += ' [';
+ $append(builder, args[i_0++]);
+ while (i_0 < args.length) {
+ builder.string += ', ';
+ $append(builder, args[i_0++]);
+ }
+ builder.string += ']';
+ }
+ return builder.string;
+}
+
+function $appendChild(this$static, newChild){
+ return this$static.appendChild(newChild);
+}
+
+function $getChild(this$static, index_0){
+ if (!(index_0 >= 0 && index_0 < this$static.childNodes.length)) {
+ debugger;
+ throw new AssertionError_0('Child index out of bounds');
+ }
+ return this$static.childNodes[index_0];
+}
+
+function $getParentElement(this$static){
+ return $getParentElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $hasParentElement(this$static){
+ return !!$getParentElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $insertAfter(this$static, newChild, refChild){
+ var next;
+ if (!newChild) {
+ debugger;
+ throw new AssertionError_0('Cannot add a null child node');
+ }
+ next = !refChild?null:refChild.nextSibling;
+ return !next?this$static.appendChild(newChild):this$static.insertBefore(newChild, next);
+}
+
+function $insertBefore(this$static, newChild, refChild){
+ return this$static.insertBefore(newChild, refChild);
+}
+
+function $insertFirst(this$static, child){
+ if (!child) {
+ debugger;
+ throw new AssertionError_0('Cannot add a null child node');
+ }
+ return $insertBefore(this$static, child, this$static.firstChild);
+}
+
+function $isOrHasChild(this$static, child){
+ if (!child) {
+ debugger;
+ throw new AssertionError_0('Child cannot be null');
+ }
+ return ($clinit_DOMImpl() , impl_0).isOrHasChild(this$static, child);
+}
+
+function $removeAllChildren(this$static){
+ while (this$static.lastChild) {
+ this$static.removeChild(this$static.lastChild);
+ }
+}
+
+function $removeChild(this$static, oldChild){
+ return this$static.removeChild(oldChild);
+}
+
+function $removeFromParent(this$static){
+ var parent_0;
+ parent_0 = $getParentElement_0(($clinit_DOMImpl() , this$static));
+ !!parent_0 && parent_0.removeChild(this$static);
+}
+
+function is(o){
+ try {
+ return !!o && !!o.nodeType;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function $addClassName(this$static, className){
+ var idx, oldClassName;
+ className = trimClassName(className);
+ oldClassName = $getClassName(this$static);
+ idx = indexOfName(oldClassName, className);
+ if (idx == -1) {
+ oldClassName.length > 0?$setClassName(this$static, oldClassName + ' ' + className):$setClassName(this$static, className);
+ return true;
+ }
+ return false;
+}
+
+function $focus(this$static){
+ this$static.focus();
+}
+
+function $getAbsoluteBottom(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteTop(this$static) + ($getSubPixelOffsetHeight(this$static) | 0);
+}
+
+function $getAbsoluteLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteLeft(this$static);
+}
+
+function $getAbsoluteTop(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteTop(this$static);
+}
+
+function $getAttribute(this$static, name_0){
+ return $getAttribute_0(($clinit_DOMImpl() , this$static), name_0);
+}
+
+function $getClassName(this$static){
+ return this$static.className || '';
+}
+
+function $getFirstChildElement(this$static){
+ return $getFirstChildElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $getInnerHTML(this$static){
+ return ($clinit_DOMImpl() , this$static).innerHTML;
+}
+
+function $getInnerText(this$static){
+ return ($clinit_DOMImpl() , this$static).textContent;
+}
+
+function $getPropertyInt(this$static, name_0){
+ return parseInt(this$static[name_0]) | 0;
+}
+
+function $getPropertyString(this$static, name_0){
+ return this$static[name_0] == null?null:String(this$static[name_0]);
+}
+
+function $getScrollLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getScrollLeft_0(this$static);
+}
+
+function $getString(this$static){
+ return ($clinit_DOMImpl() , impl_0).toString_0(this$static);
+}
+
+function $getSubPixelOffsetHeight(this$static){
+ return this$static.offsetHeight || 0;
+}
+
+function $getSubPixelOffsetWidth(this$static){
+ return this$static.offsetWidth || 0;
+}
+
+function $getSubPixelScrollTop(this$static){
+ return this$static.scrollTop || 0;
+}
+
+function $getSubPixelScrollWidth(this$static){
+ return this$static.scrollWidth || 0;
+}
+
+function $getTabIndex(this$static){
+ return ($clinit_DOMImpl() , impl_0).getTabIndex(this$static);
+}
+
+function $hasClassName(this$static, className){
+ var idx;
+ className = trimClassName(className);
+ idx = indexOfName($getClassName(this$static), className);
+ return idx != -1;
+}
+
+function $removeAttribute(this$static, name_0){
+ this$static.removeAttribute(name_0);
+}
+
+function $removeClassName(this$static, className){
+ var begin, end, idx, newClassName, oldStyle;
+ className = trimClassName(className);
+ oldStyle = $getClassName(this$static);
+ idx = indexOfName(oldStyle, className);
+ if (idx != -1) {
+ begin = $trim(oldStyle.substr(0, idx));
+ end = $trim($substring(oldStyle, idx + className.length));
+ begin.length == 0?(newClassName = end):end.length == 0?(newClassName = begin):(newClassName = begin + ' ' + end);
+ $setClassName(this$static, newClassName);
+ return true;
+ }
+ return false;
+}
+
+function $setAttribute(this$static, name_0, value_0){
+ this$static.setAttribute(name_0, value_0);
+}
+
+function $setClassName(this$static, className){
+ this$static.className = className || '';
+}
+
+function $setId(this$static, id_0){
+ this$static.id = id_0;
+}
+
+function $setInnerHTML(this$static, html){
+ this$static.innerHTML = html || '';
+}
+
+function $setInnerText(this$static, text_0){
+ $setInnerText_0(($clinit_DOMImpl() , this$static), text_0);
+}
+
+function $setPropertyBoolean(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyInt(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyObject(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyString(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setScrollLeft(this$static, scrollLeft){
+ ($clinit_DOMImpl() , impl_0).setScrollLeft(this$static, scrollLeft);
+}
+
+function $setScrollTop(this$static, scrollTop){
+ this$static.scrollTop = scrollTop;
+}
+
+function $setTabIndex(this$static, tabIndex){
+ this$static.tabIndex = tabIndex;
+}
+
+function as(o){
+ if (!is_0(o)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return o;
+}
+
+function as_0(node){
+ if (!(!!node && node.nodeType == 1)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return node;
+}
+
+function indexOfName(nameList, name_0){
+ var idx, last, lastPos;
+ idx = nameList.indexOf(name_0);
+ while (idx != -1) {
+ if (idx == 0 || nameList.charCodeAt(idx - 1) == 32) {
+ last = idx + name_0.length;
+ lastPos = nameList.length;
+ if (last == lastPos || last < lastPos && nameList.charCodeAt(last) == 32) {
+ break;
+ }
+ }
+ idx = nameList.indexOf(name_0, idx + 1);
+ }
+ return idx;
+}
+
+function is_0(o){
+ if (is(o)) {
+ return !!o && o.nodeType == 1;
+ }
+ return false;
+}
+
+function trimClassName(className){
+ if (className == null) {
+ debugger;
+ throw new AssertionError_0('Unexpectedly null class name');
+ }
+ className = $trim(className);
+ if (!className.length) {
+ debugger;
+ throw new AssertionError_0('Unexpectedly empty class name');
+ }
+ return className;
+}
+
+function $clinit_DOMImpl(){
+ $clinit_DOMImpl = emptyMethod;
+ impl_0 = com_google_gwt_dom_client_DOMImpl();
+}
+
+function $createElement(doc, tag){
+ return doc.createElement(tag);
+}
+
+function $eventStopPropagation(evt){
+ evt.stopPropagation();
+}
+
+function $getAttribute_0(elem, name_0){
+ return elem.getAttribute(name_0) || '';
+}
+
+function $getFirstChildElement_0(elem){
+ var child = elem.firstChild;
+ while (child && child.nodeType != 1)
+ child = child.nextSibling;
+ return child;
+}
+
+function $getNextSiblingElement(elem){
+ var sib = elem.nextSibling;
+ while (sib && sib.nodeType != 1)
+ sib = sib.nextSibling;
+ return sib;
+}
+
+function $getParentElement_0(node){
+ var parent_0 = node.parentNode;
+ (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null);
+ return parent_0;
+}
+
+function $getPreviousSiblingElement(elem){
+ var sib = elem.previousSibling;
+ while (sib && sib.nodeType != 1)
+ sib = sib.previousSibling;
+ return sib;
+}
+
+function $getSubPixelAbsoluteLeft(elem){
+ var left = 0;
+ var curr = elem;
+ while (curr.offsetParent) {
+ left -= curr.scrollLeft;
+ curr = curr.parentNode;
+ }
+ while (elem) {
+ left += elem.offsetLeft;
+ elem = elem.offsetParent;
+ }
+ return left;
+}
+
+function $getSubPixelAbsoluteTop(elem){
+ var top_0 = 0;
+ var curr = elem;
+ while (curr.offsetParent) {
+ top_0 -= curr.scrollTop;
+ curr = curr.parentNode;
+ }
+ while (elem) {
+ top_0 += elem.offsetTop;
+ elem = elem.offsetParent;
+ }
+ return top_0;
+}
+
+function $getSubPixelScrollLeft(elem){
+ return elem.scrollLeft || 0;
+}
+
+function $setScrollLeft_0(elem, left){
+ elem.scrollLeft = left;
+}
+
+function toInt32(val){
+ $clinit_DOMImpl();
+ return val | 0;
+}
+
+defineClass(583, 1, {});
+_.createButtonElement = function createButtonElement(doc, type_0){
+ var e = doc.createElement('BUTTON');
+ e.type = type_0;
+ return e;
+}
+;
+_.createScriptElement = function(doc, source){
+ var elem;
+ elem = doc.createElement('script');
+ elem.text = source;
+ return elem;
+}
+;
+_.eventGetCurrentTarget = function eventGetCurrentTarget(event_0){
+ return event_0.currentTarget;
+}
+;
+_.getAbsoluteLeft = function(elem){
+ return toInt32($getSubPixelAbsoluteLeft(elem));
+}
+;
+_.getAbsoluteTop = function(elem){
+ return toInt32($getSubPixelAbsoluteTop(elem));
+}
+;
+_.getBodyOffsetLeft = function getBodyOffsetLeft(doc){
+ return 0;
+}
+;
+_.getBodyOffsetTop = function getBodyOffsetTop(doc){
+ return 0;
+}
+;
+_.getNumericStyleProperty = function(style, name_0){
+ return style[name_0];
+}
+;
+_.getScrollLeft = function(doc){
+ return $getScrollLeft($equals_2(doc.compatMode, 'CSS1Compat')?doc.documentElement:doc.body);
+}
+;
+_.getScrollLeft_0 = function(elem){
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.getTabIndex = function getTabIndex(elem){
+ return elem.tabIndex;
+}
+;
+_.setScrollLeft = function(elem, left){
+ $setScrollLeft_0(elem, left);
+}
+;
+_.toString_0 = function toString_1(elem){
+ return elem.outerHTML;
+}
+;
+var impl_0;
+var Lcom_google_gwt_dom_client_DOMImpl_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImpl', 583, Ljava_lang_Object_2_classLit);
+function $eventGetButton(evt){
+ var button = evt.button;
+ if (button == 1) {
+ return 4;
+ }
+ else if (button == 2) {
+ return 2;
+ }
+ return 1;
+}
+
+function $eventPreventDefault(evt){
+ evt.preventDefault();
+}
+
+function $setInnerText_0(elem, text_0){
+ elem.textContent = text_0 || '';
+}
+
+defineClass(584, 583, {});
+_.eventGetRelatedTarget = function eventGetRelatedTarget(evt){
+ return evt.relatedTarget;
+}
+;
+_.eventGetTarget = function eventGetTarget(evt){
+ return evt.target;
+}
+;
+_.isOrHasChild = function isOrHasChild(parent_0, child){
+ return parent_0.contains(child);
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplStandard', 584, Lcom_google_gwt_dom_client_DOMImpl_2_classLit);
+function $isRTL(elem){
+ return elem.ownerDocument.defaultView.getComputedStyle(elem, '').direction == 'rtl';
+}
+
+function getAbsoluteLeftUsingOffsets(elem){
+ if (elem.offsetLeft == null) {
+ return 0;
+ }
+ var left = 0;
+ var doc = elem.ownerDocument;
+ var curr = elem.parentNode;
+ if (curr) {
+ while (curr.offsetParent) {
+ left -= curr.scrollLeft;
+ doc.defaultView.getComputedStyle(curr, '').getPropertyValue('direction') == 'rtl' && (left += curr.scrollWidth - curr.clientWidth);
+ curr = curr.parentNode;
+ }
+ }
+ while (elem) {
+ left += elem.offsetLeft;
+ if (doc.defaultView.getComputedStyle(elem, '')['position'] == 'fixed') {
+ left += doc.body.scrollLeft;
+ return left;
+ }
+ var parent_0 = elem.offsetParent;
+ parent_0 && $wnd.devicePixelRatio && (left += parseInt(doc.defaultView.getComputedStyle(parent_0, '').getPropertyValue('border-left-width')));
+ if (parent_0 && parent_0.tagName == 'BODY' && elem.style.position == 'absolute') {
+ break;
+ }
+ elem = parent_0;
+ }
+ return left;
+}
+
+function getAbsoluteTopUsingOffsets(elem){
+ if (elem.offsetTop == null) {
+ return 0;
+ }
+ var top_0 = 0;
+ var doc = elem.ownerDocument;
+ var curr = elem.parentNode;
+ if (curr) {
+ while (curr.offsetParent) {
+ top_0 -= curr.scrollTop;
+ curr = curr.parentNode;
+ }
+ }
+ while (elem) {
+ top_0 += elem.offsetTop;
+ if (doc.defaultView.getComputedStyle(elem, '')['position'] == 'fixed') {
+ top_0 += doc.body.scrollTop;
+ return top_0;
+ }
+ var parent_0 = elem.offsetParent;
+ parent_0 && $wnd.devicePixelRatio && (top_0 += parseInt(doc.defaultView.getComputedStyle(parent_0, '').getPropertyValue('border-top-width')));
+ if (parent_0 && parent_0.tagName == 'BODY' && elem.style.position == 'absolute') {
+ break;
+ }
+ elem = parent_0;
+ }
+ return top_0;
+}
+
+function getBoundingClientRect(element){
+ return element.getBoundingClientRect && element.getBoundingClientRect();
+}
+
+defineClass(585, 584, {});
+_.createButtonElement = function createButtonElement_0(doc, type_0){
+ var e = doc.createElement('BUTTON');
+ e.setAttribute('type', type_0);
+ return e;
+}
+;
+_.createScriptElement = function(doc, source){
+ var elem;
+ elem = doc.createElement('script');
+ $setInnerText_0(($clinit_DOMImpl() , elem), source);
+ return elem;
+}
+;
+_.eventGetCurrentTarget = function eventGetCurrentTarget_0(event_0){
+ return event_0.currentTarget || $wnd;
+}
+;
+_.eventGetMouseWheelVelocityY = function eventGetMouseWheelVelocityY(evt){
+ return Math.round(-evt.wheelDelta / 40) || 0;
+}
+;
+_.getAbsoluteLeft = function(elem){
+ var left, rect;
+ rect = getBoundingClientRect(elem);
+ left = rect?rect.left + $getScrollLeft(elem.ownerDocument.body):getAbsoluteLeftUsingOffsets(elem);
+ return toInt32(left);
+}
+;
+_.getAbsoluteTop = function(elem){
+ var rect, top_0, top_1;
+ rect = getBoundingClientRect(elem);
+ top_0 = rect?rect.top + ((elem.ownerDocument.body.scrollTop || 0) | 0):getAbsoluteTopUsingOffsets(elem);
+ return toInt32(top_0);
+}
+;
+_.getScrollLeft = function getScrollLeft(doc){
+ return doc.documentElement.scrollLeft || doc.body.scrollLeft;
+}
+;
+_.getScrollLeft_0 = function(elem){
+ if (!$equalsIgnoreCase('body', ($clinit_DOMImpl() , elem).tagName) && $isRTL(elem)) {
+ return toInt32($getSubPixelScrollLeft(elem)) - (($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ }
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.getTabIndex = function getTabIndex_0(elem){
+ return typeof elem.tabIndex != 'undefined'?elem.tabIndex:-1;
+}
+;
+_.setScrollLeft = function(elem, left){
+ !$equalsIgnoreCase('body', ($clinit_DOMImpl() , elem).tagName) && $isRTL(elem) && (left += ($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ $setScrollLeft_0(elem, left);
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplStandardBase_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplStandardBase', 585, Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit);
+function $getBoundingClientRectLeft(elem){
+ try {
+ return elem.getBoundingClientRect().left;
+ }
+ catch (e) {
+ return 0;
+ }
+}
+
+function $getBoundingClientRectTop(elem){
+ try {
+ return elem.getBoundingClientRect().top;
+ }
+ catch (e) {
+ return 0;
+ }
+}
+
+function $getParentOffsetDelta(elem){
+ var offsetParent = elem.offsetParent;
+ if (offsetParent) {
+ return offsetParent.offsetWidth - offsetParent.clientWidth;
+ }
+ return 0;
+}
+
+function DOMImplIE9(){
+ $clinit_DOMImpl();
+}
+
+defineClass(420, 585, {}, DOMImplIE9);
+_.getAbsoluteLeft = function(elem){
+ var left;
+ left = $getBoundingClientRectLeft(elem) + $wnd.pageXOffset;
+ $isRTL(elem) && (left += $getParentOffsetDelta(elem));
+ return toInt32(left);
+}
+;
+_.getAbsoluteTop = function(elem){
+ return toInt32($getBoundingClientRectTop(elem) + $wnd.pageYOffset);
+}
+;
+_.getNumericStyleProperty = function getNumericStyleProperty(style, name_0){
+ return typeof style[name_0] == 'number'?'' + style[name_0]:style[name_0];
+}
+;
+_.getScrollLeft = function(doc){
+ return toInt32($wnd.pageXOffset);
+}
+;
+_.getScrollLeft_0 = function(elem){
+ var left;
+ left = toInt32(elem.scrollLeft || 0);
+ $isRTL(elem) && (left = -left);
+ return left;
+}
+;
+_.getTabIndex = function getTabIndex_1(elem){
+ return elem.tabIndex < $intern_4?elem.tabIndex:-(elem.tabIndex % $intern_4) - 1;
+}
+;
+_.isOrHasChild = function(parent_0, child){
+ return isOrHasChildImpl(parent_0, child);
+}
+;
+_.setScrollLeft = function(elem, left){
+ $isRTL(elem) && (left = -left);
+ elem.scrollLeft = left;
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplIE9_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplIE9', 420, Lcom_google_gwt_dom_client_DOMImplStandardBase_2_classLit);
+function $getAbsoluteLeftImpl(viewport, elem){
+ if (Element.prototype.getBoundingClientRect) {
+ return elem.getBoundingClientRect().left + viewport.scrollLeft | 0;
+ }
+ else {
+ var doc = elem.ownerDocument;
+ return doc.getBoxObjectFor(elem).screenX - doc.getBoxObjectFor(doc.documentElement).screenX;
+ }
+}
+
+function $getAbsoluteTopImpl(viewport, elem){
+ if (Element.prototype.getBoundingClientRect) {
+ return elem.getBoundingClientRect().top + viewport.scrollTop | 0;
+ }
+ else {
+ var doc = elem.ownerDocument;
+ return doc.getBoxObjectFor(elem).screenY - doc.getBoxObjectFor(doc.documentElement).screenY;
+ }
+}
+
+function $isRTL_0(elem){
+ var style = elem.ownerDocument.defaultView.getComputedStyle(elem, null);
+ return style.direction == 'rtl';
+}
+
+function DOMImplMozilla(){
+ $clinit_DOMImpl();
+}
+
+function getGeckoVersion(){
+ var result = /rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase());
+ if (result && result.length >= 3) {
+ var version = parseInt(result[1]) * 1000000 + parseInt(result[2]) * 1000 + parseInt(result.length >= 5 && !isNaN(result[4])?result[4]:0);
+ return version;
+ }
+ return -1;
+}
+
+function isGecko19(){
+ var geckoVersion;
+ geckoVersion = getGeckoVersion();
+ return geckoVersion != -1 && geckoVersion >= 1009000;
+}
+
+defineClass(419, 584, {}, DOMImplMozilla);
+_.eventGetMouseWheelVelocityY = function eventGetMouseWheelVelocityY_0(evt){
+ return evt.detail || 0;
+}
+;
+_.eventGetRelatedTarget = function eventGetRelatedTarget_0(evt){
+ var relatedTarget = evt.relatedTarget;
+ if (!relatedTarget) {
+ return null;
+ }
+ try {
+ var nodeName = relatedTarget.nodeName;
+ return relatedTarget;
+ }
+ catch (e) {
+ return null;
+ }
+}
+;
+_.getAbsoluteLeft = function(elem){
+ return $getAbsoluteLeftImpl($getViewportElement(elem.ownerDocument), elem);
+}
+;
+_.getAbsoluteTop = function(elem){
+ return $getAbsoluteTopImpl($getViewportElement(elem.ownerDocument), elem);
+}
+;
+_.getBodyOffsetLeft = function getBodyOffsetLeft_0(doc){
+ var style = $wnd.getComputedStyle(doc.documentElement, null);
+ if (style == null) {
+ return 0;
+ }
+ return parseInt(style.marginLeft, 10) + parseInt(style.borderLeftWidth, 10);
+}
+;
+_.getBodyOffsetTop = function getBodyOffsetTop_0(doc){
+ var style = $wnd.getComputedStyle(doc.documentElement, null);
+ if (style == null) {
+ return 0;
+ }
+ return parseInt(style.marginTop, 10) + parseInt(style.borderTopWidth, 10);
+}
+;
+_.getScrollLeft_0 = function(elem){
+ if (!isGecko19() && $isRTL_0(elem)) {
+ return toInt32($getSubPixelScrollLeft(elem)) - (($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ }
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.isOrHasChild = function isOrHasChild_0(parent_0, child){
+ return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16);
+}
+;
+_.setScrollLeft = function(elem, left){
+ !isGecko19() && $isRTL_0(elem) && (left += ($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ $setScrollLeft_0(elem, left);
+}
+;
+_.toString_0 = function toString_2(elem){
+ var doc = elem.ownerDocument;
+ var temp = elem.cloneNode(true);
+ var tempDiv = doc.createElement('DIV');
+ tempDiv.appendChild(temp);
+ outer = tempDiv.innerHTML;
+ temp.innerHTML = '';
+ return outer;
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplMozilla_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplMozilla', 419, Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit);
+function isOrHasChildImpl(parent_0, child){
+ if (parent_0.nodeType != 1 && parent_0.nodeType != 9) {
+ return parent_0 == child;
+ }
+ if (child.nodeType != 1) {
+ child = child.parentNode;
+ if (!child) {
+ return false;
+ }
+ }
+ if (parent_0.nodeType == 9) {
+ return parent_0 === child || parent_0.body && parent_0.body.contains(child);
+ }
+ else {
+ return parent_0 === child || parent_0.contains(child);
+ }
+}
+
+function DOMImplWebkit(){
+ $clinit_DOMImpl();
+}
+
+defineClass(418, 585, {}, DOMImplWebkit);
+_.eventGetTarget = function eventGetTarget_0(evt){
+ var target = evt.target;
+ target && target.nodeType == 3 && (target = target.parentNode);
+ return target;
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplWebkit_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplWebkit', 418, Lcom_google_gwt_dom_client_DOMImplStandardBase_2_classLit);
+function as_1(elem){
+ if (!(!!elem && $equalsIgnoreCase('div', ($clinit_DOMImpl() , elem).tagName))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function $createCheckInputElement(this$static){
+ var e;
+ return e = ($clinit_DOMImpl() , this$static).createElement('INPUT') , e.type = 'checkbox' , e.value = 'on' , e;
+}
+
+function $createDivElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('div');
+}
+
+function $createElement_0(this$static, tagName){
+ return $createElement(($clinit_DOMImpl() , this$static), tagName);
+}
+
+function $createIFrameElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('iframe');
+}
+
+function $createLabelElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('label');
+}
+
+function $createPushButtonElement(this$static){
+ return ($clinit_DOMImpl() , impl_0).createButtonElement(this$static, 'button');
+}
+
+function $createScriptElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('script');
+}
+
+function $createScriptElement_0(this$static, source){
+ return ($clinit_DOMImpl() , impl_0).createScriptElement(this$static, source);
+}
+
+function $createSpanElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('span');
+}
+
+function $createTBodyElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tbody');
+}
+
+function $createTFootElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tfoot');
+}
+
+function $createTHeadElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('thead');
+}
+
+function $createTRElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tr');
+}
+
+function $createTableElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('table');
+}
+
+function $createUniqueId(this$static){
+ !this$static.gwt_uid && (this$static.gwt_uid = 1);
+ return 'gwt-uid-' + this$static.gwt_uid++;
+}
+
+function $getBodyOffsetLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getBodyOffsetLeft(this$static);
+}
+
+function $getBodyOffsetTop(this$static){
+ return ($clinit_DOMImpl() , impl_0).getBodyOffsetTop(this$static);
+}
+
+function $getClientHeight(this$static){
+ return ($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientHeight | 0;
+}
+
+function $getClientWidth(this$static){
+ return ($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientWidth | 0;
+}
+
+function $getElementById(this$static, elementId){
+ return this$static.getElementById(elementId);
+}
+
+function $getScrollHeight(this$static){
+ return (($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollHeight || 0) | 0;
+}
+
+function $getScrollLeft_0(this$static){
+ return ($clinit_DOMImpl() , impl_0).getScrollLeft(this$static);
+}
+
+function $getScrollWidth(this$static){
+ return (($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollWidth || 0) | 0;
+}
+
+function $getViewportElement(this$static){
+ return $equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body;
+}
+
+function $isChecked(this$static){
+ return !!this$static.checked;
+}
+
+function $isDefaultChecked(this$static){
+ return !!this$static.defaultChecked;
+}
+
+function $setChecked(this$static, checked){
+ this$static.checked = checked;
+}
+
+function $setDefaultChecked(this$static, defaultChecked){
+ this$static.defaultChecked = defaultChecked;
+}
+
+function as_2(elem){
+ if (!(!!elem && $equalsIgnoreCase('input', ($clinit_DOMImpl() , elem).tagName))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function $setHtmlFor(this$static, htmlFor){
+ this$static.htmlFor = htmlFor;
+}
+
+function $getEventTarget(this$static){
+ return ($clinit_DOMImpl() , impl_0).eventGetTarget(this$static);
+}
+
+function $getKeyCode(this$static){
+ return ($clinit_DOMImpl() , this$static).keyCode | 0;
+}
+
+function $getShiftKey(this$static){
+ return !!($clinit_DOMImpl() , this$static).shiftKey;
+}
+
+function $getTouches(this$static){
+ return ($clinit_DOMImpl() , this$static).touches;
+}
+
+function $preventDefault(this$static){
+ $eventPreventDefault(($clinit_DOMImpl() , this$static));
+}
+
+function $setSrc(this$static, src_0){
+ this$static.src = src_0;
+}
+
+function $assertCamelCase(name_0){
+ if (name_0.indexOf('-') != -1) {
+ debugger;
+ throw new AssertionError_0("The style name '" + name_0 + "' should be in camelCase format");
+ }
+}
+
+function $clearProperty(this$static, name_0){
+ $assertCamelCase(name_0);
+ $setPropertyImpl(this$static, name_0, '');
+}
+
+function $clearTop(this$static){
+ $assertCamelCase('top');
+ $setPropertyImpl(this$static, 'top', '');
+}
+
+function $clearVisibility(this$static){
+ $assertCamelCase('visibility');
+ $setPropertyImpl(this$static, 'visibility', '');
+}
+
+function $clearWidth(this$static){
+ $assertCamelCase('width');
+ $setPropertyImpl(this$static, 'width', '');
+}
+
+function $getDisplay(this$static){
+ return $assertCamelCase('display') , ($clinit_DOMImpl() , this$static)['display'];
+}
+
+function $getProperty(this$static, name_0){
+ $assertCamelCase(name_0);
+ return ($clinit_DOMImpl() , this$static)[name_0];
+}
+
+function $getZIndex(this$static){
+ return ($clinit_DOMImpl() , impl_0).getNumericStyleProperty(this$static, 'zIndex');
+}
+
+function $setBottom(this$static, value_0){
+ $assertCamelCase('bottom');
+ $setPropertyImpl(this$static, 'bottom', value_0 + 'px');
+}
+
+function $setHeight(this$static, value_0){
+ $assertCamelCase('height');
+ $setPropertyImpl(this$static, 'height', value_0 + 'px');
+}
+
+function $setLeft(this$static, value_0){
+ $assertCamelCase('left');
+ $setPropertyImpl(this$static, 'left', value_0 + 'px');
+}
+
+function $setProperty(this$static, name_0, value_0, unit){
+ $assertCamelCase(name_0);
+ $setPropertyImpl(this$static, name_0, value_0 + unit.getType());
+}
+
+function $setProperty_0(this$static, name_0, value_0){
+ $assertCamelCase(name_0);
+ $setPropertyImpl(this$static, name_0, value_0);
+}
+
+function $setPropertyImpl(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setRight(this$static, value_0){
+ $assertCamelCase('right');
+ $setPropertyImpl(this$static, 'right', value_0 + 'px');
+}
+
+function $setTop(this$static, value_0){
+ $assertCamelCase('top');
+ $setPropertyImpl(this$static, 'top', value_0 + 'px');
+}
+
+function $setWidth(this$static, value_0){
+ $assertCamelCase('width');
+ $setPropertyImpl(this$static, 'width', value_0 + 'px');
+}
+
+function $setZIndex(this$static, value_0){
+ $assertCamelCase('zIndex');
+ $setPropertyImpl(this$static, 'zIndex', value_0 + '');
+}
+
+function $toString_0(this$static){
+ return this$static.name_0 != null?this$static.name_0:'' + this$static.ordinal;
+}
+
+function Enum(name_0, ordinal){
+ this.name_0 = name_0;
+ this.ordinal = ordinal;
+}
+
+function createValueOfMap(enumConstants){
+ var result, value_0, value$index, value$max;
+ result = {};
+ for (value$index = 0 , value$max = enumConstants.length; value$index < value$max; ++value$index) {
+ value_0 = enumConstants[value$index];
+ result[':' + (value_0.name_0 != null?value_0.name_0:'' + value_0.ordinal)] = value_0;
+ }
+ return result;
+}
+
+function valueOf(map_0, name_0){
+ var result;
+ checkNotNull(name_0);
+ result = map_0[':' + name_0];
+ checkCriticalArgument_0(!!result, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [name_0]));
+ return result;
+}
+
+defineClass(6, 1, {3:1, 7:1, 6:1});
+_.equals$ = function(other){
+ return this === other;
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this);
+}
+;
+_.toString$ = function(){
+ return $toString_0(this);
+}
+;
+_.ordinal = 0;
+var Ljava_lang_Enum_2_classLit = createForClass('java.lang', 'Enum', 6, Ljava_lang_Object_2_classLit);
+function $clinit_Style$BorderStyle(){
+ $clinit_Style$BorderStyle = emptyMethod;
+ NONE = new Style$BorderStyle$1;
+ DOTTED = new Style$BorderStyle$2;
+ DASHED = new Style$BorderStyle$3;
+ HIDDEN = new Style$BorderStyle$4;
+ SOLID = new Style$BorderStyle$5;
+}
+
+function Style$BorderStyle(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_0(){
+ $clinit_Style$BorderStyle();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, 1), $intern_5, 49, 0, [NONE, DOTTED, DASHED, HIDDEN, SOLID]);
+}
+
+defineClass(49, 6, $intern_6);
+var DASHED, DOTTED, HIDDEN, NONE, SOLID;
+var Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle', 49, Ljava_lang_Enum_2_classLit, values_0);
+function Style$BorderStyle$1(){
+ Style$BorderStyle.call(this, 'NONE', 0);
+}
+
+defineClass(362, 49, $intern_6, Style$BorderStyle$1);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/1', 362, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$2(){
+ Style$BorderStyle.call(this, 'DOTTED', 1);
+}
+
+defineClass(363, 49, $intern_6, Style$BorderStyle$2);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/2', 363, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$3(){
+ Style$BorderStyle.call(this, 'DASHED', 2);
+}
+
+defineClass(364, 49, $intern_6, Style$BorderStyle$3);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/3', 364, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$4(){
+ Style$BorderStyle.call(this, 'HIDDEN', 3);
+}
+
+defineClass(365, 49, $intern_6, Style$BorderStyle$4);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/4', 365, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$5(){
+ Style$BorderStyle.call(this, 'SOLID', 4);
+}
+
+defineClass(366, 49, $intern_6, Style$BorderStyle$5);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/5', 366, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function $clinit_Style$Display(){
+ $clinit_Style$Display = emptyMethod;
+ NONE_0 = new Style$Display$1;
+ BLOCK = new Style$Display$2;
+ INLINE = new Style$Display$3;
+ INLINE_BLOCK = new Style$Display$4;
+ INLINE_TABLE = new Style$Display$5;
+ LIST_ITEM = new Style$Display$6;
+ RUN_IN = new Style$Display$7;
+ TABLE = new Style$Display$8;
+ TABLE_CAPTION = new Style$Display$9;
+ TABLE_COLUMN_GROUP = new Style$Display$10;
+ TABLE_HEADER_GROUP = new Style$Display$11;
+ TABLE_FOOTER_GROUP = new Style$Display$12;
+ TABLE_ROW_GROUP = new Style$Display$13;
+ TABLE_CELL = new Style$Display$14;
+ TABLE_COLUMN = new Style$Display$15;
+ TABLE_ROW = new Style$Display$16;
+ INITIAL = new Style$Display$17;
+}
+
+function Style$Display(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_1(){
+ $clinit_Style$Display();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Display_2_classLit, 1), $intern_5, 16, 0, [NONE_0, BLOCK, INLINE, INLINE_BLOCK, INLINE_TABLE, LIST_ITEM, RUN_IN, TABLE, TABLE_CAPTION, TABLE_COLUMN_GROUP, TABLE_HEADER_GROUP, TABLE_FOOTER_GROUP, TABLE_ROW_GROUP, TABLE_CELL, TABLE_COLUMN, TABLE_ROW, INITIAL]);
+}
+
+defineClass(16, 6, $intern_7);
+var BLOCK, INITIAL, INLINE, INLINE_BLOCK, INLINE_TABLE, LIST_ITEM, NONE_0, RUN_IN, TABLE, TABLE_CAPTION, TABLE_CELL, TABLE_COLUMN, TABLE_COLUMN_GROUP, TABLE_FOOTER_GROUP, TABLE_HEADER_GROUP, TABLE_ROW, TABLE_ROW_GROUP;
+var Lcom_google_gwt_dom_client_Style$Display_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display', 16, Ljava_lang_Enum_2_classLit, values_1);
+function Style$Display$1(){
+ Style$Display.call(this, 'NONE', 0);
+}
+
+defineClass(367, 16, $intern_7, Style$Display$1);
+var Lcom_google_gwt_dom_client_Style$Display$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/1', 367, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$10(){
+ Style$Display.call(this, 'TABLE_COLUMN_GROUP', 9);
+}
+
+defineClass(376, 16, $intern_7, Style$Display$10);
+var Lcom_google_gwt_dom_client_Style$Display$10_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/10', 376, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$11(){
+ Style$Display.call(this, 'TABLE_HEADER_GROUP', 10);
+}
+
+defineClass(377, 16, $intern_7, Style$Display$11);
+var Lcom_google_gwt_dom_client_Style$Display$11_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/11', 377, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$12(){
+ Style$Display.call(this, 'TABLE_FOOTER_GROUP', 11);
+}
+
+defineClass(378, 16, $intern_7, Style$Display$12);
+var Lcom_google_gwt_dom_client_Style$Display$12_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/12', 378, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$13(){
+ Style$Display.call(this, 'TABLE_ROW_GROUP', 12);
+}
+
+defineClass(379, 16, $intern_7, Style$Display$13);
+var Lcom_google_gwt_dom_client_Style$Display$13_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/13', 379, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$14(){
+ Style$Display.call(this, 'TABLE_CELL', 13);
+}
+
+defineClass(380, 16, $intern_7, Style$Display$14);
+var Lcom_google_gwt_dom_client_Style$Display$14_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/14', 380, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$15(){
+ Style$Display.call(this, 'TABLE_COLUMN', 14);
+}
+
+defineClass(381, 16, $intern_7, Style$Display$15);
+var Lcom_google_gwt_dom_client_Style$Display$15_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/15', 381, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$16(){
+ Style$Display.call(this, 'TABLE_ROW', 15);
+}
+
+defineClass(382, 16, $intern_7, Style$Display$16);
+var Lcom_google_gwt_dom_client_Style$Display$16_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/16', 382, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$17(){
+ Style$Display.call(this, 'INITIAL', 16);
+}
+
+defineClass(383, 16, $intern_7, Style$Display$17);
+var Lcom_google_gwt_dom_client_Style$Display$17_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/17', 383, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$2(){
+ Style$Display.call(this, 'BLOCK', 1);
+}
+
+defineClass(368, 16, $intern_7, Style$Display$2);
+var Lcom_google_gwt_dom_client_Style$Display$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/2', 368, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$3(){
+ Style$Display.call(this, 'INLINE', 2);
+}
+
+defineClass(369, 16, $intern_7, Style$Display$3);
+var Lcom_google_gwt_dom_client_Style$Display$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/3', 369, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$4(){
+ Style$Display.call(this, 'INLINE_BLOCK', 3);
+}
+
+defineClass(370, 16, $intern_7, Style$Display$4);
+var Lcom_google_gwt_dom_client_Style$Display$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/4', 370, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$5(){
+ Style$Display.call(this, 'INLINE_TABLE', 4);
+}
+
+defineClass(371, 16, $intern_7, Style$Display$5);
+var Lcom_google_gwt_dom_client_Style$Display$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/5', 371, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$6(){
+ Style$Display.call(this, 'LIST_ITEM', 5);
+}
+
+defineClass(372, 16, $intern_7, Style$Display$6);
+var Lcom_google_gwt_dom_client_Style$Display$6_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/6', 372, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$7(){
+ Style$Display.call(this, 'RUN_IN', 6);
+}
+
+defineClass(373, 16, $intern_7, Style$Display$7);
+var Lcom_google_gwt_dom_client_Style$Display$7_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/7', 373, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$8(){
+ Style$Display.call(this, 'TABLE', 7);
+}
+
+defineClass(374, 16, $intern_7, Style$Display$8);
+var Lcom_google_gwt_dom_client_Style$Display$8_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/8', 374, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$9(){
+ Style$Display.call(this, 'TABLE_CAPTION', 8);
+}
+
+defineClass(375, 16, $intern_7, Style$Display$9);
+var Lcom_google_gwt_dom_client_Style$Display$9_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/9', 375, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function $clinit_Style$Overflow(){
+ $clinit_Style$Overflow = emptyMethod;
+ VISIBLE = new Style$Overflow$1;
+ HIDDEN_0 = new Style$Overflow$2;
+ SCROLL = new Style$Overflow$3;
+ AUTO = new Style$Overflow$4;
+}
+
+function Style$Overflow(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_2(){
+ $clinit_Style$Overflow();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, 1), $intern_5, 61, 0, [VISIBLE, HIDDEN_0, SCROLL, AUTO]);
+}
+
+defineClass(61, 6, $intern_8);
+var AUTO, HIDDEN_0, SCROLL, VISIBLE;
+var Lcom_google_gwt_dom_client_Style$Overflow_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow', 61, Ljava_lang_Enum_2_classLit, values_2);
+function Style$Overflow$1(){
+ Style$Overflow.call(this, 'VISIBLE', 0);
+}
+
+defineClass(384, 61, $intern_8, Style$Overflow$1);
+var Lcom_google_gwt_dom_client_Style$Overflow$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/1', 384, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$2(){
+ Style$Overflow.call(this, 'HIDDEN', 1);
+}
+
+defineClass(385, 61, $intern_8, Style$Overflow$2);
+var Lcom_google_gwt_dom_client_Style$Overflow$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/2', 385, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$3(){
+ Style$Overflow.call(this, 'SCROLL', 2);
+}
+
+defineClass(386, 61, $intern_8, Style$Overflow$3);
+var Lcom_google_gwt_dom_client_Style$Overflow$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/3', 386, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$4(){
+ Style$Overflow.call(this, 'AUTO', 3);
+}
+
+defineClass(387, 61, $intern_8, Style$Overflow$4);
+var Lcom_google_gwt_dom_client_Style$Overflow$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/4', 387, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function $clinit_Style$Position(){
+ $clinit_Style$Position = emptyMethod;
+ STATIC = new Style$Position$1;
+ RELATIVE = new Style$Position$2;
+ ABSOLUTE = new Style$Position$3;
+ FIXED = new Style$Position$4;
+}
+
+function Style$Position(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_3(){
+ $clinit_Style$Position();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Position_2_classLit, 1), $intern_5, 62, 0, [STATIC, RELATIVE, ABSOLUTE, FIXED]);
+}
+
+defineClass(62, 6, $intern_9);
+var ABSOLUTE, FIXED, RELATIVE, STATIC;
+var Lcom_google_gwt_dom_client_Style$Position_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position', 62, Ljava_lang_Enum_2_classLit, values_3);
+function Style$Position$1(){
+ Style$Position.call(this, 'STATIC', 0);
+}
+
+defineClass(388, 62, $intern_9, Style$Position$1);
+var Lcom_google_gwt_dom_client_Style$Position$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/1', 388, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$2(){
+ Style$Position.call(this, 'RELATIVE', 1);
+}
+
+defineClass(389, 62, $intern_9, Style$Position$2);
+var Lcom_google_gwt_dom_client_Style$Position$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/2', 389, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$3(){
+ Style$Position.call(this, 'ABSOLUTE', 2);
+}
+
+defineClass(390, 62, $intern_9, Style$Position$3);
+var Lcom_google_gwt_dom_client_Style$Position$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/3', 390, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$4(){
+ Style$Position.call(this, 'FIXED', 3);
+}
+
+defineClass(391, 62, $intern_9, Style$Position$4);
+var Lcom_google_gwt_dom_client_Style$Position$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/4', 391, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function $clinit_Style$TextAlign(){
+ $clinit_Style$TextAlign = emptyMethod;
+ CENTER = new Style$TextAlign$1;
+ JUSTIFY = new Style$TextAlign$2;
+ LEFT = new Style$TextAlign$3;
+ RIGHT = new Style$TextAlign$4;
+}
+
+function Style$TextAlign(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_4(){
+ $clinit_Style$TextAlign();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, 1), $intern_5, 63, 0, [CENTER, JUSTIFY, LEFT, RIGHT]);
+}
+
+defineClass(63, 6, $intern_10);
+var CENTER, JUSTIFY, LEFT, RIGHT;
+var Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign', 63, Ljava_lang_Enum_2_classLit, values_4);
+function Style$TextAlign$1(){
+ Style$TextAlign.call(this, 'CENTER', 0);
+}
+
+defineClass(392, 63, $intern_10, Style$TextAlign$1);
+var Lcom_google_gwt_dom_client_Style$TextAlign$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/1', 392, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$2(){
+ Style$TextAlign.call(this, 'JUSTIFY', 1);
+}
+
+defineClass(393, 63, $intern_10, Style$TextAlign$2);
+var Lcom_google_gwt_dom_client_Style$TextAlign$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/2', 393, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$3(){
+ Style$TextAlign.call(this, 'LEFT', 2);
+}
+
+defineClass(394, 63, $intern_10, Style$TextAlign$3);
+var Lcom_google_gwt_dom_client_Style$TextAlign$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/3', 394, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$4(){
+ Style$TextAlign.call(this, 'RIGHT', 3);
+}
+
+defineClass(395, 63, $intern_10, Style$TextAlign$4);
+var Lcom_google_gwt_dom_client_Style$TextAlign$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/4', 395, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function $clinit_Style$Unit(){
+ $clinit_Style$Unit = emptyMethod;
+ PX = new Style$Unit$1;
+ PCT = new Style$Unit$2;
+ EM = new Style$Unit$3;
+ EX = new Style$Unit$4;
+ PT = new Style$Unit$5;
+ PC = new Style$Unit$6;
+ IN = new Style$Unit$7;
+ CM = new Style$Unit$8;
+ MM = new Style$Unit$9;
+}
+
+function Style$Unit(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_5(){
+ $clinit_Style$Unit();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Unit_2_classLit, 1), $intern_5, 33, 0, [PX, PCT, EM, EX, PT, PC, IN, CM, MM]);
+}
+
+defineClass(33, 6, $intern_11);
+var CM, EM, EX, IN, MM, PC, PCT, PT, PX;
+var Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit', 33, Ljava_lang_Enum_2_classLit, values_5);
+function Style$Unit$1(){
+ Style$Unit.call(this, 'PX', 0);
+}
+
+defineClass(353, 33, $intern_11, Style$Unit$1);
+_.getType = function(){
+ return 'px';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/1', 353, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$2(){
+ Style$Unit.call(this, 'PCT', 1);
+}
+
+defineClass(354, 33, $intern_11, Style$Unit$2);
+_.getType = function(){
+ return '%';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/2', 354, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$3(){
+ Style$Unit.call(this, 'EM', 2);
+}
+
+defineClass(355, 33, $intern_11, Style$Unit$3);
+_.getType = function(){
+ return 'em';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/3', 355, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$4(){
+ Style$Unit.call(this, 'EX', 3);
+}
+
+defineClass(356, 33, $intern_11, Style$Unit$4);
+_.getType = function(){
+ return 'ex';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/4', 356, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$5(){
+ Style$Unit.call(this, 'PT', 4);
+}
+
+defineClass(357, 33, $intern_11, Style$Unit$5);
+_.getType = function(){
+ return 'pt';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/5', 357, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$6(){
+ Style$Unit.call(this, 'PC', 5);
+}
+
+defineClass(358, 33, $intern_11, Style$Unit$6);
+_.getType = function(){
+ return 'pc';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/6', 358, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$7(){
+ Style$Unit.call(this, 'IN', 6);
+}
+
+defineClass(359, 33, $intern_11, Style$Unit$7);
+_.getType = function(){
+ return 'in';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/7', 359, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$8(){
+ Style$Unit.call(this, 'CM', 7);
+}
+
+defineClass(360, 33, $intern_11, Style$Unit$8);
+_.getType = function(){
+ return 'cm';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/8', 360, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$9(){
+ Style$Unit.call(this, 'MM', 8);
+}
+
+defineClass(361, 33, $intern_11, Style$Unit$9);
+_.getType = function(){
+ return 'mm';
+}
+;
+var Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/9', 361, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function $clinit_Style$Visibility(){
+ $clinit_Style$Visibility = emptyMethod;
+ VISIBLE_0 = new Style$Visibility$1;
+ HIDDEN_1 = new Style$Visibility$2;
+}
+
+function Style$Visibility(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_6(){
+ $clinit_Style$Visibility();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, 1), $intern_5, 93, 0, [VISIBLE_0, HIDDEN_1]);
+}
+
+defineClass(93, 6, $intern_12);
+var HIDDEN_1, VISIBLE_0;
+var Lcom_google_gwt_dom_client_Style$Visibility_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility', 93, Ljava_lang_Enum_2_classLit, values_6);
+function Style$Visibility$1(){
+ Style$Visibility.call(this, 'VISIBLE', 0);
+}
+
+defineClass(396, 93, $intern_12, Style$Visibility$1);
+var Lcom_google_gwt_dom_client_Style$Visibility$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility/1', 396, Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, null);
+function Style$Visibility$2(){
+ Style$Visibility.call(this, 'HIDDEN', 1);
+}
+
+defineClass(397, 93, $intern_12, Style$Visibility$2);
+var Lcom_google_gwt_dom_client_Style$Visibility$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility/2', 397, Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, null);
+function $clinit_Style$WhiteSpace(){
+ $clinit_Style$WhiteSpace = emptyMethod;
+ NORMAL = new Style$WhiteSpace$1;
+ NOWRAP = new Style$WhiteSpace$2;
+ PRE = new Style$WhiteSpace$3;
+ PRE_LINE = new Style$WhiteSpace$4;
+ PRE_WRAP = new Style$WhiteSpace$5;
+}
+
+function Style$WhiteSpace(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_7(){
+ $clinit_Style$WhiteSpace();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, 1), $intern_5, 50, 0, [NORMAL, NOWRAP, PRE, PRE_LINE, PRE_WRAP]);
+}
+
+defineClass(50, 6, $intern_13);
+var NORMAL, NOWRAP, PRE, PRE_LINE, PRE_WRAP;
+var Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace', 50, Ljava_lang_Enum_2_classLit, values_7);
+function Style$WhiteSpace$1(){
+ Style$WhiteSpace.call(this, 'NORMAL', 0);
+}
+
+defineClass(398, 50, $intern_13, Style$WhiteSpace$1);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/1', 398, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$2(){
+ Style$WhiteSpace.call(this, 'NOWRAP', 1);
+}
+
+defineClass(399, 50, $intern_13, Style$WhiteSpace$2);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/2', 399, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$3(){
+ Style$WhiteSpace.call(this, 'PRE', 2);
+}
+
+defineClass(400, 50, $intern_13, Style$WhiteSpace$3);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/3', 400, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$4(){
+ Style$WhiteSpace.call(this, 'PRE_LINE', 3);
+}
+
+defineClass(401, 50, $intern_13, Style$WhiteSpace$4);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/4', 401, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$5(){
+ Style$WhiteSpace.call(this, 'PRE_WRAP', 4);
+}
+
+defineClass(402, 50, $intern_13, Style$WhiteSpace$5);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/5', 402, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function as_3(elem){
+ if (!(!!elem && ($equalsIgnoreCase(($clinit_DOMImpl() , elem).tagName, 'td') || $equalsIgnoreCase(elem.tagName, 'th')))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function as_4(elem){
+ if (!(!!elem && $equalsIgnoreCase('table', ($clinit_DOMImpl() , elem).tagName))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function as_5(elem){
+ if (!(!!elem && $equalsIgnoreCase('tr', ($clinit_DOMImpl() , elem).tagName))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function as_6(elem){
+ if (!(!!elem && ($equalsIgnoreCase(($clinit_DOMImpl() , elem).tagName, 'thead') || $equalsIgnoreCase(elem.tagName, 'tfoot') || $equalsIgnoreCase(elem.tagName, 'tbody')))) {
+ debugger;
+ throw new AssertionError;
+ }
+ return elem;
+}
+
+function $getClientX(this$static){
+ return toInt32(($clinit_DOMImpl() , this$static).clientX || 0);
+}
+
+function $getClientY(this$static){
+ return toInt32(($clinit_DOMImpl() , this$static).clientY || 0);
+}
+
+defineClass(568, 1, {});
+_.toString$ = function(){
+ return 'An event type';
+}
+;
+var Lcom_google_web_bindery_event_shared_Event_2_classLit = createForClass('com.google.web.bindery.event.shared', 'Event', 568, Ljava_lang_Object_2_classLit);
+function $assertLive(this$static){
+ if (this$static.dead) {
+ debugger;
+ throw new AssertionError_0('This event has already finished being processed by its original handler manager, so you can no longer access it');
+ }
+}
+
+function $overrideSource(this$static, source){
+ this$static.source_0 = source;
+}
+
+defineClass(569, 568, {});
+_.getSource = function(){
+ $assertLive(this);
+ return this.source_0;
+}
+;
+_.revive = function(){
+ this.dead = false;
+ this.source_0 = null;
+}
+;
+_.dead = false;
+var Lcom_google_gwt_event_shared_GwtEvent_2_classLit = createForClass('com.google.gwt.event.shared', 'GwtEvent', 569, Lcom_google_web_bindery_event_shared_Event_2_classLit);
+function $setNativeEvent(this$static, nativeEvent){
+ this$static.nativeEvent = nativeEvent;
+}
+
+function $setRelativeElement(this$static, relativeElem){
+ this$static.relativeElem = relativeElem;
+}
+
+function fireNativeEvent(nativeEvent, handlerSource, relativeElem){
+ var currentNative, currentRelativeElem, type_0, type$iterator, types;
+ if (!nativeEvent) {
+ debugger;
+ throw new AssertionError_0('nativeEvent must not be null');
+ }
+ if (registered) {
+ types = dynamicCast($unsafeGet(registered, ($clinit_DOMImpl() , nativeEvent).type), 32);
+ if (types) {
+ for (type$iterator = types.iterator(); type$iterator.hasNext();) {
+ type_0 = dynamicCast(type$iterator.next_0(), 101);
+ currentNative = type_0.flyweight.nativeEvent;
+ currentRelativeElem = type_0.flyweight.relativeElem;
+ $setNativeEvent(type_0.flyweight, nativeEvent);
+ $setRelativeElement(type_0.flyweight, relativeElem);
+ $fireEvent_0(handlerSource, type_0.flyweight);
+ $setNativeEvent(type_0.flyweight, currentNative);
+ $setRelativeElement(type_0.flyweight, currentRelativeElem);
+ }
+ }
+ }
+}
+
+defineClass(572, 569, {});
+_.getAssociatedType = function(){
+ return this.getAssociatedType_0();
+}
+;
+var registered;
+var Lcom_google_gwt_event_dom_client_DomEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'DomEvent', 572, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+defineClass(574, 572, {});
+var Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'HumanInputEvent', 574, Lcom_google_gwt_event_dom_client_DomEvent_2_classLit);
+defineClass(575, 574, {});
+var Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'MouseEvent', 575, Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit);
+function $clinit_ClickEvent(){
+ $clinit_ClickEvent = emptyMethod;
+ TYPE = new DomEvent$Type('click', new ClickEvent);
+}
+
+function ClickEvent(){
+}
+
+defineClass(472, 575, {}, ClickEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 199).onClick(this);
+}
+;
+_.getAssociatedType_0 = function(){
+ return TYPE;
+}
+;
+var TYPE;
+var Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'ClickEvent', 472, Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit);
+defineClass(214, 1, {});
+_.hashCode$ = function(){
+ return this.index_0;
+}
+;
+_.toString$ = function(){
+ return 'Event type';
+}
+;
+_.index_0 = 0;
+var nextHashCode = 0;
+var Lcom_google_web_bindery_event_shared_Event$Type_2_classLit = createForClass('com.google.web.bindery.event.shared', 'Event/Type', 214, Ljava_lang_Object_2_classLit);
+function GwtEvent$Type(){
+ this.index_0 = ++nextHashCode;
+}
+
+defineClass(36, 214, {}, GwtEvent$Type);
+var Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit = createForClass('com.google.gwt.event.shared', 'GwtEvent/Type', 36, Lcom_google_web_bindery_event_shared_Event$Type_2_classLit);
+function DomEvent$Type(eventName, flyweight){
+ var types;
+ GwtEvent$Type.call(this);
+ this.flyweight = flyweight;
+ !registered && (registered = new PrivateMap);
+ types = dynamicCast($unsafeGet(registered, eventName), 32);
+ if (!types) {
+ types = new ArrayList;
+ $unsafePut(registered, eventName, types);
+ }
+ types.add_1(this);
+ this.name_0 = eventName;
+}
+
+defineClass(101, 36, {101:1}, DomEvent$Type);
+var Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit = createForClass('com.google.gwt.event.dom.client', 'DomEvent/Type', 101, Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit);
+defineClass(573, 572, {});
+var Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'KeyEvent', 573, Lcom_google_gwt_event_dom_client_DomEvent_2_classLit);
+function $unsafeGet(this$static, key){
+ return this$static.map_0[key];
+}
+
+function $unsafePut(this$static, key, value_0){
+ this$static.map_0[key] = value_0;
+}
+
+function PrivateMap(){
+ this.map_0 = {};
+}
+
+defineClass(454, 1, {}, PrivateMap);
+var Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit = createForClass('com.google.gwt.event.dom.client', 'PrivateMap', 454, Ljava_lang_Object_2_classLit);
+function AttachEvent(){
+}
+
+function fire(source){
+ var event_0;
+ if (TYPE_0) {
+ event_0 = new AttachEvent;
+ !!source.handlerManager && $fireEvent(source.handlerManager, event_0);
+ }
+}
+
+defineClass(213, 569, {}, AttachEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 197).onAttachOrDetach_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_0;
+}
+;
+var TYPE_0;
+var Lcom_google_gwt_event_logical_shared_AttachEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'AttachEvent', 213, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function CloseEvent_0(){
+}
+
+function fire_0(source){
+ var event_0;
+ if (TYPE_1) {
+ event_0 = new CloseEvent_0;
+ source.fireEvent(event_0);
+ }
+}
+
+defineClass(497, 569, {}, CloseEvent_0);
+_.dispatch = function(handler){
+ dynamicCast(handler, 202).onClose(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_1;
+}
+;
+var TYPE_1;
+var Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'CloseEvent', 497, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ResizeEvent(){
+}
+
+function fire_1(source){
+ var event_0;
+ if (TYPE_2) {
+ event_0 = new ResizeEvent;
+ $fireEvent(source, event_0);
+ }
+}
+
+defineClass(522, 569, {}, ResizeEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 603);
+ $onResize();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_2;
+}
+;
+var TYPE_2;
+var Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'ResizeEvent', 522, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ValueChangeEvent(value_0){
+ this.value_0 = value_0;
+}
+
+function fire_2(source, value_0){
+ var event_0;
+ if (TYPE_3) {
+ event_0 = new ValueChangeEvent(value_0);
+ source.fireEvent(event_0);
+ }
+}
+
+defineClass(250, 569, {}, ValueChangeEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 149).onValueChange_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_3;
+}
+;
+var TYPE_3;
+var Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'ValueChangeEvent', 250, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $addHandler(this$static, type_0, handler){
+ return new LegacyHandlerWrapper($doAdd(this$static.eventBus, type_0, handler));
+}
+
+function $fireEvent(this$static, event_0){
+ var e, oldSource;
+ !event_0.dead || event_0.revive();
+ oldSource = event_0.getSource();
+ $overrideSource(event_0, this$static.source_0);
+ try {
+ $doFire(this$static.eventBus, event_0);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 94)) {
+ e = $e0;
+ throw new UmbrellaException_0(e.causes);
+ }
+ else
+ throw unwrap($e0);
+ }
+ finally {
+ oldSource == null?(event_0.dead = true , event_0.source_0 = null):(event_0.source_0 = oldSource);
+ }
+}
+
+function $isEventHandled(this$static, e){
+ return $isEventHandled_0(this$static.eventBus, e);
+}
+
+function HandlerManager(source){
+ HandlerManager_0.call(this, source, false);
+}
+
+function HandlerManager_0(source, fireInReverseOrder){
+ this.eventBus = new HandlerManager$Bus(fireInReverseOrder);
+ this.source_0 = source;
+}
+
+defineClass(60, 1, {25:1}, HandlerManager, HandlerManager_0);
+_.fireEvent = function(event_0){
+ $fireEvent(this, event_0);
+}
+;
+var Lcom_google_gwt_event_shared_HandlerManager_2_classLit = createForClass('com.google.gwt.event.shared', 'HandlerManager', 60, Ljava_lang_Object_2_classLit);
+defineClass(582, 1, {});
+var Lcom_google_web_bindery_event_shared_EventBus_2_classLit = createForClass('com.google.web.bindery.event.shared', 'EventBus', 582, Ljava_lang_Object_2_classLit);
+function $defer(this$static, command){
+ !this$static.deferredDeltas && (this$static.deferredDeltas = new ArrayList);
+ $add_6(this$static.deferredDeltas, command);
+}
+
+function $doAdd(this$static, type_0, handler){
+ if (!type_0) {
+ throw new NullPointerException_0('Cannot add a handler with a null type');
+ }
+ if (!handler) {
+ throw new NullPointerException_0('Cannot add a null handler');
+ }
+ this$static.firingDepth > 0?$defer(this$static, new SimpleEventBus$2(this$static, type_0, handler)):$doAddNow(this$static, type_0, null, handler);
+ return new SimpleEventBus$1(this$static, type_0, handler);
+}
+
+function $doAddNow(this$static, type_0, source, handler){
+ var l;
+ l = $ensureHandlerList(this$static, type_0, source);
+ l.add_1(handler);
+}
+
+function $doFire(this$static, event_0){
+ var causes, e, handler, handlers, it;
+ if (!event_0) {
+ throw new NullPointerException_0('Cannot fire null event');
+ }
+ try {
+ ++this$static.firingDepth;
+ handlers = $getDispatchList(this$static, event_0.getAssociatedType());
+ causes = null;
+ it = this$static.isReverseOrder?handlers.listIterator_0(handlers.size_2()):handlers.listIterator();
+ while (this$static.isReverseOrder?it.hasPrevious():it.hasNext()) {
+ handler = this$static.isReverseOrder?it.previous():it.next_0();
+ try {
+ event_0.dispatch(dynamicCast(handler, 22));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ !causes && (causes = new HashSet);
+ $add_7(causes, e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ if (causes) {
+ throw new UmbrellaException(causes);
+ }
+ }
+ finally {
+ --this$static.firingDepth;
+ this$static.firingDepth == 0 && $handleQueuedAddsAndRemoves(this$static);
+ }
+}
+
+function $doRemoveNow(this$static, type_0, source, handler){
+ var l, removed;
+ l = $getHandlerList(this$static, type_0, source);
+ removed = l.remove_1(handler);
+ removed && l.isEmpty() && $prune(this$static, type_0, source);
+}
+
+function $ensureHandlerList(this$static, type_0, source){
+ var handlers, sourceMap;
+ sourceMap = dynamicCast(this$static.map_0.get_0(type_0), 77);
+ if (!sourceMap) {
+ sourceMap = new HashMap;
+ this$static.map_0.put(type_0, sourceMap);
+ }
+ handlers = dynamicCast(sourceMap.get_0(source), 32);
+ if (!handlers) {
+ handlers = new ArrayList;
+ sourceMap.put(source, handlers);
+ }
+ return handlers;
+}
+
+function $getDispatchList(this$static, type_0){
+ var directHandlers;
+ directHandlers = $getHandlerList(this$static, type_0, null);
+ return directHandlers;
+}
+
+function $getHandlerList(this$static, type_0, source){
+ var handlers, sourceMap;
+ sourceMap = dynamicCast(this$static.map_0.get_0(type_0), 77);
+ if (!sourceMap) {
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_LIST;
+ }
+ handlers = dynamicCast(sourceMap.get_0(source), 32);
+ if (!handlers) {
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_LIST;
+ }
+ return handlers;
+}
+
+function $handleQueuedAddsAndRemoves(this$static){
+ var c, c$iterator;
+ if (this$static.deferredDeltas) {
+ try {
+ for (c$iterator = new AbstractList$IteratorImpl(this$static.deferredDeltas); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , dynamicCast(c$iterator.this$01_0.get_1(c$iterator.last = c$iterator.i++), 552));
+ c.execute_1();
+ }
+ }
+ finally {
+ this$static.deferredDeltas = null;
+ }
+ }
+}
+
+function $isEventHandled_0(this$static, eventKey){
+ return this$static.map_0.containsKey(eventKey);
+}
+
+function $prune(this$static, type_0, source){
+ var pruned, sourceMap;
+ sourceMap = dynamicCast(this$static.map_0.get_0(type_0), 77);
+ pruned = dynamicCast(sourceMap.remove_2(source), 32);
+ if (!pruned) {
+ debugger;
+ throw new AssertionError_0("Can't prune what wasn't there");
+ }
+ if (!pruned.isEmpty()) {
+ debugger;
+ throw new AssertionError_0('Pruned unempty list!');
+ }
+ sourceMap.isEmpty() && this$static.map_0.remove_2(type_0);
+}
+
+defineClass(331, 582, {});
+_.firingDepth = 0;
+_.isReverseOrder = false;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus', 331, Lcom_google_web_bindery_event_shared_EventBus_2_classLit);
+function $doRemove(this$static, type_0, source, handler){
+ this$static.firingDepth > 0?$defer(this$static, new SimpleEventBus$3(this$static, type_0, source, handler)):$doRemoveNow(this$static, type_0, source, handler);
+}
+
+function HandlerManager$Bus(fireInReverseOrder){
+ this.map_0 = new HashMap;
+ this.isReverseOrder = fireInReverseOrder;
+}
+
+defineClass(332, 331, {}, HandlerManager$Bus);
+var Lcom_google_gwt_event_shared_HandlerManager$Bus_2_classLit = createForClass('com.google.gwt.event.shared', 'HandlerManager/Bus', 332, Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit);
+function LegacyHandlerWrapper(real){
+ this.real = real;
+}
+
+defineClass(448, 1, {}, LegacyHandlerWrapper);
+var Lcom_google_gwt_event_shared_LegacyHandlerWrapper_2_classLit = createForClass('com.google.gwt.event.shared', 'LegacyHandlerWrapper', 448, Ljava_lang_Object_2_classLit);
+function UmbrellaException(causes){
+ RuntimeException_1.call(this, makeMessage(causes), makeCause(causes));
+ this.causes = causes;
+}
+
+function makeCause(causes){
+ var iterator;
+ iterator = causes.iterator();
+ if (!iterator.hasNext()) {
+ return null;
+ }
+ return dynamicCast(iterator.next_0(), 13);
+}
+
+function makeMessage(causes){
+ var b, count, first, t, t$iterator;
+ count = causes.size_2();
+ if (count == 0) {
+ return null;
+ }
+ b = new StringBuilder_1(count == 1?'Exception caught: ':count + ' exceptions caught: ');
+ first = true;
+ for (t$iterator = causes.iterator(); t$iterator.hasNext();) {
+ t = dynamicCast(t$iterator.next_0(), 13);
+ first?(first = false):(b.string += '; ' , b);
+ $append_0(b, t.getMessage());
+ }
+ return b.string;
+}
+
+defineClass(94, 11, $intern_14, UmbrellaException);
+var Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit = createForClass('com.google.web.bindery.event.shared', 'UmbrellaException', 94, Ljava_lang_RuntimeException_2_classLit);
+function UmbrellaException_0(causes){
+ UmbrellaException.call(this, causes);
+}
+
+defineClass(182, 94, $intern_14, UmbrellaException_0);
+var Lcom_google_gwt_event_shared_UmbrellaException_2_classLit = createForClass('com.google.gwt.event.shared', 'UmbrellaException', 182, Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit);
+function $cancel_1(this$static){
+ var xhr;
+ if (!this$static.xmlHttpRequest) {
+ return;
+ }
+ $cancel_0(this$static.timer);
+ xhr = this$static.xmlHttpRequest;
+ this$static.xmlHttpRequest = null;
+ $clearOnReadyStateChange(xhr);
+ xhr.abort();
+}
+
+function $fireOnTimeout(this$static){
+ if (!this$static.xmlHttpRequest) {
+ return;
+ }
+ $cancel_1(this$static);
+ $onError(this$static.callback, this$static, new RequestTimeoutException(this$static.timeoutMillis));
+}
+
+function Request(xmlHttpRequest, timeoutMillis, callback){
+ this.timer = new Request$1(this);
+ if (!xmlHttpRequest) {
+ throw new NullPointerException;
+ }
+ if (!callback) {
+ throw new NullPointerException;
+ }
+ if (timeoutMillis < 0) {
+ throw new IllegalArgumentException;
+ }
+ this.callback = callback;
+ this.timeoutMillis = timeoutMillis;
+ this.xmlHttpRequest = xmlHttpRequest;
+ timeoutMillis > 0 && $schedule(this.timer, timeoutMillis);
+}
+
+defineClass(140, 1, {140:1}, Request);
+_.fireOnResponseReceived = function(callback){
+ var response, xhr;
+ if (!this.xmlHttpRequest) {
+ return;
+ }
+ $cancel_0(this.timer);
+ xhr = this.xmlHttpRequest;
+ this.xmlHttpRequest = null;
+ response = new ResponseImpl(xhr);
+ $onResponseReceived(callback, this, response);
+}
+;
+_.timeoutMillis = 0;
+var Lcom_google_gwt_http_client_Request_2_classLit = createForClass('com.google.gwt.http.client', 'Request', 140, Ljava_lang_Object_2_classLit);
+function Request$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(525, 46, {}, Request$1);
+_.run = function(){
+ $fireOnTimeout(this.this$01);
+}
+;
+var Lcom_google_gwt_http_client_Request$1_2_classLit = createForClass('com.google.gwt.http.client', 'Request/1', 525, Lcom_google_gwt_user_client_Timer_2_classLit);
+function RequestException(message){
+ Exception.call(this, message);
+}
+
+defineClass(118, 9, $intern_2, RequestException);
+var Lcom_google_gwt_http_client_RequestException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestException', 118, Ljava_lang_Exception_2_classLit);
+function RequestPermissionException(url_0){
+ RequestException.call(this, 'The URL ' + url_0 + ' is invalid or violates the same-origin security restriction');
+}
+
+defineClass(539, 118, $intern_2, RequestPermissionException);
+var Lcom_google_gwt_http_client_RequestPermissionException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestPermissionException', 539, Lcom_google_gwt_http_client_RequestException_2_classLit);
+function RequestTimeoutException(timeoutMillis){
+ RequestException.call(this, 'A request timeout has expired after ' + timeoutMillis + ' ms');
+}
+
+defineClass(544, 118, $intern_2, RequestTimeoutException);
+var Lcom_google_gwt_http_client_RequestTimeoutException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestTimeoutException', 544, Lcom_google_gwt_http_client_RequestException_2_classLit);
+defineClass(148, 1, {148:1});
+var Lcom_google_gwt_http_client_Response_2_classLit = createForClass('com.google.gwt.http.client', 'Response', 148, Ljava_lang_Object_2_classLit);
+function ResponseImpl(xmlHttpRequest){
+ this.xmlHttpRequest = xmlHttpRequest;
+ if (this.xmlHttpRequest.readyState != 4) {
+ debugger;
+ throw new AssertionError;
+ }
+}
+
+defineClass(526, 148, {148:1}, ResponseImpl);
+var Lcom_google_gwt_http_client_ResponseImpl_2_classLit = createForClass('com.google.gwt.http.client', 'ResponseImpl', 526, Lcom_google_gwt_http_client_Response_2_classLit);
+function throwIfNull(value_0){
+ if (null == value_0) {
+ throw new NullPointerException_0('encodedURLComponent cannot be null');
+ }
+}
+
+function getDirectionOnElement(elem){
+ var dirPropertyValue;
+ dirPropertyValue = $getPropertyString(elem, 'dir');
+ if ($equalsIgnoreCase('rtl', dirPropertyValue)) {
+ return $clinit_HasDirection$Direction() , RTL;
+ }
+ else if ($equalsIgnoreCase('ltr', dirPropertyValue)) {
+ return $clinit_HasDirection$Direction() , LTR;
+ }
+ return $clinit_HasDirection$Direction() , DEFAULT;
+}
+
+function setDirectionOnElement(elem, direction){
+ switch (direction.ordinal) {
+ case 0:
+ {
+ $setPropertyString(elem, 'dir', 'rtl');
+ break;
+ }
+
+ case 1:
+ {
+ $setPropertyString(elem, 'dir', 'ltr');
+ break;
+ }
+
+ case 2:
+ {
+ getDirectionOnElement(elem) != ($clinit_HasDirection$Direction() , DEFAULT) && $setPropertyString(elem, 'dir', '');
+ break;
+ }
+
+ }
+}
+
+function $clinit_HasDirection$Direction(){
+ $clinit_HasDirection$Direction = emptyMethod;
+ RTL = new HasDirection$Direction('RTL', 0);
+ LTR = new HasDirection$Direction('LTR', 1);
+ DEFAULT = new HasDirection$Direction('DEFAULT', 2);
+}
+
+function HasDirection$Direction(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_8(){
+ $clinit_HasDirection$Direction();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit, 1), $intern_5, 106, 0, [RTL, LTR, DEFAULT]);
+}
+
+defineClass(106, 6, {106:1, 3:1, 7:1, 6:1}, HasDirection$Direction);
+var DEFAULT, LTR, RTL;
+var Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit = createForEnum('com.google.gwt.i18n.client', 'HasDirection/Direction', 106, Ljava_lang_Enum_2_classLit, values_8);
+function $clinit_LocaleInfo(){
+ $clinit_LocaleInfo = emptyMethod;
+ instance_0 = new LocaleInfo;
+}
+
+function $getNumberConstants(this$static){
+ !this$static.numberConstants && (this$static.numberConstants = new NumberConstantsImpl_);
+ return this$static.numberConstants;
+}
+
+function LocaleInfo(){
+}
+
+defineClass(336, 1, {}, LocaleInfo);
+var instance_0;
+var Lcom_google_gwt_i18n_client_LocaleInfo_2_classLit = createForClass('com.google.gwt.i18n.client', 'LocaleInfo', 336, Ljava_lang_Object_2_classLit);
+function $clinit_NumberFormat(){
+ $clinit_NumberFormat = emptyMethod;
+ $getNumberConstants(($clinit_LocaleInfo() , $clinit_LocaleInfo() , instance_0));
+}
+
+function $addExponent(this$static, digits){
+ var exponentDigits, i_0;
+ digits.string += 'E';
+ if (this$static.exponent < 0) {
+ this$static.exponent = -this$static.exponent;
+ digits.string += '-';
+ }
+ exponentDigits = '' + this$static.exponent;
+ for (i_0 = exponentDigits.length; i_0 < this$static.minExponentDigits; ++i_0) {
+ digits.string += '0';
+ }
+ digits.string += exponentDigits;
+}
+
+function $addZeroAndDecimal(this$static, digits){
+ if (this$static.digitsLength == 0) {
+ digits.string = digits.string.substr(0, 0) + '0' + $substring(digits.string, 0);
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ if (this$static.decimalPosition < this$static.digitsLength || this$static.decimalSeparatorAlwaysShown) {
+ $insert_0(digits, this$static.decimalPosition, '.');
+ ++this$static.digitsLength;
+ }
+}
+
+function $adjustFractionDigits(this$static, digits){
+ var requiredDigits, toRemove;
+ requiredDigits = this$static.decimalPosition + this$static.minimumFractionDigits;
+ if (this$static.digitsLength < requiredDigits) {
+ while (this$static.digitsLength < requiredDigits) {
+ digits.string += '0';
+ ++this$static.digitsLength;
+ }
+ }
+ else {
+ toRemove = this$static.decimalPosition + this$static.maximumFractionDigits;
+ toRemove > this$static.digitsLength && (toRemove = this$static.digitsLength);
+ while (toRemove > requiredDigits && $charAt_0(digits.string, toRemove - 1) == 48) {
+ --toRemove;
+ }
+ if (toRemove < this$static.digitsLength) {
+ $delete_0(digits, toRemove, this$static.digitsLength);
+ this$static.digitsLength = toRemove;
+ }
+ }
+}
+
+function $computeExponent(this$static, digits){
+ var remainder, strip;
+ strip = 0;
+ while (strip < this$static.digitsLength - 1 && $charAt_0(digits.string, strip) == 48) {
+ ++strip;
+ }
+ if (strip > 0) {
+ digits.string = digits.string.substr(0, 0) + '' + $substring(digits.string, strip);
+ this$static.digitsLength -= strip;
+ this$static.exponent -= strip;
+ }
+ if (this$static.maximumIntegerDigits > this$static.minimumIntegerDigits && this$static.maximumIntegerDigits > 0) {
+ this$static.exponent += this$static.decimalPosition - 1;
+ remainder = this$static.exponent % this$static.maximumIntegerDigits;
+ remainder < 0 && (remainder += this$static.maximumIntegerDigits);
+ this$static.decimalPosition = remainder + 1;
+ this$static.exponent -= remainder;
+ }
+ else {
+ this$static.exponent += this$static.decimalPosition - this$static.minimumIntegerDigits;
+ this$static.decimalPosition = this$static.minimumIntegerDigits;
+ }
+ if (this$static.digitsLength == 1 && digits.string.charCodeAt(0) == 48) {
+ this$static.exponent = 0;
+ this$static.decimalPosition = this$static.minimumIntegerDigits;
+ }
+}
+
+function $format(this$static, number){
+ var buf, isNegative, preRound, scale, useExponent, currentGroupingSize;
+ if (isNaN(number)) {
+ return 'NaN';
+ }
+ isNegative = number < 0 || number == 0 && 1 / number < 0;
+ isNegative && (number = -number);
+ buf = new StringBuilder;
+ if (isInfinite(number)) {
+ $append_0(buf, isNegative?this$static.negativePrefix:this$static.positivePrefix);
+ buf.string += '\u221E';
+ $append_0(buf, isNegative?this$static.negativeSuffix:this$static.positiveSuffix);
+ return buf.string;
+ }
+ number *= this$static.multiplier;
+ scale = toScaledString(buf, number);
+ preRound = buf.string.length + scale + this$static.maximumFractionDigits + 3;
+ if (preRound > 0 && preRound < buf.string.length && $charAt_0(buf.string, preRound) == 57) {
+ $propagateCarry(this$static, buf, preRound - 1);
+ scale += buf.string.length - preRound;
+ $delete_0(buf, preRound, buf.string.length);
+ }
+ this$static.exponent = 0;
+ this$static.digitsLength = buf.string.length;
+ this$static.decimalPosition = this$static.digitsLength + scale;
+ useExponent = this$static.useExponentialNotation;
+ currentGroupingSize = this$static.groupingSize;
+ this$static.decimalPosition > 1024 && (useExponent = true);
+ useExponent && $computeExponent(this$static, buf);
+ $processLeadingZeros(this$static, buf);
+ $roundValue(this$static, buf);
+ $insertGroupingSeparators(this$static, buf, currentGroupingSize);
+ $adjustFractionDigits(this$static, buf);
+ $addZeroAndDecimal(this$static, buf);
+ useExponent && $addExponent(this$static, buf);
+ $insert_0(buf, 0, isNegative?this$static.negativePrefix:this$static.positivePrefix);
+ $append_0(buf, isNegative?this$static.negativeSuffix:this$static.positiveSuffix);
+ return buf.string;
+}
+
+function $insertGroupingSeparators(this$static, digits, g){
+ var i_0;
+ if (g > 0) {
+ for (i_0 = g; i_0 < this$static.decimalPosition; i_0 += g + 1) {
+ $insert_0(digits, this$static.decimalPosition - i_0, ',');
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ }
+}
+
+function $parseAffix(this$static, pattern, start_0, affix, inNegativePattern){
+ var ch_0, inQuote, len, pos;
+ $delete_0(affix, 0, affix.string.length);
+ inQuote = false;
+ len = pattern.length;
+ for (pos = start_0; pos < len; ++pos) {
+ ch_0 = pattern.charCodeAt(pos);
+ if (ch_0 == 39) {
+ if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 39) {
+ ++pos;
+ affix.string += "'";
+ }
+ else {
+ inQuote = !inQuote;
+ }
+ continue;
+ }
+ if (inQuote) {
+ affix.string += charToString(ch_0);
+ }
+ else {
+ switch (ch_0) {
+ case 35:
+ case 48:
+ case 44:
+ case 46:
+ case 59:
+ return pos - start_0;
+ case 164:
+ this$static.isCurrencyFormat = true;
+ if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 164) {
+ ++pos;
+ if (pos < len - 2 && pattern.charCodeAt(pos + 1) == 164 && pattern.charCodeAt(pos + 2) == 164) {
+ pos += 2;
+ $append_0(affix, $getSimpleCurrencySymbol(this$static.currencyData));
+ }
+ else {
+ $append_0(affix, this$static.currencyData[0]);
+ }
+ }
+ else {
+ $append_0(affix, this$static.currencyData[1]);
+ }
+
+ break;
+ case 37:
+ if (!inNegativePattern) {
+ if (this$static.multiplier != 1) {
+ throw new IllegalArgumentException_0('Too many percent/per mille characters in pattern "' + pattern + '"');
+ }
+ this$static.multiplier = 100;
+ }
+
+ affix.string += '%';
+ break;
+ case 8240:
+ if (!inNegativePattern) {
+ if (this$static.multiplier != 1) {
+ throw new IllegalArgumentException_0('Too many percent/per mille characters in pattern "' + pattern + '"');
+ }
+ this$static.multiplier = 1000;
+ }
+
+ affix.string += '\u2030';
+ break;
+ case 45:
+ affix.string += '-';
+ break;
+ default:affix.string += charToString(ch_0);
+ }
+ }
+ }
+ return len - start_0;
+}
+
+function $parsePattern(this$static, pattern){
+ var affix, pos;
+ pos = 0;
+ affix = new StringBuilder;
+ pos += $parseAffix(this$static, pattern, 0, affix, false);
+ this$static.positivePrefix = affix.string;
+ pos += $parseTrunk(this$static, pattern, pos, false);
+ pos += $parseAffix(this$static, pattern, pos, affix, false);
+ this$static.positiveSuffix = affix.string;
+ if (pos < pattern.length && pattern.charCodeAt(pos) == 59) {
+ ++pos;
+ pos += $parseAffix(this$static, pattern, pos, affix, true);
+ this$static.negativePrefix = affix.string;
+ pos += $parseTrunk(this$static, pattern, pos, true);
+ pos += $parseAffix(this$static, pattern, pos, affix, true);
+ this$static.negativeSuffix = affix.string;
+ }
+ else {
+ this$static.negativePrefix = '-' + this$static.positivePrefix;
+ this$static.negativeSuffix = this$static.positiveSuffix;
+ }
+}
+
+function $parseTrunk(this$static, pattern, start_0, ignorePattern){
+ var ch_0, decimalPos, digitLeftCount, digitRightCount, effectiveDecimalPos, groupingCount, len, loop, n, pos, totalDigits, zeroDigitCount;
+ decimalPos = -1;
+ digitLeftCount = 0;
+ zeroDigitCount = 0;
+ digitRightCount = 0;
+ groupingCount = -1;
+ len = pattern.length;
+ pos = start_0;
+ loop = true;
+ for (; pos < len && loop; ++pos) {
+ ch_0 = pattern.charCodeAt(pos);
+ switch (ch_0) {
+ case 35:
+ zeroDigitCount > 0?++digitRightCount:++digitLeftCount;
+ groupingCount >= 0 && decimalPos < 0 && ++groupingCount;
+ break;
+ case 48:
+ if (digitRightCount > 0) {
+ throw new IllegalArgumentException_0("Unexpected '0' in pattern \"" + pattern + '"');
+ }
+
+ ++zeroDigitCount;
+ groupingCount >= 0 && decimalPos < 0 && ++groupingCount;
+ break;
+ case 44:
+ groupingCount = 0;
+ break;
+ case 46:
+ if (decimalPos >= 0) {
+ throw new IllegalArgumentException_0('Multiple decimal separators in pattern "' + pattern + '"');
+ }
+
+ decimalPos = digitLeftCount + zeroDigitCount + digitRightCount;
+ break;
+ case 69:
+ if (!ignorePattern) {
+ if (this$static.useExponentialNotation) {
+ throw new IllegalArgumentException_0('Multiple exponential symbols in pattern "' + pattern + '"');
+ }
+ this$static.useExponentialNotation = true;
+ this$static.minExponentDigits = 0;
+ }
+
+ while (pos + 1 < len && pattern.charCodeAt(pos + 1) == 48) {
+ ++pos;
+ ignorePattern || ++this$static.minExponentDigits;
+ }
+
+ if (!ignorePattern && digitLeftCount + zeroDigitCount < 1 || this$static.minExponentDigits < 1) {
+ throw new IllegalArgumentException_0('Malformed exponential pattern "' + pattern + '"');
+ }
+
+ loop = false;
+ break;
+ default:--pos;
+ loop = false;
+ }
+ }
+ if (zeroDigitCount == 0 && digitLeftCount > 0 && decimalPos >= 0) {
+ n = decimalPos;
+ decimalPos == 0 && ++n;
+ digitRightCount = digitLeftCount - n;
+ digitLeftCount = n - 1;
+ zeroDigitCount = 1;
+ }
+ if (decimalPos < 0 && digitRightCount > 0 || decimalPos >= 0 && (decimalPos < digitLeftCount || decimalPos > digitLeftCount + zeroDigitCount) || groupingCount == 0) {
+ throw new IllegalArgumentException_0('Malformed pattern "' + pattern + '"');
+ }
+ if (ignorePattern) {
+ return pos - start_0;
+ }
+ totalDigits = digitLeftCount + zeroDigitCount + digitRightCount;
+ this$static.maximumFractionDigits = decimalPos >= 0?totalDigits - decimalPos:0;
+ if (decimalPos >= 0) {
+ this$static.minimumFractionDigits = digitLeftCount + zeroDigitCount - decimalPos;
+ this$static.minimumFractionDigits < 0 && (this$static.minimumFractionDigits = 0);
+ }
+ effectiveDecimalPos = decimalPos >= 0?decimalPos:totalDigits;
+ this$static.minimumIntegerDigits = effectiveDecimalPos - digitLeftCount;
+ if (this$static.useExponentialNotation) {
+ this$static.maximumIntegerDigits = digitLeftCount + this$static.minimumIntegerDigits;
+ this$static.maximumFractionDigits == 0 && this$static.minimumIntegerDigits == 0 && (this$static.minimumIntegerDigits = 1);
+ }
+ this$static.groupingSize = groupingCount > 0?groupingCount:0;
+ this$static.decimalSeparatorAlwaysShown = decimalPos == 0 || decimalPos == totalDigits;
+ return pos - start_0;
+}
+
+function $processLeadingZeros(this$static, digits){
+ var i_0, prefix, strip;
+ if (this$static.decimalPosition > this$static.digitsLength) {
+ while (this$static.digitsLength < this$static.decimalPosition) {
+ digits.string += '0';
+ ++this$static.digitsLength;
+ }
+ }
+ if (!this$static.useExponentialNotation) {
+ if (this$static.decimalPosition < this$static.minimumIntegerDigits) {
+ prefix = new StringBuilder;
+ while (this$static.decimalPosition < this$static.minimumIntegerDigits) {
+ prefix.string += '0';
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ $insert_0(digits, 0, prefix.toString$());
+ }
+ else if (this$static.decimalPosition > this$static.minimumIntegerDigits) {
+ strip = this$static.decimalPosition - this$static.minimumIntegerDigits;
+ for (i_0 = 0; i_0 < strip; ++i_0) {
+ if ($charAt_0(digits.string, i_0) != 48) {
+ strip = i_0;
+ break;
+ }
+ }
+ if (strip > 0) {
+ digits.string = digits.string.substr(0, 0) + '' + $substring(digits.string, strip);
+ this$static.digitsLength -= strip;
+ this$static.decimalPosition -= strip;
+ }
+ }
+ }
+}
+
+function $propagateCarry(this$static, digits, i_0){
+ var carry, digit;
+ carry = true;
+ while (carry && i_0 >= 0) {
+ digit = $charAt_0(digits.string, i_0);
+ if (digit == 57) {
+ $setCharAt(digits, i_0--, 48);
+ }
+ else {
+ $setCharAt(digits, i_0, digit + 1 & $intern_4);
+ carry = false;
+ }
+ }
+ if (carry) {
+ digits.string = digits.string.substr(0, 0) + '1' + $substring(digits.string, 0);
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+}
+
+function $roundValue(this$static, digits){
+ var i_0;
+ if (this$static.digitsLength > this$static.decimalPosition + this$static.maximumFractionDigits && $charAt(digits, this$static.decimalPosition + this$static.maximumFractionDigits) >= 53) {
+ i_0 = this$static.decimalPosition + this$static.maximumFractionDigits - 1;
+ $propagateCarry(this$static, digits, i_0);
+ }
+}
+
+function NumberFormat(cdata, userSuppliedPattern){
+ if (!cdata) {
+ throw new IllegalArgumentException_0('Unknown currency code');
+ }
+ this.pattern = '\xA4#,##0.00';
+ this.currencyData = cdata;
+ $parsePattern(this, this.pattern);
+ if (!userSuppliedPattern && this.isCurrencyFormat) {
+ this.minimumFractionDigits = this.currencyData[2] & 7;
+ this.maximumFractionDigits = this.minimumFractionDigits;
+ }
+}
+
+function NumberFormat_0(cdata){
+ $clinit_NumberFormat();
+ NumberFormat.call(this, cdata, false);
+}
+
+function toScaledString(buf, val){
+ var dot, expDigits, expIdx, scale, startLen;
+ startLen = buf.string.length;
+ $append_0(buf, val.toPrecision(20));
+ scale = 0;
+ expIdx = $indexOf_2(buf.string, 'e', startLen);
+ expIdx < 0 && (expIdx = $indexOf_2(buf.string, 'E', startLen));
+ if (expIdx >= 0) {
+ expDigits = expIdx + 1;
+ expDigits < buf.string.length && $charAt_0(buf.string, expDigits) == 43 && ++expDigits;
+ expDigits < buf.string.length && (scale = __parseAndValidateInt($substring(buf.string, expDigits)));
+ $delete_0(buf, expIdx, buf.string.length);
+ }
+ dot = $indexOf_2(buf.string, '.', startLen);
+ if (dot >= 0) {
+ buf.string = __substr(buf.string, 0, dot) + '' + $substring(buf.string, dot + 1);
+ scale -= buf.string.length - dot;
+ }
+ return scale;
+}
+
+defineClass(164, 1, {}, NumberFormat_0);
+_.decimalPosition = 0;
+_.decimalSeparatorAlwaysShown = false;
+_.digitsLength = 0;
+_.exponent = 0;
+_.groupingSize = 3;
+_.isCurrencyFormat = false;
+_.maximumFractionDigits = 3;
+_.maximumIntegerDigits = 40;
+_.minExponentDigits = 0;
+_.minimumFractionDigits = 0;
+_.minimumIntegerDigits = 1;
+_.multiplier = 1;
+_.negativePrefix = '-';
+_.negativeSuffix = '';
+_.positivePrefix = '';
+_.positiveSuffix = '';
+_.useExponentialNotation = false;
+var cachedCurrencyFormat;
+var Lcom_google_gwt_i18n_client_NumberFormat_2_classLit = createForClass('com.google.gwt.i18n.client', 'NumberFormat', 164, Ljava_lang_Object_2_classLit);
+function NumberConstantsImpl_(){
+}
+
+defineClass(468, 1, {}, NumberConstantsImpl_);
+var Lcom_google_gwt_i18n_client_constants_NumberConstantsImpl_1_2_classLit = createForClass('com.google.gwt.i18n.client.constants', 'NumberConstantsImpl_', 468, Ljava_lang_Object_2_classLit);
+function $getSimpleCurrencySymbol(this$static){
+ return this$static[4] || this$static[1];
+}
+
+function $clinit_JsonpRequest(){
+ $clinit_JsonpRequest = emptyMethod;
+ CALLBACKS = getOrCreateCallbacksObject();
+}
+
+function $onFailure(this$static, ex){
+ $cancel_0(this$static.timer);
+ try {
+ !!this$static.callback && this$static.callback.onFailure_2(ex);
+ }
+ finally {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new JsonpRequest$2(this$static));
+ }
+}
+
+function $registerCallbacks(this$static, callbacks, canHaveMultipleRequestsForId){
+ var self_0 = this$static;
+ var callback = new Object;
+ callback.onSuccess = $entry(function(data_0){
+ typeof data_0 == 'boolean'?(data_0 = new Boolean_0(data_0)):typeof data_0 == 'number' && (self_0.expectInteger?(data_0 = new Integer(data_0)):(data_0 = new Double(data_0)));
+ self_0.onSuccess_1(data_0);
+ }
+ );
+ this$static.failureCallbackParam && (callback.onFailure = $entry(function(message){
+ self_0.onFailure_1(message);
+ }
+ ));
+ if (canHaveMultipleRequestsForId) {
+ var callbackWrapper = callbacks[this$static.callbackId];
+ if (!callbackWrapper) {
+ callbackWrapper = new Object;
+ callbackWrapper.callbackList = new Array;
+ callbackWrapper.onSuccess = function(data_0){
+ while (callbackWrapper.callbackList.length > 0) {
+ callbackWrapper.callbackList.shift().onSuccess(data_0);
+ }
+ }
+ ;
+ callbackWrapper.onFailure = function(data_0){
+ while (callbackWrapper.callbackList.length > 0) {
+ callbackWrapper.callbackList.shift().onFailure(data_0);
+ }
+ }
+ ;
+ callbacks[this$static.callbackId] = callbackWrapper;
+ }
+ callbackWrapper.callbackList.push(callback);
+ }
+ else {
+ callbacks[this$static.callbackId] = callback;
+ }
+}
+
+function $unregisterCallbacks(this$static, callbacks){
+ delete callbacks[this$static.callbackId];
+}
+
+function JsonpRequest(callback, timeout, expectInteger, callbackParam){
+ var name_0, ctr;
+ $clinit_JsonpRequest();
+ this.callbackId = 'P' + (name_0 = '__gwt_jsonp__' , ctr = '__gwt_jsonp_counter__' , $wnd[name_0][ctr]++);
+ this.callback = callback;
+ this.timeout = timeout;
+ this.expectInteger = expectInteger;
+ this.callbackParam = callbackParam;
+ this.failureCallbackParam = null;
+ this.canHaveMultipleRequestsForSameId = false;
+}
+
+function getOrCreateCallbacksObject(){
+ var name_0 = '__gwt_jsonp__';
+ if (!$wnd[name_0]) {
+ $wnd[name_0] = new Object;
+ $wnd[name_0]['__gwt_jsonp_counter__'] = 0;
+ }
+ return $wnd[name_0];
+}
+
+defineClass(541, 1, {}, JsonpRequest);
+_.onFailure_1 = function(message){
+ $onFailure(this, new Exception(message));
+}
+;
+_.onSuccess_1 = function(data_0){
+ $cancel_0(this.timer);
+ try {
+ !!this.callback && this.callback.onSuccess_0(data_0);
+ }
+ finally {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new JsonpRequest$2(this));
+ }
+}
+;
+_.toString$ = function(){
+ return 'JsonpRequest(id=' + this.callbackId + ')';
+}
+;
+_.canHaveMultipleRequestsForSameId = false;
+_.expectInteger = false;
+_.timeout = 0;
+var CALLBACKS;
+var Lcom_google_gwt_jsonp_client_JsonpRequest_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest', 541, Ljava_lang_Object_2_classLit);
+function JsonpRequest$1(this$0, val$baseUri){
+ this.this$01 = this$0;
+ this.val$baseUri2 = val$baseUri;
+ Timer.call(this);
+}
+
+defineClass(542, 46, {}, JsonpRequest$1);
+_.run = function(){
+ $onFailure(this.this$01, new TimeoutException('Timeout while calling ' + this.val$baseUri2));
+}
+;
+var Lcom_google_gwt_jsonp_client_JsonpRequest$1_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest/1', 542, Lcom_google_gwt_user_client_Timer_2_classLit);
+function JsonpRequest$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(195, 1, {}, JsonpRequest$2);
+_.execute_1 = function(){
+ var script;
+ this.this$01.canHaveMultipleRequestsForSameId || $unregisterCallbacks(this.this$01, ($clinit_JsonpRequest() , CALLBACKS));
+ script = $getElementById($doc, this.this$01.callbackId);
+ !!script && $removeChild(($clinit_JsonpRequest() , $doc.getElementsByTagName('head')[0]), script);
+}
+;
+var Lcom_google_gwt_jsonp_client_JsonpRequest$2_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest/2', 195, Ljava_lang_Object_2_classLit);
+function JsonpRequestBuilder(){
+}
+
+defineClass(540, 1, {}, JsonpRequestBuilder);
+_.send = function(url_0, callback, expectInteger){
+ var request, uri_0, prefix, script;
+ request = new JsonpRequest(callback, this.timeout, expectInteger, this.callbackParam);
+ $registerCallbacks(request, CALLBACKS, request.canHaveMultipleRequestsForSameId);
+ uri_0 = new StringBuilder_1(url_0);
+ $append_0(uri_0, url_0.indexOf('?') != -1?'&':'?');
+ prefix = '__gwt_jsonp__.' + request.callbackId;
+ $append_0($append_0($append_0($append_0(uri_0, request.callbackParam), '='), prefix), '.onSuccess');
+ script = $createScriptElement($doc);
+ script.type = 'text/javascript';
+ $setId(script, request.callbackId);
+ $setSrc(script, uri_0.string);
+ request.timer = new JsonpRequest$1(request, url_0);
+ $schedule(request.timer, request.timeout);
+ $appendChild($doc.getElementsByTagName('head')[0], script);
+ return request;
+}
+;
+_.callbackParam = 'callback';
+_.timeout = 10000;
+var Lcom_google_gwt_jsonp_client_JsonpRequestBuilder_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequestBuilder', 540, Ljava_lang_Object_2_classLit);
+function TimeoutException(s){
+ Exception.call(this, s);
+}
+
+defineClass(543, 9, $intern_2, TimeoutException);
+var Lcom_google_gwt_jsonp_client_TimeoutException_2_classLit = createForClass('com.google.gwt.jsonp.client', 'TimeoutException', 543, Ljava_lang_Exception_2_classLit);
+function clone(array){
+ return cloneSubrange(array, array.length);
+}
+
+function cloneSubrange(array, toIndex){
+ var result;
+ result = array.slice(0, toIndex);
+ initValues(getClass__Ljava_lang_Class___devirtual$(array), array.castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result);
+ return result;
+}
+
+function createFrom(array, length_0){
+ var result;
+ result = initializeArrayElementsWithDefaults(0, length_0);
+ initValues(getClass__Ljava_lang_Class___devirtual$(array), array.castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result);
+ return result;
+}
+
+function getClassLiteralForArray(clazz, dimensions){
+ return getClassLiteralForArray_0(clazz, dimensions);
+}
+
+function initDim(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions){
+ var result;
+ result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
+ initValues(getClassLiteralForArray(leafClassLiteral, dimensions), castableTypeMap, elementTypeId, elementTypeCategory, result);
+ return result;
+}
+
+function initValues(arrayClass, castableTypeMap, elementTypeId, elementTypeCategory, array){
+ array.___clazz$ = arrayClass;
+ array.castableTypeMap$ = castableTypeMap;
+ array.typeMarker$ = typeMarkerFn;
+ array.__elementTypeId$ = elementTypeId;
+ array.__elementTypeCategory$ = elementTypeCategory;
+ return array;
+}
+
+function initializeArrayElementsWithDefaults(elementTypeCategory, length_0){
+ var array = new Array(length_0);
+ var initValue;
+ switch (elementTypeCategory) {
+ case 6:
+ initValue = {l:0, m:0, h:0};
+ break;
+ case 7:
+ initValue = 0;
+ break;
+ case 8:
+ initValue = false;
+ break;
+ default:return array;
+ }
+ for (var i_0 = 0; i_0 < length_0; ++i_0) {
+ array[i_0] = initValue;
+ }
+ return array;
+}
+
+function nativeArraySplice(src_0, srcOfs, dest, destOfs, len, overwrite){
+ if (src_0 === dest) {
+ src_0 = src_0.slice(srcOfs, srcOfs + len);
+ srcOfs = 0;
+ }
+ for (var batchStart = srcOfs, end = srcOfs + len; batchStart < end;) {
+ var batchEnd = Math.min(batchStart + 10000, end);
+ len = batchEnd - batchStart;
+ Array.prototype.splice.apply(dest, [destOfs, overwrite?len:0].concat(src_0.slice(batchStart, batchEnd)));
+ batchStart = batchEnd;
+ destOfs += len;
+ }
+}
+
+function setCheck(array, index_0, value_0){
+ var elementTypeId;
+ if (value_0 != null) {
+ switch (array.__elementTypeCategory$) {
+ case 4:
+ if (!isJavaString(value_0)) {
+ throw new ArrayStoreException;
+ }
+
+ break;
+ case 0:
+ {
+ elementTypeId = array.__elementTypeId$;
+ if (!canCast(value_0, elementTypeId)) {
+ throw new ArrayStoreException;
+ }
+ break;
+ }
+
+ case 2:
+ if (!(!isJavaString(value_0) && !hasTypeMarker(value_0))) {
+ throw new ArrayStoreException;
+ }
+
+ break;
+ case 1:
+ {
+ elementTypeId = array.__elementTypeId$;
+ if (!(!isJavaString(value_0) && !hasTypeMarker(value_0)) && !canCast(value_0, elementTypeId)) {
+ throw new ArrayStoreException;
+ }
+ break;
+ }
+
+ }
+ }
+ return array[index_0] = value_0;
+}
+
+function cacheJavaScriptException(e, jse){
+ if (e && typeof e == 'object') {
+ try {
+ e.__gwt$exception = jse;
+ }
+ catch (ignored) {
+ }
+ }
+}
+
+function unwrap(e){
+ var jse;
+ if (instanceOf(e, 58)) {
+ jse = dynamicCast(e, 58);
+ if (maskUndefined(jse.e) !== maskUndefined(($clinit_JavaScriptException() , NOT_SET))) {
+ return maskUndefined(jse.e) === maskUndefined(NOT_SET)?null:jse.e;
+ }
+ }
+ return e;
+}
+
+function wrap(e){
+ var jse;
+ if (instanceOf(e, 13)) {
+ return e;
+ }
+ jse = e && e.__gwt$exception;
+ if (!jse) {
+ jse = new JavaScriptException(e);
+ captureStackTrace();
+ cacheJavaScriptException(e, jse);
+ }
+ return jse;
+}
+
+function create_0(value_0){
+ var a0, a1, a2;
+ a0 = value_0 & $intern_15;
+ a1 = value_0 >> 22 & $intern_15;
+ a2 = value_0 < 0?$intern_16:0;
+ return create0(a0, a1, a2);
+}
+
+function create_1(a){
+ return create0(a.l, a.m, a.h);
+}
+
+function create0(l, m, h){
+ return {l:l, m:m, h:h};
+}
+
+function divMod(a, b, computeRemainder){
+ var aIsCopy, aIsMinValue, aIsNegative, bpower, c, negative;
+ if (b.l == 0 && b.m == 0 && b.h == 0) {
+ throw new ArithmeticException;
+ }
+ if (a.l == 0 && a.m == 0 && a.h == 0) {
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return create0(0, 0, 0);
+ }
+ if (b.h == $intern_17 && b.m == 0 && b.l == 0) {
+ return divModByMinValue(a, computeRemainder);
+ }
+ negative = false;
+ if (b.h >> 19 != 0) {
+ b = neg(b);
+ negative = true;
+ }
+ bpower = powerOfTwo(b);
+ aIsNegative = false;
+ aIsMinValue = false;
+ aIsCopy = false;
+ if (a.h == $intern_17 && a.m == 0 && a.l == 0) {
+ aIsMinValue = true;
+ aIsNegative = true;
+ if (bpower == -1) {
+ a = create_1(($clinit_LongLib$Const() , MAX_VALUE));
+ aIsCopy = true;
+ negative = !negative;
+ }
+ else {
+ c = shr(a, bpower);
+ negative && negate(c);
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return c;
+ }
+ }
+ else if (a.h >> 19 != 0) {
+ aIsNegative = true;
+ a = neg(a);
+ aIsCopy = true;
+ negative = !negative;
+ }
+ if (bpower != -1) {
+ return divModByShift(a, bpower, negative, aIsNegative, computeRemainder);
+ }
+ if (!gte_0(a, b)) {
+ computeRemainder && (aIsNegative?(remainder_0 = neg(a)):(remainder_0 = create0(a.l, a.m, a.h)));
+ return create0(0, 0, 0);
+ }
+ return divModHelper(aIsCopy?a:create0(a.l, a.m, a.h), b, negative, aIsNegative, aIsMinValue, computeRemainder);
+}
+
+function divModByMinValue(a, computeRemainder){
+ if (a.h == $intern_17 && a.m == 0 && a.l == 0) {
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return create_1(($clinit_LongLib$Const() , ONE));
+ }
+ computeRemainder && (remainder_0 = create0(a.l, a.m, a.h));
+ return create0(0, 0, 0);
+}
+
+function divModByShift(a, bpower, negative, aIsNegative, computeRemainder){
+ var c;
+ c = shr(a, bpower);
+ negative && negate(c);
+ if (computeRemainder) {
+ a = maskRight(a, bpower);
+ aIsNegative?(remainder_0 = neg(a)):(remainder_0 = create0(a.l, a.m, a.h));
+ }
+ return c;
+}
+
+function divModHelper(a, b, negative, aIsNegative, aIsMinValue, computeRemainder){
+ var bshift, gte, quotient, shift_0, a1, a2, a0;
+ shift_0 = numberOfLeadingZeros(b) - numberOfLeadingZeros(a);
+ bshift = shl(b, shift_0);
+ quotient = create0(0, 0, 0);
+ while (shift_0 >= 0) {
+ gte = trialSubtract(a, bshift);
+ if (gte) {
+ shift_0 < 22?(quotient.l |= 1 << shift_0 , undefined):shift_0 < 44?(quotient.m |= 1 << shift_0 - 22 , undefined):(quotient.h |= 1 << shift_0 - 44 , undefined);
+ if (a.l == 0 && a.m == 0 && a.h == 0) {
+ break;
+ }
+ }
+ a1 = bshift.m;
+ a2 = bshift.h;
+ a0 = bshift.l;
+ setH(bshift, a2 >>> 1);
+ bshift.m = a1 >>> 1 | (a2 & 1) << 21;
+ bshift.l = a0 >>> 1 | (a1 & 1) << 21;
+ --shift_0;
+ }
+ negative && negate(quotient);
+ if (computeRemainder) {
+ if (aIsNegative) {
+ remainder_0 = neg(a);
+ aIsMinValue && (remainder_0 = sub_0(remainder_0, ($clinit_LongLib$Const() , ONE)));
+ }
+ else {
+ remainder_0 = create0(a.l, a.m, a.h);
+ }
+ }
+ return quotient;
+}
+
+function maskRight(a, bits){
+ var b0, b1, b2;
+ if (bits <= 22) {
+ b0 = a.l & (1 << bits) - 1;
+ b1 = b2 = 0;
+ }
+ else if (bits <= 44) {
+ b0 = a.l;
+ b1 = a.m & (1 << bits - 22) - 1;
+ b2 = 0;
+ }
+ else {
+ b0 = a.l;
+ b1 = a.m;
+ b2 = a.h & (1 << bits - 44) - 1;
+ }
+ return create0(b0, b1, b2);
+}
+
+function negate(a){
+ var neg0, neg1, neg2;
+ neg0 = ~a.l + 1 & $intern_15;
+ neg1 = ~a.m + (neg0 == 0?1:0) & $intern_15;
+ neg2 = ~a.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_16;
+ setL(a, neg0);
+ setM(a, neg1);
+ setH(a, neg2);
+}
+
+function numberOfLeadingZeros(a){
+ var b1, b2;
+ b2 = numberOfLeadingZeros_0(a.h);
+ if (b2 == 32) {
+ b1 = numberOfLeadingZeros_0(a.m);
+ return b1 == 32?numberOfLeadingZeros_0(a.l) + 32:b1 + 20 - 10;
+ }
+ else {
+ return b2 - 12;
+ }
+}
+
+function powerOfTwo(a){
+ var h, l, m;
+ l = a.l;
+ if ((l & l - 1) != 0) {
+ return -1;
+ }
+ m = a.m;
+ if ((m & m - 1) != 0) {
+ return -1;
+ }
+ h = a.h;
+ if ((h & h - 1) != 0) {
+ return -1;
+ }
+ if (h == 0 && m == 0 && l == 0) {
+ return -1;
+ }
+ if (h == 0 && m == 0 && l != 0) {
+ return numberOfTrailingZeros(l);
+ }
+ if (h == 0 && m != 0 && l == 0) {
+ return numberOfTrailingZeros(m) + 22;
+ }
+ if (h != 0 && m == 0 && l == 0) {
+ return numberOfTrailingZeros(h) + 44;
+ }
+ return -1;
+}
+
+function setH(a, x_0){
+ a.h = x_0;
+}
+
+function setL(a, x_0){
+ a.l = x_0;
+}
+
+function setM(a, x_0){
+ a.m = x_0;
+}
+
+function toDoubleHelper(a){
+ return a.l + a.m * $intern_18 + a.h * $intern_19;
+}
+
+function trialSubtract(a, b){
+ var sum0, sum1, sum2;
+ sum2 = a.h - b.h;
+ if (sum2 < 0) {
+ return false;
+ }
+ sum0 = a.l - b.l;
+ sum1 = a.m - b.m + (sum0 >> 22);
+ sum2 += sum1 >> 22;
+ if (sum2 < 0) {
+ return false;
+ }
+ setL(a, sum0 & $intern_15);
+ setM(a, sum1 & $intern_15);
+ setH(a, sum2 & $intern_16);
+ return true;
+}
+
+var remainder_0;
+function eq(a, b){
+ return a.l == b.l && a.m == b.m && a.h == b.h;
+}
+
+function fromDouble(value_0){
+ var a0, a1, a2, negative, result;
+ if (isNaN(value_0)) {
+ return $clinit_LongLib$Const() , ZERO;
+ }
+ if (value_0 < $intern_20) {
+ return $clinit_LongLib$Const() , MIN_VALUE;
+ }
+ if (value_0 >= 9223372036854775807) {
+ return $clinit_LongLib$Const() , MAX_VALUE;
+ }
+ negative = false;
+ if (value_0 < 0) {
+ negative = true;
+ value_0 = -value_0;
+ }
+ a2 = 0;
+ if (value_0 >= $intern_19) {
+ a2 = round_int(value_0 / $intern_19);
+ value_0 -= a2 * $intern_19;
+ }
+ a1 = 0;
+ if (value_0 >= $intern_18) {
+ a1 = round_int(value_0 / $intern_18);
+ value_0 -= a1 * $intern_18;
+ }
+ a0 = round_int(value_0);
+ result = create0(a0, a1, a2);
+ negative && negate(result);
+ return result;
+}
+
+function fromInt(value_0){
+ var rebase, result;
+ if (value_0 > -129 && value_0 < 128) {
+ rebase = value_0 + 128;
+ boxedValues == null && (boxedValues = initDim(Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit, $intern_5, 615, 256, 0, 1));
+ result = boxedValues[rebase];
+ !result && (result = boxedValues[rebase] = create_0(value_0));
+ return result;
+ }
+ return create_0(value_0);
+}
+
+function gt(a, b){
+ var signa, signb;
+ signa = a.h >> 19;
+ signb = b.h >> 19;
+ return signa == 0?signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l > b.l:!(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l <= b.l);
+}
+
+function gte_0(a, b){
+ var signa, signb;
+ signa = a.h >> 19;
+ signb = b.h >> 19;
+ return signa == 0?signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l >= b.l:!(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l < b.l);
+}
+
+function lt(a, b){
+ return !gte_0(a, b);
+}
+
+function neg(a){
+ var neg0, neg1, neg2;
+ neg0 = ~a.l + 1 & $intern_15;
+ neg1 = ~a.m + (neg0 == 0?1:0) & $intern_15;
+ neg2 = ~a.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_16;
+ return create0(neg0, neg1, neg2);
+}
+
+function shl(a, n){
+ var res0, res1, res2;
+ n &= 63;
+ if (n < 22) {
+ res0 = a.l << n;
+ res1 = a.m << n | a.l >> 22 - n;
+ res2 = a.h << n | a.m >> 22 - n;
+ }
+ else if (n < 44) {
+ res0 = 0;
+ res1 = a.l << n - 22;
+ res2 = a.m << n - 22 | a.l >> 44 - n;
+ }
+ else {
+ res0 = 0;
+ res1 = 0;
+ res2 = a.l << n - 44;
+ }
+ return {l:res0 & $intern_15, m:res1 & $intern_15, h:res2 & $intern_16};
+}
+
+function shr(a, n){
+ var a2, negative, res0, res1, res2;
+ n &= 63;
+ a2 = a.h;
+ negative = (a2 & $intern_17) != 0;
+ negative && (a2 |= -1048576);
+ if (n < 22) {
+ res2 = a2 >> n;
+ res1 = a.m >> n | a2 << 22 - n;
+ res0 = a.l >> n | a.m << 22 - n;
+ }
+ else if (n < 44) {
+ res2 = negative?$intern_16:0;
+ res1 = a2 >> n - 22;
+ res0 = a.m >> n - 22 | a2 << 44 - n;
+ }
+ else {
+ res2 = negative?$intern_16:0;
+ res1 = negative?$intern_15:0;
+ res0 = a2 >> n - 44;
+ }
+ return {l:res0 & $intern_15, m:res1 & $intern_15, h:res2 & $intern_16};
+}
+
+function sub_0(a, b){
+ var sum0, sum1, sum2;
+ sum0 = a.l - b.l;
+ sum1 = a.m - b.m + (sum0 >> 22);
+ sum2 = a.h - b.h + (sum1 >> 22);
+ return {l:sum0 & $intern_15, m:sum1 & $intern_15, h:sum2 & $intern_16};
+}
+
+function toDouble(a){
+ if (eq(a, ($clinit_LongLib$Const() , MIN_VALUE))) {
+ return $intern_20;
+ }
+ if (!gte_0(a, ZERO)) {
+ return -toDoubleHelper(neg(a));
+ }
+ return a.l + a.m * $intern_18 + a.h * $intern_19;
+}
+
+function toInt(a){
+ return a.l | a.m << 22;
+}
+
+function toString_3(a){
+ var digits, rem, res, tenPowerLong, zeroesNeeded;
+ if (a.l == 0 && a.m == 0 && a.h == 0) {
+ return '0';
+ }
+ if (a.h == $intern_17 && a.m == 0 && a.l == 0) {
+ return '-9223372036854775808';
+ }
+ if (a.h >> 19 != 0) {
+ return '-' + toString_3(neg(a));
+ }
+ rem = a;
+ res = '';
+ while (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) {
+ tenPowerLong = fromInt(1000000000);
+ rem = divMod(rem, tenPowerLong, true);
+ digits = '' + toInt(remainder_0);
+ if (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) {
+ zeroesNeeded = 9 - digits.length;
+ for (; zeroesNeeded > 0; zeroesNeeded--) {
+ digits = '0' + digits;
+ }
+ }
+ res = digits + res;
+ }
+ return res;
+}
+
+var boxedValues;
+function $clinit_LongLib$Const(){
+ $clinit_LongLib$Const = emptyMethod;
+ MAX_VALUE = create0($intern_15, $intern_15, 524287);
+ MIN_VALUE = create0(0, 0, $intern_17);
+ ONE = fromInt(1);
+ fromInt(2);
+ ZERO = fromInt(0);
+}
+
+var MAX_VALUE, MIN_VALUE, ONE, ZERO;
+function hasTypeMarker(o){
+ return o.typeMarker$ === typeMarkerFn;
+}
+
+function init_0(){
+ var progress;
+ $wnd.setTimeout($entry(assertCompileTimeUserAgent));
+ $onModuleLoad_0();
+ $onModuleLoad($clinit_LogConfiguration());
+ $clinit_WCUtils();
+ $done(ready(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [])), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new WCUtils$3]));
+ progress = new WCVProgress;
+ registerElement('v-progress', progress);
+ registerElement('v-progress-bar', progress);
+ registerElement('v-slider', new WCVSlider);
+ registerElement('v-grid', new WCVGrid);
+ jsni_0(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, []));
+}
+
+function $clinit_LogConfiguration(){
+ $clinit_LogConfiguration = emptyMethod;
+ impl_1 = new LogConfiguration$LogConfigurationImplNull;
+}
+
+function $onModuleLoad(){
+}
+
+function loggingIsEnabled(){
+ $clinit_LogConfiguration();
+ if (!impl_1) {
+ return true;
+ }
+ return false;
+}
+
+var impl_1;
+function LogConfiguration$LogConfigurationImplNull(){
+}
+
+defineClass(205, 1, {}, LogConfiguration$LogConfigurationImplNull);
+var Lcom_google_gwt_logging_client_LogConfiguration$LogConfigurationImplNull_2_classLit = createForClass('com.google.gwt.logging.client', 'LogConfiguration/LogConfigurationImplNull', 205, Ljava_lang_Object_2_classLit);
+function Browser(){
+ this.ie6 = this.isIe6();
+ this.ie8 = this.isIe8();
+ this.ie9 = this.isIe9();
+ this.mozilla = this.isMozilla();
+ this.msie = this.isMsie();
+ this.opera = this.isOpera_0();
+ this.isWebkit();
+ this.webkit = this.isWebkit();
+}
+
+defineClass(135, 1, {});
+_.ie6 = false;
+_.ie8 = false;
+_.ie9 = false;
+_.mozilla = false;
+_.msie = false;
+_.opera = false;
+_.webkit = false;
+var Lcom_google_gwt_query_client_Browser_2_classLit = createForClass('com.google.gwt.query.client', 'Browser', 135, Ljava_lang_Object_2_classLit);
+function Browser_gecko1_8(){
+ Browser.call(this);
+}
+
+defineClass(339, 135, {}, Browser_gecko1_8);
+_.isIe6 = function(){
+ return false;
+}
+;
+_.isIe8 = function(){
+ return false;
+}
+;
+_.isIe9 = function(){
+ return false;
+}
+;
+_.isMozilla = function(){
+ return true;
+}
+;
+_.isMsie = function(){
+ return false;
+}
+;
+_.isOpera_0 = function(){
+ return false;
+}
+;
+_.isWebkit = function(){
+ return false;
+}
+;
+_.toString$ = function(){
+ return 'Browser: webkit=' + this.webkit + ' mozilla=' + this.mozilla + ' opera=' + this.opera + ' msie=' + this.msie + ' ie6=' + this.ie6 + ' ie8=' + this.ie8 + ' ie9=' + this.ie9;
+}
+;
+var Lcom_google_gwt_query_client_Browser_1gecko1_18_2_classLit = createForClass('com.google.gwt.query.client', 'Browser_gecko1_8', 339, Lcom_google_gwt_query_client_Browser_2_classLit);
+function Browser_ie10(){
+ Browser.call(this);
+}
+
+defineClass(337, 135, {}, Browser_ie10);
+_.isIe6 = function(){
+ return false;
+}
+;
+_.isIe8 = function(){
+ return false;
+}
+;
+_.isIe9 = function(){
+ return false;
+}
+;
+_.isMozilla = function(){
+ return false;
+}
+;
+_.isMsie = function(){
+ return true;
+}
+;
+_.isOpera_0 = function(){
+ return false;
+}
+;
+_.isWebkit = function(){
+ return false;
+}
+;
+_.toString$ = function(){
+ return 'Browser: webkit=' + this.webkit + ' mozilla=' + this.mozilla + ' opera=' + this.opera + ' msie=' + this.msie + ' ie6=' + this.ie6 + ' ie8=' + this.ie8 + ' ie9=' + this.ie9;
+}
+;
+var Lcom_google_gwt_query_client_Browser_1ie10_2_classLit = createForClass('com.google.gwt.query.client', 'Browser_ie10', 337, Lcom_google_gwt_query_client_Browser_2_classLit);
+function Browser_safari(){
+ Browser.call(this);
+}
+
+defineClass(338, 135, {}, Browser_safari);
+_.isIe6 = function(){
+ return false;
+}
+;
+_.isIe8 = function(){
+ return false;
+}
+;
+_.isIe9 = function(){
+ return false;
+}
+;
+_.isMozilla = function(){
+ return false;
+}
+;
+_.isMsie = function(){
+ return false;
+}
+;
+_.isOpera_0 = function(){
+ return false;
+}
+;
+_.isWebkit = function(){
+ return true;
+}
+;
+_.toString$ = function(){
+ return 'Browser: webkit=' + this.webkit + ' mozilla=' + this.mozilla + ' opera=' + this.opera + ' msie=' + this.msie + ' ie6=' + this.ie6 + ' ie8=' + this.ie8 + ' ie9=' + this.ie9;
+}
+;
+var Lcom_google_gwt_query_client_Browser_1safari_2_classLit = createForClass('com.google.gwt.query.client', 'Browser_safari', 338, Lcom_google_gwt_query_client_Browser_2_classLit);
+function $f(this$static, e){
+ this$static.element = e;
+ $f_1(this$static, e);
+}
+
+function $f_0(this$static, e){
+ var w;
+ this$static.element = e;
+ return this$static.element = e , w = getAssociatedWidget(e) , w?($setElement(this$static, $getElement(w)) , $f_2(this$static, w) , null):(this$static.element = e , $f_1(this$static, e)) , null;
+}
+
+function $f_1(this$static, e){
+ var w;
+ this$static.element = e;
+ w = e?getAssociatedWidget(e):null;
+ if (w) {
+ this$static.loop = true;
+ $f_2(this$static, w);
+ }
+ else {
+ this$static.f_0();
+ }
+}
+
+function $f_2(this$static, w){
+ $setElement(this$static, $getElement(w));
+ if (this$static.loop) {
+ this$static.loop = false;
+ this$static.f_0();
+ }
+ else {
+ $f(this$static, $getElement(w));
+ }
+}
+
+function $f_3(this$static, args){
+ this$static.arguments_0 = args;
+ this$static.f_0();
+ return $clinit_Boolean() , $clinit_Boolean() , TRUE;
+}
+
+function $fe(this$static){
+ $f_3(this$static, this$static.arguments_0);
+}
+
+function $fe_0(this$static, elem){
+ this$static.element = elem;
+ $f_1(this$static, elem);
+}
+
+function $getArgument(this$static, pos, type_0){
+ var o, objs;
+ objs = $getArgumentArray(this$static);
+ o = objs.length > pos?objs[pos]:null;
+ if (o != null && (!type_0 || getClass__Ljava_lang_Class___devirtual$(o) == type_0 || type_0 == Lcom_google_gwt_core_client_JavaScriptObject_2_classLit && instanceOfJso(o))) {
+ return o;
+ }
+ return null;
+}
+
+function $getArgumentArray(this$static){
+ var o;
+ o = this$static.arguments_0;
+ if (o != null) {
+ return (getClass__Ljava_lang_Class___devirtual$(o).modifiers & 4) != 0?o:initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [o]);
+ }
+ return initDim(Ljava_lang_Object_2_classLit, $intern_5, 1, 0, 3, 1);
+}
+
+function $setArguments(this$static, arguments_0){
+ this$static.arguments_0 = arguments_0;
+ return this$static;
+}
+
+function $setElement(this$static, e){
+ this$static.element = e;
+ return this$static;
+}
+
+function Function_0(){
+ this.arguments_0 = initDim(Ljava_lang_Object_2_classLit, $intern_5, 1, 0, 3, 1);
+}
+
+defineClass(8, 1, $intern_21);
+_.f_0 = function(){
+ throw new RuntimeException_0("You have to override the adequate method to handle this action, or you have to override 'public void f()' to avoid this error");
+}
+;
+_.f_1 = function(args){
+ return $f_3(this, args);
+}
+;
+_.fe = function(arg){
+ this.f_1(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [arg]));
+}
+;
+_.fe_0 = function(args){
+ return this.f_1(args);
+}
+;
+_.setArguments = function(arguments_0){
+ return $setArguments(this, arguments_0);
+}
+;
+_.element = null;
+_.loop = false;
+var Lcom_google_gwt_query_client_Function_2_classLit = createForClass('com.google.gwt.query.client', 'Function', 8, Ljava_lang_Object_2_classLit);
+function create_2(clz, obj){
+ var ret;
+ ret = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , $create(clz));
+ $load(ret, obj);
+ return ret;
+}
+
+function create_3(s){
+ return !jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , parseJSON(s);
+}
+
+var ajaxTransport, jsonFactory;
+function $clinit_GQuery(){
+ $clinit_GQuery = emptyMethod;
+ $doc.body;
+ browser = com_google_gwt_query_client_Browser();
+ console_0 = new ConsoleBrowser;
+ document_0 = $doc;
+ $clinit_Effects();
+ $clinit_Events();
+ new RegExp('^:(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\))?(?=[^\\-]|$)$');
+ tagNameRegex = new RegExp('<([\\w:-]+)');
+ Widgets = ($clinit_Widgets() , Lcom_google_gwt_query_client_plugins_Widgets_2_classLit);
+ window_1 = ($clinit_ScriptInjector() , TOP_WINDOW);
+}
+
+function $$init(this$static){
+ this$static.elements = initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_5, 0, 0, 2, 1);
+ this$static.nodeList = [];
+}
+
+function $(o){
+ var r;
+ $clinit_GQuery();
+ var c, elms, i_0, jso, obj;
+ if (o != null) {
+ if (isJavaString(o)) {
+ return $_0(dynamicCastToString(o), document_0);
+ }
+ if (instanceOf(o, 20)) {
+ return dynamicCast(o, 20);
+ }
+ if (instanceOf(o, 8)) {
+ return new GQuery_0(dynamicCast(o, 8).element);
+ }
+ if (instanceOf(o, 45)) {
+ return new GQuery_0(dynamicCast(o, 45).getDataImpl());
+ }
+ if (instanceOf(o, 24)) {
+ return $_1(new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [o])));
+ }
+ if (instanceOfJso(o)) {
+ jso = dynamicCastJso(o);
+ if (isFunction(jso)) {
+ $fe(new JsUtils$JsFunction(jso));
+ return new GQuery_3(create_4(null));
+ }
+ if (!hasProperty(jso, 'alert') && !isElement(jso) && isArray(jso)) {
+ c = jso;
+ elms = create_4(null);
+ for (i_0 = 0; i_0 < c.length; i_0++) {
+ obj = $getObject(c, i_0);
+ !!obj && $addNode(elms, obj);
+ }
+ return new GQuery_3(elms);
+ }
+ if (r = Object.prototype.toString.call(jso) , r == '[object HTMLCollection]' || r == '[object NodeList]' || typeof jso == 'object' && jso.length && jso[0] && jso[0].tagName?true:false) {
+ return new GQuery_1(jso);
+ }
+ hasProperty(jso, 'currentTarget') && (jso = ($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(jso));
+ return new GQuery_0(jso);
+ }
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, ['Error: GQuery.$(Object o) could not wrap the type : ', $getName(getClass__Ljava_lang_Class___devirtual$(o)), o])));
+ }
+ return new GQuery_3(create_4(null));
+}
+
+function $_0(selectorOrHtml, ctx){
+ $clinit_GQuery();
+ var selector;
+ selector = null;
+ if (selectorOrHtml == null || (selector = $trim(selectorOrHtml)).length == 0) {
+ return new GQuery_3(create_4(null));
+ }
+ if ($equals_2(selector.substr(0, 1), '<')) {
+ return cleanHtmlString(selectorOrHtml, !ctx || !isElement(ctx)?null:ctx.nodeType == 9?ctx:ctx.ownerDocument);
+ }
+ return $select(new GQuery, selectorOrHtml, ctx);
+}
+
+function $_1(nodesOrWidgets){
+ $clinit_GQuery();
+ var elms, o, o$iterator;
+ elms = create_4(null);
+ for (o$iterator = nodesOrWidgets.iterator(); o$iterator.hasNext();) {
+ o = o$iterator.next_0();
+ instanceOfJso(o)?$addNode(elms, dynamicCastJso(o)):instanceOf(o, 24) && $addNode(elms, $getElement(dynamicCast(o, 24).asWidget()));
+ }
+ return new GQuery_3(elms);
+}
+
+function $add(this$static, elementsToAdd){
+ return $pushStack(this$static, copyNodeList(this$static.nodeList, elementsToAdd.nodeList, true), $join(',', initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, [this$static.currentSelector, elementsToAdd.currentSelector])));
+}
+
+function $addClass(this$static, classes){
+ var clz, clz$index, clz$max, e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (!!e && e.nodeType == 1) {
+ for (clz$index = 0 , clz$max = classes.length; clz$index < clz$max; ++clz$index) {
+ clz = classes[clz$index];
+ $addClassName(e, clz);
+ }
+ }
+ }
+ return this$static;
+}
+
+function $allNextSiblingElements(firstChildElement, result){
+ while (firstChildElement) {
+ !!firstChildElement && $add_0(result, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [firstChildElement]));
+ firstChildElement = $getNextSiblingElement(($clinit_DOMImpl() , firstChildElement));
+ }
+}
+
+function $appendTo(this$static, other){
+ $domManip(other, this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, []));
+ return this$static;
+}
+
+function $as(this$static, plugin){
+ var p;
+ if (plugin == Lcom_google_gwt_query_client_GQuery_2_classLit) {
+ return this$static;
+ }
+ else if (plugins) {
+ p = dynamicCast($get_3(plugins, getHashCode(plugin)), 109);
+ if (p) {
+ return p.init_0(this$static);
+ }
+ }
+ throw new RuntimeException_0(($ensureNamesAreInitialized(plugin) , 'No plugin registered for class ' + plugin.typeName));
+}
+
+function $attr(this$static, name_0){
+ return this$static.elements.length == 0?'':$getAttribute($get(this$static, 0), name_0);
+}
+
+function $attr_0(this$static, key, value_0){
+ if ($equalsIgnoreCase('$H', key)) {
+ debugger;
+ throw new AssertionError_0('$H is a GWT reserved attribute. Changing its value will break your application.');
+ }
+ $setAttribute_0((!attributeImpl && (attributeImpl = new AttributeImpl) , this$static), key, value_0);
+ return this$static;
+}
+
+function $children(this$static){
+ var e, e$array, e$index, e$max, result;
+ result = create_4(null);
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $allNextSiblingElements($getFirstChildElement_0(($clinit_DOMImpl() , e)), result);
+ }
+ return new GQuery_3($unique(result));
+}
+
+function $children_0(this$static, filters){
+ return $filter_0($children(this$static), filters);
+}
+
+function $cleanGQData(this$static, elements){
+ var e, el, el$index, el$max;
+ for (el$index = 0 , el$max = elements.length; el$index < el$max; ++el$index) {
+ el = elements[el$index];
+ try {
+ $clinit_EventsListener();
+ getGQueryEventListener(el);
+ $removeData(this$static, el, null);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $printStackTrace(e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+}
+
+function $data(this$static){
+ return this$static.elements.length == 0?null:data_1($get(this$static, 0), 'init', null);
+}
+
+function $data_0(this$static, value_0){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ data_1(e, 'init', value_0);
+ }
+ return this$static;
+}
+
+function $domManip(this$static, g, elms){
+ var e, i_0, j, l, n, newNodes, size_0;
+ newNodes = create_4(null);
+ elms.length == 0 && (elms = this$static.elements);
+ for (i_0 = 0 , l = elms.length; i_0 < l; i_0++) {
+ e = elms[i_0];
+ e.nodeType == 9 && (e = e.body);
+ for (j = 0 , size_0 = g.elements.length; j < size_0; j++) {
+ n = $get(g, j);
+ i_0 > 0 && (n = n.cloneNode(true));
+ $addNode(newNodes, e.appendChild(n));
+ $clinit_EventsListener();
+ getGQueryEventListener(n);
+ }
+ }
+ $length(newNodes) >= g.elements.length && $setArray(g, newNodes);
+ return this$static;
+}
+
+function $each(this$static, f){
+ var e, e$array, e$index, e$max, f1, f1$index, f1$max, i_0;
+ for (f1$index = 0 , f1$max = f.length; f1$index < f1$max; ++f1$index) {
+ f1 = f[f1$index];
+ if (f1) {
+ i_0 = 0;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $f_0(f1, e, ++i_0);
+ }
+ }
+ }
+ return this$static;
+}
+
+function $filter(this$static, filterFn){
+ var result;
+ result = $filter_1((!engine && (engine = new SelectorEngine) , this$static.nodeList), filterFn);
+ return $pushStack(this$static, result, this$static.currentSelector);
+}
+
+function $filter_0(this$static, filters){
+ var result, selector;
+ selector = $join(', ', filters);
+ result = $filter_2((!engine && (engine = new SelectorEngine) , engine), this$static.nodeList, selector);
+ return $pushStack(this$static, result, selector);
+}
+
+function $find(this$static, filters){
+ var array, c, c$array, c$index, c$max, e, e$array, e$index, e$max, selector, selector$index, selector$max;
+ array = create_4(null);
+ for (selector$index = 0 , selector$max = filters.length; selector$index < selector$max; ++selector$index) {
+ selector = filters[selector$index];
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ for (c$array = $_0(selector, e).elements , c$index = 0 , c$max = c$array.length; c$index < c$max; ++c$index) {
+ c = c$array[c$index];
+ $add_0(array, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [c]));
+ }
+ }
+ }
+ return $pushStack(this$static, $unique(array), filters[0]);
+}
+
+function $get(this$static, i_0){
+ var l;
+ l = this$static.elements.length;
+ if (i_0 >= 0 && i_0 < l) {
+ return this$static.elements[i_0];
+ }
+ if (i_0 < 0 && l + i_0 >= 0) {
+ return this$static.elements[l + i_0];
+ }
+ return null;
+}
+
+function $hide(this$static){
+ var currentDisplay, e, e$array, e$array0, e$index, e$index0, e$max, e$max0, old;
+ for (e$array0 = this$static.elements , e$index0 = 0 , e$max0 = e$array0.length; e$index0 < e$max0; ++e$index0) {
+ e = e$array0[e$index0];
+ currentDisplay = $curCSS((!styleImpl && (styleImpl = (!engine && (engine = new SelectorEngine) , $clinit_SelectorEngine() , styleImpl_0)) , styleImpl), e, 'display', false);
+ old = data_1(e, 'old-display', null);
+ old == null && currentDisplay.length != 0 && !$equals_2('none', currentDisplay) && data_1(e, 'old-display', currentDisplay);
+ }
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $setProperty_0(e.style, 'display', ($clinit_Style$Display() , 'none'));
+ }
+ return this$static;
+}
+
+function $html(this$static){
+ return this$static.elements.length == 0?'':$getInnerHTML($get(this$static, 0));
+}
+
+function $index(this$static, element){
+ var e, e$array, e$index, e$max, i_0;
+ i_0 = 0;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (e == element) {
+ return i_0;
+ }
+ ++i_0;
+ }
+ return -1;
+}
+
+function $join(chr, values){
+ var i_0, value_0;
+ value_0 = '';
+ for (i_0 = 0; i_0 < values.length; i_0++) {
+ value_0 += i_0 > 0?chr + values[i_0]:values[i_0];
+ }
+ return value_0;
+}
+
+function $last(this$static){
+ return $($get(this$static, this$static.elements.length - 1));
+}
+
+function $parents(this$static, filters){
+ return $filter_0($parentsUntil(this$static), filters);
+}
+
+function $parentsUntil(this$static){
+ var e, e$array, e$index, e$max, i_0, par, result;
+ result = create_4(null);
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ i_0 = 0;
+ par = e.parentNode;
+ while (!!par && par != document_0) {
+ $add_0(result, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [par]));
+ par = par.parentNode;
+ ++i_0;
+ }
+ }
+ return new GQuery_3($unique(result));
+}
+
+function $prop(this$static, key){
+ return this$static.elements.length == 0?null:prop_0($get(this$static, 0), key);
+}
+
+function $prop_0(this$static, value_0){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ !!e && $put(e, 'href', value_0);
+ }
+ return this$static;
+}
+
+function $pushStack(this$static, elts, selector){
+ var g;
+ g = new GQuery_3(elts);
+ g.currentSelector = selector;
+ g.currentContext = this$static.currentContext;
+ return g;
+}
+
+function $remove(this$static, clean){
+ var e, e$array, e$index, e$max, w;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (clean) {
+ $cleanGQData(this$static, $_0('*', e).elements);
+ $cleanGQData(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [e]));
+ }
+ w = getAssociatedWidget(e);
+ w?$removeFromParent_0(w):$removeFromParent(e);
+ }
+ return this$static;
+}
+
+function $removeData(this$static, item_0, name_0){
+ var id_0;
+ if (!dataCache) {
+ windowData = {};
+ dataCache = {};
+ }
+ item_0 = item_0 == window_1 || item_0.nodeName == null?windowData:item_0;
+ id_0 = getHashCode(item_0);
+ if (name_0 != null) {
+ if (dataCache[valueOf_2(id_0)]) {
+ delete dynamicCastJso($get_1(dataCache, valueOf_2(id_0)))[name_0];
+ $isEmpty(dynamicCastJso($get_1(dataCache, valueOf_2(id_0)))) && $removeData(this$static, item_0, null);
+ }
+ }
+ else {
+ $delete(dataCache, valueOf_2(id_0));
+ }
+}
+
+function $select(this$static, selector, context){
+ var n;
+ n = $select_0((!engine && (engine = new SelectorEngine) , engine), selector, !context?document_0:context);
+ this$static.currentSelector = selector;
+ this$static.currentContext = context?context:document_0;
+ return $setArray(this$static, n);
+}
+
+function $setArray(this$static, list){
+ var i_0, l;
+ if (list) {
+ $clear(this$static.nodeList);
+ l = list.length;
+ this$static.elements = initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_5, 0, l, 2, 1);
+ for (i_0 = 0; i_0 < l; i_0++) {
+ setCheck(this$static.elements, i_0, list[i_0]);
+ $add_0(this$static.nodeList, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [list[i_0]]));
+ }
+ }
+ return this$static;
+}
+
+function $slice(this$static, start_0, end){
+ var i_0, l, slice_0;
+ slice_0 = create_4(null);
+ l = this$static.elements.length;
+ (end == -1 || end > l) && (end = l);
+ for (i_0 = start_0; i_0 < end; i_0++) {
+ $addNode(slice_0, $get(this$static, i_0));
+ }
+ return new GQuery_3(slice_0);
+}
+
+function $text(this$static){
+ var e, e$array, e$index, e$max, result;
+ result = '';
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ result += ($clinit_DOMImpl() , e).textContent;
+ }
+ return result;
+}
+
+function $text_0(this$static, txt){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $setInnerText_0(($clinit_DOMImpl() , e), txt);
+ }
+ return this$static;
+}
+
+function $toString_1(this$static){
+ var e, e$array, e$index, e$max, e2, elStr, r;
+ r = '';
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (window_1 == e) {
+ continue;
+ }
+ try {
+ elStr = !!e && !$equals_2('HTML', (!e || !isElement(e)?null:e.nodeType == 9?e:e.ownerDocument).documentElement.nodeName)?(new XMLSerializer).serializeToString(e):($clinit_DOMImpl() , impl_0).toString_0(e);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e2 = $e0;
+ elStr = '< ' + (!e?'null':e.nodeName) + '(gquery, error getting the element string representation: ' + e2.getMessage() + ')/>';
+ }
+ else
+ throw unwrap($e0);
+ }
+ r += '' + elStr;
+ }
+ return r;
+}
+
+function $widget(this$static, n){
+ var e, e$array, e$index, e$max, w;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ w = getAssociatedWidget(e);
+ if (w) {
+ if (n == 0) {
+ return w;
+ }
+ --n;
+ }
+ }
+ return null;
+}
+
+function GQuery(){
+ $$init(this);
+}
+
+function GQuery_0(element){
+ GQuery_3.call(this, create_4(element));
+}
+
+function GQuery_1(list){
+ $$init(this);
+ $setArray(this, list);
+}
+
+function GQuery_2(gq){
+ $clinit_GQuery();
+ $$init(this);
+ this.elements = gq.elements;
+ this.nodeList = gq.nodeList;
+ this.currentSelector = gq.currentSelector;
+ this.currentContext = gq.currentContext;
+}
+
+function GQuery_3(nodes){
+ $clinit_GQuery();
+ GQuery_1.call(this, nodes);
+}
+
+function cleanHtmlString(elem, doc){
+ var depth, div, mResult, n, tag, wrapper, tableWrapper, selectWrapper, trWrapper;
+ mResult = $exec_0(tagNameRegex, elem);
+ if (!mResult) {
+ return $(doc.createTextNode(elem));
+ }
+ tag = mResult[1];
+ !wrapperMap && (tableWrapper = new GQuery$TagWrapper(1, '<table>', '<\/table>') , selectWrapper = new GQuery$TagWrapper(1, '<select multiple="multiple">', '<\/select>') , trWrapper = new GQuery$TagWrapper(3, '<table><tbody><tr>', '<\/tr><\/tbody><\/table>') , wrapperMap = {} , $put_1(wrapperMap, 'option', selectWrapper) , $put_1(wrapperMap, 'optgroup', selectWrapper) , $put_1(wrapperMap, 'legend', new GQuery$TagWrapper(1, '<fieldset>', '<\/fieldset>')) , $put_1(wrapperMap, 'thead', tableWrapper) , $put_1(wrapperMap, 'tbody', tableWrapper) , $put_1(wrapperMap, 'tfoot', tableWrapper) , $put_1(wrapperMap, 'colgroup', tableWrapper) , $put_1(wrapperMap, 'caption', tableWrapper) , $put_1(wrapperMap, 'tr', new GQuery$TagWrapper(2, '<table><tbody>', '<\/tbody><\/table>')) , $put_1(wrapperMap, 'td', trWrapper) , $put_1(wrapperMap, 'th', trWrapper) , $put_1(wrapperMap, 'col', new GQuery$TagWrapper(2, '<table><tbody><\/tbody><colgroup>', '<\/colgroup><\/table>')) , $put_1(wrapperMap, 'area', new GQuery$TagWrapper(1, '<map>', '<\/map>')) , undefined);
+ wrapper = dynamicCast($get_4(wrapperMap, tag.toLowerCase()), 56);
+ !wrapper && (wrapper = ($clinit_GQuery$TagWrapper() , DEFAULT_0));
+ div = ($clinit_DOMImpl() , doc).createElement('div');
+ $setInnerHTML(div, wrapper.preWrap + $trim(elem) + wrapper.postWrap);
+ n = div;
+ depth = wrapper.wrapDepth;
+ while (depth-- != 0) {
+ n = n.lastChild;
+ }
+ return $remove($(n.childNodes), false);
+}
+
+function data_1(element, key, value_0){
+ $clinit_GQuery();
+ var id_0;
+ if (!dataCache) {
+ windowData = {};
+ dataCache = {};
+ }
+ element = element == window_1 || element.nodeName == null?windowData:element;
+ if (!!element && key != null) {
+ id_0 = getHashCode(element);
+ if (value_0 == null) {
+ return dataCache[valueOf_2(id_0)]?$get_2(dynamicCastJso($get_1(dataCache, valueOf_2(id_0))), key, null):null;
+ }
+ !!dataCache[valueOf_2(id_0)] || $put(dataCache, valueOf_2(id_0), {});
+ $put(dynamicCastJso($get_1(dataCache, valueOf_2(id_0))), key, value_0);
+ }
+ return value_0;
+}
+
+function getAssociatedWidget(e){
+ $clinit_GQuery();
+ var e2, listener;
+ try {
+ listener = ($clinit_DOM() , getEventListener(e));
+ if (!listener) {
+ return null;
+ }
+ if (instanceOf(listener, 17)) {
+ return dynamicCast(listener, 17);
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e2 = $e0;
+ $printStackTrace(e2);
+ }
+ else
+ throw unwrap($e0);
+ }
+ return null;
+}
+
+function registerPlugin(plugin, pluginFactory){
+ $clinit_GQuery();
+ !plugins && (plugins = {});
+ $put_0(plugins, plugin, pluginFactory);
+ return plugin;
+}
+
+defineClass(20, 1, {20:1}, GQuery, GQuery_0, GQuery_1, GQuery_3);
+_.delay_0 = function(milliseconds, f){
+ return $delay_0(dynamicCast($as(this, ($clinit_QueuePlugin() , Queue)), 78), milliseconds, f);
+}
+;
+_.toString$ = function(){
+ return $toString_1(this);
+}
+;
+var Widgets, attributeImpl, browser, console_0, dataCache = null, document_0, engine, plugins, styleImpl, tagNameRegex, window_1, windowData = null, wrapperMap;
+var Lcom_google_gwt_query_client_GQuery_2_classLit = createForClass('com.google.gwt.query.client', 'GQuery', 20, Ljava_lang_Object_2_classLit);
+function $clinit_GQuery$TagWrapper(){
+ $clinit_GQuery$TagWrapper = emptyMethod;
+ DEFAULT_0 = new GQuery$TagWrapper(0, '', '');
+}
+
+function GQuery$TagWrapper(wrapDepth, preWrap, postWrap){
+ $clinit_GQuery$TagWrapper();
+ this.wrapDepth = wrapDepth;
+ this.postWrap = postWrap;
+ this.preWrap = preWrap;
+}
+
+defineClass(56, 1, {56:1}, GQuery$TagWrapper);
+_.wrapDepth = 0;
+var DEFAULT_0;
+var Lcom_google_gwt_query_client_GQuery$TagWrapper_2_classLit = createForClass('com.google.gwt.query.client', 'GQuery/TagWrapper', 56, Ljava_lang_Object_2_classLit);
+defineClass(47, 1, $intern_22);
+_.f_2 = function(e, index_0){
+ return false;
+}
+;
+var Lcom_google_gwt_query_client_Predicate_2_classLit = createForClass('com.google.gwt.query.client', 'Predicate', 47, Ljava_lang_Object_2_classLit);
+function $get_0(this$static, name_0){
+ return $get_1(this$static, '' + name_0);
+}
+
+function $getArray(this$static, name_0){
+ return $getArray_0(this$static, '' + name_0);
+}
+
+function $getFloat(this$static, name_0){
+ var r;
+ return r = dynamicCast($get_2(this$static, '' + name_0, Ljava_lang_Float_2_classLit), 88) , !r?0:r.value_0;
+}
+
+function $getFunction(this$static, name_0){
+ var f, o;
+ o = $get_1(this$static, '' + name_0);
+ if (o != null) {
+ if (instanceOf(o, 8)) {
+ return dynamicCast(o, 8);
+ }
+ else if (instanceOfJso(o)) {
+ f = $getObject_0(dynamicCastJso(o), '__f');
+ if (f != null && instanceOf(f, 8)) {
+ return dynamicCast(f, 8);
+ }
+ return new JsUtils$JsFunction(dynamicCastJso(o));
+ }
+ }
+ return null;
+}
+
+function $getJavaScriptObject(this$static, name_0){
+ return $getJavaScriptObject_0(this$static, '' + name_0);
+}
+
+function $getObject_0(this$static, name_0){
+ return $get_1(this$static, '' + name_0);
+}
+
+function $getStr(this$static, name_0){
+ return $getString_0(this$static, '' + name_0);
+}
+
+function $set(this$static, name_0, val){
+ $put(this$static, '' + name_0, val);
+ return this$static;
+}
+
+function $setBoolean(this$static, name_0){
+ $putBoolean(this$static, name_0, true);
+}
+
+function $setFunction(this$static, name_0, f){
+ if (!f)
+ return;
+ this$static[name_0] = function(){
+ f.fe(arguments);
+ }
+ ;
+ this$static[name_0].__f = f;
+}
+
+function $setNumber(this$static, val){
+ $putNumber(this$static, 'colSpan', val);
+}
+
+function getDataImpl__Ljava_lang_Object___devirtual$(this$static){
+ return hasJavaObjectVirtualDispatch(this$static)?this$static.getDataImpl():this$static;
+}
+
+var Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit = createForInterface('com.google.gwt.query.client.builders', 'JsonBuilder');
+function $getArrayBase(this$static, r, clazz){
+ var a, c, i_0, l, w;
+ a = $getArray(this$static.p, 'values');
+ l = r.length;
+ for (i_0 = 0; i_0 < l; i_0++) {
+ w = $get_1(a, valueOf_2(i_0));
+ c = getClass__Ljava_lang_Class___devirtual$(w);
+ do {
+ if (c == clazz) {
+ setCheck(r, i_0, w);
+ break;
+ }
+ c = c.superclass;
+ }
+ while (c);
+ }
+ return r;
+}
+
+function $getIsPropertiesArrayBase(js, r, clazz){
+ var a1, i_0;
+ a1 = js;
+ for (i_0 = 0; i_0 < r.length; i_0++) {
+ setCheck(r, i_0, $getIsPropertiesBase($get_1(a1, valueOf_2(i_0)), clazz));
+ }
+ return r;
+}
+
+function $getIsPropertiesBase(o, clazz){
+ return !jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , $load($create(clazz), o);
+}
+
+function $load(this$static, prp){
+ if (!(prp == null || instanceOfJso(prp) || isJavaString(prp))) {
+ debugger;
+ throw new AssertionError;
+ }
+ if (prp != null && isJavaString(prp)) {
+ return $load(this$static, parseJSON(dynamicCastToString(prp)));
+ }
+ prp != null && (this$static.p = dynamicCastJso(prp));
+ return this$static;
+}
+
+function $setArrayBase(this$static, n, r){
+ var a, o, o$index, o$max;
+ if (r.length > 0 && instanceOf(r[0], 45)) {
+ a = [];
+ for (o$index = 0 , o$max = r.length; o$index < o$max; ++o$index) {
+ o = r[o$index];
+ $push(a, dynamicCast(o, 45).getDataImpl());
+ }
+ $set(this$static.p, n, a);
+ }
+ else {
+ a = [];
+ $add_0(a, r);
+ $set(this$static.p, n, a);
+ }
+}
+
+function JsonBuilderBase(){
+ this.p = {};
+}
+
+defineClass(55, 1, $intern_23);
+_.getDataImpl = function(){
+ return this.p;
+}
+;
+_.load = function(prp){
+ return $load(this, prp);
+}
+;
+_.parse_0 = function(json, fix){
+ return fix?$load(this, parseJSON((ret = $replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceAll_0($replaceFirst($replaceAll_0($replaceAll_0($replaceAll_0(json, '\\s*/\\*[\\s\\S]*?\\*/\\s*', ''), '([:\\)\\(,;}{\'"])\\s+', '$1'), '\\s+([:\\)\\(,;}{\'"])', '$1'), '^[\\(]+(.*)[\\)]+$', '$1'), '\\(["\']([^\\)]+)["\']\\)', '($1)'), '[;,]+([\\w-\\$]+:|$)', ';$1'), '([^,;])([\\]}])', '$1;$2'), ':\\s*["\']?([^;\\{\\}\\[\\]"\']*)["\']?\\s*([;,]+|$)', ':"$1";'), '[;,]+([\\w-]+):', ';$1:'), "(^|[^\\w-\\$'])([\\w-\\$]+):(['\"\\[{])", '$1"$2":$3'), "(^|[^\\w-\\$'])([\\w-\\$]+):(['\"\\[{])", '$1"$2":$3'), "(|[\\[\\]\\{\\},\\(])'([^']*)'", '$1"$2"'), ';([^:]+):', ',$1:'), ';([^:]+):', ',$1:'), ':"(-?\\d[\\d\\.]*|null|false|true)"[;,]', ':$1,'), '[;,]+([\\]\\}]|$)', '$1') , $matches(ret, '(^[\\[\\{].*[\\]\\}]$)')?ret:'{' + ret + '}'))):$load(this, parseJSON(json));
+}
+;
+_.set_0 = function(key, val){
+ return val != null && (!isJavaString(val) && !hasTypeMarker(val) || canCast(val, 52))?$set(this.p, key, getDataImpl__Ljava_lang_Object___devirtual$(dynamicCastAllowJso(val, 52))):$set(this.p, key, val) , this;
+}
+;
+_.toString$ = function(){
+ return $JSON2String(this.p);
+}
+;
+var Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonBuilderBase', 55, Ljava_lang_Object_2_classLit);
+function JsonBuilder_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(479, 55, $intern_23, JsonBuilder_JsonBuilder);
+var Lcom_google_gwt_query_client_builders_JsonBuilder_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonBuilder_JsonBuilder', 479, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $create(clz){
+ if (clz == Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit)
+ return new JsonBuilder_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit)
+ return new Observe_MutationObserverInit_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit)
+ return new Observe_MutationRecords_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit)
+ return new Observe_MutationRecords_MutationRecord_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit)
+ return new Ajax_Settings_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit)
+ return new GData_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit)
+ return new GData_GAjaxConf_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit)
+ return new GData_GAjaxConf_GAjaxResponse_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit)
+ return new GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit)
+ return new GData_GColumn_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit)
+ return new GData_GColumn_GHeader_JsonBuilder;
+ $error(($clinit_GQuery() , console_0), 'GQ.create: not registered class :' + clz);
+ return null;
+}
+
+function JsonFactory_JsonBuilder(){
+}
+
+defineClass(39, 1, {}, JsonFactory_JsonBuilder);
+var Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonFactory_JsonBuilder', 39, Ljava_lang_Object_2_classLit);
+function $clinit_AttributeImpl(){
+ $clinit_AttributeImpl = emptyMethod;
+ BOOLEAN_ATTR_REGEX = new RegExp('^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$', 'i');
+}
+
+function $getAttributeSetter(key){
+ if ($equalsIgnoreCase('type', key)) {
+ return $clinit_AttributeImpl$TypeAttrSetter() , !INSTANCE_3 && (INSTANCE_3 = new AttributeImpl$TypeAttrSetter) , $clinit_AttributeImpl$TypeAttrSetter() , INSTANCE_3;
+ }
+ else if ($equals_2('id', key)) {
+ return !INSTANCE_2 && (INSTANCE_2 = new AttributeImpl$IdAttrSetter) , INSTANCE_2;
+ }
+ else if ($equals_2('value', key)) {
+ return !INSTANCE_4 && (INSTANCE_4 = new AttributeImpl$ValueAttrSetter) , INSTANCE_4;
+ }
+ else if ($test(BOOLEAN_ATTR_REGEX, key)) {
+ return !INSTANCE_1 && (INSTANCE_1 = new AttributeImpl$BooleanAttrSetter) , INSTANCE_1;
+ }
+ return !INSTANCE_0 && (INSTANCE_0 = new AttributeImpl$DefaultSetter) , INSTANCE_0;
+}
+
+function $removeAttribute_0(gQuery, key){
+ var e, e$array, e$index, e$max;
+ for (e$array = gQuery.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (e.nodeType != 1) {
+ continue;
+ }
+ hasProperty(e, key) && ($test(BOOLEAN_ATTR_REGEX, key)?$setPropertyBoolean(e, key, false):$setPropertyObject(e, key, null));
+ $removeAttribute(e, key);
+ }
+}
+
+function $setAttribute_0(gQuery, key, value_0){
+ var e, e$array, e$index, e$max, nodeType, setter;
+ setter = $getAttributeSetter(key);
+ if (setter.isRemoval(value_0)) {
+ $removeAttribute_0((!($clinit_GQuery() , attributeImpl) && (attributeImpl = new AttributeImpl) , gQuery), key);
+ return;
+ }
+ value_0 = value_0;
+ for (e$array = gQuery.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ nodeType = e.nodeType;
+ if (nodeType == 3 || nodeType == 8 || nodeType == 2) {
+ continue;
+ }
+ setter.setAttribute_0(e, key, value_0);
+ }
+}
+
+function AttributeImpl(){
+ $clinit_AttributeImpl();
+}
+
+defineClass(193, 1, {}, AttributeImpl);
+var BOOLEAN_ATTR_REGEX;
+var Lcom_google_gwt_query_client_impl_AttributeImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl', 193, Ljava_lang_Object_2_classLit);
+function $setAttribute_1(e, key, value_0){
+ $setAttribute(e, key, '' + value_0);
+}
+
+function AttributeImpl$DefaultSetter(){
+}
+
+defineClass(528, 1, {}, AttributeImpl$DefaultSetter);
+_.isRemoval = function(value_0){
+ return value_0 == null;
+}
+;
+_.setAttribute_0 = function(e, key, value_0){
+ $setAttribute_1(e, key, value_0);
+}
+;
+var INSTANCE_0;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/DefaultSetter', 528, Ljava_lang_Object_2_classLit);
+function AttributeImpl$BooleanAttrSetter(){
+}
+
+defineClass(530, 528, {}, AttributeImpl$BooleanAttrSetter);
+_.isRemoval = function(value_0){
+ return value_0 == null || $equals_0(($clinit_Boolean() , FALSE), value_0);
+}
+;
+_.setAttribute_0 = function(e, key, value_0){
+ hasProperty(e, key) && $setPropertyBoolean(e, key, true);
+ $setAttribute_1(e, key, key.toLowerCase());
+}
+;
+var INSTANCE_1;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/BooleanAttrSetter', 530, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function AttributeImpl$IdAttrSetter(){
+}
+
+defineClass(531, 528, {}, AttributeImpl$IdAttrSetter);
+_.setAttribute_0 = function(e, key, value_0){
+ $setId(e, value_0 == null?null:toString__Ljava_lang_String___devirtual$(value_0));
+ $setAttribute(e, key, '' + value_0);
+}
+;
+var INSTANCE_2;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/IdAttrSetter', 531, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function $clinit_AttributeImpl$TypeAttrSetter(){
+ $clinit_AttributeImpl$TypeAttrSetter = emptyMethod;
+ NOT_AUTHORIZED_NODE = new RegExp('^(?:button|input)$', 'i');
+}
+
+function AttributeImpl$TypeAttrSetter(){
+ $clinit_AttributeImpl$TypeAttrSetter();
+}
+
+defineClass(532, 528, {}, AttributeImpl$TypeAttrSetter);
+_.setAttribute_0 = function(e, name_0, value_0){
+ var ie, keepValue, tag;
+ tag = e.nodeName;
+ if ($test(NOT_AUTHORIZED_NODE, tag) && $parents($(e), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['body'])).elements.length > 0) {
+ throw new RuntimeException_0('You cannot change type of button or input element if the element is already attached to the dom');
+ }
+ if ($equals_2('input', tag.toLowerCase()) && $equals_2('radio', value_0)) {
+ ie = as_2(e);
+ keepValue = ie.value;
+ $setAttribute(ie, 'type', '' + value_0);
+ ie.value = keepValue;
+ }
+ else {
+ $setAttribute(e, name_0, '' + value_0);
+ }
+}
+;
+var INSTANCE_3, NOT_AUTHORIZED_NODE;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/TypeAttrSetter', 532, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function AttributeImpl$ValueAttrSetter(){
+}
+
+defineClass(529, 528, {}, AttributeImpl$ValueAttrSetter);
+_.setAttribute_0 = function(e, key, value_0){
+ $setPropertyObject(e, 'value', '' + value_0);
+ $setAttribute(e, key, '' + value_0);
+}
+;
+var INSTANCE_4;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/ValueAttrSetter', 529, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function $error(this$static, arg){
+ this$static.impl.error_0($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [arg])));
+}
+
+function $info(this$static, arg){
+ this$static.impl.info_0($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [arg])));
+}
+
+function $toJs(arg){
+ var o, o$index, o$max, ret;
+ ret = [];
+ for (o$index = 0 , o$max = arg.length; o$index < o$max; ++o$index) {
+ o = arg[o$index];
+ $add_0(ret, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [o]));
+ }
+ return ret;
+}
+
+function ConsoleBrowser(){
+ this.impl = ($clinit_GQuery() , browser).ie8?new ConsoleBrowser$ConsoleIe8:browser.ie9?new ConsoleBrowser$ConsoleIe9:new ConsoleBrowser$ConsoleImpl;
+}
+
+defineClass(340, 1, {}, ConsoleBrowser);
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser', 340, Ljava_lang_Object_2_classLit);
+function $error_0(arg){
+ $wnd.console.error.apply($wnd.console, arg);
+}
+
+function $info_0(arg){
+ $wnd.console.info.apply($wnd.console, arg);
+}
+
+function $log(arg){
+ $wnd.console.log.apply($wnd.console, arg);
+}
+
+function ConsoleBrowser$ConsoleImpl(){
+}
+
+defineClass(341, 1, {}, ConsoleBrowser$ConsoleImpl);
+_.error_0 = function(arg){
+ $error_0(arg);
+}
+;
+_.info_0 = function(arg){
+ $info_0(arg);
+}
+;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleImpl', 341, Ljava_lang_Object_2_classLit);
+function ConsoleBrowser$ConsoleIe9(){
+ this.init();
+}
+
+defineClass(167, 341, {}, ConsoleBrowser$ConsoleIe9);
+_.error_0 = function(arg){
+ this.initialized && $error_0(arg);
+}
+;
+_.info_0 = function(arg){
+ this.initialized && $info_0(arg);
+}
+;
+_.init = function init_1(){
+ try {
+ ['log', 'info', 'warn', 'error', 'dir', 'clear', 'profile', 'profileEnd'].forEach(function(method){
+ $wnd.console[method] = this.call($wnd.console[method], $wnd.console);
+ }
+ , Function.prototype.bind);
+ this.initialized = true;
+ }
+ catch (e) {
+ }
+}
+;
+_.initialized = false;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleIe9', 167, Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2_classLit);
+function ConsoleBrowser$ConsoleIe8(){
+ ConsoleBrowser$ConsoleIe9.call(this);
+}
+
+defineClass(342, 167, {}, ConsoleBrowser$ConsoleIe8);
+_.init = function init_2(){
+ try {
+ Function.prototype.call.call($wnd.console.log, $wnd.console, Array.prototype.slice.call(arguments));
+ this.initialized = true;
+ }
+ catch (e) {
+ }
+}
+;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleIe8', 342, Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_2_classLit);
+function $clinit_DocumentStyleImpl(){
+ $clinit_DocumentStyleImpl = emptyMethod;
+ cssNumberRegex = new RegExp('^(fillOpacity|fontWeight|lineHeight|opacity|orphans|widows|zIndex|zoom)$', 'i');
+ sizeRegex = new RegExp('^(client|offset|)(width|height)$', 'i');
+}
+
+function $curCSS(this$static, elem, name_0, force){
+ var ret, toDetach, lastParent, o;
+ if (!elem) {
+ return '';
+ }
+ name_0 = $fixPropertyName(name_0);
+ ret = $getProperty(elem.style, name_0);
+ if (force) {
+ toDetach = null;
+ isDetached(elem) && (toDetach = (lastParent = $get($last($parentsUntil($(elem))), 0) , !lastParent && (lastParent = elem) , $appendChild($doc.body, lastParent) , lastParent));
+ $test(sizeRegex, name_0)?(ret = $getVisibleSize(this$static, elem, name_0) + 'px'):$equalsIgnoreCase('opacity', name_0)?(ret = '' + (o = $getProperty(elem.style, 'opacity') , truth(o)?$num(o):1)):(ret = $getComputedStyle(elem, name_0.replace(/([A-Z])/g, '-$1').toLowerCase(), null));
+ !!toDetach && $removeFromParent(toDetach);
+ }
+ return ret == null?'':ret;
+}
+
+function $fixInlineElement(this$static, e){
+ if ((e.clientHeight | 0) == 0 && (e.clientWidth | 0) == 0 && $equals_2('inline', $curCSS(this$static, e, 'display', true))) {
+ $setStyleProperty(e, 'display', 'inline-block');
+ $setStyleProperty(e, 'width', 'auto');
+ $setStyleProperty(e, 'height', 'auto');
+ }
+}
+
+function $fixPropertyName(name_0){
+ if ($equalsIgnoreCase('float', name_0)) {
+ return 'cssFloat';
+ }
+ else if ($equalsIgnoreCase('for', name_0)) {
+ return 'htmlFor';
+ }
+ return camelize(name_0);
+}
+
+function $getComputedStyle(elem, hyphenName, pseudo){
+ try {
+ var cStyle = $doc.defaultView.getComputedStyle(elem, pseudo);
+ return cStyle && cStyle.getPropertyValue?cStyle.getPropertyValue(hyphenName):null;
+ }
+ catch (e) {
+ return null;
+ }
+}
+
+function $getSize(this$static, e, name_0){
+ var ret;
+ ret = 0;
+ $equals_2('width', name_0)?(ret = ($fixInlineElement(this$static, e) , round_int((e.clientWidth | 0) - $num($curCSS(this$static, e, 'paddingLeft', true)) - $num($curCSS(this$static, e, 'paddingRight', true))))):$equals_2('height', name_0)?(ret = ($fixInlineElement(this$static, e) , round_int((e.clientHeight | 0) - $num($curCSS(this$static, e, 'paddingTop', true)) - $num($curCSS(this$static, e, 'paddingBottom', true))))):$equals_2('clientWidth', name_0)?(ret = e.clientWidth | 0):$equals_2('clientHeight', name_0)?(ret = e.clientHeight | 0):$equals_2('offsetWidth', name_0)?(ret = $getSubPixelOffsetWidth(e) | 0):$equals_2('offsetHeight', name_0) && (ret = $getSubPixelOffsetHeight(e) | 0);
+ return ret;
+}
+
+function $getVisibleSize(this$static, e, name_0){
+ var display, position, ret, visibility;
+ if (dynamicCast($get_3(($clinit_SelectorEngine() , filters_0), getHashCode_0('visible')), 47).f_2(e, 0)) {
+ ret = $getSize(this$static, e, name_0);
+ }
+ else {
+ display = $curCSS(this$static, e, 'display', false);
+ position = $curCSS(this$static, e, 'position', false);
+ visibility = $curCSS(this$static, e, 'visibility', false);
+ $setStyleProperty(e, 'display', 'block');
+ $setStyleProperty(e, 'position', 'absolute');
+ $setStyleProperty(e, 'visibility', 'hidden');
+ ret = $getSize(this$static, e, name_0);
+ $setStyleProperty(e, 'display', display);
+ $setStyleProperty(e, 'position', position);
+ $setStyleProperty(e, 'visibility', visibility);
+ }
+ return ret;
+}
+
+function $num(val){
+ val = $replaceAll_0($trim(val), '[^\\d\\.\\-]+.*$', '');
+ return truth(val)?__parseAndValidateDouble(val):0;
+}
+
+function $setStyleProperty(e, prop, val){
+ if (!e || prop == null) {
+ return;
+ }
+ prop = $fixPropertyName(prop);
+ $matches(prop, '^[A-Z]+$') && (prop = prop.toLowerCase());
+ prop = camelize(prop);
+ if (val == null || $trim(val).length == 0) {
+ $setProperty_0(e.style, prop, '');
+ }
+ else {
+ $matches(val, '-?[\\d\\.]+') && !$test(cssNumberRegex, prop) && (val += 'px');
+ $setProperty_0(e.style, prop, val);
+ }
+}
+
+function DocumentStyleImpl(){
+ $clinit_DocumentStyleImpl();
+}
+
+defineClass(352, 1, {}, DocumentStyleImpl);
+var cssNumberRegex, sizeRegex;
+var Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'DocumentStyleImpl', 352, Ljava_lang_Object_2_classLit);
+function $clinit_SelectorEngine(){
+ $clinit_SelectorEngine = emptyMethod;
+ hasQuerySelector = $doc.location.href.indexOf('_force_no_native') < 0 && typeof $doc.querySelectorAll == 'function';
+ filters_0 = {};
+ $put_0(filters_0, 'visible', new SelectorEngine$1);
+ $put_0(filters_0, 'hidden', new SelectorEngine$2);
+ $put_0(filters_0, 'selected', new SelectorEngine$3);
+ $put_0(filters_0, 'input', new SelectorEngine$4);
+ $put_0(filters_0, 'header', new SelectorEngine$5);
+}
+
+function $filter_1(nodes, p){
+ var e, i_0, j, l, res;
+ res = create_4(null);
+ for (i_0 = 0 , l = nodes.length , j = 0; i_0 < l; i_0++) {
+ e = nodes[i_0];
+ p.f_2(e, i_0) && $addNode_0(res, e, j++);
+ }
+ return res;
+}
+
+function $filter_2(this$static, nodes, selector){
+ return $filter_3(this$static, nodes, selector, this$static.filterDetached);
+}
+
+function $filter_3(this$static, nodes, selector, filterDetached){
+ var e, e$iterator, el, elmList, ghostParent, i_0, i0, l, l0, n, p, parents, res;
+ res = create_4(null);
+ if (!selector.length) {
+ return res;
+ }
+ ghostParent = null;
+ parents = new HashSet;
+ elmList = new HashSet;
+ for (i0 = 0 , l0 = nodes.length; i0 < l0; i0++) {
+ e = nodes[i0];
+ if (e == ($clinit_GQuery() , window_1) || e == document_0 || e.nodeName == null || $equalsIgnoreCase('html', e.nodeName)) {
+ continue;
+ }
+ $add_7(elmList, e);
+ if (filterDetached) {
+ p = $getParentElement_0(($clinit_DOMImpl() , e));
+ if (!p) {
+ if (!ghostParent) {
+ ghostParent = $createDivElement($doc);
+ $add_7(parents, ghostParent);
+ }
+ p = ghostParent;
+ p.appendChild(e);
+ }
+ else
+ parents.map_0.containsKey(p) || $add_7(parents, p);
+ }
+ else
+ parents.map_0.size_2() == 0 && $add_7(parents, document_0);
+ }
+ for (e$iterator = $iterator(new AbstractMap$1(parents.map_0)); e$iterator.val$outerIter2.hasNext();) {
+ e = dynamicCastJso($next_2(e$iterator));
+ n = $select_0(this$static, selector, e);
+ for (i_0 = 0 , l = n.length; i_0 < l; i_0++) {
+ el = n[i_0];
+ elmList.map_0.remove_2(el) != null && $add_0(res, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [el]));
+ }
+ }
+ !!ghostParent && $setInnerHTML(ghostParent, null);
+ return res;
+}
+
+function $select_0(this$static, selector, ctx){
+ var a, nodes, pred, pseudo, r, res, s, s$array, s$index, s$max, select;
+ if ($test(this$static.nativePseudo, selector)) {
+ while (r = $exec_0(this$static.nativePseudo, selector)) {
+ selector = r[1] + ':' + r[3];
+ $equals_2(r[3], r[2]) || (selector += ':' + r[2]);
+ selector += r[4];
+ }
+ }
+ if ($test(this$static.gQueryPseudo, selector)) {
+ res = create_4(null);
+ for (s$array = $split($trim(selector), '\\s*,\\s*', 0) , s$index = 0 , s$max = s$array.length; s$index < s$max; ++s$index) {
+ s = s$array[s$index];
+ a = $exec_0(this$static.gQueryPseudo, s);
+ if (a) {
+ select = !a[1].length?'*':a[1];
+ pseudo = a[2];
+ pred = dynamicCast($get_3(filters_0, getHashCode_0(pseudo.toLowerCase())), 47);
+ pred?(nodes = $filter_1($select_0(this$static, select, ctx), pred)):$test(this$static.nativePseudo, pseudo)?(nodes = $select_0(this$static, select, ctx)):(nodes = $select_0(this$static, select + '[type=' + pseudo + ']', ctx));
+ }
+ else {
+ nodes = $select_0(this$static, s, ctx);
+ }
+ copyNodeList(res, nodes, false);
+ }
+ return res;
+ }
+ else {
+ return this$static.impl.select(selector, ctx);
+ }
+}
+
+function SelectorEngine(){
+ $clinit_SelectorEngine();
+ this.gQueryPseudo = new RegExp('(.*):((visible|hidden|selected|input|header)|((button|checkbox|file|hidden|image|password|radio|reset|submit|text)\\s*(,|$)))(.*)', 'i');
+ this.nativePseudo = new RegExp('(.*):([\\w]+):(disabled|checked|enabled|empty|focus)\\s*([:,].*|$)', 'i');
+ this.impl = com_google_gwt_query_client_impl_SelectorEngineImpl();
+ 'GQuery - Created SelectorEngineImpl: ' + $getName(this.impl.___clazz$);
+ styleImpl_0 = new DocumentStyleImpl;
+ $ensureNamesAreInitialized(Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2_classLit);
+}
+
+function querySelectorAllImpl(selector, ctx){
+ $clinit_SelectorEngine();
+ return ctx.querySelectorAll(selector);
+}
+
+function xpathEvaluate(selector, ctx, r){
+ $clinit_SelectorEngine();
+ var node;
+ var ownerDoc = ctx && (ctx.ownerDocument || ctx);
+ var evalDoc = ownerDoc?ownerDoc:$doc;
+ var result = evalDoc.evaluate(selector, ctx, null, 0, null);
+ while (node = result.iterateNext()) {
+ r.push(node);
+ }
+ return r;
+}
+
+defineClass(114, 1, {}, SelectorEngine);
+_.select = function(selector, ctx){
+ return $select_0(this, selector, ctx);
+}
+;
+_.filterDetached = true;
+var filters_0, hasQuerySelector = false, styleImpl_0;
+var Lcom_google_gwt_query_client_impl_SelectorEngine_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine', 114, Ljava_lang_Object_2_classLit);
+function SelectorEngine$1(){
+}
+
+defineClass(347, 47, $intern_22, SelectorEngine$1);
+_.f_2 = function(e, index_0){
+ return ($getSubPixelOffsetWidth(e) | 0) + ($getSubPixelOffsetHeight(e) | 0) > 0 && !$equalsIgnoreCase('none', $curCSS(($clinit_SelectorEngine() , styleImpl_0), e, 'display', true));
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$1_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/1', 347, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$2(){
+}
+
+defineClass(348, 47, $intern_22, SelectorEngine$2);
+_.f_2 = function(e, index_0){
+ return !dynamicCast($get_3(($clinit_SelectorEngine() , filters_0), getHashCode_0('visible')), 47).f_2(e, index_0);
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$2_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/2', 348, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$3(){
+}
+
+defineClass(349, 47, $intern_22, SelectorEngine$3);
+_.f_2 = function(e, index_0){
+ return !!e['selected'];
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$3_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/3', 349, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$4(){
+}
+
+defineClass(350, 47, $intern_22, SelectorEngine$4);
+_.f_2 = function(e, index_0){
+ return $matches(e.nodeName.toLowerCase(), 'input|select|textarea|button');
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$4_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/4', 350, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$5(){
+}
+
+defineClass(351, 47, $intern_22, SelectorEngine$5);
+_.f_2 = function(e, index_0){
+ return $matches(e.nodeName.toLowerCase(), 'h\\d');
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$5_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/5', 351, Lcom_google_gwt_query_client_Predicate_2_classLit);
+defineClass(590, 1, {});
+var Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineImpl', 590, Ljava_lang_Object_2_classLit);
+function $clinit_SelectorEngineCssToXPath(){
+ $clinit_SelectorEngineCssToXPath = emptyMethod;
+ rc_scp = new SelectorEngineCssToXPath$1;
+ rc_$Attr = new SelectorEngineCssToXPath$2;
+ rc_Not = new SelectorEngineCssToXPath$3;
+ rc_nth_child = new SelectorEngineCssToXPath$4;
+ regs = initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, ["(['\\[])([^'\\]]*)([\\s\\.#])([^'\\]]*)(['\\]])", rc_scp, '\\[([^@\\]~\\$\\*\\^\\|\\!]+)(=[^\\]]+)?\\]', '[@$1$2]', '\\s*,\\s*', '|.//', '\\s*(\\+|~|>)\\s*', '$1', '([\\w\\-\\*])~([\\w\\-\\*])', '$1/following-sibling::$2', '([\\w\\-\\*])\\+([\\w\\-\\*])', '$1/following-sibling::*[1]/self::$2', '([\\w\\-\\*])>([\\w\\-\\*])', '$1/$2', '\\[([^=]+)=([^\'|"][^\\]]*)\\]', "[$1='$2']", '(^|[^\\w\\-\\*])(#|\\.)([\\w\\-]+)', '$1*$2$3', '([\\>\\+\\|\\~\\,\\s])([a-zA-Z\\*]+)', '$1//$2', '\\s+//', '//', '([\\w\\-\\*]+):first-child', '*[1]/self::$1', '([\\w\\-\\*]+):last-child', '$1[not(following-sibling::*)]', '([\\w\\-\\*]+):only-child', '*[last()=1]/self::$1', '([\\w\\-\\*]+):empty', '$1[not(*) and not(normalize-space())]', ':odd', ':nth-child(even)', ':even', ':nth-child(odd)', '(.+):not\\(([^\\)]*)\\)', rc_Not, '([a-zA-Z0-9\\_\\-\\*]*|\\]):nth-child\\(([^\\)]*)\\)', rc_nth_child, ':contains\\(([^\\)]*)\\)', "[contains(string(.),'$1')]", '\\[([\\w\\-]+)\\|=([^\\]]+)\\]', "[@$1=$2 or starts-with(@$1,concat($2,'-'))]", '\\[([\\w\\-]+)\\*=([^\\]]+)\\]', '[contains(@$1,$2)]', '\\[([\\w\\-]+)~=([^\\]]+)\\]', "[contains(concat(' ',normalize-space(@$1),' '),concat(' ',$2,' '))]", '\\[([\\w\\-]+)\\^=([^\\]]+)\\]', '[starts-with(@$1,$2)]', '\\[([\\w\\-]+)\\$=([^\\]]+)\\]', rc_$Attr, '\\[([\\w\\-]+)\\!=([^\\]]+)\\]', '[not(@$1) or @$1!=$2]', '#([\\w\\-]+)', "[@id='$1']", '\\.([\\w\\-]+)', "[contains(concat(' ',normalize-space(@class),' '),' $1 ')]", '\\]\\[([^\\]]+)', ' and ($1)', ':(enabled)', '[not(@disabled)]', ':(checked)', "[@$1='$1']", ':(disabled)', '[@$1]', ':(first)', '[1]', ':(last)', '[last()]', '(^|\\|[\\./]*)(\\[)', '$1*$2', '%S%', ' ', '%P%', '.', '%H%', '#', "'+", "'"]);
+}
+
+function $css2Xpath(selector){
+ var i_0, ret;
+ ret = selector;
+ for (i_0 = 0; i_0 < regs.length;) {
+ ret = $replaceAll(ret, toString__Ljava_lang_String___devirtual$(regs[i_0++]), regs[i_0++]);
+ }
+ return './/' + ret;
+}
+
+function SelectorEngineCssToXPath(){
+ $clinit_SelectorEngineCssToXPath();
+ instance_1 = this;
+}
+
+defineClass(187, 590, {}, SelectorEngineCssToXPath);
+_.select = function(sel, ctx){
+ var elm, xsel;
+ !cache_0 && (cache_0 = {});
+ xsel = dynamicCastToString($get_4(cache_0, sel));
+ if (xsel == null) {
+ xsel = $equals_2(sel.substr(0, 2), './') || $equals_2(sel.substr(0, 1), '/')?sel:$css2Xpath(sel);
+ $put_1(cache_0, sel, xsel);
+ }
+ elm = create_4(null);
+ try {
+ xpathEvaluate(xsel, ctx, elm);
+ return $unique(elm);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ return elm;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+;
+var cache_0, instance_1, rc_$Attr, rc_Not, rc_nth_child, rc_scp, regs;
+var Lcom_google_gwt_query_client_impl_SelectorEngineCssToXPath_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineCssToXPath', 187, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function SelectorEngineCssToXPath$1(){
+}
+
+defineClass(474, 1, $intern_24, SelectorEngineCssToXPath$1);
+_.foundMatch = function(s){
+ return checkElementIndex(1, s.array.length) , dynamicCastToString(s.array[1]) + (checkElementIndex(2, s.array.length) , dynamicCastToString(s.array[2])) + ($startsWith((checkElementIndex(3, s.array.length) , dynamicCastToString(s.array[3])), ' ')?'%S%':$startsWith((checkElementIndex(3, s.array.length) , dynamicCastToString(s.array[3])), '#')?'%H%':'%P%') + (checkElementIndex(4, s.array.length) , dynamicCastToString(s.array[4])) + (checkElementIndex(5, s.array.length) , dynamicCastToString(s.array[5]));
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineCssToXPath$1_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineCssToXPath/1', 474, Ljava_lang_Object_2_classLit);
+function SelectorEngineCssToXPath$2(){
+}
+
+defineClass(475, 1, $intern_24, SelectorEngineCssToXPath$2);
+_.foundMatch = function(s){
+ return checkElementIndex(1, s.array.length) , '[substring(@' + dynamicCastToString(s.array[1]) + ',string-length(@' + (checkElementIndex(1, s.array.length) , dynamicCastToString(s.array[1])) + ')-' + ($length_1($replaceAll_0((checkElementIndex(2, s.array.length) , dynamicCastToString(s.array[2])), "'", '')) - 1) + ')=' + (checkElementIndex(2, s.array.length) , dynamicCastToString(s.array[2])) + ']';
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineCssToXPath$2_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineCssToXPath/2', 475, Ljava_lang_Object_2_classLit);
+function SelectorEngineCssToXPath$3(){
+}
+
+defineClass(476, 1, $intern_24, SelectorEngineCssToXPath$3);
+_.foundMatch = function(s){
+ return checkElementIndex(1, s.array.length) , dynamicCastToString(s.array[1]) + '[not(' + $replaceAll_0($css2Xpath(($clinit_SelectorEngineCssToXPath() , !instance_1 && (instance_1 = new SelectorEngineCssToXPath) , checkElementIndex(2, s.array.length) , dynamicCastToString(s.array[2]))), '^[^\\[]+\\[([^\\]]*)\\].*$', '$1)]');
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineCssToXPath$3_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineCssToXPath/3', 476, Ljava_lang_Object_2_classLit);
+function SelectorEngineCssToXPath$4(){
+}
+
+defineClass(477, 1, $intern_24, SelectorEngineCssToXPath$4);
+_.foundMatch = function(s){
+ var afterAttr, noPrefix, prefix, s1, s2, t, t0, t1;
+ s1 = (checkElementIndex(1, s.array.length) , dynamicCastToString(s.array[1]));
+ s2 = (checkElementIndex(2, s.array.length) , dynamicCastToString(s.array[2]));
+ afterAttr = $equals_2(']', s1);
+ prefix = afterAttr?s1:'*';
+ noPrefix = afterAttr || s1 == null || s1.length == 0;
+ if ($equals_2('n', s2)) {
+ return s1;
+ }
+ if ($equals_2('even', s2)) {
+ return prefix + '[position() mod 2=0 and position()>=0]' + (noPrefix?'':'/self::' + s1);
+ }
+ if ($equals_2('odd', s2)) {
+ prefix = afterAttr?prefix:noPrefix?'':s1;
+ return prefix + '[(count(preceding-sibling::*) + 1) mod 2=1]';
+ }
+ if (s2.indexOf('n') == -1) {
+ return prefix + '[position() = ' + s2 + ']' + (noPrefix?'':'/self::' + s1);
+ }
+ t = $split($replaceAll_0(s2, '^([0-9]*)n.*?([0-9]*)?$', '$1+$2'), '\\+', 0);
+ t0 = t[0];
+ t1 = t.length > 1?t[1]:'0';
+ return prefix + '[(position()-' + t1 + ') mod ' + t0 + '=0 and position()>=' + t1 + ']' + (noPrefix?'':'/self::' + s1);
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineCssToXPath$4_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineCssToXPath/4', 477, Ljava_lang_Object_2_classLit);
+function $replaceAll(s, r, o){
+ var a, args, callback, f, i_0, p;
+ p = new RegExp(r);
+ if (instanceOf(o, 120)) {
+ callback = dynamicCast(o, 120);
+ while (p.test(s)) {
+ a = p.exec(s);
+ args = new ArrayList;
+ for (i_0 = 0; !!a && i_0 < a.length; i_0++) {
+ $add_6(args, a[i_0]);
+ }
+ f = callback.foundMatch(args);
+ s = $replaceFirst(s, r, f);
+ }
+ return s;
+ }
+ else {
+ return $replaceAll_0(s, r, toString__Ljava_lang_String___devirtual$(o));
+ }
+}
+
+function SelectorEngineNative(){
+ if (!impl_2) {
+ impl_2 = com_google_gwt_query_client_impl_HasSelector();
+ 'GQuery - Created HasSelector: ' + $getName(impl_2.___clazz$);
+ }
+}
+
+defineClass(450, 590, {}, SelectorEngineNative);
+_.select = function(selector, ctx){
+ var e, xsel;
+ if (selector.indexOf('!=') != -1) {
+ !cache_1 && (cache_1 = {});
+ xsel = dynamicCastToString($get_4(cache_1, selector));
+ if (xsel == null) {
+ xsel = $replaceAll_0(selector, '(\\[\\w+)!(=[^\\]]+\\])', ':not($1$2)');
+ $put_1(cache_1, selector, xsel);
+ }
+ selector = xsel;
+ }
+ if (!($clinit_SelectorEngine() , hasQuerySelector) || $matches(selector, NATIVE_EXCEPTIONS_REGEXP)) {
+ return impl_2.select(selector, ctx);
+ }
+ else {
+ try {
+ return querySelectorAllImpl(selector, ctx);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $info(($clinit_GQuery() , console_0), 'ERROR SelectorEngineNative ' + e.getMessage() + ' ' + selector + ', falling back to ' + $replaceAll_0($getName(impl_2.___clazz$), '.*\\.', ''));
+ return impl_2.select(selector, ctx);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+}
+;
+var NATIVE_EXCEPTIONS_REGEXP = '(^[\\./]/.*)|(.*(:contains|:first([^-]|$)|:last([^-]|$)|:even|:odd)).*', cache_1, impl_2;
+var Lcom_google_gwt_query_client_impl_SelectorEngineNative_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineNative', 450, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function SelectorEngineNativeMin(){
+}
+
+defineClass(452, 590, {}, SelectorEngineNativeMin);
+_.select = function(selector, ctx){
+ var e;
+ try {
+ return querySelectorAllImpl(selector, ctx);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $error(($clinit_GQuery() , console_0), "GwtQuery: Selector '" + selector + "' is unsupported in this SelectorEngineNativeMin engine." + ' Do not use this syntax or configure your module to use a JS fallback. ' + e.getMessage());
+ return null;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineNativeMin_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineNativeMin', 452, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function SelectorEngineNativeMinIE8(){
+}
+
+defineClass(451, 590, {}, SelectorEngineNativeMinIE8);
+_.select = function(selector, ctx){
+ var e;
+ try {
+ return querySelectorAllImpl(selector, ctx);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $error(($clinit_GQuery() , console_0), "GwtQuery: Selector '" + selector + "' is unsupported in this SelectorEngineNativeMinIE8 engine," + " check that you are in 'standards mode' or configure your module to use JS fallback. " + e.getMessage());
+ return null;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineNativeMinIE8_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineNativeMinIE8', 451, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function SelectorEngineSizzleIE(){
+ initialize();
+}
+
+function initialize(){
+ (function(){
+ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, done = 0, toString_0 = Object.prototype.toString, hasDuplicate = false;
+ var IES = function(selector, context, results, seed){
+ results = results || [];
+ context = context || document;
+ var origContext = context;
+ if (context.nodeType !== 1 && context.nodeType !== 9) {
+ return [];
+ }
+ if (!selector || typeof selector !== 'string') {
+ return results;
+ }
+ var parts = [], m, set_0, checkSet, extra, prune = true, contextXML = IES.isXML(context), soFar = selector, ret, cur, pop_0, i_0;
+ do {
+ chunker.exec('');
+ m = chunker.exec(soFar);
+ if (m) {
+ soFar = m[3];
+ parts.push(m[1]);
+ if (m[2]) {
+ extra = m[3];
+ break;
+ }
+ }
+ }
+ while (m);
+ if (parts.length > 1 && origPOS.exec(selector)) {
+ if (parts.length === 2 && Expr.relative[parts[0]]) {
+ set_0 = posProcess(parts[0] + parts[1], context);
+ }
+ else {
+ set_0 = Expr.relative[parts[0]]?[context]:IES(parts.shift(), context);
+ while (parts.length) {
+ selector = parts.shift();
+ Expr.relative[selector] && (selector += parts.shift());
+ set_0 = posProcess(selector, set_0);
+ }
+ }
+ }
+ else {
+ if (!seed && parts.length > 1 && context.nodeType === 9 && !contextXML && Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1])) {
+ ret = IES.find(parts.shift(), context, contextXML);
+ context = ret.expr?IES.filter(ret.expr, ret.set)[0]:ret.set[0];
+ }
+ if (context) {
+ ret = seed?{expr:parts.pop(), set:makeArray(seed)}:IES.find(parts.pop(), parts.length === 1 && (parts[0] === '~' || parts[0] === '+') && context.parentNode?context.parentNode:context, contextXML);
+ set_0 = ret.expr?IES.filter(ret.expr, ret.set):ret.set;
+ parts.length > 0?(checkSet = makeArray(set_0)):(prune = false);
+ while (parts.length) {
+ cur = parts.pop();
+ pop_0 = cur;
+ !Expr.relative[cur]?(cur = '-'):(pop_0 = parts.pop());
+ pop_0 == null && (pop_0 = context);
+ Expr.relative[cur](checkSet, pop_0, contextXML);
+ }
+ }
+ else {
+ checkSet = parts = [];
+ }
+ }
+ !checkSet && (checkSet = set_0);
+ !checkSet && IES.error(cur || selector);
+ if (toString_0.call(checkSet) === '[object Array]') {
+ if (!prune) {
+ results.push.apply(results, checkSet);
+ }
+ else if (context && context.nodeType === 1) {
+ for (i_0 = 0; checkSet[i_0] != null; i_0++) {
+ checkSet[i_0] && (checkSet[i_0] === true || checkSet[i_0].nodeType === 1 && IES.contains(context, checkSet[i_0])) && results.push(set_0[i_0]);
+ }
+ }
+ else {
+ for (i_0 = 0; checkSet[i_0] != null; i_0++) {
+ checkSet[i_0] && checkSet[i_0].nodeType === 1 && results.push(set_0[i_0]);
+ }
+ }
+ }
+ else {
+ makeArray(checkSet, results);
+ }
+ if (extra) {
+ IES(extra, origContext, results, seed);
+ IES.uniqueSort(results);
+ }
+ return results;
+ }
+ ;
+ IES.uniqueSort = function(results){
+ if (sortOrder) {
+ hasDuplicate = false;
+ results.sort(sortOrder);
+ if (hasDuplicate) {
+ for (var i_0 = 1; i_0 < results.length; i_0++) {
+ results[i_0] === results[i_0 - 1] && results.splice(i_0--, 1);
+ }
+ }
+ }
+ return results;
+ }
+ ;
+ IES.matches = function(expr, set_0){
+ return IES(expr, null, null, set_0);
+ }
+ ;
+ IES.find = function(expr, context, isXML){
+ var set_0;
+ if (!expr) {
+ return [];
+ }
+ for (var i_0 = 0, l = Expr.order.length; i_0 < l; i_0++) {
+ var type_0 = Expr.order[i_0], match_0;
+ if (match_0 = Expr.leftMatch[type_0].exec(expr)) {
+ var left = match_0[1];
+ match_0.splice(1, 1);
+ if (left.substr(left.length - 1) !== '\\') {
+ match_0[1] = (match_0[1] || '').replace(/\\/g, '');
+ set_0 = Expr.find[type_0](match_0, context, isXML);
+ if (set_0 != null) {
+ expr = expr.replace(Expr.match[type_0], '');
+ break;
+ }
+ }
+ }
+ }
+ !set_0 && (set_0 = context.getElementsByTagName('*'));
+ return {set:set_0, expr:expr};
+ }
+ ;
+ IES.filter = function(expr, set_0, inplace, not){
+ var old = expr, result = [], curLoop = set_0, match_0, anyFound, isXMLFilter = set_0 && set_0[0] && IES.isXML(set_0[0]);
+ while (expr && set_0.length) {
+ for (var type_0 in Expr.filter) {
+ if ((match_0 = Expr.leftMatch[type_0].exec(expr)) != null && match_0[2]) {
+ var filter = Expr.filter[type_0], found, item_0, left = match_0[1];
+ anyFound = false;
+ match_0.splice(1, 1);
+ if (left.substr(left.length - 1) === '\\') {
+ continue;
+ }
+ curLoop === result && (result = []);
+ if (Expr.preFilter[type_0]) {
+ match_0 = Expr.preFilter[type_0](match_0, curLoop, inplace, result, not, isXMLFilter);
+ if (!match_0) {
+ anyFound = found = true;
+ }
+ else if (match_0 === true) {
+ continue;
+ }
+ }
+ if (match_0) {
+ for (var i_0 = 0; (item_0 = curLoop[i_0]) != null; i_0++) {
+ if (item_0) {
+ found = filter(item_0, match_0, i_0, curLoop);
+ var pass = not ^ !!found;
+ if (inplace && found != null) {
+ pass?(anyFound = true):(curLoop[i_0] = false);
+ }
+ else if (pass) {
+ result.push(item_0);
+ anyFound = true;
+ }
+ }
+ }
+ }
+ if (found !== undefined) {
+ !inplace && (curLoop = result);
+ expr = expr.replace(Expr.match[type_0], '');
+ if (!anyFound) {
+ return [];
+ }
+ break;
+ }
+ }
+ }
+ if (expr === old) {
+ if (anyFound == null) {
+ IES.error(expr);
+ }
+ else {
+ break;
+ }
+ }
+ old = expr;
+ }
+ return curLoop;
+ }
+ ;
+ IES.error = function(msg){
+ throw 'Syntax error, unrecognized expression: ' + msg;
+ }
+ ;
+ var Expr = IES.selectors = {order:['ID', 'NAME', 'TAG'], match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/, TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+\-]*)\))?/, POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/}, leftMatch:{}, attrMap:{'class':'className', 'for':'htmlFor'}, attrHandle:{href:function(elem){
+ return elem.getAttribute('href', 2);
+ }
+ }, relative:{'+':function(checkSet, part){
+ var isPartStr = typeof part === 'string', isTag = isPartStr && !/\W/.test(part), isPartStrNotTag = isPartStr && !isTag;
+ isTag && (part = part.toLowerCase());
+ for (var i_0 = 0, l = checkSet.length, elem; i_0 < l; i_0++) {
+ if (elem = checkSet[i_0]) {
+ while ((elem = elem.previousSibling) && elem.nodeType !== 1) {
+ }
+ checkSet[i_0] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part?elem || false:elem === part;
+ }
+ }
+ isPartStrNotTag && IES.filter(part, checkSet, true);
+ }
+ , '>':function(checkSet, part){
+ var isPartStr = typeof part === 'string', elem, i_0 = 0, l = checkSet.length;
+ if (isPartStr && !/\W/.test(part)) {
+ part = part.toLowerCase();
+ for (; i_0 < l; i_0++) {
+ elem = checkSet[i_0];
+ if (elem) {
+ var parent_0 = elem.parentNode;
+ checkSet[i_0] = parent_0.nodeName.toLowerCase() === part?parent_0:false;
+ }
+ }
+ }
+ else {
+ for (; i_0 < l; i_0++) {
+ elem = checkSet[i_0];
+ elem && (checkSet[i_0] = isPartStr?elem.parentNode:elem.parentNode === part);
+ }
+ isPartStr && IES.filter(part, checkSet, true);
+ }
+ }
+ , '-':function(checkSet, part, isXML){
+ var doneName = done++, checkFn = dirCheck, nodeCheck;
+ if (typeof part === 'string' && !/\W/.test(part)) {
+ part = part.toLowerCase();
+ nodeCheck = part;
+ checkFn = dirNodeCheck;
+ }
+ checkFn('parentNode', part, doneName, checkSet, nodeCheck, isXML);
+ }
+ , '~':function(checkSet, part, isXML){
+ var doneName = done++, checkFn = dirCheck, nodeCheck;
+ if (typeof part === 'string' && !/\W/.test(part)) {
+ part = part.toLowerCase();
+ nodeCheck = part;
+ checkFn = dirNodeCheck;
+ }
+ checkFn('previousSibling', part, doneName, checkSet, nodeCheck, isXML);
+ }
+ }, find:{ID:function(match_0, context, isXML){
+ if (typeof context.getElementById !== 'undefined' && !isXML) {
+ var m = context.getElementById(match_0[1]);
+ return m?m.id === match_0[1] || typeof m.getAttributeNode !== 'undefined' && m.getAttributeNode('id').nodeValue === match_0[1]?[m]:undefined:[];
+ }
+ }
+ , NAME:function(match_0, context){
+ if (typeof context.getElementsByName !== 'undefined') {
+ var ret = [], results = context.getElementsByName(match_0[1]);
+ for (var i_0 = 0, l = results.length; i_0 < l; i_0++) {
+ results[i_0].getAttribute('name') === match_0[1] && ret.push(results[i_0]);
+ }
+ return ret.length === 0?null:ret;
+ }
+ }
+ , TAG:function(match_0, context){
+ var results = context.getElementsByTagName(match_0[1]);
+ if (match_0[1] === '*') {
+ var tmp = [];
+ for (var i_0 = 0; results[i_0]; i_0++) {
+ results[i_0].nodeType === 1 && tmp.push(results[i_0]);
+ }
+ results = tmp;
+ }
+ return results;
+ }
+ }, preFilter:{CLASS:function(match_0, curLoop, inplace, result, not, isXML){
+ match_0 = ' ' + match_0[1].replace(/\\/g, '') + ' ';
+ if (isXML) {
+ return match_0;
+ }
+ for (var i_0 = 0, elem; (elem = curLoop[i_0]) != null; i_0++) {
+ elem && (not ^ (elem.className && (' ' + elem.className + ' ').replace(/[\t\n]/g, ' ').indexOf(match_0) >= 0)?!inplace && result.push(elem):inplace && (curLoop[i_0] = false));
+ }
+ return false;
+ }
+ , ID:function(match_0){
+ return match_0[1].replace(/\\/g, '');
+ }
+ , TAG:function(match_0, curLoop){
+ return match_0[1].toLowerCase();
+ }
+ , CHILD:function(match_0){
+ if (match_0[1] === 'nth') {
+ var test_0 = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(match_0[2] === 'even' && '2n' || match_0[2] === 'odd' && '2n+1' || !/\D/.test(match_0[2]) && '0n+' + match_0[2] || match_0[2]);
+ match_0[2] = test_0[1] + (test_0[2] || 1) - 0;
+ match_0[3] = test_0[3] - 0;
+ }
+ match_0[0] = done++;
+ return match_0;
+ }
+ , ATTR:function(match_0, curLoop, inplace, result, not, isXML){
+ var name_0 = match_0[1].replace(/\\/g, '');
+ !isXML && Expr.attrMap[name_0] && (match_0[1] = Expr.attrMap[name_0]);
+ match_0[2] === '~=' && (match_0[4] = ' ' + match_0[4] + ' ');
+ return match_0;
+ }
+ , PSEUDO:function(match_0, curLoop, inplace, result, not){
+ if (match_0[1] === 'not') {
+ if ((chunker.exec(match_0[3]) || '').length > 1 || /^\w/.test(match_0[3])) {
+ match_0[3] = IES(match_0[3], null, null, curLoop);
+ }
+ else {
+ var ret = IES.filter(match_0[3], curLoop, inplace, true ^ not);
+ !inplace && result.push.apply(result, ret);
+ return false;
+ }
+ }
+ else if (Expr.match.POS.test(match_0[0]) || Expr.match.CHILD.test(match_0[0])) {
+ return true;
+ }
+ return match_0;
+ }
+ , POS:function(match_0){
+ match_0.unshift(true);
+ return match_0;
+ }
+ }, filters:{enabled:function(elem){
+ return elem.disabled === false && elem.type !== 'hidden';
+ }
+ , disabled:function(elem){
+ return elem.disabled === true;
+ }
+ , checked:function(elem){
+ return elem.checked === true;
+ }
+ , selected:function(elem){
+ elem.parentNode.selectedIndex;
+ return elem.selected === true;
+ }
+ , parent:function(elem){
+ return !!elem.firstChild;
+ }
+ , empty:function(elem){
+ return !elem.firstChild;
+ }
+ , has:function(elem, i_0, match_0){
+ return !!IES(match_0[3], elem).length;
+ }
+ , header:function(elem){
+ return /h\d/i.test(elem.nodeName);
+ }
+ , text:function(elem){
+ return 'text' === elem.type;
+ }
+ , radio:function(elem){
+ return 'radio' === elem.type;
+ }
+ , checkbox:function(elem){
+ return 'checkbox' === elem.type;
+ }
+ , file:function(elem){
+ return 'file' === elem.type;
+ }
+ , password:function(elem){
+ return 'password' === elem.type;
+ }
+ , submit:function(elem){
+ return 'submit' === elem.type;
+ }
+ , image:function(elem){
+ return 'image' === elem.type;
+ }
+ , reset:function(elem){
+ return 'reset' === elem.type;
+ }
+ , button:function(elem){
+ return 'button' === elem.type || elem.nodeName.toLowerCase() === 'button';
+ }
+ , input:function(elem){
+ return /input|select|textarea|button/i.test(elem.nodeName);
+ }
+ }, setFilters:{first:function(elem, i_0){
+ return i_0 === 0;
+ }
+ , last:function(elem, i_0, match_0, array){
+ return i_0 === array.length - 1;
+ }
+ , even:function(elem, i_0){
+ return i_0 % 2 === 0;
+ }
+ , odd:function(elem, i_0){
+ return i_0 % 2 === 1;
+ }
+ , lt:function(elem, i_0, match_0){
+ return i_0 < match_0[3] - 0;
+ }
+ , gt:function(elem, i_0, match_0){
+ return i_0 > match_0[3] - 0;
+ }
+ , nth:function(elem, i_0, match_0){
+ return match_0[3] - 0 === i_0;
+ }
+ , eq:function(elem, i_0, match_0){
+ return match_0[3] - 0 === i_0;
+ }
+ }, filter:{PSEUDO:function(elem, match_0, i_0, array){
+ var name_0 = match_0[1], filter = Expr.filters[name_0];
+ if (filter) {
+ return filter(elem, i_0, match_0, array);
+ }
+ else if (name_0 === 'contains') {
+ return (elem.textContent || elem.innerText || IES.getText([elem]) || '').indexOf(match_0[3]) >= 0;
+ }
+ else if (name_0 === 'not') {
+ var not = match_0[3];
+ for (var j = 0, l = not.length; j < l; j++) {
+ if (not[j] === elem) {
+ return false;
+ }
+ }
+ return true;
+ }
+ else {
+ IES.error('Syntax error, unrecognized expression: ' + name_0);
+ }
+ }
+ , CHILD:function(elem, match_0){
+ var type_0 = match_0[1], node = elem;
+ switch (type_0) {
+ case 'only':
+ case 'first':
+ while (node = node.previousSibling) {
+ if (node.nodeType === 1) {
+ return false;
+ }
+ }
+
+ if (type_0 === 'first') {
+ return true;
+ }
+
+ node = elem;
+ case 'last':
+ while (node = node.nextSibling) {
+ if (node.nodeType === 1) {
+ return false;
+ }
+ }
+
+ return true;
+ case 'nth':
+ var first = match_0[2], last = match_0[3];
+ if (first === 1 && last === 0) {
+ return true;
+ }
+
+ var doneName = match_0[0], parent_0 = elem.parentNode;
+ if (parent_0 && (parent_0.sizcache !== doneName || !elem.nodeIndex)) {
+ var count = 0;
+ for (node = parent_0.firstChild; node; node = node.nextSibling) {
+ node.nodeType === 1 && (node.nodeIndex = ++count);
+ }
+ parent_0.sizcache = doneName;
+ }
+
+ var diff = elem.nodeIndex - last;
+ if (first === 0) {
+ return diff === 0;
+ }
+ else {
+ return diff % first === 0 && diff / first >= 0;
+ }
+
+ }
+ }
+ , ID:function(elem, match_0){
+ var node = typeof elem.getAttributeNode !== 'undefined' && elem.getAttributeNode('id');
+ return elem.nodeType === 1 && node && node.nodeValue === match_0;
+ }
+ , TAG:function(elem, match_0){
+ return match_0 === '*' && elem.nodeType === 1 || elem.nodeName.toLowerCase() === match_0;
+ }
+ , CLASS:function(elem, match_0){
+ return (' ' + (elem.className || elem.getAttribute('class')) + ' ').indexOf(match_0) > -1;
+ }
+ , ATTR:function(elem, match_0){
+ var name_0 = match_0[1], result = Expr.attrHandle[name_0]?Expr.attrHandle[name_0](elem):elem[name_0] != null?elem[name_0]:elem.getAttribute(name_0), value_0 = result + '', type_0 = match_0[2], check = match_0[4];
+ return result == null?type_0 === '!=':type_0 === '='?value_0 === check:type_0 === '*='?value_0.indexOf(check) >= 0:type_0 === '~='?(' ' + value_0 + ' ').indexOf(check) >= 0:!check?value_0 && result !== false:type_0 === '!='?value_0 !== check:type_0 === '^='?value_0.indexOf(check) === 0:type_0 === '$='?value_0.substr(value_0.length - check.length) === check:type_0 === '|='?value_0 === check || value_0.substr(0, check.length + 1) === check + '-':false;
+ }
+ , POS:function(elem, match_0, i_0, array){
+ var name_0 = match_0[2], filter = Expr.setFilters[name_0];
+ if (filter) {
+ return filter(elem, i_0, match_0, array);
+ }
+ }
+ }};
+ var origPOS = Expr.match.POS, fescape = function(all, num){
+ return '\\' + (num - 0 + 1);
+ }
+ ;
+ for (var type_1 in Expr.match) {
+ Expr.match[type_1] = new RegExp(Expr.match[type_1].source + /(?![^\[]*\])(?![^\(]*\))/.source);
+ Expr.leftMatch[type_1] = new RegExp(/(^(?:.|\r|\n)*?)/.source + Expr.match[type_1].source.replace(/\\(\d+)/g, fescape));
+ }
+ var makeArray = function(array, results){
+ array = Array.prototype.slice.call(array, 0);
+ if (results) {
+ results.push.apply(results, array);
+ return results;
+ }
+ return array;
+ }
+ ;
+ try {
+ Array.prototype.slice.call(document.documentElement.childNodes, 0)[0].nodeType;
+ }
+ catch (e) {
+ makeArray = function(array, results){
+ var ret = results || [], i_0 = 0;
+ if (toString_0.call(array) === '[object Array]') {
+ Array.prototype.push.apply(ret, array);
+ }
+ else {
+ if (typeof array.length === 'number') {
+ for (var l = array.length; i_0 < l; i_0++) {
+ ret.push(array[i_0]);
+ }
+ }
+ else {
+ for (; array[i_0]; i_0++) {
+ ret.push(array[i_0]);
+ }
+ }
+ }
+ return ret;
+ }
+ ;
+ }
+ var sortOrder = function(a, b){
+ if (!a.sourceIndex || !b.sourceIndex) {
+ a == b && (hasDuplicate = true);
+ return a.sourceIndex?-1:1;
+ }
+ var ret = a.sourceIndex - b.sourceIndex;
+ ret === 0 && (hasDuplicate = true);
+ return ret;
+ }
+ ;
+ IES.getText = function(elems){
+ var ret = '', elem;
+ for (var i_0 = 0; elems[i_0]; i_0++) {
+ elem = elems[i_0];
+ elem.nodeType === 3 || elem.nodeType === 4?(ret += elem.nodeValue):elem.nodeType !== 8 && (ret += IES.getText(elem.childNodes));
+ }
+ return ret;
+ }
+ ;
+ function dirNodeCheck(dir_0, cur, doneName, checkSet, nodeCheck, isXML){
+ for (var i_0 = 0, l = checkSet.length; i_0 < l; i_0++) {
+ var elem = checkSet[i_0];
+ if (elem) {
+ elem = elem[dir_0];
+ var match_0 = false;
+ while (elem) {
+ if (elem.sizcache === doneName) {
+ match_0 = checkSet[elem.sizset];
+ break;
+ }
+ if (elem.nodeType === 1 && !isXML) {
+ elem.sizcache = doneName;
+ elem.sizset = i_0;
+ }
+ if (elem.nodeName.toLowerCase() === cur) {
+ match_0 = elem;
+ break;
+ }
+ elem = elem[dir_0];
+ }
+ checkSet[i_0] = match_0;
+ }
+ }
+ }
+
+ function dirCheck(dir_0, cur, doneName, checkSet, nodeCheck, isXML){
+ for (var i_0 = 0, l = checkSet.length; i_0 < l; i_0++) {
+ var elem = checkSet[i_0];
+ if (elem) {
+ elem = elem[dir_0];
+ var match_0 = false;
+ while (elem) {
+ if (elem.sizcache === doneName) {
+ match_0 = checkSet[elem.sizset];
+ break;
+ }
+ if (elem.nodeType === 1) {
+ if (!isXML) {
+ elem.sizcache = doneName;
+ elem.sizset = i_0;
+ }
+ if (typeof cur !== 'string') {
+ if (elem === cur) {
+ match_0 = true;
+ break;
+ }
+ }
+ else if (IES.filter(cur, [elem]).length > 0) {
+ match_0 = elem;
+ break;
+ }
+ }
+ elem = elem[dir_0];
+ }
+ checkSet[i_0] = match_0;
+ }
+ }
+ }
+
+ IES.contains = function(a, b){
+ return a !== b && (a.contains?a.contains(b):true);
+ }
+ ;
+ IES.isXML = function(elem){
+ var documentElement = (elem?elem.ownerDocument || elem:0).documentElement;
+ return documentElement?documentElement.nodeName !== 'HTML':false;
+ }
+ ;
+ var posProcess = function(selector, context){
+ var tmpSet = [], later = '', match_0, root = context.nodeType?[context]:context;
+ while (match_0 = Expr.match.PSEUDO.exec(selector)) {
+ later += match_0[0];
+ selector = selector.replace(Expr.match.PSEUDO, '');
+ }
+ selector = Expr.relative[selector]?selector + '*':selector;
+ for (var i_0 = 0, l = root.length; i_0 < l; i_0++) {
+ IES(selector, root[i_0], tmpSet);
+ }
+ return IES.filter(later, tmpSet);
+ }
+ ;
+ window.IES = IES;
+ $wnd.IES = IES;
+ }
+ ());
+}
+
+defineClass(478, 590, {}, SelectorEngineSizzleIE);
+_.select = function(selector, context){
+ var results;
+ results = [];
+ return $wnd.IES(selector, context, results, null);
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngineSizzleIE_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineSizzleIE', 478, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function $clear(this$static){
+ var k_0, k$array, k$index, k$max;
+ for (k$array = $keys(this$static) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ $delete(this$static, k_0);
+ }
+}
+
+function $delete(this$static, name_0){
+ delete this$static[name_0];
+}
+
+function $get_1(this$static, id_0){
+ return gwtBox([this$static && this$static[id_0]]);
+}
+
+function $get_2(this$static, id_0, clz){
+ var d, o;
+ o = $get_1(this$static, id_0);
+ if (o != null && !!clz) {
+ if (instanceOf(o, 14)) {
+ d = dynamicCast(o, 14);
+ clz == Ljava_lang_Float_2_classLit?(o = new Float(d.value_0)):clz == Ljava_lang_Integer_2_classLit?(o = valueOf_2(round_int(d.value_0))):clz == Ljava_lang_Long_2_classLit?(o = valueOf_3(fromDouble(d.value_0))):clz == Ljava_lang_Short_2_classLit?(o = valueOf_4(round_short(d.value_0))):clz == Ljava_lang_Byte_2_classLit && (o = valueOf_1(round_byte(d.value_0)));
+ }
+ else
+ clz == Ljava_lang_Boolean_2_classLit && !instanceOf(o, 41)?(o = ($clinit_Boolean() , $equalsIgnoreCase('true', '' + o)?TRUE:FALSE)):clz == Ljava_lang_String_2_classLit && !isJavaString(o) && (o = '' + o);
+ }
+ return o;
+}
+
+function $getArray_0(this$static, id_0){
+ var r = this$static[id_0];
+ if (Object.prototype.toString.call(r) == '[object Array]') {
+ return r;
+ }
+ return null;
+}
+
+function $getBoolean(this$static){
+ var r;
+ r = dynamicCast($get_2(this$static, 'withCredentials', Ljava_lang_Boolean_2_classLit), 41);
+ return !!r && r.value_0;
+}
+
+function $getDouble(this$static, id_0){
+ var r;
+ r = dynamicCast($get_2(this$static, id_0, Ljava_lang_Double_2_classLit), 14);
+ return !r?0:r.value_0;
+}
+
+function $getJavaScriptObject_0(this$static, name_0){
+ var o;
+ o = $get_1(this$static, name_0);
+ return o != null && instanceOfJso(o)?dynamicCastJso(o):null;
+}
+
+function $getString_0(this$static, id_0){
+ return this$static[id_0] == null?null:String(this$static[id_0]);
+}
+
+function $isEmpty(this$static){
+ for (k in this$static) {
+ if (this$static.hasOwnProperty(k))
+ return false;
+ }
+ return true;
+}
+
+function $keys(this$static){
+ var a, i_0, ret;
+ a = $keysImpl(this$static);
+ ret = initDim(Ljava_lang_String_2_classLit, $intern_5, 2, a.length, 4, 1);
+ for (i_0 = 0; i_0 < a.length; i_0++) {
+ ret[i_0] = a[i_0];
+ }
+ return ret;
+}
+
+function $keysImpl(this$static){
+ var key, keys_0 = [];
+ for (key in this$static) {
+ this$static.hasOwnProperty(key) && key != '__gwt_ObjectId' && key != '$H' && keys_0.push(String(key));
+ }
+ return keys_0;
+}
+
+function $length(this$static){
+ if (typeof this$static.length == 'number')
+ return this$static.length;
+ var key, ret = 0;
+ for (key in this$static) {
+ key != '__gwt_ObjectId' && ret++;
+ }
+ return ret;
+}
+
+function $put(this$static, id_0, obj){
+ instanceOf(obj, 41)?$putBoolean(this$static, id_0, dynamicCast(obj, 41).value_0):instanceOf(obj, 53)?$putNumber(this$static, id_0, dynamicCast(obj, 53).doubleValue()):(this$static[id_0] = obj , this$static);
+ return this$static;
+}
+
+function $putBoolean(this$static, id_0, b){
+ this$static[id_0] = b;
+ return this$static;
+}
+
+function $putNumber(this$static, id_0, n){
+ this$static[id_0] = n;
+ return this$static;
+}
+
+function gwtBox(oneElementArray){
+ var r = oneElementArray;
+ if (typeof r == 'object' && r.length == 1) {
+ var r = r[0], t = typeof r;
+ if (t == 'boolean')
+ return $clinit_Boolean() , r?TRUE:FALSE;
+ if (t == 'number')
+ return new Double(r);
+ }
+ return r || null;
+}
+
+function $get_3(this$static, hashCode){
+ return $get_1(this$static, valueOf_2(hashCode));
+}
+
+function $put_0(this$static, key, val){
+ $put(this$static, valueOf_2(hashCode__I__devirtual$(key)), val);
+}
+
+function $get_4(this$static, key){
+ return $get_1(this$static, key);
+}
+
+function $put_1(this$static, key, val){
+ $put(this$static, key, val);
+}
+
+function $addNode(this$static, n){
+ $add_0(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_5, 0, 2, [n]));
+}
+
+function $addNode_0(this$static, n, i_0){
+ $put(this$static, valueOf_2(i_0), n);
+}
+
+function create_4(node){
+ return node?[node]:[];
+}
+
+function $add_0(this$static, vals){
+ var t, t$index, t$max;
+ for (t$index = 0 , t$max = vals.length; t$index < t$max; ++t$index) {
+ t = vals[t$index];
+ instanceOf(t, 53)?$putNumber(this$static, valueOf_2($length(this$static)), dynamicCast(t, 53).doubleValue()):instanceOf(t, 41)?$putBoolean(this$static, valueOf_2($length(this$static)), dynamicCast(t, 41).value_0):$put(this$static, valueOf_2($length(this$static)), t);
+ }
+ return this$static;
+}
+
+function camelize(s){
+ return s.replace(/\-(\w)/g, function(all, letter){
+ return letter.toUpperCase();
+ }
+ );
+}
+
+function copyNodeList(oldNodes, newNodes, create){
+ var e, i_0, i0, idlist, j, l, ret;
+ ret = !oldNodes || create?create_4(null):oldNodes;
+ idlist = {};
+ for (i0 = 0; !!oldNodes && i0 < oldNodes.length; i0++) {
+ e = oldNodes[i0];
+ $put(idlist, valueOf_2(getHashCode(e)), valueOf_2(1));
+ create && $addNode_0(ret, e, i0);
+ }
+ for (i_0 = 0 , l = newNodes.length , j = ret.length; i_0 < l; i_0++) {
+ e = newNodes[i_0];
+ !!idlist[valueOf_2(getHashCode(e))] || $addNode_0(ret, newNodes[i_0], j++);
+ }
+ return ret;
+}
+
+function hasProperty(o, name_0){
+ var p = name_0.split('.');
+ for (var i_0 in p) {
+ if (!(o && p[i_0] in o))
+ return false;
+ o = o[p[i_0]];
+ }
+ return true;
+}
+
+function isArray(o){
+ return Object.prototype.toString.call(o) == '[object Array]' || typeof o.length == 'number';
+}
+
+function isDetached(n){
+ if (!n) {
+ debugger;
+ throw new AssertionError;
+ }
+ if ($equalsIgnoreCase('html', n.nodeName)) {
+ return false;
+ }
+ return !$isOrHasChild((!n || !isElement(n)?null:n.nodeType == 9?n:n.ownerDocument).body, n);
+}
+
+function isElement(o){
+ return !!o && 'nodeType' in o && 'nodeName' in o;
+}
+
+function isFormData_0(o){
+ return Object.prototype.toString.call(o) == '[object FormData]';
+}
+
+function isFunction(o){
+ return Object.prototype.toString.call(o) == '[object Function]';
+}
+
+function jsni(jso, meth, args){
+ return runJavascriptFunctionImpl(jso, meth, $add_0([], args));
+}
+
+function jsni_0(args){
+ return runJavascriptFunctionImpl(null, 'onVaadinX', $add_0([], args));
+}
+
+function param(js){
+ var i_0, k_0, k$array, k$index, k$max, l, o, p, ret, v;
+ ret = '';
+ for (k$array = $keys(js) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ ret += !ret.length?'':'&';
+ o = $getArray_0(js, '' + k_0);
+ if (o) {
+ for (i_0 = 0 , l = $length(o); i_0 < l; i_0++) {
+ ret += i_0 > 0?'&':'';
+ p = $getJavaScriptObject_0(o, valueOf_2(i_0));
+ p?(ret += k_0 + '[]=' + $JSON2String(p)):(ret += k_0 + '[]=' + $getString_0(o, valueOf_2(i_0)));
+ }
+ }
+ else {
+ p = $getJavaScriptObject_0(js, '' + k_0);
+ if (p) {
+ ret += k_0 + '=' + $JSON2String(p);
+ }
+ else {
+ v = $getString_0(js, '' + k_0);
+ v != null && !!v.length && !$equalsIgnoreCase('null', v) && (ret += k_0 + '=' + v);
+ }
+ }
+ }
+ return ret;
+}
+
+function parseJSON(json){
+ try {
+ return safeEval(json);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ return {};
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function prop_0(o, id_0){
+ return !o?null:$get_1(o, id_0);
+}
+
+function prop_1(o, id_0, val){
+ !!o && $put(o, id_0, val);
+}
+
+function runJavascriptFunction(o, meth, args){
+ return runJavascriptFunctionImpl(o, meth, $add_0([], args));
+}
+
+function runJavascriptFunctionImpl(o, meth, args){
+ var f = o || $wnd, p = meth.split('.');
+ for (var i_0 in p) {
+ o = f;
+ f = f[p[i_0]];
+ if (!f)
+ return null;
+ }
+ return isFunction(f) && gwtBox([f.apply(o, args)]);
+}
+
+function truth(a){
+ return a?true:false;
+}
+
+function wrapFunction(f){
+ return function(r){
+ var o = new ArrayList;
+ for (i in arguments) {
+ r = gwtBox([arguments[i]]);
+ o.add_1(r);
+ }
+ o = o.toArray();
+ f.setArguments(o);
+ return f.fe_0(o);
+ }
+ ;
+}
+
+function $exec(f, data_0){
+ return gwtBox([f(data_0)]);
+}
+
+function JsUtils$JsFunction(f){
+ Function_0.call(this);
+ isFunction(f) && (this.jso = f);
+}
+
+defineClass(166, 8, $intern_21, JsUtils$JsFunction);
+_.equals$ = function(obj){
+ return maskUndefined(this.jso) === maskUndefined(obj);
+}
+;
+_.execute_1 = function(){
+ !!this.jso && $setArguments(this, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [$exec(this.jso, $getArgument(this, 0, null))]));
+}
+;
+_.f_0 = function(){
+ !!this.jso && $setArguments(this, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [$exec(this.jso, $getArgument(this, 0, null))]));
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this.jso);
+}
+;
+_.jso = null;
+var Lcom_google_gwt_query_client_js_JsUtils$JsFunction_2_classLit = createForClass('com.google.gwt.query.client.js', 'JsUtils/JsFunction', 166, Lcom_google_gwt_query_client_Function_2_classLit);
+function $JSON2String(o){
+ return $wnd.JSON.stringify(o);
+}
+
+function $parseXML(xml){
+ return (new DOMParser).parseFromString(xml, 'text/xml').documentElement;
+}
+
+function $unique(a){
+ var cache, e, i_0, id_0, ret;
+ ret = [];
+ cache = {};
+ for (i_0 = 0; i_0 < a.length; i_0++) {
+ e = a[i_0];
+ id_0 = getHashCode(e);
+ if (!cache[valueOf_2(id_0)]) {
+ $putNumber(cache, valueOf_2(id_0), 1);
+ $push(ret, e);
+ }
+ }
+ return ret;
+}
+
+function $clinit_Events(){
+ $clinit_Events = emptyMethod;
+ $clinit_GQuery();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Events_2_classLit, new Events$1);
+}
+
+function Events(gq){
+ $clinit_Events();
+ GQuery_2.call(this, gq);
+}
+
+defineClass(153, 20, {20:1}, Events);
+var Lcom_google_gwt_query_client_plugins_Events_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Events', 153, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function $clinit_Observe(){
+ $clinit_Observe = emptyMethod;
+ $clinit_Events();
+ Observe = registerPlugin(Lcom_google_gwt_query_client_plugin_Observe_2_classLit, new Observe$1);
+}
+
+function $observe(this$static, p, handler){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ observeImpl(e, p, handler);
+ }
+ return this$static;
+}
+
+function $observe_0(this$static, init, f){
+ return $observe(this$static, init.p, f);
+}
+
+function Observe_0(gq){
+ $clinit_Observe();
+ Events.call(this, gq);
+}
+
+function observeImpl(e, cfg, handler){
+ if ($wnd.MutationObserver) {
+ var observer = new $wnd.MutationObserver(function(mutations){
+ onMutation(handler, mutations);
+ }
+ );
+ (e.__gq_obs || (e.__gq_obs = [])).push(observer);
+ observer.observe(e, cfg);
+ }
+ else {
+ $wnd.console.log('ERROR: this browser does not support MutationObserver: ' + $wnd.navigator.userAgent);
+ }
+}
+
+function onMutation(handler, mutations){
+ var $tmp$0;
+ var p;
+ p = $set({}, 'mutations', mutations);
+ instanceOf(handler, 8)?dynamicCast(handler, 8).f_1(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [p])):instanceOf(handler, 546) && ($tmp$0 = dynamicCast(handler, 546) , trampolineBridgeMethod($tmp$0, $tmp$0.onMutation, $tmp$0.onMutation_0).bind($tmp$0)($mutations(dynamicCast(create_2(Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit, p), 596))));
+}
+
+defineClass(122, 153, {20:1, 122:1}, Observe_0);
+var Observe;
+var Lcom_google_gwt_query_client_plugin_Observe_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe', 122, Lcom_google_gwt_query_client_plugins_Events_2_classLit);
+function Observe$1(){
+}
+
+defineClass(215, 1, $intern_25, Observe$1);
+_.init_0 = function(gq){
+ return new Observe_0(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugin_Observe$1_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe/1', 215, Ljava_lang_Object_2_classLit);
+var Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationObserverInit');
+var Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords');
+var Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords/MutationRecord');
+function $attributes(this$static){
+ $setBoolean(this$static.p, 'attributes');
+ return this$static;
+}
+
+function $characterData(this$static){
+ $setBoolean(this$static.p, 'characterData');
+ return this$static;
+}
+
+function $childList(this$static){
+ $setBoolean(this$static.p, 'childList');
+ return this$static;
+}
+
+function $subtree(this$static){
+ $setBoolean(this$static.p, 'subtree');
+ return this$static;
+}
+
+function Observe_MutationObserverInit_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(480, 55, {52:1, 45:1, 595:1}, Observe_MutationObserverInit_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationObserverInit_JsonBuilder', 480, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $mutations(this$static){
+ var a, l;
+ a = $getArray(this$static.p, 'mutations');
+ l = !a?0:a.length;
+ return new Arrays$ArrayList(dynamicCast($getIsPropertiesArrayBase(a, initDim(Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit, {607:1, 3:1, 4:1}, 597, l, 0, 1), Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit), 607));
+}
+
+function Observe_MutationRecords_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(481, 55, {52:1, 45:1, 596:1}, Observe_MutationRecords_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationRecords_JsonBuilder', 481, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function Observe_MutationRecords_MutationRecord_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(482, 55, {52:1, 45:1, 597:1}, Observe_MutationRecords_MutationRecord_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationRecords_MutationRecord_JsonBuilder', 482, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $clinit_QueuePlugin(){
+ $clinit_QueuePlugin = emptyMethod;
+ $clinit_GQuery();
+ Queue = registerPlugin(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit, new QueuePlugin$1);
+ $ensureNamesAreInitialized(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+ QUEUE_DATA_PREFIX = ($ensureNamesAreInitialized(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit) , Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit.typeName + '.Queue-');
+ DEFAULT_NAME = QUEUE_DATA_PREFIX + 'fx';
+}
+
+function $delay(this$static, milliseconds, name_0, funcs){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $queue(this$static, e, name_0, new QueuePlugin$DelayFunction(this$static, e, name_0, milliseconds, funcs));
+ }
+ return this$static;
+}
+
+function $delay_0(this$static, milliseconds, f){
+ return $delay(this$static, milliseconds, DEFAULT_NAME, f);
+}
+
+function $dequeueCurrentAndRunNext(this$static, elem, name_0){
+ var q;
+ q = $queue(this$static, elem, name_0, null);
+ if (q) {
+ q.size_0 == 0?null:(checkCriticalElement(q.size_0 != 0) , $removeNode(q, q.header.next));
+ $runNext(this$static, elem, name_0, q);
+ }
+}
+
+function $dequeueIfNotDoneYet(this$static, elem, name_0, object){
+ var queue;
+ queue = $queue(this$static, elem, name_0, null);
+ !!queue && maskUndefined(object) === maskUndefined(queue.size_0 == 0?null:(checkCriticalElement(queue.size_0 != 0) , queue.header.next.value_0)) && $dequeueCurrentAndRunNext(this$static, elem, name_0);
+}
+
+function $queue(this$static, elem, name_0, func){
+ var q;
+ if (elem) {
+ q = ($clinit_GQuery() , dynamicCast(data_1(elem, name_0, null), 551));
+ if (func) {
+ !q && (q = dynamicCast(data_1(elem, name_0, new LinkedList), 551));
+ $addNode_1(q, func, q.tail.prev, q.tail);
+ q.size_0 == 1 && $runNext(this$static, elem, name_0, q);
+ }
+ return q;
+ }
+ return null;
+}
+
+function $runNext(this$static, elem, name_0, q){
+ var f, key, c;
+ if (!q) {
+ debugger;
+ throw new AssertionError;
+ }
+ f = dynamicCast(q.size_0 == 0?null:(checkCriticalElement(q.size_0 != 0) , q.header.next.value_0), 8);
+ if (f) {
+ f.element = elem;
+ $f_1(f, elem);
+ }
+ else {
+ $fire((key = name_0 + '.Empty' , c = ($clinit_GQuery() , dynamicCast(data_1(elem, key, null), 81)) , !c && (c = dynamicCast(data_1(elem, key, new Callbacks('once memory')), 81)) , c), initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, []));
+ $removeData(this$static, elem, name_0);
+ $removeData(this$static, elem, name_0 + '.Empty');
+ }
+}
+
+function QueuePlugin(gq){
+ $clinit_QueuePlugin();
+ GQuery_2.call(this, gq);
+}
+
+defineClass(78, 20, $intern_26, QueuePlugin);
+_.delay_0 = function(milliseconds, f){
+ return $delay(this, milliseconds, DEFAULT_NAME, f);
+}
+;
+var DEFAULT_NAME, QUEUE_DATA_PREFIX, Queue;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin', 78, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function $clinit_Effects(){
+ $clinit_Effects = emptyMethod;
+ $clinit_QueuePlugin();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Effects_2_classLit, new Effects$1);
+ browser.msie?'ms':browser.opera?'o':browser.mozilla?'moz':browser.webkit?'webkit':'';
+}
+
+function Effects(gq){
+ $clinit_Effects();
+ QueuePlugin.call(this, gq);
+}
+
+defineClass(343, 78, $intern_26, Effects);
+var Lcom_google_gwt_query_client_plugins_Effects_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Effects', 343, Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+function Effects$1(){
+}
+
+defineClass(344, 1, $intern_25, Effects$1);
+_.init_0 = function(gq){
+ return new Effects(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Effects$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Effects/1', 344, Ljava_lang_Object_2_classLit);
+function Events$1(){
+}
+
+defineClass(216, 1, $intern_25, Events$1);
+_.init_0 = function(gq){
+ return new Events(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Events$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Events/1', 216, Ljava_lang_Object_2_classLit);
+function QueuePlugin$1(){
+}
+
+defineClass(325, 1, $intern_25, QueuePlugin$1);
+_.init_0 = function(gq){
+ return new QueuePlugin(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/1', 325, Ljava_lang_Object_2_classLit);
+function QueuePlugin$DelayFunction(this$0, elem, name_0, delay, f){
+ this.this$01 = this$0;
+ Function_0.call(this);
+ this.elem = elem;
+ this.delay = delay;
+ this.funcs = f;
+ this.name_0 = name_0;
+}
+
+defineClass(323, 8, $intern_21, QueuePlugin$DelayFunction);
+_.f_0 = function(){
+ $schedule(new QueuePlugin$DelayFunction$SimpleTimer(this), this.delay);
+}
+;
+_.delay = 0;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/DelayFunction', 323, Lcom_google_gwt_query_client_Function_2_classLit);
+function QueuePlugin$DelayFunction$SimpleTimer(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(324, 46, {}, QueuePlugin$DelayFunction$SimpleTimer);
+_.run = function(){
+ var f, f$array, f$index, f$max;
+ for (f$array = this.this$11.funcs , f$index = 0 , f$max = f$array.length; f$index < f$max; ++f$index) {
+ f = f$array[f$index];
+ $fe_0(f, this.this$11.elem);
+ }
+ $dequeueIfNotDoneYet(this.this$11.this$01, this.this$11.elem, this.this$11.name_0, this.this$11);
+}
+;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/DelayFunction/SimpleTimer', 324, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $clinit_Widgets(){
+ $clinit_Widgets = emptyMethod;
+ $clinit_QueuePlugin();
+ excludedTags = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['html', 'body', 'head', 'tr', 'thead', 'tfoot', 'options', 'script', 'noscript', 'style', 'title']);
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Widgets_2_classLit, new Widgets$1);
+}
+
+function $widget_0(e){
+ var widget;
+ if (matchesTags(e, excludedTags)) {
+ return null;
+ }
+ widget = new WidgetsHtmlPanel(e);
+ return widget;
+}
+
+function $widgets(this$static){
+ var e, e$array, e$index, e$max, result, w;
+ result = new ArrayList;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ w = $widget_0(e);
+ !!w && $add_6(result, $getElement(w));
+ }
+ return dynamicCast($as($_1(result), Lcom_google_gwt_query_client_plugins_Widgets_2_classLit), 66);
+}
+
+function Widgets_0(gq){
+ $clinit_Widgets();
+ QueuePlugin.call(this, gq);
+}
+
+defineClass(66, 78, {20:1, 78:1, 66:1}, Widgets_0);
+var excludedTags;
+var Lcom_google_gwt_query_client_plugins_Widgets_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Widgets', 66, Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+function Widgets$1(){
+}
+
+defineClass(322, 1, $intern_25, Widgets$1);
+_.init_0 = function(gq){
+ return new Widgets_0(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Widgets$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Widgets/1', 322, Ljava_lang_Object_2_classLit);
+function $clinit_Ajax(){
+ $clinit_Ajax = emptyMethod;
+ $clinit_GQuery();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_ajax_Ajax_2_classLit, new Ajax$1);
+}
+
+function Ajax(gq){
+ $clinit_Ajax();
+ GQuery_2.call(this, gq);
+}
+
+function resolveSettings(settings){
+ var contentType, data_0, dataString, type_0, url_0;
+ url_0 = $getStr(settings.p, 'url');
+ if (!(!!settings && $getStr(settings.p, 'url') != null)) {
+ debugger;
+ throw new AssertionError_0('no url found in settings');
+ }
+ type_0 = 'POST';
+ $getStr(settings.p, 'type') != null && (type_0 = $getStr(settings.p, 'type').toUpperCase());
+ $equalsIgnoreCase('jsonp', $getStr(settings.p, 'dataType')) && (type_0 = 'GET');
+ $set(settings.p, 'type', type_0);
+ data_0 = (!$getJavaScriptObject(settings.p, 'data') && $set(settings.p, 'data', {}) , $getJavaScriptObject(settings.p, 'data'));
+ if (data_0) {
+ if (isFormData_0(data_0)) {
+ dataString = null;
+ contentType = 'application/x-www-form-urlencoded';
+ }
+ else if ($matches($getStr(settings.p, 'type'), '(POST|PUT)') && $equalsIgnoreCase('json', $getStr(settings.p, 'dataType'))) {
+ dataString = $JSON2String(data_0);
+ contentType = 'application/json; charset=utf-8';
+ }
+ else {
+ dataString = param(data_0);
+ contentType = 'application/x-www-form-urlencoded';
+ }
+ $set(settings.p, 'dataString', dataString);
+ $set(settings.p, 'contentType', contentType);
+ }
+ if ($equals_2('GET', $getStr(settings.p, 'type')) && $getStr(settings.p, 'dataString') != null) {
+ url_0 += (url_0.indexOf('?') != -1?'&':'?') + $getStr(settings.p, 'dataString');
+ $set(settings.p, 'url', url_0);
+ }
+}
+
+defineClass(421, 20, {20:1}, Ajax);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax', 421, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function Ajax$1(){
+}
+
+defineClass(422, 1, $intern_25, Ajax$1);
+_.init_0 = function(gq){
+ return new Ajax(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/1', 422, Ljava_lang_Object_2_classLit);
+function Ajax$2(val$dataType){
+ this.val$dataType1 = val$dataType;
+ Function_0.call(this);
+}
+
+defineClass(423, 8, $intern_21, Ajax$2);
+_.f_1 = function(args){
+ var e, request, response, retData;
+ response = dynamicCast($getArgument(this, 0, null), 148);
+ request = dynamicCast($getArgument(this, 1, null), 140);
+ retData = response.xmlHttpRequest.responseText;
+ if (retData != null && !$equals_2('', retData)) {
+ try {
+ if ($equalsIgnoreCase('xml', this.val$dataType1)) {
+ retData = $parseXML(response.xmlHttpRequest.responseText);
+ }
+ else if ($equalsIgnoreCase('json', this.val$dataType1)) {
+ retData = create_3(response.xmlHttpRequest.responseText);
+ }
+ else {
+ retData = response.xmlHttpRequest.responseText;
+ $equalsIgnoreCase('script', this.val$dataType1) && $inject($setWindow(($clinit_ScriptInjector() , new ScriptInjector$FromString(dynamicCastToString(retData))), ($clinit_GQuery() , window_1)));
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $printStackTrace(e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ return initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [retData, 'success', request, response]);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/2', 423, Lcom_google_gwt_query_client_Function_2_classLit);
+function Ajax$3(){
+ Function_0.call(this);
+}
+
+defineClass(424, 8, $intern_21, Ajax$3);
+_.f_1 = function(args){
+ var exception, msg, request;
+ exception = dynamicCast($getArgument(this, 0, null), 13);
+ request = dynamicCast($getArgument(this, 1, Lcom_google_gwt_http_client_Request_2_classLit), 140);
+ msg = '' + exception;
+ return initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [null, msg, request, null, exception]);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/3', 424, Lcom_google_gwt_query_client_Function_2_classLit);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit = createForInterface('com.google.gwt.query.client.plugins.ajax', 'Ajax/Settings');
+function AjaxTransportJs(){
+}
+
+defineClass(145, 1, {}, AjaxTransportJs);
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs', 145, Ljava_lang_Object_2_classLit);
+function $done(this$static, f){
+ $add_1(this$static.dfd.resolve, f);
+ return this$static;
+}
+
+function $fail(this$static, f){
+ $add_1(this$static.dfd.reject, f);
+ return this$static;
+}
+
+function $progress(this$static, f){
+ $add_1(this$static.dfd.notify, f);
+ return this$static;
+}
+
+function $then(this$static, f){
+ var newDfd;
+ newDfd = new Deferred;
+ $done(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 0)]));
+ $fail(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 1)]));
+ $progress(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 2)]));
+ return !newDfd.promise && (newDfd.promise = new Deferred$DeferredPromiseImpl_0(newDfd)) , newDfd.promise;
+}
+
+function Deferred$DeferredPromiseImpl(){
+ new Deferred$DeferredPromiseImpl$1(this);
+ new Deferred$DeferredPromiseImpl$2(this);
+ this.dfd = new Deferred;
+}
+
+function Deferred$DeferredPromiseImpl_0(o){
+ new Deferred$DeferredPromiseImpl$1(this);
+ new Deferred$DeferredPromiseImpl$2(this);
+ this.dfd = o;
+}
+
+defineClass(98, 1, $intern_27, Deferred$DeferredPromiseImpl_0);
+_.always = function(f){
+ return $add_1(this.dfd.resolve, f) , $add_1(this.dfd.reject, f) , this;
+}
+;
+_.isResolved = function(){
+ return $equals_2('resolved', this.dfd.state);
+}
+;
+_.progress_0 = function(f){
+ return $progress(this, f);
+}
+;
+_.toString$ = function(){
+ return 'Promise this=' + getHashCode(this) + ' ' + this.dfd;
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl', 98, Ljava_lang_Object_2_classLit);
+function PromiseFunction(){
+ Deferred$DeferredPromiseImpl.call(this);
+ this.f_3(this.dfd);
+}
+
+defineClass(154, 98, $intern_27);
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseFunction', 154, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function AjaxTransportJs$1(val$settings){
+ this.val$settings2 = val$settings;
+ PromiseFunction.call(this);
+}
+
+defineClass(518, 154, $intern_27, AjaxTransportJs$1);
+_.f_3 = function(dfd){
+ this.scriptElement = $inject_0($setCallback($setWindow_0(($clinit_ScriptInjector() , new ScriptInjector$FromUrl($getStr(this.val$settings2.p, 'url'))), ($clinit_GQuery() , window_1)), new AjaxTransportJs$1$1(this, dfd)));
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1', 518, Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit);
+function $onFailure_0(this$static, reason){
+ $reject(this$static.val$dfd2, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [reason]));
+}
+
+function $onSuccess(this$static){
+ $(($clinit_GQuery() , window_1)).delay_0(0, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new AjaxTransportJs$1$1$1(this$static, this$static.val$dfd2)]));
+}
+
+function AjaxTransportJs$1$1(this$1, val$dfd){
+ this.this$11 = this$1;
+ this.val$dfd2 = val$dfd;
+}
+
+defineClass(146, 1, {553:1, 146:1}, AjaxTransportJs$1$1);
+_.onFailure_0 = function(reason){
+ $onFailure_0(this, dynamicCast(reason, 9));
+}
+;
+_.onSuccess_0 = function(result){
+ $onSuccess(this, throwClassCastExceptionUnlessNull(result));
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1/1', 146, Ljava_lang_Object_2_classLit);
+function AjaxTransportJs$1$1$1(this$2, val$dfd){
+ this.this$21 = this$2;
+ this.val$dfd2 = val$dfd;
+ Function_0.call(this);
+}
+
+defineClass(519, 8, $intern_21, AjaxTransportJs$1$1$1);
+_.f_0 = function(){
+ $resolve(this.val$dfd2, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [this.this$21.this$11.scriptElement]));
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1/1/1', 519, Lcom_google_gwt_query_client_Function_2_classLit);
+function Ajax_Settings_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(483, 55, {52:1, 45:1, 606:1}, Ajax_Settings_JsonBuilder);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax_1Settings_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax_Settings_JsonBuilder', 483, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $add_1(this$static, f){
+ $addAll(this$static, f);
+ return this$static;
+}
+
+function $addAll(this$static, o){
+ var c, c$index, c$max;
+ for (c$index = 0 , c$max = o.length; c$index < c$max; ++c$index) {
+ c = o[c$index];
+ !this$static.done && !!this$static.stack_0 && !!c && (!this$static.isUnique || $indexOf_4(this$static.stack_0, c, 0) == -1) && $add_6(this$static.stack_0, c);
+ this$static.isMemory && !!this$static.memory && $run_0(c, $toArray(this$static.memory));
+ }
+}
+
+function $disable(this$static){
+ this$static.stack_0 = null;
+ this$static.done = true;
+ return this$static;
+}
+
+function $fire(this$static, o){
+ var c, c$iterator;
+ if (!this$static.done) {
+ this$static.done = this$static.isOnce;
+ this$static.isMemory && (this$static.memory = new ArrayList_1(new Arrays$ArrayList(o)));
+ if (this$static.stack_0)
+ for (c$iterator = new AbstractList$IteratorImpl(this$static.stack_0); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , c$iterator.this$01_0.get_1(c$iterator.last = c$iterator.i++));
+ if (!$run_0(c, o) && this$static.stopOnFalse) {
+ break;
+ }
+ }
+ }
+ return this$static;
+}
+
+function $lock(this$static){
+ this$static.isMemory || $disable(this$static);
+ this$static.stack_0 = null;
+ return this$static;
+}
+
+function $run_0(c, o){
+ var r;
+ o != null && o.length == 1 && o[0] != null && (getClass__Ljava_lang_Class___devirtual$(o[0]).modifiers & 4) != 0 && (o = dynamicCast(o[0], 4));
+ if (instanceOf(c, 8)) {
+ r = dynamicCast(c, 8).f_1(o);
+ return !instanceOf(r, 41) || dynamicCast(r, 41).value_0;
+ }
+ else
+ instanceOf(c, 553) && $onSuccess(dynamicCast(dynamicCast(c, 553), 146), throwClassCastExceptionUnlessNull(o));
+ return true;
+}
+
+function $status(this$static){
+ return 'stack=' + (!this$static.stack_0?'null':valueOf_2(this$static.stack_0.array.length)) + ' ' + this$static.done;
+}
+
+function Callbacks(options){
+ this.stack_0 = new ArrayList;
+ this.isOnce = options.indexOf('once') != -1;
+ this.isMemory = options.indexOf('memory') != -1;
+ this.isUnique = options.indexOf('unique') != -1;
+ this.stopOnFalse = options.indexOf('stopOnFalse') != -1;
+}
+
+defineClass(81, 1, {81:1}, Callbacks);
+_.done = false;
+_.isMemory = false;
+_.isOnce = false;
+_.isUnique = false;
+_.memory = null;
+_.stopOnFalse = false;
+var Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Callbacks', 81, Ljava_lang_Object_2_classLit);
+function $notify(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.notify, o) , this$static;
+}
+
+function $notify_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.notify, o);
+ return this$static;
+}
+
+function $reject(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.reject, o) , this$static;
+}
+
+function $reject_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.reject, o);
+ return this$static;
+}
+
+function $resolve(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.resolve, o) , this$static;
+}
+
+function $resolve_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.resolve, o);
+ return this$static;
+}
+
+function Deferred(){
+ this.notify = new Callbacks('memory');
+ this.reject = new Callbacks('once memory');
+ this.resolve = new Callbacks('once memory');
+ $add_1(this.resolve, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$2(this)]));
+ $add_1(this.reject, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$3(this)]));
+}
+
+defineClass(155, 1, {}, Deferred);
+_.toString$ = function(){
+ return 'Deferred this=' + getHashCode(this) + ' promise=' + (!this.promise && (this.promise = new Deferred$DeferredPromiseImpl_0(this)) , getHashCode(this.promise)) + ' state=' + this.promise.dfd.state + ' restatus=' + $status(this.resolve);
+}
+;
+_.promise = null;
+_.state = 'pending';
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred', 155, Ljava_lang_Object_2_classLit);
+function Deferred$2(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(219, 8, $intern_21, Deferred$2);
+_.f_0 = function(){
+ this.this$01.state = 'resolved';
+ $disable(this.this$01.resolve);
+ $lock(this.this$01.notify);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/2', 219, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$3(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(220, 8, $intern_21, Deferred$3);
+_.f_0 = function(){
+ this.this$01.state = 'rejected';
+ $disable(this.this$01.reject);
+ $lock(this.this$01.notify);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/3', 220, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$1(this$1){
+ this.this$11 = this$1;
+ Function_0.call(this);
+}
+
+defineClass(156, 8, $intern_21, Deferred$DeferredPromiseImpl$1);
+_.f_0 = function(){
+ $resolve_0(this.this$11.dfd, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/1', 156, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$2(this$1){
+ this.this$11 = this$1;
+ Function_0.call(this);
+}
+
+defineClass(157, 8, $intern_21, Deferred$DeferredPromiseImpl$2);
+_.f_0 = function(){
+ $reject_0(this.this$11.dfd, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/2', 157, Lcom_google_gwt_query_client_Function_2_classLit);
+function $settle(this$static, action, args){
+ action == 0 && $resolve(this$static.dfd, args);
+ action == 1 && $reject(this$static.dfd, args);
+ action == 2 && $notify(this$static.dfd, args);
+}
+
+function Deferred$DeferredPromiseImpl$ThenFunction(newDfd, subordinates, funcType){
+ Function_0.call(this);
+ this.type_0 = funcType;
+ this.filter_0 = subordinates.length > this.type_0?subordinates[this.type_0]:null;
+ this.dfd = newDfd;
+ this.cont = false;
+}
+
+defineClass(123, 8, $intern_21, Deferred$DeferredPromiseImpl$ThenFunction);
+_.f_0 = function(){
+ var newArgs, oldArgs, p;
+ oldArgs = this.arguments_0;
+ if (this.filter_0) {
+ newArgs = $setArguments(this.filter_0, oldArgs).f_1(oldArgs);
+ if (instanceOf(newArgs, 96)) {
+ p = dynamicCast(newArgs, 96);
+ this.type_0 == 2?p.progress_0(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$DeferredPromiseImpl$ThenFunction$1(this)])):p.always(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Deferred$DeferredPromiseImpl$ThenFunction$2(this, p)]));
+ }
+ else {
+ newArgs = $equals_0(($clinit_Boolean() , TRUE), newArgs)?oldArgs:newArgs != null && (getClass__Ljava_lang_Class___devirtual$(newArgs).modifiers & 4) != 0?dynamicCast(newArgs, 4):newArgs;
+ $settle(this, this.type_0, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [newArgs]));
+ }
+ }
+ else {
+ $settle(this, this.type_0, oldArgs);
+ }
+}
+;
+_.cont = false;
+_.type_0 = 0;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction', 123, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$ThenFunction$1(this$2){
+ this.this$21 = this$2;
+ Function_0.call(this);
+}
+
+defineClass(217, 8, $intern_21, Deferred$DeferredPromiseImpl$ThenFunction$1);
+_.f_0 = function(){
+ $settle(this.this$21, 2, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction/1', 217, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$ThenFunction$2(this$2, val$p){
+ this.this$21 = this$2;
+ this.val$p2 = val$p;
+ Function_0.call(this);
+}
+
+defineClass(218, 8, $intern_21, Deferred$DeferredPromiseImpl$ThenFunction$2);
+_.f_0 = function(){
+ $settle(this.this$21, (this.this$21.type_0 == 0 || this.this$21.type_0 == 1 && this.this$21.cont) && this.val$p2.isResolved()?0:1, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction/2', 218, Lcom_google_gwt_query_client_Function_2_classLit);
+function $createRequestVltr(rq, ms, cb){
+ return new Request(rq, ms, cb);
+}
+
+function $fireOnResponseReceivedVltr(rq, cb){
+ rq.fireOnResponseReceived(cb);
+}
+
+function $onError(this$static, request, exception){
+ $reject_0(this$static.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [exception, request]));
+}
+
+function $onResponseReceived(this$static, request, response){
+ var status_0, statusText, status_1;
+ status_0 = response.xmlHttpRequest.status;
+ if (status_0 <= 0 || status_0 >= 400) {
+ statusText = status_0 <= 0?'Bad CORS':response.xmlHttpRequest.statusText;
+ $onError(this$static, request, new RequestException('HTTP ERROR: ' + status_0 + ' ' + statusText + '\n' + response.xmlHttpRequest.responseText));
+ }
+ else {
+ $resolve_0(this$static.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [response, request]));
+ }
+}
+
+function PromiseReqBuilder(settings){
+ var ctype, data_0, e, headerKey, headerKey$array, headerKey$index, headerKey$max, headers, httpMethod, isFormData, request, requestPermissionException, upload, url_0, xmlHttpRequest;
+ Deferred$DeferredPromiseImpl.call(this);
+ httpMethod = $getStr(settings.p, 'type');
+ url_0 = $getStr(settings.p, 'url');
+ data_0 = (!$getJavaScriptObject(settings.p, 'data') && $set(settings.p, 'data', {}) , $getJavaScriptObject(settings.p, 'data'));
+ ctype = $getStr(settings.p, 'contentType');
+ isFormData = ($clinit_Boolean() , !!data_0 && isFormData_0(data_0)?TRUE:FALSE);
+ xmlHttpRequest = new $wnd.XMLHttpRequest;
+ try {
+ $getStr(settings.p, 'username') != null && $getStr(settings.p, 'password') != null?$open_0(xmlHttpRequest, httpMethod, url_0, $getStr(settings.p, 'username'), $getStr(settings.p, 'password')):$getStr(settings.p, 'username') != null?$open(xmlHttpRequest, httpMethod, url_0, $getStr(settings.p, 'username')):(xmlHttpRequest.open(httpMethod, url_0, true) , undefined);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 58)) {
+ e = $e0;
+ requestPermissionException = new RequestPermissionException(url_0);
+ $initCause(requestPermissionException, new RequestException(e.getMessage()));
+ $reject_0(this.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [e, null]));
+ return;
+ }
+ else
+ throw unwrap($e0);
+ }
+ prop_1(xmlHttpRequest, 'onprogress', wrapFunction(new PromiseReqBuilder$1(this)));
+ upload = dynamicCastJso(!xmlHttpRequest?null:$get_1(xmlHttpRequest, 'upload'));
+ prop_1(upload, 'onprogress', wrapFunction(new PromiseReqBuilder$2(this)));
+ headers = (!$getJavaScriptObject(settings.p, 'headers') && $set(settings.p, 'headers', {}) , $getJavaScriptObject(settings.p, 'headers'));
+ if (headers) {
+ for (headerKey$array = $keys(headers) , headerKey$index = 0 , headerKey$max = headerKey$array.length; headerKey$index < headerKey$max; ++headerKey$index) {
+ headerKey = headerKey$array[headerKey$index];
+ $setRequestHeader(xmlHttpRequest, headerKey, '' + $get_1(headers, '' + headerKey));
+ }
+ }
+ !!data_0 && !isFormData.value_0 && !$equalsIgnoreCase('GET', httpMethod) && $setRequestHeader(xmlHttpRequest, 'Content-Type', ctype);
+ prop_1(xmlHttpRequest, 'withCredentials', $getBoolean(settings.p)?TRUE:FALSE);
+ request = $createRequestVltr(xmlHttpRequest, round_int($getFloat(settings.p, 'timeout')), this);
+ $setOnReadyStateChange(xmlHttpRequest, new PromiseReqBuilder$3(this, request));
+ try {
+ runJavascriptFunction(xmlHttpRequest, 'send', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [isFormData.value_0?data_0:$getStr(settings.p, 'dataString')]));
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (instanceOf($e1, 58)) {
+ e = $e1;
+ $reject_0(this.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [e, null]));
+ }
+ else
+ throw unwrap($e1);
+ }
+}
+
+defineClass(534, 98, $intern_27, PromiseReqBuilder);
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder', 534, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function PromiseReqBuilder$1(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(535, 8, $intern_21, PromiseReqBuilder$1);
+_.f_0 = function(){
+ var loaded, p, percent, total;
+ p = dynamicCastJso($getArgument(this, 0, null));
+ total = $getDouble(p, 'total');
+ loaded = $getDouble(p, 'loaded');
+ percent = loaded == 0?0:total == 0?100:100 * loaded / total;
+ $notify_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [new Double(total), new Double(loaded), new Double(percent), 'download']));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/1', 535, Lcom_google_gwt_query_client_Function_2_classLit);
+function PromiseReqBuilder$2(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(536, 8, $intern_21, PromiseReqBuilder$2);
+_.f_0 = function(){
+ var loaded, p, percent, total;
+ p = dynamicCastJso($getArgument(this, 0, null));
+ total = $getDouble(p, 'total');
+ loaded = $getDouble(p, 'loaded');
+ percent = 100 * loaded / total;
+ $notify_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [new Double(total), new Double(loaded), new Double(percent), 'upload']));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/2', 536, Lcom_google_gwt_query_client_Function_2_classLit);
+function PromiseReqBuilder$3(this$0, val$request){
+ this.this$01 = this$0;
+ this.val$request2 = val$request;
+}
+
+defineClass(537, 1, {}, PromiseReqBuilder$3);
+_.onReadyStateChange = function(xhr){
+ if (xhr.readyState == 4) {
+ $clearOnReadyStateChange(xhr);
+ $fireOnResponseReceivedVltr(this.val$request2, this.this$01);
+ }
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/3', 537, Ljava_lang_Object_2_classLit);
+function $clinit_PromiseReqBuilderJSONP(){
+ $clinit_PromiseReqBuilderJSONP = emptyMethod;
+ callbackRegex = new RegExp('^(.+[\\?&])([^=]+)=\\?(.*)$');
+}
+
+function $send(bld, url_0, cb){
+ bld.send(url_0, cb, false);
+}
+
+function PromiseReqBuilderJSONP(url_0, timeout){
+ $clinit_PromiseReqBuilderJSONP();
+ PromiseReqBuilderJSONP_0.call(this, url_0, null, timeout);
+}
+
+function PromiseReqBuilderJSONP_0(url_0, callbackParam, timeout){
+ var builder, tmp;
+ Deferred$DeferredPromiseImpl.call(this);
+ builder = new JsonpRequestBuilder;
+ timeout > 0 && (builder.timeout = timeout);
+ if (callbackParam == null) {
+ tmp = $exec_0(callbackRegex, url_0);
+ if (!!tmp && tmp.length == 4) {
+ callbackParam = tmp[2];
+ url_0 = tmp[1] + tmp[3];
+ }
+ }
+ callbackParam != null && (builder.callbackParam = callbackParam);
+ $send(builder, url_0, new PromiseReqBuilderJSONP$1(this));
+}
+
+defineClass(194, 98, $intern_27, PromiseReqBuilderJSONP);
+var callbackRegex;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilderJSONP', 194, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function PromiseReqBuilderJSONP$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(533, 1, {}, PromiseReqBuilderJSONP$1);
+_.onFailure_2 = function(caught){
+ $reject_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [caught]));
+}
+;
+_.onSuccess_0 = function(result){
+ $resolve_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [result]));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilderJSONP/1', 533, Ljava_lang_Object_2_classLit);
+function $clinit_EventsListener(){
+ $clinit_EventsListener = emptyMethod;
+ special = new HashMap;
+ special.put(MOUSEENTER, new EventsListener$MouseSpecialEvent);
+ special.put(MOUSELEAVE, new EventsListener$MouseSpecialEvent);
+}
+
+function getGQueryEventListener(elem){
+ $clinit_EventsListener();
+ return elem.__gqueryevent;
+}
+
+var MOUSEENTER = 'mouseenter', MOUSELEAVE = 'mouseleave', special;
+defineClass(458, 1, {});
+var Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'SpecialEvent/DefaultSpecialEvent', 458, Ljava_lang_Object_2_classLit);
+function EventsListener$MouseSpecialEvent(){
+ new SpecialEvent$DefaultSpecialEvent$1;
+ new EventsListener$MouseSpecialEvent$1;
+}
+
+defineClass(184, 458, {}, EventsListener$MouseSpecialEvent);
+var Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'EventsListener/MouseSpecialEvent', 184, Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2_classLit);
+function EventsListener$MouseSpecialEvent$1(){
+ Function_0.call(this);
+}
+
+defineClass(459, 8, $intern_21, EventsListener$MouseSpecialEvent$1);
+var Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'EventsListener/MouseSpecialEvent/1', 459, Lcom_google_gwt_query_client_Function_2_classLit);
+function SpecialEvent$DefaultSpecialEvent$1(){
+ Function_0.call(this);
+}
+
+defineClass(460, 8, $intern_21, SpecialEvent$DefaultSpecialEvent$1);
+var Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'SpecialEvent/DefaultSpecialEvent/1', 460, Lcom_google_gwt_query_client_Function_2_classLit);
+function $addStyleName(this$static, style){
+ setStyleName(this$static.getStyleElement(), style, true);
+}
+
+function $extractLengthValue(s){
+ if (s == 'auto' || s == 'inherit' || s == '') {
+ return 0;
+ }
+ else {
+ var numberRegex = numberRegex_0;
+ !numberRegex && (numberRegex = numberRegex_0 = /^(\s*[+-]?((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?)(.*)$/);
+ s = s.replace(numberRegex, '$1');
+ return parseFloat(s);
+ }
+}
+
+function $getElement(this$static){
+ if (!this$static.element) {
+ debugger;
+ throw new AssertionError_0("This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement()");
+ }
+ return $clinit_DOM() , this$static.element;
+}
+
+function $removeStyleDependentName(this$static, styleSuffix){
+ $setStyleName_0(this$static, getStylePrimaryName(($clinit_PopupPanel() , impl_5).getStyleElement_0(getFirstChild($getElement(this$static)))) + '-' + styleSuffix, false);
+}
+
+function $removeStyleName(this$static, style){
+ setStyleName(this$static.getStyleElement(), style, false);
+}
+
+function $resolvePotentialElement(){
+ throw new UnsupportedOperationException;
+}
+
+function $setElement_0(this$static, elem){
+ $setElement_1(this$static, ($clinit_DOM() , elem));
+}
+
+function $setElement_1(this$static, elem){
+ if (!(!this$static.element || isPotential_0(this$static.element))) {
+ debugger;
+ throw new AssertionError_0('Element may only be set once');
+ }
+ this$static.element = elem;
+}
+
+function $setHeight_0(this$static, height){
+ if ($extractLengthValue($trim(height).toLowerCase()) < 0) {
+ debugger;
+ throw new AssertionError_0('CSS heights should not be negative');
+ }
+ $setProperty_0($getElement(this$static).style, 'height', height);
+}
+
+function $setStyleName(this$static, style){
+ $setClassName($getElement(this$static), style);
+}
+
+function $setStyleName_0(this$static, style, add_0){
+ setStyleName(($clinit_PopupPanel() , impl_5).getStyleElement_0(getFirstChild($getElement(this$static))), style, add_0);
+}
+
+function $setWidth_0(this$static, width_0){
+ if ($extractLengthValue($trim(width_0).toLowerCase()) < 0) {
+ debugger;
+ throw new AssertionError_0('CSS widths should not be negative');
+ }
+ $setProperty_0($getElement(this$static).style, 'width', width_0);
+}
+
+function $sinkBitlessEvent(this$static, eventTypeName){
+ sinkBitlessEvent($getElement(this$static), eventTypeName);
+}
+
+function getStylePrimaryName(elem){
+ var fullClassName, spaceIdx;
+ fullClassName = $getClassName(elem);
+ spaceIdx = $indexOf_1(fullClassName, fromCodePoint(32));
+ if (spaceIdx >= 0) {
+ return fullClassName.substr(0, spaceIdx);
+ }
+ return fullClassName;
+}
+
+function setStyleName(elem, style, add_0){
+ if (!elem) {
+ throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
+ }
+ style = $trim(style);
+ if (style.length == 0) {
+ throw new IllegalArgumentException_0('Style names cannot be empty');
+ }
+ add_0?$addClassName(elem, style):$removeClassName(elem, style);
+}
+
+function setStylePrimaryName(elem, style){
+ if (!elem) {
+ throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
+ }
+ style = $trim(style);
+ if (style.length == 0) {
+ throw new IllegalArgumentException_0('Style names cannot be empty');
+ }
+ updatePrimaryAndDependentStyleNames(elem, style);
+}
+
+function updatePrimaryAndDependentStyleNames(elem, newPrimaryStyle){
+ var classes = (elem.className || '').split(/\s+/);
+ if (!classes) {
+ return;
+ }
+ var oldPrimaryStyle = classes[0];
+ var oldPrimaryStyleLen = oldPrimaryStyle.length;
+ classes[0] = newPrimaryStyle;
+ for (var i_0 = 1, n = classes.length; i_0 < n; i_0++) {
+ var name_0 = classes[i_0];
+ name_0.length > oldPrimaryStyleLen && name_0.charAt(oldPrimaryStyleLen) == '-' && name_0.indexOf(oldPrimaryStyle) == 0 && (classes[i_0] = newPrimaryStyle + name_0.substring(oldPrimaryStyleLen));
+ }
+ elem.className = classes.join(' ');
+}
+
+defineClass(23, 1, {27:1, 23:1});
+_.getStyleElement = function(){
+ return $getElement(this);
+}
+;
+_.resolvePotentialElement = function(){
+ return $resolvePotentialElement();
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_0(this, height);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_0(this, width_0);
+}
+;
+_.toString$ = function(){
+ if (!this.element) {
+ return '(null handle)';
+ }
+ return $getString($getElement(this));
+}
+;
+var numberRegex_0;
+var Lcom_google_gwt_user_client_ui_UIObject_2_classLit = createForClass('com.google.gwt.user.client.ui', 'UIObject', 23, Ljava_lang_Object_2_classLit);
+function $addDomHandler(this$static, handler, type_0){
+ var typeInt;
+ if (!type_0) {
+ debugger;
+ throw new AssertionError_0('type must not be null');
+ }
+ typeInt = getTypeInt(type_0.name_0);
+ typeInt == -1?$sinkBitlessEvent(this$static, type_0.name_0):this$static.sinkEvents(typeInt);
+ return $addHandler(!this$static.handlerManager?(this$static.handlerManager = new HandlerManager(this$static)):this$static.handlerManager, type_0, handler);
+}
+
+function $addHandler_0(this$static, handler, type_0){
+ return $addHandler(!this$static.handlerManager?(this$static.handlerManager = new HandlerManager(this$static)):this$static.handlerManager, type_0, handler);
+}
+
+function $fireEvent_0(this$static, event_0){
+ !!this$static.handlerManager && $fireEvent(this$static.handlerManager, event_0);
+}
+
+function $onAttach(this$static){
+ var bitsToAdd;
+ if (this$static.isAttached()) {
+ throw new IllegalStateException_0("Should only call onAttach when the widget is detached from the browser's document");
+ }
+ this$static.attached = true;
+ $clinit_DOM();
+ setEventListener($getElement(this$static), this$static);
+ bitsToAdd = this$static.eventsToSink;
+ this$static.eventsToSink = -1;
+ bitsToAdd > 0 && this$static.sinkEvents(bitsToAdd);
+ this$static.doAttachChildren();
+ this$static.onLoad();
+ fire(this$static);
+}
+
+function $onBrowserEvent(this$static, event_0){
+ var related;
+ switch ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , event_0).type)) {
+ case 16:
+ case 32:
+ related = impl_0.eventGetRelatedTarget(event_0);
+ if (!!related && $isOrHasChild($getElement(this$static), related)) {
+ return;
+ }
+
+ }
+ fireNativeEvent(event_0, this$static, $getElement(this$static));
+}
+
+function $onDetach(this$static){
+ if (!this$static.isAttached()) {
+ throw new IllegalStateException_0("Should only call onDetach when the widget is attached to the browser's document");
+ }
+ try {
+ this$static.onUnload();
+ fire(this$static);
+ }
+ finally {
+ try {
+ this$static.doDetachChildren();
+ }
+ finally {
+ $clinit_DOM();
+ setEventListener($getElement(this$static), null);
+ this$static.attached = false;
+ }
+ }
+}
+
+function $removeFromParent_0(this$static){
+ if (!this$static.parent_0) {
+ $clinit_RootPanel();
+ $contains_1(widgetsToDetach, this$static) && detachNow(this$static);
+ }
+ else if (instanceOf(this$static.parent_0, 40)) {
+ dynamicCast(this$static.parent_0, 40).remove(this$static);
+ }
+ else if (this$static.parent_0) {
+ throw new IllegalStateException_0("This widget's parent does not implement HasWidgets");
+ }
+}
+
+function $setParent(this$static, parent_0){
+ var oldParent;
+ oldParent = this$static.parent_0;
+ if (!parent_0) {
+ try {
+ if (!!oldParent && oldParent.isAttached()) {
+ this$static.onDetach();
+ if (this$static.isAttached()) {
+ debugger;
+ throw new AssertionError_0('Failure of ' + $getName(this$static.___clazz$) + ' to call super.onDetach()');
+ }
+ }
+ }
+ finally {
+ this$static.parent_0 = null;
+ }
+ }
+ else {
+ if (oldParent) {
+ throw new IllegalStateException_0('Cannot set a new parent without first clearing the old parent');
+ }
+ this$static.parent_0 = parent_0;
+ if (parent_0.isAttached()) {
+ this$static.onAttach();
+ if (!this$static.isAttached()) {
+ debugger;
+ throw new AssertionError_0('Failure of ' + $getName(this$static.___clazz$) + ' to call super.onAttach()');
+ }
+ }
+ }
+}
+
+function $sinkEvents(this$static, eventBitsToAdd){
+ this$static.eventsToSink == -1?sinkEvents($getElement(this$static), eventBitsToAdd | ($clinit_DOM() , $getElement(this$static).__eventBits || 0)):(this$static.eventsToSink |= eventBitsToAdd);
+}
+
+defineClass(17, 23, $intern_28);
+_.asWidget = function(){
+ return this;
+}
+;
+_.doAttachChildren = function(){
+}
+;
+_.doDetachChildren = function(){
+}
+;
+_.fireEvent = function(event_0){
+ $fireEvent_0(this, event_0);
+}
+;
+_.isAttached = function(){
+ return this.attached;
+}
+;
+_.onAttach = function(){
+ $onAttach(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ $onBrowserEvent(this, event_0);
+}
+;
+_.onDetach = function(){
+ $onDetach(this);
+}
+;
+_.onLoad = function(){
+}
+;
+_.onUnload = function(){
+}
+;
+_.setParent = function(parent_0){
+ $setParent(this, parent_0);
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ $sinkEvents(this, eventBitsToAdd);
+}
+;
+_.attached = false;
+_.eventsToSink = 0;
+var Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Widget', 17, Lcom_google_gwt_user_client_ui_UIObject_2_classLit);
+function $adopt(this$static, child){
+ if (child.parent_0) {
+ debugger;
+ throw new AssertionError;
+ }
+ $setParent(child, this$static);
+}
+
+function $orphan(this$static, child){
+ if (child.parent_0 != this$static) {
+ debugger;
+ throw new AssertionError;
+ }
+ $setParent(child, null);
+}
+
+defineClass(37, 17, $intern_29);
+_.add_0 = function(child){
+ throw new UnsupportedOperationException_0('This panel does not support no-arg add()');
+}
+;
+_.doAttachChildren = function(){
+ tryCommand(this, ($clinit_AttachDetachException() , attachCommand));
+}
+;
+_.doDetachChildren = function(){
+ tryCommand(this, ($clinit_AttachDetachException() , detachCommand));
+}
+;
+var Lcom_google_gwt_user_client_ui_Panel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Panel', 37, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $add_2(this$static, child, container){
+ $removeFromParent_0(child);
+ $add_4(this$static.children_0, child);
+ appendChild(container, $getElement(child));
+ $adopt(this$static, child);
+}
+
+function $remove_0(this$static, w){
+ var elem;
+ if (w.parent_0 != this$static) {
+ return false;
+ }
+ try {
+ $orphan(this$static, w);
+ }
+ finally {
+ elem = $getElement(w);
+ $removeChild(($clinit_DOM() , $clinit_DOM() , $getParentElement_0(($clinit_DOMImpl() , elem))), elem);
+ $remove_4(this$static.children_0, w);
+ }
+ return true;
+}
+
+function ComplexPanel(){
+ this.children_0 = new WidgetCollection(this);
+}
+
+defineClass(181, 37, $intern_29);
+_.getChildren = function(){
+ return this.children_0;
+}
+;
+_.iterator = function(){
+ return new WidgetCollection$WidgetIterator(this.children_0);
+}
+;
+_.remove = function(w){
+ return $remove_0(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ComplexPanel', 181, Lcom_google_gwt_user_client_ui_Panel_2_classLit);
+defineClass(76, 181, $intern_30);
+_.add_0 = function(widget){
+ $add_2(this, widget, $getElement(this));
+}
+;
+var Lcom_google_gwt_user_client_ui_HTMLPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'HTMLPanel', 76, Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit);
+function $adoptSubWidgets(this$static, root){
+ var child, child$array, child$index, child$max, children, w;
+ children = $children($(root));
+ for (child$array = children.elements , child$index = 0 , child$max = child$array.length; child$index < child$max; ++child$index) {
+ child = child$array[child$index];
+ w = $widget($(child), 0);
+ w?$doAdopt(this$static, w):$adoptSubWidgets(this$static, child);
+ }
+}
+
+function $doAdopt(this$static, w){
+ var mustBePhysicallyReattach, parent_0;
+ parent_0 = w.parent_0;
+ mustBePhysicallyReattach = false;
+ if (!parent_0) {
+ $clinit_RootPanel();
+ $contains_1(widgetsToDetach, w) && detachNow(w);
+ }
+ else if (instanceOf(parent_0, 76)) {
+ doLogicalDetachFromHtmlPanel(w);
+ }
+ else {
+ $removeFromParent_0(w);
+ mustBePhysicallyReattach = true;
+ }
+ $add_4(this$static.children_0, w);
+ mustBePhysicallyReattach && appendChild($getElement(this$static), $getElement(w));
+ $adopt(this$static, w);
+}
+
+function WidgetsHtmlPanel(e){
+ var n, p, w;
+ ComplexPanel.call(this);
+ $setElement_0(this, $createDivElement($doc));
+ $setInnerHTML($getElement(this), '');
+ if (e) {
+ w = $widget($(e), 0);
+ if (!w) {
+ this.element = e;
+ attachWidget(this, null);
+ }
+ else {
+ p = w.parent_0;
+ if (instanceOf(p, 37)) {
+ $add_2(this, w, $getElement(this));
+ dynamicCast(p, 37).add_0(this);
+ }
+ else {
+ n = $getParentElement_0(($clinit_DOMImpl() , e));
+ $appendChild(n, $getElement(this));
+ $appendChild($getElement(this), e);
+ attachWidget(this, null);
+ }
+ }
+ }
+ $adoptSubWidgets(this, $getElement(this));
+}
+
+defineClass(514, 76, $intern_30, WidgetsHtmlPanel);
+var Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2_classLit = createForClass('com.google.gwt.query.client.plugins.widgets', 'WidgetsHtmlPanel', 514, Lcom_google_gwt_user_client_ui_HTMLPanel_2_classLit);
+function attachWidget(widget, firstParentWidget){
+ var h, p;
+ if (!!widget && !widget.parent_0) {
+ if (!firstParentWidget) {
+ firstParentWidget = getFirstParentWidget(widget);
+ if (!firstParentWidget) {
+ detachOnWindowClose(widget);
+ widget.onAttach();
+ }
+ else {
+ attachWidget(widget, firstParentWidget);
+ }
+ }
+ else if (instanceOf(firstParentWidget, 76)) {
+ h = dynamicCast(firstParentWidget, 76);
+ p = $getParentElement($getElement(widget));
+ p?$add_2(h, widget, ($clinit_DOM() , p)):$add_2(h, widget, $getElement(h));
+ }
+ else if (instanceOf(firstParentWidget, 97)) {
+ dynamicCast(firstParentWidget, 97).setWidget(widget);
+ }
+ else if (instanceOf(firstParentWidget, 40)) {
+ try {
+ dynamicCast(firstParentWidget, 40).add_0(widget);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 31)) {
+ widgetSetParent(widget, firstParentWidget);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ else {
+ widgetSetParent(widget, firstParentWidget);
+ }
+ }
+}
+
+function doLogicalDetachFromHtmlPanel(w){
+ var parent_0;
+ parent_0 = w.parent_0;
+ if (instanceOf(parent_0, 76)) {
+ $remove_4(dynamicCast(parent_0, 76).getChildren(), w);
+ widgetSetParent(w, null);
+ }
+ else {
+ throw new IllegalStateException_0('You can only use this method to detach a child from an HTMLPanel');
+ }
+}
+
+function getFirstParentWidget(w){
+ var body_0, e, p;
+ e = $getParentElement($getElement(w));
+ body_0 = $doc.body;
+ while (!!e && body_0 != e) {
+ $clinit_DOM();
+ if (getEventListener(e)) {
+ p = $widget($(e), 0);
+ if (p) {
+ return p;
+ }
+ }
+ e = $getParentElement_0(($clinit_DOMImpl() , e));
+ }
+ return null;
+}
+
+function matchesTags(e, tagNames){
+ var i_0, regExp, tagNameLenght;
+ if (!e) {
+ debugger;
+ throw new AssertionError_0('Element cannot be null');
+ }
+ regExp = new StringBuilder_1('^(');
+ tagNameLenght = tagNames != null?tagNames.length:0;
+ for (i_0 = 0; i_0 < tagNameLenght; i_0++) {
+ $append_0(regExp, tagNames[i_0].toUpperCase());
+ i_0 < tagNameLenght - 1 && (regExp.string += '|' , regExp);
+ }
+ regExp.string += ')$';
+ return $matches(($clinit_DOMImpl() , e).tagName.toUpperCase(), regExp.string);
+}
+
+function widgetSetParent(w, p){
+ w.setParent(p);
+}
+
+function $exec_0(this$static, input_0){
+ return this$static.exec(input_0);
+}
+
+function $replace(this$static, input_0, replacement){
+ return input_0.replace(this$static, replacement);
+}
+
+function $test(this$static, input_0){
+ return this$static.test(input_0);
+}
+
+function $clinit_DOM(){
+ $clinit_DOM = emptyMethod;
+ impl_3 = com_google_gwt_user_client_impl_DOMImpl();
+}
+
+function appendChild(parent_0, child){
+ $clinit_DOM();
+ if (isPotential(parent_0)) {
+ debugger;
+ throw new AssertionError_0('Cannot append to a PotentialElement');
+ }
+ $appendChild(parent_0, child.__gwt_resolve?child.__gwt_resolve():child);
+}
+
+function createElement(tagName){
+ $clinit_DOM();
+ return $createElement_0($doc, tagName);
+}
+
+function dispatchEvent_0(evt, elem){
+ $clinit_DOM();
+ var eventListener;
+ eventListener = getEventListener(elem);
+ if (!eventListener) {
+ return false;
+ }
+ dispatchEvent_1(evt, elem, eventListener);
+ return true;
+}
+
+function dispatchEvent_1(evt, elem, listener){
+ $clinit_DOM();
+ var prevCurrentEvent;
+ prevCurrentEvent = currentEvent;
+ currentEvent = evt;
+ elem == sCaptureElem && $eventGetTypeInt(($clinit_DOMImpl() , evt).type) == 8192 && (sCaptureElem = null);
+ listener.onBrowserEvent(evt);
+ currentEvent = prevCurrentEvent;
+}
+
+function getFirstChild(elem){
+ $clinit_DOM();
+ return $getFirstChildElement_0(($clinit_DOMImpl() , elem));
+}
+
+function isPotential(o){
+ $clinit_DOM();
+ try {
+ return !!o && !!o.__gwt_resolve;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function previewEvent(evt){
+ $clinit_DOM();
+ var ret;
+ ret = fire_3(handlers_0, evt);
+ if (!ret && !!evt) {
+ $eventStopPropagation(($clinit_DOMImpl() , evt));
+ $eventPreventDefault(evt);
+ }
+ return ret;
+}
+
+function releaseCapture(elem){
+ $clinit_DOM();
+ !!sCaptureElem && elem == sCaptureElem && (sCaptureElem = null);
+ $releaseCapture(impl_3, elem);
+}
+
+function setCapture(elem){
+ $clinit_DOM();
+ sCaptureElem = elem;
+ $setCapture(impl_3, elem);
+}
+
+function sinkBitlessEvent(elem, eventTypeName){
+ $clinit_DOM();
+ $sinkBitlessEvent_0(impl_3, elem, eventTypeName);
+}
+
+function sinkEvents(elem, eventBits){
+ $clinit_DOM();
+ impl_3.sinkEvents_0(elem, eventBits);
+}
+
+var currentEvent = null, impl_3, sCaptureElem;
+function $onModuleLoad_0(){
+ var allowedModes, currentMode, i_0;
+ currentMode = $doc.compatMode;
+ allowedModes = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['CSS1Compat']);
+ for (i_0 = 0; i_0 < allowedModes.length; i_0++) {
+ if ($equals_2(allowedModes[i_0], currentMode)) {
+ return;
+ }
+ }
+ allowedModes.length == 1 && $equals_2('CSS1Compat', allowedModes[0]) && $equals_2('BackCompat', currentMode)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using &lt;!doctype html&gt; at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br>&nbsp;&nbsp;&lt;extend-configuration-property name=\"document.compatMode\" value=\"" + currentMode + '"/&gt;':"Your *.gwt.xml module configuration prohibits the use of the current document rendering mode (document.compatMode=' " + currentMode + "').<br>Modify your application's host HTML page doctype, or update your custom " + "'document.compatMode' configuration property settings.";
+}
+
+function $getTypeInt(this$static){
+ return $clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , this$static).type);
+}
+
+function addNativePreviewHandler(handler){
+ $clinit_DOM();
+ $maybeInitializeEventSystem(impl_3);
+ !TYPE_4 && (TYPE_4 = new GwtEvent$Type);
+ if (!handlers_0) {
+ handlers_0 = new HandlerManager_0(null, true);
+ singleton = new Event$NativePreviewEvent;
+ }
+ return $addHandler(handlers_0, TYPE_4, handler);
+}
+
+function getEventsSunk(elem){
+ return $clinit_DOM() , elem.__eventBits || 0;
+}
+
+function getTypeInt(typeName){
+ return $eventGetTypeInt(($clinit_DOM() , typeName));
+}
+
+function sinkEvents_0(elem, eventBits){
+ $clinit_DOM();
+ impl_3.sinkEvents_0(elem, eventBits);
+}
+
+var handlers_0;
+function $revive(this$static){
+ this$static.dead = false;
+ this$static.source_0 = null;
+ this$static.isCanceled = false;
+ this$static.isConsumed = false;
+ this$static.isFirstHandler = true;
+ this$static.nativeEvent = null;
+}
+
+function $setNativeEvent_0(this$static, nativeEvent){
+ this$static.nativeEvent = nativeEvent;
+}
+
+function Event$NativePreviewEvent(){
+}
+
+function fire_3(handlers, nativeEvent){
+ var lastIsCanceled, lastIsConsumed, lastIsFirstHandler, lastNativeEvent, ret;
+ if (!!TYPE_4 && !!handlers && $isEventHandled(handlers, TYPE_4)) {
+ lastIsCanceled = singleton.isCanceled;
+ lastIsConsumed = singleton.isConsumed;
+ lastIsFirstHandler = singleton.isFirstHandler;
+ lastNativeEvent = singleton.nativeEvent;
+ $revive(singleton);
+ $setNativeEvent_0(singleton, nativeEvent);
+ $fireEvent(handlers, singleton);
+ ret = !(singleton.isCanceled && !singleton.isConsumed);
+ singleton.isCanceled = lastIsCanceled;
+ singleton.isConsumed = lastIsConsumed;
+ singleton.isFirstHandler = lastIsFirstHandler;
+ singleton.nativeEvent = lastNativeEvent;
+ return ret;
+ }
+ return true;
+}
+
+defineClass(300, 569, {}, Event$NativePreviewEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 201).onPreviewNativeEvent(this);
+ singleton.isFirstHandler = false;
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_4;
+}
+;
+_.revive = function(){
+ $revive(this);
+}
+;
+_.isCanceled = false;
+_.isConsumed = false;
+_.isFirstHandler = false;
+var TYPE_4, singleton;
+var Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit = createForClass('com.google.gwt.user.client', 'Event/NativePreviewEvent', 300, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $clinit_History(){
+ $clinit_History = emptyMethod;
+ new History$HistoryImpl;
+ historyEventSource = new History$HistoryEventSource;
+ token = getDecodedHash();
+}
+
+function addValueChangeHandler(handler){
+ $clinit_History();
+ return $addValueChangeHandler(historyEventSource, handler);
+}
+
+function getDecodedHash(){
+ var hashToken;
+ hashToken = ($clinit_Window() , impl_4).getHash();
+ if (hashToken == null || !hashToken.length) {
+ return '';
+ }
+ return $decodeHistoryToken(__substr(hashToken, 1, hashToken.length - 1));
+}
+
+function onHashChanged(){
+ $clinit_History();
+ var hashToken;
+ hashToken = getDecodedHash();
+ if (!$equals_2(hashToken, token)) {
+ token = hashToken;
+ fire_2(historyEventSource, hashToken);
+ }
+}
+
+var historyEventSource, token;
+function $addValueChangeHandler(this$static, handler){
+ return $addHandler(this$static.handlers, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3), handler);
+}
+
+function History$HistoryEventSource(){
+ this.handlers = new HandlerManager(null);
+}
+
+defineClass(520, 1, {25:1}, History$HistoryEventSource);
+_.fireEvent = function(event_0){
+ $fireEvent(this.handlers, event_0);
+}
+;
+var Lcom_google_gwt_user_client_History$HistoryEventSource_2_classLit = createForClass('com.google.gwt.user.client', 'History/HistoryEventSource', 520, Ljava_lang_Object_2_classLit);
+function $decodeHistoryToken(historyToken){
+ return $wnd.decodeURI(historyToken.replace('%23', '#'));
+}
+
+function History$HistoryImpl(){
+ var handler;
+ handler = $entry(onHashChanged);
+ $wnd.addEventListener('hashchange', handler, false);
+}
+
+defineClass(521, 1, {}, History$HistoryImpl);
+var Lcom_google_gwt_user_client_History$HistoryImpl_2_classLit = createForClass('com.google.gwt.user.client', 'History/HistoryImpl', 521, Ljava_lang_Object_2_classLit);
+function $clinit_Window(){
+ $clinit_Window = emptyMethod;
+ impl_4 = com_google_gwt_user_client_impl_WindowImpl();
+}
+
+function addCloseHandler(handler){
+ $clinit_Window();
+ maybeInitializeCloseHandlers();
+ return addHandler(TYPE_1?TYPE_1:(TYPE_1 = new GwtEvent$Type), handler);
+}
+
+function addHandler(type_0, handler){
+ return $addHandler((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1), type_0, handler);
+}
+
+function addResizeHandler(handler){
+ $clinit_Window();
+ maybeInitializeCloseHandlers();
+ maybeInitializeResizeHandlers();
+ return addHandler((!TYPE_2 && (TYPE_2 = new GwtEvent$Type) , TYPE_2), handler);
+}
+
+function alert_0(msg){
+ $clinit_Window();
+ $wnd.alert(msg);
+}
+
+function maybeInitializeCloseHandlers(){
+ if (!closeHandlersInitialized) {
+ impl_4.initWindowCloseHandler();
+ closeHandlersInitialized = true;
+ }
+}
+
+function maybeInitializeResizeHandlers(){
+ if (!resizeHandlersInitialized) {
+ impl_4.initWindowResizeHandler();
+ resizeHandlersInitialized = true;
+ }
+}
+
+function onClosed(){
+ $clinit_Window();
+ closeHandlersInitialized && fire_0((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1));
+}
+
+function onClosing(){
+ $clinit_Window();
+ var event_0;
+ if (closeHandlersInitialized) {
+ event_0 = new Window$ClosingEvent;
+ !!handlers_1 && $fireEvent(handlers_1, event_0);
+ return null;
+ }
+ return null;
+}
+
+function onResize(){
+ $clinit_Window();
+ var height, width_0;
+ if (resizeHandlersInitialized) {
+ width_0 = $getClientWidth($doc);
+ height = $getClientHeight($doc);
+ if (lastResizeWidth != width_0 || lastResizeHeight != height) {
+ lastResizeWidth = width_0;
+ lastResizeHeight = height;
+ fire_1((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1));
+ }
+ }
+}
+
+var closeHandlersInitialized = false, handlers_1, impl_4, lastResizeHeight = 0, lastResizeWidth = 0, resizeHandlersInitialized = false;
+function $clinit_Window$ClosingEvent(){
+ $clinit_Window$ClosingEvent = emptyMethod;
+ TYPE_5 = new GwtEvent$Type;
+}
+
+function Window$ClosingEvent(){
+ $clinit_Window$ClosingEvent();
+}
+
+defineClass(330, 569, {}, Window$ClosingEvent);
+_.dispatch = function(handler){
+ throwClassCastExceptionUnlessNull(handler);
+ null.nullMethod();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_5;
+}
+;
+var TYPE_5;
+var Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit = createForClass('com.google.gwt.user.client', 'Window/ClosingEvent', 330, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function buildListParamMap(queryString){
+ var entry, entry$iterator, key, kv, kvPair, kvPair$array, kvPair$index, kvPair$max, out, qs, val, values, regexp;
+ out = new HashMap;
+ if (queryString != null && queryString.length > 1) {
+ qs = __substr(queryString, 1, queryString.length - 1);
+ for (kvPair$array = $split(qs, '&', 0) , kvPair$index = 0 , kvPair$max = kvPair$array.length; kvPair$index < kvPair$max; ++kvPair$index) {
+ kvPair = kvPair$array[kvPair$index];
+ kv = $split(kvPair, '=', 2);
+ key = kv[0];
+ if (!key.length) {
+ continue;
+ }
+ val = kv.length > 1?kv[1]:'';
+ try {
+ val = (throwIfNull(val) , regexp = /\+/g , decodeURIComponent(val.replace(regexp, '%20')));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 58))
+ throw unwrap($e0);
+ }
+ values = dynamicCast(out.get_0(key), 32);
+ if (!values) {
+ values = new ArrayList;
+ out.put(key, values);
+ }
+ values.add_1(val);
+ }
+ }
+ for (entry$iterator = out.entrySet_0().iterator(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 26);
+ entry.setValue_0(unmodifiableList(dynamicCast(entry.getValue_1(), 32)));
+ }
+ out = ($clinit_Collections() , new Collections$UnmodifiableMap(out));
+ return out;
+}
+
+function ensureListParameterMap(){
+ var currentQueryString;
+ currentQueryString = ($clinit_Window() , impl_4).getQueryString();
+ if (!listParamMap || !$equals_2(cachedQueryString, currentQueryString)) {
+ listParamMap = buildListParamMap(currentQueryString);
+ cachedQueryString = currentQueryString;
+ }
+}
+
+var cachedQueryString = '', listParamMap;
+function Window$WindowHandlers(){
+ HandlerManager.call(this, null);
+}
+
+defineClass(134, 60, {25:1}, Window$WindowHandlers);
+var Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit = createForClass('com.google.gwt.user.client', 'Window/WindowHandlers', 134, Lcom_google_gwt_event_shared_HandlerManager_2_classLit);
+function $eventCancelBubble(evt, cancel){
+ evt.cancelBubble = cancel;
+}
+
+function $eventGetTypeInt(eventType){
+ switch (eventType) {
+ case 'blur':
+ return 4096;
+ case 'change':
+ return 1024;
+ case 'click':
+ return 1;
+ case 'dblclick':
+ return 2;
+ case 'focus':
+ return 2048;
+ case 'keydown':
+ return 128;
+ case 'keypress':
+ return 256;
+ case 'keyup':
+ return 512;
+ case 'load':
+ return 32768;
+ case 'losecapture':
+ return 8192;
+ case 'mousedown':
+ return 4;
+ case 'mousemove':
+ return 64;
+ case 'mouseout':
+ return 32;
+ case 'mouseover':
+ return 16;
+ case 'mouseup':
+ return 8;
+ case 'scroll':
+ return 16384;
+ case 'error':
+ return $intern_31;
+ case 'DOMMouseScroll':
+ case 'mousewheel':
+ return $intern_32;
+ case 'contextmenu':
+ return 262144;
+ case 'paste':
+ return $intern_17;
+ case 'touchstart':
+ return $intern_33;
+ case 'touchmove':
+ return $intern_34;
+ case 'touchend':
+ return $intern_18;
+ case 'touchcancel':
+ return $intern_35;
+ case 'gesturestart':
+ return $intern_36;
+ case 'gesturechange':
+ return $intern_37;
+ case 'gestureend':
+ return $intern_38;
+ default:return -1;
+ }
+}
+
+function $maybeInitializeEventSystem(this$static){
+ if (!eventSystemIsInitialized) {
+ this$static.initEventSystem();
+ eventSystemIsInitialized = true;
+ }
+}
+
+function getEventListener(elem){
+ var maybeListener = elem.__listener;
+ return !instanceOfJso(maybeListener) && instanceOf(maybeListener, 21)?maybeListener:null;
+}
+
+function setEventListener(elem, listener){
+ elem.__listener = listener;
+}
+
+defineClass(587, 1, {});
+var eventSystemIsInitialized = false;
+var Lcom_google_gwt_user_client_impl_DOMImpl_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImpl', 587, Ljava_lang_Object_2_classLit);
+function $clinit_DOMImplStandard(){
+ $clinit_DOMImplStandard = emptyMethod;
+ bitlessEventDispatchers = {_default_:dispatchEvent_3, dragenter:dispatchDragEvent, dragover:dispatchDragEvent};
+ captureEventDispatchers = {click:dispatchCapturedMouseEvent, dblclick:dispatchCapturedMouseEvent, mousedown:dispatchCapturedMouseEvent, mouseup:dispatchCapturedMouseEvent, mousemove:dispatchCapturedMouseEvent, mouseover:dispatchCapturedMouseEvent, mouseout:dispatchCapturedMouseEvent, mousewheel:dispatchCapturedMouseEvent, keydown:dispatchCapturedEvent, keyup:dispatchCapturedEvent, keypress:dispatchCapturedEvent, touchstart:dispatchCapturedMouseEvent, touchend:dispatchCapturedMouseEvent, touchmove:dispatchCapturedMouseEvent, touchcancel:dispatchCapturedMouseEvent, gesturestart:dispatchCapturedMouseEvent, gestureend:dispatchCapturedMouseEvent, gesturechange:dispatchCapturedMouseEvent};
+}
+
+function $getChild_0(elem, index_0){
+ var count = 0, child = elem.firstChild;
+ while (child) {
+ if (child.nodeType == 1) {
+ if (index_0 == count)
+ return child;
+ ++count;
+ }
+ child = child.nextSibling;
+ }
+ return null;
+}
+
+function $initEventSystem(){
+ dispatchEvent_2 = $entry(dispatchEvent_3);
+ dispatchUnhandledEvent = $entry(dispatchUnhandledEvent_0);
+ var foreach = foreach_0;
+ var bitlessEvents = bitlessEventDispatchers;
+ foreach(bitlessEvents, function(e, fn){
+ bitlessEvents[e] = $entry(fn);
+ }
+ );
+ var captureEvents_0 = captureEventDispatchers;
+ foreach(captureEvents_0, function(e, fn){
+ captureEvents_0[e] = $entry(fn);
+ }
+ );
+ foreach(captureEvents_0, function(e, fn){
+ $wnd.addEventListener(e, fn, true);
+ }
+ );
+}
+
+function $releaseCapture(this$static, elem){
+ $maybeInitializeEventSystem(this$static);
+ captureElem == elem && (captureElem = null);
+}
+
+function $setCapture(this$static, elem){
+ $maybeInitializeEventSystem(this$static);
+ captureElem = elem;
+}
+
+function $sinkBitlessEvent_0(this$static, elem, eventTypeName){
+ $maybeInitializeEventSystem(this$static);
+ this$static.sinkBitlessEventImpl(elem, eventTypeName);
+}
+
+function $sinkBitlessEventImpl(elem, eventTypeName){
+ var dispatchMap = bitlessEventDispatchers;
+ var dispatcher = dispatchMap[eventTypeName] || dispatchMap['_default_'];
+ elem.addEventListener(eventTypeName, dispatcher, false);
+}
+
+function $sinkEventsImpl(elem, bits){
+ var chMask = (elem.__eventBits || 0) ^ bits;
+ elem.__eventBits = bits;
+ if (!chMask)
+ return;
+ chMask & 1 && (elem.onclick = bits & 1?dispatchEvent_2:null);
+ chMask & 2 && (elem.ondblclick = bits & 2?dispatchEvent_2:null);
+ chMask & 4 && (elem.onmousedown = bits & 4?dispatchEvent_2:null);
+ chMask & 8 && (elem.onmouseup = bits & 8?dispatchEvent_2:null);
+ chMask & 16 && (elem.onmouseover = bits & 16?dispatchEvent_2:null);
+ chMask & 32 && (elem.onmouseout = bits & 32?dispatchEvent_2:null);
+ chMask & 64 && (elem.onmousemove = bits & 64?dispatchEvent_2:null);
+ chMask & 128 && (elem.onkeydown = bits & 128?dispatchEvent_2:null);
+ chMask & 256 && (elem.onkeypress = bits & 256?dispatchEvent_2:null);
+ chMask & 512 && (elem.onkeyup = bits & 512?dispatchEvent_2:null);
+ chMask & 1024 && (elem.onchange = bits & 1024?dispatchEvent_2:null);
+ chMask & 2048 && (elem.onfocus = bits & 2048?dispatchEvent_2:null);
+ chMask & 4096 && (elem.onblur = bits & 4096?dispatchEvent_2:null);
+ chMask & 8192 && (elem.onlosecapture = bits & 8192?dispatchEvent_2:null);
+ chMask & 16384 && (elem.onscroll = bits & 16384?dispatchEvent_2:null);
+ chMask & 32768 && (elem.onload = bits & 32768?dispatchUnhandledEvent:null);
+ chMask & $intern_31 && (elem.onerror = bits & $intern_31?dispatchEvent_2:null);
+ chMask & $intern_32 && (elem.onmousewheel = bits & $intern_32?dispatchEvent_2:null);
+ chMask & 262144 && (elem.oncontextmenu = bits & 262144?dispatchEvent_2:null);
+ chMask & $intern_17 && (elem.onpaste = bits & $intern_17?dispatchEvent_2:null);
+ chMask & $intern_33 && (elem.ontouchstart = bits & $intern_33?dispatchEvent_2:null);
+ chMask & $intern_34 && (elem.ontouchmove = bits & $intern_34?dispatchEvent_2:null);
+ chMask & $intern_18 && (elem.ontouchend = bits & $intern_18?dispatchEvent_2:null);
+ chMask & $intern_35 && (elem.ontouchcancel = bits & $intern_35?dispatchEvent_2:null);
+ chMask & $intern_36 && (elem.ongesturestart = bits & $intern_36?dispatchEvent_2:null);
+ chMask & $intern_37 && (elem.ongesturechange = bits & $intern_37?dispatchEvent_2:null);
+ chMask & $intern_38 && (elem.ongestureend = bits & $intern_38?dispatchEvent_2:null);
+}
+
+function dispatchCapturedEvent(evt){
+ previewEvent(evt);
+}
+
+function dispatchCapturedMouseEvent(evt){
+ $clinit_DOMImplStandard();
+ var cancelled;
+ cancelled = !previewEvent(evt);
+ if (cancelled || !captureElem) {
+ return;
+ }
+ dispatchEvent_0(evt, captureElem) && $eventStopPropagation(($clinit_DOMImpl() , evt));
+}
+
+function dispatchDragEvent(evt){
+ $eventPreventDefault(($clinit_DOMImpl() , evt));
+ dispatchEvent_3(evt);
+}
+
+function dispatchEvent_3(evt){
+ var element;
+ element = getFirstAncestorWithListener(evt);
+ if (!element) {
+ return;
+ }
+ dispatchEvent_1(evt, element.nodeType != 1?null:element, getEventListener(element));
+}
+
+function dispatchUnhandledEvent_0(evt){
+ var element;
+ element = ($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(evt);
+ $setPropertyString(element, '__gwtLastUnhandledEvent', evt.type);
+ dispatchEvent_3(evt);
+}
+
+function getFirstAncestorWithListener(evt){
+ var curElem;
+ curElem = ($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(evt);
+ while (!!curElem && !getEventListener(curElem)) {
+ curElem = curElem.parentNode;
+ }
+ return curElem;
+}
+
+defineClass(588, 587, {});
+_.initEventSystem = function(){
+ $initEventSystem();
+}
+;
+_.sinkBitlessEventImpl = function(elem, eventTypeName){
+ $sinkBitlessEventImpl(elem, eventTypeName);
+}
+;
+_.sinkEvents_0 = function(elem, bits){
+ $maybeInitializeEventSystem(this);
+ $sinkEventsImpl(elem, bits);
+}
+;
+var bitlessEventDispatchers, captureElem, captureEventDispatchers, dispatchEvent_2, dispatchUnhandledEvent;
+var Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplStandard', 588, Lcom_google_gwt_user_client_impl_DOMImpl_2_classLit);
+defineClass(589, 588, {});
+var Lcom_google_gwt_user_client_impl_DOMImplStandardBase_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplStandardBase', 589, Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit);
+function DOMImplIE9_0(){
+ $clinit_DOMImplStandard();
+}
+
+defineClass(434, 589, {}, DOMImplIE9_0);
+_.sinkBitlessEventImpl = function(elem, eventTypeName){
+ $sinkBitlessEventImpl(elem, eventTypeName);
+ $equals_2('dragover', eventTypeName) && $sinkBitlessEventImpl(elem, 'dragenter');
+}
+;
+var Lcom_google_gwt_user_client_impl_DOMImplIE9_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplIE9', 434, Lcom_google_gwt_user_client_impl_DOMImplStandardBase_2_classLit);
+function $clinit_DOMImplMozilla(){
+ $clinit_DOMImplMozilla = emptyMethod;
+ $clinit_DOMImplStandard();
+ captureEventDispatchers['DOMMouseScroll'] = dispatchCapturedMouseEvent;
+}
+
+function $initSyntheticMouseUpEvents(){
+ $wnd.addEventListener('mouseout', $entry(function(evt){
+ var cap = ($clinit_DOMImplStandard() , captureElem);
+ if (cap && !evt.relatedTarget) {
+ if ('html' == evt.target.tagName.toLowerCase()) {
+ var muEvent = $doc.createEvent('MouseEvents');
+ muEvent.initMouseEvent('mouseup', true, true, $wnd, 0, evt.screenX, evt.screenY, evt.clientX, evt.clientY, evt.ctrlKey, evt.altKey, evt.shiftKey, evt.metaKey, evt.button, null);
+ cap.dispatchEvent(muEvent);
+ }
+ }
+ }
+ ), true);
+}
+
+function DOMImplMozilla_0(){
+ $clinit_DOMImplMozilla();
+}
+
+defineClass(433, 588, {}, DOMImplMozilla_0);
+_.initEventSystem = function(){
+ $initEventSystem();
+ $initSyntheticMouseUpEvents();
+}
+;
+_.sinkEvents_0 = function(elem, bits){
+ $maybeInitializeEventSystem(this);
+ $sinkEventsImpl(elem, bits);
+ bits & $intern_32 && elem.addEventListener('DOMMouseScroll', ($clinit_DOMImplStandard() , dispatchEvent_2), false);
+}
+;
+var Lcom_google_gwt_user_client_impl_DOMImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplMozilla', 433, Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit);
+function DOMImplWebkit_0(){
+ $clinit_DOMImplStandard();
+}
+
+defineClass(432, 589, {}, DOMImplWebkit_0);
+var Lcom_google_gwt_user_client_impl_DOMImplWebkit_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplWebkit', 432, Lcom_google_gwt_user_client_impl_DOMImplStandardBase_2_classLit);
+function foreach_0(map_0, fn){
+ for (var e in map_0) {
+ map_0.hasOwnProperty(e) && fn(e, map_0[e]);
+ }
+}
+
+function WindowImpl(){
+}
+
+defineClass(464, 1, {}, WindowImpl);
+_.getHash = function getHash(){
+ return $wnd.location.hash;
+}
+;
+_.getQueryString = function getQueryString(){
+ return $wnd.location.search;
+}
+;
+_.initWindowCloseHandler = function initWindowCloseHandler(){
+ var oldOnBeforeUnload = $wnd.onbeforeunload;
+ var oldOnUnload = $wnd.onunload;
+ $wnd.onbeforeunload = function(evt){
+ var ret, oldRet;
+ try {
+ ret = $entry(onClosing)();
+ }
+ finally {
+ oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);
+ }
+ if (ret != null) {
+ return ret;
+ }
+ if (oldRet != null) {
+ return oldRet;
+ }
+ }
+ ;
+ $wnd.onunload = $entry(function(evt){
+ try {
+ $clinit_Window();
+ closeHandlersInitialized && fire_0((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1));
+ }
+ finally {
+ oldOnUnload && oldOnUnload(evt);
+ $wnd.onresize = null;
+ $wnd.onscroll = null;
+ $wnd.onbeforeunload = null;
+ $wnd.onunload = null;
+ }
+ }
+ );
+}
+;
+_.initWindowResizeHandler = function initWindowResizeHandler(){
+ var oldOnResize = $wnd.onresize;
+ $wnd.onresize = $entry(function(evt){
+ try {
+ onResize();
+ }
+ finally {
+ oldOnResize && oldOnResize(evt);
+ }
+ }
+ );
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImpl', 464, Ljava_lang_Object_2_classLit);
+function $initHandler(initFunc, cmd){
+ var scriptElem;
+ scriptElem = $createScriptElement_0($doc, initFunc);
+ $appendChild($doc.body, scriptElem);
+ cmd.execute_1();
+ $removeChild($doc.body, scriptElem);
+}
+
+function WindowImplIE(){
+}
+
+defineClass(490, 464, {}, WindowImplIE);
+_.getHash = function getHash_0(){
+ var href_0 = $wnd.location.href;
+ var hashLoc = href_0.indexOf('#');
+ return hashLoc > 0?href_0.substring(hashLoc):'';
+}
+;
+_.getQueryString = function getQueryString_0(){
+ var href_0 = $wnd.location.href;
+ var hashLoc = href_0.indexOf('#');
+ hashLoc >= 0 && (href_0 = href_0.substring(0, hashLoc));
+ var questionLoc = href_0.indexOf('?');
+ return questionLoc > 0?href_0.substring(questionLoc):'';
+}
+;
+_.initWindowCloseHandler = function(){
+ $initHandler('function __gwt_initWindowCloseHandler(beforeunload, unload) {\n var wnd = window\n , oldOnBeforeUnload = wnd.onbeforeunload\n , oldOnUnload = wnd.onunload;\n \n wnd.onbeforeunload = function(evt) {\n var ret, oldRet;\n try {\n ret = beforeunload();\n } finally {\n oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);\n }\n // Avoid returning null as IE6 will coerce it into a string.\n // Ensure that "" gets returned properly.\n if (ret != null) {\n return ret;\n }\n if (oldRet != null) {\n return oldRet;\n }\n // returns undefined.\n };\n \n wnd.onunload = function(evt) {\n try {\n unload();\n } finally {\n oldOnUnload && oldOnUnload(evt);\n wnd.onresize = null;\n wnd.onscroll = null;\n wnd.onbeforeunload = null;\n wnd.onunload = null;\n }\n };\n \n // Remove the reference once we\'ve initialize the handler\n wnd.__gwt_initWindowCloseHandler = undefined;\n}\n', new WindowImplIE$1);
+}
+;
+_.initWindowResizeHandler = function(){
+ $initHandler("function __gwt_initWindowResizeHandler(resize) {\n var wnd = window, oldOnResize = wnd.onresize;\n \n wnd.onresize = function(evt) {\n try {\n resize();\n } finally {\n oldOnResize && oldOnResize(evt);\n }\n };\n \n // Remove the reference once we've initialize the handler\n wnd.__gwt_initWindowResizeHandler = undefined;\n}\n", new WindowImplIE$2);
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImplIE_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplIE', 490, Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit);
+function WindowImplIE$1(){
+}
+
+defineClass(491, 1, {}, WindowImplIE$1);
+_.execute_1 = function(){
+ $wnd.__gwt_initWindowCloseHandler($entry(onClosing), $entry(onClosed));
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImplIE$1_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplIE/1', 491, Ljava_lang_Object_2_classLit);
+function WindowImplIE$2(){
+}
+
+defineClass(492, 1, {}, WindowImplIE$2);
+_.execute_1 = function(){
+ $wnd.__gwt_initWindowResizeHandler($entry(onResize));
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImplIE$2_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplIE/2', 492, Ljava_lang_Object_2_classLit);
+function WindowImplMozilla(){
+}
+
+defineClass(493, 464, {}, WindowImplMozilla);
+_.getHash = function getHash_1(){
+ var href_0 = $wnd.location.href;
+ var hashLoc = href_0.indexOf('#');
+ return hashLoc > 0?href_0.substring(hashLoc):'';
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplMozilla', 493, Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit);
+function $add_3(this$static, w){
+ $add_2(this$static, w, $getElement(this$static));
+}
+
+function $remove_1(this$static, w){
+ var removed;
+ removed = $remove_0(this$static, w);
+ removed && changeToStaticPositioning($getElement(w));
+ return removed;
+}
+
+function changeToStaticPositioning(elem){
+ $setProperty_0(elem.style, 'left', '');
+ $setProperty_0(elem.style, 'top', '');
+ $setProperty_0(elem.style, 'position', '');
+}
+
+defineClass(441, 181, $intern_29);
+_.add_0 = function(w){
+ $add_3(this, w);
+}
+;
+_.remove = function(w){
+ return $remove_1(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AbsolutePanel', 441, Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit);
+function $clinit_AttachDetachException(){
+ $clinit_AttachDetachException = emptyMethod;
+ attachCommand = new AttachDetachException$1;
+ detachCommand = new AttachDetachException$2;
+}
+
+function AttachDetachException(causes){
+ UmbrellaException_0.call(this, causes);
+}
+
+function tryCommand(hasWidgets, c){
+ $clinit_AttachDetachException();
+ var caught, e, w, w$iterator;
+ caught = null;
+ for (w$iterator = hasWidgets.iterator(); w$iterator.hasNext();) {
+ w = dynamicCast(w$iterator.next_0(), 17);
+ try {
+ c.execute_2(w);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ !caught && (caught = new HashSet);
+ $add_7(caught, e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ if (caught) {
+ throw new AttachDetachException(caught);
+ }
+}
+
+defineClass(445, 182, $intern_14, AttachDetachException);
+var attachCommand, detachCommand;
+var Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException', 445, Lcom_google_gwt_event_shared_UmbrellaException_2_classLit);
+function AttachDetachException$1(){
+}
+
+defineClass(446, 1, {}, AttachDetachException$1);
+_.execute_2 = function(w){
+ w.onAttach();
+}
+;
+var Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException/1', 446, Ljava_lang_Object_2_classLit);
+function AttachDetachException$2(){
+}
+
+defineClass(447, 1, {}, AttachDetachException$2);
+_.execute_2 = function(w){
+ w.onDetach();
+}
+;
+var Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException/2', 447, Ljava_lang_Object_2_classLit);
+function $clinit_FocusWidget(){
+ $clinit_FocusWidget = emptyMethod;
+ $clinit_FocusImpl();
+}
+
+defineClass(440, 17, $intern_28);
+_.getTabIndex_0 = function(){
+ return $getTabIndex_0($getElement(this));
+}
+;
+_.onAttach = function(){
+ var tabIndex;
+ $onAttach(this);
+ tabIndex = this.getTabIndex_0();
+ -1 == tabIndex && this.setTabIndex(0);
+}
+;
+_.setTabIndex = function(index_0){
+ $setTabIndex($getElement(this), index_0);
+}
+;
+var Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit = createForClass('com.google.gwt.user.client.ui', 'FocusWidget', 440, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $setText(this$static, text_0){
+ $setInnerText($getElement(this$static), text_0);
+}
+
+function ButtonBase(elem){
+ $setElement_1(this, ($clinit_DOM() , elem));
+}
+
+defineClass(179, 440, $intern_28);
+var Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ButtonBase', 179, Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit);
+function Button(){
+ $clinit_FocusWidget();
+ ButtonBase.call(this, $createPushButtonElement($doc));
+ $setClassName($getElement(this), 'gwt-Button');
+}
+
+defineClass(180, 179, $intern_28, Button);
+var Lcom_google_gwt_user_client_ui_Button_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Button', 180, Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit);
+function $addValueChangeHandler_0(this$static, handler){
+ if (!this$static.valueChangeHandlerInitialized) {
+ $addDomHandler(this$static, new CheckBox$1(this$static), ($clinit_ClickEvent() , $clinit_ClickEvent() , TYPE));
+ this$static.valueChangeHandlerInitialized = true;
+ }
+ return $addHandler_0(this$static, handler, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3));
+}
+
+function $getValue(this$static){
+ return this$static.attached?($clinit_Boolean() , $isChecked(this$static.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this$static.inputElem)?TRUE:FALSE);
+}
+
+function $setValue(this$static, value_0){
+ var oldValue;
+ !value_0 && (value_0 = ($clinit_Boolean() , FALSE));
+ oldValue = this$static.attached?($clinit_Boolean() , $isChecked(this$static.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this$static.inputElem)?TRUE:FALSE);
+ $setChecked(this$static.inputElem, value_0.value_0);
+ $setDefaultChecked(this$static.inputElem, value_0.value_0);
+ if (!!oldValue && oldValue.value_0 == value_0.value_0) {
+ return;
+ }
+}
+
+function CheckBox(){
+ $clinit_FocusWidget();
+ CheckBox_0.call(this, ($clinit_DOM() , $createCheckInputElement($doc)));
+ $setClassName($getElement(this), 'gwt-CheckBox');
+}
+
+function CheckBox_0(elem){
+ var uid;
+ ButtonBase.call(this, ($clinit_DOM() , $createSpanElement($doc)));
+ this.inputElem = as_2(elem);
+ this.labelElem = $createLabelElement($doc);
+ $appendChild($getElement(this), this.inputElem);
+ $appendChild($getElement(this), this.labelElem);
+ uid = $createUniqueId($doc);
+ $setPropertyString(this.inputElem, 'id', uid);
+ $setHtmlFor(this.labelElem, uid);
+ new DirectionalTextHelper(this.labelElem);
+ !!this.inputElem && $setTabIndex(this.inputElem, 0);
+}
+
+defineClass(186, 179, $intern_28, CheckBox);
+_.getTabIndex_0 = function(){
+ return $getTabIndex(this.inputElem);
+}
+;
+_.onLoad = function(){
+ $clinit_DOM();
+ setEventListener(this.inputElem, this);
+}
+;
+_.onUnload = function(){
+ $clinit_DOM();
+ setEventListener(this.inputElem, null);
+ $setValue(this, this.attached?($clinit_Boolean() , $isChecked(this.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this.inputElem)?TRUE:FALSE));
+}
+;
+_.setTabIndex = function(index_0){
+ !!this.inputElem && $setTabIndex(this.inputElem, index_0);
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ this.eventsToSink == -1?sinkEvents_0(this.inputElem, eventBitsToAdd | getEventsSunk(this.inputElem)):this.eventsToSink == -1?sinkEvents($getElement(this), eventBitsToAdd | ($clinit_DOM() , $getElement(this).__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
+}
+;
+_.valueChangeHandlerInitialized = false;
+var Lcom_google_gwt_user_client_ui_CheckBox_2_classLit = createForClass('com.google.gwt.user.client.ui', 'CheckBox', 186, Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit);
+function CheckBox$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(473, 1, $intern_39, CheckBox$1);
+_.onClick = function(event_0){
+ fire_2(this.this$01, $getValue(this.this$01));
+}
+;
+var Lcom_google_gwt_user_client_ui_CheckBox$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'CheckBox/1', 473, Ljava_lang_Object_2_classLit);
+function $checkInit(this$static){
+ if (!this$static.widget) {
+ throw new IllegalStateException_0('initWidget() is not called yet');
+ }
+}
+
+function $initWidget(this$static, widget){
+ var elem;
+ if (this$static.widget) {
+ throw new IllegalStateException_0('Composite.initWidget() may only be called once.');
+ }
+ $removeFromParent_0(widget);
+ elem = $getElement(widget);
+ $setElement_1(this$static, ($clinit_DOM() , elem));
+ isPotential_0(elem) && $setResolver(as_7(elem), this$static);
+ this$static.widget = widget;
+ $setParent(widget, this$static);
+}
+
+function $isAttached(this$static){
+ if (this$static.widget) {
+ return this$static.widget.attached;
+ }
+ return false;
+}
+
+function $onAttach_0(this$static){
+ $checkInit(this$static);
+ if (this$static.eventsToSink != -1) {
+ $sinkEvents(this$static.widget, this$static.eventsToSink);
+ this$static.eventsToSink = -1;
+ }
+ $onAttach(this$static.widget);
+ $clinit_DOM();
+ setEventListener($getElement(this$static), this$static);
+ fire(this$static);
+}
+
+defineClass(570, 17, $intern_28);
+_.isAttached = function(){
+ return $isAttached(this);
+}
+;
+_.onAttach = function(){
+ $onAttach_0(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ $onBrowserEvent(this, event_0);
+ $onBrowserEvent(this.widget, event_0);
+}
+;
+_.onDetach = function(){
+ try {
+ fire(this);
+ }
+ finally {
+ $onDetach(this.widget);
+ }
+}
+;
+_.resolvePotentialElement = function(){
+ $setElement_0(this, $resolvePotentialElement());
+ return $getElement(this);
+}
+;
+var Lcom_google_gwt_user_client_ui_Composite_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Composite', 570, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $setTextOrHtml(this$static, content_0, isHtml){
+ isHtml?$setInnerHTML(this$static.element, content_0):$setInnerText(this$static.element, content_0);
+ if (this$static.textDir != this$static.initialElementDir) {
+ this$static.textDir = this$static.initialElementDir;
+ setDirectionOnElement(this$static.element, this$static.initialElementDir);
+ }
+}
+
+function DirectionalTextHelper(element){
+ this.element = element;
+ this.initialElementDir = getDirectionOnElement(element);
+ this.textDir = this.initialElementDir;
+}
+
+defineClass(185, 1, {}, DirectionalTextHelper);
+var Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2_classLit = createForClass('com.google.gwt.user.client.ui', 'DirectionalTextHelper', 185, Ljava_lang_Object_2_classLit);
+function LabelBase(element, isElementInline){
+ if (!$equalsIgnoreCase(isElementInline?'span':'div', ($clinit_DOMImpl() , element).tagName)) {
+ debugger;
+ throw new AssertionError;
+ }
+ $setElement_1(this, ($clinit_DOM() , element));
+ this.directionalTextHelper = new DirectionalTextHelper($getElement(this));
+}
+
+defineClass(168, 17, $intern_28);
+var Lcom_google_gwt_user_client_ui_LabelBase_2_classLit = createForClass('com.google.gwt.user.client.ui', 'LabelBase', 168, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $setText_0(this$static, text_0){
+ $setTextOrHtml(this$static.directionalTextHelper, text_0, false);
+}
+
+function Label(element){
+ LabelBase.call(this, element, $equalsIgnoreCase('span', ($clinit_DOMImpl() , element).tagName));
+}
+
+defineClass(403, 168, $intern_28);
+var Lcom_google_gwt_user_client_ui_Label_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Label', 403, Lcom_google_gwt_user_client_ui_LabelBase_2_classLit);
+function HTML(){
+ Label.call(this, $createDivElement($doc));
+ $setClassName($getElement(this), 'gwt-HTML');
+ $setTextOrHtml(this.directionalTextHelper, '', true);
+ $setProperty_0($getElement(this).style, 'whiteSpace', ($clinit_Style$WhiteSpace() , 'nowrap'));
+}
+
+defineClass(136, 403, $intern_28, HTML);
+var Lcom_google_gwt_user_client_ui_HTML_2_classLit = createForClass('com.google.gwt.user.client.ui', 'HTML', 136, Lcom_google_gwt_user_client_ui_Label_2_classLit);
+function $clinit_HasHorizontalAlignment(){
+ $clinit_HasHorizontalAlignment = emptyMethod;
+ $clinit_Style$TextAlign();
+ $clinit_LocaleInfo();
+}
+
+function $remove_2(this$static, w){
+ if (this$static.widget != w) {
+ return false;
+ }
+ try {
+ $orphan(this$static, w);
+ }
+ finally {
+ $removeChild(this$static.getContainerElement(), $getElement(w));
+ this$static.widget = null;
+ }
+ return true;
+}
+
+function $setWidget(this$static, w){
+ if (w == this$static.widget) {
+ return;
+ }
+ !!w && $removeFromParent_0(w);
+ !!this$static.widget && $remove_2(this$static, this$static.widget);
+ this$static.widget = w;
+ if (w) {
+ appendChild(this$static.getContainerElement(), $getElement(this$static.widget));
+ $adopt(this$static, w);
+ }
+}
+
+function SimplePanel(){
+ SimplePanel_0.call(this, ($clinit_DOM() , $createDivElement($doc)));
+}
+
+function SimplePanel_0(elem){
+ $setElement_1(this, ($clinit_DOM() , elem));
+}
+
+defineClass(127, 37, $intern_40);
+_.add_0 = function(w){
+ if (this.widget) {
+ throw new IllegalStateException_0('SimplePanel can only contain one child widget');
+ }
+ this.setWidget(w);
+}
+;
+_.getContainerElement = function(){
+ return $getElement(this);
+}
+;
+_.iterator = function(){
+ return new SimplePanel$1(this);
+}
+;
+_.remove = function(w){
+ return $remove_2(this, w);
+}
+;
+_.setWidget = function(w){
+ $setWidget(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'SimplePanel', 127, Lcom_google_gwt_user_client_ui_Panel_2_classLit);
+function $clinit_PopupPanel(){
+ $clinit_PopupPanel = emptyMethod;
+ impl_5 = com_google_gwt_user_client_ui_impl_PopupImpl();
+}
+
+function $eventTargetsPopup(this$static, event_0){
+ var target;
+ target = ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0);
+ if (is_0(target)) {
+ return $isOrHasChild($getElement(this$static), as(target)) || $isInShadowRoot(as(target), $getElement(this$static));
+ }
+ return false;
+}
+
+function $hide_0(this$static){
+ if (!this$static.showing) {
+ return;
+ }
+ $setState(this$static.resizeAnimation, false, false);
+ fire_0(this$static);
+}
+
+function $isInShadowRoot(wc, popup){
+ return !!wc.shadowRoot && wc.shadowRoot.contains(popup);
+}
+
+function $maybeUpdateSize(this$static){
+ var w;
+ w = this$static.widget;
+ if (w) {
+ this$static.desiredHeight != null && w.setHeight_0(this$static.desiredHeight);
+ this$static.desiredWidth != null && w.setWidth(this$static.desiredWidth);
+ }
+}
+
+function $previewNativeEvent(this$static, event_0){
+ var eventTargetsPopupOrPartner, nativeEvent, target, type_0;
+ if (event_0.isCanceled || !this$static.previewAllNativeEvents && event_0.isConsumed) {
+ this$static.modal && (event_0.isCanceled = true);
+ return;
+ }
+ event_0.isFirstHandler && (event_0.nativeEvent , false) && (event_0.isCanceled = true);
+ if (event_0.isCanceled) {
+ return;
+ }
+ nativeEvent = event_0.nativeEvent;
+ eventTargetsPopupOrPartner = $eventTargetsPopup(this$static, nativeEvent);
+ eventTargetsPopupOrPartner && (event_0.isConsumed = true);
+ this$static.modal && (event_0.isCanceled = true);
+ type_0 = ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , nativeEvent).type));
+ switch (type_0) {
+ case 512:
+ case 256:
+ case 128:
+ {
+ (nativeEvent.keyCode | 0) & $intern_4;
+ (nativeEvent.shiftKey?1:0) | (nativeEvent.metaKey?8:0) | (nativeEvent.ctrlKey?2:0) | (nativeEvent.altKey?4:0);
+ return;
+ }
+
+ case 4:
+ case $intern_33:
+ {
+ if (sCaptureElem) {
+ event_0.isConsumed = true;
+ return;
+ }
+ }
+
+ if (!eventTargetsPopupOrPartner && this$static.autoHide) {
+ this$static.hide_0(true);
+ return;
+ }
+
+ break;
+ case 8:
+ case 64:
+ case 1:
+ case 2:
+ case $intern_18:
+ {
+ if (sCaptureElem) {
+ event_0.isConsumed = true;
+ return;
+ }
+ break;
+ }
+
+ case 2048:
+ {
+ target = impl_0.eventGetTarget(nativeEvent);
+ if (this$static.modal && !eventTargetsPopupOrPartner && !!target) {
+ target.blur && target != $doc.body && target.blur();
+ event_0.isCanceled = true;
+ return;
+ }
+ break;
+ }
+
+ }
+}
+
+function $setHeight_1(this$static, height){
+ this$static.desiredHeight = height;
+ $maybeUpdateSize(this$static);
+ height.length == 0 && (this$static.desiredHeight = null);
+}
+
+function $setPopupPosition(this$static, left, top_0){
+ var elem;
+ this$static.leftPosition = left;
+ this$static.topPosition = top_0;
+ left -= $getBodyOffsetLeft($doc);
+ top_0 -= $getBodyOffsetTop($doc);
+ elem = $getElement(this$static);
+ $setProperty(elem.style, 'left', left, ($clinit_Style$Unit() , PX));
+ $setProperty(elem.style, 'top', top_0, PX);
+}
+
+function $setWidget_0(this$static, w){
+ $setWidget(this$static, w);
+ $maybeUpdateSize(this$static);
+}
+
+function $setWidth_1(this$static, width_0){
+ this$static.desiredWidth = width_0;
+ $maybeUpdateSize(this$static);
+ width_0.length == 0 && (this$static.desiredWidth = null);
+}
+
+function $show(this$static){
+ if (this$static.showing) {
+ return;
+ }
+ else
+ this$static.attached && $removeFromParent_0(this$static);
+ $setState(this$static.resizeAnimation, true, false);
+}
+
+function $updateHandlers(this$static){
+ if (this$static.nativePreviewHandlerRegistration) {
+ $removeHandler(this$static.nativePreviewHandlerRegistration.real);
+ this$static.nativePreviewHandlerRegistration = null;
+ }
+ if (this$static.historyHandlerRegistration) {
+ $removeHandler(this$static.historyHandlerRegistration.real);
+ this$static.historyHandlerRegistration = null;
+ }
+ if (this$static.showing) {
+ this$static.nativePreviewHandlerRegistration = addNativePreviewHandler(new PopupPanel$3(this$static));
+ this$static.historyHandlerRegistration = addValueChangeHandler(new PopupPanel$4(this$static));
+ }
+}
+
+defineClass(128, 127, $intern_40);
+_.getContainerElement = function(){
+ return impl_5.getContainerElement_0(getFirstChild($getElement(this)));
+}
+;
+_.getStyleElement = function(){
+ return impl_5.getStyleElement_0(getFirstChild($getElement(this)));
+}
+;
+_.hide = function(){
+ this.hide_0(false);
+}
+;
+_.hide_0 = function(autoClosed){
+ $hide_0(this);
+}
+;
+_.onUnload = function(){
+ this.showing && $setState(this.resizeAnimation, false, true);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_1(this, height);
+}
+;
+_.setPopupPosition = function(left, top_0){
+ $setPopupPosition(this, left, top_0);
+}
+;
+_.setWidget = function(w){
+ $setWidget_0(this, w);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_1(this, width_0);
+}
+;
+_.autoHide = false;
+_.autoHideOnHistoryEvents = false;
+_.isAnimationEnabled = false;
+_.isGlassEnabled = false;
+_.leftPosition = 0;
+_.modal = false;
+_.previewAllNativeEvents = false;
+_.showing = false;
+_.topPosition = 0;
+var impl_5;
+var Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel', 128, Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit);
+function $onResize(){
+ null.nullMethod();
+ $clinit_Window();
+ $getClientWidth($doc);
+ $getClientHeight($doc);
+ null.nullMethod($clinit_Style$Display());
+ null.nullMethod($clinit_Style$Unit());
+ null.nullMethod($clinit_Style$Unit());
+ $getScrollWidth($doc);
+ $getScrollHeight($doc);
+ null.nullMethod($clinit_Style$Unit());
+ null.nullMethod($clinit_Style$Unit());
+ null.nullMethod($clinit_Style$Display());
+}
+
+function PopupPanel$1(){
+}
+
+defineClass(296, 1, {603:1, 22:1}, PopupPanel$1);
+var Lcom_google_gwt_user_client_ui_PopupPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/1', 296, Ljava_lang_Object_2_classLit);
+function PopupPanel$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(297, 1, $intern_41, PopupPanel$3);
+_.onPreviewNativeEvent = function(event_0){
+ $previewNativeEvent(this.this$01, event_0);
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$3_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/3', 297, Ljava_lang_Object_2_classLit);
+function PopupPanel$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(298, 1, $intern_42, PopupPanel$4);
+_.onValueChange_0 = function(event_0){
+ this.this$01.autoHideOnHistoryEvents && this.this$01.hide();
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$4_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/4', 298, Ljava_lang_Object_2_classLit);
+function $maybeShowGlass(this$static){
+ if (this$static.showing) {
+ if (this$static.curPanel.isGlassEnabled) {
+ $appendChild($doc.body, this$static.curPanel.glass);
+ this$static.resizeRegistration = addResizeHandler(this$static.curPanel.glassResizer);
+ $onResize();
+ this$static.glassShowing = true;
+ }
+ }
+ else if (this$static.glassShowing) {
+ $removeChild($doc.body, this$static.curPanel.glass);
+ $removeHandler(this$static.resizeRegistration.real);
+ this$static.resizeRegistration = null;
+ this$static.glassShowing = false;
+ }
+}
+
+function $onComplete(this$static){
+ if (!this$static.showing) {
+ $maybeShowGlass(this$static);
+ this$static.isUnloading || $remove_1(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ ($clinit_PopupPanel() , impl_5).setClip($getElement(this$static.curPanel), 'rect(auto, auto, auto, auto)');
+ $setProperty_0($getElement(this$static.curPanel).style, 'overflow', 'visible');
+}
+
+function $onInstantaneousRun(this$static){
+ $maybeShowGlass(this$static);
+ if (this$static.showing) {
+ $setProperty_0($getElement(this$static.curPanel).style, 'position', 'absolute');
+ this$static.curPanel.topPosition != -1 && this$static.curPanel.setPopupPosition(this$static.curPanel.leftPosition, this$static.curPanel.topPosition);
+ $add_3(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ else {
+ this$static.isUnloading || $remove_1(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ $setProperty_0($getElement(this$static.curPanel).style, 'overflow', 'visible');
+}
+
+function $onUpdate(this$static, progress){
+ var bottom, height, left, right, top_0, width_0;
+ this$static.showing || (progress = 1 - progress);
+ top_0 = 0;
+ left = 0;
+ right = 0;
+ bottom = 0;
+ height = round_int(progress * this$static.offsetHeight_0);
+ width_0 = round_int(progress * this$static.offsetWidth_0);
+ switch (0) {
+ case 0:
+ top_0 = this$static.offsetHeight_0 - height >> 1;
+ left = this$static.offsetWidth_0 - width_0 >> 1;
+ right = left + width_0;
+ bottom = top_0 + height;
+ }
+ ($clinit_PopupPanel() , impl_5).setClip($getElement(this$static.curPanel), 'rect(' + top_0 + 'px, ' + right + 'px, ' + bottom + 'px, ' + left + 'px)');
+}
+
+function $setState(this$static, showing, isUnloading){
+ var animate;
+ this$static.isUnloading = isUnloading;
+ $cancel(this$static);
+ if (this$static.showTimer) {
+ $cancel_0(this$static.showTimer);
+ this$static.showTimer = null;
+ $onComplete(this$static);
+ }
+ this$static.curPanel.showing = showing;
+ $updateHandlers(this$static.curPanel);
+ animate = !isUnloading && this$static.curPanel.isAnimationEnabled;
+ this$static.showing = showing;
+ if (animate) {
+ if (showing) {
+ $maybeShowGlass(this$static);
+ $setProperty_0($getElement(this$static.curPanel).style, 'position', 'fixed');
+ this$static.curPanel.topPosition != -1 && this$static.curPanel.setPopupPosition(this$static.curPanel.leftPosition, this$static.curPanel.topPosition);
+ ($clinit_PopupPanel() , impl_5).setClip($getElement(this$static.curPanel), 'rect(0px, 0px, 0px, 0px)');
+ $add_3(this$static.this$01.parentPanel, this$static.curPanel);
+ this$static.showTimer = new PopupPanel$ResizeAnimation$1(this$static);
+ $schedule(this$static.showTimer, 1);
+ }
+ else {
+ $run(this$static, now_1());
+ }
+ }
+ else {
+ $onInstantaneousRun(this$static);
+ }
+}
+
+function PopupPanel$ResizeAnimation(this$0, panel){
+ this.this$01 = this$0;
+ Animation.call(this);
+ this.curPanel = panel;
+}
+
+defineClass(294, 129, {}, PopupPanel$ResizeAnimation);
+_.onComplete = function(){
+ $onComplete(this);
+}
+;
+_.onStart = function(){
+ this.offsetHeight_0 = $getPropertyInt($getElement(this.curPanel), 'offsetHeight');
+ this.offsetWidth_0 = $getPropertyInt($getElement(this.curPanel), 'offsetWidth');
+ $setProperty_0($getElement(this.curPanel).style, 'overflow', 'hidden');
+ $onUpdate(this, (1 + cos_0($intern_0)) / 2);
+}
+;
+_.onUpdate = function(progress){
+ $onUpdate(this, progress);
+}
+;
+_.curPanel = null;
+_.glassShowing = false;
+_.isUnloading = false;
+_.offsetHeight_0 = 0;
+_.offsetWidth_0 = -1;
+_.showing = false;
+var Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/ResizeAnimation', 294, Lcom_google_gwt_animation_client_Animation_2_classLit);
+function PopupPanel$ResizeAnimation$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(295, 46, {}, PopupPanel$ResizeAnimation$1);
+_.run = function(){
+ this.this$11.showTimer = null;
+ $run(this.this$11, now_1());
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/ResizeAnimation/1', 295, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $clinit_PotentialElement(){
+ $clinit_PotentialElement = emptyMethod;
+ declareShim();
+}
+
+function $setResolver(this$static, resolver){
+ $clinit_PotentialElement();
+ this$static.__gwt_resolve = buildResolveCallback(resolver);
+}
+
+function as_7(e){
+ $clinit_PotentialElement();
+ if (!isPotential_0(e)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return e;
+}
+
+function buildResolveCallback(resolver){
+ return function(){
+ this.__gwt_resolve = cannotResolveTwice;
+ return resolver.resolvePotentialElement();
+ }
+ ;
+}
+
+function cannotResolveTwice(){
+ throw 'A PotentialElement cannot be resolved twice.';
+}
+
+function declareShim(){
+ var shim = function(){
+ }
+ ;
+ shim.prototype = {className:'', clientHeight:0, clientWidth:0, dir:'', getAttribute:function(name_0, value_0){
+ return this[name_0];
+ }
+ , href:'', id:'', lang:'', nodeType:1, removeAttribute:function(name_0, value_0){
+ this[name_0] = undefined;
+ }
+ , setAttribute:function(name_0, value_0){
+ this[name_0] = value_0;
+ }
+ , src:'', style:{}, title:''};
+ $wnd.GwtPotentialElementShim = shim;
+}
+
+function isPotential_0(o){
+ $clinit_PotentialElement();
+ return isPotential(o);
+}
+
+defineClass(571, 570, $intern_28);
+var Lcom_google_gwt_user_client_ui_ResizeComposite_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ResizeComposite', 571, Lcom_google_gwt_user_client_ui_Composite_2_classLit);
+function $clinit_RootPanel(){
+ $clinit_RootPanel = emptyMethod;
+ maybeDetachCommand = new RootPanel$1;
+ rootPanels = new HashMap;
+ widgetsToDetach = new HashSet;
+}
+
+function RootPanel(elem){
+ ComplexPanel.call(this);
+ $setElement_1(this, ($clinit_DOM() , elem));
+ $onAttach(this);
+}
+
+function detachNow(widget){
+ $clinit_RootPanel();
+ if (!$contains_1(widgetsToDetach, widget)) {
+ debugger;
+ throw new AssertionError_0('detachNow() called on a widget not currently in the detach list');
+ }
+ try {
+ widget.onDetach();
+ }
+ finally {
+ $remove_8(widgetsToDetach, widget);
+ }
+}
+
+function detachOnWindowClose(widget){
+ $clinit_RootPanel();
+ if ($contains_1(widgetsToDetach, widget)) {
+ debugger;
+ throw new AssertionError_0('detachOnUnload() called twice for the same widget');
+ }
+ if (isElementChildOfWidget($getElement(widget))) {
+ debugger;
+ throw new AssertionError_0('A widget that has an existing parent widget may not be added to the detach list');
+ }
+ $add_7(widgetsToDetach, widget);
+}
+
+function detachWidgets(){
+ $clinit_RootPanel();
+ try {
+ tryCommand(widgetsToDetach, maybeDetachCommand);
+ }
+ finally {
+ widgetsToDetach.map_0.clear_0();
+ rootPanels.clear_0();
+ }
+}
+
+function get_0(){
+ $clinit_RootPanel();
+ var rp;
+ rp = dynamicCast(rootPanels.get_0(null), 116);
+ if (rp) {
+ return rp;
+ }
+ if (rootPanels.size_2() == 0) {
+ addCloseHandler(new RootPanel$2);
+ $clinit_LocaleInfo();
+ }
+ rp = new RootPanel$DefaultRootPanel;
+ rootPanels.put(null, rp);
+ detachOnWindowClose(rp);
+ return rp;
+}
+
+function getBodyElement(){
+ $clinit_RootPanel();
+ return $doc.body;
+}
+
+function isElementChildOfWidget(element){
+ var body_0;
+ element = $getParentElement_0(($clinit_DOMImpl() , element));
+ body_0 = $doc.body;
+ while (!!element && body_0 != element) {
+ $clinit_DOM();
+ if (getEventListener(element)) {
+ return true;
+ }
+ element = $getParentElement_0(element);
+ }
+ return false;
+}
+
+defineClass(116, 441, $intern_43);
+var maybeDetachCommand, rootPanels, widgetsToDetach;
+var Lcom_google_gwt_user_client_ui_RootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel', 116, Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit);
+function RootPanel$1(){
+}
+
+defineClass(443, 1, {}, RootPanel$1);
+_.execute_2 = function(w){
+ w.isAttached() && w.onDetach();
+}
+;
+var Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/1', 443, Ljava_lang_Object_2_classLit);
+function RootPanel$2(){
+}
+
+defineClass(444, 1, {202:1, 22:1}, RootPanel$2);
+_.onClose = function(closeEvent){
+ detachWidgets();
+}
+;
+var Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/2', 444, Ljava_lang_Object_2_classLit);
+function RootPanel$DefaultRootPanel(){
+ RootPanel.call(this, getBodyElement());
+}
+
+defineClass(442, 116, $intern_43, RootPanel$DefaultRootPanel);
+var Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/DefaultRootPanel', 442, Lcom_google_gwt_user_client_ui_RootPanel_2_classLit);
+function $next(this$static){
+ if (!this$static.hasElement || !this$static.this$01.widget) {
+ throw new NoSuchElementException;
+ }
+ this$static.hasElement = false;
+ return this$static.returned = this$static.this$01.widget;
+}
+
+function SimplePanel$1(this$0){
+ this.this$01 = this$0;
+ this.hasElement = !!this.this$01.widget;
+}
+
+defineClass(288, 1, {}, SimplePanel$1);
+_.hasNext = function(){
+ return this.hasElement;
+}
+;
+_.next_0 = function(){
+ return $next(this);
+}
+;
+_.remove_0 = function(){
+ !!this.returned && $remove_2(this.this$01, this.returned);
+}
+;
+_.hasElement = false;
+_.returned = null;
+var Lcom_google_gwt_user_client_ui_SimplePanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'SimplePanel/1', 288, Ljava_lang_Object_2_classLit);
+function $add_4(this$static, w){
+ $insert(this$static, w, this$static.size_0);
+}
+
+function $indexOf(this$static, w){
+ var i_0;
+ for (i_0 = 0; i_0 < this$static.size_0; ++i_0) {
+ if (this$static.array[i_0] == w) {
+ return i_0;
+ }
+ }
+ return -1;
+}
+
+function $insert(this$static, w, beforeIndex){
+ var i_0, i0, newArray;
+ if (beforeIndex < 0 || beforeIndex > this$static.size_0) {
+ throw new IndexOutOfBoundsException;
+ }
+ if (this$static.size_0 == this$static.array.length) {
+ newArray = initDim(Lcom_google_gwt_user_client_ui_Widget_2_classLit, $intern_5, 17, this$static.array.length * 2, 0, 1);
+ for (i0 = 0; i0 < this$static.array.length; ++i0) {
+ setCheck(newArray, i0, this$static.array[i0]);
+ }
+ this$static.array = newArray;
+ }
+ ++this$static.size_0;
+ for (i_0 = this$static.size_0 - 1; i_0 > beforeIndex; --i_0) {
+ setCheck(this$static.array, i_0, this$static.array[i_0 - 1]);
+ }
+ setCheck(this$static.array, beforeIndex, w);
+}
+
+function $remove_3(this$static, index_0){
+ var i_0;
+ if (index_0 < 0 || index_0 >= this$static.size_0) {
+ throw new IndexOutOfBoundsException;
+ }
+ --this$static.size_0;
+ for (i_0 = index_0; i_0 < this$static.size_0; ++i_0) {
+ setCheck(this$static.array, i_0, this$static.array[i_0 + 1]);
+ }
+ setCheck(this$static.array, this$static.size_0, null);
+}
+
+function $remove_4(this$static, w){
+ var index_0;
+ index_0 = $indexOf(this$static, w);
+ if (index_0 == -1) {
+ throw new NoSuchElementException;
+ }
+ $remove_3(this$static, index_0);
+}
+
+function WidgetCollection(parent_0){
+ this.parent_0 = parent_0;
+ this.array = initDim(Lcom_google_gwt_user_client_ui_Widget_2_classLit, $intern_5, 17, 4, 0, 1);
+}
+
+defineClass(527, 1, {}, WidgetCollection);
+_.iterator = function(){
+ return new WidgetCollection$WidgetIterator(this);
+}
+;
+_.size_0 = 0;
+var Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit = createForClass('com.google.gwt.user.client.ui', 'WidgetCollection', 527, Ljava_lang_Object_2_classLit);
+function $next_0(this$static){
+ if (this$static.index_0 >= this$static.this$01.size_0) {
+ throw new NoSuchElementException;
+ }
+ this$static.currentWidget = this$static.this$01.array[this$static.index_0];
+ ++this$static.index_0;
+ return this$static.currentWidget;
+}
+
+function WidgetCollection$WidgetIterator(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(192, 1, {}, WidgetCollection$WidgetIterator);
+_.hasNext = function(){
+ return this.index_0 < this.this$01.size_0;
+}
+;
+_.next_0 = function(){
+ return $next_0(this);
+}
+;
+_.remove_0 = function(){
+ if (!this.currentWidget) {
+ throw new IllegalStateException;
+ }
+ this.this$01.parent_0.remove(this.currentWidget);
+ --this.index_0;
+ this.currentWidget = null;
+}
+;
+_.index_0 = 0;
+var Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit = createForClass('com.google.gwt.user.client.ui', 'WidgetCollection/WidgetIterator', 192, Ljava_lang_Object_2_classLit);
+function $clinit_FocusImpl(){
+ $clinit_FocusImpl = emptyMethod;
+ implPanel = com_google_gwt_user_client_ui_impl_FocusImpl();
+}
+
+function $getTabIndex_0(elem){
+ return ($clinit_DOMImpl() , impl_0).getTabIndex(elem);
+}
+
+function FocusImpl(){
+ $clinit_FocusImpl();
+}
+
+defineClass(501, 1, {}, FocusImpl);
+_.focus_0 = function(elem){
+ $focus(elem);
+}
+;
+var implPanel;
+var Lcom_google_gwt_user_client_ui_impl_FocusImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImpl', 501, Ljava_lang_Object_2_classLit);
+function FocusImplStandard(){
+ $clinit_FocusImpl();
+}
+
+defineClass(515, 501, {}, FocusImplStandard);
+var Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImplStandard', 515, Lcom_google_gwt_user_client_ui_impl_FocusImpl_2_classLit);
+function FocusImplSafari(){
+ $clinit_FocusImpl();
+}
+
+defineClass(516, 515, {}, FocusImplSafari);
+_.focus_0 = function focus_0(elem){
+ $wnd.setTimeout(function(){
+ elem.focus();
+ }
+ , 0);
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_FocusImplSafari_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImplSafari', 516, Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2_classLit);
+function PopupImpl(){
+}
+
+defineClass(494, 1, {}, PopupImpl);
+_.createElement_0 = function(){
+ return $createDivElement($doc);
+}
+;
+_.getContainerElement_0 = function(popup){
+ return popup;
+}
+;
+_.getStyleElement_0 = function(popup){
+ return $getParentElement_0(($clinit_DOMImpl() , popup));
+}
+;
+_.setClip = function(popup, rect){
+ $setProperty_0(popup.style, 'clip', rect);
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_PopupImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImpl', 494, Ljava_lang_Object_2_classLit);
+function $clinit_PopupImplMozilla(){
+ $clinit_PopupImplMozilla = emptyMethod;
+ isFF2Mac = isFF2Mac_0();
+}
+
+function PopupImplMozilla(){
+ $clinit_PopupImplMozilla();
+}
+
+function isFF2Mac_0(){
+ function makeVersion(result){
+ return parseInt(result[1]) * 1000 + parseInt(result[2]);
+ }
+
+ var ua = navigator.userAgent;
+ if (ua.indexOf('Macintosh') != -1) {
+ var result_0 = /rv:([0-9]+)\.([0-9]+)/.exec(ua);
+ if (result_0 && result_0.length == 3) {
+ if (makeVersion(result_0) <= 1008) {
+ return true;
+ }
+ }
+ }
+ return false;
+}
+
+defineClass(495, 494, {}, PopupImplMozilla);
+_.createElement_0 = function(){
+ var outerElem;
+ outerElem = ($clinit_DOM() , $createDivElement($doc));
+ if (isFF2Mac) {
+ $setInnerHTML(outerElem, '<div><\/div>');
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new PopupImplMozilla$1(outerElem));
+ }
+ return outerElem;
+}
+;
+_.getContainerElement_0 = function(outerElem){
+ return isFF2Mac?$getFirstChildElement_0(($clinit_DOMImpl() , outerElem)):outerElem;
+}
+;
+_.getStyleElement_0 = function(outerElem){
+ return isFF2Mac?outerElem:$getParentElement_0(($clinit_DOMImpl() , outerElem));
+}
+;
+_.setClip = function(popup, rect){
+ $setProperty_0(popup.style, 'clip', rect);
+ $setProperty_0(popup.style, 'display', ($clinit_Style$Display() , 'none'));
+ $setProperty_0(popup.style, 'display', '');
+}
+;
+var isFF2Mac = false;
+var Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImplMozilla', 495, Lcom_google_gwt_user_client_ui_impl_PopupImpl_2_classLit);
+function PopupImplMozilla$1(val$outerElem){
+ this.val$outerElem2 = val$outerElem;
+}
+
+defineClass(496, 1, {}, PopupImplMozilla$1);
+_.execute_1 = function(){
+ $setProperty_0(this.val$outerElem2.style, 'overflow', ($clinit_Style$Overflow() , 'auto'));
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla$1_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImplMozilla/1', 496, Ljava_lang_Object_2_classLit);
+function assertCompileTimeUserAgent(){
+ var compileTimeValue, impl, runtimeValue;
+ impl = dynamicCast(com_google_gwt_useragent_client_UserAgent(), 196);
+ compileTimeValue = impl.getCompileTimeValue();
+ runtimeValue = impl.getRuntimeValue();
+ if (!$equals_2(compileTimeValue, runtimeValue)) {
+ throw new UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue);
+ }
+}
+
+function Error_0(message, cause){
+ Throwable_0.call(this, message, cause);
+}
+
+defineClass(121, 13, $intern_1);
+var Ljava_lang_Error_2_classLit = createForClass('java.lang', 'Error', 121, Ljava_lang_Throwable_2_classLit);
+function AssertionError(){
+ Throwable.call(this);
+}
+
+function AssertionError_0(message){
+ Error_0.call(this, '' + message, instanceOf(message, 13)?dynamicCast(message, 13):null);
+}
+
+defineClass(5, 121, $intern_1, AssertionError, AssertionError_0);
+var Ljava_lang_AssertionError_2_classLit = createForClass('java.lang', 'AssertionError', 5, Ljava_lang_Error_2_classLit);
+function UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue){
+ AssertionError_0.call(this, 'Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.');
+}
+
+defineClass(206, 5, $intern_1, UserAgentAsserter$UserAgentAssertionError);
+var Lcom_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentAsserter/UserAgentAssertionError', 206, Ljava_lang_AssertionError_2_classLit);
+function UserAgentImplGecko1_8(){
+}
+
+defineClass(499, 1, {196:1}, UserAgentImplGecko1_8);
+_.getCompileTimeValue = function(){
+ return 'gecko1_8';
+}
+;
+_.getRuntimeValue = function getRuntimeValue(){
+ var ua = navigator.userAgent.toLowerCase();
+ var docMode = $doc.documentMode;
+ if (function(){
+ return ua.indexOf('webkit') != -1;
+ }
+ ())
+ return 'safari';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11;
+ }
+ ())
+ return 'ie10';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11;
+ }
+ ())
+ return 'ie9';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11;
+ }
+ ())
+ return 'ie8';
+ if (function(){
+ return ua.indexOf('gecko') != -1 || docMode >= 11;
+ }
+ ())
+ return 'gecko1_8';
+ return 'unknown';
+}
+;
+var Lcom_google_gwt_useragent_client_UserAgentImplGecko1_18_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplGecko1_8', 499, Ljava_lang_Object_2_classLit);
+function UserAgentImplIe10(){
+}
+
+defineClass(498, 1, {196:1}, UserAgentImplIe10);
+_.getCompileTimeValue = function(){
+ return 'ie10';
+}
+;
+_.getRuntimeValue = function getRuntimeValue_0(){
+ var ua = navigator.userAgent.toLowerCase();
+ var docMode = $doc.documentMode;
+ if (function(){
+ return ua.indexOf('webkit') != -1;
+ }
+ ())
+ return 'safari';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11;
+ }
+ ())
+ return 'ie10';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11;
+ }
+ ())
+ return 'ie9';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11;
+ }
+ ())
+ return 'ie8';
+ if (function(){
+ return ua.indexOf('gecko') != -1 || docMode >= 11;
+ }
+ ())
+ return 'gecko1_8';
+ return 'unknown';
+}
+;
+var Lcom_google_gwt_useragent_client_UserAgentImplIe10_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplIe10', 498, Ljava_lang_Object_2_classLit);
+function UserAgentImplSafari(){
+}
+
+defineClass(500, 1, {196:1}, UserAgentImplSafari);
+_.getCompileTimeValue = function(){
+ return 'safari';
+}
+;
+_.getRuntimeValue = function getRuntimeValue_1(){
+ var ua = navigator.userAgent.toLowerCase();
+ var docMode = $doc.documentMode;
+ if (function(){
+ return ua.indexOf('webkit') != -1;
+ }
+ ())
+ return 'safari';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11;
+ }
+ ())
+ return 'ie10';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11;
+ }
+ ())
+ return 'ie9';
+ if (function(){
+ return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11;
+ }
+ ())
+ return 'ie8';
+ if (function(){
+ return ua.indexOf('gecko') != -1 || docMode >= 11;
+ }
+ ())
+ return 'gecko1_8';
+ return 'unknown';
+}
+;
+var Lcom_google_gwt_useragent_client_UserAgentImplSafari_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplSafari', 500, Ljava_lang_Object_2_classLit);
+function $clearOnReadyStateChange(this$static){
+ this$static.onreadystatechange = function(){
+ }
+ ;
+}
+
+function $open(this$static, httpMethod, url_0, user){
+ this$static.open(httpMethod, url_0, true, user);
+}
+
+function $open_0(this$static, httpMethod, url_0, user, password){
+ this$static.open(httpMethod, url_0, true, user, password);
+}
+
+function $setOnReadyStateChange(this$static, handler){
+ var _this = this$static;
+ this$static.onreadystatechange = $entry(function(){
+ handler.onReadyStateChange(_this);
+ }
+ );
+}
+
+function $setRequestHeader(this$static, header, value_0){
+ this$static.setRequestHeader(header, value_0);
+}
+
+function $removeHandler(this$static){
+ $doRemove(this$static.this$01, this$static.val$type2, this$static.val$source3, this$static.val$handler4);
+}
+
+function SimpleEventBus$1(this$0, val$type, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = null;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(333, 1, {}, SimpleEventBus$1);
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/1', 333, Ljava_lang_Object_2_classLit);
+function SimpleEventBus$2(this$0, val$type, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = null;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(334, 1, {552:1}, SimpleEventBus$2);
+_.execute_1 = function(){
+ $doAddNow(this.this$01, this.val$type2, this.val$source3, this.val$handler4);
+}
+;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$2_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/2', 334, Ljava_lang_Object_2_classLit);
+function SimpleEventBus$3(this$0, val$type, val$source, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = val$source;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(335, 1, {552:1}, SimpleEventBus$3);
+_.execute_1 = function(){
+ $doRemoveNow(this.this$01, this.val$type2, this.val$source3, this.val$handler4);
+}
+;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$3_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/3', 335, Ljava_lang_Object_2_classLit);
+function $clinit_AnimationUtil(){
+ $clinit_AnimationUtil = emptyMethod;
+ ANIMATION_END_EVENT_NAME = whichAnimationEndEvent();
+ whichAnimationProperty();
+}
+
+function addAnimationEndListener(elem, listener){
+ $clinit_AnimationUtil();
+ var callbackFunc = $entry(function(e){
+ listener.onAnimationEnd(e);
+ }
+ );
+ elem.addEventListener(ANIMATION_END_EVENT_NAME, callbackFunc, false);
+ !elem._vaadin_animationend_callbacks && (elem._vaadin_animationend_callbacks = []);
+ elem._vaadin_animationend_callbacks.push(callbackFunc);
+ return callbackFunc;
+}
+
+function getAnimationName(event_0){
+ $clinit_AnimationUtil();
+ if (event_0.webkitAnimationName)
+ return event_0.webkitAnimationName;
+ else if (event_0.animationName)
+ return event_0.animationName;
+ else if (event_0.mozAnimationName)
+ return event_0.mozAnimationName;
+ else if (event_0.oAnimationName)
+ return event_0.oAnimationName;
+ return '';
+}
+
+function getAnimationName_0(cstyle){
+ $clinit_AnimationUtil();
+ var cs = cstyle.computedStyle;
+ if (!cs.getPropertyValue)
+ return '';
+ if (cs.getPropertyValue('-webkit-animation-name'))
+ return cs.getPropertyValue('-webkit-animation-name');
+ else if (cs.getPropertyValue('animation-name'))
+ return cs.getPropertyValue('animation-name');
+ else if (cs.getPropertyValue('-moz-animation-name'))
+ return cs.getPropertyValue('-moz-animation-name');
+ else if (cs.getPropertyValue('-o-animation-name'))
+ return cs.getPropertyValue('-o-animation-name');
+ return '';
+}
+
+function removeAllAnimationEndListeners(elem){
+ $clinit_AnimationUtil();
+ if (elem._vaadin_animationend_callbacks) {
+ var callbacks = elem._vaadin_animationend_callbacks;
+ for (var i_0 = 0; i_0 < callbacks.length; i_0++) {
+ elem.removeEventListener(ANIMATION_END_EVENT_NAME, callbacks[i_0], false);
+ }
+ }
+}
+
+function removeAnimationEndListener(elem, listener){
+ $clinit_AnimationUtil();
+ elem.removeEventListener(ANIMATION_END_EVENT_NAME, listener, false);
+}
+
+function whichAnimationEndEvent(){
+ var el = document.createElement('fakeelement');
+ var anims = {animationName:'animationend', OAnimationName:'oAnimationEnd', MozAnimation:'animationend', WebkitAnimation:'webkitAnimationEnd'};
+ for (var a in anims) {
+ if (el.style[a] !== undefined) {
+ return anims[a];
+ }
+ }
+}
+
+function whichAnimationProperty(){
+ var el = document.createElement('fakeelement');
+ var anims = ['animation', 'oAnimation', 'mozAnimation', 'webkitAnimation'];
+ for (var i_0 = 0; i_0 < anims.length; i_0++) {
+ if (el.style[anims[i_0]] !== undefined) {
+ return anims[i_0];
+ }
+ }
+}
+
+var ANIMATION_END_EVENT_NAME;
+function $clinit_ApplicationConfiguration(){
+ $clinit_ApplicationConfiguration = emptyMethod;
+ new LinkedList;
+ runningApplications_0 = new ArrayList;
+}
+
+var runningApplications_0;
+function $clinit_BrowserInfo(){
+ $clinit_BrowserInfo = emptyMethod;
+ var browserClassnames;
+ browserClassnames = $getCSSClass((!instance_2 && (instance_2 = new BrowserInfo) , instance_2));
+ $addStyleName(($clinit_RootPanel() , get_0()), browserClassnames);
+}
+
+function $detectTouchDevice(){
+ try {
+ document.createEvent('TouchEvent');
+ return true;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function $getCSSClass(this$static){
+ var browserEngineClass, browserIdentifier, majorVersionClass, minorVersionClass, osClass;
+ if (cssClass == null) {
+ browserIdentifier = '';
+ majorVersionClass = '';
+ minorVersionClass = '';
+ browserEngineClass = '';
+ if (this$static.browserDetails.isFirefox) {
+ browserIdentifier = 'ff';
+ majorVersionClass = 'ff' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'gecko';
+ }
+ else if (this$static.browserDetails.isChrome) {
+ browserIdentifier = 'sa';
+ majorVersionClass = 'ch';
+ browserEngineClass = 'webkit';
+ }
+ else if (this$static.browserDetails.isSafari) {
+ browserIdentifier = 'sa';
+ majorVersionClass = 'sa' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'webkit';
+ }
+ else if (this$static.browserDetails.isIE) {
+ browserIdentifier = 'ie';
+ majorVersionClass = 'ie' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'trident';
+ }
+ else if (this$static.browserDetails.isOpera) {
+ browserIdentifier = 'op';
+ majorVersionClass = 'op' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'presto';
+ }
+ cssClass = 'v-' + browserIdentifier;
+ $equals_2('', majorVersionClass) || (cssClass = cssClass + ' ' + 'v-' + majorVersionClass);
+ $equals_2('', minorVersionClass) || (cssClass = cssClass + ' ' + 'v-' + minorVersionClass);
+ $equals_2('', browserEngineClass) || (cssClass = cssClass + ' ' + 'v-' + browserEngineClass);
+ osClass = $getOperatingSystemClass(this$static);
+ osClass != null && (cssClass = cssClass + ' ' + osClass);
+ this$static.touchDevice && (cssClass = cssClass + ' ' + 'v-' + 'touch');
+ }
+ return cssClass;
+}
+
+function $getIEDocumentMode(){
+ var mode = $wnd.document.documentMode;
+ if (!mode)
+ return -1;
+ return mode;
+}
+
+function $getOperatingSystemClass(this$static){
+ if (this$static.browserDetails.os == 5) {
+ return 'v-android';
+ }
+ else if (this$static.browserDetails.os == 4) {
+ return 'v-ios v-ios' + this$static.browserDetails.osMajorVersion;
+ }
+ else if (this$static.browserDetails.os == 1) {
+ return 'v-win';
+ }
+ else if (this$static.browserDetails.os == 3) {
+ return 'v-lin';
+ }
+ else if (this$static.browserDetails.os == 2) {
+ return 'v-mac';
+ }
+ return null;
+}
+
+function $isBrowserVersionNewerOrEqual(this$static){
+ if (this$static.browserDetails.browserMajorVersion == 8) {
+ return this$static.browserDetails.browserMinorVersion >= 0;
+ }
+ return this$static.browserDetails.browserMajorVersion > 8;
+}
+
+function $isIE10(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 10;
+}
+
+function $isIE8(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 8;
+}
+
+function $isIE9(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 9;
+}
+
+function BrowserInfo(){
+ $clinit_BrowserInfo();
+ var documentMode;
+ this.browserDetails = new VBrowserDetails($wnd.navigator.userAgent);
+ if (this.browserDetails.isIE) {
+ documentMode = $getIEDocumentMode();
+ documentMode != -1 && $setIEMode(this.browserDetails, documentMode);
+ }
+ this.browserDetails.isChrome?(this.touchDevice = 'ontouchstart' in window):this.browserDetails.isIE?(this.touchDevice = !!navigator.msMaxTouchPoints):(this.touchDevice = $detectTouchDevice());
+}
+
+defineClass(35, 1, {}, BrowserInfo);
+_.touchDevice = false;
+var cssClass = null, instance_2;
+var Lcom_vaadin_client_BrowserInfo_2_classLit = createForClass('com.vaadin.client', 'BrowserInfo', 35, Ljava_lang_Object_2_classLit);
+function ComputedStyle(elem){
+ this.computedStyle = getComputedStyle_0(elem);
+}
+
+function getComputedStyle_0(elem){
+ if (elem.nodeType != 1) {
+ return {};
+ }
+ if ($wnd.document.defaultView && $wnd.document.defaultView.getComputedStyle) {
+ return $wnd.document.defaultView.getComputedStyle(elem, null);
+ }
+ if (elem.currentStyle) {
+ return elem.currentStyle;
+ }
+}
+
+defineClass(190, 1, {}, ComputedStyle);
+var Lcom_vaadin_client_ComputedStyle_2_classLit = createForClass('com.vaadin.client', 'ComputedStyle', 190, Ljava_lang_Object_2_classLit);
+function findConnectorFor(){
+ var applicationConnection$iterator, runningApplications;
+ runningApplications = ($clinit_ApplicationConfiguration() , $clinit_ApplicationConfiguration() , runningApplications_0);
+ for (applicationConnection$iterator = new AbstractList$IteratorImpl(runningApplications); applicationConnection$iterator.i < applicationConnection$iterator.this$01_0.size_2();) {
+ checkCriticalElement(applicationConnection$iterator.i < applicationConnection$iterator.this$01_0.size_2());
+ throwClassCastExceptionUnlessNull(applicationConnection$iterator.this$01_0.get_1(applicationConnection$iterator.last = applicationConnection$iterator.i++));
+ null.nullMethod();
+ null.nullMethod();
+ continue;
+ }
+ return null;
+}
+
+function $scheduleDeferred_0(this$static, cmd){
+ ++this$static.deferredCommandTrackers;
+ this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, false]);
+ $maybeSchedulePostEventPumpCommands(this$static);
+ $scheduleDeferred(this$static, new VSchedulerImpl$1(this$static));
+}
+
+function VSchedulerImpl(){
+}
+
+defineClass(465, 429, {}, VSchedulerImpl);
+_.deferredCommandTrackers = 0;
+var Lcom_vaadin_client_VSchedulerImpl_2_classLit = createForClass('com.vaadin.client', 'VSchedulerImpl', 465, Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit);
+function VSchedulerImpl$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(466, 1, {}, VSchedulerImpl$1);
+_.execute_1 = function(){
+ --this.this$01.deferredCommandTrackers;
+}
+;
+var Lcom_vaadin_client_VSchedulerImpl$1_2_classLit = createForClass('com.vaadin.client', 'VSchedulerImpl/1', 466, Ljava_lang_Object_2_classLit);
+function $clinit_WidgetUtil(){
+ $clinit_WidgetUtil = emptyMethod;
+ $clinit_DOM();
+ $createDivElement($doc);
+}
+
+function findWidget(element){
+ $clinit_WidgetUtil();
+ var eventListener, w;
+ if (element) {
+ eventListener = null;
+ while (!eventListener && !!element) {
+ eventListener = ($clinit_DOM() , getEventListener(element));
+ !eventListener && (element = $getParentElement_0(($clinit_DOMImpl() , element)));
+ }
+ if (instanceOf(eventListener, 17)) {
+ w = dynamicCast(eventListener, 17);
+ while (w) {
+ return w;
+ }
+ }
+ }
+ return null;
+}
+
+function forceIERedraw(e){
+ var style, currentValue;
+ $clinit_WidgetUtil();
+ ($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isIE && (style = e.style , currentValue = ($assertCamelCase('zoom') , ($clinit_DOMImpl() , style)['zoom']) , $assertCamelCase('zoom') , $setPropertyImpl(style, 'zoom', '1') , $getSubPixelOffsetWidth(e) | 0 , $assertCamelCase('zoom') , $setPropertyImpl(style, 'zoom', currentValue) , undefined);
+}
+
+function getElementFromPoint(clientX, clientY){
+ $clinit_WidgetUtil();
+ var el = $wnd.document.elementFromPoint(clientX, clientY);
+ el = $wnd.document.elementFromPoint(clientX, clientY);
+ el != null && el.nodeType == 3 && (el = el.parentNode);
+ return el;
+}
+
+function getFocusedElement(){
+ $clinit_WidgetUtil();
+ if ($wnd.document.activeElement) {
+ return $wnd.document.activeElement;
+ }
+ return null;
+}
+
+function getNativeScrollbarSize(){
+ $clinit_WidgetUtil();
+ var scroller;
+ if (detectedScrollbarSize < 0) {
+ scroller = ($clinit_DOM() , $createDivElement($doc));
+ $setProperty_0(scroller.style, 'width', '50px');
+ $setProperty_0(scroller.style, 'height', '50px');
+ $setProperty_0(scroller.style, 'overflow', 'scroll');
+ $setProperty_0(scroller.style, 'position', 'absolute');
+ $setProperty_0(scroller.style, 'marginLeft', '-5000px');
+ $appendChild(getBodyElement(), scroller);
+ detectedScrollbarSize = ($getSubPixelOffsetWidth(scroller) | 0) - $getPropertyInt(scroller, 'clientWidth');
+ $removeChild(getBodyElement(), scroller);
+ }
+ return detectedScrollbarSize;
+}
+
+function getRequiredHeightBoundingClientRectDouble(element){
+ $clinit_WidgetUtil();
+ var height;
+ if (element.getBoundingClientRect != null) {
+ var rect = element.getBoundingClientRect();
+ height = rect.bottom - rect.top;
+ }
+ else {
+ height = element.offsetHeight;
+ }
+ return height;
+}
+
+function getRequiredWidthBoundingClientRectDouble(element){
+ $clinit_WidgetUtil();
+ if (element.getBoundingClientRect) {
+ var rect = element.getBoundingClientRect();
+ return rect.right - rect.left;
+ }
+ else {
+ return element.offsetWidth;
+ }
+}
+
+function pixelValuesEqual(num1, num2){
+ $clinit_WidgetUtil();
+ return (num1 - num2 <= 0?0 - (num1 - num2):num1 - num2) <= 0.49;
+}
+
+var detectedScrollbarSize = -1;
+function $assertDataChangeHandlerIsInjected(this$static){
+ if (!this$static.dataChangeHandler) {
+ debugger;
+ throw new AssertionError_0("The dataChangeHandler was called before it was injected. Maybe you tried to manipulate the data in the DataSource's constructor instead of in overriding onAttach() and doing it there?");
+ }
+}
+
+function $checkCacheCoverage(this$static){
+ var minCacheRange, missingCachePartition;
+ if (this$static.currentRequestCallback) {
+ return;
+ }
+ minCacheRange = $getMinCacheRange(this$static);
+ if (!$intersects(minCacheRange, this$static.cached) || $isEmpty_0(this$static.cached)) {
+ this$static.indexToRowMap.clear_0();
+ this$static.keyToIndexMap.clear_0();
+ this$static.cached = new Range_0(0, 0);
+ $handleMissingRows(this$static, $getMaxCacheRange(this$static));
+ }
+ else {
+ $discardStaleCacheEntries(this$static);
+ if ($isSubsetOf(minCacheRange, this$static.cached)) {
+ !!this$static.dataChangeHandler && $dataAvailable(this$static.dataChangeHandler, this$static.cached.start_0, $length_0(this$static.cached));
+ }
+ else {
+ missingCachePartition = $partitionWith($getMaxCacheRange(this$static), this$static.cached);
+ $handleMissingRows(this$static, missingCachePartition[0]);
+ $handleMissingRows(this$static, missingCachePartition[2]);
+ }
+ }
+}
+
+function $discardStaleCacheEntries(this$static){
+ var cacheParition;
+ cacheParition = $partitionWith(this$static.cached, $getMaxCacheRange(this$static));
+ $dropFromCache(this$static, cacheParition[0]);
+ this$static.cached = cacheParition[1];
+ $dropFromCache(this$static, cacheParition[2]);
+}
+
+function $dropFromCache(this$static, range){
+ var i_0, removed;
+ for (i_0 = range.start_0; i_0 < range.end; i_0++) {
+ removed = this$static.indexToRowMap.remove_2(valueOf_2(i_0));
+ this$static.keyToIndexMap.remove_2(this$static.getRowKey(removed));
+ }
+}
+
+function $ensureCoverageCheck(this$static){
+ if (!this$static.coverageCheckPending) {
+ this$static.coverageCheckPending = true;
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this$static.coverageChecker);
+ }
+}
+
+function $getAvailableRangeForCache(this$static){
+ var upperBound;
+ upperBound = this$static.size_2();
+ upperBound == -1 && (upperBound = $length_0(this$static.requestedAvailability));
+ return withLength(0, upperBound);
+}
+
+function $getMaxCacheRange(this$static){
+ var availableDataRange, maxCacheRange;
+ availableDataRange = $getAvailableRangeForCache(this$static);
+ maxCacheRange = $getMaxCacheRange_0(this$static.cacheStrategy, this$static.requestedAvailability, availableDataRange);
+ if (!$isSubsetOf(maxCacheRange, availableDataRange)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return maxCacheRange;
+}
+
+function $getMinCacheRange(this$static){
+ var availableDataRange, minCacheRange;
+ availableDataRange = $getAvailableRangeForCache(this$static);
+ minCacheRange = $getMinCacheRange_0(this$static.cacheStrategy, this$static.requestedAvailability, availableDataRange);
+ if (!$isSubsetOf(minCacheRange, availableDataRange)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return minCacheRange;
+}
+
+function $handleMissingRows(this$static, range){
+ if (range.start_0 >= range.end) {
+ return;
+ }
+ this$static.currentRequestCallback = new AbstractRemoteDataSource$RequestRowsCallback;
+ this$static.requestRows(range.start_0, range.end - range.start_0, this$static.currentRequestCallback);
+}
+
+function $indexOf_0(this$static, row){
+ var key;
+ key = this$static.getRowKey(row);
+ if (this$static.keyToIndexMap.containsKey(key)) {
+ return dynamicCast(this$static.keyToIndexMap.get_0(key), 57).value_0;
+ }
+ return -1;
+}
+
+function $pinHandle(this$static, handle){
+ var count, key;
+ key = handle.key;
+ count = dynamicCast(this$static.pinnedCounts.get_0(key), 57);
+ if (!count) {
+ count = valueOf_2(0);
+ this$static.pinnedRows.put(key, handle);
+ }
+ this$static.pinnedCounts.put(key, valueOf_2(count.value_0 + 1));
+}
+
+function $resetDataAndSize(this$static, newSize){
+ this$static.size_1 = newSize;
+ $dropFromCache(this$static, this$static.cached);
+ this$static.cached = withLength(0, 0);
+ $assertDataChangeHandlerIsInjected(this$static);
+ $resetDataAndSize_0(this$static.dataChangeHandler, newSize);
+}
+
+function $setRowData(this$static, firstRowIndex, rowData){
+ var i_0, maxCacheRange, newUsefulData, partition, received, row;
+ if (firstRowIndex + rowData.size_2() > this$static.size_0) {
+ debugger;
+ throw new AssertionError;
+ }
+ received = withLength(firstRowIndex, rowData.size_2());
+ if (this$static.currentRequestCallback) {
+ now_1() - this$static.currentRequestCallback.requestStart;
+ this$static.currentRequestCallback = null;
+ }
+ maxCacheRange = $getMaxCacheRange(this$static);
+ partition = $partitionWith(received, maxCacheRange);
+ newUsefulData = partition[1];
+ if (newUsefulData.start_0 < newUsefulData.end) {
+ for (i_0 = newUsefulData.start_0; i_0 < newUsefulData.end; i_0++) {
+ row = rowData.get_1(i_0 - firstRowIndex);
+ this$static.indexToRowMap.put(valueOf_2(i_0), row);
+ this$static.keyToIndexMap.put(this$static.getRowKey_0(dynamicCastJso(row)), valueOf_2(i_0));
+ }
+ !!this$static.dataChangeHandler && $dataUpdated(this$static.dataChangeHandler, newUsefulData.start_0, newUsefulData.end - newUsefulData.start_0);
+ if ($isEmpty_0(this$static.cached)) {
+ this$static.cached = newUsefulData;
+ }
+ else {
+ $discardStaleCacheEntries(this$static);
+ $isEmpty_0(this$static.cached)?(this$static.cached = newUsefulData):(this$static.cached = $combineWith(this$static.cached, newUsefulData));
+ }
+ !!this$static.dataChangeHandler && $dataAvailable(this$static.dataChangeHandler, this$static.cached.start_0, $length_0(this$static.cached));
+ $updatePinnedRows(this$static, rowData);
+ }
+ !$isEmpty_0(partition[0]) || !$isEmpty_0(partition[2]);
+ $ensureCoverageCheck(this$static);
+}
+
+function $unpinHandle(this$static, handle){
+ var count, key;
+ key = handle.key;
+ count = dynamicCast(this$static.pinnedCounts.get_0(key), 57);
+ if (!count) {
+ throw new IllegalStateException_0('Row ' + $getRow(handle) + ' with key ' + key + ' was not pinned to begin with');
+ }
+ else if ($equals_1(count, valueOf_2(1))) {
+ this$static.pinnedRows.remove_2(key);
+ this$static.pinnedCounts.remove_2(key);
+ }
+ else {
+ this$static.pinnedCounts.put(key, valueOf_2(count.value_0 - 1));
+ }
+}
+
+function $updatePinnedRows(this$static, rowData){
+ var handle, key, row, row$iterator;
+ for (row$iterator = rowData.iterator(); row$iterator.hasNext();) {
+ row = row$iterator.next_0();
+ key = this$static.getRowKey_0(dynamicCastJso(row));
+ handle = dynamicCast(this$static.pinnedRows.get_0(key), 104);
+ !!handle && $setRow(handle, row);
+ }
+}
+
+defineClass(65, 1, {65:1});
+_.ensureAvailability = function(firstRowIndex, numberOfRows){
+ this.requestedAvailability = withLength(firstRowIndex, numberOfRows);
+ $ensureCoverageCheck(this);
+}
+;
+_.getHandle = function(row){
+ var key;
+ key = this.getRowKey(row);
+ if (key == null) {
+ throw new NullPointerException_0('key may not be null (row: ' + row + ')');
+ }
+ if (this.pinnedRows.containsKey(key)) {
+ return dynamicCast(this.pinnedRows.get_0(key), 91);
+ }
+ else if (this.keyToIndexMap.containsKey(key)) {
+ return new AbstractRemoteDataSource$RowHandleImpl(this, row, key);
+ }
+ else {
+ throw new IllegalStateException_0('The cache of this DataSource does not currently contain the row ' + row);
+ }
+}
+;
+_.getRow = function(rowIndex){
+ return this.indexToRowMap.get_0(valueOf_2(rowIndex));
+}
+;
+_.setDataChangeHandler = function(dataChangeHandler){
+ this.dataChangeHandler = dataChangeHandler;
+ if (!!dataChangeHandler && !$isEmpty_0(this.cached)) {
+ $dataUpdated(dataChangeHandler, this.cached.start_0, $length_0(this.cached));
+ $dataAvailable(dataChangeHandler, this.cached.start_0, $length_0(this.cached));
+ }
+}
+;
+_.size_2 = function(){
+ return this.size_1;
+}
+;
+_.coverageCheckPending = false;
+_.size_1 = -1;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource', 65, Ljava_lang_Object_2_classLit);
+function AbstractRemoteDataSource$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(304, 1, {}, AbstractRemoteDataSource$1);
+_.execute_1 = function(){
+ this.this$01.coverageCheckPending = false;
+ $checkCacheCoverage(this.this$01);
+}
+;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$1_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/1', 304, Ljava_lang_Object_2_classLit);
+function AbstractRemoteDataSource$RequestRowsCallback(){
+ this.requestStart = now_1();
+}
+
+defineClass(303, 1, {}, AbstractRemoteDataSource$RequestRowsCallback);
+_.requestStart = 0;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/RequestRowsCallback', 303, Ljava_lang_Object_2_classLit);
+defineClass(91, 1, {91:1});
+_.equals$ = function(obj){
+ return $equalsExplicit(this, obj);
+}
+;
+_.hashCode$ = function(){
+ return hashCode__I__devirtual$(this.key);
+}
+;
+var Lcom_vaadin_client_data_DataSource$RowHandle_2_classLit = createForClass('com.vaadin.client.data', 'DataSource/RowHandle', 91, Ljava_lang_Object_2_classLit);
+function $equalsExplicit(this$static, obj){
+ var rhi;
+ if (instanceOf(obj, 104)) {
+ rhi = dynamicCast(obj, 104);
+ return equals_Ljava_lang_Object__Z__devirtual$(this$static.key, rhi.key);
+ }
+ else {
+ return false;
+ }
+}
+
+function $getRow(this$static){
+ if (this$static.this$01.pinnedRows.containsKey(this$static.key)) {
+ return this$static.row;
+ }
+ else {
+ throw new IllegalStateException_0('The row handle for key ' + this$static.key + ' was not pinned');
+ }
+}
+
+function $pin(this$static){
+ $pinHandle(this$static.this$01, this$static);
+}
+
+function $setRow(this$static, row){
+ this$static.row = row;
+ if (!equals_Ljava_lang_Object__Z__devirtual$(this$static.this$01.getRowKey(row), this$static.key)) {
+ debugger;
+ throw new AssertionError_0('The old key does not equal the new key for the given row (old: ' + this$static.key + ', new :' + this$static.this$01.getRowKey(row) + ')');
+ }
+}
+
+function $unpin(this$static){
+ $unpinHandle(this$static.this$01, this$static);
+}
+
+function AbstractRemoteDataSource$RowHandleImpl(this$0, row, key){
+ this.this$01 = this$0;
+ this.row = row;
+ this.key = key;
+}
+
+defineClass(104, 91, {104:1, 91:1}, AbstractRemoteDataSource$RowHandleImpl);
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/RowHandleImpl', 104, Lcom_vaadin_client_data_DataSource$RowHandle_2_classLit);
+function $getMaxCacheRange_0(this$static, displayedRange, estimatedAvailableRange){
+ var cacheSize;
+ cacheSize = $getMaximumCacheSize(this$static, displayedRange.end - displayedRange.start_0);
+ return $restrictTo(new Range_0(displayedRange.start_0 - cacheSize, displayedRange.end + cacheSize), estimatedAvailableRange);
+}
+
+function $getMinCacheRange_0(this$static, displayedRange, estimatedAvailableRange){
+ var cacheSize;
+ cacheSize = $getMinimumCacheSize(this$static, displayedRange.end - displayedRange.start_0);
+ return $restrictTo(new Range_0(displayedRange.start_0 - cacheSize, displayedRange.end + cacheSize), estimatedAvailableRange);
+}
+
+defineClass(592, 1, {});
+var Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2_classLit = createForClass('com.vaadin.client.data', 'CacheStrategy/AbstractBasicSymmetricalCacheStrategy', 592, Ljava_lang_Object_2_classLit);
+function $getMaximumCacheSize(this$static, pageSize){
+ return pageSize * this$static.maximumRatio;
+}
+
+function $getMinimumCacheSize(this$static, pageSize){
+ return pageSize * this$static.minimumRatio;
+}
+
+function CacheStrategy$DefaultCacheStrategy(){
+ this.minimumRatio = 3;
+ this.maximumRatio = 4;
+}
+
+defineClass(188, 592, {}, CacheStrategy$DefaultCacheStrategy);
+_.maximumRatio = 0;
+_.minimumRatio = 0;
+var Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2_classLit = createForClass('com.vaadin.client.data', 'CacheStrategy/DefaultCacheStrategy', 188, Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2_classLit);
+function $setContentVisible(cell, hasData){
+ var cellElement, e, n, node;
+ cellElement = $getElement_0(cell.cell);
+ for (n = 0; n < cellElement.childNodes.length; n++) {
+ node = $getChild(cellElement, n);
+ if (!!node && node.nodeType == 1) {
+ e = as_0(node);
+ hasData?$clearVisibility(e.style):$setProperty_0(e.style, 'visibility', ($clinit_Style$Visibility() , 'hidden'));
+ }
+ }
+}
+
+defineClass(51, 1, {51:1});
+var Lcom_vaadin_client_renderers_ComplexRenderer_2_classLit = createForClass('com.vaadin.client.renderers', 'ComplexRenderer', 51, Ljava_lang_Object_2_classLit);
+defineClass(281, 127, $intern_40);
+var Lcom_vaadin_client_ui_SimpleFocusablePanel_2_classLit = createForClass('com.vaadin.client.ui', 'SimpleFocusablePanel', 281, Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit);
+function $trigger(this$static){
+ !this$static.timer && (this$static.timer = new VLazyExecutor$1(this$static));
+ $schedule(this$static.timer, this$static.delayMs);
+}
+
+function VLazyExecutor(cmd){
+ this.delayMs = 100;
+ this.cmd = cmd;
+}
+
+defineClass(435, 1, {}, VLazyExecutor);
+_.delayMs = 0;
+var Lcom_vaadin_client_ui_VLazyExecutor_2_classLit = createForClass('com.vaadin.client.ui', 'VLazyExecutor', 435, Ljava_lang_Object_2_classLit);
+function VLazyExecutor$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(436, 46, {}, VLazyExecutor$1);
+_.run = function(){
+ this.this$01.timer = null;
+ $execute_0(this.this$01.cmd);
+}
+;
+var Lcom_vaadin_client_ui_VLazyExecutor$1_2_classLit = createForClass('com.vaadin.client.ui', 'VLazyExecutor/1', 436, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $getApplicationConnection(this$static){
+ if (this$static.owner) {
+ findConnectorFor();
+ return this$static.ac;
+ }
+ else {
+ return null;
+ }
+}
+
+function $getShimElement(this$static){
+ if (!this$static.shimElement && $needsShimElement()) {
+ this$static.shimElement = $createIFrameElement($doc);
+ $setProperty_0(this$static.shimElement.style, 'position', ($clinit_Style$Position() , 'absolute'));
+ $setProperty_0(this$static.shimElement.style, 'borderStyle', ($clinit_Style$BorderStyle() , 'none'));
+ $setTabIndex(this$static.shimElement, -1);
+ this$static.shimElement.frameBorder = 0;
+ this$static.shimElement.marginHeight = 0;
+ }
+ return this$static.shimElement;
+}
+
+function $hide_1(this$static, autoClosed){
+ var animationName, cs;
+ if ($isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) || $isIE9((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))) {
+ $hide_0(this$static);
+ }
+ else {
+ if ((impl_5.getStyleElement_0(getFirstChild($getElement(this$static))).className || '').indexOf('animate-in') != -1) {
+ addAnimationEndListener($getElement(this$static), new VOverlay$2(this$static, autoClosed));
+ }
+ else {
+ $setStyleName_0(this$static, getStylePrimaryName(impl_5.getStyleElement_0(getFirstChild($getElement(this$static)))) + '-' + 'animate-out', true);
+ !!this$static.shadow && $addClassName(this$static.shadow, 'v-shadow-animate-out');
+ cs = new ComputedStyle($getElement(this$static));
+ animationName = getAnimationName_0(cs);
+ animationName == null && (animationName = '');
+ if (animationName.indexOf('animate-out') != -1) {
+ this$static.isAnimationEnabled = false;
+ addAnimationEndListener($getElement(this$static), new VOverlay$3(this$static, autoClosed));
+ this$static.previewAllNativeEvents = false;
+ }
+ else {
+ $setStyleName_0(this$static, getStylePrimaryName(impl_5.getStyleElement_0(getFirstChild($getElement(this$static)))) + '-' + 'animate-out', false);
+ !!this$static.shadow && $removeClassName(this$static.shadow, 'v-shadow-animate-out');
+ $hide_0(this$static);
+ }
+ }
+ }
+}
+
+function $maybeShowWithAnimation(this$static){
+ var animationName, cs, isAttached;
+ isAttached = this$static.attached && this$static.showing;
+ $show(this$static);
+ if (isAttached || $isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) || $isIE9(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2))) {
+ return false;
+ }
+ else {
+ $setVisible(this$static, false);
+ $setStyleName_0(this$static, getStylePrimaryName(impl_5.getStyleElement_0(getFirstChild($getElement(this$static)))) + '-' + 'animate-in', true);
+ !!this$static.shadow && $addClassName(this$static.shadow, 'v-shadow-animate-in');
+ cs = new ComputedStyle($getElement(this$static));
+ animationName = getAnimationName_0(cs);
+ animationName == null && (animationName = '');
+ $setVisible(this$static, true);
+ if (animationName.indexOf('animate-in') != -1) {
+ this$static.isAnimationEnabled = false;
+ this$static.animateInListener = addAnimationEndListener($getElement(this$static), new VOverlay$1(this$static));
+ return true;
+ }
+ else {
+ $setStyleName_0(this$static, getStylePrimaryName(impl_5.getStyleElement_0(getFirstChild($getElement(this$static)))) + '-' + 'animate-in', false);
+ !!this$static.shadow && $removeClassName(this$static.shadow, 'v-shadow-animate-in');
+ return false;
+ }
+ }
+}
+
+function $needsShimElement(){
+ var info;
+ info = ($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2);
+ return info.browserDetails.isIE && $isBrowserVersionNewerOrEqual(info);
+}
+
+function $positionOrSizeUpdated(this$static, progress){
+ var container, positionAndSize, zIndex, x_0, y_0;
+ if (!this$static.attached) {
+ return;
+ }
+ try {
+ zIndex = __parseAndValidateInt($getZIndex($getElement(this$static).style));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ zIndex = 1000;
+ }
+ else
+ throw unwrap($e0);
+ }
+ zIndex == -1 && (zIndex = Z_INDEX);
+ if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isIE) {
+ $getPropertyInt($getElement(this$static), 'offsetHeight');
+ $getPropertyInt($getElement(this$static), 'offsetWidth');
+ }
+ if (!!this$static.shadow || $needsShimElement()) {
+ positionAndSize = new VOverlay$PositionAndSize((x_0 = $getAbsoluteLeft($getElement(this$static)) , x_0 -= $getBodyOffsetLeft($doc) , x_0 -= (leftFix == -1 && (leftFix = detectRelativeBodyFixes('left')) , leftFix) , x_0), (y_0 = $getAbsoluteTop($getElement(this$static)) , y_0 -= $getBodyOffsetTop($doc) , y_0 -= (topFix == -1 && (topFix = detectRelativeBodyFixes('top')) , topFix) , y_0), $getPropertyInt($getElement(this$static), 'offsetWidth'), $getPropertyInt($getElement(this$static), 'offsetHeight'));
+ positionAndSize.left_0 += round_int(positionAndSize.width_0 * (1 - progress) / 2);
+ positionAndSize.top_0 += round_int(positionAndSize.height_0 * (1 - progress) / 2);
+ positionAndSize.width_0 = round_int(positionAndSize.width_0 * progress);
+ positionAndSize.height_0 = round_int(positionAndSize.height_0 * progress);
+ container = $getParentElement($getElement(this$static));
+ if (this$static.shadow) {
+ $updateShadowPosition(this$static, progress, zIndex, positionAndSize);
+ !$getParentElement(this$static.shadow) && $insertBefore(container, this$static.shadow, $getElement(this$static));
+ }
+ if ($needsShimElement()) {
+ $updatePositionAndSize($getShimElement(this$static), positionAndSize);
+ !$getParentElement(this$static.shimElement) && $insertBefore(container, this$static.shimElement, $getElement(this$static));
+ }
+ }
+ ($isIE9((!instance_2 && (instance_2 = new BrowserInfo) , instance_2)) || $isIE10((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))) && forceIERedraw($getElement(this$static));
+}
+
+function $removeShadowIfPresent(this$static){
+ if (!!this$static.shadow && !!$getParentElement(this$static.shadow)) {
+ $unsinkShadowEvents(this$static);
+ $removeFromParent(this$static.shadow);
+ }
+}
+
+function $setOwner(this$static, owner){
+ this$static.owner = owner;
+}
+
+function $setPopupPosition_0(this$static, left, top_0){
+ var style;
+ style = $getElement(this$static).style;
+ $setProperty(style, 'marginLeft', (leftFix == -1 && (leftFix = detectRelativeBodyFixes('left')) , -leftFix), ($clinit_Style$Unit() , PX));
+ $setProperty(style, 'marginTop', (topFix == -1 && (topFix = detectRelativeBodyFixes('top')) , -topFix), PX);
+ $setPopupPosition(this$static, left, top_0);
+ $positionOrSizeUpdated(this$static, this$static.isAnimationEnabled?0:1);
+}
+
+function $setShadowEnabled(this$static, enabled){
+ if (enabled != !!this$static.shadow) {
+ if (enabled) {
+ this$static.shadow = ($clinit_DOM() , $createDivElement($doc));
+ $setClassName(this$static.shadow, 'v-shadow');
+ $setInnerHTML(this$static.shadow, '<div aria-hidden="true" class="top-left"><\/div><div class="top"><\/div><div class="top-right"><\/div><div class="left"><\/div><div class="center"><\/div><div class="right"><\/div><div class="bottom-left"><\/div><div class="bottom"><\/div><div class="bottom-right"><\/div>');
+ $setProperty_0(this$static.shadow.style, 'position', ($clinit_Style$Position() , 'absolute'));
+ $addHandler_0(this$static, this$static, TYPE_1?TYPE_1:(TYPE_1 = new GwtEvent$Type));
+ }
+ else {
+ $removeShadowIfPresent(this$static);
+ this$static.shadow = null;
+ }
+ }
+}
+
+function $setVisible(this$static, visible){
+ $setProperty_0($getElement(this$static).style, 'visibility', visible?'visible':'hidden');
+ !!this$static.shadow && $setProperty_0(this$static.shadow.style, 'visibility', visible?'visible':'hidden');
+ !!this$static.shimElement && $setProperty_0(this$static.shimElement.style, 'visibility', visible?'visible':'hidden');
+}
+
+function $setZIndex_0(this$static, zIndex){
+ $setZIndex($getElement(this$static).style, zIndex);
+ !!this$static.shadow && $setZIndex(this$static.shadow.style, zIndex);
+}
+
+function $unsinkShadowEvents(this$static){
+ if (!!this$static.shadow && !!$getParentElement(this$static.shadow)) {
+ $clinit_DOM();
+ setEventListener(this$static.shadow, null);
+ sinkEvents(this$static.shadow, 0);
+ }
+}
+
+function $updatePositionAndSize(e, positionAndSize){
+ $setProperty(e.style, 'left', positionAndSize.left_0, ($clinit_Style$Unit() , PX));
+ $setProperty(e.style, 'top', positionAndSize.top_0, PX);
+ $setProperty(e.style, 'width', positionAndSize.width_0, PX);
+ $setProperty(e.style, 'height', positionAndSize.height_0, PX);
+}
+
+function $updateShadowPosition(this$static, progress, zIndex, positionAndSize){
+ if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isOpera) {
+ $setProperty_0(($clinit_DOM() , $getChild_0(this$static.shadow, 3)).style, 'height', 'auto');
+ $setProperty_0($getChild_0(this$static.shadow, 4).style, 'height', 'auto');
+ $setProperty_0($getChild_0(this$static.shadow, 5).style, 'height', 'auto');
+ }
+ $updatePositionAndSize(this$static.shadow, positionAndSize);
+ $setZIndex(this$static.shadow.style, zIndex);
+ $setProperty_0(this$static.shadow.style, 'display', progress < 0.9?'none':'');
+ if ((!instance_2 && (instance_2 = new BrowserInfo) , instance_2).browserDetails.isOpera) {
+ $setProperty(($clinit_DOM() , $getChild_0(this$static.shadow, 3)).style, 'height', ($getChild_0(this$static.shadow, 3).offsetHeight || 0) | 0, ($clinit_Style$Unit() , PX));
+ $setProperty($getChild_0(this$static.shadow, 4).style, 'height', ($getChild_0(this$static.shadow, 4).offsetHeight || 0) | 0, PX);
+ $setProperty($getChild_0(this$static.shadow, 5).style, 'height', ($getChild_0(this$static.shadow, 5).offsetHeight || 0) | 0, PX);
+ }
+}
+
+function detectRelativeBodyFixes(axis_0){
+ try {
+ var b = $wnd.document.body;
+ var cstyle = b.currentStyle?b.currentStyle:getComputedStyle(b);
+ if (cstyle && cstyle.position == 'relative') {
+ return b.getBoundingClientRect()[axis_0];
+ }
+ }
+ catch (e) {
+ }
+ return 0;
+}
+
+defineClass(283, 128, $intern_44);
+_.hide = function(){
+ $hide_1(this, false);
+}
+;
+_.hide_0 = function(autoClosed){
+ $hide_1(this, autoClosed);
+}
+;
+_.onAttach = function(){
+ var e, overlay;
+ overlay = current_0;
+ if (overlay) {
+ e = ($getApplicationConnection(overlay) , $ensureNamesAreInitialized(Lcom_vaadin_client_ui_VSlider$1_2_classLit) , $getElement(($clinit_RootPanel() , get_0())));
+ $appendChild(e, $getElement(this));
+ }
+ $onAttach(this);
+}
+;
+_.onClose = function(event_0){
+ $removeShadowIfPresent(this);
+}
+;
+_.onDetach = function(){
+ $onDetach(this);
+ $removeShadowIfPresent(this);
+ !!this.shimElement && $removeFromParent(this.shimElement);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_1(this, height);
+ $positionOrSizeUpdated(this, 1);
+}
+;
+_.setPopupPosition = function(left, top_0){
+ $setPopupPosition_0(this, left, top_0);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_1(this, width_0);
+ $positionOrSizeUpdated(this, 1);
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ this.eventsToSink == -1?sinkEvents($getElement(this), eventBitsToAdd | ($clinit_DOM() , $getElement(this).__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
+}
+;
+var Z_INDEX = 20000, current_0, leftFix = -1, topFix = -1;
+var Lcom_vaadin_client_ui_VOverlay_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay', 283, Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit);
+function VOverlay$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(291, 1, {}, VOverlay$1);
+_.onAnimationEnd = function(event_0){
+ var animationName;
+ animationName = getAnimationName(event_0);
+ if (animationName.indexOf('animate-in') != -1) {
+ removeAnimationEndListener($getElement(this.this$01), this.this$01.animateInListener);
+ $removeStyleDependentName(this.this$01, 'animate-in');
+ !!this.this$01.shadow && $removeClassName(this.this$01.shadow, 'v-shadow-animate-in');
+ }
+}
+;
+var Lcom_vaadin_client_ui_VOverlay$1_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/1', 291, Ljava_lang_Object_2_classLit);
+function VOverlay$2(this$0, val$autoClosed){
+ this.this$01 = this$0;
+ this.val$autoClosed2 = val$autoClosed;
+}
+
+defineClass(292, 1, {}, VOverlay$2);
+_.onAnimationEnd = function(event_0){
+ getAnimationName(event_0).indexOf('animate-in') != -1 && $hide_1(this.this$01, this.val$autoClosed2);
+}
+;
+_.val$autoClosed2 = false;
+var Lcom_vaadin_client_ui_VOverlay$2_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/2', 292, Ljava_lang_Object_2_classLit);
+function VOverlay$3(this$0, val$autoClosed){
+ this.this$01 = this$0;
+ this.val$autoClosed2 = val$autoClosed;
+}
+
+defineClass(293, 1, {}, VOverlay$3);
+_.onAnimationEnd = function(event_0){
+ var animationName;
+ animationName = getAnimationName(event_0);
+ if (animationName.indexOf('animate-out') != -1) {
+ removeAllAnimationEndListeners($getElement(this.this$01));
+ $removeStyleDependentName(this.this$01, 'animate-in');
+ $removeStyleDependentName(this.this$01, 'animate-out');
+ if (this.this$01.shadow) {
+ $removeClassName(this.this$01.shadow, 'v-shadow-animate-in');
+ $removeClassName(this.this$01.shadow, 'v-shadow-animate-out');
+ }
+ $hide_0(this.this$01);
+ }
+}
+;
+_.val$autoClosed2 = false;
+var Lcom_vaadin_client_ui_VOverlay$3_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/3', 293, Ljava_lang_Object_2_classLit);
+function $setHeight_2(this$static, height){
+ height < 0 && (height = 0);
+ this$static.height_0 = height;
+}
+
+function $setWidth_2(this$static, width_0){
+ width_0 < 0 && (width_0 = 0);
+ this$static.width_0 = width_0;
+}
+
+function VOverlay$PositionAndSize(left, top_0, width_0, height){
+ this.left_0 = left;
+ this.top_0 = top_0;
+ $setWidth_2(this, width_0);
+ $setHeight_2(this, height);
+}
+
+defineClass(289, 1, {}, VOverlay$PositionAndSize);
+_.height_0 = 0;
+_.left_0 = 0;
+_.top_0 = 0;
+_.width_0 = 0;
+var Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/PositionAndSize', 289, Ljava_lang_Object_2_classLit);
+function VOverlay$ResizeAnimation(this$0){
+ this.this$01 = this$0;
+ Animation.call(this);
+}
+
+defineClass(290, 129, {}, VOverlay$ResizeAnimation);
+_.onUpdate = function(progress){
+ $positionOrSizeUpdated(this.this$01, progress);
+}
+;
+var Lcom_vaadin_client_ui_VOverlay$ResizeAnimation_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/ResizeAnimation', 290, Lcom_google_gwt_animation_client_Animation_2_classLit);
+function $setState_0(this$static, state){
+ var size_0;
+ size_0 = Math.round(100 * state);
+ $setProperty(this$static.indicator.style, 'width', size_0, ($clinit_Style$Unit() , PCT));
+}
+
+function VProgressBar(){
+ this.wrapper = ($clinit_DOM() , $createDivElement($doc));
+ this.indicator = $createDivElement($doc);
+ $setElement_1(this, $createDivElement($doc));
+ $appendChild($getElement(this), this.wrapper);
+ $appendChild(this.wrapper, this.indicator);
+ setStylePrimaryName($getElement(this), 'v-progressbar');
+ $setClassName(this.indicator, getStylePrimaryName($getElement(this)) + '-indicator');
+ $setClassName(this.wrapper, getStylePrimaryName($getElement(this)) + '-wrapper');
+}
+
+defineClass(279, 17, $intern_28, VProgressBar);
+var Lcom_vaadin_client_ui_VProgressBar_2_classLit = createForClass('com.vaadin.client.ui', 'VProgressBar', 279, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $buildBase(this$static){
+ var p;
+ $clearProperty(this$static.base.style, 'height');
+ if ($hasParentElement($getElement(this$static))) {
+ p = $getParentElement($getElement(this$static));
+ if ($getPropertyInt(p, 'offsetWidth') > 50) {
+ $clearProperty(this$static.base.style, 'width');
+ }
+ else {
+ $setProperty(this$static.base.style, 'width', 50, ($clinit_Style$Unit() , PX));
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new VSlider$3(this$static));
+ }
+ }
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new VSlider$4(this$static));
+}
+
+function $buildHandle(this$static){
+ $setProperty_0(this$static.handle.style, 'marginLeft', '0');
+ $clearProperty(this$static.handle.style, 'marginTop');
+}
+
+function $fireValueChanged(this$static){
+ fire_2(this$static, this$static.value_0);
+}
+
+function $handleNavigation(this$static, keycode, ctrl, shift_0){
+ var a;
+ if (ctrl) {
+ return false;
+ }
+ if (keycode == 39) {
+ if (shift_0) {
+ for (a = 0; a < this$static.acceleration; a++) {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 + pow_0(10, -this$static.resolution)), false);
+ }
+ ++this$static.acceleration;
+ }
+ else {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 + pow_0(10, -this$static.resolution)), false);
+ }
+ return true;
+ }
+ else if (keycode == 37) {
+ if (shift_0) {
+ for (a = 0; a < this$static.acceleration; a++) {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 - pow_0(10, -this$static.resolution)), false);
+ }
+ ++this$static.acceleration;
+ }
+ else {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 - pow_0(10, -this$static.resolution)), false);
+ }
+ return true;
+ }
+ return false;
+}
+
+function $processBaseEvent(this$static, event_0){
+ $clinit_DOM();
+ if ($eventGetTypeInt(($clinit_DOMImpl() , event_0).type) == 4) {
+ if (!this$static.disabled_0 && !this$static.readonly && !this$static.dragging) {
+ $setValueByEvent(this$static, event_0, true);
+ $eventCancelBubble(event_0, true);
+ }
+ }
+}
+
+function $processHandleEvent(this$static, event_0){
+ switch ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , event_0).type)) {
+ case 4:
+ case $intern_33:
+ if (!this$static.disabled_0 && !this$static.readonly) {
+ ($clinit_FocusImpl() , $clinit_FocusImpl() , implPanel).focus_0($getElement(this$static));
+ $show_0(this$static.feedbackPopup);
+ this$static.dragging = true;
+ $setClassName(this$static.handle, getStylePrimaryName($getElement(this$static)) + '-handle');
+ $addClassName(this$static.handle, getStylePrimaryName($getElement(this$static)) + '-handle-active');
+ setCapture($getElement(this$static));
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ $eventStopPropagation(event_0);
+ }
+
+ break;
+ case 64:
+ case $intern_34:
+ if (this$static.dragging) {
+ $setValueByEvent(this$static, event_0, false);
+ $setPopupPosition_0(this$static.feedbackPopup, $getAbsoluteLeft(this$static.handle) + (($getSubPixelOffsetWidth(this$static.handle) | 0) / 2 | 0) - ($getPropertyInt($getElement(this$static.feedbackPopup), 'offsetWidth') / 2 | 0), $getAbsoluteTop(this$static.handle) - $getPropertyInt($getElement(this$static.feedbackPopup), 'offsetHeight'));
+ $eventStopPropagation(event_0);
+ }
+
+ break;
+ case $intern_18:
+ $hide_1(this$static.feedbackPopup, false);
+ case 8:
+ this$static.dragging = false;
+ $setClassName(this$static.handle, getStylePrimaryName($getElement(this$static)) + '-handle');
+ releaseCapture($getElement(this$static));
+ $setValueByEvent(this$static, event_0, true);
+ $eventStopPropagation(event_0);
+ }
+}
+
+function $setMaxValue(this$static, value_0){
+ this$static.max_0 = value_0;
+}
+
+function $setMinValue(this$static, value_0){
+ this$static.min_0 = value_0;
+}
+
+function $setValue_0(this$static, value_0){
+ var baseSize, handleSize, p, range, v, valueRange, currentValue;
+ value_0.value_0 < this$static.min_0?(value_0 = new Double(this$static.min_0)):value_0.value_0 > this$static.max_0 && (value_0 = new Double(this$static.max_0));
+ handleSize = $getPropertyInt(this$static.handle, 'offsetWidth');
+ baseSize = $getPropertyInt(this$static.base, 'offsetWidth') - 2;
+ range = baseSize - handleSize;
+ v = value_0.value_0;
+ if (this$static.resolution > 0) {
+ v = toDouble(fromDouble(round0(v * pow_0(10, this$static.resolution))));
+ v = v / pow_0(10, this$static.resolution);
+ }
+ else {
+ v = toDouble(fromDouble(round0(v)));
+ }
+ valueRange = this$static.max_0 - this$static.min_0;
+ p = 0;
+ valueRange > 0 && (p = range * ((v - this$static.min_0) / valueRange));
+ p < 0 && (p = 0);
+ $setProperty(this$static.handle.style, 'marginLeft', toInt(fromDouble(round0(p))), ($clinit_Style$Unit() , PX));
+ this$static.value_0 = new Double(v);
+ currentValue = '' + v;
+ this$static.resolution == 0 && (currentValue = '' + round_int((new Double(v)).value_0));
+ $setText_0(this$static.feedback, currentValue);
+}
+
+function $setValue_1(this$static, value_0, fireEvents){
+ if (!value_0) {
+ return;
+ }
+ $setValue_0(this$static, value_0);
+ fireEvents && fire_2(this$static, this$static.value_0);
+}
+
+function $setValueByEvent(this$static, event_0, updateToServer){
+ var baseOffset, baseSize, coord, handleSize, v;
+ coord = ($clinit_WidgetUtil() , ($clinit_DOMImpl() , event_0).type.indexOf('touch') != -1?$getClientX(event_0.changedTouches[0]):toInt32(event_0.clientX || 0));
+ handleSize = $getSubPixelOffsetWidth(this$static.handle) | 0;
+ baseSize = $getSubPixelOffsetWidth(this$static.base) | 0;
+ baseOffset = $getAbsoluteLeft(this$static.base) - ($clinit_Window() , $getScrollLeft_0($doc)) + (handleSize / 2 | 0);
+ v = (coord - baseOffset) / (baseSize - handleSize) * (this$static.max_0 - this$static.min_0) + this$static.min_0;
+ v < this$static.min_0?(v = this$static.min_0):v > this$static.max_0 && (v = this$static.max_0);
+ $setValue_1(this$static, new Double(v), updateToServer);
+}
+
+function $updateFeedbackPosition(this$static){
+ $setPopupPosition_0(this$static.feedbackPopup, $getAbsoluteLeft(this$static.handle) + (($getSubPixelOffsetWidth(this$static.handle) | 0) / 2 | 0) - ($getPropertyInt($getElement(this$static.feedbackPopup), 'offsetWidth') / 2 | 0), $getAbsoluteTop(this$static.handle) - $getPropertyInt($getElement(this$static.feedbackPopup), 'offsetHeight'));
+}
+
+function VSlider(){
+ SimplePanel.call(this);
+ $setTabIndex($getElement(this), 0);
+ this.acceleration = 1;
+ this.feedback = new HTML;
+ this.feedbackPopup = new VSlider$1(this);
+ this.dragging = false;
+ this.delayedValueUpdater = new VLazyExecutor(new VSlider$2(this));
+ this.base = ($clinit_DOM() , $createDivElement($doc));
+ this.handle = $createDivElement($doc);
+ this.smaller = $createDivElement($doc);
+ this.bigger = $createDivElement($doc);
+ $removeStyleName(this.feedbackPopup, getStylePrimaryName($getElement(this)) + '-feedback');
+ $removeStyleName(this, getStylePrimaryName($getElement(this)) + '-vertical');
+ $setClassName($getElement(this), 'v-slider');
+ $addStyleName(this.feedbackPopup, getStylePrimaryName($getElement(this)) + '-feedback');
+ $setClassName(this.base, getStylePrimaryName($getElement(this)) + '-base');
+ $setClassName(this.handle, getStylePrimaryName($getElement(this)) + '-handle');
+ $setClassName(this.smaller, getStylePrimaryName($getElement(this)) + '-smaller');
+ $setClassName(this.bigger, getStylePrimaryName($getElement(this)) + '-bigger');
+ $appendChild($getElement(this), this.bigger);
+ $appendChild($getElement(this), this.smaller);
+ $appendChild($getElement(this), this.base);
+ $appendChild(this.base, this.handle);
+ $setProperty_0(this.smaller.style, 'display', ($clinit_Style$Display() , 'none'));
+ $setProperty_0(this.bigger.style, 'display', 'none');
+ this.eventsToSink == -1?sinkEvents($getElement(this), 15866876 | ($getElement(this).__eventBits || 0)):(this.eventsToSink |= 15866876);
+ $setWidget_0(this.feedbackPopup, this.feedback);
+}
+
+defineClass(282, 281, $intern_40, VSlider);
+_.onBrowserEvent = function(event_0){
+ var targ, dir_0;
+ if (this.disabled_0 || this.readonly) {
+ return;
+ }
+ targ = ($clinit_DOM() , ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0));
+ if ($eventGetTypeInt(event_0.type) == $intern_32) {
+ dir_0 = impl_0.eventGetMouseWheelVelocityY(event_0);
+ dir_0 < 0?$setValue_1(this, new Double(this.value_0.value_0 + pow_0(10, -this.resolution)), false):$setValue_1(this, new Double(this.value_0.value_0 - pow_0(10, -this.resolution)), false);
+ $trigger(this.delayedValueUpdater);
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ }
+ else if (this.dragging || targ == this.handle) {
+ $processHandleEvent(this, event_0);
+ }
+ else if (targ == this.smaller) {
+ $setValue_1(this, new Double(this.value_0.value_0 - pow_0(10, -this.resolution)), true);
+ }
+ else if (targ == this.bigger) {
+ $setValue_1(this, new Double(this.value_0.value_0 + pow_0(10, -this.resolution)), true);
+ }
+ else {
+ if ($eventGetTypeInt(event_0.type) == 124) {
+ $processBaseEvent(this, event_0);
+ }
+ else if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isGecko && $eventGetTypeInt(event_0.type) == 256 || !(!instance_2 && (instance_2 = new BrowserInfo) , instance_2).browserDetails.isGecko && $eventGetTypeInt(event_0.type) == 128) {
+ if ($handleNavigation(this, event_0.keyCode | 0, !!event_0.ctrlKey, !!event_0.shiftKey)) {
+ $show_0(this.feedbackPopup);
+ $trigger(this.delayedValueUpdater);
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ }
+ }
+ else
+ targ == $getElement(this) && $eventGetTypeInt(event_0.type) == 2048?$show_0(this.feedbackPopup):targ == $getElement(this) && $eventGetTypeInt(event_0.type) == 4096?$hide_1(this.feedbackPopup, false):$eventGetTypeInt(event_0.type) == 4 && $show_0(this.feedbackPopup);
+ }
+ $clinit_WidgetUtil();
+ if (event_0.type.indexOf('touch') != -1) {
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ }
+}
+;
+_.acceleration = 0;
+_.disabled_0 = false;
+_.dragging = false;
+_.max_0 = 0;
+_.min_0 = 0;
+_.readonly = false;
+_.resolution = 0;
+var Lcom_vaadin_client_ui_VSlider_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider', 282, Lcom_vaadin_client_ui_SimpleFocusablePanel_2_classLit);
+function $show_0(this$static){
+ current_0 = this$static;
+ $maybeShowWithAnimation(this$static);
+ this$static.isAnimationEnabled?$run(new VOverlay$ResizeAnimation(this$static), now_1()):$positionOrSizeUpdated(this$static, 1);
+ current_0 = null;
+ $updateFeedbackPosition(this$static.this$01);
+}
+
+function VSlider$1(this$0){
+ $clinit_PopupPanel();
+ this.this$01 = this$0;
+ SimplePanel.call(this);
+ this.glassResizer = new PopupPanel$1;
+ this.isAnimationEnabled = false;
+ this.leftPosition = -1;
+ this.resizeAnimation = new PopupPanel$ResizeAnimation(this, this);
+ this.topPosition = -1;
+ this.parentPanel = ($clinit_RootPanel() , get_0());
+ $appendChild($getElement(this), impl_5.createElement_0());
+ this.setPopupPosition(0, 0);
+ $setClassName(impl_5.getStyleElement_0(getFirstChild($getElement(this))), 'gwt-PopupPanel');
+ $setClassName(impl_5.getContainerElement_0(getFirstChild($getElement(this))), 'popupContent');
+ this.autoHide = true;
+ this.autoHideOnHistoryEvents = true;
+ this.modal = false;
+ $setShadowEnabled(this, $isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)));
+ $setZIndex_0(this, Z_INDEX);
+ $setOwner(this, this.this$01);
+}
+
+defineClass(284, 283, $intern_44, VSlider$1);
+var Lcom_vaadin_client_ui_VSlider$1_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/1', 284, Lcom_vaadin_client_ui_VOverlay_2_classLit);
+function $execute_0(this$static){
+ $fireValueChanged(this$static.this$01);
+ this$static.this$01.acceleration = 1;
+}
+
+function VSlider$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(285, 1, {}, VSlider$2);
+_.execute_1 = function(){
+ $execute_0(this);
+}
+;
+var Lcom_vaadin_client_ui_VSlider$2_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/2', 285, Ljava_lang_Object_2_classLit);
+function VSlider$3(this$0){
+ this.this$01 = this$0;
+ this.val$domProperty2 = 'offsetWidth';
+ this.val$styleAttribute3 = 'width';
+}
+
+defineClass(286, 1, {}, VSlider$3);
+_.execute_1 = function(){
+ var p;
+ p = $getParentElement($getElement(this.this$01));
+ if ($getPropertyInt(p, this.val$domProperty2) > 55) {
+ $clearProperty(this.this$01.base.style, this.val$styleAttribute3);
+ $setValue_1(this.this$01, this.this$01.value_0, false);
+ }
+}
+;
+var Lcom_vaadin_client_ui_VSlider$3_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/3', 286, Ljava_lang_Object_2_classLit);
+function VSlider$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(287, 1, {}, VSlider$4);
+_.execute_1 = function(){
+ $buildHandle(this.this$01);
+ $setValue_1(this.this$01, this.this$01.value_0, false);
+}
+;
+var Lcom_vaadin_client_ui_VSlider$4_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/4', 287, Ljava_lang_Object_2_classLit);
+function Cell(row, column, element){
+ this.row = row;
+ this.column = column;
+ this.element = element;
+}
+
+defineClass(141, 1, {}, Cell);
+_.column = 0;
+_.row = 0;
+var Lcom_vaadin_client_widget_escalator_Cell_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'Cell', 141, Ljava_lang_Object_2_classLit);
+function $clinit_EscalatorUpdater(){
+ $clinit_EscalatorUpdater = emptyMethod;
+ NULL = new EscalatorUpdater$1;
+}
+
+var NULL;
+function EscalatorUpdater$1(){
+}
+
+defineClass(249, 1, {}, EscalatorUpdater$1);
+_.postAttach = function(row, attachedCells){
+}
+;
+_.postDetach = function(row, detachedCells){
+}
+;
+_.preAttach = function(row, cellsToAttach){
+}
+;
+_.preDetach = function(row, cellsToDetach){
+}
+;
+_.update = function(row, cellsToUpdate){
+}
+;
+var Lcom_vaadin_client_widget_escalator_EscalatorUpdater$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'EscalatorUpdater/1', 249, Ljava_lang_Object_2_classLit);
+function $adjustCellWidthForSpan(this$static, numberOfCells){
+ var cellsToTheRight, i_0, selfWidth, widthsOfColumnsToTheRight;
+ cellsToTheRight = $rawPeekNext(this$static.currentIterator, numberOfCells - 1).size_0;
+ selfWidth = $getColumnWidth(this$static.row, this$static.column);
+ widthsOfColumnsToTheRight = 0;
+ for (i_0 = 0; i_0 < cellsToTheRight; i_0++) {
+ widthsOfColumnsToTheRight += $getColumnWidth(this$static.row, this$static.column + i_0 + 1);
+ }
+ $setWidth(($assertSetup(this$static) , this$static.element).style, selfWidth + widthsOfColumnsToTheRight, $clinit_Style$Unit());
+}
+
+function $assertSetup(this$static){
+ if (!this$static.currentIterator) {
+ debugger;
+ throw new AssertionError_0('FlyweightCell was not properly initialized. This is either a bug in Grid/Escalator or a Cell reference has been stored and reused inappropriately.');
+ }
+}
+
+function $getElement_0(this$static){
+ $assertSetup(this$static);
+ return this$static.element;
+}
+
+function $hideOrRevealAdjacentCellElements(this$static, numberOfCells, prevColSpan){
+ var affectedCells, affectedCellsNumber, i_0;
+ affectedCellsNumber = prevColSpan > numberOfCells?prevColSpan:numberOfCells;
+ affectedCells = $rawPeekNext(this$static.currentIterator, affectedCellsNumber - 1);
+ if (prevColSpan < numberOfCells) {
+ for (i_0 = 0; i_0 < affectedCells.size_0; i_0++) {
+ $setProperty_0($getElement_0((checkElementIndex(prevColSpan + i_0 - 1, affectedCells.size_0) , dynamicCast($get_6(affectedCells.wrapped, affectedCells.fromIndex + (prevColSpan + i_0 - 1)), 38))).style, 'display', ($clinit_Style$Display() , 'none'));
+ }
+ }
+ else if (prevColSpan > numberOfCells) {
+ for (i_0 = 0; i_0 < affectedCells.size_0; i_0++) {
+ $setProperty_0($getElement_0((checkElementIndex(numberOfCells + i_0 - 1, affectedCells.size_0) , dynamicCast($get_6(affectedCells.wrapped, affectedCells.fromIndex + (numberOfCells + i_0 - 1)), 38))).style, 'display', '');
+ }
+ }
+}
+
+function $setColSpan(this$static, numberOfCells){
+ var prevColSpan;
+ if (numberOfCells < 1) {
+ throw new IllegalArgumentException_0('Number of cells should be more than 0');
+ }
+ prevColSpan = $getPropertyInt(($assertSetup(this$static) , this$static.element), 'colSpan');
+ if (numberOfCells == 1 && prevColSpan == 1) {
+ return;
+ }
+ ($assertSetup(this$static) , this$static.element)['colSpan'] = numberOfCells;
+ $adjustCellWidthForSpan(this$static, numberOfCells);
+ $hideOrRevealAdjacentCellElements(this$static, numberOfCells, prevColSpan);
+ $setSkipNext(this$static.currentIterator, numberOfCells - 1);
+}
+
+function $setElement_2(this$static, element){
+ if (!element) {
+ debugger;
+ throw new AssertionError;
+ }
+ $assertSetup(this$static);
+ this$static.element = element;
+}
+
+function $setup(this$static, iterator){
+ var e;
+ this$static.currentIterator = iterator;
+ if (iterator.cellsAttached) {
+ e = $getElement_1(this$static.row).cells[this$static.column];
+ if (!e) {
+ debugger;
+ throw new AssertionError_0('Cell ' + this$static.column + ' for logical row ' + $getRow_0(this$static.row) + " doesn't exist in the DOM!");
+ }
+ $setPropertyInt(e, 'colSpan', 1);
+ $getColumnWidth(this$static.row, this$static.column) >= 0 && $setWidth(e.style, $getColumnWidth(this$static.row, this$static.column), $clinit_Style$Unit());
+ $setProperty_0(e.style, 'display', '');
+ $setElement_2(this$static, e);
+ }
+}
+
+function FlyweightCell(row, column){
+ this.row = row;
+ this.column = column;
+}
+
+defineClass(38, 1, {38:1}, FlyweightCell);
+_.column = 0;
+_.currentIterator = null;
+_.element = null;
+var Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightCell', 38, Ljava_lang_Object_2_classLit);
+function $addCells(this$static, index_0){
+ var col, i_0;
+ for (i_0 = 0; i_0 < 1; i_0++) {
+ col = index_0 + i_0;
+ $add_5(this$static.cells_0, col, new FlyweightCell(this$static, col));
+ }
+ $updateRestOfCells(this$static, index_0 + 1);
+}
+
+function $assertSetup_0(this$static){
+ if (!(!!this$static.element && this$static.row != $intern_45 && this$static.columnWidths != null)) {
+ debugger;
+ throw new AssertionError_0('Flyweight row was not properly initialized. Make sure the setup-method is called before retrieving data. This is either a bug in Escalator, or the instance of the flyweight row has been stored and accessed.');
+ }
+}
+
+function $getCells(this$static){
+ return $getCells_0(this$static, 0, this$static.cells_0.array.length);
+}
+
+function $getCells_0(this$static, offset, numberOfCells){
+ $assertSetup_0(this$static);
+ if (!(offset >= 0 && offset + numberOfCells <= this$static.cells_0.array.length)) {
+ debugger;
+ throw new AssertionError_0('Invalid range of cells');
+ }
+ return new FlyweightRow$1(this$static, offset, numberOfCells);
+}
+
+function $getColumnWidth(this$static, column){
+ $assertSetup_0(this$static);
+ return this$static.columnWidths[column];
+}
+
+function $getElement_1(this$static){
+ $assertSetup_0(this$static);
+ return this$static.element;
+}
+
+function $getRow_0(this$static){
+ $assertSetup_0(this$static);
+ return this$static.row;
+}
+
+function $getUnattachedCells(this$static, offset){
+ $assertSetup_0(this$static);
+ if (!(offset >= 0 && offset + 1 <= this$static.cells_0.array.length)) {
+ debugger;
+ throw new AssertionError_0('Invalid range of cells');
+ }
+ return new FlyweightRow$2(this$static, offset);
+}
+
+function $removeCells(this$static, index_0){
+ $clear_0(new AbstractList$SubList(this$static.cells_0, index_0, index_0 + 1));
+ $updateRestOfCells(this$static, index_0);
+}
+
+function $setup_0(this$static, e, row, columnWidths){
+ this$static.element = e;
+ this$static.row = row;
+ this$static.columnWidths = columnWidths;
+}
+
+function $teardown(this$static){
+ var cell, cell$iterator;
+ this$static.element = null;
+ this$static.row = $intern_45;
+ this$static.columnWidths = null;
+ for (cell$iterator = new AbstractList$IteratorImpl(this$static.cells_0); cell$iterator.i < cell$iterator.this$01_0.size_2();) {
+ cell = (checkCriticalElement(cell$iterator.i < cell$iterator.this$01_0.size_2()) , dynamicCast(cell$iterator.this$01_0.get_1(cell$iterator.last = cell$iterator.i++), 38));
+ cell.currentIterator = null;
+ cell.element = null;
+ }
+ return true;
+}
+
+function $updateRestOfCells(this$static, startPos){
+ var col;
+ for (col = startPos; col < this$static.cells_0.array.length; col++) {
+ $set_4(this$static.cells_0, col, new FlyweightCell(this$static, col));
+ }
+}
+
+function FlyweightRow(){
+ this.cells_0 = new ArrayList;
+}
+
+defineClass(469, 1, {}, FlyweightRow);
+_.columnWidths = null;
+_.row = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow', 469, Ljava_lang_Object_2_classLit);
+function FlyweightRow$1(this$0, val$offset, val$numberOfCells){
+ this.this$01 = this$0;
+ this.val$offset2 = val$offset;
+ this.val$numberOfCells3 = val$numberOfCells;
+}
+
+defineClass(470, 1, {}, FlyweightRow$1);
+_.iterator = function(){
+ return new FlyweightRow$CellIterator(new AbstractList$SubList(this.this$01.cells_0, this.val$offset2, this.val$offset2 + this.val$numberOfCells3), true);
+}
+;
+_.val$numberOfCells3 = 0;
+_.val$offset2 = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/1', 470, Ljava_lang_Object_2_classLit);
+function FlyweightRow$2(this$0, val$offset){
+ this.this$01 = this$0;
+ this.val$offset2 = val$offset;
+ this.val$numberOfCells3 = 1;
+}
+
+defineClass(471, 1, {}, FlyweightRow$2);
+_.iterator = function(){
+ return new FlyweightRow$CellIterator(new AbstractList$SubList(this.this$01.cells_0, this.val$offset2, this.val$offset2 + this.val$numberOfCells3), false);
+}
+;
+_.val$numberOfCells3 = 0;
+_.val$offset2 = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$2_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/2', 471, Ljava_lang_Object_2_classLit);
+function $next_1(this$static){
+ var cell, i_0;
+ for (i_0 = 0; i_0 < this$static.skipNext; i_0++) {
+ this$static.cells_0.remove_3(this$static.cursor_0);
+ }
+ this$static.skipNext = 0;
+ cell = dynamicCast($get_6(this$static.cells_0, this$static.cursor_0++), 38);
+ $setup(cell, this$static);
+ return cell;
+}
+
+function $rawPeekNext(this$static, n){
+ var cell, cell$iterator, from, nextCells, to;
+ from = min_1(this$static.cursor_0, this$static.cells_0.array.length);
+ to = min_1(this$static.cursor_0 + n, this$static.cells_0.array.length);
+ nextCells = new AbstractList$SubList(this$static.cells_0, from, to);
+ for (cell$iterator = new AbstractList$IteratorImpl(nextCells); cell$iterator.i < cell$iterator.this$01_0.size_2();) {
+ cell = (checkCriticalElement(cell$iterator.i < cell$iterator.this$01_0.size_2()) , dynamicCast(cell$iterator.this$01_0.get_1(cell$iterator.last = cell$iterator.i++), 38));
+ $setup(cell, this$static);
+ }
+ return nextCells;
+}
+
+function $setSkipNext(this$static, colspan){
+ if (colspan <= 0) {
+ debugger;
+ throw new AssertionError_0("Number of cells didn't make sense: " + colspan);
+ }
+ this$static.skipNext = colspan;
+}
+
+function FlyweightRow$CellIterator(cells_0, attached){
+ this.cells_0 = new ArrayList_1(cells_0);
+ this.cellsAttached = attached;
+}
+
+defineClass(107, 1, {}, FlyweightRow$CellIterator);
+_.hasNext = function(){
+ return this.cursor_0 + this.skipNext < this.cells_0.array.length;
+}
+;
+_.next_0 = function(){
+ return $next_1(this);
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException_0('Cannot remove cells via iterator');
+}
+;
+_.cellsAttached = false;
+_.cursor_0 = 0;
+_.skipNext = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/CellIterator', 107, Ljava_lang_Object_2_classLit);
+function PositionFunction$AbsolutePosition(){
+}
+
+defineClass(115, 1, {115:1}, PositionFunction$AbsolutePosition);
+_.reset_0 = function(e){
+ $setProperty_0(e.style, 'left', '');
+ $clearTop(e.style);
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ $setLeft(e.style, x_0, $clinit_Style$Unit());
+ $setTop(e.style, y_0, $clinit_Style$Unit());
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/AbsolutePosition', 115, Ljava_lang_Object_2_classLit);
+function PositionFunction$Translate3DPosition(){
+}
+
+defineClass(437, 1, {}, PositionFunction$Translate3DPosition);
+_.reset_0 = function(e){
+ $clearProperty(e.style, 'transform');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ $setProperty_0(e.style, 'transform', 'translate3d(' + x_0 + 'px, ' + y_0 + 'px, 0)');
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$Translate3DPosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/Translate3DPosition', 437, Ljava_lang_Object_2_classLit);
+function PositionFunction$TranslatePosition(){
+}
+
+defineClass(438, 1, {}, PositionFunction$TranslatePosition);
+_.reset_0 = function(e){
+ $clearProperty(e.style, 'transform');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ $setProperty_0(e.style, 'transform', 'translate(' + x_0 + 'px,' + y_0 + 'px)');
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$TranslatePosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/TranslatePosition', 438, Ljava_lang_Object_2_classLit);
+function PositionFunction$WebkitTranslate3DPosition(){
+}
+
+defineClass(439, 1, {}, PositionFunction$WebkitTranslate3DPosition);
+_.reset_0 = function(e){
+ $clearProperty(e.style, 'webkitTransform');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ $setProperty_0(e.style, 'webkitTransform', 'translate3d(' + x_0 + 'px,' + y_0 + 'px,0)');
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$WebkitTranslate3DPosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/WebkitTranslate3DPosition', 439, Ljava_lang_Object_2_classLit);
+function $clinit_RowVisibilityChangeEvent(){
+ $clinit_RowVisibilityChangeEvent = emptyMethod;
+ TYPE_6 = new GwtEvent$Type;
+}
+
+function $dispatch(this$static, handler){
+ $onRowVisibilityChange(handler, this$static);
+}
+
+function RowVisibilityChangeEvent(firstVisibleRow, visibleRowCount){
+ $clinit_RowVisibilityChangeEvent();
+ this.firstVisibleRow = firstVisibleRow;
+ this.visibleRowCount = visibleRowCount;
+}
+
+defineClass(176, 569, {}, RowVisibilityChangeEvent);
+_.dispatch = function(handler){
+ $dispatch(this, dynamicCast(handler, 599));
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_6;
+}
+;
+_.firstVisibleRow = 0;
+_.visibleRowCount = 0;
+var TYPE_6;
+var Lcom_vaadin_client_widget_escalator_RowVisibilityChangeEvent_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'RowVisibilityChangeEvent', 176, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $addScrollHandler(this$static, handler){
+ return $addHandler((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), ($clinit_ScrollEvent() , TYPE_9), handler);
+}
+
+function $addVisibilityHandler(this$static, handler){
+ return $addHandler((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), ($clinit_ScrollbarBundle$VisibilityChangeEvent() , TYPE_7), handler);
+}
+
+function $fireVisibilityChangeIfNeeded(this$static){
+ var event_0, oldHandleIsVisible;
+ oldHandleIsVisible = this$static.scrollHandleIsVisible;
+ this$static.scrollHandleIsVisible = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ if (oldHandleIsVisible != this$static.scrollHandleIsVisible) {
+ event_0 = new ScrollbarBundle$VisibilityChangeEvent;
+ $fireEvent((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), event_0);
+ }
+}
+
+function $forceScrollbar(this$static, enable){
+ enable?$setProperty_0(this$static.root.style, 'display', ''):$setProperty_0(this$static.root.style, 'display', ($clinit_Style$Display() , 'none'));
+ this$static.internalForceScrollbar(enable);
+}
+
+function $getHandlerManager(this$static){
+ !this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static));
+ return this$static.handlerManager;
+}
+
+function $getScrollPos(this$static){
+ if (this$static.internalGetScrollPos() != (this$static.scrollPos | 0)) {
+ debugger;
+ throw new AssertionError_0('calculated scroll position (' + (this$static.scrollPos | 0) + ') did not match the DOM element scroll position (' + this$static.internalGetScrollPos() + ')');
+ }
+ return this$static.scrollPos;
+}
+
+function $getScrollbarThickness(this$static){
+ return this$static.isInvisibleScrollbar?0:parseCssDimensionToPixels(this$static.internalGetScrollbarThickness());
+}
+
+function $recalculateMaxScrollPos(this$static){
+ var offsetSize, scrollSize;
+ scrollSize = parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ offsetSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize());
+ this$static.maxScrollPos = 0 > scrollSize - offsetSize?0:scrollSize - offsetSize;
+ $setScrollPos(this$static, this$static.scrollPos);
+}
+
+function $setOffsetSize(this$static, px){
+ var newOffsetSizeIsGreaterThanScrollSize, offsetSizeBecomesGreaterThanScrollSize;
+ newOffsetSizeIsGreaterThanScrollSize = px > parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ offsetSizeBecomesGreaterThanScrollSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()) && newOffsetSizeIsGreaterThanScrollSize;
+ if (offsetSizeBecomesGreaterThanScrollSize && $getScrollPos(this$static) != 0) {
+ this$static.offsetSizeTemporaryScrollHandler = $addScrollHandler(this$static, new ScrollbarBundle$1(this$static, px));
+ $setScrollPos(this$static, 0);
+ }
+ else {
+ $setOffsetSizeNow(this$static, px);
+ }
+}
+
+function $setOffsetSizeNow(this$static, px){
+ this$static.internalSetOffsetSize(max_0(0, px > 0?floor_0(px):ceil_0(px)));
+ $recalculateMaxScrollPos(this$static);
+ $forceScrollbar(this$static, parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()));
+ $fireVisibilityChangeIfNeeded(this$static);
+}
+
+function $setScrollPos(this$static, px){
+ var oldScrollPos;
+ if (this$static.isLocked) {
+ return;
+ }
+ oldScrollPos = this$static.scrollPos;
+ this$static.scrollPos = max_0(0, min_0(this$static.maxScrollPos, px > 0?floor_0(px):ceil_0(px)));
+ if (!pixelValuesEqual(oldScrollPos, this$static.scrollPos)) {
+ this$static.isInvisibleScrollbar && $show_1(this$static.invisibleScrollbarTemporaryResizer);
+ this$static.internalSetScrollPos(this$static.scrollPos | 0);
+ }
+}
+
+function $setScrollPosByDelta(this$static, delta){
+ delta != 0 && $setScrollPos(this$static, this$static.internalGetScrollPos() + delta);
+}
+
+function $setScrollSize(this$static, px){
+ var newScrollSizeIsSmallerThanOffsetSize, scrollSizeBecomesSmallerThanOffsetSize;
+ newScrollSizeIsSmallerThanOffsetSize = px <= parseCssDimensionToPixels(this$static.internalGetOffsetSize());
+ scrollSizeBecomesSmallerThanOffsetSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()) && newScrollSizeIsSmallerThanOffsetSize;
+ if (scrollSizeBecomesSmallerThanOffsetSize && $getScrollPos(this$static) != 0) {
+ this$static.scrollSizeTemporaryScrollHandler = $addScrollHandler(this$static, new ScrollbarBundle$2(this$static, px));
+ $setScrollPos(this$static, 0);
+ }
+ else {
+ $setScrollSizeNow(this$static, px);
+ }
+}
+
+function $setScrollSizeNow(this$static, px){
+ this$static.internalSetScrollSize(0 > px?0:px);
+ $recalculateMaxScrollPos(this$static);
+ $forceScrollbar(this$static, parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()));
+ $fireVisibilityChangeIfNeeded(this$static);
+}
+
+function $setScrollbarThickness(this$static, px){
+ this$static.isInvisibleScrollbar = px == 0;
+ if (this$static.isInvisibleScrollbar) {
+ sinkEvents_0(this$static.root, 16384);
+ $clinit_DOM();
+ setEventListener(this$static.root, new ScrollbarBundle$3(this$static));
+ }
+ else {
+ sinkEvents_0(this$static.root, 0);
+ $clinit_DOM();
+ setEventListener(this$static.root, null);
+ }
+ this$static.internalSetScrollbarThickness(1 > px?1:px);
+}
+
+function $showsScrollHandle(this$static){
+ return parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize());
+}
+
+function $updateScrollPosFromDom(this$static){
+ var newScrollPos;
+ newScrollPos = this$static.internalGetScrollPos();
+ if (this$static.isLocked) {
+ this$static.scrollPos != newScrollPos && this$static.internalSetScrollPos(this$static.scrollPos | 0);
+ }
+ else {
+ this$static.scrollPos = newScrollPos;
+ $scheduleEvent(this$static.scrollEventFirer);
+ }
+}
+
+function ScrollbarBundle(){
+ this.root = ($clinit_DOM() , $createDivElement($doc));
+ this.scrollSizeElement = $createDivElement($doc);
+ this.invisibleScrollbarTemporaryResizer = new ScrollbarBundle$TemporaryResizer(this);
+ this.scrollEventFirer = new ScrollbarBundle$ScrollEventFirer(this);
+ $appendChild(this.root, this.scrollSizeElement);
+ $setProperty_0(this.root.style, 'display', ($clinit_Style$Display() , 'none'));
+ $setTabIndex(this.root, -1);
+}
+
+function parseCssDimensionToPixels(size_0){
+ if (!size_0.length) {
+ return 0;
+ }
+ else {
+ if (!$endsWith(size_0, 'px')) {
+ debugger;
+ throw new AssertionError_0('Can\'t parse CSS dimension "' + size_0 + '"');
+ }
+ return __parseAndValidateDouble(__substr(size_0, 0, size_0.length - 2));
+ }
+}
+
+defineClass(163, 1, {});
+_.getElement = function(){
+ return this.root;
+}
+;
+_.updateScrollPosFromDom = function(){
+ $updateScrollPosFromDom(this);
+}
+;
+_.isInvisibleScrollbar = false;
+_.isLocked = false;
+_.maxScrollPos = 0;
+_.scrollHandleIsVisible = false;
+_.scrollPos = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle', 163, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$1(this$0, val$px){
+ this.this$01 = this$0;
+ this.val$px2 = val$px;
+}
+
+defineClass(275, 1, $intern_46, ScrollbarBundle$1);
+_.onScroll = function(event_0){
+ $setOffsetSizeNow(this.this$01, this.val$px2);
+ $removeHandler(this.this$01.offsetSizeTemporaryScrollHandler.real);
+ this.this$01.offsetSizeTemporaryScrollHandler = null;
+}
+;
+_.val$px2 = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/1', 275, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$2(this$0, val$px){
+ this.this$01 = this$0;
+ this.val$px2 = val$px;
+}
+
+defineClass(276, 1, $intern_46, ScrollbarBundle$2);
+_.onScroll = function(event_0){
+ $setScrollSizeNow(this.this$01, this.val$px2);
+ $removeHandler(this.this$01.scrollSizeTemporaryScrollHandler.real);
+ this.this$01.scrollSizeTemporaryScrollHandler = null;
+}
+;
+_.val$px2 = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$2_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/2', 276, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(277, 1, {21:1}, ScrollbarBundle$3);
+_.onBrowserEvent = function(event_0){
+ $show_1(this.this$01.invisibleScrollbarTemporaryResizer);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$3_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/3', 277, Ljava_lang_Object_2_classLit);
+function $clinit_ScrollbarBundle$Direction(){
+ $clinit_ScrollbarBundle$Direction = emptyMethod;
+ VERTICAL = new ScrollbarBundle$Direction('VERTICAL', 0);
+ HORIZONTAL = new ScrollbarBundle$Direction('HORIZONTAL', 1);
+}
+
+function ScrollbarBundle$Direction(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_9(){
+ $clinit_ScrollbarBundle$Direction();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_client_widget_escalator_ScrollbarBundle$Direction_2_classLit, 1), $intern_5, 113, 0, [VERTICAL, HORIZONTAL]);
+}
+
+defineClass(113, 6, {113:1, 3:1, 7:1, 6:1}, ScrollbarBundle$Direction);
+var HORIZONTAL, VERTICAL;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$Direction_2_classLit = createForEnum('com.vaadin.client.widget.escalator', 'ScrollbarBundle/Direction', 113, Ljava_lang_Enum_2_classLit, values_9);
+function $setStylePrimaryName(this$static, primaryStyleName){
+ $setClassName(this$static.root, primaryStyleName + '-scroller');
+ $addClassName(this$static.root, primaryStyleName + '-scroller-horizontal');
+}
+
+function ScrollbarBundle$HorizontalScrollbarBundle(){
+ ScrollbarBundle.call(this);
+}
+
+defineClass(271, 163, {}, ScrollbarBundle$HorizontalScrollbarBundle);
+_.internalForceScrollbar = function(enable){
+ enable?$setProperty_0(this.root.style, 'overflowX', ($clinit_Style$Overflow() , 'scroll')):$setProperty_0(this.root.style, 'overflowX', '');
+}
+;
+_.internalGetOffsetSize = function(){
+ return $getProperty(this.root.style, 'width');
+}
+;
+_.internalGetScrollPos = function(){
+ return $getScrollLeft(this.root);
+}
+;
+_.internalGetScrollSize = function(){
+ return $getProperty(this.scrollSizeElement.style, 'width');
+}
+;
+_.internalGetScrollbarThickness = function(){
+ return $getProperty(this.scrollSizeElement.style, 'height');
+}
+;
+_.internalSetOffsetSize = function(px){
+ $setProperty(this.root.style, 'width', px, ($clinit_Style$Unit() , PX));
+}
+;
+_.internalSetScrollPos = function(px){
+ $setScrollLeft(this.root, px);
+}
+;
+_.internalSetScrollSize = function(px){
+ $setProperty(this.scrollSizeElement.style, 'width', px, ($clinit_Style$Unit() , PX));
+}
+;
+_.internalSetScrollbarThickness = function(px){
+ $setProperty(this.root.style, 'paddingBottom', px, ($clinit_Style$Unit() , PX));
+ $setProperty(this.root.style, 'height', 0, PX);
+ $setProperty(this.scrollSizeElement.style, 'height', px, PX);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/HorizontalScrollbarBundle', 271, Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit);
+function $scheduleEvent(this$static){
+ if (!this$static.isBeingFired) {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this$static.fireEventCommand);
+ this$static.isBeingFired = true;
+ }
+}
+
+function ScrollbarBundle$ScrollEventFirer(this$0){
+ this.this$01 = this$0;
+ this.fireEventCommand = new ScrollbarBundle$ScrollEventFirer$1(this);
+}
+
+defineClass(267, 1, {}, ScrollbarBundle$ScrollEventFirer);
+_.isBeingFired = false;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/ScrollEventFirer', 267, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$ScrollEventFirer$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(272, 1, {}, ScrollbarBundle$ScrollEventFirer$1);
+_.execute_1 = function(){
+ $updateScrollPosFromDom(this.this$11.this$01);
+ $fireEvent($getHandlerManager(this.this$11.this$01), new ScrollEvent);
+ this.this$11.isBeingFired = false;
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/ScrollEventFirer/1', 272, Ljava_lang_Object_2_classLit);
+function $show_1(this$static){
+ this$static.this$01.internalSetScrollbarThickness(13);
+ $schedule(this$static.timer, 1000);
+}
+
+function ScrollbarBundle$TemporaryResizer(this$0){
+ this.this$01 = this$0;
+ this.timer = new ScrollbarBundle$TemporaryResizer$1(this);
+}
+
+defineClass(268, 1, {}, ScrollbarBundle$TemporaryResizer);
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/TemporaryResizer', 268, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$TemporaryResizer$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(273, 46, {}, ScrollbarBundle$TemporaryResizer$1);
+_.run = function(){
+ this.this$11.this$01.internalSetScrollbarThickness(1);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/TemporaryResizer/1', 273, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $setStylePrimaryName_0(this$static, primaryStyleName){
+ $setClassName(this$static.root, primaryStyleName + '-scroller');
+ $addClassName(this$static.root, primaryStyleName + '-scroller-vertical');
+}
+
+function ScrollbarBundle$VerticalScrollbarBundle(){
+ ScrollbarBundle.call(this);
+}
+
+defineClass(270, 163, {}, ScrollbarBundle$VerticalScrollbarBundle);
+_.internalForceScrollbar = function(enable){
+ enable?$setProperty_0(this.root.style, 'overflowY', ($clinit_Style$Overflow() , 'scroll')):$setProperty_0(this.root.style, 'overflowY', '');
+}
+;
+_.internalGetOffsetSize = function(){
+ return $getProperty(this.root.style, 'height');
+}
+;
+_.internalGetScrollPos = function(){
+ return $getSubPixelScrollTop(this.root) | 0;
+}
+;
+_.internalGetScrollSize = function(){
+ return $getProperty(this.scrollSizeElement.style, 'height');
+}
+;
+_.internalGetScrollbarThickness = function(){
+ return $getProperty(this.scrollSizeElement.style, 'width');
+}
+;
+_.internalSetOffsetSize = function(px){
+ $setProperty(this.root.style, 'height', px, ($clinit_Style$Unit() , PX));
+}
+;
+_.internalSetScrollPos = function(px){
+ $setScrollTop(this.root, px);
+}
+;
+_.internalSetScrollSize = function(px){
+ $setProperty(this.scrollSizeElement.style, 'height', px, ($clinit_Style$Unit() , PX));
+}
+;
+_.internalSetScrollbarThickness = function(px){
+ $setProperty(this.root.style, 'paddingRight', px, ($clinit_Style$Unit() , PX));
+ $setProperty(this.root.style, 'width', 0, PX);
+ $setProperty(this.scrollSizeElement.style, 'width', px, PX);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VerticalScrollbarBundle', 270, Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit);
+function $clinit_ScrollbarBundle$VisibilityChangeEvent(){
+ $clinit_ScrollbarBundle$VisibilityChangeEvent = emptyMethod;
+ TYPE_7 = new ScrollbarBundle$VisibilityChangeEvent$1;
+}
+
+function ScrollbarBundle$VisibilityChangeEvent(){
+ $clinit_ScrollbarBundle$VisibilityChangeEvent();
+}
+
+defineClass(269, 569, {}, ScrollbarBundle$VisibilityChangeEvent);
+_.dispatch = function(handler){
+ $applyHeightByRows(dynamicCast(handler, 602).this$01);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_7;
+}
+;
+var TYPE_7;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VisibilityChangeEvent', 269, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ScrollbarBundle$VisibilityChangeEvent$1(){
+ GwtEvent$Type.call(this);
+}
+
+defineClass(274, 36, {}, ScrollbarBundle$VisibilityChangeEvent$1);
+_.toString$ = function(){
+ return 'VisibilityChangeEvent';
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VisibilityChangeEvent/1', 274, Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit);
+function $set_0(this$static, columnIndex, column){
+ this$static.columnIndex = columnIndex;
+ this$static.column = column;
+}
+
+function CellReference(rowReference){
+ this.rowReference = rowReference;
+}
+
+defineClass(138, 1, {}, CellReference);
+_.columnIndex = 0;
+var Lcom_vaadin_client_widget_grid_CellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'CellReference', 138, Ljava_lang_Object_2_classLit);
+function $clinit_DataAvailableEvent(){
+ $clinit_DataAvailableEvent = emptyMethod;
+ TYPE_8 = new GwtEvent$Type;
+}
+
+function DataAvailableEvent(rowsAvailable){
+ $clinit_DataAvailableEvent();
+ this.rowsAvailable = rowsAvailable;
+}
+
+defineClass(177, 569, {}, DataAvailableEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 200).onDataAvailable(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_8;
+}
+;
+var TYPE_8;
+var Lcom_vaadin_client_widget_grid_DataAvailableEvent_2_classLit = createForClass('com.vaadin.client.widget.grid', 'DataAvailableEvent', 177, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $set_1(this$static, targetCell){
+ var column, row;
+ row = targetCell.row;
+ column = targetCell.column;
+ $set_3(this$static.rowReference, row, this$static.grid.dataSource_0.getRow(row));
+ $set_0(this$static, column, $getColumn(this$static.grid, column));
+ this$static.element = targetCell.element;
+}
+
+function EventCellReference(grid){
+ CellReference.call(this, new RowReference);
+ this.grid = grid;
+}
+
+defineClass(411, 138, {}, EventCellReference);
+var Lcom_vaadin_client_widget_grid_EventCellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'EventCellReference', 411, Lcom_vaadin_client_widget_grid_CellReference_2_classLit);
+function $set_2(this$static, cell, column){
+ this$static.cell = cell;
+ $set_0(this$static, ($assertSetup(cell) , cell.column), column);
+}
+
+function RendererCellReference(rowReference){
+ CellReference.call(this, rowReference);
+}
+
+defineClass(417, 138, {}, RendererCellReference);
+var Lcom_vaadin_client_widget_grid_RendererCellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'RendererCellReference', 417, Lcom_vaadin_client_widget_grid_CellReference_2_classLit);
+function $set_3(this$static, rowIndex, row){
+ this$static.rowIndex = rowIndex;
+ this$static.row = row;
+}
+
+function RowReference(){
+}
+
+defineClass(175, 1, {}, RowReference);
+_.rowIndex = 0;
+var Lcom_vaadin_client_widget_grid_RowReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'RowReference', 175, Ljava_lang_Object_2_classLit);
+function $dispatch_0(this$static, handler){
+ var container, section, target, targetElement;
+ target = $getEventTarget(($assertLive(this$static) , this$static.nativeEvent));
+ if (!is_0(target)) {
+ return;
+ }
+ targetElement = as(target);
+ if ($isElementInChildWidget(this$static.grid, targetElement)) {
+ return;
+ }
+ container = $findRowContainer(this$static.grid.escalator, targetElement);
+ if (!container) {
+ return;
+ }
+ section = ($clinit_Grid$Section() , FOOTER);
+ container == this$static.grid.escalator.header?(section = HEADER):container == this$static.grid.escalator.body_0 && (section = BODY);
+ this$static.doDispatch(handler, section);
+}
+
+function Grid$AbstractGridMouseEvent(grid, targetCell){
+ this.associatedType = new DomEvent$Type(this.getBrowserEventType(), this);
+ this.grid = grid;
+ this.targetCell = targetCell;
+}
+
+defineClass(159, 575, {});
+_.dispatch = function(handler){
+ $dispatch_0(this, dynamicCast(handler, 598));
+}
+;
+_.getAssociatedType_0 = function(){
+ return this.associatedType;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AbstractGridMouseEvent', 159, Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit);
+function GridClickEvent(grid, targetCell){
+ Grid$AbstractGridMouseEvent.call(this, grid, targetCell);
+}
+
+defineClass(415, 159, {}, GridClickEvent);
+_.doDispatch = function(handler, section){
+ var row;
+ (section == ($clinit_Grid$Section() , BODY) && !!handler || section == HEADER && false || section == FOOTER && false) && (row = this.targetCell.rowReference.row , $isSelected_0(handler.this$01.grid, row)?handler.this$01.deselectAllowed && $deselect_1(handler.this$01.grid, row):$select_3(handler.this$01.grid, row) , undefined);
+}
+;
+_.getBrowserEventType = function(){
+ return 'click';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridClickEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridClickEvent', 415, Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit);
+function $doDispatch(section){
+ (section == ($clinit_Grid$Section() , BODY) && false || section == HEADER && false || section == FOOTER && false) && null.nullMethod();
+}
+
+function GridDoubleClickEvent(grid, targetCell){
+ Grid$AbstractGridMouseEvent.call(this, grid, targetCell);
+}
+
+defineClass(416, 159, {}, GridDoubleClickEvent);
+_.doDispatch = function(handler, section){
+ $doDispatch((throwClassCastExceptionUnlessNull(handler) , section));
+}
+;
+_.getBrowserEventType = function(){
+ return 'dblclick';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridDoubleClickEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridDoubleClickEvent', 416, Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit);
+function $dispatch_1(this$static, handler){
+ var container, section, target;
+ target = $getEventTarget(($assertLive(this$static) , this$static.nativeEvent));
+ if (is_0(target) && !$isElementInChildWidget(this$static.grid, as(target))) {
+ section = ($clinit_Grid$Section() , FOOTER);
+ container = this$static.grid.cellFocusHandler.containerWithFocus;
+ container == this$static.grid.escalator.header?(section = HEADER):container == this$static.grid.escalator.body_0 && (section = BODY);
+ this$static.doDispatch_0(handler, section);
+ }
+}
+
+function Grid$AbstractGridKeyEvent(grid, targetCell){
+ this.associatedType = new DomEvent$Type(this.getBrowserEventType(), this);
+ this.grid = grid;
+ this.targetCell = targetCell;
+}
+
+defineClass(124, 573, {});
+_.dispatch = function(handler){
+ $dispatch_1(this, dynamicCast(handler, 198));
+}
+;
+_.getAssociatedType_0 = function(){
+ return this.associatedType;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AbstractGridKeyEvent', 124, Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit);
+function $doDispatch_0(this$static, handler, section){
+ (section == ($clinit_Grid$Section() , BODY) && !!handler || section == HEADER && false || section == FOOTER && false) && $onKeyDown(handler, this$static);
+}
+
+function GridKeyDownEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(412, 124, {}, GridKeyDownEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_0(this, dynamicCast(handler, 601), section);
+}
+;
+_.getBrowserEventType = function(){
+ return 'keydown';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyDownEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyDownEvent', 412, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $doDispatch_1(section){
+ (section == ($clinit_Grid$Section() , BODY) && false || section == HEADER && false || section == FOOTER && false) && null.nullMethod();
+}
+
+function GridKeyPressEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(414, 124, {}, GridKeyPressEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_1((throwClassCastExceptionUnlessNull(handler) , section));
+}
+;
+_.getBrowserEventType = function(){
+ return 'keypress';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyPressEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyPressEvent', 414, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $doDispatch_2(this$static, handler, section){
+ (section == ($clinit_Grid$Section() , BODY) && instanceOf(handler, 605) || section == HEADER && instanceOf(handler, 600) || section == FOOTER && false) && handler.onKeyUp(this$static);
+}
+
+function GridKeyUpEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(413, 124, {}, GridKeyUpEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_2(this, dynamicCast(handler, 547), section);
+}
+;
+_.getBrowserEventType = function(){
+ return 'keyup';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyUpEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyUpEvent', 413, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $clinit_ScrollEvent(){
+ $clinit_ScrollEvent = emptyMethod;
+ TYPE_9 = new GwtEvent$Type;
+}
+
+function ScrollEvent(){
+ $clinit_ScrollEvent();
+}
+
+defineClass(139, 569, {}, ScrollEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 150).onScroll(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_9;
+}
+;
+var TYPE_9;
+var Lcom_vaadin_client_widget_grid_events_ScrollEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'ScrollEvent', 139, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $clinit_SelectAllEvent(){
+ $clinit_SelectAllEvent = emptyMethod;
+ TYPE_10 = new GwtEvent$Type;
+}
+
+function SelectAllEvent(){
+ $clinit_SelectAllEvent();
+}
+
+defineClass(517, 569, {}, SelectAllEvent);
+_.dispatch = function(handler){
+ throwClassCastExceptionUnlessNull(handler);
+ null.nullMethod();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_10;
+}
+;
+var TYPE_10;
+var Lcom_vaadin_client_widget_grid_events_SelectAllEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'SelectAllEvent', 517, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+defineClass(579, 1, {});
+var Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'AbstractRowHandleSelectionModel', 579, Ljava_lang_Object_2_classLit);
+function $setDeselectAllowed(this$static, deselectAllowed){
+ this$static.deselectAllowed = deselectAllowed;
+}
+
+function ClickSelectHandler(grid){
+ this.grid = grid;
+ this.clickHandler = $addBodyClickHandler(grid, new ClickSelectHandler$RowClickHandler(this));
+}
+
+defineClass(505, 1, {}, ClickSelectHandler);
+_.deselectAllowed = true;
+var Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'ClickSelectHandler', 505, Ljava_lang_Object_2_classLit);
+function ClickSelectHandler$RowClickHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(506, 1, {22:1, 598:1}, ClickSelectHandler$RowClickHandler);
+var Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'ClickSelectHandler/RowClickHandler', 506, Ljava_lang_Object_2_classLit);
+function $destroy(this$static){
+ !!this$static.nativePreviewHandlerRegistration && $removeNativeHandler(this$static);
+}
+
+function $getBodyClientTop(this$static){
+ return $getClientTop($getElement(this$static.grid)) + (($getTheadElement(this$static).offsetHeight || 0) | 0);
+}
+
+function $getClientTop(e){
+ var cursor, top_0;
+ cursor = e;
+ top_0 = 0;
+ while (cursor) {
+ top_0 += (cursor.offsetTop || 0) | 0;
+ cursor = cursor.offsetParent;
+ }
+ return top_0;
+}
+
+function $getConsumedEvents(){
+ var events;
+ events = new HashSet;
+ $add_7(events, 'mousedown');
+ $add_7(events, 'touchstart');
+ return events;
+}
+
+function $getLogicalRowIndex(this$static, target){
+ var checkbox, tbody, td, tr;
+ if (!target) {
+ return -1;
+ }
+ tbody = $getTbodyElement(this$static);
+ tr = $getFirstChildElement_0(($clinit_DOMImpl() , tbody));
+ while (tr) {
+ if ($isOrHasChild(tr, target)) {
+ td = $getFirstChildElement_0(tr);
+ if (!td) {
+ debugger;
+ throw new AssertionError_0('Cell has disappeared');
+ }
+ checkbox = $getFirstChildElement_0(td);
+ if (!checkbox) {
+ debugger;
+ throw new AssertionError_0('Checkbox has disappeared');
+ }
+ return $getPropertyInt(checkbox, 'vEscalatorLogicalRow');
+ }
+ tr = $getNextSiblingElement(tr);
+ }
+ return -1;
+}
+
+function $getTableElement(this$static){
+ var root, tablewrapper;
+ root = $getElement(this$static.grid);
+ tablewrapper = as_0($getChild(root, 2));
+ return tablewrapper?as_4($getFirstChildElement_0(($clinit_DOMImpl() , tablewrapper))):null;
+}
+
+function $getTbodyElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tBodies[0]:null;
+}
+
+function $getTfootElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tFoot:null;
+}
+
+function $getTheadElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tHead:null;
+}
+
+function $init(cell){
+ var checkbox;
+ checkbox = as_2(($clinit_DOM() , $createCheckInputElement($doc)));
+ $removeAllChildren($getElement_0(cell.cell));
+ $appendChild($getElement_0(cell.cell), checkbox);
+}
+
+function $isSelected(this$static, logicalRow){
+ return $isSelected_0(this$static.grid, this$static.grid.dataSource_0.getRow(logicalRow));
+}
+
+function $onBrowserEvent_0(this$static, event_0){
+ var logicalRowIndex;
+ if ($equals_2('touchstart', ($clinit_DOMImpl() , event_0).type) || $equals_2('mousedown', event_0.type) && $eventGetButton(event_0) == 1) {
+ $removeNativeHandler(this$static);
+ this$static.nativePreviewHandlerRegistration = addNativePreviewHandler(new MultiSelectionRenderer$TouchEventHandler(this$static));
+ logicalRowIndex = $getLogicalRowIndex(this$static, as(impl_0.eventGetTarget(event_0)));
+ $start(this$static.autoScrollHandler, logicalRowIndex);
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ return true;
+ }
+ else {
+ throw new IllegalStateException_0('received unexpected event: ' + event_0.type);
+ }
+}
+
+function $removeNativeHandler(this$static){
+ if (this$static.nativePreviewHandlerRegistration) {
+ $removeHandler(this$static.nativePreviewHandlerRegistration.real);
+ this$static.nativePreviewHandlerRegistration = null;
+ }
+}
+
+function $render(cell, data_0){
+ var checkbox;
+ checkbox = as_2($getFirstChildElement($getElement_0(cell.cell)));
+ $setChecked(checkbox, data_0.value_0);
+ $setPropertyInt(checkbox, 'vEscalatorLogicalRow', cell.rowReference.rowIndex);
+}
+
+function $render_0(cell, data_0){
+ $render(cell, dynamicCast(data_0, 41));
+}
+
+function $setSelected(this$static, logicalRow, select){
+ var row;
+ row = this$static.grid.dataSource_0.getRow(logicalRow);
+ select?$select_3(this$static.grid, row):$deselect_1(this$static.grid, row);
+}
+
+function MultiSelectionRenderer(grid){
+ this.autoScrollHandler = new MultiSelectionRenderer$AutoScrollHandler(this);
+ this.grid = grid;
+}
+
+defineClass(509, 51, {51:1}, MultiSelectionRenderer);
+_.render = function(cell, data_0){
+ $render_0(cell, data_0);
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer', 509, Lcom_vaadin_client_renderers_ComplexRenderer_2_classLit);
+function $getScrollCompensation(this$static){
+ var cursor, scroll_0;
+ cursor = $getElement(this$static.this$01.grid);
+ scroll_0 = 0;
+ while (cursor) {
+ scroll_0 -= $getSubPixelScrollTop(cursor) | 0;
+ cursor = $getParentElement_0(($clinit_DOMImpl() , cursor));
+ }
+ return scroll_0;
+}
+
+function $start(this$static, logicalRowIndex){
+ var batchedModel, model;
+ model = this$static.this$01.grid.selectionModel;
+ if (instanceOf(model, 151)) {
+ batchedModel = dynamicCast(model, 151);
+ $startBatchSelect(batchedModel);
+ }
+ $updateScrollBounds(this$static);
+ if (this$static.handlerRegistration) {
+ debugger;
+ throw new AssertionError_0('handlerRegistration was not null');
+ }
+ if (this$static.autoScroller) {
+ debugger;
+ throw new AssertionError_0('autoScroller was not null');
+ }
+ this$static.handlerRegistration = addNativePreviewHandler(this$static.scrollPreviewHandler);
+ this$static.autoScroller = new MultiSelectionRenderer$AutoScrollerAndSelector(this$static.this$01, this$static.topBound, this$static.bottomBound, this$static.gradientArea, !$isSelected(this$static.this$01, logicalRowIndex));
+ $start_0(this$static.autoScroller, logicalRowIndex);
+}
+
+function $stop(this$static){
+ var batchedModel, model;
+ if (this$static.handlerRegistration) {
+ $removeHandler(this$static.handlerRegistration.real);
+ this$static.handlerRegistration = null;
+ }
+ if (this$static.autoScroller) {
+ $stop_0(this$static.autoScroller);
+ this$static.autoScroller = null;
+ }
+ model = this$static.this$01.grid.selectionModel;
+ if (instanceOf(model, 151)) {
+ batchedModel = dynamicCast(model, 151);
+ $commitBatchSelect(batchedModel);
+ }
+ $removeNativeHandler(this$static.this$01);
+}
+
+function $updateScrollBounds(this$static){
+ var adjustment, bottomBorder, scrollCompensation, topBorder;
+ topBorder = $getBodyClientTop(this$static.this$01);
+ bottomBorder = $getClientTop($getTfootElement(this$static.this$01)) - 1;
+ scrollCompensation = $getScrollCompensation(this$static);
+ this$static.topBound = scrollCompensation + topBorder + 100;
+ this$static.bottomBound = scrollCompensation + bottomBorder - 100;
+ this$static.gradientArea = 100;
+ if (this$static.bottomBound - this$static.topBound < 50) {
+ adjustment = 50 - (this$static.bottomBound - this$static.topBound);
+ this$static.topBound -= adjustment / 2 | 0;
+ this$static.bottomBound += adjustment / 2 | 0;
+ this$static.gradientArea -= adjustment / 2 | 0;
+ }
+}
+
+function MultiSelectionRenderer$AutoScrollHandler(this$0){
+ this.this$01 = this$0;
+ this.scrollPreviewHandler = new MultiSelectionRenderer$AutoScrollHandler$1(this);
+}
+
+defineClass(512, 1, {}, MultiSelectionRenderer$AutoScrollHandler);
+_.bottomBound = -1;
+_.gradientArea = 0;
+_.topBound = -1;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollHandler', 512, Ljava_lang_Object_2_classLit);
+function MultiSelectionRenderer$AutoScrollHandler$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(513, 1, $intern_41, MultiSelectionRenderer$AutoScrollHandler$1);
+_.onPreviewNativeEvent = function(event_0){
+ var nativeEvent, pageX, pageY;
+ if (!this.this$11.autoScroller) {
+ $stop(this.this$11);
+ return;
+ }
+ nativeEvent = event_0.nativeEvent;
+ switch ($getTypeInt(event_0.nativeEvent)) {
+ case 64:
+ case $intern_34:
+ pageY = ($clinit_WidgetUtil() , $clinit_WidgetUtil() , ($clinit_DOMImpl() , nativeEvent).type.indexOf('touch') != -1?$getClientY(nativeEvent.changedTouches[0]):toInt32(nativeEvent.clientY || 0));
+ pageX = (null , nativeEvent.type.indexOf('touch') != -1?$getClientX(nativeEvent.changedTouches[0]):toInt32(nativeEvent.clientX || 0));
+ $updatePointerCoords(this.this$11.autoScroller, pageX, pageY);
+ break;
+ case 8:
+ case $intern_18:
+ case $intern_35:
+ $stop(this.this$11);
+ }
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollHandler/1', 513, Ljava_lang_Object_2_classLit);
+function $doScrollAreaChecks(this$static, pageY){
+ var bottomDidNotMove, oldBottomBound, oldTopBound, topDidNotMove, wasVerticalMovement;
+ if (this$static.topBound == -1) {
+ this$static.topBound = min_1(this$static.finalTopBound, pageY);
+ this$static.bottomBound = max_1(this$static.finalBottomBound, pageY);
+ }
+ else {
+ oldTopBound = this$static.topBound;
+ this$static.topBound < this$static.finalTopBound && (this$static.topBound = max_1(this$static.topBound, min_1(this$static.finalTopBound, pageY)));
+ oldBottomBound = this$static.bottomBound;
+ this$static.bottomBound > this$static.finalBottomBound && (this$static.bottomBound = min_1(this$static.bottomBound, max_1(this$static.finalBottomBound, pageY)));
+ topDidNotMove = oldTopBound == this$static.topBound;
+ bottomDidNotMove = oldBottomBound == this$static.bottomBound;
+ wasVerticalMovement = pageY != this$static.pageY_0;
+ this$static.scrollAreaShouldRebound = topDidNotMove && bottomDidNotMove && wasVerticalMovement;
+ }
+}
+
+function $reboundScrollArea(this$static, timeDiff){
+ var reboundPx;
+ if (!this$static.scrollAreaShouldRebound) {
+ return;
+ }
+ reboundPx = round_int(Math.ceil(0.001 * timeDiff));
+ if (this$static.topBound < this$static.finalTopBound) {
+ this$static.topBound += reboundPx;
+ this$static.topBound = min_1(this$static.topBound, this$static.finalTopBound);
+ $updateScrollSpeed(this$static, this$static.pageY_0);
+ }
+ else if (this$static.bottomBound > this$static.finalBottomBound) {
+ this$static.bottomBound -= reboundPx;
+ this$static.bottomBound = max_1(this$static.bottomBound, this$static.finalBottomBound);
+ $updateScrollSpeed(this$static, this$static.pageY_0);
+ }
+}
+
+function $start_0(this$static, logicalRowIndex){
+ this$static.running = true;
+ $setSelected(this$static.this$01, logicalRowIndex, this$static.selectionPaint);
+ this$static.lastModifiedLogicalRow = logicalRowIndex;
+ this$static.running && this$static.gradientArea >= 10 && (this$static.handle = (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this$static, $getElement(this$static.this$01.grid)));
+}
+
+function $stop_0(this$static){
+ this$static.running = false;
+ if (this$static.handle) {
+ this$static.handle.cancel();
+ this$static.handle = null;
+ }
+}
+
+function $updatePointerCoords(this$static, pageX, pageY){
+ $doScrollAreaChecks(this$static, pageY);
+ $updateScrollSpeed(this$static, pageY);
+ this$static.pageY_0 = pageY;
+ this$static.initialPageX == -1 && (this$static.initialPageX = pageX);
+}
+
+function $updateScrollSpeed(this$static, pointerPageY){
+ var distance, ratio;
+ if (pointerPageY < this$static.topBound) {
+ distance = pointerPageY - this$static.topBound;
+ ratio = max_0(-1, distance / this$static.gradientArea);
+ }
+ else if (pointerPageY > this$static.bottomBound) {
+ distance = pointerPageY - this$static.bottomBound;
+ ratio = min_0(1, distance / this$static.gradientArea);
+ }
+ else {
+ ratio = 0;
+ }
+ this$static.scrollSpeed = ratio * 500;
+}
+
+function MultiSelectionRenderer$AutoScrollerAndSelector(this$0, topBound, bottomBound, gradientArea, selectionPaint){
+ this.this$01 = this$0;
+ this.finalTopBound = topBound;
+ this.finalBottomBound = bottomBound;
+ this.gradientArea = gradientArea;
+ this.selectionPaint = selectionPaint;
+ this.bodyAbsoluteTop = $getClientTop($getElement(this$0.grid)) + (($getTheadElement(this$0).offsetHeight || 0) | 0);
+ this.bodyAbsoluteBottom = $getClientTop($getTfootElement(this$0)) - 1;
+}
+
+defineClass(511, 1, {}, MultiSelectionRenderer$AutoScrollerAndSelector);
+_.execute = function(timestamp){
+ var constrainedPageY, incrementOrDecrement, intPixelsToScroll, logicalRow, timeDiff;
+ timeDiff = timestamp - this.prevTimestamp;
+ this.prevTimestamp = timestamp;
+ $reboundScrollArea(this, timeDiff);
+ this.pixelsToScroll += this.scrollSpeed * (timeDiff / 1000);
+ intPixelsToScroll = round_int(this.pixelsToScroll);
+ this.pixelsToScroll -= intPixelsToScroll;
+ intPixelsToScroll != 0 && $setScrollTop_1(this.this$01.grid, $getScrollPos(this.this$01.grid.escalator.verticalScrollbar) + intPixelsToScroll);
+ constrainedPageY = max_1(this.bodyAbsoluteTop, min_1(this.bodyAbsoluteBottom, this.pageY_0));
+ logicalRow = $getLogicalRowIndex(this.this$01, getElementFromPoint(this.initialPageX, constrainedPageY));
+ incrementOrDecrement = logicalRow > this.lastModifiedLogicalRow?1:-1;
+ while (logicalRow != -1 && this.lastModifiedLogicalRow != logicalRow) {
+ this.lastModifiedLogicalRow += incrementOrDecrement;
+ $setSelected(this.this$01, this.lastModifiedLogicalRow, this.selectionPaint);
+ }
+ this.running && this.gradientArea >= 10 && (this.handle = (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this, $getElement(this.this$01.grid)));
+}
+;
+_.bodyAbsoluteBottom = 0;
+_.bodyAbsoluteTop = 0;
+_.bottomBound = -1;
+_.finalBottomBound = 0;
+_.finalTopBound = 0;
+_.gradientArea = 0;
+_.initialPageX = -1;
+_.lastModifiedLogicalRow = -1;
+_.pageY_0 = 0;
+_.pixelsToScroll = 0;
+_.prevTimestamp = 0;
+_.running = false;
+_.scrollAreaShouldRebound = false;
+_.scrollSpeed = 0;
+_.selectionPaint = false;
+_.topBound = -1;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollerAndSelector', 511, Ljava_lang_Object_2_classLit);
+function $isInFirstColumn(this$static, element){
+ var cursor, tbody, tr;
+ if (!element) {
+ return false;
+ }
+ tbody = $getTbodyElement(this$static.this$01);
+ if (!tbody || !$isOrHasChild(tbody, element)) {
+ return false;
+ }
+ cursor = element;
+ while (!!$getParentElement_0(($clinit_DOMImpl() , cursor)) && $getParentElement($getParentElement_0(cursor)) != tbody) {
+ cursor = $getParentElement_0(cursor);
+ }
+ tr = $getParentElement_0(cursor);
+ return $getFirstChildElement_0(tr) == cursor;
+}
+
+function MultiSelectionRenderer$TouchEventHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(510, 1, $intern_41, MultiSelectionRenderer$TouchEventHandler);
+_.onPreviewNativeEvent = function(event_0){
+ var targetElement;
+ switch ($getTypeInt(event_0.nativeEvent)) {
+ case $intern_33:
+ {
+ $getTouches(event_0.nativeEvent).length == 1 && $stop(this.this$01.autoScrollHandler);
+ break;
+ }
+
+ case $intern_34:
+ event_0.isCanceled = true;
+ break;
+ case $intern_18:
+ case $intern_35:
+ targetElement = as($getEventTarget(event_0.nativeEvent));
+ if ($isInFirstColumn(this, targetElement)) {
+ $removeNativeHandler(this.this$01);
+ event_0.isCanceled = true;
+ }
+
+ }
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/TouchEventHandler', 510, Ljava_lang_Object_2_classLit);
+function $clinit_SelectionEvent(){
+ $clinit_SelectionEvent = emptyMethod;
+ eventType_0 = new GwtEvent$Type;
+}
+
+function SelectionEvent(grid, added, removed){
+ $clinit_SelectionEvent();
+ this.grid = grid;
+ added != null?($clinit_Collections() , new Collections$SingletonList(added)):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+ removed != null?($clinit_Collections() , new Collections$SingletonList(removed)):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+}
+
+function SelectionEvent_0(grid, added, removed){
+ $clinit_SelectionEvent();
+ this.grid = grid;
+ added?new ArrayList_1(added):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+ removed?new ArrayList_1(removed):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+}
+
+defineClass(87, 569, {}, SelectionEvent, SelectionEvent_0);
+_.dispatch = function(handler){
+ dynamicCast(handler, 545).onSelect_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return eventType_0;
+}
+;
+_.getSource = function(){
+ return this.grid;
+}
+;
+var eventType_0;
+var Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionEvent', 87, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $commitBatchSelect(this$static){
+ var added, handle, handle$iterator, removed;
+ if (!this$static.batchStarted) {
+ debugger;
+ throw new AssertionError_0('Batch was never started');
+ }
+ if (!this$static.batchStarted) {
+ return;
+ }
+ this$static.batchStarted = false;
+ added = $rowHandlesToRows(this$static.selectionBatch);
+ this$static.selectionBatch.map_0.clear_0();
+ removed = $rowHandlesToRows(this$static.deselectionBatch);
+ for (handle$iterator = $iterator(new AbstractMap$1(this$static.deselectionBatch.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_2(handle$iterator), 91);
+ $unpinHandle(handle.this$01, handle);
+ }
+ this$static.deselectionBatch.map_0.clear_0();
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, added, removed));
+}
+
+function $deselect(this$static, rows_0){
+ var handle, removed, row, row$iterator;
+ removed = new LinkedHashSet;
+ for (row$iterator = new AbstractList$IteratorImpl(rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , row$iterator.this$01_0.get_1(row$iterator.last = row$iterator.i++));
+ handle = this$static.grid.dataSource_0.getHandle(row);
+ $deselectByHandle(this$static, handle) && $add_7(removed, row);
+ }
+ if (removed.map_0.size_2() > 0) {
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, null, removed));
+ return true;
+ }
+ return false;
+}
+
+function $deselectAll(this$static){
+ var event_0, selectedRowsClone;
+ if (this$static.selectedRows_0.map_0.size_2() > 0) {
+ selectedRowsClone = new LinkedHashSet_0(this$static.selectedRows_0);
+ event_0 = new SelectionEvent_0(this$static.grid, null, $getSelectedRows(this$static));
+ this$static.selectedRows_0.map_0.clear_0();
+ if (this$static.batchStarted) {
+ this$static.selectionBatch.map_0.clear_0();
+ this$static.deselectionBatch.map_0.clear_0();
+ $addAll_0(this$static.deselectionBatch, selectedRowsClone);
+ }
+ $fireEvent_0(this$static.grid, event_0);
+ return true;
+ }
+ return false;
+}
+
+function $deselectByHandle(this$static, handle){
+ if ($remove_8(this$static.selectedRows_0, handle)) {
+ if (this$static.batchStarted) {
+ $remove_8(this$static.selectionBatch, handle);
+ $add_7(this$static.deselectionBatch, handle);
+ }
+ else {
+ $unpinHandle(handle.this$01, handle);
+ }
+ return true;
+ }
+ return false;
+}
+
+function $getSelectedRows(this$static){
+ var handle, handle$iterator, selected;
+ selected = new LinkedHashSet;
+ for (handle$iterator = $iterator(new AbstractMap$1(this$static.selectedRows_0.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_2(handle$iterator), 91);
+ $add_7(selected, $getRow(handle));
+ }
+ return $clinit_Collections() , new Collections$UnmodifiableSet(selected);
+}
+
+function $isSelectedByHandle(this$static, handle){
+ return $contains_1(this$static.selectedRows_0, handle);
+}
+
+function $rowHandlesToRows(rowHandles){
+ var handle, handle$iterator, rows_0;
+ rows_0 = new ArrayList_0(rowHandles.map_0.size_2());
+ for (handle$iterator = $iterator(new AbstractMap$1(rowHandles.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_2(handle$iterator), 91);
+ $add_6(rows_0, $getRow(handle));
+ }
+ return rows_0;
+}
+
+function $select_1(this$static, rows_0){
+ var added, handle, row, row$iterator;
+ added = new LinkedHashSet;
+ for (row$iterator = new AbstractList$IteratorImpl(rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , row$iterator.this$01_0.get_1(row$iterator.last = row$iterator.i++));
+ handle = this$static.grid.dataSource_0.getHandle(row);
+ $selectByHandle(this$static, handle) && $add_7(added, row);
+ }
+ if (added.map_0.size_2() > 0) {
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, added, null));
+ return true;
+ }
+ return false;
+}
+
+function $selectByHandle(this$static, handle){
+ if ($add_7(this$static.selectedRows_0, handle)) {
+ $pinHandle(handle.this$01, handle);
+ if (this$static.batchStarted) {
+ $remove_8(this$static.deselectionBatch, handle);
+ $add_7(this$static.selectionBatch, handle);
+ }
+ return true;
+ }
+ return false;
+}
+
+function $startBatchSelect(this$static){
+ if (this$static.batchStarted) {
+ debugger;
+ throw new AssertionError_0('Batch has already been started');
+ }
+ this$static.batchStarted = true;
+}
+
+function SelectionModelMulti(){
+ this.selectionBatch = new LinkedHashSet;
+ this.deselectionBatch = new LinkedHashSet;
+ this.grid = null;
+ this.renderer = null;
+ this.selectedRows_0 = new LinkedHashSet;
+}
+
+defineClass(103, 579, {110:1, 151:1, 103:1}, SelectionModelMulti);
+_.getSelectedRows_0 = function(){
+ return $getSelectedRows(this);
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return this.renderer;
+}
+;
+_.isSelected = function(row){
+ return $isSelectedByHandle(this, this.grid.dataSource_0.getHandle(row));
+}
+;
+_.reset_1 = function(){
+ $deselectAll(this);
+}
+;
+_.setGrid = function(grid){
+ if (!!this.grid && !!grid) {
+ throw new IllegalStateException_0('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.');
+ }
+ this.grid = grid;
+ if (this.grid) {
+ this.spaceSelectHandler = new SpaceSelectHandler(grid);
+ this.renderer = new MultiSelectionRenderer(grid);
+ }
+ else {
+ $removeHandler_0(this.spaceSelectHandler);
+ this.spaceSelectHandler = null;
+ this.renderer = null;
+ }
+}
+;
+_.batchStarted = false;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelMulti', 103, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function SelectionModelNone(){
+}
+
+defineClass(449, 579, {}, SelectionModelNone);
+_.getSelectedRows_0 = function(){
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_SET;
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return null;
+}
+;
+_.isSelected = function(row){
+ return false;
+}
+;
+_.reset_1 = function(){
+}
+;
+_.setGrid = function(grid){
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelNone_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelNone', 449, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function $deselect_0(this$static, row){
+ if (row == null) {
+ throw new IllegalArgumentException_0('Row cannot be null');
+ }
+ if (!!this$static.selectedRow_0 && $equalsExplicit(this$static.selectedRow_0, this$static.grid.dataSource_0.getHandle(row))) {
+ $deselectByHandle_0(this$static, this$static.selectedRow_0);
+ $fireEvent_0(this$static.grid, new SelectionEvent(this$static.grid, null, row));
+ return true;
+ }
+ return false;
+}
+
+function $deselectByHandle_0(this$static, handle){
+ if (!!handle && $equalsExplicit(handle, this$static.selectedRow_0)) {
+ $unpin(this$static.selectedRow_0);
+ this$static.selectedRow_0 = null;
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+
+function $getSelectedRow(this$static){
+ return this$static.selectedRow_0?$getRow(this$static.selectedRow_0):null;
+}
+
+function $select_2(this$static, row){
+ var removed;
+ if (row == null) {
+ throw new IllegalArgumentException_0('Row cannot be null');
+ }
+ removed = this$static.selectedRow_0?$getRow(this$static.selectedRow_0):null;
+ if ($selectByHandle_0(this$static, this$static.grid.dataSource_0.getHandle(row))) {
+ $fireEvent_0(this$static.grid, new SelectionEvent(this$static.grid, row, removed));
+ return true;
+ }
+ return false;
+}
+
+function $selectByHandle_0(this$static, handle){
+ if (!!handle && !$equalsExplicit(handle, this$static.selectedRow_0)) {
+ $deselectByHandle_0(this$static, this$static.selectedRow_0);
+ this$static.selectedRow_0 = handle;
+ $pin(this$static.selectedRow_0);
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+
+function SelectionModelSingle(){
+}
+
+defineClass(131, 579, {95:1, 131:1}, SelectionModelSingle);
+_.getSelectedRows_0 = function(){
+ if ((this.selectedRow_0?$getRow(this.selectedRow_0):null) != null) {
+ return singleton_0(this.selectedRow_0?$getRow(this.selectedRow_0):null);
+ }
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_SET;
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return null;
+}
+;
+_.isSelected = function(row){
+ return !!this.selectedRow_0 && $equalsExplicit(this.selectedRow_0, this.grid.dataSource_0.getHandle(row));
+}
+;
+_.reset_1 = function(){
+ !!this.selectedRow_0 && $deselect_0(this, this.selectedRow_0?$getRow(this.selectedRow_0):null);
+}
+;
+_.setGrid = function(grid){
+ if (!!this.grid && !!grid) {
+ throw new IllegalStateException_0('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.');
+ }
+ this.grid = grid;
+ if (this.grid) {
+ this.spaceSelectHandler = new SpaceSelectHandler(grid);
+ this.clickSelectHandler = new ClickSelectHandler(grid);
+ !!this.spaceSelectHandler && $setDeselectAllowed_0(this.spaceSelectHandler, this.deselectAllowed);
+ !!this.clickSelectHandler && $setDeselectAllowed(this.clickSelectHandler, this.deselectAllowed);
+ }
+ else {
+ $removeHandler_0(this.spaceSelectHandler);
+ $removeHandler(this.clickSelectHandler.clickHandler.real);
+ this.spaceSelectHandler = null;
+ this.clickSelectHandler = null;
+ }
+}
+;
+_.deselectAllowed = true;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelSingle', 131, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function $removeHandler_0(this$static){
+ $removeHandler(this$static.spaceDownHandler.real);
+ $removeHandler(this$static.spaceUpHandler.real);
+}
+
+function $setDeselectAllowed_0(this$static, deselectAllowed){
+ this$static.deselectAllowed = deselectAllowed;
+}
+
+function SpaceSelectHandler(grid){
+ this.grid = grid;
+ this.spaceDownHandler = $addBodyKeyDownHandler(grid, new SpaceSelectHandler$SpaceKeyDownHandler(this));
+ this.spaceUpHandler = $addBodyKeyUpHandler(grid, new SpaceSelectHandler$1(this));
+}
+
+defineClass(191, 1, {}, SpaceSelectHandler);
+_.deselectAllowed = true;
+_.spaceDown = false;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler', 191, Ljava_lang_Object_2_classLit);
+function SpaceSelectHandler$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(504, 1, {22:1, 198:1, 547:1, 605:1}, SpaceSelectHandler$1);
+_.onKeyUp = function(event_0){
+ $getKeyCode(($assertLive(event_0) , event_0.nativeEvent)) == 32 && (this.this$01.spaceDown = false);
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/1', 504, Ljava_lang_Object_2_classLit);
+function $onKeyDown(this$static, event_0){
+ var rowIndex;
+ if ($getKeyCode(($assertLive(event_0) , event_0.nativeEvent)) != 32 || this$static.this$01.spaceDown) {
+ return;
+ }
+ $preventDefault(($assertLive(event_0) , event_0.nativeEvent));
+ this$static.this$01.spaceDown = true;
+ rowIndex = event_0.targetCell.rowReference.rowIndex;
+ if (this$static.scrollHandler) {
+ $removeHandler(this$static.scrollHandler.real);
+ this$static.scrollHandler = null;
+ }
+ this$static.scrollHandler = $addDataAvailableHandler(this$static.this$01.grid, new SpaceSelectHandler$SpaceKeyDownHandler$1(this$static, rowIndex));
+ $scrollToRow_1(this$static.this$01.grid, rowIndex);
+}
+
+function $setSelected_0(this$static, grid, rowIndex){
+ var row;
+ row = grid.dataSource_0.getRow(rowIndex);
+ grid.selectionModel.isSelected(row)?this$static.this$01.deselectAllowed && $deselect_1(grid, row):$select_3(grid, row);
+}
+
+function SpaceSelectHandler$SpaceKeyDownHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(502, 1, {22:1, 198:1, 601:1}, SpaceSelectHandler$SpaceKeyDownHandler);
+_.scrollHandler = null;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/SpaceKeyDownHandler', 502, Ljava_lang_Object_2_classLit);
+function SpaceSelectHandler$SpaceKeyDownHandler$1(this$1, val$rowIndex){
+ this.this$11 = this$1;
+ this.val$rowIndex2 = val$rowIndex;
+}
+
+defineClass(503, 1, $intern_47, SpaceSelectHandler$SpaceKeyDownHandler$1);
+_.onDataAvailable = function(dataAvailableEvent){
+ if ($contains(dataAvailableEvent.rowsAvailable, this.val$rowIndex2)) {
+ $setSelected_0(this.this$11, this.this$11.this$01.grid, this.val$rowIndex2);
+ $removeHandler(this.this$11.scrollHandler.real);
+ this.this$11.scrollHandler = null;
+ }
+}
+;
+_.val$rowIndex2 = 0;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/SpaceKeyDownHandler/1', 503, Ljava_lang_Object_2_classLit);
+function $clinit_Escalator(){
+ $clinit_Escalator = emptyMethod;
+ RATIO_OF_30_DEGREES = 1 / Math.sqrt(3);
+ RATIO_OF_40_DEGREES = Math.tan(0.6981317007977318);
+}
+
+function $applyHeightByRows(this$static){
+ var bodyHeight, footerHeight, headerHeight, scrollbar, totalHeight;
+ if (this$static.heightMode != ($clinit_HeightMode() , ROW)) {
+ return;
+ }
+ headerHeight = this$static.header.heightOfSection;
+ footerHeight = this$static.footer.heightOfSection;
+ bodyHeight = this$static.body_0.defaultRowHeight * this$static.heightByRows;
+ scrollbar = $showsScrollHandle(this$static.horizontalScrollbar)?$getScrollbarThickness(this$static.horizontalScrollbar):0;
+ totalHeight = headerHeight + bodyHeight + scrollbar + footerHeight;
+ $setHeightInternal(this$static, totalHeight + 'px');
+}
+
+function $detectAndApplyPositionFunction(this$static){
+ var docStyle;
+ if ($wnd.navigator.userAgent.indexOf('Firefox') != -1) {
+ this$static.position_0 = new PositionFunction$AbsolutePosition;
+ return;
+ }
+ docStyle = $doc.body.style;
+ hasProperty_0(docStyle, 'transform')?hasProperty_0(docStyle, 'transformStyle')?(this$static.position_0 = new PositionFunction$Translate3DPosition):(this$static.position_0 = new PositionFunction$TranslatePosition):hasProperty_0(docStyle, 'webkitTransform')?(this$static.position_0 = new PositionFunction$WebkitTranslate3DPosition):(this$static.position_0 = new PositionFunction$AbsolutePosition);
+}
+
+function $findRowContainer(this$static, element){
+ if (this$static.header.root != element && $isOrHasChild(this$static.header.root, element)) {
+ return this$static.header;
+ }
+ else if (this$static.body_0.root != element && $isOrHasChild(this$static.body_0.root, element)) {
+ return this$static.body_0;
+ }
+ else if (this$static.footer.root != element && $isOrHasChild(this$static.footer.root, element)) {
+ return this$static.footer;
+ }
+ return null;
+}
+
+function $fireRowVisibilityChangeEvent(this$static){
+ var visibleRangeEnd, visibleRangeStart, visibleRowCount;
+ if (this$static.body_0.visualRowOrder.size_0 == 0) {
+ $fireEvent_0(this$static, new RowVisibilityChangeEvent(0, 0));
+ }
+ else {
+ visibleRangeStart = $getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getFirst(this$static.body_0.visualRowOrder)));
+ visibleRangeEnd = $getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getLast(this$static.body_0.visualRowOrder))) + 1;
+ visibleRowCount = visibleRangeEnd - visibleRangeStart;
+ $fireEvent_0(this$static, new RowVisibilityChangeEvent(visibleRangeStart, visibleRowCount));
+ }
+}
+
+function $getVisibleRowRange(this$static){
+ return this$static.body_0.visualRowOrder.size_0 == 0?withLength(0, 0):withLength($getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getFirst(this$static.body_0.visualRowOrder))), this$static.body_0.visualRowOrder.size_0);
+}
+
+function $hasColumnAndRowData(this$static){
+ return (this$static.header.rows_0 > 0 || this$static.body_0.rows_0 > 0 || this$static.footer.rows_0 > 0) && this$static.columnConfiguration.columns.array.length > 0;
+}
+
+function $hasSomethingInDom(this$static){
+ return this$static.headElem.hasChildNodes() || this$static.bodyElem.hasChildNodes() || this$static.footElem.hasChildNodes();
+}
+
+function $recalculateElementSizes(this$static){
+ if (!this$static.attached) {
+ return;
+ }
+ this$static.widthOfEscalator = max_0(0, getRequiredWidthBoundingClientRectDouble($getElement(this$static)));
+ this$static.heightOfEscalator = max_0(0, getRequiredHeightBoundingClientRectDouble($getElement(this$static)));
+ $recalculateSectionHeight(this$static.header);
+ $recalculateSectionHeight(this$static.footer);
+ $recalculateScrollbarsForVirtualViewport(this$static.scroller);
+ $verifyEscalatorCount(this$static.body_0);
+}
+
+function $scrollToColumn(this$static, columnIndex){
+ $verifyValidColumnIndex(this$static, columnIndex);
+ if (columnIndex < this$static.columnConfiguration.frozenColumns) {
+ throw new IllegalArgumentException_0('The given column index ' + columnIndex + ' is frozen.');
+ }
+ $scrollToColumn_0(this$static.scroller, columnIndex);
+}
+
+function $scrollToRow(this$static, rowIndex){
+ $verifyValidRowIndex(this$static, rowIndex);
+ $scrollToRow_0(this$static.scroller, rowIndex);
+}
+
+function $setHeight_3(this$static, height){
+ height != null && !!height.length?(this$static.heightByCss = height):(this$static.heightByCss = '400.0px');
+ this$static.heightMode == ($clinit_HeightMode() , CSS_0) && $setHeightInternal(this$static, height);
+}
+
+function $setHeightByRows(this$static, rows_0){
+ if (rows_0 <= 0) {
+ throw new IllegalArgumentException_0('The number of rows must be a positive number.');
+ }
+ else if (isInfinite(rows_0)) {
+ throw new IllegalArgumentException_0('The number of rows must be finite.');
+ }
+ else if (isNaN(rows_0)) {
+ throw new IllegalArgumentException_0('The number must not be NaN.');
+ }
+ this$static.heightByRows = rows_0;
+ $applyHeightByRows(this$static);
+}
+
+function $setHeightInternal(this$static, height){
+ var escalatorRowsBefore;
+ escalatorRowsBefore = this$static.body_0.visualRowOrder.size_0;
+ height != null && !!height.length?$setHeight_0(this$static, height):$setHeight_0(this$static, '400.0px');
+ $recalculateElementSizes(this$static);
+ escalatorRowsBefore != this$static.body_0.visualRowOrder.size_0 && $fireRowVisibilityChangeEvent(this$static);
+}
+
+function $setHeightMode(this$static, heightMode){
+ if (heightMode != this$static.heightMode) {
+ this$static.heightMode = heightMode;
+ switch (this$static.heightMode.ordinal) {
+ case 0:
+ $setHeight_3(this$static, this$static.heightByCss);
+ break;
+ case 1:
+ $setHeightByRows(this$static, this$static.heightByRows);
+ break;
+ default:throw new IllegalStateException_0('Unimplemented feature - unknown HeightMode: ' + this$static.heightMode);
+ }
+ }
+}
+
+function $setScrollLeft_1(this$static, scrollLeft){
+ $setScrollPos(this$static.horizontalScrollbar, scrollLeft);
+}
+
+function $setScrollLocked(this$static, direction){
+ switch (direction.ordinal) {
+ case 1:
+ this$static.horizontalScrollbar.isLocked = true;
+ break;
+ case 0:
+ this$static.verticalScrollbar.isLocked = true;
+ break;
+ default:throw new UnsupportedOperationException_0('Unexpected value: ' + direction);
+ }
+}
+
+function $setScrollTop_0(this$static, scrollTop){
+ $setScrollPos(this$static.verticalScrollbar, scrollTop);
+}
+
+function $setStylePrimaryName_1(this$static, style){
+ setStylePrimaryName($getElement(this$static), style);
+ $setStylePrimaryName_0(this$static.verticalScrollbar, style);
+ $setStylePrimaryName(this$static.horizontalScrollbar, style);
+ setStylePrimaryName(this$static.tableWrapper, style + '-tablewrapper');
+ setStylePrimaryName(this$static.headerDeco, style + '-header-deco');
+ setStylePrimaryName(this$static.footerDeco, style + '-footer-deco');
+ setStylePrimaryName(this$static.horizontalScrollbarDeco, style + '-horizontal-scrollbar-deco');
+ $setStylePrimaryName_5(this$static.header, style);
+ $setStylePrimaryName_3(this$static.body_0, style);
+ $setStylePrimaryName_4(this$static.footer, style);
+}
+
+function $setWidth_3(this$static, width_0){
+ width_0 != null && !!width_0.length?$setWidth_0(this$static, width_0):$setWidth_0(this$static, '500.0px');
+ $recalculateElementSizes(this$static);
+}
+
+function $verifyValidColumnIndex(this$static, columnIndex){
+ if (columnIndex < 0 || columnIndex >= this$static.columnConfiguration.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given column index ' + columnIndex + ' does not exist.');
+ }
+}
+
+function $verifyValidRowIndex(this$static, rowIndex){
+ if (rowIndex < 0 || rowIndex >= this$static.body_0.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given row index ' + rowIndex + ' does not exist.');
+ }
+}
+
+function Escalator(){
+ $clinit_Escalator();
+ var fCornerStyle, hCornerStyle, hWrapperStyle, root, scrollHandler, scrollbarThickness, table, vScrollStyle;
+ this.flyweightRow = new FlyweightRow;
+ this.headElem = as_6(($clinit_DOM() , $createTHeadElement($doc)));
+ this.bodyElem = as_6($createTBodyElement($doc));
+ this.footElem = as_6($createTFootElement($doc));
+ this.verticalScrollbar = new ScrollbarBundle$VerticalScrollbarBundle;
+ this.horizontalScrollbar = new ScrollbarBundle$HorizontalScrollbarBundle;
+ this.header = new Escalator$HeaderRowContainer(this, this.headElem);
+ this.body_0 = new Escalator$BodyRowContainer(this, this.bodyElem);
+ this.footer = new Escalator$FooterRowContainer(this, this.footElem);
+ this.scroller = new Escalator$Scroller(this);
+ this.columnConfiguration = new Escalator$ColumnConfigurationImpl(this);
+ this.horizontalScrollbarDeco = as_1($createDivElement($doc));
+ this.headerDeco = as_1($createDivElement($doc));
+ this.footerDeco = as_1($createDivElement($doc));
+ this.heightMode = ($clinit_HeightMode() , CSS_0);
+ new Escalator$1(this);
+ $detectAndApplyPositionFunction(this);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Escalator_2_classLit);
+ 'Using ' + $getSimpleName(this.position_0.___clazz$) + ' for position';
+ root = $createDivElement($doc);
+ $setElement_1(this, root);
+ scrollHandler = new Escalator$2(this);
+ scrollbarThickness = getNativeScrollbarSize();
+ ($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isIE && ($isIE9((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))?(scrollbarThickness += 2):(scrollbarThickness += 1));
+ $appendChild(root, this.verticalScrollbar.root);
+ $addScrollHandler(this.verticalScrollbar, scrollHandler);
+ $setScrollbarThickness(this.verticalScrollbar, scrollbarThickness);
+ if ($isIE8((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))) {
+ vScrollStyle = this.verticalScrollbar.root.style;
+ $setRight(vScrollStyle, $getScrollbarThickness(this.verticalScrollbar) - 1, $clinit_Style$Unit());
+ }
+ $appendChild(root, this.horizontalScrollbar.root);
+ $addScrollHandler(this.horizontalScrollbar, scrollHandler);
+ $setScrollbarThickness(this.horizontalScrollbar, scrollbarThickness);
+ $addVisibilityHandler(this.horizontalScrollbar, new Escalator$3(this));
+ this.tableWrapper = as_1($createDivElement($doc));
+ $appendChild(root, this.tableWrapper);
+ table = $createTableElement($doc);
+ $appendChild(this.tableWrapper, table);
+ $appendChild(table, this.headElem);
+ $appendChild(table, this.bodyElem);
+ $appendChild(table, this.footElem);
+ hCornerStyle = this.headerDeco.style;
+ $setWidth(hCornerStyle, $getScrollbarThickness(this.verticalScrollbar), $clinit_Style$Unit());
+ $setProperty_0(hCornerStyle, 'display', ($clinit_Style$Display() , 'none'));
+ $appendChild(root, this.headerDeco);
+ fCornerStyle = this.footerDeco.style;
+ $setWidth(fCornerStyle, $getScrollbarThickness(this.verticalScrollbar), $clinit_Style$Unit());
+ $setProperty_0(fCornerStyle, 'display', 'none');
+ $appendChild(root, this.footerDeco);
+ hWrapperStyle = this.horizontalScrollbarDeco.style;
+ $setProperty_0(hWrapperStyle, 'display', 'none');
+ $setHeight(hWrapperStyle, $getScrollbarThickness(this.horizontalScrollbar), $clinit_Style$Unit());
+ $appendChild(root, this.horizontalScrollbarDeco);
+ $setStylePrimaryName_1(this, 'v-escalator');
+ this.heightByCss = '400.0px';
+ this.heightMode == CSS_0 && $setHeightInternal(this, null);
+ $setWidth_0(this, '500.0px');
+ $recalculateElementSizes(this);
+}
+
+function getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, padding){
+ $clinit_Escalator();
+ var endScrollPos, startScrollPos, viewportLength;
+ viewportLength = viewportEndPx - viewportStartPx;
+ startScrollPos = targetStartPx - padding;
+ endScrollPos = targetEndPx + padding - viewportLength;
+ return startScrollPos < viewportStartPx?startScrollPos:targetEndPx + padding > viewportEndPx?endScrollPos:viewportStartPx;
+}
+
+function hasProperty_0(style, name_0){
+ return style[name_0] !== undefined;
+}
+
+function snapDeltas_0(deltaX, deltaY, thresholdRatio){
+ $clinit_Escalator();
+ var aDeltaX, aDeltaY, array, xRatio, yRatio;
+ array = initDim(D_classLit, {3:1}, 0, 2, 7, 1);
+ if (deltaX != 0 && deltaY != 0) {
+ aDeltaX = deltaX <= 0?0 - deltaX:deltaX;
+ aDeltaY = deltaY <= 0?0 - deltaY:deltaY;
+ yRatio = aDeltaY / aDeltaX;
+ xRatio = aDeltaX / aDeltaY;
+ array[0] = xRatio < thresholdRatio?0:deltaX;
+ array[1] = yRatio < thresholdRatio?0:deltaY;
+ }
+ else {
+ array[0] = deltaX;
+ array[1] = deltaY;
+ }
+ return array;
+}
+
+defineClass(252, 17, $intern_28, Escalator);
+_.onLoad = function(){
+ var column, column$iterator, columnChanged, columnsChanged;
+ $autodetectRowHeightLater(this.header);
+ $autodetectRowHeightLater(this.body_0);
+ $autodetectRowHeightLater(this.footer);
+ $paintInsertStaticRows(this.header, 0, this.header.rows_0);
+ $paintInsertStaticRows(this.footer, 0, this.footer.rows_0);
+ $recalculateElementSizes(this);
+ columnsChanged = false;
+ for (column$iterator = new AbstractList$IteratorImpl(this.columnConfiguration.columns); column$iterator.i < column$iterator.this$01_0.size_2();) {
+ column = (checkCriticalElement(column$iterator.i < column$iterator.this$01_0.size_2()) , dynamicCast(column$iterator.this$01_0.get_1(column$iterator.last = column$iterator.i++), 72));
+ columnChanged = $measureAndSetWidthIfNeeded(column);
+ columnChanged && (columnsChanged = true);
+ }
+ if (columnsChanged) {
+ $reapplyColumnWidths(this.header);
+ $reapplyColumnWidths(this.body_0);
+ $reapplyColumnWidths(this.footer);
+ }
+ $attachScrollListener(this.scroller, this.verticalScrollbar.root);
+ $attachScrollListener(this.scroller, this.horizontalScrollbar.root);
+ $attachMousewheelListener(this.scroller, $getElement(this));
+ $attachTouchListeners(this.scroller, $getElement(this));
+}
+;
+_.onUnload = function(){
+ var i_0, index_0, rowsToRemove, tr;
+ $detachScrollListener(this.scroller, this.verticalScrollbar.root);
+ $detachScrollListener(this.scroller, this.horizontalScrollbar.root);
+ $detachMousewheelListener(this.scroller, $getElement(this));
+ $detachTouchListeners(this.scroller, $getElement(this));
+ $paintRemoveRows(this.header, 0, this.header.rows_0);
+ $paintRemoveRows(this.footer, 0, this.footer.rows_0);
+ rowsToRemove = this.bodyElem.childNodes.length;
+ for (i_0 = 0; i_0 < rowsToRemove; i_0++) {
+ index_0 = rowsToRemove - i_0 - 1;
+ tr = this.bodyElem.rows[index_0];
+ $paintRemoveRow(this.body_0, tr, index_0);
+ $removeRowPosition(this.body_0, tr);
+ }
+ $reset_0(this.body_0.visualRowOrder);
+ $setTopRowLogicalIndex(this.body_0, 0);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_3(this, height);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_3(this, width_0);
+}
+;
+_.heightByCss = '';
+_.heightByRows = 10;
+_.heightOfEscalator = 0;
+_.tBodyScrollLeft = 0;
+_.tBodyScrollTop = 0;
+_.widthOfEscalator = 0;
+var RATIO_OF_30_DEGREES = 0, RATIO_OF_40_DEGREES = 0;
+var Lcom_vaadin_client_widgets_Escalator_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator', 252, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function Escalator$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(264, 1, {}, Escalator$1);
+_.execute_1 = function(){
+ $recalculateElementSizes(this.this$01);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/1', 264, Ljava_lang_Object_2_classLit);
+function Escalator$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(265, 1, $intern_46, Escalator$2);
+_.onScroll = function(event_0){
+ $onScroll(this.this$01.scroller);
+ $fireEvent_0(this.this$01, new ScrollEvent);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$2_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/2', 265, Ljava_lang_Object_2_classLit);
+function Escalator$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(266, 1, {22:1, 602:1}, Escalator$3);
+var Lcom_vaadin_client_widgets_Escalator$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/3', 266, Ljava_lang_Object_2_classLit);
+function $assertArgumentsAreValidAndWithinRange(this$static, index_0, numberOfRows){
+ if (numberOfRows < 1) {
+ throw new IllegalArgumentException_0('Number of rows must be 1 or greater (was ' + numberOfRows + ')');
+ }
+ if (index_0 < 0 || index_0 + numberOfRows > this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given row range (' + index_0 + '..' + (index_0 + numberOfRows) + ') was outside of the current number of rows (' + this$static.rows_0 + ')');
+ }
+}
+
+function $autodetectRowHeightLater(this$static){
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new Escalator$AbstractRowContainer$1(this$static));
+}
+
+function $autodetectRowHeightNow(this$static){
+ var boundingHeight, cellElem, detectionTr;
+ if (!this$static.this$01_1.attached) {
+ this$static.defaultRowHeightShouldBeAutodetected = true;
+ return;
+ }
+ detectionTr = ($clinit_DOM() , $createTRElement($doc));
+ $setClassName(detectionTr, this$static.primaryStyleName + '-row');
+ cellElem = createElement(this$static.getCellElementTagName());
+ $setClassName(cellElem, this$static.primaryStyleName + '-cell');
+ $setInnerText_0(($clinit_DOMImpl() , cellElem), 'Ij');
+ detectionTr.appendChild(cellElem);
+ $appendChild(this$static.root, detectionTr);
+ boundingHeight = getRequiredHeightBoundingClientRectDouble(cellElem);
+ this$static.defaultRowHeight = 1 > boundingHeight?1:boundingHeight;
+ $removeChild(this$static.root, detectionTr);
+ if (this$static.root.hasChildNodes()) {
+ this$static.reapplyDefaultRowHeights();
+ $applyHeightByRows(this$static.this$01_1);
+ }
+}
+
+function $calculateTotalRowHeight(this$static){
+ return this$static.defaultRowHeight * this$static.rows_0;
+}
+
+function $createCellElement(this$static, width_0){
+ var cellElem, height;
+ cellElem = as_3(createElement(this$static.getCellElementTagName()));
+ height = this$static.defaultRowHeight;
+ if (height < 0) {
+ debugger;
+ throw new AssertionError_0("defaultRowHeight was negative. There's a setter leak somewhere.");
+ }
+ $setHeight(cellElem.style, height, $clinit_Style$Unit());
+ width_0 >= 0 && $setWidth(cellElem.style, width_0, $clinit_Style$Unit());
+ $addClassName(cellElem, this$static.primaryStyleName + '-cell');
+ return cellElem;
+}
+
+function $getCell(this$static, element){
+ var cellElement, cellElementCandidate, domColumnIndex, domRowIndex, e, e0;
+ if (!element) {
+ throw new IllegalArgumentException_0('Element cannot be null');
+ }
+ if (this$static.root == element || $getParentElement_0(($clinit_DOMImpl() , element)) == this$static.root || !$isOrHasChild(this$static.root, element)) {
+ return null;
+ }
+ cellElementCandidate = element;
+ while ($getParentElement($getParentElement_0(($clinit_DOMImpl() , cellElementCandidate))) != this$static.root) {
+ cellElementCandidate = $getParentElement_0(cellElementCandidate);
+ }
+ cellElement = as_3(cellElementCandidate);
+ domColumnIndex = -1;
+ for (e0 = cellElement; e0; e0 = $getPreviousSiblingElement(e0)) {
+ ++domColumnIndex;
+ }
+ domRowIndex = -1;
+ for (e = $getParentElement_0(cellElement); e; e = $getPreviousSiblingElement(e)) {
+ ++domRowIndex;
+ }
+ return new Cell(domRowIndex, domColumnIndex, cellElement);
+}
+
+function $getMaxCellWidth(this$static, colIndex){
+ var cellClone, cellOriginal, maxCellWidth, requiredWidth, row, rowElement, rows_0, cellHasColspan, cellIsHidden;
+ maxCellWidth = -1;
+ if (!this$static.this$01_1.attached) {
+ debugger;
+ throw new AssertionError_0("Can't measure max width of cell, since Escalator is not attached to the DOM.");
+ }
+ rows_0 = this$static.root.rows;
+ for (row = 0; row < rows_0.length; row++) {
+ rowElement = rows_0[row];
+ cellOriginal = rowElement.cells[colIndex];
+ if (cellHasColspan = cellOriginal.colSpan > 1 , cellIsHidden = $equals_2(($clinit_Style$Display() , 'none'), $getDisplay(cellOriginal.style)) , cellHasColspan || cellIsHidden) {
+ continue;
+ }
+ cellClone = as_3(cellOriginal.cloneNode(true));
+ $setProperty_0(cellClone.style, 'height', '');
+ $clearWidth(cellClone.style);
+ rowElement.insertBefore(cellClone, cellOriginal);
+ requiredWidth = ($clinit_WidgetUtil() , round_int(ceil_0(getRequiredWidthBoundingClientRectDouble(cellClone))));
+ $isIE9(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) && (requiredWidth += 1);
+ maxCellWidth = requiredWidth > maxCellWidth?requiredWidth:maxCellWidth;
+ $removeFromParent(cellClone);
+ }
+ return maxCellWidth;
+}
+
+function $getRowTop(this$static, tr){
+ return dynamicCast(this$static.rowTopPositionMap.get_0(tr), 14).value_0;
+}
+
+function $insertAfterReferenceAndUpdateIt(parent_0, elem, referenceNode){
+ referenceNode?$insertAfter(parent_0, elem, referenceNode):$insertFirst(parent_0, elem);
+ return elem;
+}
+
+function $insertRows(this$static, index_0, numberOfRows){
+ var col, colWidths, i_0, width_0;
+ if (index_0 < 0 || index_0 > this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given index (' + index_0 + ') was outside of the current number of rows (0..' + this$static.rows_0 + ')');
+ }
+ if (numberOfRows < 1) {
+ throw new IllegalArgumentException_0('Number of rows must be 1 or greater (was ' + numberOfRows + ')');
+ }
+ this$static.rows_0 += numberOfRows;
+ if (this$static.this$01_1.attached) {
+ this$static.paintInsertRows(index_0, numberOfRows);
+ if (this$static.rows_0 == numberOfRows) {
+ colWidths = new HashMap;
+ width_0 = new Double(100);
+ for (i_0 = 0; i_0 < this$static.this$01_1.columnConfiguration.columns.array.length; i_0++) {
+ col = valueOf_2(i_0);
+ colWidths.put(col, width_0);
+ }
+ $setColumnWidths(this$static.this$01_1.columnConfiguration, colWidths);
+ }
+ }
+}
+
+function $paintInsertCells(this$static, tr, logicalRowIndex, offset){
+ var cell, cell$iterator, cell$iterator0, cellElem, cells_0, colWidth, referenceCell;
+ if (!$isOrHasChild(this$static.root, tr)) {
+ debugger;
+ throw new AssertionError_0('The row must be attached to the document');
+ }
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ cells_0 = $getUnattachedCells(this$static.this$01_1.flyweightRow, offset);
+ for (cell$iterator0 = new FlyweightRow$CellIterator(new AbstractList$SubList(cells_0.this$01.cells_0, cells_0.val$offset2, cells_0.val$offset2 + cells_0.val$numberOfCells3), false); cell$iterator0.cursor_0 + cell$iterator0.skipNext < cell$iterator0.cells_0.array.length;) {
+ cell = $next_1(cell$iterator0);
+ colWidth = $getColumnWidthActual(this$static.this$01_1.columnConfiguration, ($assertSetup(cell) , cell.column));
+ cellElem = $createCellElement(this$static, colWidth);
+ $setElement_2(cell, cellElem);
+ }
+ this$static.updater.preAttach(this$static.this$01_1.flyweightRow, cells_0);
+ offset != 0?(referenceCell = $getChild(tr, offset - 1)):(referenceCell = null);
+ for (cell$iterator = new FlyweightRow$CellIterator(new AbstractList$SubList(cells_0.this$01.cells_0, cells_0.val$offset2, cells_0.val$offset2 + cells_0.val$numberOfCells3), false); cell$iterator.cursor_0 + cell$iterator.skipNext < cell$iterator.cells_0.array.length;) {
+ cell = $next_1(cell$iterator);
+ referenceCell = $insertAfterReferenceAndUpdateIt(tr, ($assertSetup(cell) , cell.element), referenceCell);
+ }
+ this$static.updater.postAttach(this$static.this$01_1.flyweightRow, cells_0);
+ this$static.updater.update(this$static.this$01_1.flyweightRow, cells_0);
+ if (!$teardown(this$static.this$01_1.flyweightRow)) {
+ debugger;
+ throw new AssertionError;
+ }
+}
+
+function $paintInsertColumns(this$static, offset, frozen){
+ var col, row, tr;
+ for (row = 0; row < this$static.root.childNodes.length; row++) {
+ tr = this$static.getTrByVisualIndex(row);
+ $paintInsertCells(this$static, tr, row, offset);
+ }
+ $reapplyRowWidths(this$static);
+ if (frozen) {
+ for (col = offset; col < offset + 1; col++) {
+ $setColumnFrozen(this$static, col, true);
+ }
+ }
+}
+
+function $paintInsertRow(this$static, referenceRow, tr, logicalRowIndex){
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ this$static.updater.preAttach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ referenceRow = $insertAfterReferenceAndUpdateIt(this$static.root, tr, referenceRow);
+ this$static.updater.postAttach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ this$static.updater.update(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ if (!$teardown(this$static.this$01_1.flyweightRow)) {
+ debugger;
+ throw new AssertionError;
+ }
+ return referenceRow;
+}
+
+function $paintInsertStaticRows(this$static, visualIndex, numberOfRows){
+ var addedRows, cellElem, col, colWidth, referenceRow, row, tr;
+ if (!this$static.this$01_1.attached) {
+ debugger;
+ throw new AssertionError_0("Can't paint rows if Escalator is not attached");
+ }
+ addedRows = new ArrayList;
+ if (numberOfRows < 1) {
+ return addedRows;
+ }
+ this$static.root.childNodes.length != 0 && visualIndex != 0?(referenceRow = $getChild(this$static.root, visualIndex - 1)):(referenceRow = null);
+ for (row = visualIndex; row < visualIndex + numberOfRows; row++) {
+ tr = as_5(($clinit_DOM() , $createTRElement($doc)));
+ setCheck(addedRows.array, addedRows.array.length, tr);
+ $addClassName(tr, this$static.primaryStyleName + '-row');
+ for (col = 0; col < this$static.this$01_1.columnConfiguration.columns.array.length; col++) {
+ colWidth = $getColumnWidthActual(this$static.this$01_1.columnConfiguration, col);
+ cellElem = $createCellElement(this$static, colWidth);
+ tr.appendChild(cellElem);
+ if (col < this$static.this$01_1.columnConfiguration.frozenColumns) {
+ $addClassName(cellElem, 'frozen');
+ this$static.this$01_1.position_0.set_1(cellElem, this$static.this$01_1.scroller.lastScrollLeft, 0);
+ }
+ }
+ referenceRow = $paintInsertRow(this$static, referenceRow, tr, row);
+ }
+ $reapplyRowWidths(this$static);
+ this$static.recalculateSectionHeight();
+ return addedRows;
+}
+
+function $paintRemoveColumns(this$static, offset){
+ var attachedCells, detachedCells, i_0, j, row;
+ for (i_0 = 0; i_0 < this$static.root.childNodes.length; i_0++) {
+ row = this$static.getTrByVisualIndex(i_0);
+ $setup_0(this$static.this$01_1.flyweightRow, row, i_0, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ attachedCells = $getCells_0(this$static.this$01_1.flyweightRow, offset, 1);
+ this$static.updater.preDetach(this$static.this$01_1.flyweightRow, attachedCells);
+ for (j = 0; j < 1; j++) {
+ $removeFromParent(row.cells[offset]);
+ }
+ detachedCells = $getUnattachedCells(this$static.this$01_1.flyweightRow, offset);
+ this$static.updater.postDetach(this$static.this$01_1.flyweightRow, detachedCells);
+ if (!$teardown(this$static.this$01_1.flyweightRow)) {
+ debugger;
+ throw new AssertionError;
+ }
+ }
+}
+
+function $paintRemoveRow(this$static, tr, logicalRowIndex){
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ this$static.updater.preDetach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ $removeFromParent(tr);
+ this$static.updater.postDetach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ if (!$teardown(this$static.this$01_1.flyweightRow)) {
+ debugger;
+ throw new AssertionError;
+ }
+}
+
+function $reapplyColumnWidths(this$static){
+ var cell, columnIndex, row, width_0, colspan, spannedColumns;
+ row = $getFirstChildElement(this$static.root);
+ while (row) {
+ cell = $getFirstChildElement_0(($clinit_DOMImpl() , row));
+ columnIndex = 0;
+ while (cell) {
+ width_0 = (colspan = $getPropertyInt(cell, 'colSpan') , spannedColumns = withLength(columnIndex, colspan) , spannedColumns.end > this$static.this$01_1.columnConfiguration.columns.array.length && (spannedColumns = new Range_0(columnIndex, this$static.this$01_1.columnConfiguration.columns.array.length)) , $getCalculatedColumnsWidth(this$static.this$01_1.columnConfiguration, spannedColumns));
+ $setWidth(cell.style, width_0, $clinit_Style$Unit());
+ cell = $getNextSiblingElement(cell);
+ ++columnIndex;
+ }
+ row = $getNextSiblingElement(row);
+ }
+ $reapplyRowWidths(this$static);
+}
+
+function $reapplyRowHeight(tr, heightPx){
+ var cellElem;
+ if (heightPx < 0) {
+ debugger;
+ throw new AssertionError_0('Height must not be negative');
+ }
+ cellElem = $getFirstChildElement_0(($clinit_DOMImpl() , tr));
+ while (cellElem) {
+ $setHeight(cellElem.style, heightPx, $clinit_Style$Unit());
+ cellElem = $getNextSiblingElement(cellElem);
+ }
+}
+
+function $reapplyRowWidths(this$static){
+ var row, rowWidth;
+ rowWidth = $calculateRowWidth(this$static.this$01_1.columnConfiguration);
+ row = $getFirstChildElement(this$static.root);
+ while (row) {
+ rowWidth >= 0 && $setWidth(row.style, rowWidth, $clinit_Style$Unit());
+ row = $getNextSiblingElement(($clinit_DOMImpl() , row));
+ }
+}
+
+function $refreshRow(this$static, tr, logicalRowIndex, colRange){
+ var cellsToUpdate;
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ cellsToUpdate = $getCells_0(this$static.this$01_1.flyweightRow, colRange.start_0, colRange.end - colRange.start_0);
+ this$static.updater.update(this$static.this$01_1.flyweightRow, cellsToUpdate);
+ if (!$teardown(this$static.this$01_1.flyweightRow)) {
+ debugger;
+ throw new AssertionError;
+ }
+}
+
+function $refreshRows(this$static, index_0, numberOfRows){
+ var colRange, rowRange;
+ rowRange = withLength(index_0, numberOfRows);
+ colRange = withLength(0, this$static.this$01_1.columnConfiguration.columns.array.length);
+ this$static.refreshCells(rowRange, colRange);
+}
+
+function $removeRowPosition(this$static, tr){
+ this$static.rowTopPositionMap.remove_2(tr);
+}
+
+function $removeRows(this$static, index_0, numberOfRows){
+ $assertArgumentsAreValidAndWithinRange(this$static, index_0, numberOfRows);
+ this$static.rows_0 -= numberOfRows;
+ if (!this$static.this$01_1.attached) {
+ return;
+ }
+ $hasSomethingInDom(this$static.this$01_1) && this$static.paintRemoveRows(index_0, numberOfRows);
+}
+
+function $setColumnFrozen(this$static, column, frozen){
+ var cell, childRows, row, tr;
+ childRows = this$static.root.rows;
+ for (row = 0; row < childRows.length; row++) {
+ tr = childRows[row];
+ cell = tr.cells[column];
+ if (frozen) {
+ $addClassName(cell, 'frozen');
+ }
+ else {
+ $removeClassName(cell, 'frozen');
+ this$static.this$01_1.position_0.reset_0(cell);
+ }
+ }
+ frozen && $updateFreezePosition(this$static, column, this$static.this$01_1.scroller.lastScrollLeft);
+}
+
+function $setEscalatorUpdater(this$static, escalatorUpdater){
+ this$static.updater = escalatorUpdater;
+ $hasColumnAndRowData(this$static.this$01_1) && this$static.rows_0 > 0 && $refreshRows(this$static, 0, this$static.rows_0);
+}
+
+function $setRowPosition(this$static, tr, y_0){
+ this$static.this$01_1.position_0.set_1(tr, 0, y_0);
+ this$static.rowTopPositionMap.put(tr, new Double(y_0));
+}
+
+function $setStylePrimaryName_2(this$static, primaryStyleName){
+ var cell, oldStyle, row;
+ oldStyle = this$static.primaryStyleName;
+ if (equals(oldStyle, primaryStyleName)) {
+ return;
+ }
+ this$static.primaryStyleName = primaryStyleName;
+ row = this$static.root.rows[0];
+ while (row) {
+ setStylePrimaryName(row, primaryStyleName + '-row');
+ cell = as_5(row).cells[0];
+ while (cell) {
+ if (!(!!cell && ($equalsIgnoreCase(($clinit_DOMImpl() , cell).tagName, 'td') || $equalsIgnoreCase(cell.tagName, 'th')))) {
+ debugger;
+ throw new AssertionError;
+ }
+ setStylePrimaryName(cell, primaryStyleName + '-cell');
+ cell = $getNextSiblingElement(($clinit_DOMImpl() , cell));
+ }
+ row = $getNextSiblingElement(($clinit_DOMImpl() , row));
+ }
+}
+
+function $updateFreezePosition(this$static, column, scrollLeft){
+ var cell, childRows, row, tr;
+ childRows = this$static.root.rows;
+ for (row = 0; row < childRows.length; row++) {
+ tr = childRows[row];
+ cell = tr.cells[column];
+ this$static.this$01_1.position_0.set_1(cell, scrollLeft, 0);
+ }
+}
+
+function Escalator$AbstractRowContainer(this$0, rowContainerElement){
+ this.this$01_1 = this$0;
+ this.updater = ($clinit_EscalatorUpdater() , NULL);
+ this.rowTopPositionMap = new HashMap;
+ this.root = rowContainerElement;
+}
+
+defineClass(161, 1, {});
+_.autodetectRowHeightLater = function(){
+ $autodetectRowHeightLater(this);
+}
+;
+_.getCell = function(element){
+ return $getCell(this, element);
+}
+;
+_.getRowCount_0 = function(){
+ return this.rows_0;
+}
+;
+_.getRowElement = function(index_0){
+ return this.getTrByVisualIndex(index_0);
+}
+;
+_.refreshRows = function(index_0, numberOfRows){
+ $refreshRows(this, index_0, numberOfRows);
+}
+;
+_.defaultRowHeight = 20;
+_.defaultRowHeightShouldBeAutodetected = true;
+_.heightOfSection = 0;
+_.primaryStyleName = null;
+_.rows_0 = 0;
+var Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractRowContainer', 161, Ljava_lang_Object_2_classLit);
+function Escalator$AbstractRowContainer$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(262, 1, {}, Escalator$AbstractRowContainer$1);
+_.execute_1 = function(){
+ if (this.this$11.defaultRowHeightShouldBeAutodetected && this.this$11.this$01_1.attached) {
+ $autodetectRowHeightNow(this.this$11);
+ this.this$11.defaultRowHeightShouldBeAutodetected = false;
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractRowContainer/1', 262, Ljava_lang_Object_2_classLit);
+function $getTrByVisualIndex(this$static, index_0){
+ if (index_0 >= 0 && index_0 < this$static.root.childNodes.length) {
+ return this$static.root.rows[index_0];
+ }
+ else {
+ throw new IndexOutOfBoundsException_0('No such visual index: ' + index_0);
+ }
+}
+
+function $paintRemoveRows(this$static, index_0, numberOfRows){
+ var i_0, tr;
+ for (i_0 = index_0; i_0 < index_0 + numberOfRows; i_0++) {
+ tr = this$static.root.rows[index_0];
+ $paintRemoveRow(this$static, tr, index_0);
+ }
+ $recalculateSectionHeight(this$static);
+}
+
+function $recalculateSectionHeight(this$static){
+ var newHeight;
+ newHeight = this$static.defaultRowHeight * this$static.rows_0;
+ if (newHeight != this$static.heightOfSection) {
+ this$static.heightOfSection = newHeight;
+ this$static.sectionHeightCalculated();
+ $setOffsetSize(this$static.this$01_0.verticalScrollbar, this$static.this$01_0.heightOfEscalator - this$static.this$01_0.header.heightOfSection - this$static.this$01_0.footer.heightOfSection);
+ $verifyEscalatorCount(this$static.this$01_0.body_0);
+ }
+}
+
+function Escalator$AbstractStaticRowContainer(this$0, headElement){
+ this.this$01_0 = this$0;
+ Escalator$AbstractRowContainer.call(this, this$0, headElement);
+}
+
+defineClass(162, 161, {});
+_.getTrByVisualIndex = function(index_0){
+ return $getTrByVisualIndex(this, index_0);
+}
+;
+_.paintInsertRows = function(visualIndex, numberOfRows){
+ $paintInsertStaticRows(this, visualIndex, numberOfRows);
+}
+;
+_.paintRemoveRows = function(index_0, numberOfRows){
+ $paintRemoveRows(this, index_0, numberOfRows);
+}
+;
+_.reapplyDefaultRowHeights = function(){
+ var tr;
+ if (this.root.childNodes.length == 0) {
+ return;
+ }
+ tr = this.root.rows[0];
+ while (tr) {
+ $reapplyRowHeight(as_5(tr), this.defaultRowHeight);
+ tr = $getNextSiblingElement(($clinit_DOMImpl() , tr));
+ }
+ $recalculateSectionHeight(this);
+}
+;
+_.recalculateSectionHeight = function(){
+ $recalculateSectionHeight(this);
+}
+;
+_.refreshCells = function(logicalRowRange, colRange){
+ var row, tr;
+ $assertArgumentsAreValidAndWithinRange(this, logicalRowRange.start_0, logicalRowRange.end - logicalRowRange.start_0);
+ if (!this.this$01_0.attached) {
+ return;
+ }
+ if ($hasColumnAndRowData(this.this$01_0)) {
+ for (row = logicalRowRange.start_0; row < logicalRowRange.end; row++) {
+ tr = $getTrByVisualIndex(this, row);
+ $refreshRow(this, tr, row, colRange);
+ }
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractStaticRowContainer', 162, Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit);
+function $adjustScrollPosIgnoreEvents(this$static, yDelta){
+ var rowTopPos, tr, tr$iterator;
+ if (yDelta == 0) {
+ return;
+ }
+ $setScrollPosByDelta(this$static.this$01.verticalScrollbar, yDelta);
+ rowTopPos = yDelta - yDelta % this$static.defaultRowHeight;
+ for (tr$iterator = $listIterator(this$static.visualRowOrder, 0); tr$iterator.currentNode != tr$iterator.this$01.tail;) {
+ tr = (checkCriticalElement(tr$iterator.currentNode != tr$iterator.this$01.tail) , tr$iterator.lastNode = tr$iterator.currentNode , tr$iterator.currentNode = tr$iterator.currentNode.next , ++tr$iterator.currentIndex , dynamicCastJso(tr$iterator.lastNode.value_0));
+ $setRowPosition(this$static, tr, dynamicCast(this$static.rowTopPositionMap.get_0(tr), 14).value_0 + rowTopPos);
+ }
+ $setBodyScrollPosition(this$static, this$static.this$01.tBodyScrollLeft, this$static.this$01.tBodyScrollTop + yDelta);
+}
+
+function $calculateHeight(this$static){
+ var footerHeight, headerHeight, tableHeight;
+ tableHeight = (this$static.this$01.tableWrapper.offsetHeight || 0) | 0;
+ footerHeight = this$static.this$01.footer.heightOfSection;
+ headerHeight = this$static.this$01.header.heightOfSection;
+ return tableHeight - footerHeight - headerHeight;
+}
+
+function $convertToVisual(this$static, logicalRange){
+ var currentTopRowIndex, insideRange, maxEscalatorRows, partitions;
+ if (logicalRange.start_0 >= logicalRange.end) {
+ return logicalRange;
+ }
+ else if (this$static.visualRowOrder.size_0 == 0) {
+ return withLength(0, 0);
+ }
+ maxEscalatorRows = $getMaxEscalatorRowCapacity(this$static);
+ currentTopRowIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ partitions = $partitionWith(logicalRange, withLength(currentTopRowIndex, maxEscalatorRows));
+ insideRange = partitions[1];
+ return -currentTopRowIndex == 0?insideRange:new Range_0(insideRange.start_0 + -currentTopRowIndex, insideRange.end + -currentTopRowIndex);
+}
+
+function $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, numberOfRows){
+ var addedRows, escalatorRowsNeeded, escalatorRowsStillFit, i_0, i0, tr;
+ escalatorRowsStillFit = $getMaxEscalatorRowCapacity(this$static) - this$static.root.childNodes.length;
+ escalatorRowsNeeded = numberOfRows < escalatorRowsStillFit?numberOfRows:escalatorRowsStillFit;
+ if (escalatorRowsNeeded > 0) {
+ addedRows = $paintInsertStaticRows(this$static, index_0, escalatorRowsNeeded);
+ $addAll_1(this$static.visualRowOrder, index_0, addedRows);
+ for (i0 = 0; i0 < addedRows.array.length; i0++) {
+ $setRowPosition(this$static, (checkElementIndex(i0, addedRows.array.length) , dynamicCastJso(addedRows.array[i0])), (index_0 + i0) * this$static.defaultRowHeight);
+ }
+ for (i_0 = index_0 + addedRows.array.length; i_0 < this$static.visualRowOrder.size_0; i_0++) {
+ tr = dynamicCastJso($get_5(this$static.visualRowOrder, i_0));
+ $setRowPosition(this$static, tr, i_0 * this$static.defaultRowHeight);
+ }
+ return addedRows;
+ }
+ else {
+ return new ArrayList;
+ }
+}
+
+function $getEscalatorRowWithFocus(this$static){
+ var e, focusedElement, rowContainingFocus;
+ rowContainingFocus = null;
+ focusedElement = getFocusedElement();
+ if (!!focusedElement && $isOrHasChild(this$static.root, focusedElement)) {
+ e = focusedElement;
+ while (!!e && e != this$static.root) {
+ !!e && $equalsIgnoreCase('tr', ($clinit_DOMImpl() , e).tagName) && (rowContainingFocus = as_5(e));
+ e = $getParentElement_0(($clinit_DOMImpl() , e));
+ }
+ }
+ return rowContainingFocus;
+}
+
+function $getLogicalRowIndex_0(this$static, tr){
+ var internalIndex;
+ if (tr.parentNode != this$static.root) {
+ debugger;
+ throw new AssertionError_0("The given element isn't a row element in the body");
+ }
+ internalIndex = $indexOf_3(this$static.visualRowOrder, tr);
+ return this$static.topRowLogicalIndex + internalIndex;
+}
+
+function $getMaxEscalatorRowCapacity(this$static){
+ var maxEscalatorRowCapacity;
+ maxEscalatorRowCapacity = round_int(ceil_0($calculateHeight(this$static) / this$static.defaultRowHeight)) + 1;
+ return 0 > maxEscalatorRowCapacity?0:maxEscalatorRowCapacity;
+}
+
+function $getRowElement(this$static, index_0){
+ var visualIndex;
+ if (index_0 < 0 || index_0 >= this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('No such logical index: ' + index_0);
+ }
+ visualIndex = index_0 - $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ if (visualIndex >= 0 && visualIndex < this$static.visualRowOrder.size_0) {
+ return $getTrByVisualIndex_0(this$static, visualIndex);
+ }
+ else {
+ throw new IllegalStateException_0('Row with logical index ' + index_0 + ' is currently not available in the DOM');
+ }
+}
+
+function $getTrByVisualIndex_0(this$static, index_0){
+ if (index_0 >= 0 && index_0 < this$static.visualRowOrder.size_0) {
+ return dynamicCastJso($get_5(this$static.visualRowOrder, index_0));
+ }
+ else {
+ throw new IndexOutOfBoundsException_0('No such visual index: ' + index_0);
+ }
+}
+
+function $moveAndUpdateEscalatorRows(this$static, visualSourceRange, visualTargetIndex, logicalTargetIndex){
+ var adjustedVisualTargetIndex, availableRange, i_0, iter, logicalIndex, logicalTargetRange, newRowTop, removedRows, tr;
+ if (visualSourceRange.start_0 >= visualSourceRange.end) {
+ return;
+ }
+ if (visualSourceRange.start_0 < 0) {
+ throw new IllegalArgumentException_0('Logical source start must be 0 or greater (was ' + visualSourceRange.start_0 + ')');
+ }
+ else if (logicalTargetIndex < 0) {
+ throw new IllegalArgumentException_0('Logical target must be 0 or greater');
+ }
+ else if (visualTargetIndex < 0) {
+ throw new IllegalArgumentException_0('Visual target must be 0 or greater');
+ }
+ else if (visualTargetIndex > this$static.root.childNodes.length) {
+ throw new IllegalArgumentException_0('Visual target must not be greater than the number of escalator rows');
+ }
+ else if (logicalTargetIndex + (visualSourceRange.end - visualSourceRange.start_0) > this$static.rows_0) {
+ logicalTargetRange = withLength(logicalTargetIndex, visualSourceRange.end - visualSourceRange.start_0);
+ availableRange = withLength(0, this$static.rows_0);
+ throw new IllegalArgumentException_0('Logical target leads to rows outside of the data range (' + logicalTargetRange + ' goes beyond ' + availableRange + ')');
+ }
+ visualSourceRange.start_0 < visualTargetIndex?(adjustedVisualTargetIndex = visualTargetIndex - (visualSourceRange.end - visualSourceRange.start_0)):(adjustedVisualTargetIndex = visualTargetIndex);
+ if (visualSourceRange.start_0 != adjustedVisualTargetIndex) {
+ removedRows = new ArrayList_0(visualSourceRange.end - visualSourceRange.start_0);
+ for (i_0 = 0; i_0 < visualSourceRange.end - visualSourceRange.start_0; i_0++) {
+ tr = dynamicCastJso($remove_5(this$static.visualRowOrder, visualSourceRange.start_0));
+ setCheck(removedRows.array, removedRows.array.length, tr);
+ }
+ $addAll_1(this$static.visualRowOrder, adjustedVisualTargetIndex, removedRows);
+ }
+ iter = $listIterator(this$static.visualRowOrder, adjustedVisualTargetIndex);
+ for (logicalIndex = logicalTargetIndex; logicalIndex < logicalTargetIndex + (visualSourceRange.end - visualSourceRange.start_0); logicalIndex++) {
+ tr = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ $refreshRow(this$static, tr, logicalIndex, withLength(0, this$static.this$01_1.columnConfiguration.columns.array.length));
+ }
+ newRowTop = logicalTargetIndex * this$static.defaultRowHeight;
+ iter = $listIterator(this$static.visualRowOrder, adjustedVisualTargetIndex);
+ for (i_0 = 0; i_0 < visualSourceRange.end - visualSourceRange.start_0; i_0++) {
+ tr = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, newRowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(newRowTop));
+ newRowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $paintRemoveRowsAtBottom(this$static, removedLogicalInside, removedVisualInside){
+ var iterator, logicalTargetIndex, rowTop, tr;
+ logicalTargetIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder))) - (removedVisualInside.end - removedVisualInside.start_0);
+ $moveAndUpdateEscalatorRows(this$static, removedVisualInside, 0, logicalTargetIndex);
+ iterator = $listIterator(this$static.visualRowOrder, removedVisualInside.end);
+ rowTop = removedLogicalInside.start_0 * this$static.defaultRowHeight;
+ while (iterator.currentNode != iterator.this$01.tail) {
+ tr = (checkCriticalElement(iterator.currentNode != iterator.this$01.tail) , iterator.lastNode = iterator.currentNode , iterator.currentNode = iterator.currentNode.next , ++iterator.currentIndex , dynamicCastJso(iterator.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $paintRemoveRowsAtMiddle(this$static, removedLogicalInside, removedVisualInside){
+ var escalatorRowCount, i_0, iterator, logicalTargetIndex, rowTop, tr;
+ escalatorRowCount = this$static.visualRowOrder.size_0;
+ logicalTargetIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) - (removedVisualInside.end - removedVisualInside.start_0 - 1);
+ $moveAndUpdateEscalatorRows(this$static, removedVisualInside, escalatorRowCount, logicalTargetIndex);
+ iterator = $listIterator(this$static.visualRowOrder, removedVisualInside.start_0);
+ rowTop = removedLogicalInside.start_0 * this$static.defaultRowHeight;
+ for (i_0 = removedVisualInside.start_0; i_0 < escalatorRowCount - (removedVisualInside.end - removedVisualInside.start_0); i_0++) {
+ tr = (checkCriticalElement(iterator.currentNode != iterator.this$01.tail) , iterator.lastNode = iterator.currentNode , iterator.currentNode = iterator.currentNode.next , ++iterator.currentIndex , dynamicCastJso(iterator.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $setBodyScrollPosition(this$static, scrollLeft, scrollTop){
+ this$static.this$01.tBodyScrollLeft = scrollLeft;
+ this$static.this$01.tBodyScrollTop = scrollTop;
+ this$static.this$01.position_0.set_1(this$static.this$01.bodyElem, -this$static.this$01.tBodyScrollLeft, -this$static.this$01.tBodyScrollTop);
+}
+
+function $setStylePrimaryName_3(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-body');
+}
+
+function $setTopRowLogicalIndex(this$static, topRowLogicalIndex){
+ loggingIsEnabled() && undefined;
+ if (topRowLogicalIndex < 0) {
+ debugger;
+ throw new AssertionError_0('topRowLogicalIndex became negative (top left cell contents: ' + $getInnerText(dynamicCastJso($getFirst(this$static.visualRowOrder)).cells[0]) + ') ');
+ }
+ this$static.topRowLogicalIndex = topRowLogicalIndex;
+}
+
+function $sortDomElements(this$static){
+ var focusedRow, i_0, insertFirst, tr;
+ focusedRow = $getEscalatorRowWithFocus(this$static);
+ if (focusedRow) {
+ if ($getParentElement_0(($clinit_DOMImpl() , focusedRow)) != this$static.root) {
+ debugger;
+ throw new AssertionError_0("Trying to sort around a row that doesn't exist in body");
+ }
+ if (!$advanceToFind(this$static.visualRowOrder, focusedRow, false)) {
+ debugger;
+ throw new AssertionError_0("Trying to sort around a row that doesn't exist in visualRowOrder.");
+ }
+ }
+ insertFirst = !focusedRow;
+ i_0 = $listIterator(this$static.visualRowOrder, this$static.visualRowOrder.size_0);
+ while (i_0.currentNode.prev != i_0.this$01.header) {
+ tr = (checkCriticalElement(i_0.currentNode.prev != i_0.this$01.header) , i_0.lastNode = i_0.currentNode = i_0.currentNode.prev , --i_0.currentIndex , dynamicCastJso(i_0.lastNode.value_0));
+ tr == focusedRow?(insertFirst = true):insertFirst?$insertFirst(this$static.root, tr):$insertAfter(this$static.root, tr, focusedRow);
+ }
+}
+
+function $updateEscalatorRowsOnScroll(this$static){
+ var aRowWasLeftBehind, end, logicalRowIndex, maxLogicalIndex, naiveNewLogicalIndex, originalRowsToMove, rowsToMove, rowsWereMoved, scrollTop, start_0, strayRow, targetVisualIndex, topLogicalIndex, topRowPos, viewportOffset;
+ if (this$static.visualRowOrder.size_0 == 0) {
+ return;
+ }
+ rowsWereMoved = false;
+ topRowPos = $getRowTop(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ scrollTop = this$static.this$01.tBodyScrollTop;
+ viewportOffset = topRowPos - scrollTop;
+ if (viewportOffset > 0) {
+ originalRowsToMove = round_int(ceil_0(viewportOffset / this$static.defaultRowHeight));
+ rowsToMove = min_1(originalRowsToMove, this$static.root.childNodes.length);
+ end = this$static.root.childNodes.length;
+ start_0 = end - rowsToMove;
+ logicalRowIndex = round_int(scrollTop / this$static.defaultRowHeight);
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(start_0, end), 0, logicalRowIndex);
+ $setTopRowLogicalIndex(this$static, logicalRowIndex);
+ rowsWereMoved = true;
+ }
+ else if (viewportOffset + this$static.defaultRowHeight <= 0) {
+ originalRowsToMove = round_int(abs_0(viewportOffset / this$static.defaultRowHeight));
+ rowsToMove = min_1(originalRowsToMove, this$static.root.childNodes.length);
+ rowsToMove < this$static.root.childNodes.length?(logicalRowIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1):(logicalRowIndex = round_int(scrollTop / this$static.defaultRowHeight));
+ targetVisualIndex = this$static.root.childNodes.length;
+ aRowWasLeftBehind = false;
+ if (logicalRowIndex + rowsToMove > this$static.rows_0) {
+ --rowsToMove;
+ aRowWasLeftBehind = true;
+ }
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(0, rowsToMove), targetVisualIndex, logicalRowIndex);
+ if (aRowWasLeftBehind) {
+ strayRow = new Range_0(0, 1);
+ topLogicalIndex = this$static.rows_0 - this$static.visualRowOrder.size_0;
+ $moveAndUpdateEscalatorRows(this$static, strayRow, 0, topLogicalIndex);
+ }
+ naiveNewLogicalIndex = this$static.topRowLogicalIndex + originalRowsToMove;
+ maxLogicalIndex = this$static.rows_0 - this$static.visualRowOrder.size_0;
+ $setTopRowLogicalIndex(this$static, naiveNewLogicalIndex < maxLogicalIndex?naiveNewLogicalIndex:maxLogicalIndex);
+ rowsWereMoved = true;
+ }
+ if (rowsWereMoved) {
+ $fireRowVisibilityChangeEvent(this$static.this$01);
+ this$static.this$01.scroller.touchHandlerBundle.touches_0 == 0 && $reschedule(this$static.domSorter);
+ }
+}
+
+function $updateTopRowLogicalIndex(this$static, diff){
+ $setTopRowLogicalIndex(this$static, this$static.topRowLogicalIndex + diff);
+}
+
+function $verifyEscalatorCount(this$static){
+ var addedRows, contentWillFit, firstRowMinTop, firstRowTop, i_0, index_0, iter, last, maxEscalatorRows, neededEscalatorRows, neededEscalatorRowsDiff, newLogicalIndex, nextLastLogicalIndex, oldScrollTop;
+ if (!this$static.this$01.attached) {
+ return;
+ }
+ maxEscalatorRows = $getMaxEscalatorRowCapacity(this$static);
+ neededEscalatorRows = min_1(maxEscalatorRows, this$static.this$01.body_0.rows_0);
+ neededEscalatorRowsDiff = neededEscalatorRows - this$static.visualRowOrder.size_0;
+ if (neededEscalatorRowsDiff > 0) {
+ index_0 = this$static.visualRowOrder.size_0;
+ this$static.visualRowOrder.size_0 == 0?(nextLastLogicalIndex = 0):(nextLastLogicalIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1);
+ contentWillFit = nextLastLogicalIndex < this$static.rows_0 - neededEscalatorRowsDiff;
+ if (contentWillFit) {
+ addedRows = $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, neededEscalatorRowsDiff);
+ $moveAndUpdateEscalatorRows(this$static, withLength(index_0, addedRows.array.length), index_0, nextLastLogicalIndex);
+ }
+ else {
+ oldScrollTop = $getScrollPos(this$static.this$01.verticalScrollbar);
+ $setScrollTop_0(this$static.this$01, 0);
+ $onScroll(this$static.this$01.scroller);
+ $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, neededEscalatorRowsDiff);
+ $setScrollTop_0(this$static.this$01, oldScrollTop);
+ $onScroll(this$static.this$01.scroller);
+ }
+ }
+ else if (neededEscalatorRowsDiff < 0) {
+ iter = $listIterator(this$static.visualRowOrder, this$static.visualRowOrder.size_0);
+ for (i_0 = 0; i_0 < -neededEscalatorRowsDiff; i_0++) {
+ last = (checkCriticalElement(iter.currentNode.prev != iter.this$01.header) , iter.lastNode = iter.currentNode = iter.currentNode.prev , --iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ $removeFromParent(last);
+ $remove_13(iter);
+ }
+ if (this$static.visualRowOrder.size_0 != 0) {
+ firstRowTop = $getRowTop(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ firstRowMinTop = this$static.this$01.tBodyScrollTop - this$static.defaultRowHeight;
+ if (firstRowTop < firstRowMinTop) {
+ newLogicalIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1;
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(0, 1), this$static.visualRowOrder.size_0, newLogicalIndex);
+ }
+ }
+ }
+ neededEscalatorRowsDiff != 0 && $fireRowVisibilityChangeEvent(this$static.this$01);
+}
+
+function Escalator$BodyRowContainer(this$0, bodyElement){
+ this.this$01 = this$0;
+ Escalator$AbstractRowContainer.call(this, this$0, bodyElement);
+ this.visualRowOrder = new LinkedList;
+ this.domSorter = new Escalator$BodyRowContainer$DeferredDomSorter(this);
+}
+
+defineClass(258, 161, {}, Escalator$BodyRowContainer);
+_.getCell = function(element){
+ var cell, rowElement;
+ cell = $getCell(this, element);
+ if (!cell) {
+ return null;
+ }
+ rowElement = $getParentElement(cell.element);
+ return new Cell($getLogicalRowIndex_0(this, rowElement), cell.column, cell.element);
+}
+;
+_.getCellElementTagName = function(){
+ return 'td';
+}
+;
+_.getRowElement = function(index_0){
+ return $getRowElement(this, index_0);
+}
+;
+_.getTrByVisualIndex = function(index_0){
+ return $getTrByVisualIndex_0(this, index_0);
+}
+;
+_.paintInsertRows = function(index_0, numberOfRows){
+ var addedRows, addedRowsAboveCurrentViewport, addedRowsBelowCurrentViewport, end, i_0, rowTop, rowsStillNeeded, start_0, tr, unupdatedLogicalStart, unupdatedVisual, visualOffset, visualTargetIndex, yDelta;
+ if (numberOfRows == 0) {
+ return;
+ }
+ addedRows = $fillAndPopulateEscalatorRowsIfNeeded(this, index_0, numberOfRows);
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+ addedRowsAboveCurrentViewport = index_0 * this.defaultRowHeight < $getScrollPos(this.this$01.verticalScrollbar);
+ addedRowsBelowCurrentViewport = index_0 * this.defaultRowHeight > $getScrollPos(this.this$01.verticalScrollbar) + $calculateHeight(this);
+ if (addedRowsAboveCurrentViewport) {
+ yDelta = numberOfRows * this.defaultRowHeight;
+ $adjustScrollPosIgnoreEvents(this, yDelta);
+ $setTopRowLogicalIndex(this, this.topRowLogicalIndex + numberOfRows);
+ }
+ else if (addedRowsBelowCurrentViewport)
+ ;
+ else {
+ unupdatedLogicalStart = index_0 + addedRows.array.length;
+ visualOffset = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder)));
+ rowsStillNeeded = numberOfRows - addedRows.array.length;
+ unupdatedVisual = $convertToVisual(this, withLength(unupdatedLogicalStart, rowsStillNeeded));
+ end = this.root.childNodes.length;
+ start_0 = end - (unupdatedVisual.end - unupdatedVisual.start_0);
+ visualTargetIndex = unupdatedLogicalStart - visualOffset;
+ $moveAndUpdateEscalatorRows(this, new Range_0(start_0, end), visualTargetIndex, unupdatedLogicalStart);
+ rowTop = (unupdatedLogicalStart + (end - start_0)) * this.defaultRowHeight;
+ i_0 = $listIterator(this.visualRowOrder, visualTargetIndex + (end - start_0));
+ while (i_0.currentNode != i_0.this$01.tail) {
+ tr = (checkCriticalElement(i_0.currentNode != i_0.this$01.tail) , i_0.lastNode = i_0.currentNode , i_0.currentNode = i_0.currentNode.next , ++i_0.currentIndex , dynamicCastJso(i_0.lastNode.value_0));
+ this.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this.defaultRowHeight;
+ }
+ $fireRowVisibilityChangeEvent(this.this$01);
+ $sortDomElements(this);
+ }
+}
+;
+_.paintRemoveRows = function(index_0, numberOfRows){
+ var allEscalatorRows, contentBottom, dirtyRowsStart, escalatorRowCount, escalatorRowsToRemove, firstLogicalRowHeight, firstVisualRowIsRemoved, i_0, i0, i1, left, logicalTargetIndex, newScrollTop, newTop, partitions, removalScrollsToShowFirstLogicalRow, removedAbove, removedLogicalInside, removedRowsRange, removedVisualInside, rowsLeft, rowsScrolled, rowsToUpdateDataOn, start_0, top_0, tr, viewportBottom, viewportRange, visualRefreshRange, yDelta;
+ if (numberOfRows == 0) {
+ return;
+ }
+ viewportRange = $getVisibleRowRange(this.this$01);
+ removedRowsRange = withLength(index_0, numberOfRows);
+ partitions = $partitionWith(removedRowsRange, viewportRange);
+ removedAbove = partitions[0];
+ removedLogicalInside = partitions[1];
+ removedVisualInside = $convertToVisual(this, removedLogicalInside);
+ firstVisualRowIsRemoved = removedVisualInside.start_0 < removedVisualInside.end && removedVisualInside.start_0 == 0;
+ if (removedAbove.start_0 < removedAbove.end || firstVisualRowIsRemoved) {
+ yDelta = (removedAbove.end - removedAbove.start_0) * this.defaultRowHeight;
+ firstLogicalRowHeight = this.defaultRowHeight;
+ removalScrollsToShowFirstLogicalRow = $getScrollPos(this.this$01.verticalScrollbar) - yDelta < firstLogicalRowHeight;
+ removedVisualInside.start_0 >= removedVisualInside.end && (!removalScrollsToShowFirstLogicalRow || !firstVisualRowIsRemoved)?$adjustScrollPosIgnoreEvents(this, -yDelta):removalScrollsToShowFirstLogicalRow && $adjustScrollPosIgnoreEvents(this, -$getScrollPos(this.this$01.verticalScrollbar));
+ }
+ if (removedVisualInside.start_0 < removedVisualInside.end) {
+ escalatorRowCount = this.this$01.bodyElem.childNodes.length;
+ rowsLeft = this.rows_0;
+ if (rowsLeft < escalatorRowCount) {
+ escalatorRowsToRemove = escalatorRowCount - rowsLeft;
+ for (i0 = 0; i0 < escalatorRowsToRemove; i0++) {
+ tr = dynamicCastJso($remove_5(this.visualRowOrder, removedVisualInside.start_0));
+ $paintRemoveRow(this, tr, index_0);
+ this.rowTopPositionMap.remove_2(tr);
+ }
+ escalatorRowCount -= escalatorRowsToRemove;
+ $setBodyScrollPosition(this.this$01.body_0, this.this$01.tBodyScrollLeft, 0);
+ dirtyRowsStart = removedLogicalInside.start_0;
+ for (i1 = dirtyRowsStart; i1 < escalatorRowCount; i1++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i1));
+ $setRowPosition(this, tr, i1 * this.defaultRowHeight);
+ }
+ rowsToUpdateDataOn = numberOfRows - escalatorRowsToRemove;
+ start_0 = 0 > escalatorRowCount - rowsToUpdateDataOn?0:escalatorRowCount - rowsToUpdateDataOn;
+ for (i_0 = start_0; i_0 < escalatorRowCount; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $refreshRow(this, tr, i_0, withLength(0, this.this$01_1.columnConfiguration.columns.array.length));
+ }
+ }
+ else {
+ contentBottom = this.rows_0 * this.defaultRowHeight;
+ viewportBottom = this.this$01.tBodyScrollTop + $calculateHeight(this);
+ if (viewportBottom <= contentBottom) {
+ $paintRemoveRowsAtMiddle(this, removedLogicalInside, removedVisualInside);
+ }
+ else if (removedVisualInside.start_0 <= 0 && 0 < removedVisualInside.end && numberOfRows >= this.visualRowOrder.size_0) {
+ left = $getScrollPos(this.this$01.horizontalScrollbar);
+ top_0 = contentBottom - this.visualRowOrder.size_0 * this.defaultRowHeight;
+ $setBodyScrollPosition(this, left, top_0);
+ allEscalatorRows = withLength(0, this.visualRowOrder.size_0);
+ logicalTargetIndex = this.rows_0 - (allEscalatorRows.end - allEscalatorRows.start_0);
+ $moveAndUpdateEscalatorRows(this, allEscalatorRows, 0, logicalTargetIndex);
+ }
+ else if (contentBottom + numberOfRows * this.defaultRowHeight - viewportBottom < this.defaultRowHeight) {
+ $paintRemoveRowsAtBottom(this, removedLogicalInside, removedVisualInside);
+ $updateTopRowLogicalIndex(this, -(removedLogicalInside.end - removedLogicalInside.start_0));
+ }
+ else {
+ newTop = $getRowTop(this, dynamicCastJso($get_5(this.visualRowOrder, removedVisualInside.start_0)));
+ for (i0 = 0; i0 < removedVisualInside.end - removedVisualInside.start_0; i0++) {
+ tr = dynamicCastJso($remove_5(this.visualRowOrder, removedVisualInside.start_0));
+ $addLast(this.visualRowOrder, tr);
+ }
+ for (i_0 = removedVisualInside.start_0; i_0 < escalatorRowCount; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $setRowPosition(this, tr, round_int(newTop));
+ newTop += this.defaultRowHeight;
+ }
+ newScrollTop = contentBottom - $calculateHeight(this);
+ $setScrollTop_0(this.this$01, newScrollTop);
+ $onScroll(this.this$01.scroller);
+ $moveAndUpdateEscalatorRows(this, new Range_0(escalatorRowCount - 1, escalatorRowCount - 1 + 1), 0, $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder))) - 1);
+ $setTopRowLogicalIndex(this, this.topRowLogicalIndex + -1);
+ rowsScrolled = round_int(ceil_0((viewportBottom - contentBottom) / this.defaultRowHeight));
+ start_0 = escalatorRowCount - (removedVisualInside.end - removedVisualInside.start_0 - rowsScrolled);
+ visualRefreshRange = new Range_0(start_0, escalatorRowCount);
+ logicalTargetIndex = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder))) + start_0;
+ $moveAndUpdateEscalatorRows(this, visualRefreshRange, start_0, logicalTargetIndex);
+ }
+ }
+ $fireRowVisibilityChangeEvent(this.this$01);
+ $sortDomElements(this);
+ }
+ $updateTopRowLogicalIndex(this, -(removedAbove.end - removedAbove.start_0));
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+}
+;
+_.reapplyDefaultRowHeights = function(){
+ var i_0, logicalIndex, logicalLogical, scrollRatio, tr;
+ if (this.visualRowOrder.size_0 == 0) {
+ return;
+ }
+ for (i_0 = 0; i_0 < this.visualRowOrder.size_0; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $reapplyRowHeight(tr, this.defaultRowHeight);
+ logicalIndex = this.topRowLogicalIndex + i_0;
+ $setRowPosition(this, tr, logicalIndex * this.defaultRowHeight);
+ }
+ scrollRatio = $getScrollPos(this.this$01.verticalScrollbar) / parseCssDimensionToPixels($getProperty(this.this$01.verticalScrollbar.scrollSizeElement.style, 'height'));
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+ $setScrollPos(this.this$01.verticalScrollbar, round_int(this.defaultRowHeight * this.rows_0 * scrollRatio));
+ $setBodyScrollPosition(this, $getScrollPos(this.this$01.horizontalScrollbar), $getScrollPos(this.this$01.verticalScrollbar));
+ $onScroll(this.this$01.scroller);
+ $verifyEscalatorCount(this);
+ logicalLogical = round_int($getRowTop(this, dynamicCastJso($getFirst(this.visualRowOrder))) / this.defaultRowHeight);
+ $setTopRowLogicalIndex(this, logicalLogical);
+}
+;
+_.recalculateSectionHeight = function(){
+}
+;
+_.refreshCells = function(logicalRowRange, colRange){
+ var firstLogicalRowIndex, rowNumber, visualRange;
+ visualRange = $convertToVisual(this, logicalRowRange);
+ if (visualRange.start_0 < visualRange.end) {
+ firstLogicalRowIndex = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder)));
+ for (rowNumber = visualRange.start_0; rowNumber < visualRange.end; rowNumber++) {
+ $refreshRow(this, dynamicCastJso($get_5(this.visualRowOrder, rowNumber)), firstLogicalRowIndex + rowNumber, colRange);
+ }
+ }
+}
+;
+_.topRowLogicalIndex = 0;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer', 258, Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit);
+function $reschedule(this$static){
+ $resetConditions(this$static);
+ this$static.animationHandle = (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this$static.frameCounter, null);
+}
+
+function $resetConditions(this$static){
+ if (this$static.animationHandle) {
+ this$static.animationHandle.cancel();
+ this$static.animationHandle = null;
+ }
+ this$static.startTime = now_1();
+ this$static.framesPassed = 0;
+}
+
+function $sortIfConditionsMet(this$static){
+ var conditionsMet, enoughFramesHavePassed, enoughTimeHasPassed, notAnimatingFlick;
+ enoughFramesHavePassed = this$static.framesPassed >= 3;
+ enoughTimeHasPassed = now_1() - this$static.startTime >= 50;
+ notAnimatingFlick = !this$static.this$11.this$01.scroller.currentFlickScroller;
+ conditionsMet = enoughFramesHavePassed && enoughTimeHasPassed && notAnimatingFlick;
+ if (conditionsMet) {
+ $resetConditions(this$static);
+ $sortDomElements(this$static.this$11);
+ }
+ return conditionsMet;
+}
+
+function Escalator$BodyRowContainer$DeferredDomSorter(this$1){
+ this.this$11 = this$1;
+ this.frameCounter = new Escalator$BodyRowContainer$DeferredDomSorter$1(this);
+}
+
+defineClass(259, 1, {}, Escalator$BodyRowContainer$DeferredDomSorter);
+_.framesPassed = 0;
+_.startTime = 0;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer/DeferredDomSorter', 259, Ljava_lang_Object_2_classLit);
+function Escalator$BodyRowContainer$DeferredDomSorter$1(this$2){
+ this.this$21 = this$2;
+}
+
+defineClass(263, 1, {}, Escalator$BodyRowContainer$DeferredDomSorter$1);
+_.execute = function(timestamp){
+ var domWasSorted;
+ ++this.this$21.framesPassed;
+ domWasSorted = $sortIfConditionsMet(this.this$21);
+ domWasSorted || (this.this$21.animationHandle = (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this, null));
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer/DeferredDomSorter/1', 263, Ljava_lang_Object_2_classLit);
+function $assertArgumentsAreValidAndWithinRange_0(this$static, index_0){
+ if (index_0 < 0 || index_0 + 1 > this$static.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given column range (' + index_0 + '..' + (index_0 + 1) + ') was outside of the current ' + 'number of columns (' + this$static.columns.array.length + ')');
+ }
+}
+
+function $calculateRowWidth(this$static){
+ return $getCalculatedColumnsWidth(this$static, new Range_0(0, this$static.columns.array.length));
+}
+
+function $checkValidColumnIndex(this$static, index_0){
+ if (!$contains(withLength(0, this$static.columns.array.length), index_0)) {
+ throw new IllegalArgumentException_0('The given column index (' + index_0 + ') does not exist');
+ }
+}
+
+function $getCalculatedColumnWidths(this$static){
+ var i_0;
+ if (this$static.widthsArray == null || this$static.widthsArray.length != this$static.columns.array.length) {
+ this$static.widthsArray = initDim(D_classLit, {3:1}, 0, this$static.columns.array.length, 7, 1);
+ for (i_0 = 0; i_0 < this$static.columns.array.length; i_0++) {
+ this$static.widthsArray[i_0] = $getCalculatedWidth(dynamicCast($get_6(this$static.columns, i_0), 72));
+ }
+ }
+ return this$static.widthsArray;
+}
+
+function $getCalculatedColumnsWidth(this$static, columns){
+ var columnWidthActual, i_0, sum;
+ if (!$isSubsetOf(columns, new Range_0(0, this$static.columns.array.length))) {
+ debugger;
+ throw new AssertionError_0('Range was outside of current column range (i.e.: ' + new Range_0(0, this$static.columns.array.length) + ', but was given :' + columns);
+ }
+ sum = 0;
+ for (i_0 = columns.start_0; i_0 < columns.end; i_0++) {
+ columnWidthActual = $getCalculatedWidth(dynamicCast($get_6(this$static.columns, i_0), 72));
+ sum += columnWidthActual;
+ }
+ return sum;
+}
+
+function $getColumnWidthActual(this$static, index_0){
+ return $getCalculatedWidth(dynamicCast($get_6(this$static.columns, index_0), 72));
+}
+
+function $getMaxCellWidth_0(this$static, colIndex){
+ var bodyWidth, footerWidth, headerWidth, maxWidth;
+ headerWidth = $getMaxCellWidth(this$static.this$01.header, colIndex);
+ bodyWidth = $getMaxCellWidth(this$static.this$01.body_0, colIndex);
+ footerWidth = $getMaxCellWidth(this$static.this$01.footer, colIndex);
+ maxWidth = headerWidth > (bodyWidth > footerWidth?bodyWidth:footerWidth)?headerWidth:bodyWidth > footerWidth?bodyWidth:footerWidth;
+ if (maxWidth < 0) {
+ debugger;
+ throw new AssertionError_0('Got a negative max width for a column, which should be impossible.');
+ }
+ return maxWidth;
+}
+
+function $insertColumns(this$static, index_0){
+ var col, colWidths, columnsWereAddedToTheLeftOfViewport, frozen, i_0, i0, insertedColumnsWidth, pixelsToInsertedColumn, scrollbarIsNowNeeded, scrollbarWasNeeded, width_0;
+ if (index_0 < 0 || index_0 > this$static.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given index(' + index_0 + ') was outside of the current number of columns (0..' + this$static.columns.array.length + ')');
+ }
+ $addCells(this$static.this$01.flyweightRow, index_0);
+ for (i0 = 0; i0 < 1; i0++) {
+ $add_5(this$static.columns, index_0, new Escalator$ColumnConfigurationImpl$Column(this$static));
+ }
+ frozen = index_0 < this$static.frozenColumns;
+ frozen && (this$static.frozenColumns += 1);
+ scrollbarWasNeeded = parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) < parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'));
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+ scrollbarIsNowNeeded = parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) < parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'));
+ !scrollbarWasNeeded && scrollbarIsNowNeeded && $verifyEscalatorCount(this$static.this$01.body_0);
+ $paintInsertColumns(this$static.this$01.header, index_0, frozen);
+ $paintInsertColumns(this$static.this$01.body_0, index_0, frozen);
+ $paintInsertColumns(this$static.this$01.footer, index_0, frozen);
+ if (this$static.this$01.header.rows_0 > 0 || this$static.this$01.body_0.rows_0 > 0 || this$static.this$01.footer.rows_0 > 0) {
+ colWidths = new HashMap;
+ width_0 = new Double(100);
+ for (i_0 = index_0; i_0 < index_0 + 1; i_0++) {
+ col = valueOf_2(i_0);
+ colWidths.put(col, width_0);
+ }
+ $setColumnWidths(this$static.this$01.columnConfiguration, colWidths);
+ }
+ pixelsToInsertedColumn = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, index_0));
+ columnsWereAddedToTheLeftOfViewport = this$static.this$01.scroller.lastScrollLeft > pixelsToInsertedColumn;
+ if (columnsWereAddedToTheLeftOfViewport) {
+ insertedColumnsWidth = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(index_0, 1));
+ $setScrollPos(this$static.this$01.horizontalScrollbar, this$static.this$01.scroller.lastScrollLeft + insertedColumnsWidth);
+ }
+}
+
+function $reapplyRowWidths_0(container){
+ container.rows_0 > 0 && $reapplyRowWidths(container);
+}
+
+function $removeColumns(this$static, index_0){
+ $assertArgumentsAreValidAndWithinRange_0(this$static, index_0);
+ $removeColumnsAdjustScrollbar(this$static, index_0);
+ $paintRemoveColumns(this$static.this$01.header, index_0);
+ $paintRemoveColumns(this$static.this$01.body_0, index_0);
+ $paintRemoveColumns(this$static.this$01.footer, index_0);
+ $removeCells(this$static.this$01.flyweightRow, index_0);
+ $clear_0(new AbstractList$SubList(this$static.columns, index_0, index_0 + 1));
+ index_0 < this$static.frozenColumns && (index_0 + 1 < this$static.frozenColumns?(this$static.frozenColumns -= 1):(this$static.frozenColumns = index_0));
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+ $verifyEscalatorCount(this$static.this$01.body_0);
+ if (this$static.this$01.columnConfiguration.columns.array.length > 0) {
+ $reapplyRowWidths_0(this$static.this$01.header);
+ $reapplyRowWidths_0(this$static.this$01.body_0);
+ $reapplyRowWidths_0(this$static.this$01.footer);
+ }
+}
+
+function $removeColumnsAdjustScrollbar(this$static, index_0){
+ var adjustedScrollLeft, leftPosOfFirstColumnToRemove, scrollLeft, widthOfColumnsToRemove;
+ if (parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) >= parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'))) {
+ return;
+ }
+ leftPosOfFirstColumnToRemove = $getCalculatedColumnsWidth(this$static, new Range_0(0, index_0));
+ widthOfColumnsToRemove = $getCalculatedColumnsWidth(this$static, withLength(index_0, 1));
+ scrollLeft = $getScrollPos(this$static.this$01.horizontalScrollbar);
+ if (scrollLeft <= leftPosOfFirstColumnToRemove) {
+ return;
+ }
+ adjustedScrollLeft = leftPosOfFirstColumnToRemove > scrollLeft - widthOfColumnsToRemove?leftPosOfFirstColumnToRemove:scrollLeft - widthOfColumnsToRemove;
+ $setScrollPos(this$static.this$01.horizontalScrollbar, adjustedScrollLeft);
+}
+
+function $setColumnWidth(this$static, index_0, px){
+ $setColumnWidths(this$static, singletonMap(valueOf_2(index_0), new Double(px)));
+}
+
+function $setColumnWidths(this$static, indexWidthMap){
+ var entry, entry$iterator, index_0, width_0;
+ if (indexWidthMap.isEmpty()) {
+ return;
+ }
+ for (entry$iterator = indexWidthMap.entrySet_0().iterator(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 26);
+ index_0 = dynamicCast(entry.getKey(), 57).value_0;
+ width_0 = dynamicCast(entry.getValue_1(), 14).value_0;
+ $checkValidColumnIndex(this$static, index_0);
+ $setWidth_4(dynamicCast($get_6(this$static.columns, index_0), 72), width_0);
+ }
+ this$static.widthsArray = null;
+ $reapplyColumnWidths(this$static.this$01.header);
+ $reapplyColumnWidths(this$static.this$01.body_0);
+ $reapplyColumnWidths(this$static.this$01.footer);
+ $recalculateElementSizes(this$static.this$01);
+}
+
+function $setFrozenColumnCount(this$static, count){
+ var col, firstAffectedCol, firstUnaffectedCol, frozen, oldCount;
+ if (count < 0 || count > this$static.columns.array.length) {
+ throw new IllegalArgumentException_0('count must be between 0 and the current number of columns (' + this$static.columns.array.length + ')');
+ }
+ oldCount = this$static.frozenColumns;
+ if (count == oldCount) {
+ return;
+ }
+ this$static.frozenColumns = count;
+ if ($hasSomethingInDom(this$static.this$01)) {
+ frozen = count > oldCount;
+ if (frozen) {
+ firstAffectedCol = oldCount;
+ firstUnaffectedCol = count;
+ }
+ else {
+ firstAffectedCol = count;
+ firstUnaffectedCol = oldCount;
+ }
+ for (col = firstAffectedCol; col < firstUnaffectedCol; col++) {
+ $setColumnFrozen(this$static.this$01.header, col, frozen);
+ $setColumnFrozen(this$static.this$01.body_0, col, frozen);
+ $setColumnFrozen(this$static.this$01.footer, col, frozen);
+ }
+ }
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+}
+
+function Escalator$ColumnConfigurationImpl(this$0){
+ this.this$01 = this$0;
+ this.columns = new ArrayList;
+}
+
+defineClass(260, 1, {}, Escalator$ColumnConfigurationImpl);
+_.frozenColumns = 0;
+_.widthsArray = null;
+var Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnConfigurationImpl', 260, Ljava_lang_Object_2_classLit);
+function $getCalculatedWidth(this$static){
+ return this$static.measuringRequested?-1:this$static.calculatedWidth;
+}
+
+function $measureAndSetWidthIfNeeded(this$static){
+ if (!this$static.this$11.this$01.attached) {
+ debugger;
+ throw new AssertionError_0('Column.measureIfNeeded() was called even though Escalator was not attached!');
+ }
+ if (this$static.measuringRequested) {
+ this$static.measuringRequested = false;
+ $setWidth_4(this$static, this$static.definedWidth);
+ return true;
+ }
+ return false;
+}
+
+function $setWidth_4(this$static, px){
+ this$static.definedWidth = px;
+ px < 0?this$static.this$11.this$01.attached?(this$static.calculatedWidth = $getMaxCellWidth_0(this$static.this$11, $indexOf_4(this$static.this$11.columns, this$static, 0))):(this$static.measuringRequested = true):(this$static.calculatedWidth = px);
+}
+
+function Escalator$ColumnConfigurationImpl$Column(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(72, 1, {72:1}, Escalator$ColumnConfigurationImpl$Column);
+_.calculatedWidth = 100;
+_.definedWidth = -1;
+_.measuringRequested = false;
+var Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnConfigurationImpl/Column', 72, Ljava_lang_Object_2_classLit);
+function Escalator$FlickScrollAnimator(this$0, deltaX, deltaY, deltaT){
+ var snapDeltas;
+ this.this$01 = this$0;
+ this.velX = (deltaX / deltaT < 7?deltaX / deltaT:7) > -7?deltaX / deltaT < 7?deltaX / deltaT:7:-7;
+ this.velY = (deltaY / deltaT < 7?deltaY / deltaT:7) > -7?deltaY / deltaT < 7?deltaY / deltaT:7:-7;
+ this.lastLeft = $getScrollPos(this$0.horizontalScrollbar);
+ this.lastTop = $getScrollPos(this$0.verticalScrollbar);
+ snapDeltas = snapDeltas_0(this.velX, this.velY, ($clinit_Escalator() , RATIO_OF_30_DEGREES));
+ this.velX = snapDeltas[0];
+ this.velY = snapDeltas[1];
+ if (this.velX * this.velX + this.velY * this.velY > 0.005) {
+ this.millisLeft = 1500;
+ this.xFric = this.velX / this.millisLeft;
+ this.yFric = this.velY / this.millisLeft;
+ }
+ else {
+ this.millisLeft = 0;
+ }
+}
+
+defineClass(254, 1, {}, Escalator$FlickScrollAnimator);
+_.execute = function(doNotUseThisTimestamp){
+ var currentLeft, currentTop, left, timeDiff, timestamp, top_0;
+ if (this.millisLeft <= 0 || this.cancelled) {
+ this.this$01.scroller.currentFlickScroller = null;
+ return;
+ }
+ timestamp = now_1();
+ if (this.prevTime == 0) {
+ this.prevTime = timestamp;
+ (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this, null);
+ return;
+ }
+ currentLeft = $getScrollPos(this.this$01.horizontalScrollbar);
+ currentTop = $getScrollPos(this.this$01.verticalScrollbar);
+ timeDiff = timestamp - this.prevTime;
+ left = currentLeft - this.velX * timeDiff;
+ $setScrollLeft_1(this.this$01, left);
+ this.velX -= this.xFric * timeDiff;
+ top_0 = currentTop - this.velY * timeDiff;
+ $setScrollTop_0(this.this$01, top_0);
+ this.velY -= this.yFric * timeDiff;
+ this.lastLeft == $getScrollPos(this.this$01.horizontalScrollbar) && this.lastTop == $getScrollPos(this.this$01.verticalScrollbar) && (this.cancelled = true);
+ this.prevTime = timestamp;
+ this.millisLeft = round_int(this.millisLeft - timeDiff);
+ this.lastLeft = currentLeft;
+ this.lastTop = currentTop;
+ (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this, null);
+}
+;
+_.cancelled = false;
+_.lastLeft = 0;
+_.lastTop = 0;
+_.millisLeft = 0;
+_.prevTime = 0;
+_.velX = 0;
+_.velY = 0;
+_.xFric = 0;
+_.yFric = 0;
+var Lcom_vaadin_client_widgets_Escalator$FlickScrollAnimator_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/FlickScrollAnimator', 254, Ljava_lang_Object_2_classLit);
+function $setStylePrimaryName_4(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-footer');
+}
+
+function Escalator$FooterRowContainer(this$0, footElement){
+ this.this$01 = this$0;
+ Escalator$AbstractStaticRowContainer.call(this, this$0, footElement);
+}
+
+defineClass(257, 162, {}, Escalator$FooterRowContainer);
+_.getCellElementTagName = function(){
+ return 'td';
+}
+;
+_.sectionHeightCalculated = function(){
+ var horizontalScrollbarNeeded, vscrollHeight;
+ vscrollHeight = round_int(floor_0(this.this$01.heightOfEscalator - this.this$01.header.heightOfSection - this.this$01.footer.heightOfSection));
+ horizontalScrollbarNeeded = $calculateRowWidth(this.this$01.columnConfiguration) > this.this$01.widthOfEscalator;
+ horizontalScrollbarNeeded && (vscrollHeight = round_int(vscrollHeight - $getScrollbarThickness(this.this$01.horizontalScrollbar)));
+ $setHeight(this.this$01.footerDeco.style, this.this$01.footer.heightOfSection, $clinit_Style$Unit());
+ $setOffsetSize(this.this$01.verticalScrollbar, vscrollHeight);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$FooterRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/FooterRowContainer', 257, Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit);
+function $setStylePrimaryName_5(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-header');
+}
+
+function Escalator$HeaderRowContainer(this$0, headElement){
+ this.this$01 = this$0;
+ Escalator$AbstractStaticRowContainer.call(this, this$0, headElement);
+}
+
+defineClass(256, 162, {}, Escalator$HeaderRowContainer);
+_.getCellElementTagName = function(){
+ return 'th';
+}
+;
+_.sectionHeightCalculated = function(){
+ $setProperty(this.this$01.bodyElem.style, 'marginTop', this.heightOfSection, ($clinit_Style$Unit() , PX));
+ $setProperty(this.this$01.verticalScrollbar.root.style, 'top', this.heightOfSection, PX);
+ $setProperty(this.this$01.headerDeco.style, 'height', this.heightOfSection, PX);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$HeaderRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/HeaderRowContainer', 256, Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit);
+function moveScrollFromEvent(escalator, deltaX, deltaY, event_0){
+ var warrantedXScroll, warrantedYScroll;
+ isNaN(deltaX) || $setScrollPosByDelta(escalator.horizontalScrollbar, deltaX);
+ isNaN(deltaY) || $setScrollPosByDelta(escalator.verticalScrollbar, deltaY);
+ warrantedYScroll = deltaY != 0 && $showsScrollHandle(escalator.verticalScrollbar);
+ warrantedXScroll = deltaX != 0 && $showsScrollHandle(escalator.horizontalScrollbar);
+ (warrantedYScroll || warrantedXScroll) && $eventPreventDefault(($clinit_DOMImpl() , event_0));
+}
+
+function $getTouchEndHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchEnd(e);
+ }
+ );
+}
+
+function $getTouchMoveHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchMove(e);
+ }
+ );
+}
+
+function $getTouchStartHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchStart(e);
+ }
+ );
+}
+
+function Escalator$JsniUtil$TouchHandlerBundle(escalator){
+ this.mover = new Escalator$JsniUtil$TouchHandlerBundle$1(this);
+ this.escalator = escalator;
+}
+
+defineClass(253, 1, {}, Escalator$JsniUtil$TouchHandlerBundle);
+_.touchEnd = function(event_0){
+ var deltaT, deltaX, deltaY, finalPageX, finalPageY, onlyOneSample;
+ this.touches_0 = $getTouches(event_0).length;
+ if (this.touches_0 == 0) {
+ deltaT = this.lastTime - this.flickTimestamp;
+ onlyOneSample = this.flickPageX2 < 0 || this.flickPageY2 < 0;
+ if (onlyOneSample || deltaT > 33.333333333333336) {
+ finalPageY = this.flickPageY1;
+ finalPageX = this.flickPageX1;
+ }
+ else {
+ deltaT += 100;
+ finalPageY = this.flickPageY2;
+ finalPageX = this.flickPageX2;
+ }
+ this.flickPageY1 = -1;
+ this.flickPageY2 = -1;
+ this.flickTimestamp = $intern_48;
+ deltaX = $getPageX(this.latestTouchMoveEvent) - finalPageX;
+ deltaY = $getPageY(this.latestTouchMoveEvent) - finalPageY;
+ $handleFlickScroll(this.escalator.scroller, deltaX, deltaY, deltaT);
+ $reschedule(this.escalator.body_0.domSorter);
+ }
+}
+;
+_.touchMove = function(event_0){
+ this.latestTouchMoveEvent = event_0;
+ !!this.animationHandle && this.animationHandle.cancel();
+ this.animationHandle = (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this.mover, this.escalator.bodyElem);
+ $preventDefault(event_0);
+}
+;
+_.touchStart = function(event_0){
+ this.touches_0 = $getTouches(event_0).length;
+ if (this.touches_0 != 1) {
+ return;
+ }
+ $cancelFlickScroll(this.escalator.scroller);
+ this.lastX = $getPageX(event_0);
+ this.lastY = $getPageY(event_0);
+ this.snappedScrollEnabled = true;
+}
+;
+_.deltaX_0 = 0;
+_.deltaY_0 = 0;
+_.flickPageX1 = -1;
+_.flickPageX2 = -1;
+_.flickPageY1 = -1;
+_.flickPageY2 = -1;
+_.flickTimestamp = $intern_48;
+_.lastTime = 0;
+_.lastX = 0;
+_.lastY = 0;
+_.snappedScrollEnabled = true;
+_.touches_0 = 0;
+var Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/JsniUtil/TouchHandlerBundle', 253, Ljava_lang_Object_2_classLit);
+function Escalator$JsniUtil$TouchHandlerBundle$1(this$2){
+ this.this$21 = this$2;
+}
+
+defineClass(261, 1, {}, Escalator$JsniUtil$TouchHandlerBundle$1);
+_.execute = function(timestamp){
+ var oldDeltaX, oldDeltaY, snapped, x_0, y_0;
+ if (this.this$21.touches_0 != 1) {
+ return;
+ }
+ x_0 = $getPageX(this.this$21.latestTouchMoveEvent);
+ y_0 = $getPageY(this.this$21.latestTouchMoveEvent);
+ if (timestamp - this.this$21.flickTimestamp > 100) {
+ this.this$21.flickTimestamp = timestamp;
+ this.this$21.flickPageY2 = this.this$21.flickPageY1;
+ this.this$21.flickPageY1 = y_0;
+ this.this$21.flickPageX2 = this.this$21.flickPageX1;
+ this.this$21.flickPageX1 = x_0;
+ }
+ this.this$21.deltaX_0 = x_0 - this.this$21.lastX;
+ this.this$21.deltaY_0 = y_0 - this.this$21.lastY;
+ this.this$21.lastX = x_0;
+ this.this$21.lastY = y_0;
+ this.this$21.lastTime = now_1();
+ if (this.this$21.snappedScrollEnabled) {
+ oldDeltaX = this.this$21.deltaX_0;
+ oldDeltaY = this.this$21.deltaY_0;
+ snapped = snapDeltas_0(this.this$21.deltaX_0, this.this$21.deltaY_0, ($clinit_Escalator() , RATIO_OF_40_DEGREES));
+ this.this$21.deltaX_0 = snapped[0];
+ this.this$21.deltaY_0 = snapped[1];
+ oldDeltaX != 0 && this.this$21.deltaX_0 == oldDeltaX && oldDeltaY != 0 && this.this$21.deltaY_0 == oldDeltaY && (this.this$21.snappedScrollEnabled = false);
+ }
+ moveScrollFromEvent(this.this$21.escalator, -this.this$21.deltaX_0, -this.this$21.deltaY_0, this.this$21.latestTouchMoveEvent);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/JsniUtil/TouchHandlerBundle/1', 261, Ljava_lang_Object_2_classLit);
+function $getPageX(this$static){
+ return this$static.targetTouches[0].pageX;
+}
+
+function $getPageY(this$static){
+ return this$static.targetTouches[0].pageY;
+}
+
+defineClass(251, 1, {});
+var Lcom_vaadin_client_widgets_JsniWorkaround_2_classLit = createForClass('com.vaadin.client.widgets', 'JsniWorkaround', 251, Ljava_lang_Object_2_classLit);
+function $attachMousewheelListener(this$static, element){
+ if (element.addEventListener) {
+ var eventName = 'onmousewheel' in element?'mousewheel':'wheel';
+ element.addEventListener(eventName, this$static.mousewheelListenerFunction);
+ }
+ else {
+ element.attachEvent('onmousewheel', this$static.mousewheelListenerFunction);
+ }
+}
+
+function $attachScrollListener(this$static, element){
+ element.addEventListener?element.addEventListener('scroll', this$static.scrollListenerFunction):element.attachEvent('onscroll', this$static.scrollListenerFunction);
+}
+
+function $attachTouchListeners(this$static, element){
+ if (element.addEventListener) {
+ element.addEventListener('touchstart', this$static.touchStartFunction);
+ element.addEventListener('touchmove', this$static.touchMoveFunction);
+ element.addEventListener('touchend', this$static.touchEndFunction);
+ element.addEventListener('touchcancel', this$static.touchEndFunction);
+ }
+}
+
+function $cancelFlickScroll(this$static){
+ !!this$static.currentFlickScroller && (this$static.currentFlickScroller.cancelled = true);
+}
+
+function $createMousewheelListenerFunction(esc){
+ return $entry(function(e){
+ var deltaX = e.deltaX?e.deltaX:-0.5 * e.wheelDeltaX;
+ var deltaY = e.deltaY?e.deltaY:-0.5 * e.wheelDeltaY;
+ isNaN(deltaY) && (deltaY = -0.5 * e.wheelDelta);
+ moveScrollFromEvent(esc, deltaX, deltaY, e);
+ }
+ );
+}
+
+function $createScrollListenerFunction(esc){
+ var vScroll = esc.verticalScrollbar;
+ var vScrollElem = vScroll.getElement();
+ var hScroll = esc.horizontalScrollbar;
+ var hScrollElem = hScroll.getElement();
+ return $entry(function(e){
+ var target = e.target || e.srcElement;
+ target === vScrollElem?vScroll.updateScrollPosFromDom():target === hScrollElem?hScroll.updateScrollPosFromDom():$wnd.console.error('unexpected scroll target: ' + target);
+ }
+ );
+}
+
+function $detachMousewheelListener(this$static, element){
+ if (element.addEventListener) {
+ var eventName = element.onwheel === undefined?'mousewheel':'wheel';
+ element.removeEventListener(eventName, this$static.mousewheelListenerFunction);
+ }
+ else {
+ element.detachEvent('onmousewheel', this$static.mousewheelListenerFunction);
+ }
+}
+
+function $detachScrollListener(this$static, element){
+ element.addEventListener?element.removeEventListener('scroll', this$static.scrollListenerFunction):element.detachEvent('onscroll', this$static.scrollListenerFunction);
+}
+
+function $detachTouchListeners(this$static, element){
+ if (element.removeEventListener) {
+ element.removeEventListener('touchstart', this$static.touchStartFunction);
+ element.removeEventListener('touchmove', this$static.touchMoveFunction);
+ element.removeEventListener('touchend', this$static.touchEndFunction);
+ element.removeEventListener('touchcancel', this$static.touchEndFunction);
+ }
+}
+
+function $handleFlickScroll(this$static, deltaX, deltaY, deltaT){
+ this$static.currentFlickScroller = new Escalator$FlickScrollAnimator(this$static.this$01, deltaX, deltaY, deltaT);
+ (!instance && (instance = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance).requestAnimationFrame_0(this$static.currentFlickScroller, null);
+}
+
+function $onScroll(this$static){
+ var i_0, scrollLeft, scrollTop;
+ scrollTop = $getScrollPos(this$static.this$01.verticalScrollbar);
+ scrollLeft = $getScrollPos(this$static.this$01.horizontalScrollbar);
+ if (this$static.lastScrollLeft != scrollLeft) {
+ for (i_0 = 0; i_0 < this$static.this$01.columnConfiguration.frozenColumns; i_0++) {
+ $updateFreezePosition(this$static.this$01.header, i_0, scrollLeft);
+ $updateFreezePosition(this$static.this$01.body_0, i_0, scrollLeft);
+ $updateFreezePosition(this$static.this$01.footer, i_0, scrollLeft);
+ }
+ this$static.this$01.position_0.set_1(this$static.this$01.headElem, -scrollLeft, 0);
+ instanceOf(this$static.this$01.position_0, 115)?$setLeft(this$static.this$01.footElem.style, -scrollLeft, $clinit_Style$Unit()):this$static.this$01.position_0.set_1(this$static.this$01.footElem, -scrollLeft, 0);
+ this$static.lastScrollLeft = scrollLeft;
+ }
+ $setBodyScrollPosition(this$static.this$01.body_0, scrollLeft, scrollTop);
+ $updateEscalatorRowsOnScroll(this$static.this$01.body_0);
+}
+
+function $recalculateScrollbarsForVirtualViewport(this$static){
+ var fCornerStyle, frozenPixels, hCornerStyle, hScrollOffsetWidth, horizontalScrollNeeded, offset, prevScrollPos, scrollContentHeight, scrollContentWidth, tableWrapperHeight, tableWrapperWidth, unfrozenPixels, vScrollbarHeight, verticalScrollNeeded;
+ scrollContentHeight = $calculateTotalRowHeight(this$static.this$01.body_0);
+ scrollContentWidth = $calculateRowWidth(this$static.this$01.columnConfiguration);
+ tableWrapperHeight = this$static.this$01.heightOfEscalator;
+ tableWrapperWidth = this$static.this$01.widthOfEscalator;
+ verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.this$01.header.heightOfSection - this$static.this$01.footer.heightOfSection;
+ horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth;
+ verticalScrollNeeded != horizontalScrollNeeded && (!verticalScrollNeeded && horizontalScrollNeeded?(verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.this$01.header.heightOfSection - this$static.this$01.footer.heightOfSection - $getScrollbarThickness(this$static.this$01.horizontalScrollbar)):(horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth - $getScrollbarThickness(this$static.this$01.verticalScrollbar)));
+ if (verticalScrollNeeded) {
+ tableWrapperWidth -= $getScrollbarThickness(this$static.this$01.verticalScrollbar);
+ tableWrapperWidth = 0 > tableWrapperWidth?0:tableWrapperWidth;
+ }
+ if (horizontalScrollNeeded) {
+ tableWrapperHeight -= $getScrollbarThickness(this$static.this$01.horizontalScrollbar);
+ tableWrapperHeight = 0 > tableWrapperHeight?0:tableWrapperHeight;
+ }
+ $setHeight(this$static.this$01.tableWrapper.style, tableWrapperHeight, $clinit_Style$Unit());
+ $setWidth(this$static.this$01.tableWrapper.style, tableWrapperWidth, $clinit_Style$Unit());
+ vScrollbarHeight = max_0(0, tableWrapperHeight - this$static.this$01.footer.heightOfSection - this$static.this$01.header.heightOfSection);
+ $setOffsetSize(this$static.this$01.verticalScrollbar, vScrollbarHeight);
+ $setScrollSize(this$static.this$01.verticalScrollbar, scrollContentHeight);
+ prevScrollPos = $getScrollPos(this$static.this$01.horizontalScrollbar);
+ unfrozenPixels = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, new Range_0(this$static.this$01.columnConfiguration.frozenColumns, this$static.this$01.columnConfiguration.columns.array.length));
+ frozenPixels = scrollContentWidth - unfrozenPixels;
+ hScrollOffsetWidth = tableWrapperWidth - frozenPixels;
+ $setOffsetSize(this$static.this$01.horizontalScrollbar, hScrollOffsetWidth);
+ $setScrollSize(this$static.this$01.horizontalScrollbar, unfrozenPixels);
+ $setLeft(this$static.this$01.horizontalScrollbar.root.style, frozenPixels, $clinit_Style$Unit());
+ $setScrollPos(this$static.this$01.horizontalScrollbar, prevScrollPos);
+ $showsScrollHandle(this$static.this$01.horizontalScrollbar)?$setProperty_0(this$static.this$01.horizontalScrollbarDeco.style, 'display', ''):$setProperty_0(this$static.this$01.horizontalScrollbarDeco.style, 'display', ($clinit_Style$Display() , 'none'));
+ hCornerStyle = this$static.this$01.headerDeco.style;
+ fCornerStyle = this$static.this$01.footerDeco.style;
+ if ($showsScrollHandle(this$static.this$01.verticalScrollbar)) {
+ $assertCamelCase('display');
+ $setPropertyImpl(hCornerStyle, 'display', '');
+ $assertCamelCase('display');
+ $setPropertyImpl(fCornerStyle, 'display', '');
+ if ($showsScrollHandle(this$static.this$01.horizontalScrollbar)) {
+ offset = $getScrollbarThickness(this$static.this$01.horizontalScrollbar);
+ $setBottom(fCornerStyle, offset, $clinit_Style$Unit());
+ }
+ else {
+ $assertCamelCase('bottom');
+ $setPropertyImpl(fCornerStyle, 'bottom', '');
+ }
+ }
+ else {
+ $setProperty_0(hCornerStyle, 'display', ($clinit_Style$Display() , 'none'));
+ $setProperty_0(fCornerStyle, 'display', 'none');
+ }
+}
+
+function $scrollToColumn_0(this$static, columnIndex){
+ var frozenPixels, scrollLeft, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx;
+ if (columnIndex < this$static.this$01.columnConfiguration.frozenColumns) {
+ debugger;
+ throw new AssertionError_0("Can't scroll to a frozen column");
+ }
+ frozenPixels = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, this$static.this$01.columnConfiguration.frozenColumns));
+ targetStartPx = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, columnIndex)) - frozenPixels;
+ targetEndPx = targetStartPx + $getColumnWidthActual(this$static.this$01.columnConfiguration, columnIndex);
+ viewportStartPx = $getScrollPos(this$static.this$01.horizontalScrollbar);
+ viewportEndPx = viewportStartPx + getRequiredWidthBoundingClientRectDouble($getElement(this$static.this$01)) - frozenPixels;
+ $showsScrollHandle(this$static.this$01.verticalScrollbar) && (viewportEndPx -= getNativeScrollbarSize());
+ scrollLeft = getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 10);
+ $setScrollLeft_1(this$static.this$01, scrollLeft);
+}
+
+function $scrollToRow_0(this$static, rowIndex){
+ var scrollTop, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx;
+ targetStartPx = this$static.this$01.body_0.defaultRowHeight * rowIndex;
+ targetEndPx = targetStartPx + this$static.this$01.body_0.defaultRowHeight;
+ viewportStartPx = $getScrollPos(this$static.this$01.verticalScrollbar);
+ viewportEndPx = viewportStartPx + $calculateHeight(this$static.this$01.body_0);
+ scrollTop = getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 0);
+ $setScrollTop_0(this$static.this$01, scrollTop);
+}
+
+function Escalator$Scroller(this$0){
+ this.this$01 = this$0;
+ this.scrollListenerFunction = $createScrollListenerFunction(this$0);
+ this.mousewheelListenerFunction = $createMousewheelListenerFunction(this$0);
+ this.touchHandlerBundle = new Escalator$JsniUtil$TouchHandlerBundle(this$0);
+ this.touchStartFunction = $getTouchStartHandler(this.touchHandlerBundle);
+ this.touchMoveFunction = $getTouchMoveHandler(this.touchHandlerBundle);
+ this.touchEndFunction = $getTouchEndHandler(this.touchHandlerBundle);
+}
+
+defineClass(255, 251, {}, Escalator$Scroller);
+_.lastScrollLeft = 0;
+var Lcom_vaadin_client_widgets_Escalator$Scroller_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/Scroller', 255, Lcom_vaadin_client_widgets_JsniWorkaround_2_classLit);
+function $addBodyClickHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.clickEvent.associatedType);
+}
+
+function $addBodyKeyDownHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyDown.associatedType);
+}
+
+function $addBodyKeyUpHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyUp.associatedType);
+}
+
+function $addColumn(this$static, column){
+ $addColumn_0(this$static, column, this$static.columns.array.length);
+ return column;
+}
+
+function $addColumn_0(this$static, column, index_0){
+ if (column == this$static.selectionColumn) {
+ throw new IllegalArgumentException_0('The selection column many not be added manually');
+ }
+ else if (!!this$static.selectionColumn && index_0 == 0) {
+ throw new IllegalStateException_0('A column cannot be inserted before the selection column');
+ }
+ $addColumnSkipSelectionColumnCheck(this$static, column, index_0);
+ return column;
+}
+
+function $addColumnSkipSelectionColumnCheck(this$static, column, index_0){
+ var events;
+ $add_5(this$static.columns, index_0, column);
+ $addColumn_1(this$static.header, column);
+ $addColumn_1(this$static.footer, column);
+ $setGrid(column, this$static);
+ $insertColumns(this$static.escalator.columnConfiguration, index_0);
+ column.setWidth_0(column.widthUser);
+ events = new HashSet;
+ events.addAll($getConsumedEventsForRenderer(column.bodyRenderer));
+ $sinkEvents_0(this$static, events);
+}
+
+function $addDataAvailableHandler(this$static, handler){
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$7(this$static, handler));
+ return $addHandler_0(this$static, handler, ($clinit_DataAvailableEvent() , TYPE_8));
+}
+
+function $addHeaderKeyUpHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyUp.associatedType);
+}
+
+function $deselect_1(this$static, row){
+ if (instanceOf(this$static.selectionModel, 95)) {
+ return $deselect_0(dynamicCast(this$static.selectionModel, 95), row);
+ }
+ else if (instanceOf(this$static.selectionModel, 110)) {
+ return $deselect(dynamicCast(dynamicCast(this$static.selectionModel, 110), 103), new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [row])));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model');
+ }
+}
+
+function $findRenderer(this$static, cell){
+ var column;
+ column = $getColumn(this$static, ($assertSetup(cell) , cell.column));
+ if (!column) {
+ debugger;
+ throw new AssertionError_0(($assertSetup(cell) , 'Could not find column at index:' + cell.column));
+ }
+ return column.bodyRenderer;
+}
+
+function $getColumn(this$static, index_0){
+ if (index_0 < 0 || index_0 >= this$static.columns.array.length) {
+ throw new IllegalStateException_0('Column not found.');
+ }
+ return dynamicCast($get_6(this$static.columns, index_0), 30);
+}
+
+function $getConsumedEventsForRenderer(renderer){
+ var consumedEvents, events;
+ events = new HashSet;
+ if (instanceOf(renderer, 51)) {
+ consumedEvents = $getConsumedEvents(dynamicCast(renderer, 51));
+ events.addAll(consumedEvents);
+ }
+ return events;
+}
+
+function $getFirstVisibleRowIndex(this$static){
+ var firstRow, firstRowIndex, headerBottom;
+ firstRowIndex = $getVisibleRowRange(this$static.escalator).start_0;
+ headerBottom = $getAbsoluteBottom(this$static.escalator.header.root);
+ firstRow = $getRowElement(this$static.escalator.body_0, firstRowIndex);
+ while (($clinit_DOMImpl() , impl_0).getAbsoluteTop(firstRow) + ($getSubPixelOffsetHeight(firstRow) | 0) < headerBottom) {
+ firstRow = $getRowElement(this$static.escalator.body_0, ++firstRowIndex);
+ }
+ return firstRowIndex;
+}
+
+function $getHeaderRow(this$static, rowIndex){
+ return $getRow_1(this$static.header, rowIndex);
+}
+
+function $getLastVisibleRowIndex(this$static){
+ var footerTop, lastRow, lastRowIndex;
+ lastRowIndex = $getVisibleRowRange(this$static.escalator).end;
+ footerTop = $getAbsoluteTop(this$static.escalator.footer.root);
+ do {
+ lastRow = $getRowElement(this$static.escalator.body_0, --lastRowIndex);
+ }
+ while (($clinit_DOMImpl() , impl_0).getAbsoluteTop(lastRow) > footerTop);
+ return lastRowIndex;
+}
+
+function $getSelectedRow_0(this$static){
+ if (instanceOf(this$static.selectionModel, 95)) {
+ return $getSelectedRow(dynamicCast(this$static.selectionModel, 95));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model; can not get single selected row');
+ }
+}
+
+function $handleEditorEvent(this$static, event_0){
+ if (this$static.editor.state != 0) {
+ $clinit_DOM();
+ $eventGetTypeInt(($clinit_DOMImpl() , event_0).type) == 128 && (event_0.keyCode | 0) == 27 && $cancel_2();
+ return true;
+ }
+ return false;
+}
+
+function $handleHeaderDefaultRowEvent(this$static, container){
+ if (container != this$static.escalator.header) {
+ return false;
+ }
+ if (!$getRow_1(this$static.header, this$static.eventCell.rowReference.rowIndex).isDefault) {
+ return false;
+ }
+ return false;
+}
+
+function $handleNavigationEvent(this$static, event_0){
+ var container, firstIndex, lastIndex, newRow, range;
+ if (!$equals_2(($clinit_DOMImpl() , event_0).type, 'keydown')) {
+ return false;
+ }
+ newRow = -1;
+ container = this$static.escalator.body_0;
+ switch (event_0.keyCode | 0) {
+ case 36:
+ container.rows_0 > 0 && (newRow = 0);
+ break;
+ case 35:
+ container.rows_0 > 0 && (newRow = container.rows_0 - 1);
+ break;
+ case 33:
+ {
+ range = $getVisibleRowRange(this$static.escalator);
+ if (range.start_0 < range.end) {
+ firstIndex = $getFirstVisibleRowIndex(this$static);
+ newRow = firstIndex - (range.end - range.start_0);
+ newRow < 0 && (newRow = 0);
+ }
+ break;
+ }
+
+ case 34:
+ {
+ range = $getVisibleRowRange(this$static.escalator);
+ if (range.start_0 < range.end) {
+ lastIndex = $getLastVisibleRowIndex(this$static);
+ newRow = lastIndex + (range.end - range.start_0);
+ newRow >= container.rows_0 && (newRow = container.rows_0 - 1);
+ }
+ break;
+ }
+
+ default:return false;
+ }
+ $scrollToRow_1(this$static, newRow);
+ return true;
+}
+
+function $handleRendererEvent(this$static, event_0, container){
+ var cplxRenderer, gridColumn;
+ if (container == this$static.escalator.body_0) {
+ gridColumn = this$static.eventCell.column;
+ $equals_2(($clinit_DOMImpl() , event_0).type, 'keydown') && (event_0.keyCode | 0) == 13;
+ $equals_2(event_0.type, 'dblclick');
+ if (instanceOf(gridColumn.bodyRenderer, 51)) {
+ cplxRenderer = dynamicCast(gridColumn.bodyRenderer, 51);
+ if ($contains_1($getConsumedEvents(), event_0.type)) {
+ if ($onBrowserEvent_0(cplxRenderer, event_0)) {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+}
+
+function $isElementInChildWidget(this$static, e){
+ var w;
+ w = findWidget(e);
+ if (w == this$static) {
+ return false;
+ }
+ while (!!w && w != this$static) {
+ w = w.parent_0;
+ }
+ return !!w;
+}
+
+function $isSelected_0(this$static, row){
+ return this$static.selectionModel.isSelected(row);
+}
+
+function $refreshBody(this$static){
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+}
+
+function $refreshFooter(this$static){
+ $refreshRowContainer(this$static.escalator.footer, this$static.footer);
+}
+
+function $refreshHeader(this$static){
+ $refreshRowContainer(this$static.escalator.header, this$static.header);
+}
+
+function $refreshRowContainer(rows_0, section){
+ var rowDiff, oldScrollPos;
+ rowDiff = (section.visible?section.rows_0.array.length:0) - rows_0.rows_0;
+ rowDiff > 0?($insertRows(rows_0, 0, rowDiff) , $recalculateElementSizes(rows_0.this$01_0) , $applyHeightByRows(rows_0.this$01_0) , undefined):rowDiff < 0 && (oldScrollPos = $getScrollPos(rows_0.this$01_0.verticalScrollbar) , $removeRows(rows_0, 0, -rowDiff) , $recalculateElementSizes(rows_0.this$01_0) , $applyHeightByRows(rows_0.this$01_0) , $setScrollPos(rows_0.this$01_0.verticalScrollbar, oldScrollPos) , undefined);
+ rows_0.rows_0 > 0 && $refreshRows(rows_0, 0, rows_0.rows_0);
+}
+
+function $removeColumn(this$static, column){
+ if (!!column && column == this$static.selectionColumn) {
+ throw new IllegalArgumentException_0('The selection column may not be removed manually.');
+ }
+ $removeColumnSkipSelectionColumnCheck(this$static, column);
+}
+
+function $removeColumnSkipSelectionColumnCheck(this$static, column){
+ var columnIndex;
+ columnIndex = $indexOf_4(this$static.columns, column, 0);
+ $removeColumns(this$static.escalator.columnConfiguration, columnIndex);
+ $updateFrozenColumns(this$static);
+ $removeColumn_0(this$static.header, column);
+ $removeColumn_0(this$static.footer, column);
+ $setGrid(column, null);
+ this$static.columns.remove_3(columnIndex);
+}
+
+function $scrollToRow_1(this$static, rowIndex){
+ var maxsize;
+ maxsize = this$static.escalator.body_0.rows_0 - 1;
+ if (rowIndex < 0) {
+ throw new IllegalArgumentException_0('Row index (' + rowIndex + ') is below zero!');
+ }
+ if (rowIndex > maxsize) {
+ throw new IllegalArgumentException_0('Row index (' + rowIndex + ') is above maximum (' + maxsize + ')!');
+ }
+ $scrollToRow(this$static.escalator, rowIndex);
+}
+
+function $select_3(this$static, row){
+ if (instanceOf(this$static.selectionModel, 95)) {
+ return $select_2(dynamicCast(this$static.selectionModel, 95), row);
+ }
+ else if (instanceOf(this$static.selectionModel, 110)) {
+ return $select_1(dynamicCast(dynamicCast(this$static.selectionModel, 110), 103), new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [row])));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model');
+ }
+}
+
+function $setDataSource(this$static, dataSource){
+ var previousRowCount;
+ if (!dataSource) {
+ throw new IllegalArgumentException_0("dataSource can't be null.");
+ }
+ this$static.selectionModel.reset_1();
+ !!this$static.dataSource_0 && this$static.dataSource_0.setDataChangeHandler(null);
+ this$static.dataSource_0 = dataSource;
+ dataSource.setDataChangeHandler(new Grid$6(this$static, dataSource));
+ previousRowCount = this$static.escalator.body_0.rows_0;
+ previousRowCount != 0 && $removeRows(this$static.escalator.body_0, 0, previousRowCount);
+ $setEscalatorSizeFromDataSource(this$static);
+}
+
+function $setDefaultHeaderRow(this$static, row){
+ $setDefaultRow(this$static.header, row);
+}
+
+function $setEscalatorSizeFromDataSource(this$static){
+ var size_0;
+ if (this$static.escalator.body_0.rows_0 != 0) {
+ debugger;
+ throw new AssertionError;
+ }
+ size_0 = this$static.dataSource_0.size_2();
+ size_0 == -1 && $isAttached(this$static) && (size_0 = $getMaxEscalatorRowCapacity(this$static.escalator.body_0));
+ size_0 > 0 && $insertRows(this$static.escalator.body_0, 0, size_0);
+}
+
+function $setHeight_4(this$static, height){
+ $setHeight_3(this$static.escalator, height);
+}
+
+function $setHeightByRows_0(this$static, rows_0){
+ $setHeightByRows(this$static.escalator, rows_0);
+}
+
+function $setHeightMode_0(this$static, heightMode){
+ $setHeightMode(this$static.escalator, heightMode);
+}
+
+function $setScrollTop_1(this$static, px){
+ $setScrollTop_0(this$static.escalator, px);
+}
+
+function $setSelectColumnRenderer(this$static, selectColumnRenderer){
+ var colToRemove;
+ if (this$static.selectColumnRenderer == selectColumnRenderer) {
+ return;
+ }
+ if (this$static.selectColumnRenderer) {
+ !!this$static.selectColumnRenderer && $destroy(this$static.selectColumnRenderer);
+ colToRemove = this$static.selectionColumn;
+ this$static.selectionColumn = null;
+ $removeColumnSkipSelectionColumnCheck(this$static, colToRemove);
+ $offsetRangeBy(this$static.cellFocusHandler, -1);
+ }
+ this$static.selectColumnRenderer = selectColumnRenderer;
+ if (selectColumnRenderer) {
+ $offsetRangeBy(this$static.cellFocusHandler, 1);
+ this$static.selectionColumn = new Grid$SelectionColumn(this$static, selectColumnRenderer);
+ $addColumnSkipSelectionColumnCheck(this$static, this$static.selectionColumn, 0);
+ $initDone(this$static.selectionColumn);
+ }
+ else {
+ this$static.selectionColumn = null;
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+ }
+ $updateFrozenColumns(this$static);
+}
+
+function $setSelectionMode(this$static, mode){
+ var model;
+ model = mode.createModel();
+ !!this$static.selectionModel && this$static.selectionModel.setGrid(null);
+ this$static.selectionModel = model;
+ model.setGrid(this$static);
+ $setSelectColumnRenderer(this$static, this$static.selectionModel.getSelectionColumnRenderer());
+}
+
+function $setStylePrimaryName_6(this$static){
+ var rowStyle;
+ setStylePrimaryName($getElement(this$static), 'v-grid');
+ $setStylePrimaryName_1(this$static.escalator, 'v-grid');
+ $setStylePrimaryName_7(this$static.editor);
+ rowStyle = getStylePrimaryName($getElement(this$static)) + '-row';
+ this$static.rowHasDataStyleName = rowStyle + '-has-data';
+ this$static.rowSelectedStyleName = rowStyle + '-selected';
+ this$static.rowStripeStyleName = rowStyle + '-stripe';
+ this$static.cellFocusStyleName = getStylePrimaryName($getElement(this$static)) + '-cell-focused';
+ this$static.rowFocusStyleName = getStylePrimaryName($getElement(this$static)) + '-row-focused';
+ if ($isAttached(this$static)) {
+ $refreshRowContainer(this$static.escalator.header, this$static.header);
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+ $refreshRowContainer(this$static.escalator.footer, this$static.footer);
+ }
+}
+
+function $sinkEvents_0(this$static, events){
+ var eventsToSink, typeInt, typeName, typeName$iterator;
+ eventsToSink = 0;
+ for (typeName$iterator = events.iterator(); typeName$iterator.hasNext();) {
+ typeName = dynamicCastToString(typeName$iterator.next_0());
+ typeInt = $eventGetTypeInt(($clinit_DOM() , typeName));
+ typeInt < 0?sinkBitlessEvent($getElement(this$static), typeName):(eventsToSink |= typeInt);
+ }
+ eventsToSink > 0 && (this$static.eventsToSink == -1?sinkEvents($getElement(this$static), eventsToSink | ($clinit_DOM() , $getElement(this$static).__eventBits || 0)):(this$static.eventsToSink |= eventsToSink));
+}
+
+function $updateFrozenColumns(this$static){
+ var numberOfColumns;
+ numberOfColumns = 0;
+ !!this$static.selectionColumn && ++numberOfColumns;
+ $setFrozenColumnCount(this$static.escalator.columnConfiguration, numberOfColumns);
+}
+
+function Grid(){
+ var defaultRow;
+ this.eventCell = new EventCellReference(this);
+ this.keyDown = new GridKeyDownEvent(this, this.eventCell);
+ this.keyUp = new GridKeyUpEvent(this, this.eventCell);
+ new GridKeyPressEvent(this, this.eventCell);
+ this.clickEvent = new GridClickEvent(this, this.eventCell);
+ new GridDoubleClickEvent(this, this.eventCell);
+ this.escalator = new Escalator;
+ this.header = new Grid$Header;
+ this.footer = new Grid$Footer;
+ this.columns = new ArrayList;
+ this.currentDataAvailable = withLength(0, 0);
+ this.sortOrder = new ArrayList;
+ this.sorter = new Grid$UserSorter(this);
+ this.editor = new Grid$Editor;
+ this.autoColumnWidthsRecalculator = new Grid$AutoColumnWidthsRecalculator(this);
+ this.rowReference = new RowReference;
+ new CellReference(this.rowReference);
+ this.rendererCellReference = new RendererCellReference(this.rowReference);
+ $initWidget(this, this.escalator);
+ $setTabIndex($getElement(this), 0);
+ this.cellFocusHandler = new Grid$CellFocusHandler(this);
+ $setStylePrimaryName_6(this);
+ $setEscalatorUpdater(this.escalator.header, new Grid$StaticSectionUpdater(this, this.header, this.escalator.header));
+ $setEscalatorUpdater(this.escalator.body_0, new Grid$BodyUpdater(this));
+ $setEscalatorUpdater(this.escalator.footer, new Grid$StaticSectionUpdater(this, this.footer, this.escalator.footer));
+ $setGrid_1(this.header, this);
+ defaultRow = $appendRow(this.header);
+ $setDefaultRow(this.header, defaultRow);
+ $setGrid_1(this.footer, this);
+ $setGrid_0(this.editor, this);
+ $setSelectionMode(this, ($clinit_Grid$SelectionMode() , SINGLE));
+ $addHandler_0(this.escalator, new Grid$1(this), ($clinit_ScrollEvent() , TYPE_9));
+ $addHandler_0(this.escalator, new Grid$2(this), ($clinit_RowVisibilityChangeEvent() , TYPE_6));
+ $addHandler_0(this, new Grid$3(this), ($clinit_SelectionEvent() , $clinit_SelectionEvent() , eventType_0));
+ $sinkEvents_0(this, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['touchstart', 'touchmove', 'touchend', 'touchcancel', 'click'])));
+ $sinkEvents_0(this, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['keydown', 'keyup', 'keypress', 'dblclick', 'mousedown'])));
+ $addHeaderKeyUpHandler(this, new Grid$4(this));
+ $addDataAvailableHandler(this, new Grid$5(this));
+}
+
+function setCustomStyleName(element){
+ var oldStyleName;
+ if (!element) {
+ debugger;
+ throw new AssertionError;
+ }
+ oldStyleName = $getPropertyString(element, 'customStyle');
+ if (!equals(oldStyleName, null)) {
+ oldStyleName != null && $removeClassName(element, oldStyleName);
+ $setPropertyString(element, 'customStyle', null);
+ }
+}
+
+function setParent(widget, parent_0){
+ widget.setParent(parent_0);
+}
+
+defineClass(221, 571, {28:1, 25:1, 21:1, 27:1, 40:1, 24:1, 23:1, 17:1}, Grid);
+_.add_0 = function(w){
+ throw new UnsupportedOperationException_0('Cannot add widgets to Grid with this method');
+}
+;
+_.iterator = function(){
+ throw new UnsupportedOperationException_0('Cannot iterate through widgets in Grid this way');
+}
+;
+_.onAttach = function(){
+ $onAttach_0(this);
+ this.escalator.body_0.rows_0 == 0 && !!this.dataSource_0 && $setEscalatorSizeFromDataSource(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ var cell, container, e, eventType, target, navigation;
+ if (!this.enabled) {
+ return;
+ }
+ target = ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0);
+ if (!is_0(target)) {
+ return;
+ }
+ e = as(target);
+ container = $findRowContainer(this.escalator, e);
+ eventType = event_0.type;
+ if (!container) {
+ if ($equals_2(eventType, 'keydown') || $equals_2(eventType, 'keyup') || $equals_2(eventType, 'keypress')) {
+ cell = $getFocusedCell(this.cellFocusHandler);
+ container = this.cellFocusHandler.containerWithFocus;
+ }
+ else {
+ return;
+ }
+ }
+ else {
+ cell = container.getCell(e);
+ $equals_2(eventType, 'mousedown')?(this.cellOnPrevMouseDown = cell):!cell && $equals_2(eventType, 'click') && (cell = this.cellOnPrevMouseDown);
+ }
+ if (!cell) {
+ debugger;
+ throw new AssertionError_0('received ' + eventType + '-event with a null cell target');
+ }
+ $set_1(this.eventCell, cell);
+ if ($handleEditorEvent(this, event_0)) {
+ return;
+ }
+ $onBrowserEvent(this, event_0);
+ $onBrowserEvent(this.widget, event_0);
+ if (!$isElementInChildWidget(this, e)) {
+ if ($handleHeaderDefaultRowEvent(this, container)) {
+ return;
+ }
+ if ($handleRendererEvent(this, event_0, container)) {
+ return;
+ }
+ if ($handleNavigationEvent(this, event_0)) {
+ return;
+ }
+ if (navigation = new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['keydown', 'click'])) , $indexOf_3(navigation, event_0.type) != -1 && $handleNavigationEvent_0(this.cellFocusHandler, event_0, this.eventCell) , false) {
+ return;
+ }
+ }
+}
+;
+_.remove = function(w){
+ return false;
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_4(this, height);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_3(this.escalator, width_0);
+}
+;
+_.dataIsBeingFetched = false;
+_.enabled = true;
+_.selectColumnRenderer = null;
+var Lcom_vaadin_client_widgets_Grid_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid', 221, Lcom_google_gwt_user_client_ui_ResizeComposite_2_classLit);
+function Grid$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(242, 1, $intern_46, Grid$1);
+_.onScroll = function(event_0){
+ $fireEvent_0(this.this$01, new ScrollEvent);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/1', 242, Ljava_lang_Object_2_classLit);
+function $onRowVisibilityChange(this$static, event_0){
+ if (!!this$static.this$01.dataSource_0 && this$static.this$01.dataSource_0.size_2() != 0) {
+ this$static.this$01.dataIsBeingFetched = true;
+ this$static.this$01.dataSource_0.ensureAvailability(event_0.firstVisibleRow, event_0.visibleRowCount);
+ }
+}
+
+function Grid$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(243, 1, {22:1, 599:1}, Grid$2);
+var Lcom_vaadin_client_widgets_Grid$2_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/2', 243, Ljava_lang_Object_2_classLit);
+function Grid$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(244, 1, {22:1, 545:1}, Grid$3);
+_.onSelect_0 = function(event_0){
+ $refreshBody(this.this$01);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/3', 244, Ljava_lang_Object_2_classLit);
+function Grid$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(245, 1, {22:1, 198:1, 547:1, 600:1}, Grid$4);
+_.onKeyUp = function(event_0){
+ if ($getKeyCode(($assertLive(event_0) , event_0.nativeEvent)) != 13) {
+ return;
+ }
+ $sort(this.this$01.sorter, event_0.targetCell.column, $getShiftKey(($assertLive(event_0) , event_0.nativeEvent)));
+}
+;
+var Lcom_vaadin_client_widgets_Grid$4_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/4', 245, Ljava_lang_Object_2_classLit);
+function Grid$5(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(246, 1, $intern_47, Grid$5);
+_.onDataAvailable = function(event_0){
+ this.this$01.dataIsBeingFetched = false;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$5_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/5', 246, Ljava_lang_Object_2_classLit);
+function $dataAvailable(this$static, firstIndex, numberOfItems){
+ this$static.this$01.currentDataAvailable = withLength(firstIndex, numberOfItems);
+ $fireEvent_0(this$static.this$01, new DataAvailableEvent(this$static.this$01.currentDataAvailable));
+}
+
+function $dataUpdated(this$static, firstIndex, numberOfItems){
+ $refreshRows(this$static.this$01.escalator.body_0, firstIndex, numberOfItems);
+}
+
+function $resetDataAndSize_0(this$static, newSize){
+ var body_0, oldSize, visibleRowRange;
+ body_0 = this$static.this$01.escalator.body_0;
+ oldSize = body_0.rows_0;
+ this$static.this$01.cellFocusHandler.rowWithFocus >= newSize && (this$static.this$01.cellFocusHandler.rowWithFocus = newSize - 1);
+ newSize > oldSize?$insertRows(body_0, oldSize, newSize - oldSize):newSize < oldSize && $removeRows(body_0, newSize, oldSize - newSize);
+ if (newSize > 0) {
+ this$static.this$01.dataIsBeingFetched = true;
+ visibleRowRange = $getVisibleRowRange(this$static.this$01.escalator);
+ this$static.val$dataSource2.ensureAvailability(visibleRowRange.start_0, visibleRowRange.end - visibleRowRange.start_0);
+ }
+ if (body_0.rows_0 != newSize) {
+ debugger;
+ throw new AssertionError;
+ }
+}
+
+function Grid$6(this$0, val$dataSource){
+ this.this$01 = this$0;
+ this.val$dataSource2 = val$dataSource;
+}
+
+defineClass(247, 1, {}, Grid$6);
+var Lcom_vaadin_client_widgets_Grid$6_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/6', 247, Ljava_lang_Object_2_classLit);
+function Grid$7(this$0, val$handler){
+ this.this$01 = this$0;
+ this.val$handler2 = val$handler;
+}
+
+defineClass(248, 1, {}, Grid$7);
+_.execute_1 = function(){
+ this.this$01.dataIsBeingFetched || this.val$handler2.onDataAvailable(new DataAvailableEvent(this.this$01.currentDataAvailable));
+}
+;
+var Lcom_vaadin_client_widgets_Grid$7_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/7', 248, Ljava_lang_Object_2_classLit);
+function $applyColumnWidths(this$static){
+ var actualWidth, column, columns, constrainedWidths, hasAutoWidth, index_0, index0, selfWidths;
+ selfWidths = new LinkedHashMap;
+ columns = unmodifiableList(new ArrayList_1(this$static.this$01.columns));
+ for (index0 = 0; index0 < columns.size_2(); index0++) {
+ $put_4(selfWidths, valueOf_2(index0), new Double(dynamicCast(columns.list.get_1(index0), 30).widthUser));
+ }
+ $setColumnWidths(this$static.this$01.escalator.columnConfiguration, selfWidths);
+ constrainedWidths = new LinkedHashMap;
+ for (index_0 = 0; index_0 < columns.size_2(); index_0++) {
+ column = dynamicCast(columns.list.get_1(index_0), 30);
+ hasAutoWidth = column.widthUser < 0;
+ if (!hasAutoWidth) {
+ continue;
+ }
+ actualWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ actualWidth < $getMinWidth(column)?$put_4(constrainedWidths, valueOf_2(index_0), new Double(column.getMinimumWidth())):actualWidth > $getMaxWidth(column) && $put_4(constrainedWidths, valueOf_2(index_0), new Double(column.getMaximumWidth()));
+ }
+ $setColumnWidths(this$static.this$01.escalator.columnConfiguration, constrainedWidths);
+}
+
+function $applyColumnWidthsWithExpansion(this$static){
+ var aColumnHasMaxedOut, autoWidth, column, column$iterator, column$iterator0, column$iterator1, column$iterator2, column$iterator3, columnsToExpand, currentWidth, expandRatio, hasAutoWidth, i_0, isFixedWidth, maxWidth, minWidth, minWidthsCausedReflows, newWidth, pixelsToDistribute, pixelsToRemove, pixelsToRemoveFromOtherColumns, pixelsToRemovePerRatio, reservedPixels, shouldExpand, someColumnExpands, totalRatios, totalWidth, width_0, widthAsIs, widthCandidate, widthFixed, widthPerRatio, widthPerRatio0;
+ someColumnExpands = false;
+ totalRatios = 0;
+ reservedPixels = 0;
+ columnsToExpand = new HashSet;
+ for (column$iterator0 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator()); column$iterator0.it.hasNext();) {
+ column = dynamicCast(column$iterator0.it.next_0(), 30);
+ widthAsIs = column.widthUser;
+ isFixedWidth = widthAsIs >= 0;
+ widthFixed = max_0(widthAsIs, column.getMinimumWidth());
+ expandRatio = column.getExpandRatio();
+ if (isFixedWidth) {
+ $doSetWidth(column, widthFixed);
+ }
+ else {
+ $doSetWidth(column, -1);
+ newWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ maxWidth = $getMaxWidth(column);
+ shouldExpand = newWidth < maxWidth && expandRatio > 0;
+ if (shouldExpand) {
+ totalRatios += expandRatio;
+ $add_7(columnsToExpand, column);
+ someColumnExpands = true;
+ }
+ }
+ reservedPixels += $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ }
+ if (!someColumnExpands) {
+ if (totalRatios != 0) {
+ debugger;
+ throw new AssertionError_0("totalRatios should've been 0");
+ }
+ if (columnsToExpand.map_0.size_2() != 0) {
+ debugger;
+ throw new AssertionError_0("columnsToExpand should've been empty");
+ }
+ for (column$iterator1 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator()); column$iterator1.it.hasNext();) {
+ column = dynamicCast(column$iterator1.it.next_0(), 30);
+ width_0 = column.widthUser;
+ expandRatio = column.getExpandRatio();
+ if (width_0 < 0 && expandRatio < 0) {
+ ++totalRatios;
+ $add_7(columnsToExpand, column);
+ }
+ }
+ }
+ pixelsToDistribute = ceil_0(getRequiredWidthBoundingClientRectDouble(this$static.this$01.escalator.tableWrapper)) - reservedPixels;
+ if (pixelsToDistribute <= 0 || totalRatios <= 0) {
+ return;
+ }
+ do {
+ aColumnHasMaxedOut = false;
+ widthPerRatio0 = Math.floor(pixelsToDistribute / totalRatios);
+ i_0 = $iterator(new AbstractMap$1(columnsToExpand.map_0));
+ while (i_0.val$outerIter2.hasNext()) {
+ column = dynamicCast($next_2(i_0), 30);
+ expandRatio = $getExpandRatio(column, someColumnExpands);
+ autoWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ maxWidth = $getMaxWidth(column);
+ widthCandidate = autoWidth + widthPerRatio0 * expandRatio;
+ if (maxWidth <= widthCandidate) {
+ $doSetWidth(column, maxWidth);
+ totalRatios -= expandRatio;
+ pixelsToDistribute -= maxWidth - autoWidth;
+ i_0.val$outerIter2.remove_0();
+ aColumnHasMaxedOut = true;
+ }
+ }
+ }
+ while (aColumnHasMaxedOut);
+ if (totalRatios <= 0 && columnsToExpand.map_0.size_2() == 0) {
+ return;
+ }
+ if (pixelsToDistribute <= 0) {
+ debugger;
+ throw new AssertionError_0("We've run out of pixels to distribute (" + pixelsToDistribute + 'px to ' + totalRatios + ' ratios between ' + columnsToExpand.map_0.size_2() + ' columns)');
+ }
+ if (!(totalRatios > 0 && columnsToExpand.map_0.size_2() != 0)) {
+ debugger;
+ throw new AssertionError_0('Bookkeeping out of sync. Ratios: ' + totalRatios + ' Columns: ' + columnsToExpand.map_0.size_2());
+ }
+ widthPerRatio = Math.floor(pixelsToDistribute / totalRatios);
+ for (column$iterator2 = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator2.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_2(column$iterator2), 30);
+ expandRatio = $getExpandRatio(column, someColumnExpands);
+ autoWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ totalWidth = autoWidth + widthPerRatio * expandRatio;
+ $doSetWidth(column, totalWidth);
+ totalRatios -= expandRatio;
+ }
+ if (totalRatios != 0) {
+ debugger;
+ throw new AssertionError_0('Bookkeeping error: there were still some ratios left undistributed: ' + totalRatios);
+ }
+ do {
+ minWidthsCausedReflows = false;
+ pixelsToRemoveFromOtherColumns = 0;
+ for (column$iterator1 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator()); column$iterator1.it.hasNext();) {
+ column = dynamicCast(column$iterator1.it.next_0(), 30);
+ minWidth = ceil_0($getMinWidth(column));
+ currentWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ hasAutoWidth = column.widthUser < 0;
+ if (hasAutoWidth && currentWidth < minWidth) {
+ $doSetWidth(column, minWidth);
+ pixelsToRemoveFromOtherColumns += minWidth - currentWidth;
+ minWidthsCausedReflows = true;
+ columnsToExpand.map_0.remove_2(column) != null;
+ }
+ }
+ totalRatios = 0;
+ for (column$iterator3 = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator3.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_2(column$iterator3), 30);
+ totalRatios += $getExpandRatio(column, someColumnExpands);
+ }
+ pixelsToRemovePerRatio = Math.ceil(pixelsToRemoveFromOtherColumns / totalRatios);
+ for (column$iterator = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_2(column$iterator), 30);
+ pixelsToRemove = pixelsToRemovePerRatio * $getExpandRatio(column, someColumnExpands);
+ $doSetWidth(column, $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0)) - pixelsToRemove);
+ }
+ }
+ while (minWidthsCausedReflows);
+}
+
+function $calculate(this$static){
+ var column, column$iterator, dumpIntoLastColumn, escalatorWidth, lastColumn, occupiedWidth, width_0;
+ this$static.isScheduled = false;
+ this$static.rescheduleCount = 0;
+ if (this$static.this$01.dataIsBeingFetched) {
+ debugger;
+ throw new AssertionError_0('Trying to calculate column widths even though data is still being fetched.');
+ }
+ if ($columnsAreGuaranteedToBeWiderThanGrid(this$static)) {
+ $applyColumnWidths(this$static);
+ }
+ else {
+ $applyColumnWidthsWithExpansion(this$static);
+ dumpIntoLastColumn = false;
+ escalatorWidth = getRequiredWidthBoundingClientRectDouble(this$static.this$01.escalator.tableWrapper);
+ occupiedWidth = 0;
+ for (column$iterator = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator()); column$iterator.it.hasNext();) {
+ column = dynamicCast(column$iterator.it.next_0(), 30);
+ occupiedWidth += $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_4(column.grid.columns, column, 0));
+ column.widthUser < 0 && column.getExpandRatio() != 0 && (dumpIntoLastColumn = true);
+ }
+ if (dumpIntoLastColumn) {
+ lastColumn = $getColumn(this$static.this$01, this$static.this$01.columns.array.length - 1);
+ width_0 = floor_0($getColumnWidthActual(lastColumn.grid.escalator.columnConfiguration, $indexOf_4(lastColumn.grid.columns, lastColumn, 0)) + (escalatorWidth - occupiedWidth));
+ $setColumnWidth(this$static.this$01.escalator.columnConfiguration, this$static.this$01.columns.array.length - 1, width_0);
+ }
+ }
+}
+
+function $columnsAreGuaranteedToBeWiderThanGrid(this$static){
+ var column, column$iterator, freeSpace;
+ freeSpace = getRequiredWidthBoundingClientRectDouble(this$static.this$01.escalator.tableWrapper);
+ for (column$iterator = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator()); column$iterator.it.hasNext();) {
+ column = dynamicCast(column$iterator.it.next_0(), 30);
+ column.widthUser >= 0?(freeSpace -= column.widthUser):column.getMinimumWidth() >= 0 && (freeSpace -= column.getMinimumWidth());
+ }
+ return freeSpace < 0;
+}
+
+function $getExpandRatio(column, someColumnExpands){
+ var expandRatio;
+ expandRatio = column.getExpandRatio();
+ if (expandRatio > 0) {
+ return expandRatio;
+ }
+ else if (expandRatio < 0) {
+ if (someColumnExpands) {
+ debugger;
+ throw new AssertionError_0("No columns should've expanded");
+ }
+ return 1;
+ }
+ else {
+ debugger;
+ throw new AssertionError_0("this method should've not been called at all if expandRatio is 0");
+ }
+}
+
+function $getMaxWidth(column){
+ var maxWidth;
+ maxWidth = column.getMaximumWidth();
+ return maxWidth >= 0?maxWidth:1.7976931348623157E308;
+}
+
+function $getMinWidth(column){
+ var minWidth;
+ minWidth = column.getMinimumWidth();
+ return minWidth >= 0?minWidth:$intern_48;
+}
+
+function $schedule_0(this$static){
+ if (!this$static.isScheduled) {
+ this$static.isScheduled = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), this$static.calculateCommand);
+ }
+}
+
+function Grid$AutoColumnWidthsRecalculator(this$0){
+ this.this$01 = this$0;
+ this.calculateCommand = new Grid$AutoColumnWidthsRecalculator$1(this);
+}
+
+defineClass(229, 1, {}, Grid$AutoColumnWidthsRecalculator);
+_.isScheduled = false;
+_.rescheduleCount = 0;
+var Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AutoColumnWidthsRecalculator', 229, Ljava_lang_Object_2_classLit);
+function Grid$AutoColumnWidthsRecalculator$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(238, 1, {}, Grid$AutoColumnWidthsRecalculator$1);
+_.execute_1 = function(){
+ if (!this.this$11.isScheduled) {
+ return;
+ }
+ if (this.this$11.this$01.header.markAsDirty) {
+ if (this.this$11.rescheduleCount < 10) {
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), this);
+ ++this.this$11.rescheduleCount;
+ }
+ else {
+ this.this$11.rescheduleCount = 0;
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this);
+ }
+ }
+ else
+ this.this$11.this$01.dataIsBeingFetched?$scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this):$calculate(this.this$11);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AutoColumnWidthsRecalculator/1', 238, Ljava_lang_Object_2_classLit);
+function Grid$BodyUpdater(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(230, 1, {}, Grid$BodyUpdater);
+_.postAttach = function(row, attachedCells){
+ var cell, cell$iterator;
+ for (cell$iterator = attachedCells.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ $findRenderer(this.this$01, cell);
+ }
+}
+;
+_.postDetach = function(row, detachedCells){
+ var cell, cell$iterator, renderer, rowIndex;
+ rowIndex = ($assertSetup_0(row) , row.row);
+ $set_3(this.this$01.rowReference, rowIndex, null, $assertSetup_0(row));
+ for (cell$iterator = detachedCells.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ renderer = $findRenderer(this.this$01, cell);
+ if (instanceOf(renderer, 51)) {
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, $getColumn(this.this$01, ($assertSetup(cell) , cell.column)));
+ dynamicCast(renderer, 51);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $assertSetup(cell);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ }
+}
+;
+_.preAttach = function(row, cellsToAttach){
+ var cell, cell$iterator, renderer, rowIndex;
+ rowIndex = ($assertSetup_0(row) , row.row);
+ $set_3(this.this$01.rowReference, rowIndex, this.this$01.dataSource_0.getRow(rowIndex), $assertSetup_0(row));
+ for (cell$iterator = cellsToAttach.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ renderer = $findRenderer(this.this$01, cell);
+ if (instanceOf(renderer, 51)) {
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, $getColumn(this.this$01, ($assertSetup(cell) , cell.column)));
+ $init((dynamicCast(renderer, 51) , this.this$01.rendererCellReference));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $assertSetup(cell);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ }
+}
+;
+_.preDetach = function(row, cellsToDetach){
+ var cell, cell$iterator;
+ for (cell$iterator = new FlyweightRow$CellIterator(new AbstractList$SubList(cellsToDetach.this$01.cells_0, cellsToDetach.val$offset2, cellsToDetach.val$offset2 + cellsToDetach.val$numberOfCells3), true); cell$iterator.cursor_0 + cell$iterator.skipNext < cell$iterator.cells_0.array.length;) {
+ cell = $next_1(cell$iterator);
+ $findRenderer(this.this$01, cell);
+ }
+}
+;
+_.update = function(row, cellsToUpdate){
+ var cell, cell$iterator, clxRenderer, column, hasData, isEvenIndex, renderer, rowData, rowElement, rowIndex, usedToHaveData, value_0;
+ rowIndex = ($assertSetup_0(row) , row.row);
+ rowElement = ($assertSetup_0(row) , row.element);
+ rowData = this.this$01.dataSource_0.getRow(rowIndex);
+ hasData = rowData != null;
+ usedToHaveData = $hasClassName(rowElement, this.this$01.rowHasDataStyleName);
+ usedToHaveData != hasData && setStyleName(rowElement, this.this$01.rowHasDataStyleName, hasData);
+ isEvenIndex = ($assertSetup_0(row) , row.row % 2 == 0);
+ setStyleName(rowElement, this.this$01.rowStripeStyleName, !isEvenIndex);
+ $set_3(this.this$01.rowReference, rowIndex, rowData);
+ if (hasData) {
+ setStyleName(rowElement, this.this$01.rowSelectedStyleName, $isSelected_0(this.this$01, rowData));
+ setCustomStyleName(rowElement);
+ }
+ else if (usedToHaveData) {
+ setStyleName(rowElement, this.this$01.rowSelectedStyleName, false);
+ setCustomStyleName(rowElement);
+ }
+ $updateFocusedRowStyle(this.this$01.cellFocusHandler, row);
+ for (cell$iterator = cellsToUpdate.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ column = $getColumn(this.this$01, ($assertSetup(cell) , cell.column));
+ if (!column) {
+ debugger;
+ throw new AssertionError_0(($assertSetup(cell) , 'Column was not found from cell (' + cell.column + ',' + ($assertSetup(cell) , $getRow_0(cell.row)) + ')'));
+ }
+ $updateFocusedCellStyle(this.this$01.cellFocusHandler, cell, this.this$01.escalator.body_0);
+ (hasData || usedToHaveData) && setCustomStyleName(($assertSetup(cell) , cell.element));
+ renderer = column.bodyRenderer;
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, column);
+ if (instanceOf(renderer, 51)) {
+ clxRenderer = dynamicCast(renderer, 51);
+ if (hasData) {
+ usedToHaveData || $setContentVisible(this.this$01.rendererCellReference, true);
+ value_0 = column.getValue_0(rowData);
+ $render_0(this.this$01.rendererCellReference, value_0);
+ }
+ else {
+ $setContentVisible(this.this$01.rendererCellReference, false);
+ }
+ }
+ else if (hasData) {
+ value_0 = column.getValue_0(rowData);
+ renderer.render(this.this$01.rendererCellReference, value_0);
+ }
+ else {
+ $removeAllChildren(($assertSetup(cell) , cell.element));
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $assertSetup(cell);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$BodyUpdater_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/BodyUpdater', 230, Ljava_lang_Object_2_classLit);
+function $getFocusedCell(this$static){
+ return new Cell(this$static.rowWithFocus, this$static.cellFocusRange.start_0, this$static.cellWithFocusStyle);
+}
+
+function $getNextContainer(this$static, current){
+ if (current == this$static.this$01.escalator.header) {
+ current = this$static.this$01.escalator.body_0;
+ }
+ else if (current == this$static.this$01.escalator.body_0) {
+ current = this$static.this$01.escalator.footer;
+ }
+ else {
+ return current;
+ }
+ if (current.getRowCount_0() == 0) {
+ return $getNextContainer(this$static, current);
+ }
+ return current;
+}
+
+function $getPreviousContainer(this$static, current){
+ if (current == this$static.this$01.escalator.footer) {
+ current = this$static.this$01.escalator.body_0;
+ }
+ else if (current == this$static.this$01.escalator.body_0) {
+ current = this$static.this$01.escalator.header;
+ }
+ else {
+ return current;
+ }
+ if (current.getRowCount_0() == 0) {
+ return $getPreviousContainer(this$static, current);
+ }
+ return current;
+}
+
+function $handleNavigationEvent_0(this$static, event_0, cell){
+ var newColumn, newContainer, newRow;
+ if ($equals_2(($clinit_DOMImpl() , event_0).type, 'click')) {
+ $setCellFocus(this$static, cell.rowReference.rowIndex, cell.columnIndex, $findRowContainer(this$static.this$01.escalator, cell.element));
+ $focus($getElement(this$static.this$01));
+ }
+ else if ($equals_2(event_0.type, 'keydown')) {
+ newRow = this$static.rowWithFocus;
+ newContainer = this$static.containerWithFocus;
+ newColumn = this$static.cellFocusRange.start_0;
+ switch (event_0.keyCode | 0) {
+ case 40:
+ ++newRow;
+ break;
+ case 38:
+ --newRow;
+ break;
+ case 39:
+ if (this$static.cellFocusRange.end >= unmodifiableList(new ArrayList_1(this$static.this$01.columns)).size_2()) {
+ return;
+ }
+
+ newColumn = this$static.cellFocusRange.end;
+ break;
+ case 37:
+ if (newColumn == 0) {
+ return;
+ }
+
+ --newColumn;
+ break;
+ case 9:
+ event_0.shiftKey?(newContainer = $getPreviousContainer(this$static, this$static.containerWithFocus)):(newContainer = $getNextContainer(this$static, this$static.containerWithFocus));
+ if (newContainer == this$static.containerWithFocus) {
+ return;
+ }
+
+ break;
+ default:return;
+ }
+ if (newContainer != this$static.containerWithFocus) {
+ newContainer == this$static.this$01.escalator.body_0?(newRow = this$static.lastFocusedBodyRow):newContainer == this$static.this$01.escalator.header?(newRow = this$static.lastFocusedHeaderRow):(newRow = this$static.lastFocusedFooterRow);
+ }
+ else if (newRow < 0) {
+ newContainer = $getPreviousContainer(this$static, newContainer);
+ newContainer == this$static.containerWithFocus?(newRow = 0):newContainer == this$static.this$01.escalator.body_0?(newRow = $getLastVisibleRowIndex(this$static.this$01)):(newRow = newContainer.getRowCount_0() - 1);
+ }
+ else if (newRow >= this$static.containerWithFocus.getRowCount_0()) {
+ newContainer = $getNextContainer(this$static, newContainer);
+ newContainer == this$static.containerWithFocus?(newRow = this$static.containerWithFocus.getRowCount_0() - 1):newContainer == this$static.this$01.escalator.body_0?(newRow = $getFirstVisibleRowIndex(this$static.this$01)):(newRow = 0);
+ }
+ if (newContainer.getRowCount_0() == 0) {
+ return;
+ }
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ $setCellFocus(this$static, newRow, newColumn, newContainer);
+ }
+}
+
+function $offsetRangeBy(this$static, offset){
+ this$static.cellFocusRange = $offsetBy(this$static.cellFocusRange, offset);
+}
+
+function $refreshRow_0(this$static, row){
+ this$static.containerWithFocus.refreshRows(row, 1);
+}
+
+function $setCellFocus(this$static, row, column, container){
+ var cell, cellRange, colSpan, i_0, oldContainer, oldRange, oldRow;
+ if (row == this$static.rowWithFocus && $contains(this$static.cellFocusRange, column) && container == this$static.containerWithFocus) {
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+ return;
+ }
+ oldRow = this$static.rowWithFocus;
+ this$static.rowWithFocus = row;
+ oldRange = this$static.cellFocusRange;
+ if (container == this$static.this$01.escalator.body_0) {
+ $scrollToRow_1(this$static.this$01, this$static.rowWithFocus);
+ this$static.cellFocusRange = withLength(column, 1);
+ }
+ else {
+ i_0 = 0;
+ cell = $getFirstChildElement(container.getRowElement(this$static.rowWithFocus));
+ do {
+ colSpan = $getPropertyInt(cell, 'colSpan');
+ cellRange = withLength(i_0, colSpan);
+ if (cellRange.start_0 <= column && column < cellRange.end) {
+ this$static.cellFocusRange = cellRange;
+ break;
+ }
+ cell = $getNextSiblingElement(($clinit_DOMImpl() , cell));
+ ++i_0;
+ }
+ while (cell);
+ }
+ column >= this$static.this$01.escalator.columnConfiguration.frozenColumns && $scrollToColumn(this$static.this$01.escalator, column);
+ if (this$static.containerWithFocus == container) {
+ if ($equals(oldRange, this$static.cellFocusRange) && oldRow != this$static.rowWithFocus) {
+ this$static.containerWithFocus.refreshRows(oldRow, 1);
+ }
+ else {
+ $refreshHeader(this$static.this$01);
+ $refreshFooter(this$static.this$01);
+ }
+ }
+ else {
+ oldContainer = this$static.containerWithFocus;
+ this$static.containerWithFocus = container;
+ oldContainer == this$static.this$01.escalator.body_0?(this$static.lastFocusedBodyRow = oldRow):oldContainer == this$static.this$01.escalator.header?(this$static.lastFocusedHeaderRow = oldRow):(this$static.lastFocusedFooterRow = oldRow);
+ if ($equals(oldRange, this$static.cellFocusRange)) {
+ oldContainer.refreshRows(oldRow, 1);
+ }
+ else {
+ $refreshHeader(this$static.this$01);
+ $refreshFooter(this$static.this$01);
+ oldContainer == this$static.this$01.escalator.body_0 && oldContainer.refreshRows(oldRow, 1);
+ }
+ }
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+}
+
+function $updateFocusedCellStyle(this$static, cell, cellContainer){
+ var cellColumn, cellRow, colSpan, columnHasFocus;
+ cellRow = ($assertSetup(cell) , $getRow_0(cell.row));
+ cellColumn = ($assertSetup(cell) , cell.column);
+ colSpan = ($assertSetup(cell) , $getPropertyInt(cell.element, 'colSpan'));
+ columnHasFocus = $intersects(withLength(cellColumn, colSpan), this$static.cellFocusRange);
+ if (cellContainer == this$static.containerWithFocus) {
+ if (cellRow == this$static.rowWithFocus && columnHasFocus) {
+ if (this$static.cellWithFocusStyle != ($assertSetup(cell) , cell.element)) {
+ !!this$static.cellWithFocusStyle && setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, false);
+ this$static.cellWithFocusStyle = ($assertSetup(cell) , cell.element);
+ setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, true);
+ }
+ }
+ else if (this$static.cellWithFocusStyle == ($assertSetup(cell) , cell.element)) {
+ setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, false);
+ this$static.cellWithFocusStyle = null;
+ }
+ }
+}
+
+function $updateFocusedRowStyle(this$static, row){
+ if (this$static.rowWithFocus == ($assertSetup_0(row) , row.row) && this$static.containerWithFocus == this$static.this$01.escalator.body_0) {
+ $assertSetup_0(row);
+ if (row.element != this$static.rowWithFocusStyle) {
+ !!this$static.rowWithFocusStyle && setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, false);
+ this$static.rowWithFocusStyle = ($assertSetup_0(row) , row.element);
+ setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, true);
+ }
+ }
+ else if (this$static.rowWithFocusStyle == ($assertSetup_0(row) , row.element) || this$static.containerWithFocus != this$static.this$01.escalator.body_0 && !!this$static.rowWithFocusStyle) {
+ setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, false);
+ this$static.rowWithFocusStyle = null;
+ }
+}
+
+function Grid$CellFocusHandler(this$0){
+ this.this$01 = this$0;
+ this.containerWithFocus = this.this$01.escalator.body_0;
+ this.cellFocusRange = withLength(0, 1);
+ $sinkEvents_0(this$0, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['keydown', 'click'])));
+}
+
+defineClass(226, 1, {}, Grid$CellFocusHandler);
+_.cellWithFocusStyle = null;
+_.lastFocusedBodyRow = 0;
+_.lastFocusedFooterRow = 0;
+_.lastFocusedHeaderRow = 0;
+_.rowWithFocus = 0;
+_.rowWithFocusStyle = null;
+var Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/CellFocusHandler', 226, Ljava_lang_Object_2_classLit);
+function $doSetWidth(this$static, pixels){
+ var conf, index_0;
+ if (this$static.grid) {
+ index_0 = $indexOf_4(this$static.grid.columns, this$static, 0);
+ conf = this$static.grid.escalator.columnConfiguration;
+ $setColumnWidths(conf, singletonMap(valueOf_2(index_0), new Double(pixels)));
+ }
+}
+
+function $setEditable(this$static){
+ if (this$static.editable && this$static.grid.editor.state != 0) {
+ throw new IllegalStateException_0('Cannot change column editable status while the editor is active');
+ }
+ this$static.editable = false;
+ return this$static;
+}
+
+function $setGrid(this$static, grid){
+ var row;
+ if (!!this$static.grid && !!grid) {
+ throw new IllegalStateException_0('Column already is attached to a grid. Remove the column first from the grid and then add it. (in: ' + $toString_2(this$static) + ')');
+ }
+ !!this$static.grid && $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ this$static.grid = grid;
+ if (this$static.grid) {
+ $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ row = this$static.grid.header.defaultRow;
+ !!row && $setText_1(dynamicCast($getCell_0(row, this$static), 85), this$static.headerCaption);
+ }
+}
+
+function $setRenderer(this$static, renderer){
+ if (!renderer) {
+ throw new IllegalArgumentException_0('Renderer cannot be null.');
+ }
+ this$static.bodyRenderer = renderer;
+ !!this$static.grid && $refreshBody(this$static.grid);
+ return this$static;
+}
+
+function $setWidth_5(this$static, pixels){
+ if (!pixelValuesEqual(this$static.widthUser, pixels)) {
+ this$static.widthUser = pixels;
+ !!this$static.grid && $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ }
+ return this$static;
+}
+
+function $toString_2(this$static){
+ var details, index_0;
+ details = '';
+ !this$static.headerCaption.length?(details += 'header:empty '):(details += 'header:"' + this$static.headerCaption + '" ');
+ if (this$static.grid) {
+ index_0 = $indexOf_5(unmodifiableList(new ArrayList_1(this$static.grid.columns)), this$static);
+ index_0 != -1?(details += 'attached:#' + index_0 + ' '):(details += 'attached:unindexed ');
+ }
+ else {
+ details += 'detached ';
+ }
+ details += 'sortable:false ';
+ return $getSimpleName(this$static.___clazz$) + '[' + $trim(details) + ']';
+}
+
+function Grid$Column(renderer){
+ $setRenderer(this, renderer);
+}
+
+defineClass(30, 1, {30:1});
+_.getExpandRatio = function(){
+ return this.expandRatio;
+}
+;
+_.getMaximumWidth = function(){
+ return this.maximumWidthPx;
+}
+;
+_.getMinimumWidth = function(){
+ return this.minimumWidthPx;
+}
+;
+_.setWidth_0 = function(pixels){
+ return $setWidth_5(this, pixels);
+}
+;
+_.toString$ = function(){
+ return $toString_2(this);
+}
+;
+_.editable = true;
+_.expandRatio = -1;
+_.headerCaption = '';
+_.maximumWidthPx = -1;
+_.minimumWidthPx = 10;
+_.widthUser = -1;
+var Lcom_vaadin_client_widgets_Grid$Column_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Column', 30, Ljava_lang_Object_2_classLit);
+function $cancel_2(){
+ throw new IllegalStateException_0('Cannot cancel edit: editor is not enabled');
+}
+
+function $save(){
+ throw new IllegalStateException_0('Cannot save: editor is not enabled');
+}
+
+function $setGrid_0(this$static, grid){
+ if (this$static.grid) {
+ debugger;
+ throw new AssertionError_0('Can only attach editor to Grid once');
+ }
+ this$static.grid = grid;
+ $addDataAvailableHandler(grid, new Grid$Editor$7(this$static));
+}
+
+function $setStylePrimaryName_7(this$static){
+ if (this$static.styleName != null) {
+ $removeClassName(this$static.editorOverlay, this$static.styleName);
+ $removeClassName(this$static.cellWrapper, this$static.styleName + '-cells');
+ $removeClassName(this$static.messageAndButtonsWrapper, this$static.styleName + '-footer');
+ $removeClassName(this$static.messageWrapper, this$static.styleName + '-message');
+ $removeClassName(this$static.buttonsWrapper, this$static.styleName + '-buttons');
+ $removeStyleName(this$static.saveButton, this$static.styleName + '-save');
+ $removeStyleName(this$static.cancelButton, this$static.styleName + '-cancel');
+ }
+ this$static.styleName = 'v-grid-editor';
+ $setClassName(this$static.editorOverlay, this$static.styleName);
+ $setClassName(this$static.cellWrapper, this$static.styleName + '-cells');
+ $setClassName(this$static.messageAndButtonsWrapper, this$static.styleName + '-footer');
+ $setClassName(this$static.messageWrapper, this$static.styleName + '-message');
+ $setClassName(this$static.buttonsWrapper, this$static.styleName + '-buttons');
+ $setStyleName(this$static.saveButton, this$static.styleName + '-save');
+ $setStyleName(this$static.cancelButton, this$static.styleName + '-cancel');
+}
+
+function $show_2(this$static){
+ if (this$static.state == 1) {
+ this$static.state = 2;
+ $schedule(this$static.bindTimeout, 5000);
+ null.nullMethod();
+ $setScrollLocked(this$static.grid.escalator, ($clinit_ScrollbarBundle$Direction() , VERTICAL));
+ }
+}
+
+function Grid$Editor(){
+ this.editorOverlay = as_1(($clinit_DOM() , $createDivElement($doc)));
+ this.cellWrapper = as_1($createDivElement($doc));
+ this.messageAndButtonsWrapper = as_1($createDivElement($doc));
+ this.messageWrapper = as_1($createDivElement($doc));
+ this.buttonsWrapper = as_1($createDivElement($doc));
+ as_1($createDivElement($doc));
+ new HashMap;
+ new Grid$Editor$1;
+ this.bindTimeout = new Grid$Editor$3;
+ new HashSet;
+ this.saveButton = new Button;
+ $setText(this.saveButton, 'Save');
+ $addDomHandler(this.saveButton, new Grid$Editor$5, ($clinit_ClickEvent() , $clinit_ClickEvent() , TYPE));
+ this.cancelButton = new Button;
+ $setText(this.cancelButton, 'Cancel');
+ $addDomHandler(this.cancelButton, new Grid$Editor$6, (null , TYPE));
+}
+
+defineClass(225, 1, {}, Grid$Editor);
+_.rowIndex = -1;
+_.state = 0;
+_.styleName = null;
+var Lcom_vaadin_client_widgets_Grid$Editor_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor', 225, Ljava_lang_Object_2_classLit);
+function Grid$Editor$1(){
+ Timer.call(this);
+}
+
+defineClass(231, 46, {}, Grid$Editor$1);
+_.run = function(){
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/1', 231, Lcom_google_gwt_user_client_Timer_2_classLit);
+function Grid$Editor$3(){
+ Timer.call(this);
+}
+
+defineClass(232, 46, {}, Grid$Editor$3);
+_.run = function(){
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/3', 232, Lcom_google_gwt_user_client_Timer_2_classLit);
+function Grid$Editor$5(){
+}
+
+defineClass(233, 1, $intern_39, Grid$Editor$5);
+_.onClick = function(event_0){
+ $save();
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$5_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/5', 233, Ljava_lang_Object_2_classLit);
+function Grid$Editor$6(){
+}
+
+defineClass(234, 1, $intern_39, Grid$Editor$6);
+_.onClick = function(event_0){
+ $cancel_2();
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$6_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/6', 234, Ljava_lang_Object_2_classLit);
+function Grid$Editor$7(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(235, 1, $intern_47, Grid$Editor$7);
+_.onDataAvailable = function(event_0){
+ $contains(event_0.rowsAvailable, this.this$11.rowIndex) && $show_2(this.this$11);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$7_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/7', 235, Ljava_lang_Object_2_classLit);
+function $addColumn_1(this$static, column){
+ var row, row$iterator;
+ for (row$iterator = new AbstractList$IteratorImpl(this$static.rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , dynamicCast(row$iterator.this$01_0.get_1(row$iterator.last = row$iterator.i++), 84));
+ $addCell(row, column);
+ }
+}
+
+function $addRowAt(this$static, index_0){
+ var i_0, row;
+ row = new Grid$HeaderRow;
+ row.section = this$static;
+ for (i_0 = 0; i_0 < $getGrid(this$static).columns.array.length; ++i_0) {
+ $addCell(row, $getColumn(this$static.grid, i_0));
+ }
+ $add_5(this$static.rows_0, index_0, row);
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+ return row;
+}
+
+function $appendRow(this$static){
+ return $addRowAt(this$static, this$static.rows_0.array.length);
+}
+
+function $getGrid(this$static){
+ if (!this$static.grid) {
+ debugger;
+ throw new AssertionError;
+ }
+ return this$static.grid;
+}
+
+function $getRow_1(this$static, index_0){
+ try {
+ return dynamicCast($get_6(this$static.rows_0, index_0), 84);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 34)) {
+ throw new IllegalArgumentException_0('Row with index ' + index_0 + ' does not exist');
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function $removeColumn_0(this$static, column){
+ var row, row$iterator;
+ for (row$iterator = new AbstractList$IteratorImpl(this$static.rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , dynamicCast(row$iterator.this$01_0.get_1(row$iterator.last = row$iterator.i++), 84));
+ row.cells_0.remove_2(column);
+ }
+}
+
+function $setGrid_1(this$static, grid){
+ this$static.grid = grid;
+}
+
+function Grid$StaticSection(){
+ this.rows_0 = new ArrayList;
+}
+
+defineClass(158, 1, {});
+_.visible = true;
+var Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection', 158, Ljava_lang_Object_2_classLit);
+function Grid$Footer(){
+ Grid$StaticSection.call(this);
+}
+
+defineClass(224, 158, {}, Grid$Footer);
+var Lcom_vaadin_client_widgets_Grid$Footer_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Footer', 224, Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit);
+function $requestSectionRefresh(this$static){
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+}
+
+function $setDefaultRow(this$static, row){
+ if (row == this$static.defaultRow) {
+ return;
+ }
+ if (!!row && $indexOf_4(this$static.rows_0, row, 0) == -1) {
+ throw new IllegalArgumentException_0('Cannot set a default row that does not exist in the container');
+ }
+ !!this$static.defaultRow && (this$static.defaultRow.isDefault = false);
+ !!row && (row.isDefault = true);
+ this$static.defaultRow = row;
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+}
+
+function Grid$Header(){
+ Grid$StaticSection.call(this);
+}
+
+defineClass(222, 158, {}, Grid$Header);
+_.markAsDirty = false;
+var Lcom_vaadin_client_widgets_Grid$Header_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Header', 222, Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit);
+function Grid$Header$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(125, 1, {}, Grid$Header$1);
+_.execute_1 = function(){
+ if (this.this$11.markAsDirty) {
+ this.this$11.markAsDirty = false;
+ $refreshHeader($getGrid(this.this$11));
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Header$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Header/1', 125, Ljava_lang_Object_2_classLit);
+function $getHtml(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , HTML_1)) {
+ throw new IllegalStateException_0('Cannot fetch HTML from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCastToString(this$static.content_0);
+}
+
+function $getText(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , TEXT_0)) {
+ throw new IllegalStateException_0('Cannot fetch Text from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCastToString(this$static.content_0);
+}
+
+function $getWidget(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , WIDGET_0)) {
+ throw new IllegalStateException_0('Cannot fetch Widget from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCast(this$static.content_0, 17);
+}
+
+function $setColspan(this$static, colspan){
+ if (colspan < 1) {
+ throw new IllegalArgumentException_0('Colspan cannot be less than 1');
+ }
+ this$static.colspan = colspan;
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setHtml(this$static, html){
+ this$static.content_0 = html;
+ this$static.type_0 = ($clinit_GridStaticCellType() , HTML_1);
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setSection(this$static, section){
+ this$static.section = section;
+}
+
+function $setText_1(this$static, text_0){
+ this$static.content_0 = text_0;
+ this$static.type_0 = ($clinit_GridStaticCellType() , TEXT_0);
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setWidget_1(this$static, widget){
+ this$static.content_0 = widget;
+ this$static.type_0 = ($clinit_GridStaticCellType() , WIDGET_0);
+ $requestSectionRefresh(this$static.section);
+}
+
+defineClass(100, 1, {100:1});
+_.colspan = 1;
+_.content_0 = null;
+var Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection/StaticCell', 100, Ljava_lang_Object_2_classLit);
+function Grid$HeaderCell(){
+ this.type_0 = ($clinit_GridStaticCellType() , TEXT_0);
+}
+
+defineClass(85, 100, {85:1, 100:1}, Grid$HeaderCell);
+var Lcom_vaadin_client_widgets_Grid$HeaderCell_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/HeaderCell', 85, Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2_classLit);
+function $addCell(this$static, column){
+ var cell;
+ cell = new Grid$HeaderCell;
+ $setSection(cell, this$static.section);
+ this$static.cells_0.put(column, cell);
+}
+
+function $getCell_0(this$static, column){
+ var cellGroup;
+ cellGroup = $getCellGroupForColumn(this$static, column);
+ if (cellGroup) {
+ return dynamicCast(this$static.cellGroups.get_0(cellGroup), 100);
+ }
+ return dynamicCast(this$static.cells_0.get_0(column), 100);
+}
+
+function $getCellGroupForColumn(this$static, column){
+ var group, group$iterator;
+ for (group$iterator = $iterator(new AbstractMap$1(this$static.cellGroups)); group$iterator.val$outerIter2.hasNext();) {
+ group = dynamicCast($next_2(group$iterator), 64);
+ if (group.contains_0(column)) {
+ return group;
+ }
+ }
+ return null;
+}
+
+defineClass(84, 1, {84:1});
+var Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection/StaticRow', 84, Ljava_lang_Object_2_classLit);
+function Grid$HeaderRow(){
+ this.cells_0 = new HashMap;
+ this.cellGroups = new HashMap;
+}
+
+defineClass(223, 84, {84:1}, Grid$HeaderRow);
+_.isDefault = false;
+var Lcom_vaadin_client_widgets_Grid$HeaderRow_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/HeaderRow', 223, Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2_classLit);
+function $clinit_Grid$Section(){
+ $clinit_Grid$Section = emptyMethod;
+ HEADER = new Grid$Section('HEADER', 0);
+ BODY = new Grid$Section('BODY', 1);
+ FOOTER = new Grid$Section('FOOTER', 2);
+}
+
+function Grid$Section(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_10(){
+ $clinit_Grid$Section();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_client_widgets_Grid$Section_2_classLit, 1), $intern_5, 99, 0, [HEADER, BODY, FOOTER]);
+}
+
+defineClass(99, 6, {99:1, 3:1, 7:1, 6:1}, Grid$Section);
+var BODY, FOOTER, HEADER;
+var Lcom_vaadin_client_widgets_Grid$Section_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/Section', 99, Ljava_lang_Enum_2_classLit, values_10);
+function $initDone(this$static){
+ var checkBox, model;
+ if (instanceOf(this$static.this$01.selectionModel, 110) && !!this$static.this$01.header.defaultRow) {
+ model = dynamicCast(this$static.this$01.selectionModel, 110);
+ checkBox = new CheckBox;
+ $addValueChangeHandler_0(checkBox, new Grid$SelectionColumn$1(this$static, model));
+ $setWidget_1(dynamicCast($getCell_0(this$static.this$01.header.defaultRow, this$static), 85), checkBox);
+ }
+ $setWidth_6(this$static, -1);
+ $setEditable_0(this$static);
+ this$static.initDone = true;
+}
+
+function $setEditable_0(this$static){
+ if (this$static.initDone) {
+ throw new UnsupportedOperationException_0("can't set the selection column editable");
+ }
+ $setEditable(this$static);
+ return this$static;
+}
+
+function $setWidth_6(this$static, pixels){
+ if (pixels != this$static.widthUser && this$static.initDone) {
+ throw new UnsupportedOperationException_0('The selection column cannot be modified after init');
+ }
+ else {
+ $setWidth_5(this$static, pixels);
+ }
+ return this$static;
+}
+
+function Grid$SelectionColumn(this$0, selectColumnRenderer){
+ this.this$01 = this$0;
+ Grid$Column.call(this, selectColumnRenderer);
+ this.initDone = false;
+}
+
+defineClass(227, 30, {30:1}, Grid$SelectionColumn);
+_.getExpandRatio = function(){
+ return 0;
+}
+;
+_.getMaximumWidth = function(){
+ return -1;
+}
+;
+_.getMinimumWidth = function(){
+ return -1;
+}
+;
+_.getValue_0 = function(row){
+ return $clinit_Boolean() , $isSelected_0(this.this$01, row)?TRUE:FALSE;
+}
+;
+_.setWidth_0 = function(pixels){
+ return $setWidth_6(this, pixels);
+}
+;
+_.initDone = false;
+var Lcom_vaadin_client_widgets_Grid$SelectionColumn_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/SelectionColumn', 227, Lcom_vaadin_client_widgets_Grid$Column_2_classLit);
+function Grid$SelectionColumn$1(this$1, val$model){
+ this.this$11 = this$1;
+ this.val$model2 = val$model;
+}
+
+defineClass(236, 1, $intern_42, Grid$SelectionColumn$1);
+_.onValueChange_0 = function(event_0){
+ dynamicCast(event_0.value_0, 41).value_0?$fireEvent_0(this.this$11.this$01, new SelectAllEvent):$deselectAll(this.val$model2);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionColumn$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/SelectionColumn/1', 236, Ljava_lang_Object_2_classLit);
+function $clinit_Grid$SelectionMode(){
+ $clinit_Grid$SelectionMode = emptyMethod;
+ SINGLE = new Grid$SelectionMode$1;
+ MULTI = new Grid$SelectionMode$2;
+ NONE_1 = new Grid$SelectionMode$3;
+}
+
+function Grid$SelectionMode(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_11(){
+ $clinit_Grid$SelectionMode();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, 1), $intern_5, 71, 0, [SINGLE, MULTI, NONE_1]);
+}
+
+defineClass(71, 6, $intern_49);
+var MULTI, NONE_1, SINGLE;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode', 71, Ljava_lang_Enum_2_classLit, values_11);
+function Grid$SelectionMode$1(){
+ Grid$SelectionMode.call(this, 'SINGLE', 0);
+}
+
+defineClass(239, 71, $intern_49, Grid$SelectionMode$1);
+_.createModel = function(){
+ return new SelectionModelSingle;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$1_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/1', 239, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function Grid$SelectionMode$2(){
+ Grid$SelectionMode.call(this, 'MULTI', 1);
+}
+
+defineClass(240, 71, $intern_49, Grid$SelectionMode$2);
+_.createModel = function(){
+ return new SelectionModelMulti;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$2_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/2', 240, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function Grid$SelectionMode$3(){
+ Grid$SelectionMode.call(this, 'NONE', 2);
+}
+
+defineClass(241, 71, $intern_49, Grid$SelectionMode$3);
+_.createModel = function(){
+ return new SelectionModelNone;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$3_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/3', 241, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function $getSortOrder(this$static, column){
+ var order, order$iterator;
+ for (order$iterator = new Collections$UnmodifiableCollectionIterator(unmodifiableList(this$static.this$01.sortOrder).coll.iterator()); order$iterator.it.hasNext();) {
+ order = throwClassCastExceptionUnlessNull(order$iterator.it.next_0());
+ if (null.nullField == column) {
+ return order;
+ }
+ }
+ return null;
+}
+
+function $postAttach(this$static, row, attachedCells){
+ var cell, cell$iterator, cellElement, columns, gridRow, metadata, widget;
+ gridRow = $getRow_1(this$static.section, ($assertSetup_0(row) , row.row));
+ columns = unmodifiableList(new ArrayList_1(this$static.this$01.columns));
+ for (cell$iterator = attachedCells.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ metadata = $getCell_0(gridRow, dynamicCast($get_8(columns, ($assertSetup(cell) , cell.column)), 30));
+ if (($clinit_GridStaticCellType() , WIDGET_0) == metadata.type_0) {
+ widget = $getWidget(metadata);
+ cellElement = ($assertSetup(cell) , cell.element);
+ if (!widget.isAttached()) {
+ $appendChild(cellElement, $getElement(widget));
+ setParent(widget, this$static.this$01);
+ }
+ }
+ }
+}
+
+function $preDetach(this$static, row, cellsToDetach){
+ var cell, cell$iterator, columns, gridRow, metadata, widget;
+ if (this$static.section.rows_0.array.length > ($assertSetup_0(row) , row.row)) {
+ gridRow = $getRow_1(this$static.section, ($assertSetup_0(row) , row.row));
+ columns = unmodifiableList(new ArrayList_1(this$static.this$01.columns));
+ for (cell$iterator = cellsToDetach.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ metadata = $getCell_0(gridRow, dynamicCast($get_8(columns, ($assertSetup(cell) , cell.column)), 30));
+ if (($clinit_GridStaticCellType() , WIDGET_0) == metadata.type_0 && $getWidget(metadata).isAttached()) {
+ widget = $getWidget(metadata);
+ setParent(widget, null);
+ $removeFromParent($getElement(widget));
+ }
+ }
+ }
+}
+
+function Grid$StaticSectionUpdater(this$0, section, container){
+ this.this$01 = this$0;
+ this.section = section;
+ this.container = container;
+}
+
+defineClass(160, 1, {}, Grid$StaticSectionUpdater);
+_.postAttach = function(row, attachedCells){
+ $postAttach(this, row, attachedCells);
+}
+;
+_.postDetach = function(row, detachedCells){
+}
+;
+_.preAttach = function(row, cellsToAttach){
+}
+;
+_.preDetach = function(row, cellsToDetach){
+ $preDetach(this, row, cellsToDetach);
+}
+;
+_.update = function(row, cellsToUpdate){
+ var cell, cell$iterator, columns, element, metadata, staticRow, cellElement, column;
+ staticRow = $getRow_1(this.section, ($assertSetup_0(row) , row.row));
+ columns = unmodifiableList(new ArrayList_1(this.this$01.columns));
+ setCustomStyleName(($assertSetup_0(row) , row.element));
+ for (cell$iterator = cellsToUpdate.iterator(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 38);
+ metadata = $getCell_0(staticRow, dynamicCast($get_8(columns, ($assertSetup(cell) , cell.column)), 30));
+ !!staticRow && (cellElement = ($assertSetup(cell) , cell.element) , $removeAttribute(cellElement, 'sort-order') , $removeClassName(cellElement, 'sort-desc') , $removeClassName(cellElement, 'sort-asc') , column = $getColumn(this.this$01, ($assertSetup(cell) , cell.column)) , $getSortOrder(this, column) , undefined);
+ $setColSpan(cell, metadata.colspan);
+ element = ($assertSetup(cell) , cell.element);
+ switch (metadata.type_0.ordinal) {
+ case 0:
+ $setInnerText(element, $getText(metadata));
+ break;
+ case 1:
+ $setInnerHTML(element, $getHtml(metadata));
+ break;
+ case 2:
+ $preDetach(this, row, new Arrays$ArrayList(initValues(getClassLiteralForArray(Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit, 1), $intern_5, 38, 0, [cell])));
+ $setInnerHTML(element, '');
+ $postAttach(this, row, new Arrays$ArrayList(initValues(getClassLiteralForArray(Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit, 1), $intern_5, 38, 0, [cell])));
+ }
+ setCustomStyleName(element);
+ $updateFocusedCellStyle(this.this$01.cellFocusHandler, cell, this.container);
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSectionUpdater', 160, Ljava_lang_Object_2_classLit);
+function $sort(this$static, column){
+ if ($indexOf_4(this$static.this$01.columns, column, 0) == -1) {
+ throw new IllegalArgumentException_0('Given column is not a column in this grid. ' + $toString_2(column));
+ }
+ return;
+}
+
+function Grid$UserSorter(this$0){
+ this.this$01 = this$0;
+ new Grid$UserSorter$1(this);
+}
+
+defineClass(228, 1, {}, Grid$UserSorter);
+var Lcom_vaadin_client_widgets_Grid$UserSorter_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/UserSorter', 228, Ljava_lang_Object_2_classLit);
+function Grid$UserSorter$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(237, 46, {}, Grid$UserSorter$1);
+_.run = function(){
+ $sort(this.this$11, this.this$11.column);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$UserSorter$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/UserSorter/1', 237, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $clinit_HTMLDocument(){
+ $clinit_HTMLDocument = emptyMethod;
+ throwClassCastExceptionUnlessNull($doc);
+}
+
+defineClass(565, 1, {});
+_.addEventListener = function(event_0, listener){
+ this.addEventListener(event_0, listener);
+}
+;
+_.appendChild = function(element){
+ this.appendChild(element);
+}
+;
+_.children = function(){
+ return this.children;
+}
+;
+_.className = function(){
+ return this.className;
+}
+;
+_.className = function(string){
+ return _ = this , _.className = string , _;
+}
+;
+_.createShadowRoot = function(){
+ return this.createShadowRoot();
+}
+;
+_.dispatchEvent = function(ev){
+ this.dispatchEvent(ev);
+}
+;
+_.getAttribute = function(name_0){
+ return this.getAttribute(name_0);
+}
+;
+_.innerHTML = function(string){
+ this.innerHTML = string;
+}
+;
+_.innerText = function(){
+ return this.innerText;
+}
+;
+_.innerText = function(string){
+ this.innerText = string;
+}
+;
+_.setAttribute = function(name_0, value_0){
+ this.setAttribute(name_0, value_0);
+}
+;
+_.shadowRoot = function(){
+ return this.shadowRoot;
+}
+;
+_.style = function(){
+ return this.style;
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.html', 'HTMLElement/Prototype', 565, Ljava_lang_Object_2_classLit);
+defineClass(566, 565, {});
+var Lcom_vaadin_prototype_wc_gwt_client_html_HTMLTableElement$Prototype_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.html', 'HTMLTableElement/Prototype', 566, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+function $clinit_HTMLWindow(){
+ $clinit_HTMLWindow = emptyMethod;
+ window_2 = $wnd;
+}
+
+var window_2;
+function $clinit_Elements(){
+ $clinit_Elements = emptyMethod;
+ new HashSet;
+ window_3 = ($clinit_HTMLWindow() , window_2);
+ document_1 = window_3.document;
+ document_1.head;
+ document_1.body;
+ monkeyPatchHTMLElement();
+}
+
+function getWCOptions(elem){
+ function mixin(dest, src_0){
+ for (var k_0 in src_0) {
+ if (src_0.hasOwnProperty(k_0)) {
+ var r = /^jsProperty([A-Z].+)$/.exec(k_0);
+ if (r) {
+ var prpName = r[1].charAt(0).toLowerCase() + r[1].slice(1);
+ var getName = 'get' + r[1];
+ var setName = 'set' + r[1];
+ src_0[prpName] === undefined && Object.defineProperty(dest, prpName, {get:src_0[getName] || function(){
+ }
+ , set:src_0[setName] || function(){
+ }
+ , enumerable:true, configurable:true});
+ delete dest[getName];
+ delete dest[setName];
+ }
+ else {
+ dest[k_0] = src_0[k_0];
+ }
+ }
+ }
+ }
+
+ var eproto = $wnd.Object.create($wnd.HTMLElement.prototype);
+ var cproto = $wnd.Object.getPrototypeOf(elem);
+ mixin(eproto, cproto);
+ $wnd.__addEventListener_patched && (eproto.addEventListener = $wnd.__addEventListener_patched);
+ return {prototype:eproto};
+}
+
+function isEventListener(o){
+ return instanceOf(o, 21);
+}
+
+function monkeyPatchHTMLElement(){
+ if ($wnd.__addEventListener_org)
+ return;
+ console.log('Monkey Patched HTMLElement.addEventListener');
+ $wnd.__addEventListener_org = $wnd.HTMLElement.prototype.addEventListener;
+ $wnd.__addEventListener_patched = function(name_0, obj, bol){
+ var fnc = isEventListener(obj)?function(e){
+ obj.onBrowserEvent(e);
+ }
+ :obj;
+ $wnd.__addEventListener_org.call(this, name_0, fnc, bol);
+ }
+ ;
+ $wnd.HTMLElement.prototype.addEventListener = $wnd.__addEventListener_patched;
+}
+
+function registerElement(tag, elem){
+ $clinit_Elements();
+ var js;
+ js = getWCOptions(elem);
+ document_1.registerElement(tag, js);
+}
+
+var document_1, window_3;
+function Utils(){
+}
+
+function formatCurrency(val){
+ var fmt;
+ fmt = ($clinit_NumberFormat() , !cachedCurrencyFormat && (cachedCurrencyFormat = new NumberFormat_0(['USD', 'US$', 2, 'US$', '$'])) , $clinit_NumberFormat() , cachedCurrencyFormat);
+ return $format(fmt, val);
+}
+
+defineClass(567, 1, {}, Utils);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_Utils_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'Utils', 567, Ljava_lang_Object_2_classLit);
+function $clinit_WCUtils(){
+ $clinit_WCUtils = emptyMethod;
+ postThemeLoad = new WCUtils$1;
+}
+
+function getAttrFloatValue(el, attr, def){
+ $clinit_WCUtils();
+ try {
+ return (new Float_0(getAttrValue(el, attr, '' + def))).value_0;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 74)) {
+ return 0;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function getAttrValue(el, attr, def){
+ $clinit_WCUtils();
+ var val;
+ val = el.getAttribute(attr);
+ return val == null || !val.length?def:val;
+}
+
+function linksAndScripts(g){
+ var d, e, e$array, e$index, e$max, imports, toAdd;
+ imports = $find(g, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ["link[rel='import'], script[src]"]));
+ $each(imports, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new WCUtils$6(g)]));
+ toAdd = ($clinit_GQuery() , new GQuery_3(create_4(null)));
+ for (e$array = imports.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ d = dynamicCastJso($prop($(e), 'import'));
+ !!d && $add(toAdd, linksAndScripts($(d)));
+ }
+ return $pushStack(imports, copyNodeList(imports.nodeList, toAdd.nodeList, true), $join(',', initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, [imports.currentSelector, toAdd.currentSelector])));
+}
+
+function loadTheme(container, style, theme){
+ var global, key;
+ $clinit_WCUtils();
+ var base, l, links_0, s, v;
+ links_0 = linksAndScripts($(($clinit_GQuery() , document_0)));
+ l = $filter(links_0, new WCUtils$7);
+ s = $filter(links_0, new WCUtils$8);
+ v = $filter(links_0, new WCUtils$9);
+ base = $replace_0((key = '__gwtDevModeHook:' + $moduleName + ':moduleBase' , global = $wnd || self , global[key] || $moduleBase), $moduleName + '/', '');
+ if (l.elements.length == 0) {
+ base.indexOf('VAADIN/widgetsets') != -1?(base += '../themes/'):v.elements.length == 0?s.elements.length == 0 || (base += 'VAADIN/themes/'):(base = $replace_0(v.elements.length == 0?'':$getAttribute($get(v, 0), 'src'), 'vaadin-components.js', 'themes/'));
+ }
+ else {
+ base = $replaceFirst(l.elements.length == 0?'':$getAttribute($get(l, 0), 'href'), '[\\w\\-]+\\.html', '');
+ $matches(base, '^(|/|.*[\\w\\-]/)$')?(base += '../vaadin-'):(base += 'VAADIN/themes/');
+ }
+ base += theme + '/styles.css';
+ $addClass(container, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, [theme]));
+ $text_0(style, "@import url('" + base + "')");
+}
+
+function loadVaadinTheme(container, el, style, f){
+ $clinit_WCUtils();
+ var theme;
+ theme = getAttrValue(el, 'theme', null);
+ if (theme == null) {
+ return;
+ }
+ if ($indexOf_1($text($(style)), theme) != -1) {
+ return;
+ }
+ loadTheme($(container), $(style), theme);
+ waitUntilThemeLoaded($(style), f);
+}
+
+function observe(jso, ev){
+ $clinit_WCUtils();
+ if (!('observe' in Object)) {
+ $wnd.console.log('This browser does not support Object.observe, consider to load a polyfill.');
+ return;
+ }
+ var fnc = function(changes){
+ ev.onBrowserEvent(null);
+ }
+ ;
+ jso.__fnc = fnc;
+ Object.observe(jso, fnc);
+}
+
+function ready(fncs){
+ $clinit_WCUtils();
+ return $done(new WCUtils$2, fncs);
+}
+
+function unobserve(jso){
+ $clinit_WCUtils();
+ if (jso && jso.__fnc) {
+ Object.unobserve(jso, jso.__fnc);
+ jso.__fnc = undefined;
+ }
+}
+
+function waitUntilThemeLoaded(style, f){
+ $clinit_WCUtils();
+ var rows_0, sheet_0;
+ try {
+ sheet_0 = dynamicCastJso(style.elements.length == 0?null:prop_0($get(style, 0), 'sheet'));
+ if (sheet_0) {
+ rows_0 = dynamicCastJso(!sheet_0?null:$get_1(sheet_0, 'cssRules'));
+ !!rows_0 && rows_0.length > 0 && $scheduleRepeating(new WCUtils$4(rows_0, style, f));
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new WCUtils$5(style, f));
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+var postThemeLoad;
+function WCUtils$1(){
+ Function_0.call(this);
+}
+
+defineClass(311, 8, $intern_21, WCUtils$1);
+_.f_0 = function(){
+ var e, e$array, e$index, e$max;
+ for (e$array = ($clinit_GQuery() , $_0('v-grid', document_0)).elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ runJavascriptFunction(e, 'redraw', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, []));
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/1', 311, Lcom_google_gwt_query_client_Function_2_classLit);
+function $f_4(this$static, dfd){
+ 'complete' === $prop($(($clinit_GQuery() , document_0)), 'readyState')?$resolve(dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [])):$schedule(new WCUtils$2$1(this$static, dfd), 5);
+}
+
+function WCUtils$2(){
+ PromiseFunction.call(this);
+}
+
+defineClass(312, 154, $intern_27, WCUtils$2);
+_.f_3 = function(dfd){
+ $f_4(this, dfd);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/2', 312, Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit);
+function WCUtils$2$1(this$1, val$dfd){
+ this.this$11 = this$1;
+ this.val$dfd2 = val$dfd;
+ Timer.call(this);
+}
+
+defineClass(313, 46, {}, WCUtils$2$1);
+_.run = function(){
+ $f_4(this.this$11, this.val$dfd2);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/2/1', 313, Lcom_google_gwt_user_client_Timer_2_classLit);
+function WCUtils$3(){
+ Function_0.call(this);
+}
+
+defineClass(314, 8, $intern_21, WCUtils$3);
+_.f_0 = function(){
+ var body_0, style, theme;
+ body_0 = ($clinit_GQuery() , $_0('body', document_0));
+ theme = body_0.elements.length == 0?'':$getAttribute($get(body_0, 0), 'vaadin-theme');
+ if (theme.length) {
+ style = $_0('#__vaadin-style', document_0);
+ style.elements.length == 0 && (style = $appendTo($_0("<style id='__vaadin-style' language='text/css'><\/style>", document_0), $_0('head', document_0)));
+ loadTheme(body_0, style, theme);
+ waitUntilThemeLoaded(style, ($clinit_WCUtils() , postThemeLoad));
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/3', 314, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCUtils$4(val$rows, val$style, val$f){
+ this.val$rows1 = val$rows;
+ this.val$style2 = val$style;
+ this.val$f3 = val$f;
+ Timer.call(this);
+}
+
+defineClass(315, 46, {}, WCUtils$4);
+_.run = function(){
+ var e, importedSheet;
+ try {
+ importedSheet = dynamicCastJso(prop_0(dynamicCastJso(this.val$rows1[0]), 'styleSheet'));
+ if (importedSheet) {
+ $schedule(new WCUtils$4$1(this.val$f3), 500);
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [($clinit_GQuery() , 'Theme rules were loaded: ' + $text(this.val$style2))])));
+ $cancel_0(this);
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 9)) {
+ e = $e0;
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [($clinit_GQuery() , e)])));
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/4', 315, Lcom_google_gwt_user_client_Timer_2_classLit);
+function WCUtils$4$1(val$f){
+ this.val$f2 = val$f;
+ Timer.call(this);
+}
+
+defineClass(316, 46, {}, WCUtils$4$1);
+_.run = function(){
+ this.val$f2.f_0();
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/4/1', 316, Lcom_google_gwt_user_client_Timer_2_classLit);
+function WCUtils$5(val$style, val$f){
+ this.val$style1 = val$style;
+ this.val$f2 = val$f;
+}
+
+defineClass(317, 1, {}, WCUtils$5);
+_.execute_1 = function(){
+ waitUntilThemeLoaded(this.val$style1, this.val$f2);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$5_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/5', 317, Ljava_lang_Object_2_classLit);
+function WCUtils$6(val$g){
+ this.val$g1 = val$g;
+ Function_0.call(this);
+}
+
+defineClass(318, 8, $intern_21, WCUtils$6);
+_.f_0 = function(){
+ var a, attr;
+ a = $_0('<a>', $get(this.val$g1, 0));
+ attr = $prop($(this), 'href') != null?'href':'src';
+ $prop_0(a, $attr($(this), attr));
+ $attr_0($(this), attr, a.elements.length == 0?null:prop_0($get(a, 0), 'href'));
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$6_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/6', 318, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCUtils$7(){
+}
+
+defineClass(319, 47, $intern_22, WCUtils$7);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr($(e), 'href');
+ return $matches(h, '^(|.*/)(vaadin-[\\w\\-]+)\\.html');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$7_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/7', 319, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function WCUtils$8(){
+}
+
+defineClass(320, 47, $intern_22, WCUtils$8);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr($(e), 'src');
+ return $matches(h, '^.*\\.nocache.js.*');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$8_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/8', 320, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function WCUtils$9(){
+}
+
+defineClass(321, 47, $intern_22, WCUtils$9);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr($(e), 'src');
+ return $endsWith(h, 'vaadin-components.js');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$9_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/9', 321, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function $adjustHeight(this$static){
+ this$static.size_0 = this$static.grid.dataSource_0.size_2();
+ $adjustHeight_0(this$static, this$static.size_0);
+}
+
+function $adjustHeight_0(this$static, size_0){
+ var paramsForName;
+ if ((ensureListParameterMap() , paramsForName = dynamicCast(listParamMap.get_0('resize'), 32) , !paramsForName?null:dynamicCastToString(paramsForName.get_1(paramsForName.size_2() - 1))) != null && size_0 > 0) {
+ this$static.size_0 = size_0;
+ $setHeightMode_0(this$static.grid, ($clinit_HeightMode() , ROW));
+ $setHeightByRows_0(this$static.grid, size_0 < 10?size_0:10);
+ }
+}
+
+function $getGrid_0(this$static){
+ if (!this$static.grid) {
+ this$static.changed = true;
+ $initGrid(this$static);
+ }
+ return this$static.grid;
+}
+
+function $initGrid(this$static){
+ var c, cell, col, content_0, dataSource, header, i_0, j, k_0, l, offset, row, templateRegexp;
+ if (!this$static.changed) {
+ return;
+ }
+ this$static.changed = false;
+ instanceOf(this$static.grid.selectionModel, 131) && $equals_2($attr($(this$static), 'selectionMode'), 'multi')?$setSelectionMode(this$static.grid, ($clinit_Grid$SelectionMode() , MULTI)):instanceOf(this$static.grid.selectionModel, 103) && !$equals_2($attr($(this$static), 'selectionMode'), 'multi') && $setSelectionMode(this$static.grid, ($clinit_Grid$SelectionMode() , SINGLE));
+ while (this$static.gridColumns.array.length > 0) {
+ $removeColumn(this$static.grid, dynamicCast(this$static.gridColumns.remove_3(0), 30));
+ }
+ if (this$static.cols_0) {
+ for (i_0 = 0 , l = this$static.cols_0.size_2(); i_0 < l; i_0++) {
+ c = dynamicCast(this$static.cols_0.get_1(i_0), 82);
+ col = (templateRegexp = new RegExp('\\{\\{data\\}\\}', 'ig') , new WCVGrid$2(new WCVGrid$1(c, templateRegexp), c, i_0));
+ $addColumn(this$static.grid, col);
+ $add_6(this$static.gridColumns, col);
+ for (j = 0; j < $headerData(c).array.length; j++) {
+ this$static.grid.header.rows_0.array.length < $headerData(c).array.length && $appendRow(this$static.grid.header);
+ header = dynamicCast($get_7($headerData(c), j), 108);
+ offset = 0;
+ for (k_0 = 0; k_0 <= j + offset; k_0++) {
+ row = $getHeaderRow(this$static.grid, k_0);
+ i_0 != 0 && dynamicCast($getCell_0(row, $getColumn(this$static.grid, i_0 - 1)), 85).colspan != 1 && ++offset;
+ }
+ cell = dynamicCast($getCell_0($getHeaderRow(this$static.grid, j + offset), col), 85);
+ $setColspan(cell, round_int($getFloat(header.p, 'colSpan')));
+ content_0 = $get_0(header.p, 'content');
+ switch (valueOf_0($getStr(header.p, 'format')).ordinal) {
+ case 1:
+ $setHtml(cell, dynamicCastToString(content_0));
+ break;
+ case 2:
+ $setWidget_1(cell, dynamicCast(content_0, 17));
+ break;
+ case 0:
+ $setText_1(cell, dynamicCastToString(content_0));
+ }
+ }
+ }
+ $setDefaultHeaderRow(this$static.grid, $getHeaderRow(this$static.grid, this$static.headerDefaultRowIndex));
+ }
+ dataSource = createInstance($get($filter_0(this$static.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['table'])), 0), this$static);
+ if (dataSource) {
+ $setDataSource(this$static.grid, dataSource);
+ this$static.redraw();
+ }
+}
+
+function $setCols(this$static, cols_0){
+ this$static.changed = true;
+ this$static.cols_0 = cols_0;
+}
+
+function WCVGrid(){
+ this.$init();
+}
+
+function c_0(r){
+ r.defaultRowHeightShouldBeAutodetected = true;
+ r.autodetectRowHeightLater();
+}
+
+function createGridColumn(gColumn, idx){
+ var templateRegexp;
+ templateRegexp = new RegExp('\\{\\{data\\}\\}', 'ig');
+ return new WCVGrid$2(new WCVGrid$1(gColumn, templateRegexp), gColumn, idx);
+}
+
+defineClass(207, 566, {197:1, 149:1, 22:1, 546:1, 545:1}, WCVGrid);
+_.$init = function(){
+}
+;
+_.adjustHeight = function(){
+ $adjustHeight(this);
+}
+;
+_.adjustHeight_0 = function(size_0){
+ $adjustHeight_0(this, size_0);
+}
+;
+_.attachedCallback_0 = function(){
+ this.initWidgetSystem();
+}
+;
+_.attachedCallback = makeBridgeMethod(_.attachedCallback_0, false, []);
+_.attributeChangedCallback_0 = function(){
+ this.readAttributes();
+}
+;
+_.attributeChangedCallback = makeBridgeMethod(_.attributeChangedCallback_0, false, []);
+_.createdCallback_0 = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.style_0.setAttribute('language', 'text/css');
+ this.selectEvent = document_1.createEvent('HTMLEvents');
+ this.selectEvent.initEvent('select', false, false);
+ this.selectEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.cols_0 = new ArrayList;
+ this.gridColumns = new ArrayList;
+ this.grid = new Grid;
+ $addHandler_0(this.grid, this, ($clinit_SelectionEvent() , $clinit_SelectionEvent() , eventType_0));
+}
+;
+_.createdCallback = makeBridgeMethod(_.createdCallback_0, false, []);
+_.getCols = function(){
+ return this.cols_0;
+}
+;
+_.getColumns = function(){
+ var i_0, i0, l, l0;
+ if (this.columnsJso) {
+ for (i0 = 0 , l0 = this.columnsJso.length; i0 < l0; i0++) {
+ unobserve(dynamicCastJso(this.columnsJso[i0]));
+ }
+ }
+ this.columnsJso = dynamicCastJso($get_0($setColumns((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 119)), this.cols_0).p, 'columns'));
+ for (i_0 = 0 , l = this.columnsJso.length; i_0 < l; i_0++) {
+ observe(dynamicCastJso(this.columnsJso[i_0]), new WCVGrid$4(this));
+ }
+ return this.columnsJso;
+}
+;
+_.getDataSource = function(){
+ return createFunction();
+}
+;
+_.getGrid = function(){
+ return $getGrid_0(this);
+}
+;
+_.getHeightMode = function(){
+ return $toString_0(this.grid.escalator.heightMode);
+}
+;
+_.getRowCount = function(){
+ return this.size_0;
+}
+;
+_.getSelectedRow = function(){
+ return !this.grid || !this.grid.selectionModel || !instanceOf(this.grid.selectionModel, 95) || $getSelectedRow_0(this.grid) == null?-1:$indexOf_0(dynamicCast(this.grid.dataSource_0, 65), $getSelectedRow_0(this.grid));
+}
+;
+_.getSelectedRows = function(){
+ var c, i_0;
+ if (!this.selectedLock) {
+ !this.selectedJso && (this.selectedJso = []);
+ this.selectedJso.length = 0;
+ c = this.grid.selectionModel.getSelectedRows_0();
+ for (i_0 = c.iterator(); i_0.hasNext();) {
+ $push_0(this.selectedJso, $indexOf_0(dynamicCast(this.grid.dataSource_0, 65), i_0.next_0()));
+ }
+ unobserve(this.selectedJso);
+ observe(this.selectedJso, new WCVGrid$5(this));
+ }
+ return this.selectedJso;
+}
+;
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.initGrid = function(){
+ $initGrid(this);
+}
+;
+_.initWidgetSystem = function(){
+ var elementWidget, shadow, shadowPanel;
+ if (!this.initialized) {
+ this.initialized = true;
+ this.lightDom = $hide($children($(this)));
+ elementWidget = $widget($(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($(this), ($clinit_GQuery() , Widgets)), 66)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ $clinit_WCUtils();
+ if (($clinit_Boolean() , $equalsIgnoreCase('true', getAttrValue(this, 'shadow', 'false'))?TRUE:FALSE).value_0) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($(this.container), ($clinit_GQuery() , Widgets)), 66)), 0), 37);
+ shadowPanel.add_0(this.grid);
+ this.readAttributes();
+ $observe_0(dynamicCast($as(this.lightDom, ($clinit_Observe() , Observe)), 122), $subtree($childList($characterData($attributes((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit), 595)))))), this);
+ }
+}
+;
+_.jsPropertyColumns = function(){
+}
+;
+_.jsPropertyDataSource = function(){
+}
+;
+_.jsPropertyHeight = function(){
+}
+;
+_.jsPropertyHeightMode = function(){
+}
+;
+_.jsPropertyRowCount = function(){
+}
+;
+_.jsPropertySelectedRow = function(){
+}
+;
+_.jsPropertySelectedRows = function(){
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.loadHeaders = function(){
+ var $templateRow, $th, $theadRows, $ths, colList, colOffset, colSpan, colString, column, contentsMap, header, html, i_0, i0, i1, iterator, j, txt;
+ $theadRows = $find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['thead tr']));
+ txt = $toString_1($theadRows);
+ if ($theadRows.elements.length == 0 || $equals_2(txt, this.lastHeaders)) {
+ return;
+ }
+ this.lastHeaders = txt;
+ colList = new ArrayList;
+ contentsMap = new HashMap;
+ this.headerDefaultRowIndex = $index($theadRows, $get($find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['tr[default]'])), 0));
+ this.headerDefaultRowIndex == -1 && (this.headerDefaultRowIndex = 0);
+ for (i0 = 0; i0 < $theadRows.elements.length; i0++) {
+ $ths = $children_0($($get($theadRows, i0)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['th']));
+ while (colList.array.length < $ths.elements.length) {
+ column = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 82));
+ contentsMap.put(column, new ArrayList);
+ setCheck(colList.array, colList.array.length, column);
+ }
+ }
+ for (i1 = 0; i1 < $theadRows.elements.length; i1++) {
+ $ths = $children_0($($get($theadRows, i1)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['th']));
+ colOffset = 0;
+ for (j = 0; j < $ths.elements.length; j++) {
+ column = (checkElementIndex(j + colOffset, colList.array.length) , dynamicCast(colList.array[j + colOffset], 82));
+ header = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 108));
+ $th = $($get($ths, j));
+ $setValue_2(column, $th.elements.length == 0?'':$getAttribute($get($th, 0), 'name'));
+ colSpan = 1;
+ colString = $th.elements.length == 0?'':$getAttribute($get($th, 0), 'colspan');
+ if (colString.length) {
+ colSpan = __parseAndValidateInt(colString);
+ colOffset += colSpan - 1;
+ }
+ $setFormat($setContent(($setNumber(header.p, colSpan) , header), $th.elements.length == 0?'':$getInnerHTML($get($th, 0))), ($clinit_GData$GColumn$GHeader$Format() , HTML_0));
+ dynamicCast(contentsMap.get_0(column), 32).add_1(header);
+ }
+ }
+ iterator = $iterator(new AbstractMap$1(contentsMap));
+ $remove($find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['div[v-wc-container]'])), true);
+ $templateRow = $find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['tr[template] td']));
+ for (i_0 = 0; iterator.val$outerIter2.hasNext(); i_0++) {
+ column = dynamicCast($next_2(iterator), 82);
+ $setHeaderData(column, dynamicCast(contentsMap.get_0(column), 32));
+ if (i_0 < $templateRow.elements.length) {
+ html = $html($($get($templateRow, i_0)));
+ $set(column.p, 'template', html);
+ }
+ }
+ this.changed = true;
+ this.cols_0 = colList;
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.onMutation_0 = function(mutations){
+ this.readAttributes();
+ this.refresh();
+}
+;
+_.onMutation = makeBridgeMethod(_.onMutation_0, false, [false]);
+_.onSelect_0 = function(ev){
+ if (!this.refreshing) {
+ this.refreshing = true;
+ this.dispatchEvent(this.selectEvent);
+ $matches(this.getAttribute('selectedRow'), '\\s*\\{\\{.+\\}\\}\\s*') || this.setAttribute('selectedRow', '' + (this.selectedRow < 0?'':valueOf_2(this.selectedRow)));
+ this.refreshing = false;
+ }
+}
+;
+_.onSelect = makeBridgeMethod(_.onSelect_0, false, [false]);
+_.onValueChange_0 = function(ev){
+}
+;
+_.onValueChange = makeBridgeMethod(_.onValueChange_0, false, [false]);
+_.parseAttributeDeclarations = function(){
+ var count, dataPath, jso, match_0, regex;
+ dataPath = this.getAttribute('dataSource');
+ regex = new RegExp('\\{\\{\\s*(\\w+)\\s*\\}\\}');
+ match_0 = regex.exec(dataPath);
+ if (match_0) {
+ jso = dynamicCastJso(prop_0(($clinit_GQuery() , window_1), match_0[1]));
+ if (isFunction(jso)) {
+ count = this.getAttribute('rowCount');
+ match_0 = regex.exec(count);
+ !!match_0 && (count = '' + prop_0(window_1, match_0[1]));
+ count != null && $matches(count, '[\\d\\.\\+]+') && (this.rowCount = valueOf_2(__parseAndValidateInt(count)).value_0);
+ this.dataSource = jso;
+ }
+ else
+ isArray(jso)?(this.dataSource = jso):$log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, ['Unknown type of datasource: ' + jso])));
+ }
+}
+;
+_.readAttributes = function(){
+ var p, type_0, url_0;
+ if (this.refreshing) {
+ return;
+ }
+ $clinit_WCUtils();
+ loadVaadinTheme(this.container, this, this.style_0, postThemeLoad);
+ this.loadHeaders();
+ $initGrid(this);
+ this.parseAttributeDeclarations();
+ this.selectedRow = round_int(getAttrFloatValue(this, 'selectedRow', -1));
+ type_0 = getAttrValue(this, 'type', null);
+ url_0 = getAttrValue(this, 'url', null);
+ if ($equals_2('ajax', type_0) && url_0 != null) {
+ p = {};
+ $put(p, 'url', url_0);
+ this.dataSource = p;
+ }
+}
+;
+_.redraw = function(){
+ var c, c$iterator, columnConfiguration, e, i_0;
+ e = this.grid.escalator;
+ c_0(e.header);
+ c_0(e.footer);
+ c_0(e.body_0);
+ columnConfiguration = e.columnConfiguration;
+ for (i_0 = 0; i_0 < columnConfiguration.columns.array.length; i_0++) {
+ $setColumnWidth(columnConfiguration, i_0, ($checkValidColumnIndex(columnConfiguration, i_0) , dynamicCast($get_6(columnConfiguration.columns, i_0), 72).definedWidth));
+ }
+ for (c$iterator = new AbstractList$IteratorImpl(this.gridColumns); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , dynamicCast(c$iterator.this$01_0.get_1(c$iterator.last = c$iterator.i++), 30));
+ c.setWidth_0(-2);
+ break;
+ }
+}
+;
+_.refresh = function(){
+ var a;
+ if (instanceOf(this.grid.dataSource_0, 54)) {
+ a = this.selectedRow;
+ dynamicCast(this.grid.dataSource_0, 54).refresh_0();
+ if (a > 0) {
+ this.refreshing = true;
+ $(this).delay_0(5, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new WCVGrid$3(this, a)]));
+ }
+ }
+ else
+ !!this.grid.dataSource_0 && $setDataSource(this.grid, this.grid.dataSource_0);
+}
+;
+_.setCols = function(cols_0){
+ $setCols(this, cols_0);
+}
+;
+_.setColumnWidth = function(column, width_0){
+ $getColumn(this.grid, column).setWidth_0(width_0);
+}
+;
+_.setColumns = function(newCols){
+ this.changed = true;
+ this.cols_0 = $columns(dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 119)).set_0('columns', newCols), 119));
+}
+;
+_.setDataSource = function(jso){
+ if (isFunction(jso)) {
+ $setDataSource(this.grid, new GJsFuncDataSource(jso, this.size_0, this));
+ }
+ else if (isArray(jso)) {
+ this.loadHeaders();
+ $setDataSource(this.grid, new GJsObjectDataSource(jso, this));
+ }
+ else {
+ if ((!jso?null:$get_1(jso, 'url')) != null) {
+ this.loadHeaders();
+ new GRestDataSource(jso, this);
+ }
+ else {
+ throw new RuntimeException_0('Unknown jso: ' + jso);
+ }
+ }
+}
+;
+_.setHeight = function(height){
+ $setHeight_4(this.grid, height);
+}
+;
+_.setHeightMode = function(mode){
+ $setHeightMode_0(this.grid, ($clinit_HeightMode() , dynamicCast(valueOf(($clinit_HeightMode$Map() , $MAP_0), mode), 92)));
+}
+;
+_.setRowCount = function(rows_0){
+ this.size_0 = round_int(rows_0);
+ $adjustHeight_0(this, this.size_0);
+}
+;
+_.setSelectedRow = function(idx){
+ var $tmp$0;
+ var row;
+ if (idx < 0 || idx >= this.grid.dataSource_0.size_2()) {
+ if (this.selectedRow >= 0) {
+ row = dynamicCastJso(this.grid.dataSource_0.getRow(this.selectedRow));
+ !!row && $deselect_1(this.grid, row);
+ }
+ }
+ else {
+ row = dynamicCastJso(this.grid.dataSource_0.getRow(idx));
+ !!row && $select_3(this.grid, row);
+ }
+ $tmp$0 = this;
+ trampolineBridgeMethod($tmp$0, $tmp$0.onSelect, $tmp$0.onSelect_0).bind($tmp$0)(null);
+}
+;
+_.setSelectedRows = function(arr){
+ var i_0, l;
+ arr != this.selectedJso && unobserve(this.selectedJso);
+ this.selectedJso = arr;
+ this.selectedLock = true;
+ this.grid.selectionModel.reset_1();
+ for (i_0 = 0 , l = this.selectedJso.length; i_0 < l; i_0++) {
+ $select_3(this.grid, dynamicCastJso(this.grid.dataSource_0.getRow(this.selectedJso[i_0])));
+ }
+ this.selectedLock = false;
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.changed = true;
+_.headerDefaultRowIndex = 0;
+_.initialized = false;
+_.lastHeaders = null;
+_.refreshing = false;
+_.selectedLock = false;
+_.size_0 = 0;
+var TAG = 'v-grid';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid', 207, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLTableElement$Prototype_2_classLit);
+function WCVGrid$1(val$gColumn, val$templateRegexp){
+ this.val$gColumn1 = val$gColumn;
+ this.val$templateRegexp2 = val$templateRegexp;
+}
+
+defineClass(208, 1, {}, WCVGrid$1);
+_.render = function(cell, data_0){
+ var elm, o;
+ o = $getJavaScriptObject(this.val$gColumn1.p, 'renderer');
+ elm = $getElement_0(cell.cell);
+ if (o) {
+ if (isFunction(o)) {
+ jsni(o, 'call', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [o, elm, data_0, cell.rowReference.row]));
+ }
+ else {
+ if ($data($(elm)) == null) {
+ $data_0($(elm), ($clinit_Boolean() , $clinit_Boolean() , TRUE));
+ jsni(o, 'init', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [elm]));
+ }
+ jsni(o, 'render', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [elm, data_0]));
+ }
+ }
+ else {
+ $getStr(this.val$gColumn1.p, 'template') != null?$setInnerHTML(elm, $replace(this.val$templateRegexp2, $getStr(this.val$gColumn1.p, 'template'), '' + data_0)):$setInnerHTML(elm, '' + data_0);
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/1', 208, Ljava_lang_Object_2_classLit);
+function $getValue_0(this$static, row){
+ var o, p;
+ o = $get_0(this$static.val$gColumn2.p, 'value');
+ if (instanceOfJso(o) && isFunction(dynamicCastJso(o))) {
+ o = runJavascriptFunction(dynamicCastJso(o), 'call', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [o, row, valueOf_2(this$static.val$idx3)]));
+ }
+ else if (isJavaString(o)) {
+ o = !row?null:$get_1(row, o);
+ }
+ else {
+ if (isArray(row)) {
+ o = $getObject(row, this$static.val$idx3);
+ }
+ else {
+ p = row;
+ o = $getObject_0(p, $keys(p)[this$static.val$idx3]);
+ }
+ }
+ return o;
+}
+
+function WCVGrid$2($anonymous0, val$gColumn, val$idx){
+ this.val$gColumn2 = val$gColumn;
+ this.val$idx3 = val$idx;
+ Grid$Column.call(this, $anonymous0);
+}
+
+defineClass(209, 30, {30:1}, WCVGrid$2);
+_.getValue_0 = function(row){
+ return $getValue_0(this, dynamicCastJso(row));
+}
+;
+_.val$idx3 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/2', 209, Lcom_vaadin_client_widgets_Grid$Column_2_classLit);
+function WCVGrid$3(this$0, val$a){
+ this.this$01 = this$0;
+ this.val$a2 = val$a;
+ Function_0.call(this);
+}
+
+defineClass(210, 8, $intern_21, WCVGrid$3);
+_.f_0 = function(){
+ this.this$01.selectedRow = this.val$a2;
+ this.this$01.refreshing = false;
+}
+;
+_.val$a2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/3', 210, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCVGrid$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(211, 1, {21:1}, WCVGrid$4);
+_.onBrowserEvent = function(event_0){
+ this.this$01.refresh();
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$4_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/4', 211, Ljava_lang_Object_2_classLit);
+function WCVGrid$5(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(212, 1, {21:1}, WCVGrid$5);
+_.onBrowserEvent = function(event_0){
+ this.this$01.selectedRows = this.this$01.selectedJso;
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/5', 212, Ljava_lang_Object_2_classLit);
+function WCVProgress(){
+ this.$init_0();
+}
+
+defineClass(278, 565, {197:1, 22:1}, WCVProgress);
+_.$init_0 = function(){
+}
+;
+_.attachedCallback_0 = function(){
+ this.initWidgetSystem_0();
+}
+;
+_.attachedCallback = makeBridgeMethod(_.attachedCallback_0, false, []);
+_.attributeChangedCallback_0 = function(){
+ this.readAttributes_0();
+}
+;
+_.attributeChangedCallback = makeBridgeMethod(_.attributeChangedCallback_0, false, []);
+_.createdCallback_0 = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.progress = new VProgressBar;
+ this.changeEvent = document_1.createEvent('HTMLEvents');
+ this.changeEvent.initEvent('change', false, false);
+ this.changeEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.container.setAttribute('v-wc-container', '');
+ this.readAttributes_0();
+}
+;
+_.createdCallback = makeBridgeMethod(_.createdCallback_0, false, []);
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.getValue = function(){
+ return 0;
+}
+;
+_.initWidgetSystem_0 = function(){
+ var elementWidget, shadow, shadowPanel;
+ if (!this.initialized) {
+ this.initialized = true;
+ elementWidget = $widget($(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($(this), ($clinit_GQuery() , Widgets)), 66)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ if (this.getAttribute('shadow') != null) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ $remove($children($(this)), true);
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($(this.container), ($clinit_GQuery() , Widgets)), 66)), 0), 37);
+ shadowPanel.add_0(this.progress);
+ }
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.jsPropertyValue = function(){
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.readAttributes_0 = function(){
+ $setState_0(this.progress, getAttrFloatValue(this, 'value', 0));
+ $clinit_WCUtils();
+ loadVaadinTheme(this.container, this, this.style_0, postThemeLoad);
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.setValue = function(value_0){
+ $setState_0(this.progress, value_0);
+}
+;
+_.initialized = false;
+var TAG_0 = 'v-progress';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVProgress', 278, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+function WCVSlider(){
+ this.$init_1();
+}
+
+defineClass(280, 565, {197:1, 149:1, 22:1}, WCVSlider);
+_.$init_1 = function(){
+}
+;
+_.attachedCallback_0 = function(){
+ this.initWidgetSystem_1();
+ $buildBase(this.slider);
+}
+;
+_.attachedCallback = makeBridgeMethod(_.attachedCallback_0, false, []);
+_.attributeChangedCallback_0 = function(){
+ this.readAttributes_1();
+}
+;
+_.attributeChangedCallback = makeBridgeMethod(_.attributeChangedCallback_0, false, []);
+_.createdCallback_0 = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.slider = new VSlider;
+ $addHandler_0(this.slider, this, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3));
+ this.changeEvent = document_1.createEvent('HTMLEvents');
+ this.changeEvent.initEvent('change', false, false);
+ this.changeEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.readAttributes_1();
+}
+;
+_.createdCallback = makeBridgeMethod(_.createdCallback_0, false, []);
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.getValue = function(){
+ return this.slider.value_0.value_0;
+}
+;
+_.initWidgetSystem_1 = function(){
+ var elementWidget, shadow, shadowPanel;
+ if (!this.initialized) {
+ this.initialized = true;
+ elementWidget = $widget($(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($(this), ($clinit_GQuery() , Widgets)), 66)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ if (this.getAttribute('shadow') != null) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ $remove($children($(this)), true);
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($(this.container), ($clinit_GQuery() , Widgets)), 66)), 0), 37);
+ shadowPanel.add_0(this.slider);
+ }
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.jsPropertyValue = function(){
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.onValueChange_0 = function(ev){
+ var val;
+ val = '' + dynamicCast(ev.value_0, 14).value_0;
+ if (!$equals_2(val, this.getAttribute('value'))) {
+ this.setAttribute('value', val);
+ this.dispatchEvent(this.changeEvent);
+ this.value = (new Double_0(val)).value_0;
+ }
+}
+;
+_.onValueChange = makeBridgeMethod(_.onValueChange_0, false, [false]);
+_.readAttributes_1 = function(){
+ $clinit_WCUtils();
+ loadVaadinTheme(this.container, this, this.style_0, postThemeLoad);
+ $setMinValue(this.slider, getAttrFloatValue(this, 'min', 0));
+ $setMaxValue(this.slider, getAttrFloatValue(this, 'max', 100));
+ $setValue_0(this.slider, new Double(getAttrFloatValue(this, 'value', 0)));
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.setValue = function(value_0){
+ $setValue_0(this.slider, new Double(value_0));
+}
+;
+_.initialized = false;
+var TAG_1 = 'v-slider';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVSlider', 280, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse/GAjaxColumn');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader');
+function $clinit_GData$GColumn$GHeader$Format(){
+ $clinit_GData$GColumn$GHeader$Format = emptyMethod;
+ TEXT = new GData$GColumn$GHeader$Format('TEXT', 0);
+ HTML_0 = new GData$GColumn$GHeader$Format('HTML', 1);
+ WIDGET = new GData$GColumn$GHeader$Format('WIDGET', 2);
+}
+
+function GData$GColumn$GHeader$Format(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function valueOf_0(name_0){
+ $clinit_GData$GColumn$GHeader$Format();
+ return valueOf(($clinit_GData$GColumn$GHeader$Format$Map() , $MAP), name_0);
+}
+
+function values_12(){
+ $clinit_GData$GColumn$GHeader$Format();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit, 1), $intern_5, 86, 0, [TEXT, HTML_0, WIDGET]);
+}
+
+defineClass(86, 6, {86:1, 3:1, 7:1, 6:1}, GData$GColumn$GHeader$Format);
+var HTML_0, TEXT, WIDGET;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit = createForEnum('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader/Format', 86, Ljava_lang_Enum_2_classLit, values_12);
+function $clinit_GData$GColumn$GHeader$Format$Map(){
+ $clinit_GData$GColumn$GHeader$Format$Map = emptyMethod;
+ $MAP = createValueOfMap(($clinit_GData$GColumn$GHeader$Format() , initValues(getClassLiteralForArray(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit, 1), $intern_5, 86, 0, [TEXT, HTML_0, WIDGET])));
+}
+
+var $MAP;
+function $configColumnsFromFirstDataRow(this$static, p){
+ var colList, k_0, k$array, k$index, k$max, l;
+ colList = new ArrayList;
+ for (k$array = $keys(p) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ l = new ArrayList;
+ $add_6(l, $setColSpan_0($setFormat($setContent((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 108)), k_0), ($clinit_GData$GColumn$GHeader$Format() , HTML_0))));
+ $add_6(colList, $setHeaderData($setValue_2((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 82)), k_0), l));
+ }
+ if (this$static.wcGrid) {
+ $setCols(this$static.wcGrid, colList);
+ $initGrid(this$static.wcGrid);
+ }
+ return colList;
+}
+
+function $configColumsFromAjaxResponse(this$static, cfgs){
+ var c, c$iterator, colList, l;
+ colList = new ArrayList;
+ for (c$iterator = new AbstractList$IteratorImpl(cfgs); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , dynamicCast(c$iterator.this$01_0.get_1(c$iterator.last = c$iterator.i++), 550));
+ l = new ArrayList;
+ $add_6(l, $setColSpan_0($setFormat($setContent((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 108)), $getStr(c.p, 'title')), ($clinit_GData$GColumn$GHeader$Format() , HTML_0))));
+ $add_6(colList, $setHeaderData($setValue_2((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 82)), $getStr(c.p, 'name')), l));
+ }
+ if (this$static.wcGrid) {
+ $setCols(this$static.wcGrid, colList);
+ $initGrid(this$static.wcGrid);
+ }
+ return colList;
+}
+
+function $setRowData_0(this$static, idx, array){
+ var g, a, l;
+ g = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 119)).set_0('values', array), 119);
+ $setRowData(this$static, idx, (a = $getArray(g.p, 'values') , l = !a?0:a.length , new Arrays$ArrayList($getArrayBase(g, initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_5, 0, l, 2, 1), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit))));
+}
+
+function $setRowDataFromJs(this$static, idx, count, cols_0, data_0){
+ if (data_0.length > 0) {
+ !isArray(data_0[0]) && (!cols_0 || cols_0.isEmpty()) && (cols_0 = $configColumnsFromFirstDataRow(this$static, data_0[0]));
+ $setRowData_0(this$static, idx, data_0.slice(idx, idx + count));
+ }
+ return cols_0;
+}
+
+function GDataSource(grid){
+ this.requestedAvailability = new Range_0(0, 0);
+ this.cached = new Range_0(0, 0);
+ this.indexToRowMap = new HashMap;
+ this.keyToIndexMap = new HashMap;
+ this.cacheStrategy = new CacheStrategy$DefaultCacheStrategy;
+ this.coverageChecker = new AbstractRemoteDataSource$1(this);
+ this.pinnedCounts = new HashMap;
+ this.pinnedRows = new HashMap;
+ $clinit_Collections();
+ this.wcGrid = grid;
+}
+
+defineClass(54, 65, $intern_50);
+_.getRowKey_0 = function(row){
+ return row;
+}
+;
+_.getRowKey = function(row){
+ return this.getRowKey_0(dynamicCastJso(row));
+}
+;
+_.refresh_0 = function(){
+ $resetDataAndSize(this, this.size_0);
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 300;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GDataSource', 54, Lcom_vaadin_client_data_AbstractRemoteDataSource_2_classLit);
+function GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(487, 55, {52:1, 45:1, 550:1}, GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder', 487, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function GData_GAjaxConf_GAjaxResponse_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(486, 55, {52:1, 45:1, 549:1}, GData_GAjaxConf_GAjaxResponse_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_GAjaxResponse_JsonBuilder', 486, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function GData_GAjaxConf_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(485, 55, {52:1, 45:1, 548:1}, GData_GAjaxConf_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_JsonBuilder', 485, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $setColSpan_0(this$static){
+ $setNumber(this$static.p, 1);
+ return this$static;
+}
+
+function $setContent(this$static, a){
+ $set(this$static.p, 'content', a);
+ return this$static;
+}
+
+function $setFormat(this$static, a){
+ $set(this$static.p, 'format', a.name_0 != null?a.name_0:'' + a.ordinal);
+ return this$static;
+}
+
+function GData_GColumn_GHeader_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(489, 55, {52:1, 45:1, 108:1}, GData_GColumn_GHeader_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GColumn_GHeader_JsonBuilder', 489, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $headerData(this$static){
+ var a, l;
+ a = $getArray(this$static.p, 'headerData');
+ l = !a?0:a.length;
+ return new Arrays$ArrayList(dynamicCast($getIsPropertiesArrayBase(a, initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit, $intern_51, 108, l, 0, 1), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 204));
+}
+
+function $setHeaderData(this$static, a){
+ $setArrayBase(this$static, 'headerData', dynamicCast(a.toArray_0(initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit, $intern_51, 108, 0, 0, 1)), 204));
+ return this$static;
+}
+
+function $setValue_2(this$static, a){
+ $set(this$static.p, 'value', a);
+ return this$static;
+}
+
+function GData_GColumn_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(488, 55, {52:1, 45:1, 82:1}, GData_GColumn_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GColumn_JsonBuilder', 488, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $columns(this$static){
+ var a, l;
+ a = $getArray(this$static.p, 'columns');
+ l = !a?0:a.length;
+ return new Arrays$ArrayList(dynamicCast($getIsPropertiesArrayBase(a, initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit, $intern_52, 82, l, 0, 1), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 203));
+}
+
+function $setColumns(this$static, a){
+ $setArrayBase(this$static, 'columns', dynamicCast(a.toArray_0(initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit, $intern_52, 82, 0, 0, 1)), 203));
+ return this$static;
+}
+
+function GData_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(484, 55, {52:1, 45:1, 119:1}, GData_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_JsonBuilder', 484, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function GDomTableDataSource(table, grid){
+ GDataSource.call(this, grid);
+ if (!(!!table && $equalsIgnoreCase('table', ($clinit_DOMImpl() , table).tagName))) {
+ debugger;
+ throw new AssertionError;
+ }
+ this.table = table;
+ this.size_0 = ((!this.tableRows || this.tableRows.elements.length == 0) && (this.tableRows = $find($(this.table), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['tbody tr:not([template])']))) , this.tableRows).elements.length;
+}
+
+function createInstance(table, grid){
+ var dataSource;
+ dataSource = new GDomTableDataSource(table, grid);
+ return dataSource.size_0 > 0?dataSource:null;
+}
+
+defineClass(302, 54, $intern_50, GDomTableDataSource);
+_.refresh_0 = function(){
+ this.tableRows = null;
+ this.size_0 = ((!this.tableRows || this.tableRows.elements.length == 0) && (this.tableRows = $find($(this.table), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['tbody tr:not([template])']))) , this.tableRows).elements.length;
+ $resetDataAndSize(this, this.size_0);
+}
+;
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ var e, e$array, e$index, e$max, list, row, row$array, row$index, row$max, values;
+ list = new ArrayList;
+ for (row$array = $slice($slice(((!this.tableRows || this.tableRows.elements.length == 0) && (this.tableRows = $find($(this.table), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['tbody tr:not([template])']))) , this.tableRows), firstRowIndex - 1 + 1, -1), 0, numberOfRows).elements , row$index = 0 , row$max = row$array.length; row$index < row$max; ++row$index) {
+ row = row$array[row$index];
+ values = [];
+ for (e$array = $find($(row), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_5, 2, 4, ['td'])).elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $push_1(values, $html($(e)));
+ }
+ setCheck(list.array, list.array.length, values);
+ }
+ $setRowData(this, firstRowIndex, list);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDomTableDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GDomTableDataSource', 302, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function $exec_1(f, idx, count, cb){
+ return f(idx, count, function(r){
+ cb.onSuccess_0(r);
+ }
+ );
+}
+
+function GJsFuncDataSource(jso, rows_0, grid){
+ GDataSource.call(this, grid);
+ if (!isFunction(jso)) {
+ debugger;
+ throw new AssertionError;
+ }
+ this.f = jso;
+ this.size_0 = rows_0;
+}
+
+defineClass(308, 54, $intern_50, GJsFuncDataSource);
+_.getRowKey_0 = function(row){
+ return $JSON2String(row);
+}
+;
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ var o;
+ o = $exec_1(this.f, firstRowIndex, numberOfRows, new GJsFuncDataSource$1(this, firstRowIndex));
+ !!o && $setRowData_0(this, firstRowIndex, o);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsFuncDataSource', 308, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function $onSuccess_0(this$static, result){
+ $setRowData_0(this$static.this$01, this$static.val$firstRowIndex2, result);
+}
+
+function GJsFuncDataSource$1(this$0, val$firstRowIndex){
+ this.this$01 = this$0;
+ this.val$firstRowIndex2 = val$firstRowIndex;
+}
+
+defineClass(309, 1, {}, GJsFuncDataSource$1);
+_.onFailure_2 = function(caught){
+}
+;
+_.onSuccess_0 = function(result){
+ $onSuccess_0(this, dynamicCastJso(result));
+}
+;
+_.val$firstRowIndex2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsFuncDataSource/1', 309, Ljava_lang_Object_2_classLit);
+function GJsObjectDataSource(jso, grid){
+ GDataSource.call(this, grid);
+ if (!isArray(jso)) {
+ debugger;
+ throw new AssertionError;
+ }
+ this.jso = jso;
+ this.size_0 = jso.length;
+}
+
+defineClass(310, 54, $intern_50, GJsObjectDataSource);
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ var cols_0;
+ cols_0 = this.wcGrid.cols_0;
+ $setRowDataFromJs(this, firstRowIndex, numberOfRows, cols_0, this.jso);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsObjectDataSource', 310, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function $requestRows(this$static, firstRowIndex, numberOfRows){
+ var url_0, s, onSuccess, onError, dataType, ret;
+ url_0 = $replace_0($replace_0($getStr(this$static.ajaxCfg.p, 'url'), '{START}', '' + firstRowIndex), '{LENGTH}', '' + numberOfRows);
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_5, 1, 3, [($clinit_GQuery() , url_0)])));
+ $clinit_Ajax();
+ $fail($done((s = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit), 606)) , $set(s.p, 'url', url_0) , $set(s.p, 'dataType', 'txt') , $set(s.p, 'type', 'post') , $set(s.p, 'data', null) , $setFunction(s.p, 'success', null) , resolveSettings(s) , onSuccess = $getFunction(s.p, 'success') , !!onSuccess && $setElement(onSuccess, $getJavaScriptObject(s.p, 'context')) , onError = $getFunction(s.p, 'error') , !!onError && $setElement(onError, $getJavaScriptObject(s.p, 'context')) , dataType = $getStr(s.p, 'dataType') , $equalsIgnoreCase('jsonp', dataType)?(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , new PromiseReqBuilderJSONP($getStr(s.p, 'url'), round_int($getFloat(s.p, 'timeout'))))):$equalsIgnoreCase('loadscript', dataType)?(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , new AjaxTransportJs$1(s))):(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , $then(new PromiseReqBuilder(s), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new Ajax$2(dataType), new Ajax$3])))) , !!onSuccess && $done(ret, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [onSuccess])) , !!onError && $fail(ret, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [onError])) , ret), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new GRestDataSource$1(this$static, numberOfRows, firstRowIndex)])), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_5, 8, 0, [new GRestDataSource$2(url_0)]));
+}
+
+function GRestDataSource(cfg, grid){
+ GDataSource.call(this, grid);
+ this.ajaxCfg = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit), 548)).load(cfg), 548);
+ $requestRows(this, 0, 0);
+}
+
+defineClass(305, 54, $intern_50, GRestDataSource);
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ $requestRows(this, firstRowIndex, numberOfRows);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource', 305, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function GRestDataSource$1(this$0, val$numberOfRows, val$firstRowIndex){
+ this.this$01 = this$0;
+ this.val$numberOfRows2 = val$numberOfRows;
+ this.val$firstRowIndex3 = val$firstRowIndex;
+ Function_0.call(this);
+}
+
+defineClass(306, 8, $intern_21, GRestDataSource$1);
+_.f_0 = function(){
+ var cfgs, cols_0, data_0, json, r, a, l;
+ json = dynamicCastToString($getArgument(this, 0, null));
+ r = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit), 549)).parse_0(json, false), 549);
+ this.this$01.size_0 = round_int($getFloat(r.p, 'size'));
+ cfgs = (a = $getArray(r.p, 'columns') , l = !a?0:a.length , new Arrays$ArrayList(dynamicCast($getIsPropertiesArrayBase(a, initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit, {608:1, 3:1, 4:1}, 550, l, 0, 1), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit), 608)));
+ cols_0 = this.this$01.wcGrid.cols_0;
+ !cfgs.isEmpty() && (!cols_0 || cols_0.isEmpty()) && (cols_0 = $configColumsFromAjaxResponse(this.this$01, cfgs));
+ if (this.val$numberOfRows2 == 0) {
+ $setDataSource($getGrid_0(this.this$01.wcGrid), this.this$01);
+ }
+ else {
+ data_0 = $getJavaScriptObject(r.p, 'data');
+ $setRowDataFromJs(this.this$01, this.val$firstRowIndex3, this.val$numberOfRows2, cols_0, data_0);
+ }
+ $adjustHeight(this.this$01.wcGrid);
+}
+;
+_.val$firstRowIndex3 = 0;
+_.val$numberOfRows2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource/1', 306, Lcom_google_gwt_query_client_Function_2_classLit);
+function GRestDataSource$2(val$url){
+ this.val$url2 = val$url;
+ Function_0.call(this);
+}
+
+defineClass(307, 8, $intern_21, GRestDataSource$2);
+_.f_0 = function(){
+ alert_0('Error getting datasources ' + this.val$url2);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource/2', 307, Lcom_google_gwt_query_client_Function_2_classLit);
+function $parseAndroidVersion(this$static, userAgent){
+ var osVersionString, parts;
+ if (userAgent.indexOf('android') == -1) {
+ return;
+ }
+ osVersionString = $safeSubstring(userAgent, userAgent.indexOf('android ') + 8, userAgent.length);
+ osVersionString = $safeSubstring(osVersionString, 0, osVersionString.indexOf(';'));
+ parts = $split(osVersionString, '\\.', 0);
+ $parseOsVersion(this$static, parts);
+}
+
+function $parseIOSVersion(this$static, userAgent){
+ var osVersionString, parts;
+ if (userAgent.indexOf('os ') == -1 || userAgent.indexOf(' like mac') == -1) {
+ return;
+ }
+ osVersionString = $safeSubstring(userAgent, userAgent.indexOf('os ') + 3, userAgent.indexOf(' like mac'));
+ parts = $split(osVersionString, '_', 0);
+ $parseOsVersion(this$static, parts);
+}
+
+function $parseOsVersion(this$static, parts){
+ this$static.osMajorVersion = -1;
+ this$static.osMinorVersion = -1;
+ if (parts.length >= 1) {
+ try {
+ this$static.osMajorVersion = __parseAndValidateInt(parts[0]);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 9))
+ throw unwrap($e0);
+ }
+ }
+ if (parts.length >= 2) {
+ try {
+ this$static.osMinorVersion = __parseAndValidateInt(parts[1]);
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (!instanceOf($e1, 9))
+ throw unwrap($e1);
+ }
+ if (this$static.osMinorVersion == -1 && parts[1].indexOf('-') != -1) {
+ try {
+ this$static.osMinorVersion = __parseAndValidateInt(__substr(parts[1], 0, $indexOf_1(parts[1], fromCodePoint(45))));
+ }
+ catch ($e2) {
+ $e2 = wrap($e2);
+ if (!instanceOf($e2, 9))
+ throw unwrap($e2);
+ }
+ }
+ }
+}
+
+function $parseVersionString(this$static, versionString){
+ var idx, idx2;
+ idx = $indexOf_1(versionString, fromCodePoint(46));
+ idx < 0 && (idx = versionString.length);
+ this$static.browserMajorVersion = __parseAndValidateInt($safeSubstring(versionString, 0, idx));
+ idx2 = $indexOf_2(versionString, fromCodePoint(46), idx + 1);
+ idx2 < 0 && (idx2 = versionString.length);
+ try {
+ this$static.browserMinorVersion = __parseAndValidateInt($replaceAll_0($safeSubstring(versionString, idx + 1, idx2), '[^0-9].*', ''));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 74))
+ throw unwrap($e0);
+ }
+}
+
+function $safeSubstring(string, beginIndex, endIndex){
+ beginIndex < 0 && (beginIndex = 0);
+ (endIndex < 0 || endIndex > string.length) && (endIndex = string.length);
+ return string.substr(beginIndex, endIndex - beginIndex);
+}
+
+function $setIEMode(this$static, documentMode){
+ this$static.browserMajorVersion = documentMode;
+ this$static.browserMinorVersion = 0;
+}
+
+function VBrowserDetails(userAgent){
+ var i_0, ieVersionString, rvPos, tmp, tridentPos;
+ userAgent = userAgent.toLowerCase();
+ this.isGecko = userAgent.indexOf('gecko') != -1 && userAgent.indexOf('webkit') == -1 && userAgent.indexOf('trident/') == -1;
+ userAgent.indexOf(' presto/') != -1;
+ this.isTrident = userAgent.indexOf('trident/') != -1;
+ this.isWebKit = !this.isTrident && userAgent.indexOf('applewebkit') != -1;
+ this.isChrome = userAgent.indexOf(' chrome/') != -1;
+ this.isOpera = userAgent.indexOf('opera') != -1;
+ this.isIE = userAgent.indexOf('msie') != -1 && !this.isOpera && userAgent.indexOf('webtv') == -1;
+ this.isIE = this.isIE || this.isTrident;
+ this.isSafari = !this.isChrome && !this.isIE && userAgent.indexOf('safari') != -1;
+ this.isFirefox = userAgent.indexOf(' firefox/') != -1;
+ userAgent.indexOf('chromeframe') != -1;
+ try {
+ if (this.isGecko) {
+ rvPos = userAgent.indexOf('rv:');
+ if (rvPos >= 0) {
+ tmp = __substr(userAgent, rvPos + 3, userAgent.length - (rvPos + 3));
+ tmp = $replaceFirst(tmp, '(\\.[0-9]+).+', '$1');
+ parseFloat_0(tmp);
+ }
+ }
+ else if (this.isWebKit) {
+ tmp = $substring(userAgent, userAgent.indexOf('webkit/') + 7);
+ tmp = $replaceFirst(tmp, '([0-9]+)[^0-9].+', '$1');
+ parseFloat_0(tmp);
+ }
+ else if (this.isIE) {
+ tridentPos = userAgent.indexOf('trident/');
+ if (tridentPos >= 0) {
+ tmp = __substr(userAgent, tridentPos + 8, userAgent.length - (tridentPos + 8));
+ tmp = $replaceFirst(tmp, '([0-9]+\\.[0-9]+).*', '$1');
+ parseFloat_0(tmp);
+ }
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 9))
+ throw unwrap($e0);
+ }
+ try {
+ if (this.isIE) {
+ if (userAgent.indexOf('msie') == -1) {
+ rvPos = userAgent.indexOf('rv:');
+ if (rvPos >= 0) {
+ tmp = __substr(userAgent, rvPos + 3, userAgent.length - (rvPos + 3));
+ tmp = $replaceFirst(tmp, '(\\.[0-9]+).+', '$1');
+ $parseVersionString(this, tmp);
+ }
+ }
+ else {
+ ieVersionString = $substring(userAgent, userAgent.indexOf('msie ') + 5);
+ ieVersionString = $safeSubstring(ieVersionString, 0, ieVersionString.indexOf(';'));
+ $parseVersionString(this, ieVersionString);
+ }
+ }
+ else if (this.isFirefox) {
+ i_0 = userAgent.indexOf(' firefox/') + 9;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isChrome) {
+ i_0 = userAgent.indexOf(' chrome/') + 8;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isSafari) {
+ i_0 = userAgent.indexOf(' version/') + 9;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isOpera) {
+ i_0 = userAgent.indexOf(' version/');
+ i_0 != -1?(i_0 += 9):(i_0 = userAgent.indexOf('opera/') + 6);
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (!instanceOf($e1, 9))
+ throw unwrap($e1);
+ }
+ if (userAgent.indexOf('windows ') != -1) {
+ this.os = 1;
+ userAgent.indexOf('windows phone') != -1;
+ }
+ else if (userAgent.indexOf('android') != -1) {
+ this.os = 5;
+ $parseAndroidVersion(this, userAgent);
+ }
+ else if (userAgent.indexOf('linux') != -1) {
+ this.os = 3;
+ }
+ else if (userAgent.indexOf('macintosh') != -1 || userAgent.indexOf('mac osx') != -1 || userAgent.indexOf('mac os x') != -1) {
+ this.isIPad = userAgent.indexOf('ipad') != -1;
+ this.isIPhone = userAgent.indexOf('iphone') != -1;
+ if (this.isIPad || userAgent.indexOf('ipod') != -1 || this.isIPhone) {
+ this.os = 4;
+ $parseIOSVersion(this, userAgent);
+ }
+ else {
+ this.os = 2;
+ }
+ }
+}
+
+defineClass(467, 1, {3:1}, VBrowserDetails);
+_.browserMajorVersion = -1;
+_.browserMinorVersion = -1;
+_.isChrome = false;
+_.isFirefox = false;
+_.isGecko = false;
+_.isIE = false;
+_.isIPad = false;
+_.isIPhone = false;
+_.isOpera = false;
+_.isSafari = false;
+_.isTrident = false;
+_.isWebKit = false;
+_.os = 0;
+_.osMajorVersion = -1;
+_.osMinorVersion = -1;
+var Lcom_vaadin_shared_VBrowserDetails_2_classLit = createForClass('com.vaadin.shared', 'VBrowserDetails', 467, Ljava_lang_Object_2_classLit);
+function $clinit_GridStaticCellType(){
+ $clinit_GridStaticCellType = emptyMethod;
+ TEXT_0 = new GridStaticCellType('TEXT', 0);
+ HTML_1 = new GridStaticCellType('HTML', 1);
+ WIDGET_0 = new GridStaticCellType('WIDGET', 2);
+}
+
+function GridStaticCellType(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_13(){
+ $clinit_GridStaticCellType();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_GridStaticCellType_2_classLit, 1), $intern_5, 105, 0, [TEXT_0, HTML_1, WIDGET_0]);
+}
+
+defineClass(105, 6, {105:1, 3:1, 7:1, 6:1}, GridStaticCellType);
+var HTML_1, TEXT_0, WIDGET_0;
+var Lcom_vaadin_shared_ui_grid_GridStaticCellType_2_classLit = createForEnum('com.vaadin.shared.ui.grid', 'GridStaticCellType', 105, Ljava_lang_Enum_2_classLit, values_13);
+function $clinit_HeightMode(){
+ $clinit_HeightMode = emptyMethod;
+ CSS_0 = new HeightMode('CSS', 0);
+ ROW = new HeightMode('ROW', 1);
+}
+
+function HeightMode(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_14(){
+ $clinit_HeightMode();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit, 1), $intern_5, 92, 0, [CSS_0, ROW]);
+}
+
+defineClass(92, 6, {92:1, 3:1, 7:1, 6:1}, HeightMode);
+var CSS_0, ROW;
+var Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit = createForEnum('com.vaadin.shared.ui.grid', 'HeightMode', 92, Ljava_lang_Enum_2_classLit, values_14);
+function $clinit_HeightMode$Map(){
+ $clinit_HeightMode$Map = emptyMethod;
+ $MAP_0 = createValueOfMap(($clinit_HeightMode() , initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit, 1), $intern_5, 92, 0, [CSS_0, ROW])));
+}
+
+var $MAP_0;
+function $combineWith(this$static, other){
+ if (this$static.start_0 > other.end || other.start_0 > this$static.end) {
+ throw new IllegalArgumentException_0('There is a gap between ' + this$static + ' and ' + other);
+ }
+ return new Range_0(min_1(this$static.start_0, other.start_0), max_1(this$static.end, other.end));
+}
+
+function $contains(this$static, integer){
+ return this$static.start_0 <= integer && integer < this$static.end;
+}
+
+function $equals(this$static, obj){
+ var other;
+ if (this$static === obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (Lcom_vaadin_shared_ui_grid_Range_2_classLit != getClass__Ljava_lang_Class___devirtual$(obj)) {
+ return false;
+ }
+ other = dynamicCast(obj, 19);
+ if (this$static.end != other.end) {
+ return false;
+ }
+ if (this$static.start_0 != other.start_0) {
+ return false;
+ }
+ return true;
+}
+
+function $intersects(this$static, other){
+ return this$static.start_0 < other.end && other.start_0 < this$static.end;
+}
+
+function $isEmpty_0(this$static){
+ return this$static.start_0 >= this$static.end;
+}
+
+function $isSubsetOf(this$static, other){
+ if (this$static.start_0 >= this$static.end && other.start_0 >= other.end) {
+ return true;
+ }
+ return other.start_0 <= this$static.start_0 && this$static.end <= other.end;
+}
+
+function $length_0(this$static){
+ return this$static.end - this$static.start_0;
+}
+
+function $offsetBy(this$static, offset){
+ return offset == 0?this$static:new Range_0(this$static.start_0 + offset, this$static.end + offset);
+}
+
+function $partitionWith(this$static, other){
+ var rangeAfter, rangeBefore, rangeInside, splitAfter, splitBefore;
+ splitBefore = $splitAt(this$static, other.start_0);
+ rangeBefore = splitBefore[0];
+ splitAfter = $splitAt(splitBefore[1], other.end);
+ rangeInside = splitAfter[0];
+ rangeAfter = splitAfter[1];
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_5, 19, 0, [rangeBefore, rangeInside, rangeAfter]);
+}
+
+function $restrictTo(this$static, bounds){
+ var boundsWithin, endWithin, startWithin;
+ startWithin = $contains(bounds, this$static.start_0);
+ endWithin = $contains(bounds, this$static.end);
+ boundsWithin = this$static.start_0 < bounds.start_0 && this$static.end >= bounds.end;
+ return startWithin?endWithin?this$static:new Range_0(this$static.start_0, bounds.end):endWithin?new Range_0(bounds.start_0, this$static.end):boundsWithin?bounds:withLength(this$static.start_0, 0);
+}
+
+function $splitAt(this$static, integer){
+ return integer < this$static.start_0?initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_5, 19, 0, [withLength(this$static.start_0, 0), this$static]):integer >= this$static.end?initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_5, 19, 0, [this$static, withLength(this$static.end, 0)]):initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_5, 19, 0, [new Range_0(this$static.start_0, integer), new Range_0(integer, this$static.end)]);
+}
+
+function Range_0(start_0, end){
+ if (start_0 > end) {
+ throw new IllegalArgumentException_0('start must not be greater than end');
+ }
+ this.start_0 = start_0;
+ this.end = end;
+}
+
+function withLength(start_0, length_0){
+ if (length_0 < 0) {
+ throw new IllegalArgumentException_0('length must not be negative');
+ }
+ return new Range_0(start_0, start_0 + length_0);
+}
+
+defineClass(19, 1, {19:1, 3:1}, Range_0);
+_.equals$ = function(obj){
+ return $equals(this, obj);
+}
+;
+_.hashCode$ = function(){
+ var result;
+ result = 31 + this.end;
+ result = 31 * result + this.start_0;
+ return result;
+}
+;
+_.toString$ = function(){
+ return $ensureNamesAreInitialized(Lcom_vaadin_shared_ui_grid_Range_2_classLit) , Lcom_vaadin_shared_ui_grid_Range_2_classLit.simpleName + ' [' + this.start_0 + '..' + this.end + '[' + (this.start_0 >= this.end?' (empty)':'');
+}
+;
+_.end = 0;
+_.start_0 = 0;
+var Lcom_vaadin_shared_ui_grid_Range_2_classLit = createForClass('com.vaadin.shared.ui.grid', 'Range', 19, Ljava_lang_Object_2_classLit);
+function equals(o1, o2){
+ if (o1 == null) {
+ return o2 == null;
+ }
+ return $equals_2(o1, o2);
+}
+
+function $charAt(this$static, index_0){
+ return $charAt_0(this$static.string, index_0);
+}
+
+function $replace0(this$static, start_0, end, toInsert){
+ this$static.string = __substr(this$static.string, 0, start_0) + toInsert + $substring(this$static.string, end);
+}
+
+function $setCharAt(this$static, index_0, x_0){
+ $replace0(this$static, index_0, index_0 + 1, valueOf_5(x_0));
+}
+
+function AbstractStringBuilder(string){
+ this.string = string;
+}
+
+defineClass(130, 1, {});
+_.toString$ = function(){
+ return this.string;
+}
+;
+var Ljava_lang_AbstractStringBuilder_2_classLit = createForClass('java.lang', 'AbstractStringBuilder', 130, Ljava_lang_Object_2_classLit);
+function ArithmeticException(){
+ RuntimeException_0.call(this, 'divide by zero');
+}
+
+defineClass(404, 11, $intern_3, ArithmeticException);
+var Ljava_lang_ArithmeticException_2_classLit = createForClass('java.lang', 'ArithmeticException', 404, Ljava_lang_RuntimeException_2_classLit);
+function ArrayStoreException(){
+ RuntimeException.call(this);
+}
+
+defineClass(112, 11, $intern_3, ArrayStoreException);
+var Ljava_lang_ArrayStoreException_2_classLit = createForClass('java.lang', 'ArrayStoreException', 112, Ljava_lang_RuntimeException_2_classLit);
+function $clinit_Boolean(){
+ $clinit_Boolean = emptyMethod;
+ FALSE = new Boolean_0(false);
+ TRUE = new Boolean_0(true);
+}
+
+function $equals_0(this$static, o){
+ return instanceOf(o, 41) && dynamicCast(o, 41).value_0 == this$static.value_0;
+}
+
+function Boolean_0(value_0){
+ $clinit_Boolean();
+ this.value_0 = value_0;
+}
+
+defineClass(41, 1, {3:1, 41:1, 7:1}, Boolean_0);
+_.equals$ = function(o){
+ return $equals_0(this, o);
+}
+;
+_.hashCode$ = function(){
+ return this.value_0?1231:1237;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = false;
+var FALSE, TRUE;
+var Ljava_lang_Boolean_2_classLit = createForClass('java.lang', 'Boolean', 41, Ljava_lang_Object_2_classLit);
+function __parseAndValidateDouble(s){
+ var floatRegex;
+ if (!(floatRegex = floatRegex_0 , !floatRegex && (floatRegex = floatRegex_0 = /^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/) , floatRegex.test(s))) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ return parseFloat(s);
+}
+
+function __parseAndValidateInt(s){
+ var i_0, isTooLow, length_0, startIndex, toReturn;
+ if (s == null) {
+ throw new NumberFormatException('null');
+ }
+ length_0 = s.length;
+ startIndex = length_0 > 0 && (s.charCodeAt(0) == 45 || s.charCodeAt(0) == 43)?1:0;
+ for (i_0 = startIndex; i_0 < length_0; i_0++) {
+ if (digit_0(s.charCodeAt(i_0)) == -1) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ }
+ toReturn = parseInt(s, 10);
+ isTooLow = toReturn < $intern_45;
+ if (isNaN(toReturn)) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ else if (isTooLow || toReturn > 2147483647) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ return toReturn;
+}
+
+defineClass(53, 1, {3:1, 53:1});
+var floatRegex_0;
+var Ljava_lang_Number_2_classLit = createForClass('java.lang', 'Number', 53, Ljava_lang_Object_2_classLit);
+function Byte(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_1(b){
+ var rebase, result;
+ rebase = b + 128;
+ result = ($clinit_Byte$BoxedValues() , boxedValues_0)[rebase];
+ !result && (result = boxedValues_0[rebase] = new Byte(b));
+ return result;
+}
+
+defineClass(102, 53, {3:1, 102:1, 7:1, 53:1}, Byte);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 102) && dynamicCast(o, 102).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Byte_2_classLit = createForClass('java.lang', 'Byte', 102, Ljava_lang_Number_2_classLit);
+function $clinit_Byte$BoxedValues(){
+ $clinit_Byte$BoxedValues = emptyMethod;
+ boxedValues_0 = initDim(Ljava_lang_Byte_2_classLit, $intern_5, 102, 256, 0, 1);
+}
+
+var boxedValues_0;
+function digit_0(c){
+ if (c >= 48 && c < 58) {
+ return c - 48;
+ }
+ if (c >= 97 && c < 97) {
+ return c - 97 + 10;
+ }
+ if (c >= 65 && c < 65) {
+ return c - 65 + 10;
+ }
+ return -1;
+}
+
+function ClassCastException(){
+ RuntimeException.call(this);
+}
+
+defineClass(83, 11, $intern_3, ClassCastException);
+var Ljava_lang_ClassCastException_2_classLit = createForClass('java.lang', 'ClassCastException', 83, Ljava_lang_RuntimeException_2_classLit);
+function Double(value_0){
+ this.value_0 = value_0;
+}
+
+function Double_0(s){
+ this.value_0 = __parseAndValidateDouble(s);
+}
+
+function isInfinite(x_0){
+ return !isFinite(x_0) && !isNaN(x_0);
+}
+
+defineClass(14, 53, {3:1, 7:1, 14:1, 53:1}, Double, Double_0);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 14) && dynamicCast(o, 14).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return round_int(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Double_2_classLit = createForClass('java.lang', 'Double', 14, Ljava_lang_Number_2_classLit);
+function Float(value_0){
+ this.value_0 = value_0;
+}
+
+function Float_0(s){
+ this.value_0 = parseFloat_0(s);
+}
+
+function parseFloat_0(s){
+ var doubleValue;
+ doubleValue = __parseAndValidateDouble(s);
+ if (doubleValue > 3.4028234663852886E38) {
+ return Infinity;
+ }
+ else if (doubleValue < -3.4028234663852886E38) {
+ return -Infinity;
+ }
+ return doubleValue;
+}
+
+defineClass(88, 53, {3:1, 7:1, 88:1, 53:1}, Float, Float_0);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 88) && dynamicCast(o, 88).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return round_int(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Float_2_classLit = createForClass('java.lang', 'Float', 88, Ljava_lang_Number_2_classLit);
+function IllegalArgumentException(){
+ RuntimeException.call(this);
+}
+
+function IllegalArgumentException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(10, 11, $intern_3, IllegalArgumentException, IllegalArgumentException_0);
+var Ljava_lang_IllegalArgumentException_2_classLit = createForClass('java.lang', 'IllegalArgumentException', 10, Ljava_lang_RuntimeException_2_classLit);
+function IllegalStateException(){
+ RuntimeException.call(this);
+}
+
+function IllegalStateException_0(s){
+ RuntimeException_0.call(this, s);
+}
+
+defineClass(18, 11, $intern_3, IllegalStateException, IllegalStateException_0);
+var Ljava_lang_IllegalStateException_2_classLit = createForClass('java.lang', 'IllegalStateException', 18, Ljava_lang_RuntimeException_2_classLit);
+function IndexOutOfBoundsException(){
+ RuntimeException.call(this);
+}
+
+function IndexOutOfBoundsException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(34, 11, {3:1, 9:1, 34:1, 11:1, 13:1}, IndexOutOfBoundsException, IndexOutOfBoundsException_0);
+var Ljava_lang_IndexOutOfBoundsException_2_classLit = createForClass('java.lang', 'IndexOutOfBoundsException', 34, Ljava_lang_RuntimeException_2_classLit);
+function $equals_1(this$static, o){
+ return instanceOf(o, 57) && dynamicCast(o, 57).value_0 == this$static.value_0;
+}
+
+function Integer(value_0){
+ this.value_0 = value_0;
+}
+
+function numberOfLeadingZeros_0(i_0){
+ var m, n, y_0;
+ if (i_0 < 0) {
+ return 0;
+ }
+ else if (i_0 == 0) {
+ return 32;
+ }
+ else {
+ y_0 = -(i_0 >> 16);
+ m = y_0 >> 16 & 16;
+ n = 16 - m;
+ i_0 = i_0 >> m;
+ y_0 = i_0 - 256;
+ m = y_0 >> 16 & 8;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 - 4096;
+ m = y_0 >> 16 & 4;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 - 16384;
+ m = y_0 >> 16 & 2;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 >> 14;
+ m = y_0 & ~(y_0 >> 1);
+ return n + 2 - m;
+ }
+}
+
+function numberOfTrailingZeros(i_0){
+ var r, rtn;
+ if (i_0 == 0) {
+ return 32;
+ }
+ else {
+ rtn = 0;
+ for (r = 1; (r & i_0) == 0; r <<= 1) {
+ ++rtn;
+ }
+ return rtn;
+ }
+}
+
+function valueOf_2(i_0){
+ var rebase, result;
+ if (i_0 > -129 && i_0 < 128) {
+ rebase = i_0 + 128;
+ result = ($clinit_Integer$BoxedValues() , boxedValues_1)[rebase];
+ !result && (result = boxedValues_1[rebase] = new Integer(i_0));
+ return result;
+ }
+ return new Integer(i_0);
+}
+
+defineClass(57, 53, {3:1, 7:1, 57:1, 53:1}, Integer);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return $equals_1(this, o);
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Integer_2_classLit = createForClass('java.lang', 'Integer', 57, Ljava_lang_Number_2_classLit);
+function $clinit_Integer$BoxedValues(){
+ $clinit_Integer$BoxedValues = emptyMethod;
+ boxedValues_1 = initDim(Ljava_lang_Integer_2_classLit, $intern_5, 57, 256, 0, 1);
+}
+
+var boxedValues_1;
+function Long(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_3(i_0){
+ var rebase, result;
+ if (gt(i_0, {l:4194175, m:$intern_15, h:$intern_16}) && lt(i_0, {l:128, m:0, h:0})) {
+ rebase = toInt(i_0) + 128;
+ result = ($clinit_Long$BoxedValues() , boxedValues_2)[rebase];
+ !result && (result = boxedValues_2[rebase] = new Long(i_0));
+ return result;
+ }
+ return new Long(i_0);
+}
+
+defineClass(89, 53, {3:1, 7:1, 89:1, 53:1}, Long);
+_.doubleValue = function(){
+ return toDouble(this.value_0);
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 89) && eq(dynamicCast(o, 89).value_0, this.value_0);
+}
+;
+_.hashCode$ = function(){
+ return toInt(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + toString_3(this.value_0);
+}
+;
+_.value_0 = {l:0, m:0, h:0};
+var Ljava_lang_Long_2_classLit = createForClass('java.lang', 'Long', 89, Ljava_lang_Number_2_classLit);
+function $clinit_Long$BoxedValues(){
+ $clinit_Long$BoxedValues = emptyMethod;
+ boxedValues_2 = initDim(Ljava_lang_Long_2_classLit, $intern_5, 89, 256, 0, 1);
+}
+
+var boxedValues_2;
+function abs_0(x_0){
+ return x_0 <= 0?0 - x_0:x_0;
+}
+
+function ceil_0(x_0){
+ return Math.ceil(x_0);
+}
+
+function cos_0(x_0){
+ return Math.cos(x_0);
+}
+
+function floor_0(x_0){
+ return Math.floor(x_0);
+}
+
+function max_0(x_0, y_0){
+ return x_0 > y_0?x_0:y_0;
+}
+
+function max_1(x_0, y_0){
+ return x_0 > y_0?x_0:y_0;
+}
+
+function min_0(x_0, y_0){
+ return x_0 < y_0?x_0:y_0;
+}
+
+function min_1(x_0, y_0){
+ return x_0 < y_0?x_0:y_0;
+}
+
+function pow_0(x_0, exp_0){
+ return Math.pow(x_0, exp_0);
+}
+
+function round0(x_0){
+ return Math.round(x_0);
+}
+
+function NullPointerException(){
+ RuntimeException.call(this);
+}
+
+function NullPointerException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(67, 11, $intern_3, NullPointerException, NullPointerException_0);
+var Ljava_lang_NullPointerException_2_classLit = createForClass('java.lang', 'NullPointerException', 67, Ljava_lang_RuntimeException_2_classLit);
+function NumberFormatException(message){
+ IllegalArgumentException_0.call(this, message);
+}
+
+defineClass(74, 10, {3:1, 9:1, 74:1, 11:1, 13:1}, NumberFormatException);
+var Ljava_lang_NumberFormatException_2_classLit = createForClass('java.lang', 'NumberFormatException', 74, Ljava_lang_IllegalArgumentException_2_classLit);
+function Short(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_4(s){
+ var rebase, result;
+ if (s > -129 && s < 128) {
+ rebase = s + 128;
+ result = ($clinit_Short$BoxedValues() , boxedValues_3)[rebase];
+ !result && (result = boxedValues_3[rebase] = new Short(s));
+ return result;
+ }
+ return new Short(s);
+}
+
+defineClass(90, 53, {3:1, 7:1, 53:1, 90:1}, Short);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 90) && dynamicCast(o, 90).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Short_2_classLit = createForClass('java.lang', 'Short', 90, Ljava_lang_Number_2_classLit);
+function $clinit_Short$BoxedValues(){
+ $clinit_Short$BoxedValues = emptyMethod;
+ boxedValues_3 = initDim(Ljava_lang_Short_2_classLit, $intern_5, 90, 256, 0, 1);
+}
+
+var boxedValues_3;
+function $charAt_0(this$static, index_0){
+ return this$static.charCodeAt(index_0);
+}
+
+function $endsWith(this$static, suffix){
+ var suffixlength;
+ suffixlength = suffix.length;
+ return $equals_2(__substr(this$static, this$static.length - suffixlength, suffixlength), suffix);
+}
+
+function $equals_2(this$static, other){
+ return this$static === other;
+}
+
+function $equalsIgnoreCase(this$static, other){
+ if (other == null) {
+ return false;
+ }
+ if (this$static == other) {
+ return true;
+ }
+ return this$static.length == other.length && this$static.toLowerCase() == other.toLowerCase();
+}
+
+function $indexOf_1(this$static, str){
+ return this$static.indexOf(str);
+}
+
+function $indexOf_2(this$static, str, startIndex){
+ return this$static.indexOf(str, startIndex);
+}
+
+function $length_1(this$static){
+ return this$static.length;
+}
+
+function $matches(this$static, regex){
+ return (new RegExp('^(' + regex + ')$')).test(this$static);
+}
+
+function $replace_0(this$static, from, to){
+ var regex, replacement;
+ regex = $replaceAll_0(from, '([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])', '\\\\$1');
+ replacement = $replaceAll_0($replaceAll_0(to, '\\\\', '\\\\\\\\'), '\\$', '\\\\$');
+ return $replaceAll_0(this$static, regex, replacement);
+}
+
+function $replaceAll_0(this$static, regex, replace){
+ replace = __translateReplaceString(replace);
+ return this$static.replace(RegExp(regex, 'g'), replace);
+}
+
+function $replaceFirst(this$static, regex, replace){
+ replace = __translateReplaceString(replace);
+ return this$static.replace(RegExp(regex), replace);
+}
+
+function $split(this$static, regex, maxMatch){
+ var compiled = new RegExp(regex, 'g');
+ var out = [];
+ var count = 0;
+ var trail = this$static;
+ var lastTrail = null;
+ while (true) {
+ var matchObj = compiled.exec(trail);
+ if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) {
+ out[count] = trail;
+ break;
+ }
+ else {
+ out[count] = trail.substring(0, matchObj.index);
+ trail = trail.substring(matchObj.index + matchObj[0].length, trail.length);
+ compiled.lastIndex = 0;
+ if (lastTrail == trail) {
+ out[count] = trail.substring(0, 1);
+ trail = trail.substring(1);
+ }
+ lastTrail = trail;
+ count++;
+ }
+ }
+ if (maxMatch == 0 && this$static.length > 0) {
+ var lastNonEmpty = out.length;
+ while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') {
+ --lastNonEmpty;
+ }
+ lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty);
+ }
+ var jr = __createArray(out.length);
+ for (var i_0 = 0; i_0 < out.length; ++i_0) {
+ jr[i_0] = out[i_0];
+ }
+ return jr;
+}
+
+function $startsWith(this$static, prefix){
+ return $equals_2(__substr(this$static, 0, prefix.length), prefix);
+}
+
+function $substring(this$static, beginIndex){
+ return __substr(this$static, beginIndex, this$static.length - beginIndex);
+}
+
+function $trim(this$static){
+ if (this$static.length == 0 || this$static[0] > ' ' && this$static[this$static.length - 1] > ' ') {
+ return this$static;
+ }
+ return this$static.replace(/^[\u0000-\u0020]*|[\u0000-\u0020]*$/g, '');
+}
+
+function __createArray(numElements){
+ return initDim(Ljava_lang_String_2_classLit, $intern_5, 2, numElements, 4, 1);
+}
+
+function __substr(str, beginIndex, len){
+ return str.substr(beginIndex, len);
+}
+
+function __translateReplaceString(replaceStr){
+ var pos;
+ pos = 0;
+ while (0 <= (pos = replaceStr.indexOf('\\', pos))) {
+ replaceStr.charCodeAt(pos + 1) == 36?(replaceStr = replaceStr.substr(0, pos) + '$' + $substring(replaceStr, ++pos)):(replaceStr = replaceStr.substr(0, pos) + $substring(replaceStr, ++pos));
+ }
+ return replaceStr;
+}
+
+function fromCodePoint(codePoint){
+ var hiSurrogate, loSurrogate;
+ if (codePoint >= $intern_31) {
+ hiSurrogate = 55296 + (codePoint - $intern_31 >> 10 & 1023) & $intern_4;
+ loSurrogate = 56320 + (codePoint - $intern_31 & 1023) & $intern_4;
+ return valueOf_5(hiSurrogate) + valueOf_5(loSurrogate);
+ }
+ else {
+ return String.fromCharCode(codePoint & $intern_4);
+ }
+}
+
+function valueOf_5(x_0){
+ return String.fromCharCode(x_0);
+}
+
+var Ljava_lang_String_2_classLit = createForClass('java.lang', 'String', 2, Ljava_lang_Object_2_classLit);
+function $clinit_String$HashCache(){
+ $clinit_String$HashCache = emptyMethod;
+ back_0 = {};
+ front = {};
+}
+
+function compute(str){
+ var hashCode, i_0, n, nBatch;
+ hashCode = 0;
+ n = str.length;
+ nBatch = n - 4;
+ i_0 = 0;
+ while (i_0 < nBatch) {
+ hashCode = str.charCodeAt(i_0 + 3) + 31 * (str.charCodeAt(i_0 + 2) + 31 * (str.charCodeAt(i_0 + 1) + 31 * (str.charCodeAt(i_0) + 31 * hashCode)));
+ hashCode = hashCode | 0;
+ i_0 += 4;
+ }
+ while (i_0 < n) {
+ hashCode = hashCode * 31 + $charAt_0(str, i_0++);
+ }
+ hashCode = hashCode | 0;
+ return hashCode;
+}
+
+function getHashCode_0(str){
+ $clinit_String$HashCache();
+ var key = ':' + str;
+ var result = front[key];
+ if (result != null) {
+ return result;
+ }
+ result = back_0[key];
+ result == null && (result = compute(str));
+ increment();
+ return front[key] = result;
+}
+
+function increment(){
+ if (count_0 == 256) {
+ back_0 = front;
+ front = {};
+ count_0 = 0;
+ }
+ ++count_0;
+}
+
+var back_0, count_0 = 0, front;
+function $append(this$static, x_0){
+ this$static.string += x_0;
+ return this$static;
+}
+
+function $append_0(this$static, x_0){
+ this$static.string += x_0;
+ return this$static;
+}
+
+function $delete_0(this$static, start_0, end){
+ this$static.string = __substr(this$static.string, 0, start_0) + '' + $substring(this$static.string, end);
+ return this$static;
+}
+
+function $insert_0(this$static, index_0, x_0){
+ this$static.string = __substr(this$static.string, 0, index_0) + x_0 + $substring(this$static.string, index_0);
+ return this$static;
+}
+
+function StringBuilder(){
+ AbstractStringBuilder.call(this, '');
+}
+
+function StringBuilder_0(){
+ AbstractStringBuilder.call(this, '');
+}
+
+function StringBuilder_1(s){
+ AbstractStringBuilder.call(this, s);
+}
+
+defineClass(59, 130, {594:1}, StringBuilder, StringBuilder_0, StringBuilder_1);
+var Ljava_lang_StringBuilder_2_classLit = createForClass('java.lang', 'StringBuilder', 59, Ljava_lang_AbstractStringBuilder_2_classLit);
+function UnsupportedOperationException(){
+ RuntimeException.call(this);
+}
+
+function UnsupportedOperationException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(31, 11, {3:1, 9:1, 11:1, 13:1, 31:1}, UnsupportedOperationException, UnsupportedOperationException_0);
+var Ljava_lang_UnsupportedOperationException_2_classLit = createForClass('java.lang', 'UnsupportedOperationException', 31, Ljava_lang_RuntimeException_2_classLit);
+function $addAll_0(this$static, c){
+ var changed, e, e$iterator;
+ checkNotNull(c);
+ changed = false;
+ for (e$iterator = c.iterator(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ changed = changed | this$static.add_1(e);
+ }
+ return changed;
+}
+
+function $advanceToFind(this$static, o, remove){
+ var e, iter;
+ for (iter = this$static.iterator(); iter.hasNext();) {
+ e = iter.next_0();
+ if (maskUndefined(o) === maskUndefined(e) || o != null && equals_Ljava_lang_Object__Z__devirtual$(o, e)) {
+ remove && iter.remove_0();
+ return true;
+ }
+ }
+ return false;
+}
+
+function $containsAll(this$static, c){
+ var e, e$iterator;
+ checkNotNull(c);
+ for (e$iterator = c.iterator(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ if (!this$static.contains_0(e)) {
+ return false;
+ }
+ }
+ return true;
+}
+
+function $toString_3(this$static){
+ var comma, e, e$iterator, sb;
+ sb = new StringBuilder_1('[');
+ comma = false;
+ for (e$iterator = this$static.iterator(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ comma?(sb.string += ', ' , sb):(comma = true);
+ sb.string += e === this$static?'(this Collection)':'' + e;
+ }
+ sb.string += ']';
+ return sb.string;
+}
+
+defineClass(577, 1, {});
+_.add_1 = function(o){
+ throw new UnsupportedOperationException_0('Add not supported on this collection');
+}
+;
+_.addAll = function(c){
+ return $addAll_0(this, c);
+}
+;
+_.contains_0 = function(o){
+ return $advanceToFind(this, o, false);
+}
+;
+_.isEmpty = function(){
+ return this.size_2() == 0;
+}
+;
+_.remove_1 = function(o){
+ return $advanceToFind(this, o, true);
+}
+;
+_.toArray = function(){
+ return this.toArray_0(initDim(Ljava_lang_Object_2_classLit, $intern_5, 1, this.size_2(), 3, 1));
+}
+;
+_.toArray_0 = function(a){
+ var i_0, it, size_0;
+ size_0 = this.size_2();
+ a.length < size_0 && (a = createFrom(a, size_0));
+ it = this.iterator();
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(a, i_0, it.next_0());
+ }
+ a.length > size_0 && setCheck(a, size_0, null);
+ return a;
+}
+;
+_.toString$ = function(){
+ return $toString_3(this);
+}
+;
+var Ljava_util_AbstractCollection_2_classLit = createForClass('java.util', 'AbstractCollection', 577, Ljava_lang_Object_2_classLit);
+function $containsEntry(this$static, entry){
+ var key, ourValue, value_0;
+ key = entry.getKey();
+ value_0 = entry.getValue_1();
+ ourValue = this$static.get_0(key);
+ if (!(maskUndefined(value_0) === maskUndefined(ourValue) || value_0 != null && equals_Ljava_lang_Object__Z__devirtual$(value_0, ourValue))) {
+ return false;
+ }
+ if (ourValue == null && !this$static.containsKey(key)) {
+ return false;
+ }
+ return true;
+}
+
+function $implFindEntry(this$static, key, remove){
+ var entry, iter, k_0;
+ for (iter = this$static.entrySet_0().iterator(); iter.hasNext();) {
+ entry = dynamicCast(iter.next_0(), 26);
+ k_0 = entry.getKey();
+ if (maskUndefined(key) === maskUndefined(k_0) || key != null && equals_Ljava_lang_Object__Z__devirtual$(key, k_0)) {
+ if (remove) {
+ entry = new AbstractMap$SimpleEntry(entry.getKey(), entry.getValue_1());
+ iter.remove_0();
+ }
+ return entry;
+ }
+ }
+ return null;
+}
+
+function $toString_4(this$static, o){
+ return o === this$static?'(this Map)':'' + o;
+}
+
+function getEntryValueOrNull(entry){
+ return !entry?null:entry.getValue_1();
+}
+
+defineClass(580, 1, {77:1});
+_.containsKey = function(key){
+ return !!$implFindEntry(this, key, false);
+}
+;
+_.equals$ = function(obj){
+ var entry, entry$iterator, otherMap;
+ if (obj === this) {
+ return true;
+ }
+ if (!instanceOf(obj, 77)) {
+ return false;
+ }
+ otherMap = dynamicCast(obj, 77);
+ if (this.size_2() != otherMap.size_2()) {
+ return false;
+ }
+ for (entry$iterator = otherMap.entrySet_0().iterator(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 26);
+ if (!$containsEntry(this, entry)) {
+ return false;
+ }
+ }
+ return true;
+}
+;
+_.get_0 = function(key){
+ return getEntryValueOrNull($implFindEntry(this, key, false));
+}
+;
+_.hashCode$ = function(){
+ return hashCode_0(this.entrySet_0());
+}
+;
+_.isEmpty = function(){
+ return this.size_2() == 0;
+}
+;
+_.put = function(key, value_0){
+ throw new UnsupportedOperationException_0('Put not supported on this map');
+}
+;
+_.remove_2 = function(key){
+ return getEntryValueOrNull($implFindEntry(this, key, true));
+}
+;
+_.size_2 = function(){
+ return this.entrySet_0().size_2();
+}
+;
+_.toString$ = function(){
+ var comma, entry, entry$iterator, sb;
+ sb = new StringBuilder_1('{');
+ comma = false;
+ for (entry$iterator = this.entrySet_0().iterator(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 26);
+ comma?(sb.string += ', ' , sb):(comma = true);
+ $append_0(sb, $toString_4(this, entry.getKey()));
+ sb.string += '=';
+ $append_0(sb, $toString_4(this, entry.getValue_1()));
+ }
+ sb.string += '}';
+ return sb.string;
+}
+;
+var Ljava_util_AbstractMap_2_classLit = createForClass('java.util', 'AbstractMap', 580, Ljava_lang_Object_2_classLit);
+function $elementAdded(this$static){
+ ++this$static.size_0;
+ structureChanged(this$static);
+}
+
+function $elementRemoved(this$static){
+ --this$static.size_0;
+ structureChanged(this$static);
+}
+
+function $reset(this$static){
+ $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory();
+ this$static.hashCodeMap = delegate.createJsHashCodeMap();
+ this$static.hashCodeMap.host = this$static;
+ this$static.stringMap = delegate.createJsStringMap();
+ this$static.stringMap.host = this$static;
+ this$static.size_0 = 0;
+ structureChanged(this$static);
+}
+
+defineClass(132, 580, {77:1});
+_.clear_0 = function(){
+ $reset(this);
+}
+;
+_.containsKey = function(key){
+ return isJavaString(key)?key == null?!!$getEntry(this.hashCodeMap, null):!(this.stringMap.get_2(key) === undefined):!!$getEntry(this.hashCodeMap, key);
+}
+;
+_.entrySet_0 = function(){
+ return new AbstractHashMap$EntrySet(this);
+}
+;
+_.get_0 = function(key){
+ return isJavaString(key)?key == null?getEntryValueOrNull($getEntry(this.hashCodeMap, null)):this.stringMap.get_2(key):getEntryValueOrNull($getEntry(this.hashCodeMap, key));
+}
+;
+_.put = function(key, value_0){
+ return isJavaString(key)?key == null?$put_2(this.hashCodeMap, null, value_0):this.stringMap.put_0(key, value_0):$put_2(this.hashCodeMap, key, value_0);
+}
+;
+_.remove_2 = function(key){
+ return isJavaString(key)?key == null?$remove_9(this.hashCodeMap, null):this.stringMap.remove_4(key):$remove_9(this.hashCodeMap, key);
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 0;
+var Ljava_util_AbstractHashMap_2_classLit = createForClass('java.util', 'AbstractHashMap', 132, Ljava_util_AbstractMap_2_classLit);
+defineClass(581, 577, $intern_53);
+_.equals$ = function(o){
+ var other;
+ if (o === this) {
+ return true;
+ }
+ if (!instanceOf(o, 64)) {
+ return false;
+ }
+ other = dynamicCast(o, 64);
+ if (other.size_2() != this.size_2()) {
+ return false;
+ }
+ return $containsAll(this, other);
+}
+;
+_.hashCode$ = function(){
+ return hashCode_0(this);
+}
+;
+var Ljava_util_AbstractSet_2_classLit = createForClass('java.util', 'AbstractSet', 581, Ljava_util_AbstractCollection_2_classLit);
+function $contains_0(this$static, o){
+ if (instanceOf(o, 26)) {
+ return $containsEntry(this$static.this$01, dynamicCast(o, 26));
+ }
+ return false;
+}
+
+function AbstractHashMap$EntrySet(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(326, 581, $intern_53, AbstractHashMap$EntrySet);
+_.contains_0 = function(o){
+ return $contains_0(this, o);
+}
+;
+_.iterator = function(){
+ return new AbstractHashMap$EntrySetIterator(this.this$01);
+}
+;
+_.remove_1 = function(entry){
+ var key;
+ if ($contains_0(this, entry)) {
+ key = dynamicCast(entry, 26).getKey();
+ this.this$01.remove_2(key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.size_2();
+}
+;
+var Ljava_util_AbstractHashMap$EntrySet_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySet', 326, Ljava_util_AbstractSet_2_classLit);
+function $hasNext(this$static){
+ if (this$static.current.hasNext()) {
+ return true;
+ }
+ if (this$static.current != this$static.stringMapEntries) {
+ return false;
+ }
+ this$static.current = this$static.this$01.hashCodeMap.entries();
+ return this$static.current.hasNext();
+}
+
+function AbstractHashMap$EntrySetIterator(this$0){
+ this.this$01 = this$0;
+ this.stringMapEntries = this.this$01.stringMap.entries();
+ this.current = this.stringMapEntries;
+ setModCount(this, this$0._gwt_modCount);
+}
+
+defineClass(327, 1, {}, AbstractHashMap$EntrySetIterator);
+_.hasNext = function(){
+ return $hasNext(this);
+}
+;
+_.next_0 = function(){
+ return checkStructuralChange(this.this$01, this) , checkCriticalElement($hasNext(this)) , this.last = this.current , dynamicCast(this.current.next_0(), 26);
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.last);
+ checkStructuralChange(this.this$01, this);
+ this.last.remove_0();
+ this.last = null;
+ recordLastKnownStructure(this.this$01, this);
+}
+;
+var Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySetIterator', 327, Ljava_lang_Object_2_classLit);
+function $clear_0(this$static){
+ $removeRange(this$static, this$static.size_0);
+}
+
+function $indexOf_3(this$static, toFind){
+ var i_0, n;
+ for (i_0 = 0 , n = this$static.size_2(); i_0 < n; ++i_0) {
+ if (equals_0(toFind, this$static.get_1(i_0))) {
+ return i_0;
+ }
+ }
+ return -1;
+}
+
+function $removeRange(this$static, endIndex){
+ var i_0, iter;
+ iter = new AbstractList$ListIteratorImpl(this$static, 0);
+ for (i_0 = 0; i_0 < endIndex; ++i_0) {
+ iter.next_0();
+ iter.remove_0();
+ }
+}
+
+defineClass(578, 577, $intern_54);
+_.add_2 = function(index_0, element){
+ throw new UnsupportedOperationException_0('Add not supported on this list');
+}
+;
+_.add_1 = function(obj){
+ this.add_2(this.size_2(), obj);
+ return true;
+}
+;
+_.equals$ = function(o){
+ var elem, elem$iterator, elemOther, iterOther, other;
+ if (o === this) {
+ return true;
+ }
+ if (!instanceOf(o, 32)) {
+ return false;
+ }
+ other = dynamicCast(o, 32);
+ if (this.size_2() != other.size_2()) {
+ return false;
+ }
+ iterOther = other.iterator();
+ for (elem$iterator = this.iterator(); elem$iterator.hasNext();) {
+ elem = elem$iterator.next_0();
+ elemOther = iterOther.next_0();
+ if (!(maskUndefined(elem) === maskUndefined(elemOther) || elem != null && equals_Ljava_lang_Object__Z__devirtual$(elem, elemOther))) {
+ return false;
+ }
+ }
+ return true;
+}
+;
+_.hashCode$ = function(){
+ return hashCode_1(this);
+}
+;
+_.indexOf_0 = function(toFind){
+ return $indexOf_3(this, toFind);
+}
+;
+_.iterator = function(){
+ return new AbstractList$IteratorImpl(this);
+}
+;
+_.listIterator = function(){
+ return this.listIterator_0(0);
+}
+;
+_.listIterator_0 = function(from){
+ return new AbstractList$ListIteratorImpl(this, from);
+}
+;
+_.remove_3 = function(index_0){
+ throw new UnsupportedOperationException_0('Remove not supported on this list');
+}
+;
+var Ljava_util_AbstractList_2_classLit = createForClass('java.util', 'AbstractList', 578, Ljava_util_AbstractCollection_2_classLit);
+function AbstractList$IteratorImpl(this$0){
+ this.this$01_0 = this$0;
+}
+
+defineClass(42, 1, {}, AbstractList$IteratorImpl);
+_.hasNext = function(){
+ return this.i < this.this$01_0.size_2();
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement(this.i < this.this$01_0.size_2()) , this.this$01_0.get_1(this.last = this.i++);
+}
+;
+_.remove_0 = function(){
+ checkState(this.last != -1);
+ this.this$01_0.remove_3(this.last);
+ this.i = this.last;
+ this.last = -1;
+}
+;
+_.i = 0;
+_.last = -1;
+var Ljava_util_AbstractList$IteratorImpl_2_classLit = createForClass('java.util', 'AbstractList/IteratorImpl', 42, Ljava_lang_Object_2_classLit);
+function AbstractList$ListIteratorImpl(this$0, start_0){
+ this.this$01 = this$0;
+ AbstractList$IteratorImpl.call(this, this$0);
+ checkPositionIndex(start_0, this$0.size_2());
+ this.i = start_0;
+}
+
+defineClass(165, 42, {}, AbstractList$ListIteratorImpl);
+_.hasPrevious = function(){
+ return this.i > 0;
+}
+;
+_.previous = function(){
+ checkCriticalElement(this.i > 0);
+ return this.this$01.get_1(this.last = --this.i);
+}
+;
+var Ljava_util_AbstractList$ListIteratorImpl_2_classLit = createForClass('java.util', 'AbstractList/ListIteratorImpl', 165, Ljava_util_AbstractList$IteratorImpl_2_classLit);
+function AbstractList$SubList(wrapped, fromIndex, toIndex){
+ checkCriticalPositionIndexes(fromIndex, toIndex, wrapped.array.length);
+ this.wrapped = wrapped;
+ this.fromIndex = fromIndex;
+ this.size_0 = toIndex - fromIndex;
+}
+
+defineClass(73, 578, $intern_54, AbstractList$SubList);
+_.add_2 = function(index_0, element){
+ checkPositionIndex(index_0, this.size_0);
+ $add_5(this.wrapped, this.fromIndex + index_0, element);
+ ++this.size_0;
+}
+;
+_.get_1 = function(index_0){
+ return checkElementIndex(index_0, this.size_0) , $get_6(this.wrapped, this.fromIndex + index_0);
+}
+;
+_.remove_3 = function(index_0){
+ var result;
+ checkElementIndex(index_0, this.size_0);
+ result = this.wrapped.remove_3(this.fromIndex + index_0);
+ --this.size_0;
+ return result;
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.fromIndex = 0;
+_.size_0 = 0;
+var Ljava_util_AbstractList$SubList_2_classLit = createForClass('java.util', 'AbstractList/SubList', 73, Ljava_util_AbstractList_2_classLit);
+function $iterator(this$static){
+ var outerIter;
+ outerIter = this$static.this$01.entrySet_0().iterator();
+ return new AbstractMap$1$1(outerIter);
+}
+
+function AbstractMap$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(48, 581, $intern_53, AbstractMap$1);
+_.contains_0 = function(key){
+ return this.this$01.containsKey(key);
+}
+;
+_.iterator = function(){
+ return $iterator(this);
+}
+;
+_.remove_1 = function(key){
+ if (this.this$01.containsKey(key)) {
+ this.this$01.remove_2(key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.size_2();
+}
+;
+var Ljava_util_AbstractMap$1_2_classLit = createForClass('java.util', 'AbstractMap/1', 48, Ljava_util_AbstractSet_2_classLit);
+function $next_2(this$static){
+ var entry;
+ entry = dynamicCast(this$static.val$outerIter2.next_0(), 26);
+ return entry.getKey();
+}
+
+function AbstractMap$1$1(val$outerIter){
+ this.val$outerIter2 = val$outerIter;
+}
+
+defineClass(329, 1, {}, AbstractMap$1$1);
+_.hasNext = function(){
+ return this.val$outerIter2.hasNext();
+}
+;
+_.next_0 = function(){
+ return $next_2(this);
+}
+;
+_.remove_0 = function(){
+ this.val$outerIter2.remove_0();
+}
+;
+var Ljava_util_AbstractMap$1$1_2_classLit = createForClass('java.util', 'AbstractMap/1/1', 329, Ljava_lang_Object_2_classLit);
+function $setValue_3(this$static, value_0){
+ var oldValue;
+ oldValue = this$static.value_0;
+ this$static.value_0 = value_0;
+ return oldValue;
+}
+
+defineClass(328, 1, $intern_55);
+_.equals$ = function(other){
+ var entry;
+ if (!instanceOf(other, 26)) {
+ return false;
+ }
+ entry = dynamicCast(other, 26);
+ return equals_0(this.key, entry.getKey()) && equals_0(this.value_0, entry.getValue_1());
+}
+;
+_.getKey = function(){
+ return this.key;
+}
+;
+_.getValue_1 = function(){
+ return this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return hashCode_2(this.key) ^ hashCode_2(this.value_0);
+}
+;
+_.setValue_0 = function(value_0){
+ return $setValue_3(this, value_0);
+}
+;
+_.toString$ = function(){
+ return this.key + '=' + this.value_0;
+}
+;
+var Ljava_util_AbstractMap$AbstractEntry_2_classLit = createForClass('java.util', 'AbstractMap/AbstractEntry', 328, Ljava_lang_Object_2_classLit);
+function AbstractMap$SimpleEntry(key, value_0){
+ this.key = key;
+ this.value_0 = value_0;
+}
+
+defineClass(133, 328, $intern_55, AbstractMap$SimpleEntry);
+var Ljava_util_AbstractMap$SimpleEntry_2_classLit = createForClass('java.util', 'AbstractMap/SimpleEntry', 133, Ljava_util_AbstractMap$AbstractEntry_2_classLit);
+defineClass(586, 1, $intern_55);
+_.equals$ = function(other){
+ var entry;
+ if (!instanceOf(other, 26)) {
+ return false;
+ }
+ entry = dynamicCast(other, 26);
+ return equals_0(this.getKey(), entry.getKey()) && equals_0(this.getValue_1(), entry.getValue_1());
+}
+;
+_.hashCode$ = function(){
+ return hashCode_2(this.getKey()) ^ hashCode_2(this.getValue_1());
+}
+;
+_.toString$ = function(){
+ return this.getKey() + '=' + this.getValue_1();
+}
+;
+var Ljava_util_AbstractMapEntry_2_classLit = createForClass('java.util', 'AbstractMapEntry', 586, Ljava_lang_Object_2_classLit);
+function $addAll_1(this$static, index_0, c){
+ var e, e$iterator, iter, modified;
+ checkNotNull(c);
+ modified = false;
+ iter = $listIterator(this$static, index_0);
+ for (e$iterator = new AbstractList$IteratorImpl(c); e$iterator.i < e$iterator.this$01_0.size_2();) {
+ e = (checkCriticalElement(e$iterator.i < e$iterator.this$01_0.size_2()) , e$iterator.this$01_0.get_1(e$iterator.last = e$iterator.i++));
+ $add_8(iter, e);
+ modified = true;
+ }
+ return modified;
+}
+
+function $get_5(this$static, index_0){
+ var iter;
+ iter = $listIterator(this$static, index_0);
+ try {
+ return checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , iter.lastNode.value_0;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 68)) {
+ throw new IndexOutOfBoundsException_0("Can't get element " + index_0);
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function $remove_5(this$static, index_0){
+ var iter, old;
+ iter = $listIterator(this$static, index_0);
+ try {
+ old = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , iter.lastNode.value_0);
+ $remove_13(iter);
+ return old;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 68)) {
+ throw new IndexOutOfBoundsException_0("Can't remove element " + index_0);
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+defineClass(591, 578, $intern_54);
+_.add_2 = function(index_0, element){
+ var iter;
+ iter = $listIterator(this, index_0);
+ $add_8(iter, element);
+}
+;
+_.get_1 = function(index_0){
+ return $get_5(this, index_0);
+}
+;
+_.iterator = function(){
+ return $listIterator(this, 0);
+}
+;
+_.remove_3 = function(index_0){
+ return $remove_5(this, index_0);
+}
+;
+var Ljava_util_AbstractSequentialList_2_classLit = createForClass('java.util', 'AbstractSequentialList', 591, Ljava_util_AbstractList_2_classLit);
+function $$init_0(this$static){
+ this$static.array = initDim(Ljava_lang_Object_2_classLit, $intern_5, 1, 0, 3, 1);
+}
+
+function $add_5(this$static, index_0, o){
+ checkPositionIndex(index_0, this$static.array.length);
+ splice_0(this$static.array, index_0, 0, o);
+}
+
+function $add_6(this$static, o){
+ setCheck(this$static.array, this$static.array.length, o);
+ return true;
+}
+
+function $addAll_2(this$static, c){
+ var cArray, len;
+ cArray = c.toArray();
+ len = cArray.length;
+ if (len == 0) {
+ return false;
+ }
+ $insertAt(this$static, this$static.array.length, cArray);
+ return true;
+}
+
+function $get_6(this$static, index_0){
+ checkElementIndex(index_0, this$static.array.length);
+ return this$static.array[index_0];
+}
+
+function $indexOf_4(this$static, o, index_0){
+ for (; index_0 < this$static.array.length; ++index_0) {
+ if (equals_0(o, this$static.array[index_0])) {
+ return index_0;
+ }
+ }
+ return -1;
+}
+
+function $insertAt(this$static, index_0, values){
+ nativeArraySplice(values, 0, this$static.array, index_0, values.length, false);
+}
+
+function $remove_6(this$static, index_0){
+ var previous;
+ previous = (checkElementIndex(index_0, this$static.array.length) , this$static.array[index_0]);
+ splice(this$static.array, index_0, 1);
+ return previous;
+}
+
+function $remove_7(this$static, o){
+ var i_0;
+ i_0 = $indexOf_4(this$static, o, 0);
+ if (i_0 == -1) {
+ return false;
+ }
+ this$static.remove_3(i_0);
+ return true;
+}
+
+function $set_4(this$static, index_0, o){
+ var previous;
+ previous = (checkElementIndex(index_0, this$static.array.length) , this$static.array[index_0]);
+ setCheck(this$static.array, index_0, o);
+ return previous;
+}
+
+function $toArray(this$static){
+ return cloneSubrange(this$static.array, this$static.array.length);
+}
+
+function $toArray_0(this$static, out){
+ var i_0, size_0;
+ size_0 = this$static.array.length;
+ out.length < size_0 && (out = createFrom(out, size_0));
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(out, i_0, this$static.array[i_0]);
+ }
+ out.length > size_0 && setCheck(out, size_0, null);
+ return out;
+}
+
+function ArrayList(){
+ $$init_0(this);
+}
+
+function ArrayList_0(initialCapacity){
+ $$init_0(this);
+ checkCriticalArgument(initialCapacity >= 0, 'Initial capacity must not be negative');
+}
+
+function ArrayList_1(c){
+ $$init_0(this);
+ $insertAt(this, 0, c.toArray());
+}
+
+function splice(array, index_0, deleteCount){
+ array.splice(index_0, deleteCount);
+}
+
+function splice_0(array, index_0, deleteCount, value_0){
+ array.splice(index_0, deleteCount, value_0);
+}
+
+defineClass(15, 578, $intern_56, ArrayList, ArrayList_0, ArrayList_1);
+_.add_2 = function(index_0, o){
+ $add_5(this, index_0, o);
+}
+;
+_.add_1 = function(o){
+ return $add_6(this, o);
+}
+;
+_.addAll = function(c){
+ return $addAll_2(this, c);
+}
+;
+_.contains_0 = function(o){
+ return $indexOf_4(this, o, 0) != -1;
+}
+;
+_.get_1 = function(index_0){
+ return $get_6(this, index_0);
+}
+;
+_.indexOf_0 = function(o){
+ return $indexOf_4(this, o, 0);
+}
+;
+_.isEmpty = function(){
+ return this.array.length == 0;
+}
+;
+_.remove_3 = function(index_0){
+ return $remove_6(this, index_0);
+}
+;
+_.remove_1 = function(o){
+ return $remove_7(this, o);
+}
+;
+_.size_2 = function(){
+ return this.array.length;
+}
+;
+_.toArray = function(){
+ return $toArray(this);
+}
+;
+_.toArray_0 = function(out){
+ return $toArray_0(this, out);
+}
+;
+var Ljava_util_ArrayList_2_classLit = createForClass('java.util', 'ArrayList', 15, Ljava_util_AbstractList_2_classLit);
+function $get_7(this$static, index_0){
+ checkElementIndex(index_0, this$static.array.length);
+ return this$static.array[index_0];
+}
+
+function Arrays$ArrayList(array){
+ if (array == null) {
+ debugger;
+ throw new AssertionError;
+ }
+ this.array = array;
+}
+
+defineClass(43, 578, $intern_56, Arrays$ArrayList);
+_.contains_0 = function(o){
+ return $indexOf_3(this, o) != -1;
+}
+;
+_.get_1 = function(index_0){
+ return $get_7(this, index_0);
+}
+;
+_.size_2 = function(){
+ return this.array.length;
+}
+;
+_.toArray = function(){
+ return clone(this.array);
+}
+;
+_.toArray_0 = function(out){
+ var i_0, size_0;
+ size_0 = this.array.length;
+ out.length < size_0 && (out = createFrom(out, size_0));
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(out, i_0, this.array[i_0]);
+ }
+ out.length > size_0 && setCheck(out, size_0, null);
+ return out;
+}
+;
+var Ljava_util_Arrays$ArrayList_2_classLit = createForClass('java.util', 'Arrays/ArrayList', 43, Ljava_util_AbstractList_2_classLit);
+function $clinit_Collections(){
+ $clinit_Collections = emptyMethod;
+ EMPTY_LIST = new Collections$EmptyList;
+ EMPTY_SET = new Collections$EmptySet;
+}
+
+function hashCode_0(collection){
+ $clinit_Collections();
+ var e, e$iterator, hashCode;
+ hashCode = 0;
+ for (e$iterator = collection.iterator(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ hashCode = hashCode + (e != null?hashCode__I__devirtual$(e):0);
+ hashCode = hashCode | 0;
+ }
+ return hashCode;
+}
+
+function hashCode_1(list){
+ $clinit_Collections();
+ var e, e$iterator, hashCode;
+ hashCode = 1;
+ for (e$iterator = list.iterator(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ hashCode = 31 * hashCode + (e != null?hashCode__I__devirtual$(e):0);
+ hashCode = hashCode | 0;
+ }
+ return hashCode;
+}
+
+function singleton_0(o){
+ $clinit_Collections();
+ var set_0;
+ set_0 = new HashSet_0;
+ $add_7(set_0, o);
+ return new Collections$UnmodifiableSet(set_0);
+}
+
+function singletonMap(key, value_0){
+ $clinit_Collections();
+ var map_0;
+ map_0 = new HashMap_0;
+ map_0.put(key, value_0);
+ return new Collections$UnmodifiableMap(map_0);
+}
+
+function unmodifiableList(list){
+ $clinit_Collections();
+ return instanceOf(list, 111)?new Collections$UnmodifiableRandomAccessList(list):new Collections$UnmodifiableList(list);
+}
+
+var EMPTY_LIST, EMPTY_SET;
+function Collections$EmptyList(){
+}
+
+defineClass(405, 578, $intern_56, Collections$EmptyList);
+_.contains_0 = function(object){
+ return false;
+}
+;
+_.get_1 = function(location_0){
+ checkElementIndex(location_0, 0);
+ return null;
+}
+;
+_.iterator = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.listIterator = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.size_2 = function(){
+ return 0;
+}
+;
+var Ljava_util_Collections$EmptyList_2_classLit = createForClass('java.util', 'Collections/EmptyList', 405, Ljava_util_AbstractList_2_classLit);
+function $clinit_Collections$EmptyListIterator(){
+ $clinit_Collections$EmptyListIterator = emptyMethod;
+ INSTANCE_5 = new Collections$EmptyListIterator;
+}
+
+function Collections$EmptyListIterator(){
+}
+
+defineClass(406, 1, {}, Collections$EmptyListIterator);
+_.hasNext = function(){
+ return false;
+}
+;
+_.hasPrevious = function(){
+ return false;
+}
+;
+_.next_0 = function(){
+ throw new NoSuchElementException;
+}
+;
+_.previous = function(){
+ throw new NoSuchElementException;
+}
+;
+_.remove_0 = function(){
+ throw new IllegalStateException;
+}
+;
+var INSTANCE_5;
+var Ljava_util_Collections$EmptyListIterator_2_classLit = createForClass('java.util', 'Collections/EmptyListIterator', 406, Ljava_lang_Object_2_classLit);
+function Collections$EmptySet(){
+}
+
+defineClass(407, 581, $intern_57, Collections$EmptySet);
+_.contains_0 = function(object){
+ return false;
+}
+;
+_.iterator = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.size_2 = function(){
+ return 0;
+}
+;
+var Ljava_util_Collections$EmptySet_2_classLit = createForClass('java.util', 'Collections/EmptySet', 407, Ljava_util_AbstractSet_2_classLit);
+function Collections$SingletonList(element){
+ this.element = element;
+}
+
+defineClass(169, 578, {3:1, 32:1}, Collections$SingletonList);
+_.contains_0 = function(item_0){
+ return equals_0(this.element, item_0);
+}
+;
+_.get_1 = function(index_0){
+ checkElementIndex(index_0, 1);
+ return this.element;
+}
+;
+_.size_2 = function(){
+ return 1;
+}
+;
+var Ljava_util_Collections$SingletonList_2_classLit = createForClass('java.util', 'Collections/SingletonList', 169, Ljava_util_AbstractList_2_classLit);
+function Collections$UnmodifiableCollection(coll){
+ this.coll = coll;
+}
+
+defineClass(170, 1, {});
+_.add_1 = function(o){
+ throw new UnsupportedOperationException;
+}
+;
+_.addAll = function(c){
+ throw new UnsupportedOperationException;
+}
+;
+_.contains_0 = function(o){
+ return this.coll.contains_0(o);
+}
+;
+_.iterator = function(){
+ return new Collections$UnmodifiableCollectionIterator(this.coll.iterator());
+}
+;
+_.remove_1 = function(o){
+ throw new UnsupportedOperationException;
+}
+;
+_.size_2 = function(){
+ return this.coll.size_2();
+}
+;
+_.toArray = function(){
+ return this.coll.toArray();
+}
+;
+_.toArray_0 = function(a){
+ return this.coll.toArray_0(a);
+}
+;
+_.toString$ = function(){
+ return this.coll.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableCollection_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollection', 170, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableCollectionIterator(it){
+ this.it = it;
+}
+
+defineClass(75, 1, {}, Collections$UnmodifiableCollectionIterator);
+_.hasNext = function(){
+ return this.it.hasNext();
+}
+;
+_.next_0 = function(){
+ return this.it.next_0();
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException;
+}
+;
+var Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollectionIterator', 75, Ljava_lang_Object_2_classLit);
+function $get_8(this$static, index_0){
+ return this$static.list.get_1(index_0);
+}
+
+function $indexOf_5(this$static, o){
+ return this$static.list.indexOf_0(o);
+}
+
+function Collections$UnmodifiableList(list){
+ Collections$UnmodifiableCollection.call(this, list);
+ this.list = list;
+}
+
+defineClass(171, 170, $intern_54, Collections$UnmodifiableList);
+_.equals$ = function(o){
+ return this.list.equals$(o);
+}
+;
+_.get_1 = function(index_0){
+ return $get_8(this, index_0);
+}
+;
+_.hashCode$ = function(){
+ return this.list.hashCode$();
+}
+;
+_.indexOf_0 = function(o){
+ return $indexOf_5(this, o);
+}
+;
+_.isEmpty = function(){
+ return this.list.isEmpty();
+}
+;
+_.listIterator = function(){
+ return new Collections$UnmodifiableListIterator(this.list.listIterator_0(0));
+}
+;
+_.listIterator_0 = function(from){
+ return new Collections$UnmodifiableListIterator(this.list.listIterator_0(from));
+}
+;
+var Ljava_util_Collections$UnmodifiableList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableList', 171, Ljava_util_Collections$UnmodifiableCollection_2_classLit);
+function Collections$UnmodifiableListIterator(lit){
+ Collections$UnmodifiableCollectionIterator.call(this, lit);
+ this.lit = lit;
+}
+
+defineClass(174, 75, {}, Collections$UnmodifiableListIterator);
+_.hasPrevious = function(){
+ return this.lit.hasPrevious();
+}
+;
+_.previous = function(){
+ return this.lit.previous();
+}
+;
+var Ljava_util_Collections$UnmodifiableListIterator_2_classLit = createForClass('java.util', 'Collections/UnmodifiableListIterator', 174, Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit);
+function Collections$UnmodifiableMap(map_0){
+ this.map_0 = map_0;
+}
+
+defineClass(172, 1, {77:1}, Collections$UnmodifiableMap);
+_.entrySet_0 = function(){
+ !this.entrySet && (this.entrySet = new Collections$UnmodifiableMap$UnmodifiableEntrySet(this.map_0.entrySet_0()));
+ return this.entrySet;
+}
+;
+_.equals$ = function(o){
+ return this.map_0.equals$(o);
+}
+;
+_.get_0 = function(key){
+ return this.map_0.get_0(key);
+}
+;
+_.hashCode$ = function(){
+ return this.map_0.hashCode$();
+}
+;
+_.isEmpty = function(){
+ return this.map_0.isEmpty();
+}
+;
+_.put = function(key, value_0){
+ throw new UnsupportedOperationException;
+}
+;
+_.remove_2 = function(key){
+ throw new UnsupportedOperationException;
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.toString$ = function(){
+ return this.map_0.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableMap_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap', 172, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableSet(set_0){
+ Collections$UnmodifiableCollection.call(this, set_0);
+}
+
+defineClass(137, 170, $intern_53, Collections$UnmodifiableSet);
+_.equals$ = function(o){
+ return this.coll.equals$(o);
+}
+;
+_.hashCode$ = function(){
+ return this.coll.hashCode$();
+}
+;
+var Ljava_util_Collections$UnmodifiableSet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableSet', 137, Ljava_util_Collections$UnmodifiableCollection_2_classLit);
+function $wrap(array, size_0){
+ var i_0;
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(array, i_0, new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(dynamicCast(array[i_0], 26)));
+ }
+}
+
+function Collections$UnmodifiableMap$UnmodifiableEntrySet(s){
+ Collections$UnmodifiableSet.call(this, s);
+}
+
+defineClass(408, 137, $intern_53, Collections$UnmodifiableMap$UnmodifiableEntrySet);
+_.contains_0 = function(o){
+ return this.coll.contains_0(o);
+}
+;
+_.iterator = function(){
+ var it;
+ it = this.coll.iterator();
+ return new Collections$UnmodifiableMap$UnmodifiableEntrySet$1(it);
+}
+;
+_.toArray = function(){
+ var array;
+ array = this.coll.toArray();
+ $wrap(array, array.length);
+ return array;
+}
+;
+_.toArray_0 = function(a){
+ var result;
+ result = this.coll.toArray_0(a);
+ $wrap(result, this.coll.size_2());
+ return result;
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet', 408, Ljava_util_Collections$UnmodifiableSet_2_classLit);
+function Collections$UnmodifiableMap$UnmodifiableEntrySet$1(val$it){
+ this.val$it2 = val$it;
+}
+
+defineClass(410, 1, {}, Collections$UnmodifiableMap$UnmodifiableEntrySet$1);
+_.hasNext = function(){
+ return this.val$it2.hasNext();
+}
+;
+_.next_0 = function(){
+ return new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(dynamicCast(this.val$it2.next_0(), 26));
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException;
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/1', 410, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(entry){
+ this.entry = entry;
+}
+
+defineClass(173, 1, $intern_55, Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry);
+_.equals$ = function(o){
+ return this.entry.equals$(o);
+}
+;
+_.getKey = function(){
+ return this.entry.getKey();
+}
+;
+_.getValue_1 = function(){
+ return this.entry.getValue_1();
+}
+;
+_.hashCode$ = function(){
+ return this.entry.hashCode$();
+}
+;
+_.setValue_0 = function(value_0){
+ throw new UnsupportedOperationException;
+}
+;
+_.toString$ = function(){
+ return this.entry.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry', 173, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableRandomAccessList(list){
+ Collections$UnmodifiableList.call(this, list);
+}
+
+defineClass(409, 171, {32:1, 111:1}, Collections$UnmodifiableRandomAccessList);
+var Ljava_util_Collections$UnmodifiableRandomAccessList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableRandomAccessList', 409, Ljava_util_Collections$UnmodifiableList_2_classLit);
+function checkStructuralChange(host, iterator){
+ if (iterator._gwt_modCount != host._gwt_modCount) {
+ throw new ConcurrentModificationException;
+ }
+}
+
+function recordLastKnownStructure(host, iterator){
+ setModCount(iterator, host._gwt_modCount);
+}
+
+function setModCount(o, modCount){
+ o._gwt_modCount = modCount;
+}
+
+function structureChanged(map_0){
+ var modCount;
+ modCount = map_0._gwt_modCount | 0;
+ setModCount(map_0, modCount + 1);
+}
+
+function ConcurrentModificationException(){
+ RuntimeException.call(this);
+}
+
+defineClass(538, 11, $intern_3, ConcurrentModificationException);
+var Ljava_util_ConcurrentModificationException_2_classLit = createForClass('java.util', 'ConcurrentModificationException', 538, Ljava_lang_RuntimeException_2_classLit);
+function HashMap(){
+ $reset(this);
+}
+
+function HashMap_0(){
+ checkCriticalArgument(true, 'Negative initial capacity');
+ checkCriticalArgument(true, 'Non-positive load factor');
+ $reset(this);
+}
+
+defineClass(29, 132, {3:1, 77:1}, HashMap, HashMap_0);
+_.equals = function(value1, value2){
+ return maskUndefined(value1) === maskUndefined(value2) || value1 != null && equals_Ljava_lang_Object__Z__devirtual$(value1, value2);
+}
+;
+_.getHashCode = function(key){
+ var hashCode;
+ hashCode = hashCode__I__devirtual$(key);
+ return hashCode | 0;
+}
+;
+var Ljava_util_HashMap_2_classLit = createForClass('java.util', 'HashMap', 29, Ljava_util_AbstractHashMap_2_classLit);
+function $add_7(this$static, o){
+ var old;
+ old = this$static.map_0.put(o, this$static);
+ return old == null;
+}
+
+function $contains_1(this$static, o){
+ return this$static.map_0.containsKey(o);
+}
+
+function $remove_8(this$static, o){
+ return this$static.map_0.remove_2(o) != null;
+}
+
+function HashSet(){
+ this.map_0 = new HashMap;
+}
+
+function HashSet_0(){
+ this.map_0 = new HashMap_0;
+}
+
+function HashSet_1(map_0){
+ this.map_0 = map_0;
+}
+
+defineClass(44, 581, $intern_57, HashSet, HashSet_0);
+_.add_1 = function(o){
+ return $add_7(this, o);
+}
+;
+_.contains_0 = function(o){
+ return $contains_1(this, o);
+}
+;
+_.isEmpty = function(){
+ return this.map_0.size_2() == 0;
+}
+;
+_.iterator = function(){
+ return $iterator(new AbstractMap$1(this.map_0));
+}
+;
+_.remove_1 = function(o){
+ return $remove_8(this, o);
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.toString$ = function(){
+ return $toString_3(new AbstractMap$1(this.map_0));
+}
+;
+var Ljava_util_HashSet_2_classLit = createForClass('java.util', 'HashSet', 44, Ljava_util_AbstractSet_2_classLit);
+function $ensureChain(this$static, hashCode){
+ var map_0 = this$static.backingMap;
+ return map_0[hashCode] || (map_0[hashCode] = []);
+}
+
+function $getChain(this$static, hashCode){
+ return this$static.backingMap[hashCode];
+}
+
+function $getChainOrEmpty(this$static, hashCode){
+ return this$static.backingMap[hashCode] || [];
+}
+
+function $getEntry(this$static, key){
+ var entry, entry$array, entry$index, entry$max;
+ for (entry$array = $getChainOrEmpty(this$static, key == null?'0':'' + this$static.host.getHashCode(key)) , entry$index = 0 , entry$max = entry$array.length; entry$index < entry$max; ++entry$index) {
+ entry = entry$array[entry$index];
+ if (this$static.host.equals(key, entry.getKey())) {
+ return entry;
+ }
+ }
+ return null;
+}
+
+function $keys_0(this$static){
+ return Object.getOwnPropertyNames(this$static.backingMap);
+}
+
+function $put_2(this$static, key, value_0){
+ var chain, entry, entry$index, entry$max;
+ chain = $ensureChain(this$static, key == null?'0':'' + this$static.host.getHashCode(key));
+ for (entry$index = 0 , entry$max = chain.length; entry$index < entry$max; ++entry$index) {
+ entry = chain[entry$index];
+ if (this$static.host.equals(key, entry.getKey())) {
+ return entry.setValue_0(value_0);
+ }
+ }
+ setCheck(chain, chain.length, new AbstractMap$SimpleEntry(key, value_0));
+ $elementAdded(this$static.host);
+ return null;
+}
+
+function $remove_9(this$static, key){
+ var chain, entry, hashCode, i_0;
+ hashCode = key == null?'0':'' + this$static.host.getHashCode(key);
+ chain = $getChainOrEmpty(this$static, hashCode);
+ for (i_0 = 0; i_0 < chain.length; i_0++) {
+ entry = chain[i_0];
+ if (this$static.host.equals(key, entry.getKey())) {
+ chain.length == 1?(delete this$static.backingMap[hashCode] , undefined):(chain.splice(i_0, 1) , undefined);
+ $elementRemoved(this$static.host);
+ return entry.getValue_1();
+ }
+ }
+ return null;
+}
+
+function InternalJsHashCodeMap(){
+ this.backingMap = this.createMap();
+}
+
+defineClass(183, 1, {}, InternalJsHashCodeMap);
+_.createMap = function createMap(){
+ return Object.create(null);
+}
+;
+_.entries = function(){
+ return new InternalJsHashCodeMap$1(this);
+}
+;
+var Ljava_util_InternalJsHashCodeMap_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap', 183, Ljava_lang_Object_2_classLit);
+function $hasNext_0(this$static){
+ if (this$static.itemIndex < this$static.chain.length) {
+ return true;
+ }
+ if (this$static.chainIndex < this$static.keys_0.length - 1) {
+ this$static.chain = $getChain(this$static.this$01, this$static.keys_0[++this$static.chainIndex]);
+ this$static.itemIndex = 0;
+ return true;
+ }
+ return false;
+}
+
+function InternalJsHashCodeMap$1(this$0){
+ this.this$01 = this$0;
+ this.keys_0 = $keys_0(this.this$01);
+ this.chain = initDim(Ljava_util_Map$Entry_2_classLit, $intern_5, 26, 0, 0, 1);
+}
+
+defineClass(457, 1, {}, InternalJsHashCodeMap$1);
+_.hasNext = function(){
+ return $hasNext_0(this);
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement($hasNext_0(this)) , this.lastChain = this.chain , this.lastEntry = this.chain[this.itemIndex++] , this.lastEntry;
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.lastEntry);
+ $remove_9(this.this$01, this.lastEntry.getKey());
+ maskUndefined(this.chain) === maskUndefined(this.lastChain) && this.chain.length != 1 && --this.itemIndex;
+ this.lastEntry = null;
+}
+;
+_.chainIndex = -1;
+_.itemIndex = 0;
+_.lastChain = null;
+_.lastEntry = null;
+var Ljava_util_InternalJsHashCodeMap$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/1', 457, Ljava_lang_Object_2_classLit);
+function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy(){
+ InternalJsHashCodeMap.call(this);
+}
+
+defineClass(455, 183, {}, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy);
+_.createMap = function createMap_0(){
+ return {};
+}
+;
+_.entries = function entries(){
+ var list = this.newEntryList();
+ var map_0 = this.backingMap;
+ for (var hashCode in map_0) {
+ if (hashCode == parseInt(hashCode, 10)) {
+ var array = map_0[hashCode];
+ for (var i_0 = 0, c = array.length; i_0 < c; ++i_0) {
+ list.add_1(array[i_0]);
+ }
+ }
+ }
+ return list.iterator();
+}
+;
+_.newEntryList = function(){
+ return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1(this);
+}
+;
+var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy', 455, Ljava_util_InternalJsHashCodeMap_2_classLit);
+function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1(this$1){
+ this.this$11 = this$1;
+ ArrayList.call(this);
+}
+
+defineClass(456, 15, $intern_56, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1);
+_.remove_3 = function(index_0){
+ var removed;
+ return removed = dynamicCast($remove_6(this, index_0), 26) , $remove_9(this.this$11, removed.getKey()) , removed;
+}
+;
+var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy/1', 456, Ljava_util_ArrayList_2_classLit);
+function InternalJsMapFactory(){
+}
+
+defineClass(461, 1, {}, InternalJsMapFactory);
+_.createJsHashCodeMap = function(){
+ return new InternalJsHashCodeMap;
+}
+;
+_.createJsStringMap = function(){
+ return new InternalJsStringMap;
+}
+;
+var Ljava_util_InternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory', 461, Ljava_lang_Object_2_classLit);
+function $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory(){
+ $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory = emptyMethod;
+ delegate = createFactory();
+}
+
+function canHandleProto(){
+ var protoField = '__proto__';
+ var map_0 = Object.create(null);
+ if (map_0[protoField] !== undefined) {
+ return false;
+ }
+ var keys_0 = Object.getOwnPropertyNames(map_0);
+ if (keys_0.length != 0) {
+ return false;
+ }
+ map_0[protoField] = 42;
+ if (map_0[protoField] !== 42) {
+ return false;
+ }
+ return true;
+}
+
+function createFactory(){
+ var map_0;
+ if (Object.create && Object.getOwnPropertyNames && canHandleProto()) {
+ return (map_0 = Object.create(null) , map_0['__proto__'] = 42 , Object.getOwnPropertyNames(map_0).length == 0)?new InternalJsMapFactory$KeysWorkaroundJsMapFactory:new InternalJsMapFactory;
+ }
+ return new InternalJsMapFactory$LegacyInternalJsMapFactory;
+}
+
+var delegate;
+function InternalJsMapFactory$KeysWorkaroundJsMapFactory(){
+}
+
+defineClass(463, 461, {}, InternalJsMapFactory$KeysWorkaroundJsMapFactory);
+_.createJsStringMap = function(){
+ return new InternalJsStringMap$InternalJsStringMapWithKeysWorkaround;
+}
+;
+var Ljava_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/KeysWorkaroundJsMapFactory', 463, Ljava_util_InternalJsMapFactory_2_classLit);
+function InternalJsMapFactory$LegacyInternalJsMapFactory(){
+}
+
+defineClass(462, 461, {}, InternalJsMapFactory$LegacyInternalJsMapFactory);
+_.createJsHashCodeMap = function(){
+ return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy;
+}
+;
+_.createJsStringMap = function(){
+ return new InternalJsStringMap$InternalJsStringMapLegacy;
+}
+;
+var Ljava_util_InternalJsMapFactory$LegacyInternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/LegacyInternalJsMapFactory', 462, Ljava_util_InternalJsMapFactory_2_classLit);
+function $keys_1(this$static){
+ return Object.getOwnPropertyNames(this$static.backingMap);
+}
+
+function $put_3(this$static, key, value_0){
+ var oldValue;
+ oldValue = this$static.backingMap[key];
+ oldValue === undefined && $elementAdded(this$static.host);
+ $set_5(this$static, key, value_0 === undefined?null:value_0);
+ return oldValue;
+}
+
+function $remove_10(this$static, key){
+ var value_0;
+ value_0 = this$static.backingMap[key];
+ if (!(value_0 === undefined)) {
+ delete this$static.backingMap[key];
+ $elementRemoved(this$static.host);
+ }
+ return value_0;
+}
+
+function $set_5(this$static, key, value_0){
+ this$static.backingMap[key] = value_0;
+}
+
+function InternalJsStringMap(){
+ this.backingMap = this.createMap_0();
+}
+
+defineClass(142, 1, {}, InternalJsStringMap);
+_.createMap_0 = function createMap_1(){
+ return Object.create(null);
+}
+;
+_.entries = function(){
+ var keys_0;
+ keys_0 = this.keys_1();
+ return new InternalJsStringMap$1(this, keys_0);
+}
+;
+_.get_2 = function(key){
+ return this.backingMap[key];
+}
+;
+_.keys_1 = function(){
+ return $keys_1(this);
+}
+;
+_.newMapEntry = function(key){
+ return new InternalJsStringMap$2(this, key);
+}
+;
+_.put_0 = function(key, value_0){
+ return $put_3(this, key, value_0);
+}
+;
+_.remove_4 = function(key){
+ return $remove_10(this, key);
+}
+;
+var Ljava_util_InternalJsStringMap_2_classLit = createForClass('java.util', 'InternalJsStringMap', 142, Ljava_lang_Object_2_classLit);
+function InternalJsStringMap$1(this$0, val$keys){
+ this.this$01 = this$0;
+ this.val$keys2 = val$keys;
+}
+
+defineClass(428, 1, {}, InternalJsStringMap$1);
+_.hasNext = function(){
+ return this.i < this.val$keys2.length;
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement(this.i < this.val$keys2.length) , new InternalJsStringMap$2(this.this$01, this.val$keys2[this.last = this.i++]);
+}
+;
+_.remove_0 = function(){
+ checkState(this.last != -1);
+ this.this$01.remove_4(this.val$keys2[this.last]);
+ this.last = -1;
+}
+;
+_.i = 0;
+_.last = -1;
+var Ljava_util_InternalJsStringMap$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/1', 428, Ljava_lang_Object_2_classLit);
+function InternalJsStringMap$2(this$0, val$key){
+ this.this$01 = this$0;
+ this.val$key2 = val$key;
+}
+
+defineClass(178, 586, $intern_55, InternalJsStringMap$2);
+_.getKey = function(){
+ return this.val$key2;
+}
+;
+_.getValue_1 = function(){
+ return this.this$01.get_2(this.val$key2);
+}
+;
+_.setValue_0 = function(object){
+ return this.this$01.put_0(this.val$key2, object);
+}
+;
+var Ljava_util_InternalJsStringMap$2_2_classLit = createForClass('java.util', 'InternalJsStringMap/2', 178, Ljava_util_AbstractMapEntry_2_classLit);
+function InternalJsStringMap$InternalJsStringMapLegacy(){
+ InternalJsStringMap.call(this);
+}
+
+defineClass(425, 142, {}, InternalJsStringMap$InternalJsStringMapLegacy);
+_.createMap_0 = function createMap_2(){
+ return {};
+}
+;
+_.entries = function entries_0(){
+ var list = this.newEntryList_0();
+ for (var key in this.backingMap) {
+ if (key.charCodeAt(0) == 58) {
+ var entry = this.newMapEntry(key.substring(1));
+ list.add_1(entry);
+ }
+ }
+ return list.iterator();
+}
+;
+_.get_2 = function(key){
+ return this.backingMap[':' + key];
+}
+;
+_.newEntryList_0 = function(){
+ return new InternalJsStringMap$InternalJsStringMapLegacy$1(this);
+}
+;
+_.put_0 = function(key, value_0){
+ return $put_3(this, ':' + key, value_0);
+}
+;
+_.remove_4 = function(key){
+ return $remove_10(this, ':' + key);
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy', 425, Ljava_util_InternalJsStringMap_2_classLit);
+function InternalJsStringMap$InternalJsStringMapLegacy$1(this$1){
+ this.this$11 = this$1;
+ ArrayList.call(this);
+}
+
+defineClass(427, 15, $intern_56, InternalJsStringMap$InternalJsStringMapLegacy$1);
+_.remove_3 = function(index_0){
+ var removed;
+ return removed = dynamicCast($remove_6(this, index_0), 26) , $remove_10(this.this$11, ':' + dynamicCastToString(removed.getKey())) , removed;
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy/1', 427, Ljava_util_ArrayList_2_classLit);
+function InternalJsStringMap$InternalJsStringMapWithKeysWorkaround(){
+ InternalJsStringMap.call(this);
+}
+
+defineClass(426, 142, {}, InternalJsStringMap$InternalJsStringMapWithKeysWorkaround);
+_.keys_1 = function(){
+ var keys_0;
+ keys_0 = $keys_1(this);
+ !(this.backingMap['__proto__'] === undefined) && (keys_0[keys_0.length] = '__proto__');
+ return keys_0;
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapWithKeysWorkaround', 426, Ljava_util_InternalJsStringMap_2_classLit);
+function $put_4(this$static, key, value_0){
+ var newEntry, old, oldValue;
+ old = dynamicCast(this$static.map_0.get_0(key), 80);
+ if (!old) {
+ newEntry = new LinkedHashMap$ChainEntry_0(this$static, key, value_0);
+ this$static.map_0.put(key, newEntry);
+ $addToEnd(newEntry);
+ return null;
+ }
+ else {
+ oldValue = $setValue_3(old, value_0);
+ $recordAccess(this$static, old);
+ return oldValue;
+ }
+}
+
+function $recordAccess(this$static, entry){
+ if (this$static.accessOrder) {
+ $remove_12(entry);
+ $addToEnd(entry);
+ }
+}
+
+function $remove_11(this$static, key){
+ var entry;
+ entry = dynamicCast(this$static.map_0.remove_2(key), 80);
+ if (entry) {
+ $remove_12(entry);
+ return entry.value_0;
+ }
+ return null;
+}
+
+function LinkedHashMap(){
+ HashMap.call(this);
+ this.head_0 = new LinkedHashMap$ChainEntry(this);
+ this.map_0 = new HashMap;
+ this.head_0.prev = this.head_0;
+ this.head_0.next = this.head_0;
+}
+
+defineClass(117, 29, {3:1, 77:1}, LinkedHashMap);
+_.clear_0 = function(){
+ this.map_0.clear_0();
+ this.head_0.prev = this.head_0;
+ this.head_0.next = this.head_0;
+}
+;
+_.containsKey = function(key){
+ return this.map_0.containsKey(key);
+}
+;
+_.entrySet_0 = function(){
+ return new LinkedHashMap$EntrySet(this);
+}
+;
+_.get_0 = function(key){
+ var entry;
+ entry = dynamicCast(this.map_0.get_0(key), 80);
+ if (entry) {
+ $recordAccess(this, entry);
+ return entry.value_0;
+ }
+ return null;
+}
+;
+_.put = function(key, value_0){
+ return $put_4(this, key, value_0);
+}
+;
+_.remove_2 = function(key){
+ return $remove_11(this, key);
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.accessOrder = false;
+var Ljava_util_LinkedHashMap_2_classLit = createForClass('java.util', 'LinkedHashMap', 117, Ljava_util_HashMap_2_classLit);
+function $addToEnd(this$static){
+ var tail;
+ tail = this$static.this$01.head_0.prev;
+ if (!(!!this$static.this$01.head_0 && !!tail)) {
+ debugger;
+ throw new AssertionError;
+ }
+ if (!(!this$static.next && !this$static.prev)) {
+ debugger;
+ throw new AssertionError;
+ }
+ this$static.prev = tail;
+ this$static.next = this$static.this$01.head_0;
+ tail.next = this$static.this$01.head_0.prev = this$static;
+}
+
+function $remove_12(this$static){
+ this$static.next.prev = this$static.prev;
+ this$static.prev.next = this$static.next;
+ this$static.next = this$static.prev = null;
+}
+
+function LinkedHashMap$ChainEntry(this$0){
+ LinkedHashMap$ChainEntry_0.call(this, this$0, null, null);
+}
+
+function LinkedHashMap$ChainEntry_0(this$0, key, value_0){
+ this.this$01 = this$0;
+ AbstractMap$SimpleEntry.call(this, key, value_0);
+}
+
+defineClass(80, 133, {80:1, 26:1}, LinkedHashMap$ChainEntry, LinkedHashMap$ChainEntry_0);
+var Ljava_util_LinkedHashMap$ChainEntry_2_classLit = createForClass('java.util', 'LinkedHashMap/ChainEntry', 80, Ljava_util_AbstractMap$SimpleEntry_2_classLit);
+function $contains_2(this$static, o){
+ if (instanceOf(o, 26)) {
+ return $containsEntry(this$static.this$01, dynamicCast(o, 26));
+ }
+ return false;
+}
+
+function LinkedHashMap$EntrySet(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(507, 581, $intern_53, LinkedHashMap$EntrySet);
+_.contains_0 = function(o){
+ return $contains_2(this, o);
+}
+;
+_.iterator = function(){
+ return new LinkedHashMap$EntrySet$EntryIterator(this);
+}
+;
+_.remove_1 = function(entry){
+ var key;
+ if ($contains_2(this, entry)) {
+ key = dynamicCast(entry, 26).getKey();
+ $remove_11(this.this$01, key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.map_0.size_2();
+}
+;
+var Ljava_util_LinkedHashMap$EntrySet_2_classLit = createForClass('java.util', 'LinkedHashMap/EntrySet', 507, Ljava_util_AbstractSet_2_classLit);
+function LinkedHashMap$EntrySet$EntryIterator(this$1){
+ this.this$11 = this$1;
+ this.next = this$1.this$01.head_0.next;
+ recordLastKnownStructure(this$1.this$01.map_0, this);
+}
+
+defineClass(508, 1, {}, LinkedHashMap$EntrySet$EntryIterator);
+_.hasNext = function(){
+ return this.next != this.this$11.this$01.head_0;
+}
+;
+_.next_0 = function(){
+ return checkStructuralChange(this.this$11.this$01.map_0, this) , checkCriticalElement(this.next != this.this$11.this$01.head_0) , this.last = this.next , this.next = this.next.next , this.last;
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.last);
+ checkStructuralChange(this.this$11.this$01.map_0, this);
+ $remove_12(this.last);
+ this.this$11.this$01.map_0.remove_2(this.last.key);
+ recordLastKnownStructure(this.this$11.this$01.map_0, this);
+ this.last = null;
+}
+;
+var Ljava_util_LinkedHashMap$EntrySet$EntryIterator_2_classLit = createForClass('java.util', 'LinkedHashMap/EntrySet/EntryIterator', 508, Ljava_lang_Object_2_classLit);
+function LinkedHashSet(){
+ HashSet_1.call(this, new LinkedHashMap);
+}
+
+function LinkedHashSet_0(c){
+ HashSet_1.call(this, new LinkedHashMap);
+ $addAll_0(this, c);
+}
+
+defineClass(79, 44, $intern_57, LinkedHashSet, LinkedHashSet_0);
+var Ljava_util_LinkedHashSet_2_classLit = createForClass('java.util', 'LinkedHashSet', 79, Ljava_util_HashSet_2_classLit);
+function $addLast(this$static, o){
+ $addNode_1(this$static, o, this$static.tail.prev, this$static.tail);
+}
+
+function $addNode_1(this$static, o, prev, next){
+ var node;
+ node = new LinkedList$Node;
+ node.value_0 = o;
+ node.prev = prev;
+ node.next = next;
+ next.prev = prev.next = node;
+ ++this$static.size_0;
+}
+
+function $getFirst(this$static){
+ checkCriticalElement(this$static.size_0 != 0);
+ return this$static.header.next.value_0;
+}
+
+function $getLast(this$static){
+ checkCriticalElement(this$static.size_0 != 0);
+ return this$static.tail.prev.value_0;
+}
+
+function $listIterator(this$static, index_0){
+ var i_0, node;
+ checkPositionIndex(index_0, this$static.size_0);
+ if (index_0 >= this$static.size_0 >> 1) {
+ node = this$static.tail;
+ for (i_0 = this$static.size_0; i_0 > index_0; --i_0) {
+ node = node.prev;
+ }
+ }
+ else {
+ node = this$static.header.next;
+ for (i_0 = 0; i_0 < index_0; ++i_0) {
+ node = node.next;
+ }
+ }
+ return new LinkedList$ListIteratorImpl(this$static, index_0, node);
+}
+
+function $removeNode(this$static, node){
+ var oldValue;
+ oldValue = node.value_0;
+ node.next.prev = node.prev;
+ node.prev.next = node.next;
+ node.next = node.prev = null;
+ node.value_0 = null;
+ --this$static.size_0;
+ return oldValue;
+}
+
+function $reset_0(this$static){
+ this$static.header.next = this$static.tail;
+ this$static.tail.prev = this$static.header;
+ this$static.header.prev = this$static.tail.next = null;
+ this$static.size_0 = 0;
+}
+
+function LinkedList(){
+ this.header = new LinkedList$Node;
+ this.tail = new LinkedList$Node;
+ $reset_0(this);
+}
+
+defineClass(143, 591, {3:1, 32:1, 551:1}, LinkedList);
+_.add_1 = function(o){
+ return $addNode_1(this, o, this.tail.prev, this.tail) , true;
+}
+;
+_.listIterator_0 = function(index_0){
+ return $listIterator(this, index_0);
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 0;
+var Ljava_util_LinkedList_2_classLit = createForClass('java.util', 'LinkedList', 143, Ljava_util_AbstractSequentialList_2_classLit);
+function $add_8(this$static, o){
+ $addNode_1(this$static.this$01, o, this$static.currentNode.prev, this$static.currentNode);
+ ++this$static.currentIndex;
+ this$static.lastNode = null;
+}
+
+function $remove_13(this$static){
+ var nextNode;
+ checkState(!!this$static.lastNode);
+ nextNode = this$static.lastNode.next;
+ $removeNode(this$static.this$01, this$static.lastNode);
+ this$static.currentNode == this$static.lastNode?(this$static.currentNode = nextNode):--this$static.currentIndex;
+ this$static.lastNode = null;
+}
+
+function LinkedList$ListIteratorImpl(this$0, index_0, startNode){
+ this.this$01 = this$0;
+ this.currentNode = startNode;
+ this.currentIndex = index_0;
+}
+
+defineClass(453, 1, {}, LinkedList$ListIteratorImpl);
+_.hasNext = function(){
+ return this.currentNode != this.this$01.tail;
+}
+;
+_.hasPrevious = function(){
+ return this.currentNode.prev != this.this$01.header;
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement(this.currentNode != this.this$01.tail) , this.lastNode = this.currentNode , this.currentNode = this.currentNode.next , ++this.currentIndex , this.lastNode.value_0;
+}
+;
+_.previous = function(){
+ return checkCriticalElement(this.currentNode.prev != this.this$01.header) , this.lastNode = this.currentNode = this.currentNode.prev , --this.currentIndex , this.lastNode.value_0;
+}
+;
+_.remove_0 = function(){
+ $remove_13(this);
+}
+;
+_.currentIndex = 0;
+_.lastNode = null;
+var Ljava_util_LinkedList$ListIteratorImpl_2_classLit = createForClass('java.util', 'LinkedList/ListIteratorImpl', 453, Ljava_lang_Object_2_classLit);
+function LinkedList$Node(){
+}
+
+defineClass(144, 1, {}, LinkedList$Node);
+var Ljava_util_LinkedList$Node_2_classLit = createForClass('java.util', 'LinkedList/Node', 144, Ljava_lang_Object_2_classLit);
+var Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry');
+function NoSuchElementException(){
+ RuntimeException.call(this);
+}
+
+defineClass(68, 11, {3:1, 9:1, 11:1, 13:1, 68:1}, NoSuchElementException);
+var Ljava_util_NoSuchElementException_2_classLit = createForClass('java.util', 'NoSuchElementException', 68, Ljava_lang_RuntimeException_2_classLit);
+function equals_0(a, b){
+ return maskUndefined(a) === maskUndefined(b) || a != null && equals_Ljava_lang_Object__Z__devirtual$(a, b);
+}
+
+function hashCode_2(o){
+ return o != null?hashCode__I__devirtual$(o):0;
+}
+
+var Lcom_google_gwt_lang_CollapsedPropertyHolder_2_classLit = createForClass('com.google.gwt.lang', 'CollapsedPropertyHolder', 556, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_JavaClassHierarchySetupUtil_2_classLit = createForClass('com.google.gwt.lang', 'JavaClassHierarchySetupUtil', 558, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass('com.google.gwt.lang', 'LongLibBase/LongEmul', null, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_ModuleUtils_2_classLit = createForClass('com.google.gwt.lang', 'ModuleUtils', 561, Ljava_lang_Object_2_classLit), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData'), Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationObserverInit'), Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords'), Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit = createForInterface('com.vaadin.client.widget.grid', 'EditorHandler'), D_classLit = createForPrimitive('double', 'D'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse'), Ljava_lang_StackTraceElement_2_classLit = createForClass('java.lang', 'StackTraceElement', null, Ljava_lang_Object_2_classLit), Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit = createForInterface('com.google.gwt.query.client.plugins.ajax', 'Ajax/Settings'), Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit = createForInterface('com.google.gwt.query.client.builders', 'JsonBuilder'), Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords/MutationRecord'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse/GAjaxColumn'), Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry');
+_ = provide('$wnd.vaadin.Utils');
+_.formatCurrency = formatCurrency;
+_ = provide('$wnd.vaadin');
+_.WCVGrid = WCVGrid;
+_ = provide('$wnd.vaadin.WCVGrid');
+_.createGridColumn = createGridColumn;
+_.TAG = TAG;
+_ = provide('$wnd.vaadin');
+_.WCVProgress = WCVProgress;
+_ = provide('$wnd.vaadin.WCVProgress');
+_.TAG = TAG_0;
+_ = provide('$wnd.vaadin');
+_.WCVSlider = WCVSlider;
+_ = provide('$wnd.vaadin.WCVSlider');
+_.TAG = TAG_1;
+var $entry = entry_0;
+var gwtOnLoad = gwtOnLoad = gwtOnLoad_0;
+addInitFunctions(init_0);
+setGwtProperty('permProps', [[['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'ie10']], [['locale', 'default'], ['user.agent', 'ie10']], [['locale', 'default'], ['user.agent', 'safari']]]);
+
+$sendStats('moduleStartup', 'moduleEvalEnd');
+gwtOnLoad(__gwtModuleFunction.__errFn, __gwtModuleFunction.__moduleName, __gwtModuleFunction.__moduleBase, __gwtModuleFunction.__softPermutationId,__gwtModuleFunction.__computePropValue);
+$sendStats('moduleStartup', 'end');
+$gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps);
//# sourceURL=VaadinComponents-0.js
}