1(function(){'use strict';var blocks=Array.prototype.slice.call(document.querySelectorAll('[data-arv-team-root]'));if(!blocks.length){return} 2var search=document.querySelector('[data-arv-team-search]');var buttons=Array.prototype.slice.call(document.querySelectorAll('[data-arv-team-division]')).filter(function(el){return'BUTTON'===el.tagName});if(!search&&!buttons.length){return} 3var division='';for(var b=0;b<buttons.length;b++){if('true'===buttons[b].getAttribute('aria-pressed')){division=buttons[b].getAttribute('data-arv-team-division')}} 4function apply(){var query=search?search.value.trim().toLowerCase():'';var seen={};for(var i=0;i<blocks.length;i++){var groups=blocks[i].querySelectorAll('.arv-team__group');for(var g=0;g<groups.length;g++){var cards=groups[g].querySelectorAll('.arv-team__card');var visible=0;for(var c=0;c<cards.length;c++){var card=cards[c];var divisions=(card.getAttribute('data-arv-team-division')||'').split('|');var text=card.getAttribute('data-arv-team-text')||'';var hit=(''===division||-1!==divisions.indexOf(division))&&(''===query||-1!==text.indexOf(query));card.hidden=!hit;if(hit){visible++;seen[card.getAttribute('href')||card.getAttribute('data-arv-team-text')]=1}} 5groups[g].hidden=(0===visible)}} 6report(Object.keys(seen).length,query)} 7function report(shown,query){var filtering=(''!==division||''!==query);for(var i=0;i<blocks.length;i++){var count=blocks[i].querySelector('[data-arv-team-count]');if(!count){continue} 8if(search&&!blocks[i].contains(search)){count.textContent='';continue} 9if(!filtering){count.textContent=''}else if(0===shown){count.textContent='No athletes match'+(query?' "'+query+'"':'')+'.'}else{count.textContent=shown+(1===shown?' athlete':' athletes')}}} 10for(var k=0;k<buttons.length;k++){buttons[k].addEventListener('click',function(e){division=e.currentTarget.getAttribute('data-arv-team-division');for(var j=0;j<buttons.length;j++){var on=(buttons[j]===e.currentTarget);buttons[j].setAttribute('aria-pressed',on?'true':'false');buttons[j].classList.toggle('is-active',on)} 11apply()})} 12if(search){search.addEventListener('input',apply);search.addEventListener('keydown',function(e){if('Escape'===e.key){search.value='';apply()}})} 13if(''!==division){apply()}})();(function(){'use strict';var blocks=document.querySelectorAll('[data-arv-videos]');if(!blocks.length){return} 14for(var i=0;i<blocks.length;i++){wire(blocks[i])} 15function wire(block){var stage=block.querySelector('[data-arv-video-stage]');var row=block.querySelector('[data-arv-video-row]');if(!stage||!row){return} 16upgradePoster(stage.querySelector('[data-arv-video-hires]'));block.addEventListener('click',function(e){var button=e.target.closest('[data-arv-video-id]');if(!button){return} 17var id=button.getAttribute('data-arv-video-id');if(!id){return} 18if(button.classList.contains('is-playing')&&stage.querySelector('iframe')){return} 19play(stage,row,button,id)})} 20function play(stage,row,button,id){var title=button.getAttribute('data-arv-video-title')||button.textContent.trim();var frame=document.createElement('iframe');frame.className='arv-athlete__video-frame';frame.src='https://www.youtube-nocookie.com/embed/'+id+'?autoplay=1&rel=0';frame.title=title;frame.allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture';frame.allowFullscreen=!0;stage.textContent='';stage.appendChild(frame);var top=stage.getBoundingClientRect().top;if(top<0){window.scrollBy({top:top-16,behavior:'smooth'})} 21var thumbs=row.querySelectorAll('[data-arv-video-id]');for(var j=0;j<thumbs.length;j++){var on=(thumbs[j].getAttribute('data-arv-video-id')===id);thumbs[j].setAttribute('aria-pressed',on?'true':'false');thumbs[j].classList.toggle('is-playing',on)}} 22function upgradePoster(img){if(!img){return} 23var hires=img.getAttribute('data-arv-video-hires');if(!hires){return} 24var probe=new Image();probe.onload=function(){if(probe.naturalWidth>320){img.src=hires}};probe.src=hires}})()
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.