PageSourceSearch

https://catve.com/2022/assets/js/script.js?197105206

js catve.com collected 2026-10-02 05:53:30 UTC 4,072 bytes, 106 lines download raw bytes

1$(document).ready(function () {
2	$(".botao_menu_lateral").click(function () {
3		menu_lateral();
4	});
5
6	$(".menu_lateral").click(function () {
7		menu_lateral_voltar();
8	});
9	$(".menu_lateral_menu").click(function () {
10		menu_lateral_voltar();
11	});
12
13	$(".bolinha_editoria").mouseenter(function () {
14		$(this).find(".label").stop().show("fast");
15	});
16	$(".bolinha_editoria").mouseleave(function () {
17		$(this).find(".label").stop().hide("fast");
18	});
19
20	$("#card_aovivo").mouseenter(function () {
21		tag_aovivo();
22	});
23	$("#card_aovivo").mouseleave(function () {
24		tag_aovivo_voltar();
25	});
26});
27
28function menu_lateral() {
29	$(".menu_lateral").animate({ left: "0" }, { duration: 500 });
30	$(".menu_lateral_menu").animate({ opacity: 0.7 }, { duration: 500 });
31	$(".menu_lateral_menu").css("width", "100%");
32	$("body").addClass("no_scroll");
33}
34function menu_lateral_voltar() {
35	$(".menu_lateral").animate({ left: "-500px" }, { duration: 300 });
36	$(".menu_lateral_menu").animate({ opacity: 0 }, { duration: 500 });
37	$(".menu_lateral_menu").css("width", "0");
38	$("body").removeClass("no_scroll");
39}
40
41function tag_aovivo() {
42	$(".tag_aovivo").animate({ marginTop: "40px" }, { duration: 500 });
43}
44function tag_aovivo_voltar() {
45	$(".tag_aovivo").animate({ marginTop: "-50px" }, { duration: 500 });
46}
47
48function rodar_video(tipo, id, diretorio) {
49	//alert(diretorio);
50
51	let rand = Math.floor(Math.random() * 100000) + 1;
52
53	var minhaDiv = document.getElementById("video_noticia");
54	minhaDiv.onclick = null;
55	if (tipo == "dailymotion") {
56		$("#video_noticia").html(
57			'<iframe width="1280" height="720" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/' +
58				id +
59				'?autoplay=1" width="100%" height="100%" allowfullscreen title="Dailymotion Video Player" allow="autoplay"> </iframe>'
60		);
61	} else if (tipo == "terra") {
62		// Array de IDs
63		const ids = ["66b668cdc05f3", "66b6640f21f48", "66b664daef3b7", "66b66ec3ec935", "66b66e306e197", "66b66bbcd277b", "66b64ca519efc", "66b670c8f063e", "66b67988e40f2"];
64
65		// ID que você quer verificar
66		const idToCheck = id.trim();
67
68		// Variável que depende da verificação
69		let isPresent = ids.includes(idToCheck);
70
71
72		if (isPresent) {
73			caminho = "https://catve.com/videos/";
74		} else {
75			caminho = "https://videos.catve.com/videos/";
76		}
77
78		console.log(caminho+diretorio+"/"+id.trim()+".mp4?");
79		console.log(id);
80
81		/*$("#video_noticia").html('<iframe width="1280" height="720" src="https://p1.trrsf.com/playerttv/ganesha-backend/iframe.html?content_id='+id+'&country=br&advertisement=false&autoplay=true" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen="" oallowfullscreen="" msallowfullscreen="" frameborder="0"></iframe><style type="text/css">.t360-player--disclaimer{ position: inherit; display: none;	}</style>');*/
82		$("#video_noticia").html(
83			'<video controlsList="nodownload" preload="metadata"  controls autoplay src="' +
84				caminho +
85				diretorio +
86				"/"+id.trim()+".mp4?" +
87				rand +
88				'"></video>'
89		);
90	} else if (tipo == "youtube") {
91		$("#video_noticia").html(
92			'<iframe width="1280" height="720" src="https://www.youtube.com/embed/' +
93				id +
94				'?autoplay=1" title="catve.com" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
95		);
96	} else if (tipo == "facebook") {
97		$("#video_noticia").html(
98			'<iframe src="https://www.facebook.com/plugins/video.php?height=486&href=https%3A%2F%2Fwww.facebook.com%2Fportalcatve%2Fvideos%2F' +
99				id +
100				'%2F&show_text=false&width=864&t=0" width="560" height="314" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share" allowFullScreen="true"></iframe>'
101		);
102	} else if (tipo == "aovivo") {
103	}
104}
105
106//$("#video_noticia").html('<video src="https://videos.catve.com/videos/"'+diretorio+'/'id+'.mp4'+'></video>');

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.