$wnd.showcase.runAsyncCallback7("function Boc(){Coc.call(this,false)}\nfunction Yoc(a,b){$oc.call(this,a,false);this.b=b}\nfunction Zoc(a,b){$oc.call(this,a,false);Xoc(this,b)}\nfunction _oc(a){$oc.call(this,'GWT',true);Xoc(this,a)}\nfunction sTb(a){this.c=a;this.b=fHb(this.c.a)}\nfunction eoc(a,b){return moc(a,b,a.a.b.length)}\nfunction Xoc(a,b){a.e=b;!!a.d&&Aoc(a.d,a);yp((bcc(),b.hb),-1);Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,Ffb(Dfb(PAb,1),ROc,112,0,[($Cc(),$Cc(),ZCc)]))}\nfunction moc(a,b,c){if(c<0||c>a.a.b.length){throw new TCc}a.o&&vp((bcc(),b.hb),yUc,2);doc(a,c,(bcc(),b.hb));UIc(a.a,c,b);return b}\nfunction bHb(a){var b,c;b=Mfb(a.a.Vh(SUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['New','Open','Close',TUc,'Exit']);a.a.Wh(SUc,c);return c}else{return b}}\nfunction aHb(a){var b,c;b=Mfb(a.a.Vh(RUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.Wh(RUc,c);return c}else{return b}}\nfunction eHb(a){var b,c;b=Mfb(a.a.Vh(WUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['Contents','Fortune Cookie','About GWT']);a.a.Wh(WUc,c);return c}else{return b}}\nfunction dHb(a){var b,c;b=Mfb(a.a.Vh(VUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['Download','Examples',ORc,\"GWT wit' the program\"]);a.a.Wh(VUc,c);return c}else{return b}}\nfunction cHb(a){var b,c;b=Mfb(a.a.Vh(UUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.Wh(UUc,c);return c}else{return b}}\nfunction bpc(){var a;lh(this,(bcc(),$doc.createElement(wTc)));sp(this.hb,'gwt-MenuItemSeparator');a=$doc.createElement(mPc);$o(this.hb,icc(a));sp(a,'menuSeparatorInner')}\nfunction fHb(a){var b,c;b=Mfb(a.a.Vh(XUc),5);if(b==null){c=Ffb(Dfb(fBb,1),VQc,2,4,['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']);a.a.Wh(XUc,c);return c}else{return b}}\nfunction pTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new sTb(a);o=new Boc;o.b=true;(bcc(),o.hb).style[gPc]='500px';o.e=true;r=new Coc(true);q=cHb(a.a);for(k=0;k<q.length;k++){coc(r,new Yoc(q[k],p))}d=new Coc(true);d.e=true;coc(o,new Zoc('File',d));e=bHb(a.a);for(l=0;l<e.length;l++){if(l==3){eoc(d,new bpc);coc(d,new Zoc(e[3],r));eoc(d,new bpc)}else{coc(d,new Yoc(e[l],p))}}b=new Coc(true);coc(o,new Zoc('Edit',b));c=aHb(a.a);for(m=0;m<c.length;m++){coc(b,new Yoc(c[m],p))}f=new Coc(true);coc(o,new _oc(f));g=dHb(a.a);for(n=0;n<g.length;n++){coc(f,new Yoc(g[n],p))}h=new Coc(true);eoc(o,new bpc);coc(o,new Zoc('Help',h));i=eHb(a.a);for(j=0;j<i.length;j++){coc(h,new Yoc(i[j],p))}Dwc(o.hb,'','cwMenuBar');zoc(o,'cwMenuBar');return o}\nvar RUc='cwMenuBarEditOptions',SUc='cwMenuBarFileOptions',UUc='cwMenuBarFileRecents',VUc='cwMenuBarGWTOptions',WUc='cwMenuBarHelpOptions',XUc='cwMenuBarPrompts';FCb(423,1,{},sTb);_.zc=function tTb(){_cc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var Zrb=wDc(XRc,'CwMenuBar/1',423);FCb(424,1,URc);_.xc=function wTb(){YFb(this.b,pTb(this.a))};FCb(146,6,kPc,Boc);FCb(85,7,YUc,Yoc,Zoc,_oc);FCb(194,7,{9:1,194:1,7:1},bpc);var Oxb=wDc(jPc,'MenuItemSeparator',194);wOc(Jl)(7);\n//# sourceURL=showcase-7.js\n")
