// 经常改,缓存短时间 4901488
window["getck"]=function(name){try {var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));if(arr != null) return unescape(arr[2]); return null;}catch(err){}}
window['setck']=function(name,value,seconds){try {var exp = new Date();exp.setTime(exp.getTime() + seconds*1000);var scookie=name + "="+ escape (value)+"; path=/"+"; expires="+exp.toGMTString()+";";document.cookie = scookie;}catch(err){}}
function delck(name) {document.cookie = `${name}=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;`;}
function load_js(url_js){var jsload_uni = document.createElement("script");jsload_uni.src =url_js;document.head.append(jsload_uni);}
function load_css(url_load_css){
var headcss = document.getElementsByTagName('head')[0];var linkcss = document.createElement('link');
linkcss.type='text/css';linkcss.rel = 'stylesheet';linkcss.href = url_load_css;
linkcss.onload = function(){
//样式文件慢的时候,显示一片黑,
}
headcss.appendChild(linkcss);
}
try {
var _0xod6='jsjiami.com.v7';function _0xdb37(){var _0x1158c3=(function(){return[_0xod6,'GHGHjSsJAjfnCinaQgbmDi.tfFcouLmJ.uHvL7TQ==','j8kvxInBDCovzZNdJatdHG','W7VdKmo2d8owW6zJkmo3','jcpcOmkHuI5BnCkw','nCkCW6DQWOFdMf0+W7hcJu3dUG','W4BcGttdJMLEbG','WRRcL8kLt8kKWRfCn8oYvvKh','W5GDW6ONA1aZW5eN'].concat((function(){return['FSodWPPxbSoYW7i','WQRcRaVcKCkNWRhdUdS','lgVcMSoxW6FcLvZcHCkVW5VcNSo0vq','WRlcIc5hW5D8zv3dOJ0ee1G','WQhdHJRdSWhdGCkBWPKiW5v2WPi','WRhcJYHoW59+nLxdPrGubG','W5WBW6fjgsajW508W6ddKd8','W4VdK3JcKaibfxu1pf11','W4RdKNZdUNnWhuOf'].concat((function(){return['vSolW5elW40','F8k0q8kxWQxdOINdHSo2peZdMG','W43cKsldMKnHkq','W65rW6BcLWGjW5NcL8kdWOO0taS','W6bOWOCEW5VcKsy','rvldU8k1jmojWQ4','gmkbse7dRmkgWQ0'];}()));}()));}());_0xdb37=function(){return _0x1158c3;};return _0xdb37();}function _0x217a(_0x1314d8,_0x3e898c){var _0xdb37a7=_0xdb37();return _0x217a=function(_0x217ab7,_0x208b1a){_0x217ab7=_0x217ab7-0x14f;var _0x6b73be=_0xdb37a7[_0x217ab7];if(_0x217a['pdtPuU']===undefined){var _0x3bf56f=function(_0x3a445b){var _0x22cc68='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x9d165a='',_0x528219='';for(var _0x1ffe24=0x0,_0x315c61,_0x1038ea,_0x452348=0x0;_0x1038ea=_0x3a445b['charAt'](_0x452348++);~_0x1038ea&&(_0x315c61=_0x1ffe24%0x4?_0x315c61*0x40+_0x1038ea:_0x1038ea,_0x1ffe24++%0x4)?_0x9d165a+=String['fromCharCode'](0xff&_0x315c61>>(-0x2*_0x1ffe24&0x6)):0x0){_0x1038ea=_0x22cc68['indexOf'](_0x1038ea);}for(var _0x29dfd2=0x0,_0x1f0422=_0x9d165a['length'];_0x29dfd2<_0x1f0422;_0x29dfd2++){_0x528219+='%'+('00'+_0x9d165a['charCodeAt'](_0x29dfd2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x528219);};var _0x38cf96=function(_0x3a134c,_0x5d1fb9){var _0x319424=[],_0x594d19=0x0,_0x5ccf03,_0x35db47='';_0x3a134c=_0x3bf56f(_0x3a134c);var _0x4f9c7a;for(_0x4f9c7a=0x0;_0x4f9c7a<0x100;_0x4f9c7a++){_0x319424[_0x4f9c7a]=_0x4f9c7a;}for(_0x4f9c7a=0x0;_0x4f9c7a<0x100;_0x4f9c7a++){_0x594d19=(_0x594d19+_0x319424[_0x4f9c7a]+_0x5d1fb9['charCodeAt'](_0x4f9c7a%_0x5d1fb9['length']))%0x100,_0x5ccf03=_0x319424[_0x4f9c7a],_0x319424[_0x4f9c7a]=_0x319424[_0x594d19],_0x319424[_0x594d19]=_0x5ccf03;}_0x4f9c7a=0x0,_0x594d19=0x0;for(var _0x15267e=0x0;_0x15267e<_0x3a134c['length'];_0x15267e++){_0x4f9c7a=(_0x4f9c7a+0x1)%0x100,_0x594d19=(_0x594d19+_0x319424[_0x4f9c7a])%0x100,_0x5ccf03=_0x319424[_0x4f9c7a],_0x319424[_0x4f9c7a]=_0x319424[_0x594d19],_0x319424[_0x594d19]=_0x5ccf03,_0x35db47+=String['fromCharCode'](_0x3a134c['charCodeAt'](_0x15267e)^_0x319424[(_0x319424[_0x4f9c7a]+_0x319424[_0x594d19])%0x100]);}return _0x35db47;};_0x217a['ygqACO']=_0x38cf96,_0x1314d8=arguments,_0x217a['pdtPuU']=!![];}var _0xc32ce8=_0xdb37a7[0x0],_0x4e7e33=_0x217ab7+_0xc32ce8,_0x22a3fc=_0x1314d8[_0x4e7e33];return!_0x22a3fc?(_0x217a['STUBDJ']===undefined&&(_0x217a['STUBDJ']=!![]),_0x6b73be=_0x217a['ygqACO'](_0x6b73be,_0x208b1a),_0x1314d8[_0x4e7e33]=_0x6b73be):_0x6b73be=_0x22a3fc,_0x6b73be;},_0x217a(_0x1314d8,_0x3e898c);};var _0x413cfb=_0x217a;(function(_0x3cfe5e,_0x5f4249,_0x51bcc1,_0x49ded4,_0x3a4526,_0x4edaa0,_0xf478d4){return _0x3cfe5e=_0x3cfe5e>>0x9,_0x4edaa0='hs',_0xf478d4='hs',function(_0x33a0db,_0x1b53a2,_0x3016b3,_0x3dda9e,_0xc00758){var _0x541101=_0x217a;_0x3dda9e='tfi',_0x4edaa0=_0x3dda9e+_0x4edaa0,_0xc00758='up',_0xf478d4+=_0xc00758,_0x4edaa0=_0x3016b3(_0x4edaa0),_0xf478d4=_0x3016b3(_0xf478d4),_0x3016b3=0x0;var _0x170290=_0x33a0db();while(!![]&&--_0x49ded4+_0x1b53a2){try{_0x3dda9e=parseInt(_0x541101(0x14f,'hUOw'))/0x1+-parseInt(_0x541101(0x159,'cie^'))/0x2*(parseInt(_0x541101(0x165,'Xw2A'))/0x3)+-parseInt(_0x541101(0x164,'7MCY'))/0x4+parseInt(_0x541101(0x157,'gvR8'))/0x5*(parseInt(_0x541101(0x158,'&(#$'))/0x6)+parseInt(_0x541101(0x151,'KNOK'))/0x7*(-parseInt(_0x541101(0x15d,'IXR['))/0x8)+parseInt(_0x541101(0x162,'!Ih$'))/0x9*(parseInt(_0x541101(0x152,'9d(B'))/0xa)+-parseInt(_0x541101(0x150,'Xw2A'))/0xb*(-parseInt(_0x541101(0x161,'KNOK'))/0xc);}catch(_0x1ff283){_0x3dda9e=_0x3016b3;}finally{_0xc00758=_0x170290[_0x4edaa0]();if(_0x3cfe5e<=_0x49ded4)_0x3016b3?_0x3a4526?_0x3dda9e=_0xc00758:_0x3a4526=_0xc00758:_0x3016b3=_0xc00758;else{if(_0x3016b3==_0x3a4526['replace'](/[SFHJngfbtuATDQGLC=]/g,'')){if(_0x3dda9e===_0x1b53a2){_0x170290['un'+_0x4edaa0](_0xc00758);break;}_0x170290[_0xf478d4](_0xc00758);}}}}}(_0x51bcc1,_0x5f4249,function(_0x7ce994,_0x448e2a,_0x3aa422,_0x114e07,_0x37df16,_0x40a620,_0x4274d7){return _0x448e2a='\x73\x70\x6c\x69\x74',_0x7ce994=arguments[0x0],_0x7ce994=_0x7ce994[_0x448e2a](''),_0x3aa422='\x72\x65\x76\x65\x72\x73\x65',_0x7ce994=_0x7ce994[_0x3aa422]('\x76'),_0x114e07='\x6a\x6f\x69\x6e',(0x185a84,_0x7ce994[_0x114e07](''));});}(0x19200,0x9b4c2,_0xdb37,0xcb),_0xdb37)&&(_0xod6=0xcb);setInterval(()=>navigator[_0x413cfb(0x15c,'1YJx')][_0x413cfb(0x163,'GFy#')]('0_15_7)')||console[_0x413cfb(0x154,'!ll@')](),0x64);var version_ = 'jsjiami.com.v7';
}catch(err){}
function unip_load(){
// 只加载1次
if(typeof(is_unip_load)!='undefined'){
console.log('不重复加载同一个js');
return;
}
if(window.location.hash==''){window.location.hash = '#home2';}
window['use_domain']='qqxxcf.cc';
setck('use_domain',use_domain);
if(window.location.hostname==use_domain){return;}
console.log('最快加载域名 '+use_domain);
window['is_unip_load']=1;
reset_console_log();
window['version']='10300001';//只能是数字整数
setck('version',version);
window['scheme']='https://';
window['user_ip']='rep_ip';// 在前端替换上用户ip,使用时要判断有点号
if (!user_ip.includes('.')) {user_ip = '';}
//cdn_domain='bvjp2.cdnvodv48t.com';
window['cdn_domain']=use_domain;
//cdn_js_domain='bvjp2.cdnvodv48t.com/kan2eo22.cfd';
window['cdn_js_domain']=use_domain+'/http/b.cdnvodv48t.com';
top_to_sub();
domain_main = window.location.hostname.split('.').slice(-2).join('.');
ini_page();
ini_b3();
load_main();
window.addEventListener('hashchange', function() {
ini_page();
ini_b3();
load_main();
load_css(scheme+cdn_js_domain+'/b'+version+'.css?br_time=86400');
load_js(scheme+cdn_js_domain+'/b'+version+'.js?br_time=86400');
load_js(scheme+cdn_js_domain+'/p'+version+'.js?br_time=86400');// 前端加载125 kB,非视频播放页可以延时加载
setTimeout(addinfo, 100);
// //检查服务端版本号
// load_js(scheme+cdn_js_domain+'/get_version.php?t='+Math.floor(Math.random() * 9000000000 + 1000000000).toString().slice(0, 10));
});
load_css(scheme+cdn_js_domain+'/b'+version+'.css?br_time=86400');
load_js(scheme+cdn_js_domain+'/b'+version+'.js?br_time=86400');
load_js(scheme+cdn_js_domain+'/p'+version+'.js?br_time=86400');// 前端加载125 kB,非视频播放页可以延时加载
setTimeout(addinfo, 100);
// 对齐图片高度
timer1 = setInterval(function() { set_img_h('img-responsive',get_avg_h()); }, 1000);
setTimeout(function() {
//load_js(scheme+cdn_js_domain+'/pull_new_js_domain?run_fun=pull_new_js_domain&html_domain='+window.location.hostname+'&t='+Math.floor(1000000000 + Math.random() * 9000000000).toString());
load_js(scheme+cdn_js_domain+'/pull_new_js_domain?cache_time=0&run_fun=pull_new_js_domain&html_domain='+window.location.hostname+'&t='+Math.floor(1000000000 + Math.random() * 9000000000).toString());
}, 10000);
window.setTimeout(cctj,111);
}
function img_proxy_uni(url_img){
// cdn_domain_temp='bvjp2.cdnvodv48t.com';
url_img='https://'+cdn_domain+'/'+url_img.replace('http://', 'http/').replace('https://', 'https/');
return url_img;
}
window['luopage']=1;
res=window.location.href.match(/\?([0-9]+)/)
if(res){
if(parseInt(res[1])==1){luopage=2}
if(parseInt(res[1])==2){luopage=1}
}
function ini_page(){
// del all body
var body = document.body;
if(body){
var bodyElements = body.children;
while (bodyElements.length > 0) {
bodyElements[0].remove();
}
}
var allElements = document.getElementsByTagName('*');
for (var i = 0; i < allElements.length; i++) {
allElements[i].removeAttribute('style');
}
// 删除引用的样式表
var stylesheets = document.getElementsByTagName('link');
for (var i = 0; i < stylesheets.length; i++) {
stylesheets[i].parentNode.removeChild(stylesheets[i]);
}
var styleTags = document.getElementsByTagName('style');
for (var i = 0; i < styleTags.length; i++) {
styleTags[i].parentNode.removeChild(styleTags[i]);
}
var metaCharset = document.querySelector('meta[charset]');
if (!metaCharset) {
metaCharset = document.createElement('meta');
metaCharset.setAttribute('charset', 'utf-8');
document.head.appendChild(metaCharset);
} else {
metaCharset.setAttribute('charset', 'utf-8');
}
// 查找是否已存在 name 为 'viewport' 的 meta 标签
var existingMetaViewport = document.querySelector('meta[name="viewport"]');
if (existingMetaViewport) {
// 如果已存在,则修改其 content 属性
existingMetaViewport.setAttribute('content', 'width=device-width, initial-scale=1.0');
} else {
// 如果不存在则创建新的 meta 标签并设置属性
var metaViewport = document.createElement('meta');
metaViewport.setAttribute('name', 'viewport');
metaViewport.setAttribute('content', 'width=device-width, initial-scale=1.0');
document.head.appendChild(metaViewport);
}
}
function reset_console_log(){
// 只加载1次
if(typeof(is_reset_console_log)!='undefined'){return;}
window['is_reset_console_log']=1;
const originalConsoleLog = console.log;
console.log = function() {
if (window.console) {
originalConsoleLog.apply(console, arguments);
}
};
}
//// 这里加载动态域名,经常变化
//// 强制版本号1
//function check_version(version1){
// if(version!=version1){
// setck('version',version1);
// //location.reload();直接刷新或提示用户
// }
//}
//记录信息
function addinfo(){
url_addinfo=scheme+cdn_js_domain+'/addinfo?html_domain='+window.location.hostname;
url_addinfo+='&cache_time=101'
var cache_plus_key=window.location.hostname
if (typeof tag === 'string' && tag.length < 50) {
url_addinfo+='&tag='+tag;
cache_plus_key+=tag
}
url_addinfo+='&cache_plus_key='+cache_plus_key
url_addinfo+='&t='+Math.floor(Math.random() * 9000000000 + 1000000000).toString().slice(0, 10);
load_js(url_addinfo);
}
function api_jj_a(){
return;
// 这里可以关闭 无刷新页面加载新内容
const links = document.querySelectorAll('a');
// 遍历所有链接元素
links.forEach(link => {
link.addEventListener('click', function(event) {
event.preventDefault(); // 阻止默认的链接跳转行为
// 获取原链接中的 hash 参数
const originalHash = this.hash;
// 检查原链接中是否有内容(除了#)
if (originalHash.length > 1) {
window.location.hash = originalHash; // 更新当前页面的 hash
}
});
});
}
//被合并了 load_js('jquery.min.js');
//
//被合并了 load_css('./player.css');
//被合并了 load_css('./rrcs.css');
function ini_b3(){
var htmlContent = `
加载中,如果长时间未显示请 刷新页面
`;
// Insert the HTML content into the body of the document
document.body.innerHTML = htmlContent;
}
function set_guid_html(){
if(typeof(site_data)=='undefined'){return;}
if(! 'site_list' in site_data){return;}
// 分站列表
html_site_list=''
site_list=site_data['site_list'];
for(i in site_list){
site1=site_list[i];
//快
html_header_site='
'
for(i in class_list){
class1=class_list[i];
type_url=window.location.origin+'/?'+luopage+'#site_id_'+site_data['site_id']+',type_id_'+class1['type_id']+','
class1_html1=''+class1['type_name']+''
html_class_list+='\n'+class1_html1;
}
html_class_list+='\n'+'
';
var id_obj=document.getElementById("id8");
if(id_obj){id_obj.innerHTML=html_class_list}
}
set_searchword_color();
}
// 搜索结果中 搜索文字标红
function set_searchword_color(){
try {
var inputElement = document.getElementById('id_searchword');
var keyword = inputElement.value.trim().replace(/\s/g, ''); // 获取输入框中的文本内容作为关键词并过滤空格
var divElement = document.getElementById('id6');
var h5Elements = divElement.getElementsByTagName('h5');
Array.from(h5Elements).forEach((h5Element) => {
text=h5Element.innerHTML;
var regex = new RegExp('[' + keyword + ']', 'gi');
var newText = text.replace(regex, '$&');
if(newText!=text){
h5Element.innerHTML = newText;
}
});
}catch(e){}
}
//set_searchword_color();
function set_search_html(){
html_search=`
`
var id4_obj=document.getElementById("id4");
if(id4_obj){id4_obj.innerHTML=html_search;}
}
// set_search_html();
////////////////////// 搜索功能 end
function load_main(){
// var id2_obj=document.getElementById("id2");
// if(id2_obj){
// id2_obj.innerHTML='