1var likedUserFullNameArray = likedUserFullNameArray || []; 2 3function getToolText() { 4 var e = ""; 5 for (i = 0; i < likedUserFullNameArray.length; i++) e += likedUserFullNameArray[i] + "<br/>"; 6 return e 7}! function(e) { 8 $('.orderListDrpdwn .select-dropdown').on('click', function() { 9 $('#articleListAllFilter').toggle(); 10 }); 11 12 function t(t) { 13 e.ajax({ 14 type: "GET", 15 url: "/team.category.update.ajax/categoryId/" + t.categoryId + "/zindex/" + t.zindex, 16 success: function(e) { 17 a(e) 18 } 19 }) 20 } 21 22 function a(t) { 23 var a = e('<div class="messageContainer"></div>'); 24 if (t.hasOwnProperty("responsemessages")) { 25 for (var n in t.responsemessages) "success" == t.responsemessages[n].type ? a.append('<div class="alert alert-success alert-float"><button type="button" class="close" data-dismiss="alert">×</button><strong>' + t.responsemessages[n].type + "</strong> " + t.responsemessages[n].body + "</div>") : "error" == t.responsemessages[n].type && a.append('<div class="alert alert-error alert-float"><button type="button" class="close" data-dismiss="alert">×</button><strong>' + t.responsemessages[n].type + "</strong> " + t.responsemessages[n].body + "</div>"); 26 a.appendTo("body").css({ 27 left: (e(document).width() - a.width()) / 2 28 }).fadeIn().delay(2e3).fadeOut(function() { 29 e(this).remove() 30 }) 31 } 32 } 33 if (e(".messageContainers").length) { 34 var n = e(".messageContainers"); 35 n.css({ 36 left: (e(document).width() - n.width()) / 2 + "px" 37 }), n.show() 38 } 39 if (e("#CategoryListView").length) { 40 var i = {}; 41 e("#CategoryListView tbody").sortable({ 42 helper: "clone", 43 connectWith: "#CategoryListView", 44 cursor: "move", 45 update: function(e, a) { 46 i.zindex = a.item.index(), i.categoryId = a.item.attr("data-element-id"), t(i), i = {} 47 } 48 }) 49 } 50 e(function() { 51 function t(e, t) { 52 if(typeof tinymce !== 'undefined'){ 53 tinymce.init({ 54 selector: "textarea.tinyMce", 55 convert_urls: !1, 56 valid_elements : '+*[*]', 57 theme: "modern", 58 plugins: "autolink,lists,pagebreak,layer,table,save,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,template,advlist,emoticons,hr,image,link,code,textcolor,colorpicker", 59 language: e, 60 toolbar: "undo redo | fontselect fontsizeselect | bold italic underline strikethrough | emoticons | bullist numlist | link image | forecolor backcolor", 61 menubar: "file edit insert view format table tools", 62 table_default_attributes: { 63 class : 'tinyMcetableclass', 64 border : '1' 65 }, 66 67 menu: { 68 file: { 69 title: "File", 70 items: "newdocument print" 71 }, 72 edit: { 73 title: "Edit", 74 items: "undo redo | selectall | searchreplace" 75 }, 76 insert: { 77 title: "Insert", 78 items: "link image media | pagebreak insertdatetime nonbreaking template hr" 79 }, 80 view: { 81 title: "View", 82 items: "visualchars visualaid | preview fullscreen" 83 }, 84 format: { 85 title: "Format", 86 items: "bold italic underline strikethrough superscript subscript | formats | removeformat" 87 }, 88 table: { 89 title: "Table", 90 items: "inserttable tableprops deletetable | cell row column" 91 }, 92 tools: { 93 title: "Tools", 94 items: "code" 95 } 96 }, 97 nonbreaking_force_tab: !0, 98 width: "800", 99 height: "280", 100 relative_urls: !0, 101 convert_urls: !1, 102 skin: "light", 103 image_advtab: !0, 104 file_browser_callback: function(e, a, n, i) { 105 tinyMCE.activeEditor.windowManager.open({ 106 url: "/filemanager_md/?p=" + urlparam, 107 title: t, 108 width: window.innerWidth*.9, 109 height: "500", 110 movable: !0, 111 inline: !0, 112 close_previous: "no" 113 }, { 114 mainWindow: i, 115 inputField: e 116 }) 117 } 118 }) 119 } 120 } 121 122 function a(e, t) { 123 if(typeof tinymce !== 'undefined'){ 124 tinymce.init({ 125 selector: "#replyform textarea", 126 mode: "none", 127 valid_elements : '+*[*]', 128 convert_urls: !1, 129 theme: "modern", 130 plugins: "autolink,pagebreak,layer,save,insertdatetime,preview,searchreplace,print,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,emoticons,link,textcolor,colorpicker", 131 language: e, 132 toolbar: "bold italic underline strikethrough | emoticons | bullist numlist | link image | forecolor backcolor", 133 menubar: "file edit insert view format table tools", 134 menu: { 135 file: { 136 title: "File", 137 items: "newdocument print" 138 }, 139 edit: { 140 title: "Edit", 141 items: "undo redo | selectall | searchreplace" 142 }, 143 insert: { 144 title: "Insert", 145 items: "link image media | pagebreak insertdatetime nonbreaking template hr" 146 }, 147 view: { 148 title: "View", 149 items: "visualchars visualaid | preview fullscreen" 150 }, 151 format: { 152 title: "Format", 153 items: "bold italic underline strikethrough superscript subscript | formats | removeformat" 154 }, 155 table: { 156 title: "Table", 157 items: "inserttable tableprops deletetable | cell row column" 158 }, 159 tools: { 160 title: "Tools", 161 items: "code" 162 } 163 }, 164 content_css: "/css/modules/style.article.css", 165 nonbreaking_force_tab: !0, 166 width: "100%", 167 height: "300", 168 relative_urls: !0, 169 convert_urls: !1, 170 skin: "light", 171 file_browser_callback: function(e, a, n, i) { 172 tinyMCE.activeEditor.windowManager.open({ 173 url: "/filemanager_md/?p=" + urlparam, 174 title: t, 175 width: window.innerWidth*.9, 176 height: 600, 177 movable: !0, 178 inline: !0, 179 close_previous: "no" 180 }, { 181 mainWindow: i, 182 inputField: e 183 }) 184 } 185 }) 186 } 187 } 188 var n = e("#teamArticlesTable > tbody").children().length, 189 i = e("#portalArticlesTable > tbody").children().length; 190 n > 1 && e("#teamArticlesTable").DataTable({ 191 paging: !1, 192 searching: !1, 193 info: !1, 194 aoColumnDefs: [{
195 bSortable: !1, 196 aTargets: [1] 197 }, { 198 bSortable: !1, 199 aTargets: [2] 200 }, { 201 bSortable: !1, 202 aTargets: [6] 203 }], 204 aaSorting: [] 205 }), i > 1 && e("#portalArticlesTable").DataTable({ 206 paging: !1, 207 searching: !1, 208 info: !1, 209 aoColumnDefs: [{ 210 bSortable: !1, 211 aTargets: [1] 212 }, { 213 bSortable: !1, 214 aTargets: [2] 215 }, { 216 bSortable: !1, 217 aTargets: [6] 218 }], 219 aaSorting: [] 220 }); 221 var r = "en", 222 o = "", 223 l = "", 224 s = "", 225 c = ""; 226 e.ajax({ 227 url: "/util.lang.get/langFile/filemanager,article", 228 dataType: "JSON", 229 success: function(e) { 230 "nederlands" == e.responsebody.language.toLowerCase() && (r = "nl"), o = e.responsebody.filemanager.general.maintitle, l = e.responsebody.article.general.articlepagereplywarninglabel, s = e.responsebody.article.general.articlepagereplytolabel, c = e.responsebody.article.general.articlepagereplyoflabel, t(r, o), a(r, o) 231 } 232 }), e.fn.datepicker && (e.datepicker.regional.nl = { 233 dateFormat: "dd-mm-yy", 234 firstDay: 1, 235 isRTL: !1, 236 showMonthAfterYear: !1, 237 yearSuffix: "" 238 }, e.datepicker.setDefaults(e.datepicker.regional.nl), e.datepicker.setDefaults(e.datepicker.regional.nl), e(".date").datepicker({ 239 changeMonth: !0, 240 changeYear: !0 241 }).on("changeDate", function(e) { 242 alert(e.date.valueOf()) 243 })), e.fn.spinner && "undefined" != typeof Globalize && (e.widget("ui.timespinner", e.ui.spinner, { 244 options: { 245 step: 6e4, 246 page: 60 247 }, 248 _parse: function(e) { 249 return "string" == typeof e ? Number(e) == e ? Number(e) : +Globalize.parseDate(e) : e 250 }, 251 _format: function(e) { 252 return Globalize.format(new Date(e), "t") 253 } 254 }), Globalize.culture("nl"), e(".time").timespinner()), "undefined" != typeof e().mask && (e(".date").mask("99-99-9999", { 255 placeholder: " " 256 }), e(".time").mask("99:99", { 257 placeholder: " ", 258 completed:function(){ 259 this.context.value = correctTime(this.context.value); 260 } 261 })), e(".quoteComment").click(function(t) { 262 t.preventDefault(); 263 var a = e(this).parent().parent().parent().find(".commentContent").html(), 264 n = e(this).parent().parent().parent().find(".commentInfo"), 265 i = e("#replyform textarea"), 266 r = e(this).attr("data-id"); 267 i.html(e(i).html() + '<p></p><p><blockquote class="commentId-' + r + '"><span class="commentAuthor">Posted by:' + n.children(".commentAuthorInfo").html() + " on " + n.children(".commentDatePosted").html() + " </span>" + a + "</blockquote></p><p></p>"), e("html, body").animate({ 268 scrollTop: i.parent().offset().top 269 }, 400, function() {}) 270 }), e(".replyToComment").click(function(t) { 271 t.preventDefault(); 272 var a = e(this).attr("data-id"), 273 n = e("#replyform"), 274 i = e(this).parent().parent().parent().find(".commentAuthorInfo a").text(); 275 n.find('input[name="parentId"]').val(a), n.find("div.alert span").length ? n.find("div.alert span").text(s + " #" + a + " " + c + " " + i) : n.find("div.tinymceComment").before('<div class="alert fade in"><button type="button" class="close" data-dismiss="alert">×</button><strong>' + l + "</strong> <span>" + s + " #" + a + " " + c + " " + i + "</span></div>"), e("html, body").animate({ 276 scrollTop: n.offset().top 277 }, 400) 278 }), e(".commentButton").click(function(t) { 279 var a = e("#replyform"); 280 e("html, body").animate({ 281 scrollTop: a.offset().top 282 }, 400) 283 }), e("#replyform").one("submit", "form.replyForm", function() { 284 var t = e(this).find('textarea[name="content_tinymce"]'), 285 a = e(this).find('input[name="content"]'); 286 return commentContent = e("<div></div>").html(t.val()), commentContent.find('blockquote[class^="commentId"]').each(function() { 287 $commentId = e(this).attr("class"), $commentId = $commentId.replace("commentId-", ""), e(this).replaceWith("<p>{{" + $commentId + "}}</p>") 288 }), a.val(commentContent.html()), e(this).submit(), !1 289 }) 290 }), e(".likeCountContainer[data-like-tooltip]").tooltip({ 291 html: !0, 292 container: "body", 293 title: getToolText() 294 }), e(".more-vert").on("click", function() { 295 e(this).closest("div").children(".menu-optns").toggleClass("open-nav") 296 }) 297 298}(jQuery); 299 300 301$(function() { 302 $(".time").focusout(function(){ 303 $(this).context.value = correctTime($(this).context.value); 304 }); 305 306 307 $('.likeCountContainer').on('click',function(){ 308 var _totalcount = $('.likeCountContainer .likeCount').text(); 309 var _html = $('<ul/>') 310 .addClass('readuserListUl'); 311 _likeCounter = 0; 312 $.each(likedUserFullNameArray, function(i) 313 { 314 _classname = 'read-user-name'; 315 if(!_likeCounter){ 316 _classname = 'header-icon-class'; 317 } 318 var li = $('<li/>') 319 .addClass(_classname) 320 .appendTo(_html); 321 var aaa = $('<a/>') 322 .addClass('ui-all') 323 .attr('href','javascript:void(0)') 324 .html(likedUserFullNameArray[i])
325 .appendTo(li); 326 327 _likeCounter++; 328 }); 329 $('#modal1 .modal-content').html(_html); 330 $('#modal1').modal('open'); 331 $('#modal1').addClass('read-user-modal'); 332 }); 333 334 $('.followCountContainer').on('click',function(){ 335 var _totalcount = $('.followCountContainer .followCount').text(); 336 var _html = $('<ul/>') 337 .addClass('followuserListUl'); 338 _followCounter = 0; 339 $.each(followUserFullnameArray, function(i) 340 { 341 _classname = 'follow-user-name'; 342 if(!_followCounter){ 343 _classname = 'header-icon-class'; 344 } 345 var li = $('<li/>') 346 .addClass(_classname) 347 .appendTo(_html); 348 var aaa = $('<a/>') 349 .addClass('ui-all') 350 .attr('href','javascript:void(0)') 351 .html(followUserFullnameArray[i]) 352 .appendTo(li); 353 354 _followCounter++; 355 }); 356 $('#modal1 .modal-content').html(_html); 357 $('#modal1').modal('open'); 358 $('#modal1').addClass('read-user-modal'); 359 }); 360 361 362 $('.readCountContainer').on('click',function(){ 363 364 var _html = $('<ul/>') 365 .addClass('readuserListUl'); 366 _readCounter = 0; 367 $.each(readdUserFullNameArray, function(i) 368 { 369 _classname = 'read-user-name'; 370 if(!_readCounter){ 371 _classname = 'header-icon-class'; 372 } 373 var li = $('<li/>') 374 .addClass(_classname) 375 .appendTo(_html); 376 var aaa = $('<a/>') 377 .addClass('ui-all') 378 .attr('href','javascript:void(0)') 379 .html(readdUserFullNameArray[i]) 380 .appendTo(li); 381 _readCounter++; 382 }); 383 $('#modal1 .modal-content').html(_html); 384 $('#modal1').modal('open'); 385 $('#modal1').addClass('read-user-modal'); 386 }); 387 388 /*remove the read-user-modal class*/ 389 390 $('#modal1').modal({ 391 complete : function(){ 392 $('#modal1').removeClass('read-user-modal'); 393 } 394 }); 395 396 397 398 function getToolText() { 399 var title = ''; 400 for (i = 0; i < likedUserFullNameArray.length; i++) { 401 title += likedUserFullNameArray[i] + '<br/>'; 402 } 403 return title; 404 } 405 function getReadUserNameText() { 406 var title = ''; 407 for (i = 0; i < readdUserFullNameArray.length; i++) { 408 title += readdUserFullNameArray[i] + '<br/>'; 409 } 410 return title; 411 } 412 413 414 415}) 416 417 418 419function correctTime(inputString){ 420 let hours = parseInt(inputString.substr(0,2)); 421 let minutes = parseInt(inputString.substr(3,4)); 422 if(hours > 23 || minutes > 59){ 423 if(hours > 23){ 424 inputString = "23" + ":" + (9 > minutes ? "0"+minutes : minutes); 425 } 426 if(minutes > 59){ 427 inputString = (9 > hours ? "0"+hours : hours) + ":" + "59"; 428 } 429 if(hours > 23 && minutes > 59){ 430 inputString = "23:59"; 431 } 432 } 433 else if(hours < 0 || minutes < 0){ 434 if(hours < 0){ 435 inputString = "00" + ":" + (9 > minutes ? "0"+minutes : minutes); 436 } 437 if(minutes < 0){ 438 inputString = (9 > hours ? "0"+hours : hours) + ":" + "00"; 439 } 440 if(hours < 0 && minutes < 0){ 441 inputString = "00:00"; 442 } 443 } 444 return inputString; 445}
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.