PageSourceSearch

https://tprc.us/tprc-2026-gsp/wp-content/themes/attitude-child/child.js?ver=7.1.2

js tprc.us collected 2026-09-24 20:29:30 UTC 1,186 bytes, 50 lines download raw bytes

1(function () {
2  var showOnly = function (d) {
3    jQuery("div.schedule-container").hide();
4    var s = jQuery( "#schedule-" + d );
5    if ( !s.length ) {
6      s = jQuery( "#schedule-2018-06-18" );
7    }
8    s.show();
9  };
10
11  var onHashChange = function(date) {
12    if ( date === undefined || date === "" ) {
13      date = window.location.hash.substr(1);
14    }
15    if ( date === undefined || date === "" ) {
16      date = confLocalDate();
17    }
18    showOnly(date)
19  };    
20
21  jQuery.when( jQuery.ready ).then( function () {
22    jQuery("#schedule-selector li a").click( function (e) {
23      var h = e.currentTarget.href.match( /\#.+$/ );
24      onHashChange( h[0].substr(1) );
25    } );
26    onHashChange();
27   });
28})();
29
30function confLocalDate() {
31  var d = new Date();
32
33  // Convert the date object to milliseconds in UTC.
34  var utc = d.getTime() + ( d.getTimezoneOffset() * 60 * 1000 );
35
36  // Local TZ offset during the conference
37  var offset = -6;
38
39  var l = new Date( utc + ( 3600 * 1000 * offset ) );
40
41  var mo = l.getMonth();
42  var da = l.getDay();
43  if ( mo < 10 ) {
44    mo = "0" + mo;
45  }
46  if ( da < 10 ) {
47    da = "0" + da;
48  }
49  return l.getFullYear() + "-" + mo + "-" + da;
50}

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.