(()=>{"use strict";const t=function(t,e){0<t.length&&Array.prototype.slice.call(t,0).forEach((function(t,c){e(t,c)}))};document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelectorAll(".smb-list");t(e,(e=>function(e){const c=e.getAttribute("data-icon"),n=e.getAttribute("data-icon-color"),o=document.createElement("span"),s=document.createElement("i");o.classList.add("smb-list__icon"),s.classList.add("fa-solid"),s.classList.add(`fa-${c}`),n&&(o.style.color=n),o.appendChild(s);const l=e.querySelectorAll("li");t(l,(t=>{const e=t.querySelector(".smb-list__icon");e&&t.removeChild(e),t.insertAdjacentHTML("afterbegin",o.outerHTML)}))}(e)))}),!1)})();