import{a as c,b as l}from"./chunk-KKSLUPDX.js";import{da as s,ja as n}from"./chunk-A4WWLITB.js";var p=(()=>{class r{constructor(t){this._themeMode=t}highlightAndScrollToItem(t){setTimeout(()=>{let e=document.getElementsByTagName("tbody")[1].children[t];e&&(e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),e.childNodes.forEach(o=>{let i=o;i.style.transition="all 1s",this._themeMode.currentTheme==c.Light?i.style.boxShadow="inset 0 0 15px 10px #fdf4dc, inset 0 0 30px 15px rgba(253, 244, 220, 0.7), inset 0 0 50px 25px rgba(253, 244, 220, 0.5)":i.style.boxShadow="inset 0 0 15px 10px #2b3e42, inset 0 0 30px 15px rgba(21, 101, 107, 0.7), inset 0 0 50px 25px rgba(21, 101, 107, 0.5)",setTimeout(()=>{i.style.boxShadow="none"},1e3)}))},200)}scrollToFirstError(){setTimeout(()=>{let t=["tis-error-message",".tis-autocomplete__error-message"],e=Array.from(document.querySelectorAll(t.map(o=>`${o}`).join(","))).filter(o=>o.textContent&&o.textContent.trim().length>0);e.length>0&&e[0].scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},300)}static{this.\u0275fac=function(e){return new(e||r)(n(l))}}static{this.\u0275prov=s({token:r,factory:r.\u0275fac})}}return r})();export{p as a};
