function XP(a){var b=$doc.createElement(xd);lJ(Zf,b.tagName);this.ob=b;this.b=new UJ(this.ob);this.ob[cd]="gwt-HTML";TJ(this.b,a,!0);bK(this)}q(341,342,{14:1,16:1,18:1,19:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,31:1,32:1,33:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,45:1,46:1,48:1,50:1,54:1,59:1,69:1,70:1,71:1,74:1,78:1,81:1,82:1,84:1},XP);function YP(){Dw();var a=$doc.createElement("textarea");!ys&&(ys=new xs);!ws&&(ws=new vs);this.ob=a;this.ob[cd]="gwt-TextArea"}q(381,382,yh,YP);
function ZP(a,b){var c,d;c=$doc.createElement(vg);d=$doc.createElement(ig);d[xc]=a.a.a;d.style[Eg]=a.b.a;var e=(As(),Bs(d));c.appendChild(e);zs(a.d,c);lu(a,b,d)}function $P(){kv.call(this);this.a=(nv(),uv);this.b=(vv(),yv);this.e[Sc]=$a;this.e[Rc]=$a}q(390,335,ph,$P);_.Hd=function(a){var b;b=Hm(a.ob);(a=pu(this,a))&&this.d.removeChild(Hm(b));return a};
function aQ(a){try{a.v=!1;var b,c,d;d=a.gb;c=a._;d||(a.ob.style[Fg]=ge,a._=!1,a.Ud());b=a.ob;b.style[qe]=0+(oo(),vf);b.style[qg]=ab;DL(a,Ki(Om($doc)+(Nm()-G(a.ob,jf)>>1),0),Ki(Pm($doc)+(Mm()-G(a.ob,hf)>>1),0));d||((a._=c)?(a.ob.style[fd]=If,a.ob.style[Fg]=Gg,li(a.fb,200)):a.ob.style[Fg]=Gg)}finally{a.v=!0}}function bQ(a){a.f=(new PK(a.i)).mc.Je();Wt(a.f,new cQ(a),(ap(),ap(),bp));a.d=E(dQ,m,61,[a.f])}
function eQ(){YL();var a,b,c,d,e,f;uM.call(this,(MM(),NM),null,!0);this.Dg();this.cb=!0;a=new XP(this.j);this.e=new YP;this.e.ob.style[Ig]=eb;It(this.e,eb);this.Bg();PL(this,"400px");f=new $P;f.ob.style[fe]=eb;f.e[Sc]=10;c=(nv(),ov);f.a=c;ZP(f,a);ZP(f,this.e);e=new Cv;e.e[Sc]=20;for(b=this.d,c=0,d=b.length;c<d;++c)a=b[c],zv(e,a);ZP(f,e);cM(this,f);YK(this,!1);this.Cg()}q(640,641,qH,eQ);_.Bg=function(){bQ(this)};_.Cg=function(){var a=this.e;a.ob.readOnly=!0;var b=Mt(a.ob)+"-readonly";Ht(a.ud(),b,!0)};
_.Dg=function(){XK(this.H.b,"Copy")};_.d=null;_.e=null;_.f=null;_.i="Close";_.j="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function cQ(a){this.a=a}q(643,1,{},cQ);_.Uc=function(){eM(this.a,!1)};_.a=null;function fQ(a){this.a=a}q(644,1,{},fQ);
_.Cc=function(){Rt(this.a.e.ob,!0);this.a.e.ob.focus();var a=this.a.e,b;b=Em(a.ob,Dg).length;if(0<b&&a.jb){if(0>b)throw new kE("Length must be a positive integer. Length: "+b);if(b>Em(a.ob,Dg).length)throw new kE("From Index: 0  To Index: "+b+"  Text Length: "+Em(a.ob,Dg).length);try{a.ob.setSelectionRange(0,0+b)}catch(c){}}};_.a=null;function gQ(a){a.i="Cancel";a.j="Paste the text to import into the text area below.";a.b="Accept";XK(a.H.b,"Paste")}function hQ(a){YL();eQ.call(this);this.c=a}
q(646,640,qH,hQ);_.Bg=function(){bQ(this);this.a=(new PK(this.b)).mc.Je();Wt(this.a,new iQ(this),(ap(),ap(),bp));this.d=E(dQ,m,61,[this.a,this.f])};_.Cg=function(){It(this.e,"150px")};_.Dg=function(){gQ(this)};_.Ud=function(){tM(this);tm((qm(),rm),new jQ(this))};_.a=null;_.b=null;_.c=null;function kQ(a){YL();hQ.call(this,a)}q(645,646,qH,kQ);_.Cg=function(){It(this.e,"150px");dA(new lQ(this),this.e)};_.Dg=function(){gQ(this);this.j+=" Or drag and drop a file on it."};
function lQ(a){this.a=a;this.b=new mQ(this);this.c=this.d=1}q(647,487,{},lQ);_.a=null;function mQ(a){this.a=a}q(648,1,{},mQ);_.Ue=function(a){this.a.a.e.ob[Dg]=null!=a?a:l};_.a=null;function iQ(a){this.a=a}q(650,1,{},iQ);_.Uc=function(){if(this.a.c){var a=this.a.c,b;b=new tz(a.a,0,Em(this.a.e.ob,Dg));kA(a.a.a,b.a)}eM(this.a,!1)};_.a=null;function jQ(a){this.a=a}q(651,1,{},jQ);_.Cc=function(){Rt(this.a.e.ob,!0);this.a.e.ob.focus()};_.a=null;q(652,1,xh);
_.Lc=function(){var a,b;a=new nQ(this.a);void 0!=$wnd.FileReader?b=new kQ(a):b=new hQ(a);RL(b);aQ(b)};function nQ(a){this.a=a}q(653,1,{},nQ);_.a=null;q(654,1,xh);_.Lc=function(){var a;a=new eQ;var b=this.a,c;Cw(a.e,b);b=(c=oE(b,"\r\n|\r|\n|\n\r"),c.length);It(a.e,20*(10>b?b:10)+vf);tm((qm(),rm),new fQ(a));RL(a);aQ(a)};X(640);var dQ=ZD(800,VO);X(646);X(645);X(653);X(643);X(644);X(650);X(651);X(647);X(648);X(341);X(390);X(381);x(nH)(5);