1 2 document.addEventListener("DOMContentLoaded", function() 3 { 4 window.cookieconsent.initialise( 5 { 6 palette: {popup: {background: "#000000", text: "#FFFFFF", link: "#FFFFFF"}, button: {background:"#008EF2", text:"#FFFFFF"}}, 7 theme: 'classic', 8 position: 'bottom', 9 cookie: 10 { 11 name: 'cookieconsent_status', 12 domain: '', 13 expiryDays: 365, 14 secure: false 15 }, 16 content: 17 { 18 message: 'We use cookies to ensure you get the best experience. We DO NOT use tracking cookies, advertising cookies, google analytics or analyzing the surfing behavior!', 19 dismiss: 'Got it!', 20 link: 'click here for more information!', 21 href: 'https://isemcon.net/documents/DataProtectionPolicy/iSEMcon%20Data%20Protection%20%20Policy-EN.pdf', 22 target: '_blank', 23 }, 24 revokable: true, 25 onStatusChange: function(status) 26 { 27 console.log(this.hasConsented() ? 'enable cookies' : 'disable cookies'); 28 }, 29 law: {regionalLaw: false}, 30 location: true 31 }); 32 }); 33 34 document.addEventListener('DOMContentLoaded', function(event) 35 { 36 var ThemeableMenu3_dropdownToggle = document.querySelectorAll('#ThemeableMenu3 .dropdown-toggle'); 37 ThemeableMenu3_dropdownToggle.forEach(item => 38 { 39 var dropdown = new bootstrap.Dropdown(item, {popperConfig:{placement:item.getAttribute('data-bs-placement')}}); 40 }); 41 var ThemeableMenu3_dropdown = document.querySelectorAll('#ThemeableMenu3 .dropdown'); 42 ThemeableMenu3_dropdown.forEach(item => 43 { 44 item.addEventListener('shown.bs.dropdown', function(e) 45 { 46 e.currentTarget.classList.add('show'); 47 }); 48 item.addEventListener('hidden.bs.dropdown', function(e) 49 { 50 e.currentTarget.classList.remove('show'); 51 }); 52 }); 53 var ThemeableMenu4_dropdownToggle = document.querySelectorAll('#ThemeableMenu4 .dropdown-toggle'); 54 ThemeableMenu4_dropdownToggle.forEach(item => 55 { 56 var dropdown = new bootstrap.Dropdown(item, {popperConfig:{placement:item.getAttribute('data-bs-placement')}}); 57 }); 58 var ThemeableMenu4_dropdown = document.querySelectorAll('#ThemeableMenu4 .dropdown'); 59 ThemeableMenu4_dropdown.forEach(item => 60 { 61 item.addEventListener('shown.bs.dropdown', function(e) 62 { 63 e.currentTarget.classList.add('show'); 64 }); 65 item.addEventListener('hidden.bs.dropdown', function(e) 66 { 67 e.currentTarget.classList.remove('show'); 68 }); 69 }); 70 }); 71 72 $(document).ready(function() 73 { 74 $("a[href*='#home']").click(function(event) 75 { 76 event.preventDefault(); 77 $('html, body').stop().animate({ scrollTop: $('#wb_home').offset().top-88 }, 600, 'easeOutCirc'); 78 }); 79 $("a[href*='#bookmarkPOPUP']").click(function(event) 80 { 81 event.preventDefault(); 82 $('html, body').stop().animate({ scrollTop: $('#wb_bookmarkPOPUP').offset().top-150 }, 600, 'linear'); 83 }); 84 $("#ImprintLayer").stickylayer({orientation: 1, position: [50, 300], delay: 500}); 85 $("a[href*='#ImprintLayer']").click(function(event) 86 { 87 event.preventDefault(); 88 $('html, body').stop().animate({ scrollTop: $('#ImprintLayer').offset().top }, 600, 'linear'); 89 }); 90 $("#language").stickylayer({orientation: 2, position: [20, 120], delay: 500}); 91 $("a[href*='#LayoutGrid1']").click(function(event) 92 { 93 event.preventDefault(); 94 $('html, body').stop().animate({ scrollTop: $('#wb_LayoutGrid1').offset().top }, 600, 'easeOutCirc'); 95 }); 96 function getParameter(paramName, value) 97 { 98 var searchString = window.location.search.substring(1); 99 var params = searchString.split('&'); 100 for (var i=0;i<params.length;i++) 101 { 102 var value = params[i].split('='); 103 if (value[0] == paramName) 104 { 105 return value[1]; 106 } 107 } 108 return value; 109 } 110 $.ajaxSetup({async: false}); 111 var csvfile = 'https://isemcon.net/data/whjr6343g/_distri_but_ors-full.txvv'; 112 $.get(csvfile, function(data) 113 { 114 var linesArray = data.split('\r\n'); 115 for (var i=0; i<linesArray.length; i++) 116 { 117 var rowArray = linesArray[i].split(','); 118 var $row = $('<tr></tr>'); 119 for (var j=0; j<rowArray.length; j++) 120 { 121 $('<td></td>').text(rowArray[j]).appendTo($row); 122 } 123 $('#Extension2 tbody').append($row); 124 } 125 }); 126 var sort = parseInt(getParameter('sort', '-1')); 127 var sort_order = getParameter('order', 'asc'); 128 var $table = $('#Extension2'); 129 $('th', $table).each(function(column) 130 { 131 var arrowClass = ''; 132 var order = 'asc'; 133 var $td = $(this); 134 $td.css('white-space', 'nowrap'); 135 if (sort == column) 136 { 137 if (sort_order == 'asc') 138 { 139 arrowClass = 'arrow-up'; 140 order = 'desc'; 141 } 142 else 143 { 144 arrowClass = 'arrow-down' 145 } 146 } 147 var html = '<a href="' + window.location.pathname + '?sort=' + column + '&order=' + order + '">' + $td.text() + '</a> <span class="' + arrowClass + '"></span></td>'; 148 $td.html(html); 149 }); 150 if (sort != -1) 151 { 152 var $th = $('th', $table).eq(sort); 153 var sortDirection = 1; 154 if (sort_order == 'desc') 155 { 156 sortDirection = -1; 157 } 158 var rows = $table.find('tbody > tr').get(); 159 $.each(rows, function(index, row) 160 { 161 var $cell = $(row).children('td').eq(sort); 162 row.sortKey = $cell.text().toUpperCase(); 163 }); 164 rows.sort(function(a, b) 165 { 166 if (a.sortKey < b.sortKey) return -sortDirection; 167 if (a.sortKey > b.sortKey) return sortDirection; 168 return 0; 169 }); 170 $.each(rows, function(index, row) 171 { 172 $table.children('tbody').append(row); 173 row.sortKey = null; 174 }); 175 } 176 $('#Extension2-filter').on('propertychange input', function(e) 177 { 178 $('.Extension2-no-results').remove(); 179 var $this = $(this); 180 var search = $this.val().toLowerCase(); 181 var $target = $('#Extension2'); 182 var $rows = $target.find('tbody tr'); 183 if (search == '') 184 { 185 $rows.removeClass('filter-hide'); 186 buildNav(); 187 paginate(); 188 } 189 else 190 { 191 $rows.each(function() 192 { 193 var $this = $(this); 194 $this.text().toLowerCase().indexOf(search) === -1 ? $this.addClass('filter-hide') : $this.removeClass('filter-hide'); 195 }) 196 buildNav(); 197 paginate(); 198 if ($target.find('tbody tr:visible').size() === 0) 199 { 200 var col_span = $target.find('tr').first().find('td').size(); 201 var no_results = $('<tr class="Extension2-no-results"><td colspan="'+col_span+'">No results found</td></tr>'); 202 $target.find('tbody').append(no_results); 203 } 204 } 205 }); 206 $('.panel-heading span.filter').on('click', function(e) 207 { 208 var $this = $(this), 209 $panel = $this.parents('.panel'); 210 $panel.find('.panel-body').slideToggle(function() 211 { 212 if($this.css('display') != 'none') 213 { 214 $panel.find('.panel-body input').focus(); 215 } 216 }); 217 }); 218 $('#Extension2').each(function() 219 { 220 var currentPage = 0; 221 var numPerPage = 9; 222 var $table = $(this); 223 var numRows = $table.find('tbody tr').length; 224 var numPages = Math.ceil(numRows / numPerPage); 225 var $pagination = $('#Extension2-pagination'); 226 paginate = function() 227 { 228 $pagination.find('li').eq(currentPage+1).addClass('active').siblings().removeClass('active'); 229 var $prev = $pagination.find('li:first-child'); 230 var $next = $pagination.find('li:last-child'); 231 if (currentPage == 0) 232 { 233 $prev.addClass('disabled'); 234 } 235 else 236 { 237 $prev.removeClass('disabled'); 238 } 239 if (currentPage == (numPages-1)) 240 { 241 $next.addClass('disabled'); 242 } 243 else 244 { 245 $next.removeClass('disabled'); 246 } 247 $table.find('tbody tr').not('.filter-hide').removeClass('paginate-show').addClass('paginate-hide').slice(currentPage * numPerPage, (currentPage + 1) * numPerPage).removeClass('paginate-hide').addClass('paginate-show');; 248 }; 249 buildNav = function() 250 { 251 currentPage = 0; 252 numRows = $table.find('tbody tr').not('.filter-hide').length; 253 numPages = Math.ceil(numRows / numPerPage); 254 $pagination.find('li').not($pagination.find('li:first-child')).not($pagination.find('li:last-child')).remove(); 255 for (var page = 0; page < numPages; page++) 256 { 257 var item = '<a>' + (page + 1) + '</a>'; 258 $('<li></li>').html(item) 259 .bind('click', {newPage: page}, function(event) 260 { 261 currentPage = event.data['newPage']; 262 paginate(); 263 }).appendTo($pagination).addClass('clickable'); 264 } 265 $pagination.find('li').eq(1).appendTo($pagination); 266 } 267 buildNav(); 268 $pagination.insertAfter($table.parent()).find('li:nth-child(2)').addClass('active'); 269 $pagination.find('li:first-child').click(function() 270 { 271 if (currentPage > 0) 272 { 273 currentPage--; 274 } 275 paginate(); 276 }); 277 $pagination.find('li:last-child').click(function() 278 { 279 if (currentPage < (numPages-1)) 280 { 281 currentPage++; 282 } 283 paginate(); 284 }); 285 paginate(); 286 }); 287 var iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform); 288 if (iOS) 289 { 290 $('#wb_home').css('background-attachment', 'scroll'); 291 } 292 });
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.