1/* 2* @author Agence Dn'D <[email protected]> 3* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 4* @link https://www.dnd.fr/ 5*/const initFinishTabs=tabsEl=>{if(tabsEl.dataset.finishInit)return;tabsEl.dataset.finishInit="true";const picker=tabsEl.closest("variant-picker");if(!picker)return;const buttons=tabsEl.querySelectorAll("[data-finish-tab]"),applyFilter=filter=>{const labels=picker.querySelectorAll(".opt-label[data-finish]"),visibleInputs=[];labels.forEach(label=>{const input=document.getElementById(label.getAttribute("for")),finish=label.getAttribute("data-finish")||"",show=filter==="all"||finish===filter;label.style.display=show?"":"none",input&&(input.disabled=!show,show&&visibleInputs.push(input))}),!visibleInputs.some(input=>input.checked)&&visibleInputs.length&&(visibleInputs[0].checked=!0,visibleInputs[0].dispatchEvent(new Event("change",{bubbles:!0})))};buttons.forEach(btn=>{btn.addEventListener("click",()=>{buttons.forEach(b=>{const active=b===btn;b.classList.toggle("is-active",active),b.setAttribute("aria-pressed",active?"true":"false")}),applyFilter(btn.getAttribute("data-finish-tab"))})})};document.querySelectorAll(".finish-tabs").forEach(initFinishTabs); 6//# sourceMappingURL=/cdn/shop/t/4/assets/lbroshop-lipstick-tabs.js.map?v=176006763615663384251787904327
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.