1//Start load and active sound 2const activeSoundImg = "/assets/football-vn/images/volumn-loud.svg"; 3const unActiveSoundImg = "/assets/images/volume-off.svg"; 4const idTagSound = "#choose-tool-sound"; 5 6$(document).ready(function () { 7 $('#breadcrumbs').text($('#breadcrumbs').text().replace('Chi tiếc', 'Chi tiết')) 8 loadInitSound(); 9 function loadInitSound() { 10 let sound = localStorage.getItem("sound"); 11 sound = sound ? JSON.parse(sound) : null; 12 if (!sound) { 13 sound = { active: true }; 14 localStorage.setItem("sound", JSON.stringify(sound)); 15 } 16 toggleAllSounds(sound) 17 setTimeout(() => { 18 $(idTagSound).attr( 19 "src", 20 sound.active ? activeSoundImg : unActiveSoundImg 21 ); 22 }, 200); 23 } 24}); 25 26function toggleAllSounds(sound) { 27 if (!sound) { 28 sound = JSON.parse(localStorage.getItem("sound")); 29 sound.active = !sound.active; 30 localStorage.setItem("sound", JSON.stringify(sound)); 31 } 32 $("audio, video").each(function () { 33 $(this).prop("muted", !sound.active); 34 }); 35 $(idTagSound).attr("src", sound.active ? activeSoundImg : unActiveSoundImg); 36} 37 38//End load and active sound 39 40//View passwork 41function eyePasswork(isShow) { 42 let type = isShow ? "text" : "password"; 43 $("#Password_head").attr("type", type); 44 if (isShow) { 45 $("#img-password-eye").removeClass("hide"); 46 $("#img-password-hide").addClass("hide"); 47 } else { 48 $("#img-password-hide").removeClass("hide"); 49 $("#img-password-eye").addClass("hide"); 50 } 51} 52//----------END LOGIN---------------
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.