PageSourceSearch

https://visao.com.br/libs/js/city.js?v=2.1.0

js visao.com.br collected 2026-10-07 00:38:40 UTC 1,064 bytes, 32 lines download raw bytes

1function loadCity(cidade, url) {
2  $('#lista_camera_cidades .cidade_field').parent('li').removeClass('active');
3  $('#lista_camera_cidades .cidade_field:contains("' + cidade + '")').parent('li').addClass('active');
4  
5  $('#marker_videos_list').show();
6  $('.player').hide();
7  $('.lateral-player').hide();
8  $('#navbarSite').collapse('hide');
9  
10  var redir_url = window.location.origin + $('base').attr('href');
11  var title = 'Visão 360 - Câmeras Ao Vivo';
12  
13  if (cidade == 'Todas') {
14    loadBanner('cidade', 'Caxias do Sul');
15    
16    $('.lista-videos[data-topic="cidade"]').show();
17  } else {
18    loadBanner('cidade', cidade);
19
20    $('.lista-videos[data-topic="cidade"][data-cidade="' + cidade + '"]').show();
21    $('.lista-videos[data-topic="cidade"][data-cidade!="' + cidade + '"]').hide();
22    
23    redir_url += 'ao-vivo/' + url;
24    title = cidade + ' - ' + title;
25  }
26
27  history.replaceState('', title, redir_url);
28  document.title = title;
29  
30  resizeElements();
31  $("html, body").animate({ scrollTop: '0px' }, 500);
32}

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.