1var initFormSimple = async (container) => { 2 var el = container; 3 if (typeof W360_Form === 'undefined') { 4 console.warn('W360_Form is undefined, loading...'); 5 lazy.loadScript('/res/js/W360_Form.js', 0, () => { 6 contactFormSimple(el); 7 }); 8 } 9} 10 11const contactFormSimple = (el) => { 12 const form = document.getElementById('form-simple') 13 new W360_Form(el.querySelector('form')) 14 15 const btnRgpd = form.querySelector('.form-gpdr-btn') 16 const formGpdr = form.querySelector('.form-gpdr') 17 18 if (btnRgpd && formGpdr) { 19 btnRgpd.addEventListener('click', (e) => { 20 e.preventDefault() 21 btnRgpd.classList.toggle('active') 22 formGpdr.classList.toggle('active') 23 }) 24 } 25}
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.