1// Service Accordion Functionality - Reutilizable para todos los servicios 2 3document.addEventListener('DOMContentLoaded', function() { 4 const accordionItems = document.querySelectorAll('.accordion-itemOrigin'); 5 6 accordionItems.forEach(item => { 7 const trigger = item.querySelector('.accordion-triggerOrigin'); 8 9 if (trigger) { 10 trigger.addEventListener('click', function(e) { 11 e.preventDefault(); 12 13 // Close all other items 14 accordionItems.forEach(otherItem => { 15 if (otherItem !== item) { 16 otherItem.classList.remove('active'); 17 } 18 }); 19 20 // Toggle current item 21 item.classList.toggle('active'); 22 }); 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.