PageSourceSearch

https://www.surgeons.org/-/media/Themes/RACS/surgeons-org/Custom/S…&hash=D67BF9AA5886085646A2512D46B1A074

js surgeons.org collected 2026-09-24 17:10:07 UTC 1,741 bytes, 53 lines download raw bytes

1let script = document.createElement('script');         
2script.src = "https://connect.facebook.net/en_US/sdk.js";       
3document.head.appendChild(script);
4
5window.onload = newsListMoreDetails();
6 
7function newsListMoreDetails() {
8	const myElement = document.getElementById("search-results");
9  if(myElement !== null) {
10	if(myElement.hasAttribute("data-pagetemplate")){
11      if(myElement.getAttribute("data-pagetemplate") == 'Calendar Listing Page'){
12        $('#search-results').removeClass("view-mode-grid");
13        $('#search-results').addClass("view-mode-list");
14        $('.btn-group').remove();
15    }}
16  }
17  $(document).on('click','.btn-toggle',function(){
18      $(this).find(".icon-arrow-down").toggleClass("rotated");
19      $(this).siblings(".details-list").slideToggle("slow");
20      var textToggle = $(this).find(".text-toggle");
21      if (textToggle.text() == "View details") {
22          textToggle.text("Hide details");
23      }
24      else {
25          textToggle.text("View details");
26      }
27  });	
28}
29  $(document).on('click','.btn-facebook',function(){
30	  fbShare();
31	  FB.ui({    
32							method: 'share',
33							href: window.location.href
34						});
35  });
36  function fbShare(){
37		setTimeout( function () {
38            var elemnent = document.getElementsByClassName("btn-facebook");
39            for(var i = 0; i < elemnent.length; i++){ 
40				if(!elemnent[i].classList.contains('initialized')) {
41					elemnent[i].classList.add('initialized');
42				}
43            }
44  }, 1);}
45  window.fbAsyncInit = function() {
46    FB.init({
47      appId            : '575743193298064',
48      autoLogAppEvents : true,
49      xfbml            : true,
50      version          : 'v5.0'
51    });
52  };
53  

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.