1function r(e,c){const s=e.querySelector("form"),o=e.querySelector('button[type="submit"]'),n=e.querySelectorAll("[data-conditional-display]");if(!s||!o)return;o.addEventListener("click",()=>{s.classList.add("group-validation")});const i=(t,a)=>{a&&a==="true"?t.classList.remove("hidden"):t.classList.add("hidden")};n.forEach(t=>{const a=document.querySelector(`[data-conditional-display-target="${t.dataset.conditionalDisplay}"]`);t.selectedOptions.length>0&&i(a,t.selectedOptions[0].dataset.conditionalDisplayValue),t.tagName==="SELECT"&&t.addEventListener("change",l=>{const d=l.target.selectedOptions[0].dataset.conditionalDisplayValue;i(a,d)})})}export{r as default};
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.