function Xh(){Xh.h.constructor.call(this,"today")}m("AdfDhtmlChooseDateNowPanel",Xh);r.v(Xh,Jh);Jh.Im(Xh);Xh.prototype.kb=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);return this.isEnabled(a,b)&&(U.$r(a,b,T.Kf)||U.$r(a,b,T.Rw))};r.a("AdfDhtmlChooseDateNowPanel.prototype.isVisible",{kb:Xh.prototype.kb});Xh.prototype.We=function(a,b){u.s(a,AdfRichChooseDate);u.s(b,na);return Xh.FF(b,T.Cfa)?!0:!1};r.a("AdfDhtmlChooseDateNowPanel.prototype.canProcessDomUIInputEvent",{We:Xh.prototype.We});
Xh.prototype.re=function(a,b){u.s(a,AdfRichChooseDate);u.s(b,ha);return b instanceof Eh};r.a("AdfDhtmlChooseDateNowPanel.prototype.canProcessComponentEvent",{re:Xh.prototype.re});Xh.prototype.ns=function(a,b){return Xh.Nk(a,b)};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentClick",{ns:Xh.prototype.ns});Xh.prototype.Ni=function(a,b){var d=q.b.na(b.U());return d==w.gd||d==w.jb?Xh.Nk(a,b):!1};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentKeyDown",{Ni:Xh.prototype.Ni});
Xh.prototype.cTa=function(a){var b=I.j(a.g(),T.Cfa),b=q.b.getElementById(b);u.u(b);Xh.FQa(a,b);return!0};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentToggleView",{cTa:Xh.prototype.cTa});Xh.prototype.qc=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=Lh.uc("td",{"class":A.c.H().getStyleClass("af|chooseDate::now-row"),align:"center",colspan:7},b);Xh.U$a(a,d);return[]};r.a("AdfDhtmlChooseDateNowPanel.prototype.render",{qc:Xh.prototype.qc});
Xh.Nk=function(a,b){if(Xh.FF(b,T.Cfa)){var d=U.cb(a);U.$r(a,d,T.Kf)?Ah.F(a):yh.F(a);return!0}return!1};Xh.U$a=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=a.g(),d=Lh.uc("a",{id:I.j(d,T.Cfa),href:"#",role:"button","class":A.c.H().getStyleClass("af|commandLink")},b);Xh.FQa(a,d)};Xh.FQa=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=U.cb(a),e=U.$r(a,d,T.Kf);U.wy(a,d);var f=e?T.u1a:T.p1a,g=T.W6a;U.wZ(a,d)&&(g=T.R6a);d=e?g:T.T6a;e=A.c.H();b.textContent=e.Z(f);b.title=e.Z(d)};
Xh.FF=function(a,b){var d=a.X(),e=a.he(),e=I.j(e.g(),b);return C.Nb(q.b.getElementById(e),d)};