var lg=M.U(U,"AdfDhtmlSelectBooleanCheckboxPeer");v("AdfDhtmlSelectBooleanCheckboxPeer",lg);lg.m=function(){z.kb(AdfRichSelectBooleanCheckbox);M.$b(this,AdfUIEditableValue.SUBMITTED_VALUE,AdfRichSelectBooleanCheckbox.TEXT);M.ha(this,I.jb);w.b.cd()[w.Vc]==w.Wc&&M.ha(this,I.Qd);M.hb(this,AdfRichSelectBooleanCheckbox.TEXT);this.Yt=n;this.dOa="_adfSbv";this.rra="icon-style";this.sra="_adfTRC"};v("AdfDhtmlSelectBooleanCheckboxPeer.InitSubclass",lg.m);
lg.prototype.q=function(a,b){lg.f.q.call(this,a,b);var d=a.e(),d=M.g(d,lg.rra);b.setAttribute(lg.sra,d);var d=U.W(a,b),e=lg.Fw(b,this.uz()),f=lg.Fw(b,this.Xs());if(e!=n){var g="";e.setAttribute("id",d.id+"labelId");g=e.id;f!=n&&(f.setAttribute("id",d.id+"labelTextId"),g=e.id+" "+f.id);d.setAttribute("aria-labelledby",g)}};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.InitDomElement",{q:lg.prototype.q});lg.prototype.Ka=function(a){this.Yz(a)};
z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.HandleComponentMouseOver",{Ka:lg.prototype.Ka});lg.prototype.C=function(a){lg.f.C.call(this,a);var b=this.d();a=a.Q();var d=this.h();if((d=U.W(b,d))&&M.Na(b.e(),lg.rra)==a.id)d.checked?(d.checked=p,H.F(a,"p_AFSelected")):(d.checked=l,H.n(a,"p_AFSelected")),H.F(a,"p_AFMixed"),a=d;"INPUT"==w.b.Ga(a)&&(a&&a.checked?this.Yb(b,l):this.Yb(b,p))};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.HandleComponentClick",{C:lg.prototype.C});
lg.prototype.cb=function(a,b){var d=U.W(a,b);return a.getReadOnly()?w.b.getAttribute(d,lg.dOa):d!=n&&d.checked?l:p};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetSubmittedValue",{cb:lg.prototype.cb});lg.prototype.xa=function(a,b,d){b=U.W(a,b);b!=n&&(a.getReadOnly()?"true"==d||d==l?(d=a.getText(),w.b.yb(b,d)):w.b.yb(b,""):(a=w.b.getElementById(b.getAttribute(lg.sra)),"true"==d||d==l?(b.checked=l,a&&(H.n(a,"p_AFSelected"),H.F(a,"p_AFMixed"))):(b.checked=p,a&&(H.F(a,"p_AFSelected"),H.F(a,"p_AFMixed")))))};
z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.SetDisplayValue",{xa:lg.prototype.xa});lg.prototype.Aa=function(){var a=lg.Yt;a==n&&(a=new kg,lg.Yt=a);return a};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetInlineEditor",{Aa:lg.prototype.Aa});lg.prototype.Xb=function(a,b){var d=lg.Fw(b,this.Xs());return d!=n?w.b.Mb(d):a.getReadOnly()==l?this.jE(a):n};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetComponentText",{Xb:lg.prototype.Xb});
lg.prototype.Qf=function(a,b,d){b=lg.Fw(b,this.Xs());return b!=n?H.zy(a,b,d):p};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.ComponentTextChanged",{Qf:lg.prototype.Qf});lg.sQa=function(a){var b=lg.Fw(a,"af|selectBooleanCheckbox::item-text");b==n&&(b=lg.Fw(a,"af|selectBooleanRadio::item-text"));return b};lg.Fw=function(a,b){for(var d=F.c.u().getStyleClass(b),e=a.getElementsByTagName("LABEL"),f=e.length,g=0;g<f;g++){var h=e[g];if(h!=n&&H.ta(h,d))return h}return n};
lg.prototype.jE=function(a){a=U.W(a);return w.b.Mb(a).substring(1)};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetReadOnlyComponentText",{jE:lg.prototype.jE});lg.prototype.no=t(l);z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.NeedsSpuriousDirtyValueTracking",{no:lg.prototype.no});lg.prototype.Xs=t("af|selectBooleanCheckbox::item-text");z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetItemTextStyleClass",{Xs:lg.prototype.Xs});lg.prototype.uz=t("af|selectBooleanCheckbox::label-text");
z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.GetLabelTextStyleClass",{uz:lg.prototype.uz});lg.prototype.LC=function(a){a=lg.f.LC.call(this,a);return!a?p:"t"==a?l:a};z.a("AdfDhtmlSelectBooleanCheckboxPeer.prototype.getLastSubmittedValue",{LC:lg.prototype.LC});