1var KHelper = { 2 _formatString: function (str) { 3 str = str.toLowerCase(); 4 str = str.replace(/à |á|ạ|ả|ã|â|ầ|ấ|áº|ẩ|ẫ|Ä|ằ|ắ|ặ|ẳ|ẵ/g, "a"); 5 str = str.replace(/è|é|ẹ|ẻ|ẽ|ê|á»|ế|á»|á»|á» /g, "e"); 6 str = str.replace(/ì|Ã|á»|á»|Ä©/g, "i"); 7 str = str.replace(/ò|ó|á»|á»|õ|ô|á»|á»|á»|á»|á»|Æ¡|á»|á»|ợ|á»|ỡ/g, "o"); 8 str = str.replace(/ù|ú|ụ|á»§|Å©|ư|ừ|ứ|á»±|á»|ữ/g, "u"); 9 str = str.replace(/ỳ|ý|ỵ|á»·|ỹ/g, "y"); 10 str = str.replace(/Ä/g, "d"); 11 12 return str; 13 }, 14}; 15 16jQuery(document).ready(function ($) { 17 var KApp = { 18 init: function () { 19 this.add_readmore_button(); 20 }, 21 22 // Will add readmore button to all the wrapper class .k-readmore-box automatically 23 add_readmore_button: function () { 24 var hidden_block_view = function(element, your_height = 150) { 25 var wrap = element; 26 var current_height = wrap.height(); 27 if (current_height > your_height) { 28 wrap.css('height', your_height + 'px'); 29 wrap.append(function () { 30 return '<div class="devvn_readmore_flatsome"><span title="Xem thêm" href="javascript:void(0);">Xem thêm</span></div>'; 31 }); 32 $('body').on('click','.devvn_readmore_flatsome', function () { 33 wrap.removeAttr('style'); 34 $('body .devvn_readmore_flatsome').remove(); 35 }); 36 } 37 }; 38 39 if ($('.k-readmore-box').length > 0) { 40 hidden_block_view($('.k-readmore-box'), 300); 41 } 42 }, 43 44 } 45 46 KApp.init(); 47 48 $(".gif-banner").append('<a class="x" target="_blank" href="' + $(".gif-banner a").attr('href') + '">x</a>'); 49 $('.gif-banner .x').click(function() { 50 $('.gif-banner').hide(); 51 }); 52 $('.j-gif').click(function() { 53 $('.gif-banner').show(); 54 }); 55 if ($('.rank-math-breadcrumb .last').text() == 'KQBD') { 56 $( '<a href="/">KQBD</a><span class="separator"> / </span>' ).insertBefore( '.rank-math-breadcrumb .last' ); 57 $('.rank-math-breadcrumb .last').text($('title').text().replace(' -', '')); 58 } 59 $(".h-section .readmore").append('<button class="readmoreButton">Äá»c tiếp</button>'); 60 $(".h-section .readmore .readmoreButton").click(function() { 61 $('.h-section .readmore *').show(); 62 $('.h-section .readmore .readmoreButton').hide(); 63 }); 64 $(".h-cpd").append('<div class="x">x</div>'); 65 $('.h-cpd .x').click(function() { 66 $(this).parent().hide(); 67 }); 68 $(".header-block .j-live span").prepend('<span class="live"></span>'); 69});
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.