$wnd.jsme.runAsyncCallback10('var E$="data-selenium-id";function F$(){this.ob=ay((O(),$doc),"file");RF(this.ob,"gwt-FileUpload")}x(417,398,yn,F$);_.df=function(a){ZF(this,a)};function G$(a){var b=gy();Jr(Dl,(O(),b).tagName);this.ob=b;this.b=new s3(this.ob);RF(this.ob,"gwt-HTML");r3(this.b,a,!0);A3(this)}x(421,422,yn,G$);function H$(a,b){var c,d;d=(Q(),ky());c=jy();var e=a.a;Q();c[bi]=e.a;c=(PE(c,km,a.b.a),c);e=(DE(),EE(c));d.appendChild(e);CE(a.d,d);kG(a,b,c)}\nfunction I$(){qH.call(this);this.a=(wH(),DH);this.b=(EH(),HH);Q();this.e[vi]=nd;this.e[ui]=nd}x(470,414,vn,I$);_.Cf=function(a){var b;b=LE(a.ob);if(a=oG(this,a))Q(),this.d.removeChild(cy((O(),b)));return a};\nfunction J$(a){try{a.s=!1;var b,c,d,e,f;d=a.gb;c=a._;d||(PE(a.ob,lm,yj),a._=!1,a.Pf());b=a.ob;b.style[Kj]=0+(Uz(),Wk);b.style[Xl]=od;e=~~(ry()-(Q(),Vx(a.ob,Ek)))>>1;f=~~(qy()-Vx(a.ob,Dk))>>1;t5(a,a1((O(),Sx).ve($doc)+e,0),a1((O(),Sx).xe($doc)+f,0));d||((a._=c)?(FG.Yf(a.ob,fl),PE(a.ob,lm,mm),vt(a.fb,200)):PE(a.ob,lm,mm))}finally{a.s=!0}}function K$(a,b){var c;c=(new j4(a)).xd.Yg();c.ob.setAttribute(E$,"jsa_clipboard/button/"+b);return c}\nfunction L$(a){var b;b=K$("Close (ESC)","close");VF(b,new M$(a),(ZA(),ZA(),$A));return b}\nfunction N$(){g5();var a,b,c,d,e;F5.call(this,(Y5(),Z5),null,!0);this.pk();this.cb=!0;this.ob.setAttribute(E$,"jsa_clipboard/window");this.U=!0;a=new G$(this.e);this.d=new RI;this.d.ob.setAttribute(E$,"jsa_clipboard/text_area");PF(this.d,td);LF(this.d,td);Y4(this,"400px");e=new I$;PE(e.ob,xj,td);Q();e.e[vi]=10;c=(wH(),xH);e.a=c;H$(e,a);H$(e,this.d);a=this.c=new LH;Q();a.e[vi]=20;for(b=this.nk(),c=0,d=b.length;c<d;++c)a=b[c],IH(this.c,a);H$(e,this.c);l5(this,e);v5(this,!1);VF(this.d,new O$(this),(OB(),\nOB(),PB));this.ok()}x(840,841,d1,N$);_.nk=function(){return A(cJ,o,52,[L$(this)])};_.ok=function(){var a=this.d;Q();a.ob.readOnly=!0;var b=QF(a.ob)+"-readonly";GF(a.pf(),b,!0)};_.pk=function(){X5(this.H.b,"Copy")};_.Pf=function(){E5(this);this.ob.style[qm]=zd};_.c=null;_.d=null;_.e="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 O$(a){this.a=a}x(843,1,{},O$);\n_.Ue=function(a){27==((O(),a.a).keyCode||0)&&n5(this.a,!1)};_.a=null;function M$(a){this.a=a}x(844,1,{},M$);_.Le=function(){n5(this.a,!1)};_.a=null;function P$(a){this.a=a}x(845,1,{},P$);\n_.Ud=function(){SF(this.a.d.ob,!0);lH(this.a.d,!0);var a=this.a.d,b;b=(Q(),Wx(a.ob,jm)).length;if(0<b&&a.jb){if(0>b)throw new DV("Length must be a positive integer. Length: "+b);if(b>(Q(),Wx(a.ob,jm)).length)throw new DV("From Index: 0  To Index: "+b+"  Text Length: "+Wx(a.ob,jm).length);try{a.ob.setSelectionRange(0,0+b)}catch(c){}}};_.a=null;function Q$(a){var b;b=K$(a.a,"accept");VF(b,new R$(a),(ZA(),ZA(),$A));return b}\nfunction S$(a){a.e="Paste the text to import into the text area below.";a.a="Accept";X5(a.H.b,"Paste")}function T$(a){g5();N$.call(this);this.b=a}x(847,840,d1,T$);_.nk=function(){return A(cJ,o,52,[Q$(this),L$(this)])};_.ok=function(){LF(this.d,"150px")};_.pk=function(){S$(this)};_.Pf=function(){E5(this);this.ob.style[qm]=zd;Gx((Dx(),Ex),new U$(this))};_.a=null;_.b=null;function V$(a){g5();T$.call(this,a)}x(846,847,d1,V$);\n_.nk=function(){var a;return A(cJ,o,52,[Q$(this),(a=new F$,a.ob.setAttribute(E$,"jsa_clipboard/button/browse_upload"),VF(a,new W$(this),(m2(),m2(),n2)),a),L$(this)])};_.ok=function(){LF(this.d,"150px");ON(new X$(this),this.d)};_.pk=function(){S$(this);this.e+=" Or drag and drop a file on it."};function W$(a){this.a=a}x(848,1,{},W$);_.Ke=function(a){var b,c;b=new FileReader;a=(c=(O(),Sx).De(a.a),c.files[0]);Eaa(b,new Y$(this));b.readAsText(a)};_.a=null;function Y$(a){this.a=a}x(849,1,{},Y$);\n_.mh=function(a){NI(this.a.a.d,a)};_.a=null;function X$(a){this.a=a;this.b=new Z$(this);this.c=this.d=1}x(850,592,{},X$);_.a=null;function Z$(a){this.a=a}x(851,1,{},Z$);_.mh=function(a){var b=this.a.a.d;Q();Q();b.ob[jm]=null!=a?a:m};_.a=null;function R$(a){this.a=a}x(855,1,{},R$);_.Le=function(){if(this.a.b){var a=this.a.b,b=MI(this.a.d),b=new mM(a.a,0,b);bT(a.a.a,b.a)}n5(this.a,!1)};_.a=null;function U$(a){this.a=a}x(856,1,{},U$);_.Ud=function(){SF(this.a.d.ob,!0);lH(this.a.d,!0)};_.a=null;\nx(857,1,Cn);_.me=function(){var a,b;a=new $$(this.a);void 0!=$wnd.FileReader?b=new V$(a):b=new T$(a);$4(b);J$(b)};function $$(a){this.a=a}x(858,1,{},$$);_.a=null;x(859,1,Cn);_.me=function(){var a;a=new N$;var b=this.a,c,d;NI(a.d,b);c=(d=bW(b,"\\r\\n|\\r|\\n|\\n\\r"),d.length);1>=c&&(c=~~(b.length/16));LF(a.d,20*(10>c+1?c+1:10)+Wk);Gx((Dx(),Ex),new P$(a));$4(a);J$(a)};function Eaa(a,b){a.onload=function(a){b.mh(a.target.result)}}Z(840);Z(847);Z(846);Z(858);Z(843);Z(844);Z(845);Z(855);Z(856);Z(848);Z(849);\nZ(850);Z(851);Z(421);Z(470);Z(417);M(c1)(10);\n//# sourceURL=10.js\n')
