text: import{M as i,t as e,c as n,a9 as t,J as a,y as s,o,l as f,G as c}from"./calfSystem-ebf4b17d.js"
  import{o as l}from"./openQuickBuffByName-2e10a304.js"
  import{h as d}from"./hideElement-f7381055.js"
  import{g as u}from"./getArrayByClassName-f55d7526.js"
  import{s as r}from"./selfIdIs-6c15f8e2.js"
  function m(i,e){u("player-name",i).forEach(e)}function g(i,e){const n=i.dataset.tipped,t=/Last Activity:<\/td><td>(\d+) mins/.exec(n)[1]
  t<2?i.classList.add(e.l1):t<5?i.classList.add(e.l2):i.classList.add(e.l3)}function b(e){i(e).forEach(d)}const p=[["hideGuildInfoTrade","#guild-minibox-action-trade","#online-allies-action-trade"],["hideGuildInfoSecureTrade","#guild-minibox-action-secure-trade","#online-allies-action-secure-trade"],["hideGuildInfoBuff","#guild-minibox-action-quickbuff","#online-allies-action-quickbuff"],["hideGuildInfoMessage","#guild-minibox-action-send-message","#online-allies-action-send-message"]]
  function h(i,e,a){n[a[0]]&&b(t(a[e],i))}function k(i,n){p.forEach(e(h,i,n))}function x(i,e,n){n.preventDefault(),n.target.classList.toggle(i),n.target.classList.toggle(e)}function y(i,e){const n=u(e,i).map(i=>c(i.nextElementSibling))
  l(n.join())}function j(i,e){const n=i.find(i=>i[0](e.target))
  if(n)return n[1](e)}function B([i,n,t,a]){return e(j,function([i,n,t,a]){return[[e(f,n),e(x,n,t)],[e(f,t),e(x,n,t)],[r(a),e(y,i,n)]]}([i,n,t,a]))}function I(i,e){const t=e+"-buff-check-on",f=e+"-quick-buff"
  n.hideBuffSelected?(b(a(t,i)),d(s(f))):n.fixBuffSelected&&function([i,e,n,t]){const a=e+"-buff-check-off"
  $("."+n).off("click"),$("."+a).off("click"),$("#"+t).off("click"),o(i.parentNode,B([i,n,a,t]))}([i,e,t,f])}export{I as a,g as b,m as c,k as d}
  //# sourceMappingURL=doHideBuffSelected-3f4fb4e2.js.map
  