$wnd.showcase.runAsyncCallback18("function FM(){}\nfunction oWb(a,b){$w(a.a,b)}\nfunction Psb(a,b){this.b=a;this.a=b}\nfunction Rsb(a,b){this.b=a;this.a=b}\nfunction dN(a){return l9(QM,a)}\nfunction EM(){EM=x8;DM=new FM}\nfunction Jsb(a,b){zPb(b,'S\\xE9lectionn\\xE9: '+a.$g()+', '+a._g())}\nfunction AWb(){wWb();zWb.call(this,Mo($doc,'password'),'gwt-PasswordTextBox')}\nfunction e2b(b){try{var c=b.document.selection.createRange();if(c.parentElement()!==b)return 0;return c.text.length}catch(a){return 0}}\nfunction d2b(b){try{var c=b.document.selection.createRange();if(c.parentElement()!==b)return -1;return -c.move(apc,-65535)}catch(a){return 0}}\nfunction Hsb(a,b){var c,d;c=new sTb;c.e[rnc]=4;pTb(c,a);if(b){d=new DPb('S\\xE9lectionn\\xE9: 0, 0');Hh(a,new Psb(a,d),(iu(),iu(),hu));Hh(a,new Rsb(a,d),(Nt(),Nt(),Mt));pTb(c,d)}return c}\nfunction g2b(b){try{var c=b.document.selection.createRange();if(c.parentElement()!==b)return 0;var d=c.text.length;var e=0;var f=c.duplicate();f.moveEnd(apc,-1);var g=f.text.length;while(g==d&&f.parentElement()==b&&c.compareEndPoints('StartToEnd',f)<=0){e+=2;f.moveEnd(apc,-1);g=f.text.length}return d+e}catch(a){return 0}}\nfunction f2b(b){try{var c=b.document.selection.createRange();if(c.parentElement()!==b)return -1;var d=c.duplicate();d.moveToElementText(b);d.setEndPoint('EndToStart',c);var e=d.text.length;var f=0;var g=d.duplicate();g.moveEnd(apc,-1);var h=g.text.length;while(h==e&&g.parentElement()==b){f+=2;g.moveEnd(apc,-1);h=g.text.length}return e+f}catch(a){return 0}}\nfunction Isb(){var a,b,c,d,e,f;f=new Y0b;f.e[rnc]=5;d=new yWb;H0b(d.hb,'','cwBasicText-textbox');oWb(d,(EM(),EM(),DM));b=new yWb;H0b(b.hb,'','cwBasicText-textbox-disabled');b.hb[coc]=$oc;Zw(b.a);b.hb[hmc]=true;V0b(f,new IPb('<b>Zone de texte normale:<\\/b>'));V0b(f,Hsb(d,true));V0b(f,Hsb(b,false));c=new AWb;H0b(c.hb,'','cwBasicText-password');a=new AWb;H0b(a.hb,'','cwBasicText-password-disabled');a.hb[coc]=$oc;Zw(a.a);a.hb[hmc]=true;V0b(f,new IPb('<br><br><b>Zone de texte &laquo;mot de passe&raquo;:<\\/b>'));V0b(f,Hsb(c,true));V0b(f,Hsb(a,false));e=new a_b;H0b(e.hb,'','cwBasicText-textarea');e.hb.rows=5;V0b(f,new IPb('<br><br><b>Zone de texte:<\\/b>'));V0b(f,Hsb(e,true));return f}\nvar $oc='lecture seulement',apc='character';w8(876,1160,{},FM);_.ve=function GM(a){return dN((ZM(),a))?(nA(),mA):(nA(),lA)};var DM;var eV=z7b(Bkc,'AnyRtlDirectionEstimator',876);w8(448,1,Xlc);_.Bc=function Osb(){Qab(this.a,Isb())};w8(449,1,_oc,Psb);_.Uc=function Qsb(a){Jsb(this.b,this.a)};var A$=z7b(emc,'CwBasicText/2',449);w8(450,1,Olc,Rsb);_.Sc=function Ssb(a){Jsb(this.b,this.a)};var B$=z7b(emc,'CwBasicText/3',450);w8(755,253,Hjc);_.$g=function rWb(){return d2b(this.hb)};_._g=function sWb(){return e2b(this.hb)};w8(332,50,Hjc,AWb);var t3=z7b(Fjc,'PasswordTextBox',332);w8(222,318,Hjc);_.$g=function b_b(){return f2b(this.hb)};_._g=function c_b(){return g2b(this.hb)};Ric(wl)(18);\n//# sourceURL=showcase-18.js\n")
