function Zh(){Zh.h.constructor.call(this,"today")}m("AdfDhtmlChooseDateNowPanel",Zh);r.v(Zh,Lh);Lh.Im(Zh);Zh.prototype.kb=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);return this.isEnabled(a,b)&&(U.as(a,b,T.Kf)||U.as(a,b,T.Sw))};r.a("AdfDhtmlChooseDateNowPanel.prototype.isVisible",{kb:Zh.prototype.kb});Zh.prototype.Xe=function(a,b){u.s(a,AdfRichChooseDate);u.s(b,na);return Zh.FF(b,T.Efa)?!0:!1};r.a("AdfDhtmlChooseDateNowPanel.prototype.canProcessDomUIInputEvent",{Xe:Zh.prototype.Xe});
Zh.prototype.re=function(a,b){u.s(a,AdfRichChooseDate);u.s(b,ha);return b instanceof Gh};r.a("AdfDhtmlChooseDateNowPanel.prototype.canProcessComponentEvent",{re:Zh.prototype.re});Zh.prototype.os=function(a,b){return Zh.Nk(a,b)};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentClick",{os:Zh.prototype.os});Zh.prototype.Oi=function(a,b){var d=q.b.na(b.U());return d==w.gd||d==w.jb?Zh.Nk(a,b):!1};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentKeyDown",{Oi:Zh.prototype.Oi});
Zh.prototype.hTa=function(a){var b=I.j(a.g(),T.Efa),b=q.b.getElementById(b);u.u(b);Zh.KQa(a,b);return!0};r.a("AdfDhtmlChooseDateNowPanel.prototype.handleComponentToggleView",{hTa:Zh.prototype.hTa});Zh.prototype.qc=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=Qh.uc("td",{"class":A.c.H().getStyleClass("af|chooseDate::now-row"),align:"center",colspan:7},b);Zh.W$a(a,d);return[]};r.a("AdfDhtmlChooseDateNowPanel.prototype.render",{qc:Zh.prototype.qc});
Zh.Nk=function(a,b){if(Zh.FF(b,T.Efa)){var d=U.cb(a);U.as(a,d,T.Kf)?Ch.F(a):Bh.F(a);return!0}return!1};Zh.W$a=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=a.g(),d=Qh.uc("a",{id:I.j(d,T.Efa),href:"#",role:"button","class":A.c.H().getStyleClass("af|commandLink")},b);Zh.KQa(a,d)};Zh.KQa=function(a,b){u.s(a,AdfRichChooseDate);u.u(b);var d=U.cb(a),e=U.as(a,d,T.Kf);U.xy(a,d);var f=e?T.z1a:T.u1a,g=T.Z6a;U.wZ(a,d)&&(g=T.U6a);d=e?g:T.W6a;e=A.c.H();b.textContent=e.Z(f);b.title=e.Z(d)};
Zh.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)};