function ZP(a){var b=$doc.createElement(xd);mJ(Zf,b.tagName);this.ob=b;this.b=new VJ(this.ob);this.ob[cd]="gwt-HTML";UJ(this.b,a,!0);cK(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},ZP);function $P(){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,$P);
function aQ(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 bQ(){kv.call(this);this.a=(nv(),uv);this.b=(vv(),yv);this.e[Sc]=$a;this.e[Rc]=$a}q(390,335,ph,bQ);_.Hd=function(a){var b;b=Hm(a.ob);(a=pu(this,a))&&this.d.removeChild(Hm(b));return a};
function cQ(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;EL(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 dQ(a){a.f=(new QK(a.i)).mc.Je();Wt(a.f,new eQ(a),(ap(),ap(),bp));a.d=E(fQ,m,61,[a.f])}
function gQ(){ZL();var a,b,c,d,e,f;vM.call(this,(NM(),OM),null,!0);this.Dg();this.cb=!0;a=new ZP(this.j);this.e=new $P;this.e.ob.style[Ig]=eb;It(this.e,eb);this.Bg();QL(this,"400px");f=new bQ;f.ob.style[fe]=eb;f.e[Sc]=10;c=(nv(),ov);f.a=c;aQ(f,a);aQ(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);aQ(f,e);dM(this,f);ZK(this,!1);this.Cg()}q(640,641,qH,gQ);_.Bg=function(){dQ(this)};_.Cg=function(){var a=this.e;a.ob.readOnly=!0;var b=Mt(a.ob)+"-readonly";Ht(a.ud(),b,!0)};
_.Dg=function(){YK(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 eQ(a){this.a=a}q(643,1,{},eQ);_.Uc=function(){fM(this.a,!1)};_.a=null;function hQ(a){this.a=a}q(644,1,{},hQ);
_.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 iQ(a){a.i="Cancel";a.j="Paste the text to import into the text area below.";a.b="Accept";YK(a.H.b,"Paste")}function jQ(a){ZL();gQ.call(this);this.c=a}
q(646,640,qH,jQ);_.Bg=function(){dQ(this);this.a=(new QK(this.b)).mc.Je();Wt(this.a,new kQ(this),(ap(),ap(),bp));this.d=E(fQ,m,61,[this.a,this.f])};_.Cg=function(){It(this.e,"150px")};_.Dg=function(){iQ(this)};_.Ud=function(){uM(this);tm((qm(),rm),new lQ(this))};_.a=null;_.b=null;_.c=null;function mQ(a){ZL();jQ.call(this,a)}q(645,646,qH,mQ);_.Cg=function(){It(this.e,"150px");dA(new nQ(this),this.e)};_.Dg=function(){iQ(this);this.j+=" Or drag and drop a file on it."};
function nQ(a){this.a=a;this.b=new oQ(this);this.c=this.d=1}q(647,487,{},nQ);_.a=null;function oQ(a){this.a=a}q(648,1,{},oQ);_.Ue=function(a){this.a.a.e.ob[Dg]=null!=a?a:l};_.a=null;function kQ(a){this.a=a}q(650,1,{},kQ);_.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)}fM(this.a,!1)};_.a=null;function lQ(a){this.a=a}q(651,1,{},lQ);_.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 pQ(this.a);void 0!=$wnd.FileReader?b=new mQ(a):b=new jQ(a);SL(b);cQ(b)};function pQ(a){this.a=a}q(653,1,{},pQ);_.a=null;q(654,1,xh);_.Lc=function(){var a;a=new gQ;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 hQ(a));SL(a);cQ(a)};X(640);var fQ=ZD(800,XO);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);