$wnd.showcase.runAsyncCallback7("function Tmc(){Umc.call(this,false)}\nfunction nnc(a,b){pnc.call(this,a,false);this.b=b}\nfunction onc(a,b){pnc.call(this,a,false);mnc(this,b)}\nfunction qnc(a){pnc.call(this,'GWT',true);mnc(this,a)}\nfunction kSb(a){this.c=a;this.b=YFb(this.c.a)}\nfunction wmc(a,b){return Emc(a,b,a.a.a.length)}\nfunction mnc(a,b){a.e=b;!!a.d&&Smc(a.d,a);(jkc(),Rac(),b.hb).tabIndex=-1;De();Ob(a.hb)}\nfunction Ob(a){Wb((rd(),md),a,Deb(xeb(iAb,1),uNc,223,8,[(mBc(),mBc(),true)]))}\nfunction Emc(a,b,c){if(c<0||c>a.a.a.length){throw XBb(new fBc)}a.o&&((Rac(),b.hb)[fTc]=2,undefined);vmc(a,c,(Rac(),b.hb));eHc(a.a,c,b);return b}\nfunction UFb(a){var b,c;b=qfb(eFc(a.a,ATc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,2,6,['New','Open','Close',BTc,'Exit']);hFc(a.a,ATc,c);return c}else{return b}}\nfunction TFb(a){var b,c;b=qfb(eFc(a.a,zTc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,2,6,['Undo','Redo','Cut','Copy','Paste']);hFc(a.a,zTc,c);return c}else{return b}}\nfunction XFb(a){var b,c;b=qfb(eFc(a.a,ETc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,2,6,['Contents','Fortune Cookie','About GWT']);hFc(a.a,ETc,c);return c}else{return b}}\nfunction WFb(a){var b,c;b=qfb(eFc(a.a,DTc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,2,6,['Download','Examples',rQc,\"GWT wit' the program\"]);hFc(a.a,DTc,c);return c}else{return b}}\nfunction VFb(a){var b,c;b=qfb(eFc(a.a,CTc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,2,6,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);hFc(a.a,CTc,c);return c}else{return b}}\nfunction rnc(){var a;mh(this,(Rac(),$doc.createElement(YRc)));this.hb.className='gwt-MenuItemSeparator';a=$doc.createElement(SNc);to(this.hb,Yac(a));a.className='menuSeparatorInner'}\nfunction YFb(a){var b,c;b=qfb(eFc(a.a,FTc),5);if(b==null){c=Deb(xeb(CAb,1),wPc,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']);hFc(a.a,FTc,c);return c}else{return b}}\nfunction hSb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new kSb(a);o=new Tmc;o.b=true;(Rac(),o.hb).style[MNc]='500px';o.e=true;r=new Umc(true);q=VFb(a.a);for(k=0;k<q.length;k++){umc(r,new nnc(q[k],p))}d=new Umc(true);d.e=true;umc(o,new onc('File',d));e=UFb(a.a);for(l=0;l<e.length;l++){if(l==3){wmc(d,new rnc);umc(d,new onc(e[3],r));wmc(d,new rnc)}else{umc(d,new nnc(e[l],p))}}b=new Umc(true);umc(o,new onc('Edit',b));c=TFb(a.a);for(m=0;m<c.length;m++){umc(b,new nnc(c[m],p))}f=new Umc(true);umc(o,new qnc(f));g=WFb(a.a);for(n=0;n<g.length;n++){umc(f,new nnc(g[n],p))}h=new Umc(true);wmc(o,new rnc);umc(o,new onc('Help',h));i=XFb(a.a);for(j=0;j<i.length;j++){umc(h,new nnc(i[j],p))}Juc(o.hb,'','cwMenuBar');Rmc(o,'cwMenuBar');return o}\nvar zTc='cwMenuBarEditOptions',ATc='cwMenuBarFileOptions',CTc='cwMenuBarFileRecents',DTc='cwMenuBarGWTOptions',ETc='cwMenuBarHelpOptions',FTc='cwMenuBarPrompts';ACb(436,1,{},kSb);_.Dc=function lSb(){Obc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var vrb=GBc(CQc,'CwMenuBar/1',436);ACb(437,1,xQc);_.Bc=function oSb(){QEb(this.b,hSb(this.a))};ACb(148,6,QNc,Tmc);ACb(86,7,GTc,nnc,onc,qnc);ACb(195,7,{9:1,195:1,7:1},rnc);var hxb=GBc(PNc,'MenuItemSeparator',195);$Mc(Al)(7);\n//# sourceURL=showcase-7.js\n")
