$wnd.showcase.runAsyncCallback7("function Umc(){Vmc.call(this,false)}\nfunction onc(a,b){qnc.call(this,a,false);this.b=b}\nfunction pnc(a,b){qnc.call(this,a,false);nnc(this,b)}\nfunction rnc(a){qnc.call(this,'GWT',true);nnc(this,a)}\nfunction lSb(a){this.c=a;this.b=ZFb(this.c.a)}\nfunction xmc(a,b){return Fmc(a,b,a.a.a.length)}\nfunction Ob(a){Wb((rd(),md),a,Eeb(yeb(jAb,1),vNc,224,8,[(oBc(),true)]))}\nfunction nnc(a,b){a.e=b;!!a.d&&Tmc(a.d,a);(kkc(),Sac(),b.hb).tabIndex=-1;De();Ob(a.hb)}\nfunction Fmc(a,b,c){if(c<0||c>a.a.a.length){throw YBb(new hBc)}a.o&&((Sac(),b.hb)[fTc]=2,undefined);wmc(a,c,(Sac(),b.hb));fHc(a.a,c,b);return b}\nfunction VFb(a){var b,c;b=rfb(fFc(a.a,ATc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['New','Open','Close',BTc,'Exit']);iFc(a.a,ATc,c);return c}else{return b}}\nfunction UFb(a){var b,c;b=rfb(fFc(a.a,zTc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['Undo','Redo','Cut','Copy','Paste']);iFc(a.a,zTc,c);return c}else{return b}}\nfunction YFb(a){var b,c;b=rfb(fFc(a.a,ETc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['Contents','Fortune Cookie','About GWT']);iFc(a.a,ETc,c);return c}else{return b}}\nfunction XFb(a){var b,c;b=rfb(fFc(a.a,DTc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['Download','Examples',sQc,\"GWT wit' the program\"]);iFc(a.a,DTc,c);return c}else{return b}}\nfunction WFb(a){var b,c;b=rfb(fFc(a.a,CTc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);iFc(a.a,CTc,c);return c}else{return b}}\nfunction snc(){var a;mh(this,(Sac(),$doc.createElement(ZRc)));this.hb.className='gwt-MenuItemSeparator';a=$doc.createElement(TNc);to(this.hb,Zac(a));a.className='menuSeparatorInner'}\nfunction ZFb(a){var b,c;b=rfb(fFc(a.a,FTc),5);if(b==null){c=Eeb(yeb(DAb,1),xPc,2,6,['Thank you for selecting a menu item','A fine selection indeed',\"Don't you have anything better to do than select menu items?\",'Try something else','this is just a menu!','Another wasted click']);iFc(a.a,FTc,c);return c}else{return b}}\nfunction iSb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new lSb(a);o=new Umc;o.b=true;(Sac(),o.hb).style[NNc]='500px';o.e=true;r=new Vmc(true);q=WFb(a.a);for(k=0;k<q.length;k++){vmc(r,new onc(q[k],p))}d=new Vmc(true);d.e=true;vmc(o,new pnc('File',d));e=VFb(a.a);for(l=0;l<e.length;l++){if(l==3){xmc(d,new snc);vmc(d,new pnc(e[3],r));xmc(d,new snc)}else{vmc(d,new onc(e[l],p))}}b=new Vmc(true);vmc(o,new pnc('Edit',b));c=UFb(a.a);for(m=0;m<c.length;m++){vmc(b,new onc(c[m],p))}f=new Vmc(true);vmc(o,new rnc(f));g=XFb(a.a);for(n=0;n<g.length;n++){vmc(f,new onc(g[n],p))}h=new Vmc(true);xmc(o,new snc);vmc(o,new pnc('Help',h));i=YFb(a.a);for(j=0;j<i.length;j++){vmc(h,new onc(i[j],p))}Kuc(o.hb,'','cwMenuBar');Smc(o,'cwMenuBar');return o}\nvar zTc='cwMenuBarEditOptions',ATc='cwMenuBarFileOptions',CTc='cwMenuBarFileRecents',DTc='cwMenuBarGWTOptions',ETc='cwMenuBarHelpOptions',FTc='cwMenuBarPrompts';BCb(437,1,{},lSb);_.Dc=function mSb(){Pbc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var wrb=KBc(DQc,'CwMenuBar/1',437);BCb(438,1,yQc);_.Bc=function pSb(){REb(this.b,iSb(this.a))};BCb(148,6,RNc,Umc);BCb(86,7,GTc,onc,pnc,rnc);BCb(196,7,{9:1,196:1,7:1},snc);var ixb=KBc(QNc,'MenuItemSeparator',196);aNc(Al)(7);\n//# sourceURL=showcase-7.js\n")
