function Fi(a){this.Init(a)}m("AdfSuggestionsContainer",Fi);r.v(Fi);Fi.ga=function(){this.nCa="loadingIndicator";this.m6a="sgstnCntnr";this.l6a="scph";this.H1a="af|inputSearch::loading-indicator"};m("AdfSuggestionsContainer.InitClass",Fi.ga);Fi.prototype.Init=function(a){Fi.h.Init.call(this);this.nb=a};r.a("AdfSuggestionsContainer.prototype.Init",{Init:Fi.prototype.Init});Fi.Ha=function(a){a=a.g();a=I.la(a,Fi.m6a);a=document.getElementById(a);u.u(a);return a};
m("AdfSuggestionsContainer.getElement",Fi.Ha);Fi.setHeight=function(a,b){62>b&&(b=62);Fi.Ha(a).style.maxHeight=b};m("AdfSuggestionsContainer.setHeight",Fi.setHeight);Fi.hva=function(a,b,d){d||(d=Fi.Ha(a));d.replaceChild(b,d.firstElementChild)};m("AdfSuggestionsContainer.showSuggestions",Fi.hva);Fi.Ita=function(a){return null!=Fi.Peb(a)||ji.kTa(a)};m("AdfSuggestionsContainer.needsUpdate",Fi.Ita);
Fi.prototype.lH=function(a,b){var d=Fi.Ha(a);Fi.Chb(a,d);Fi.LOa(a,d);var e=document.createElement("div");e.setAttribute("style","position: relative");e.appendChild(d);b.appendChild(e)};r.a("AdfSuggestionsContainer.prototype.attach",{lH:Fi.prototype.lH});Fi.prototype.detach=function(a,b,d,e){var f=Fi.Ha(a);document.getElementById(I.la(a.g(),Fi.l6a)).appendChild(f);Fi.lU(b,f,d,e)};r.a("AdfSuggestionsContainer.prototype.detach",{detach:Fi.prototype.detach});
Fi.prototype.reset=function(a,b,d){var e=Fi.Ha(a),f=e.offsetWidth,g=e.offsetHeight;Fi.lU(b,e,d);Fi.LOa(a,e,f,g)};r.a("AdfSuggestionsContainer.prototype.reset",{reset:Fi.prototype.reset});Fi.lU=function(a,b,d,e){d.clear(a,e);b.innerHTML=""};Fi.Chb=function(a,b){var d=yi(a);C.jm(b,"min-width:"+d.offsetWidth+"px;")};Fi.Peb=function(a){a=a.g();a=I.la(a,Fi.nCa);return document.getElementById(a)};
Fi.LOa=function(a,b,d,e){var f=a.g(),g=A.c.H();a=document.createElement("div");f=I.la(f,Fi.nCa);a.setAttribute("id",f);g=g.getStyleClass(Fi.H1a);C.w(a,g);g=a.style;d&&(g.minWidth=d-1+"px");e&&(g.minHeight=e-1+"px");b.appendChild(a)};