lf_live_min.js 37 KB

1
  1. const _0x5bf905=_0x1538;(function(_0x3ade05,_0x439ad4){const _0x104653=_0x1538,_0x20f0a5=_0x3ade05();while(!![]){try{const _0x2cb555=parseInt(_0x104653(0x118))/0x1*(parseInt(_0x104653(0xb3))/0x2)+parseInt(_0x104653(0xbd))/0x3*(-parseInt(_0x104653(0xba))/0x4)+parseInt(_0x104653(0xda))/0x5+-parseInt(_0x104653(0x9a))/0x6+-parseInt(_0x104653(0xcd))/0x7*(parseInt(_0x104653(0xea))/0x8)+-parseInt(_0x104653(0x98))/0x9+parseInt(_0x104653(0xae))/0xa;if(_0x2cb555===_0x439ad4)break;else _0x20f0a5['push'](_0x20f0a5['shift']());}catch(_0x5b5636){_0x20f0a5['push'](_0x20f0a5['shift']());}}}(_0x731b,0x93958));import _0x588c83 from'assets://js/lib/cheerio.min.js';import'assets://js/lib/crypto-js.js';const config={'epgtw_flag':![],'fetch_interval':0x1388,'iptv_flag':!![],'xjj_flag':![],'search_flag':!![],'cacheSubDB':{},'cacheDetailDB':{},'groupDB':[],'channelDB':{},'classes':[],'player':{},'filter':{},'pics':{},'defaultPicUrl':_0x5bf905(0x110),'headers':{'user-agent':'okhttp/3.12.10'},'headers2':{'user-agent':_0x5bf905(0x101)}};function _0x731b(){const _0x13dbc4=['cacheDetailDB','charAt','push','Mozilla/5.0\x20(iPhone;\x20CPU\x20iPhone\x20OS\x209_2\x20like\x20Mac\x20OS\x20X)\x20AppleWebKit/601.1\x20(KHTML,\x20like\x20Gecko)\x20CriOS/47.0.2526.107\x20Mobile/13C75\x20Safari/601.1.46','lastIndexOf','indexOf','480p','headers2','toArray','未分组','\x5c[localdb\x5c]','streamingData','epgtw_flag','exec','section\x20tbody\x20tr','each','$$$https://epg.pw','www.histar.tv','https://img2.baidu.com/it/u=651971012,3800349450&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500','formats','links','vod_play_from','pop','\x5c[epwdr\x5c]','epg.pw','1080p','22nAGixW','https://www.y2mate.com/mates/convertV2/index','download','xjj_flag','XJJ','name','?quality=','gname','IPTV','360p','parse','length','filter','csrfmiddlewaretoke=pUq0NQiiWg7EpSuU0w1Fif4q8bo0RnPe&channel_search=','###',';m_js_1=string;','format_note','defaultPicUrl','&search_type=s','&k_page=home&hl=en&q_auto=0','/parse','join','qualityLabel','订阅名','[epwdr]','10549485mLIFjE','token=123','3156930GZBCaE','sname','application/x-www-form-urlencoded','includes','resolution','$$$[localdb]','#EXTM3U','$c_end','val','filters','$$$','k_query=','iptv807','&p=','groupDB','&k=','token=','href','https://deturl.com/?url=','youtube.com','27606580totrVe','log','http://m.iptv807.com/?act=home','当前的TVBox壳子不支持异步!建议使用蜂蜜大佬的影视最新版!','piped.video','47266STJzXy','stringify','fromCharCode','slice','section:eq(2)\x20a','线路1','https://10downloader.com/download?v=','12lSPnFG','.downloadBtn','class','471999vVGwzb','attr','小姐姐','charCodeAt','select\x20option','&lang=en&type=video','concat','body\x20script:eq(1)','td:eq(4)\x20a','match','.table-container\x20tbody\x20tr','#genre#','vod_play_url','load','classes','split','147PTlGbF','type_id','720p','https://getyoutubehd.com/api/info?v=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Web_EPG','iptv_flag','POST','replace','map','IPTV_','url','$$$[epwdr]','2982960gyKluv','td\x20a','pics','fetch_interval','[localdb]','iptv.com','lastIndex','$$$线路','https://www.cunshao.com/666666/api/web.php','vpf','http://127.0.0.1:9978/file/','surl','channelDB','cacheSubDB','type_name','getyoutubehd.com','419944IIeRpl','hlsManifestUrl','text','var\x20ytInitialPlayerResponse\x20=\x20','.downloadsTable:eq(0)\x20tbody\x20tr','forEach','okhttp/3.12.10','vpu','m_hken=gghken;m_hkens=gghkens;m_token=ggtoken;','td:eq(0)','index','http://m.iptv807.com/','dlink','search_flag','content','startsWith','headers','mp4','https://epg.pw/search/channel/?lang=zh-hant','$$$$$$'];_0x731b=function(){return _0x13dbc4;};return _0x731b();}function init(_0x3e726a){const _0x3a2a18=_0x5bf905;console[_0x3a2a18(0xaf)]('路飞开始调试了!!!'),parseSub(_0x3e726a);try{config['search_flag']&&async_local_db();}catch(_0x97d44e){config['search_flag']=!![],console[_0x3a2a18(0xaf)](_0x3a2a18(0xb1));}}function home(_0xb0e3e){const _0x2ccbee=_0x5bf905;let _0x592ba7={};return _0xb0e3e&&(_0x592ba7[_0x2ccbee(0xa3)]=config[_0x2ccbee(0x8b)]),_0x592ba7[_0x2ccbee(0xbc)]=config[_0x2ccbee(0xcb)],JSON[_0x2ccbee(0xb4)](_0x592ba7);}function homeVod(){const _0x54c633=_0x5bf905;let _0x4ea5fa={},_0x49fe91=[];if(config['iptv_flag']){let _0x2a72db=req(_0x54c633(0xb0),{'headers':config[_0x54c633(0x105)]})[_0x54c633(0xf8)],_0x2d3e48=_0x588c83[_0x54c633(0xca)](_0x2a72db),_0x282e95=_0x2d3e48('ul[data-role=\x22listview\x22]\x20li');_0x282e95[_0x54c633(0x10d)](function(_0x2eef2f){const _0x3858d2=_0x54c633;_0x2d3e48('a',this)[_0x3858d2(0xec)]()!=''&&_0x49fe91[_0x3858d2(0x100)]({'vod_id':_0x3858d2(0xd7)+_0x2d3e48('a',this)[_0x3858d2(0xec)]()+_0x3858d2(0xa4)+_0x2d3e48('a',this)[_0x3858d2(0xbe)](_0x3858d2(0xab)),'vod_name':_0x2d3e48('a',this)[_0x3858d2(0xec)](),'vod_pic':config[_0x3858d2(0x90)],'vod_remarks':''});}),config[_0x54c633(0x82)]&&_0x49fe91['unshift']({'vod_id':_0x54c633(0x83)+_0x54c633(0xa4)+_0x54c633(0xe2),'vod_name':_0x54c633(0xbf),'vod_pic':config[_0x54c633(0x90)],'vod_remarks':''}),_0x4ea5fa={'list':_0x49fe91};}return JSON[_0x54c633(0xb4)](_0x4ea5fa);}function category(_0x569c44,_0x49e44f,_0x5f109c,_0x20195a){const _0x5de76f=_0x5bf905;let _0x3b3354={},_0x168cec=[],_0xd0d814='',_0x2e4754=[],_0x26631e=[];_0x49e44f=parseInt(_0x49e44f);if(_0x49e44f>=0x2)return JSON[_0x5de76f(0xb4)]({});if(_0x569c44==_0x5de76f(0x10f)){}else{if(_0x569c44=='myIPTV'){}else{let _0x237178=cache_sub_db(_0x569c44);if(_0x237178[_0x5de76f(0x103)](_0x5de76f(0xa0))==0x0){let _0xbebc72=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x26631e=_0xbebc72['exec'](_0x237178))!==null){_0x26631e[_0x5de76f(0xf4)]===_0xbebc72['lastIndex']&&_0xbebc72[_0x5de76f(0xe0)]++;let _0x577c57='未分组';_0x577c57=(_0x26631e[0x1]['match'](/group-title="(.*?)"/)||[null,_0x577c57])[0x1],_0x2e4754[_0x5de76f(0x103)](_0x577c57)==-0x1&&(_0x2e4754[_0x5de76f(0x100)](_0x577c57),_0x168cec['push']({'vod_id':_0x577c57+_0x5de76f(0xa4)+_0x569c44,'vod_name':_0x577c57[_0x5de76f(0xd5)](/\/parse$/,''),'vod_pic':config['pics'][_0x569c44],'vod_remarks':''}));}}else{let _0x6ba0be=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x26631e=_0x6ba0be[_0x5de76f(0x10b)](_0x237178))!==null){_0x26631e[_0x5de76f(0xf4)]===_0x6ba0be['lastIndex']&&_0x6ba0be[_0x5de76f(0xe0)]++;if([_0x5de76f(0xc8),'##','头#','$c_end'][_0x5de76f(0x9d)](_0x26631e[0x3])){let _0xbf9ae7=_0x26631e[0x2];_0x2e4754[_0x5de76f(0x103)](_0xbf9ae7)==-0x1&&(_0x2e4754[_0x5de76f(0x100)](_0xbf9ae7),_0x168cec[_0x5de76f(0x100)]({'vod_id':_0xbf9ae7+_0x5de76f(0xa4)+_0x569c44,'vod_name':_0xbf9ae7['replace'](/\/parse$/,''),'vod_pic':config['pics'][_0x569c44],'vod_remarks':''}));}}}}}return _0x3b3354={'list':_0x168cec,'page':_0x49e44f,'pagecount':0x1,'limit':0x64,'total':0x3e7},JSON[_0x5de76f(0xb4)](_0x3b3354);}function search(_0x150015,_0x2eac0f){const _0x489d8c=_0x5bf905;let _0x409375={},_0x10db4d=[];config[_0x489d8c(0xf7)]&&sync_local_db();if(config['epgtw_flag']){let _0x12300b=req('https://epg.pw/search/channel/?lang=zh-hant',{'headers':{'Content-Type':'application/x-www-form-urlencoded','user-agent':_0x489d8c(0xf0)},'method':'POST','body':_0x489d8c(0x8c)+_0x150015+'&search_type=c'})[_0x489d8c(0xf8)],_0xba6de3=_0x588c83[_0x489d8c(0xca)](_0x12300b),_0x299027=_0xba6de3(_0x489d8c(0xb7));if(_0x299027[_0x489d8c(0x8a)]===0x0){let _0x4addae=req(_0x489d8c(0xfc),{'headers':{'Content-Type':'application/x-www-form-urlencoded','user-agent':_0x489d8c(0xf0)},'method':'POST','body':_0x489d8c(0x8c)+_0x150015+_0x489d8c(0x91)})[_0x489d8c(0xf8)],_0x4c9370=_0x588c83[_0x489d8c(0xca)](_0x4addae),_0x4c7696=_0x4c9370(_0x489d8c(0xc7)),_0xc0a5d4={};_0x4c7696[_0x489d8c(0x10d)](function(_0xc20539){const _0x339f0c=_0x489d8c;let _0x448aae=_0x4c9370('td',this)['eq'](0x0)['text']()[_0x339f0c(0xd5)](/@@\d+$/,'')[_0x339f0c(0xd5)]('台','')[_0x339f0c(0xd5)]('衛視','卫视');_0xc0a5d4[_0x448aae]?_0xc0a5d4[_0x448aae][_0x339f0c(0x100)](_0x4c9370('td:eq(4)\x20a',this)['attr'](_0x339f0c(0xab))):_0xc0a5d4[_0x448aae]=[_0x4c9370(_0x339f0c(0xc5),this)[_0x339f0c(0xbe)](_0x339f0c(0xab))];});for(let _0x171693 in _0xc0a5d4){_0x10db4d[_0x489d8c(0x100)]({'vod_id':_0x171693+_0x489d8c(0xd9)+_0xc0a5d4[_0x171693][_0x489d8c(0x94)](_0x489d8c(0x8d)),'vod_name':_0x171693,'vod_pic':config[_0x489d8c(0x90)],'vod_remarks':_0x489d8c(0xd2)});}}else _0x299027['each'](function(_0x1b6f06){const _0x22c51e=_0x489d8c;_0x10db4d[_0x22c51e(0x100)]({'vod_id':_0xba6de3(this,this)['text']()+_0x22c51e(0x10e)+_0xba6de3(this,this)[_0x22c51e(0xbe)](_0x22c51e(0xab)),'vod_name':_0xba6de3(this,this)[_0x22c51e(0xec)](),'vod_pic':config['defaultPicUrl'],'vod_remarks':'Web_EPG'});});}return _0x10db4d=_0x10db4d[_0x489d8c(0xc3)](local_db_gsearch(_0x150015)),_0x10db4d=_0x10db4d['concat'](local_db_csearch(_0x150015)),_0x409375={'list':_0x10db4d},JSON[_0x489d8c(0xb4)](_0x409375);}function detail(_0x2aed5c){const _0x5248c9=_0x5bf905;let _0x5b1300={},_0x4a2fc1={},_0x66bd2f=[],_0x13404d=_0x2aed5c[_0x5248c9(0xcc)](_0x5248c9(0xa4))[0x1];_0x2aed5c=_0x2aed5c[_0x5248c9(0xcc)]('$$$')[0x0];_0x2aed5c['startsWith'](_0x5248c9(0x87))&&(_0x13404d='http://m.iptv807.com/'+_0x13404d);let _0x3979d7={'vod_id':_0x2aed5c,'vod_name':_0x2aed5c['replace'](/\/parse$/,''),'vod_pic':config[_0x5248c9(0x90)],'type_name':'','vod_year':'','vod_area':'','vod_remarks':'','vod_actor':'','vod_director':'','vod_content':'','vod_play_from':'','vod_play_url':''};if(_0x2aed5c[_0x5248c9(0xf9)]('XJJ')){let _0x4b6bf0=_0x5248c9(0xb8),_0x28f37a='';for(let _0x14c8a6=0x0;_0x14c8a6<0x63;_0x14c8a6++){_0x28f37a=_0x28f37a+_0x5248c9(0xbf)+_0x14c8a6+'$'+_0x13404d+'?t='+_0x14c8a6+'#';}_0x3979d7['vod_play_from']=_0x4b6bf0,_0x3979d7[_0x5248c9(0xc9)]=_0x28f37a[_0x5248c9(0xd5)](/#$/,'');}else{if(_0x13404d[_0x5248c9(0xc6)](_0x5248c9(0x115))&&config[_0x5248c9(0x10a)]){let _0x95e6f3='',_0x666580='';_0x13404d=_0x13404d['replace'](_0x5248c9(0x97),''),_0x13404d=_0x13404d[_0x5248c9(0xcc)](_0x5248c9(0x8d));for(let _0x4e6598=0x0;_0x4e6598<_0x13404d[_0x5248c9(0x8a)];_0x4e6598++){_0x95e6f3=_0x95e6f3+_0x5248c9(0xe1)+_0x4e6598,_0x666580=_0x666580+_0x5248c9(0xa4)+_0x2aed5c+'$'+_0x13404d[_0x4e6598];}_0x3979d7[_0x5248c9(0x113)]=_0x95e6f3[_0x5248c9(0xd5)](/^\$\$\$/,''),_0x3979d7['vod_play_url']=_0x666580[_0x5248c9(0xd5)](/^\$\$\$/,'');}else{if(_0x13404d['match'](_0x5248c9(0x116))&&config['epgtw_flag']){let _0x4f6df1='',_0x200bc5='',_0x7d9999=0x0,_0x5c3aa7=req(_0x13404d,{'headers':config['headers']})['content'],_0x46c399=_0x588c83[_0x5248c9(0xca)](_0x5c3aa7),_0x3eb13f=_0x46c399(_0x5248c9(0x10c));_0x3eb13f['each'](function(_0x3142de){const _0x4c6de1=_0x5248c9;_0x4f6df1=_0x4f6df1+_0x4c6de1(0xe1)+_0x7d9999,_0x200bc5=_0x200bc5+_0x4c6de1(0xa4)+_0x2aed5c+'$'+_0x46c399(_0x4c6de1(0xdb),this)['eq'](0x0)[_0x4c6de1(0xbe)](_0x4c6de1(0xab)),_0x7d9999++;}),_0x3979d7[_0x5248c9(0x113)]=_0x4f6df1[_0x5248c9(0xd5)](/^\$\$\$/,''),_0x3979d7[_0x5248c9(0xc9)]=_0x200bc5[_0x5248c9(0xd5)](/^\$\$\$/,'');}else{if(config[_0x5248c9(0xfe)][_0x2aed5c])_0x3979d7[_0x5248c9(0x113)]=config['cacheDetailDB'][_0x2aed5c][_0x5248c9(0xe3)],_0x3979d7['vod_play_url']=config[_0x5248c9(0xfe)][_0x2aed5c][_0x5248c9(0xf1)];else{if(_0x13404d[_0x5248c9(0xc6)](_0x5248c9(0x108))){let _0x1840dd='',_0x2a958f='';_0x13404d=_0x13404d['replace'](_0x5248c9(0xde),''),_0x13404d=_0x13404d[_0x5248c9(0xcc)](_0x5248c9(0x8d));for(let _0x259038=0x0;_0x259038<_0x13404d['length'];_0x259038++){_0x1840dd=_0x1840dd+_0x5248c9(0xe1)+_0x259038,_0x2a958f=_0x2a958f+'$$$'+_0x2aed5c+'$'+_0x13404d[_0x259038];}_0x3979d7['vod_play_from']=_0x1840dd[_0x5248c9(0xd5)](/^\$\$\$/,''),_0x3979d7[_0x5248c9(0xc9)]=_0x2a958f[_0x5248c9(0xd5)](/^\$\$\$/,''),cache_detail_db(_0x2aed5c,_0x3979d7[_0x5248c9(0x113)],_0x3979d7['vod_play_url']);}else{if(_0x13404d=='www.histar.tv'){}else{if(_0x2aed5c['startsWith']('IPTV')){let _0x204bb5='',_0x40706e='',_0x5b8b36=cache_sub_db(_0x13404d),_0x11a361=_0x588c83[_0x5248c9(0xca)](_0x5b8b36),_0x4d6451=_0x11a361('ul[data-role=\x22listview\x22]\x20li');for(let _0x810aa=0x1;_0x810aa<0xb;_0x810aa++){_0x204bb5=_0x204bb5+_0x5248c9(0xa4)+'线路'+_0x810aa,_0x4d6451['each'](function(_0x4920a1){const _0x51a10e=_0x5248c9;_0x11a361('a',this)['text']()!=''&&(_0x40706e=_0x40706e+'#'+_0x11a361('a',this)['text']()+'$'+_0x51a10e(0xf5)+_0x11a361('a',this)[_0x51a10e(0xbe)](_0x51a10e(0xab))+'&p='+(_0x810aa-0x1));}),_0x40706e=_0x40706e[_0x5248c9(0xd5)](/^#/,''),_0x40706e=_0x40706e+_0x5248c9(0xa4);}_0x3979d7[_0x5248c9(0x113)]=_0x204bb5['replace'](/^\$\$\$/,''),_0x3979d7['vod_play_url']=_0x40706e[_0x5248c9(0xd5)](/\$\$\$#/g,_0x5248c9(0xfd)),cache_detail_db(_0x2aed5c,_0x3979d7['vod_play_from'],_0x3979d7['vod_play_url']);}else{let _0xd3c038=cache_sub_db(_0x13404d);if(_0xd3c038[_0x5248c9(0x103)](_0x5248c9(0xa0))==0x0){let _0x571e25=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x66bd2f=_0x571e25[_0x5248c9(0x10b)](_0xd3c038))!==null){_0x66bd2f[_0x5248c9(0xf4)]===_0x571e25[_0x5248c9(0xe0)]&&_0x571e25['lastIndex']++;let _0x48a2ae=_0x5248c9(0x107);_0x48a2ae=(_0x66bd2f[0x1][_0x5248c9(0xc6)](/group-title="(.*?)"/)||[null,_0x48a2ae])[0x1];if(_0x48a2ae==_0x2aed5c){_0x2aed5c['match'](/\/parse$/)&&(_0x66bd2f[0x3]=_0x66bd2f[0x3][_0x5248c9(0xd5)](/\/$/,''),!_0x66bd2f[0x3]['match'](/\/parse$/)&&(_0x66bd2f[0x3]=_0x66bd2f[0x3]+_0x5248c9(0x93)));if(_0x66bd2f[0x3][_0x5248c9(0x103)](_0x5248c9(0xad))!=-0x1||_0x66bd2f[0x3][_0x5248c9(0x103)](_0x5248c9(0xb2))!=-0x1){_0x66bd2f[0x3]=_0x66bd2f[0x3][_0x5248c9(0xd5)](/\/parse$/,'');!_0x4a2fc1[_0x66bd2f[0x2]]&&(_0x4a2fc1[_0x66bd2f[0x2]]=[]);let _0x4df370=['1080p','720p',_0x5248c9(0x104),_0x5248c9(0x88)];for(let _0x4ede93=0x1;_0x4ede93<=0x4;_0x4ede93++){_0x4a2fc1[_0x66bd2f[0x2]]['push']({'name':'线路'+_0x4ede93,'url':_0x66bd2f[0x3]+'/'+_0x4df370[_0x4ede93-0x1]});}}else{if(_0x4a2fc1[_0x66bd2f[0x2]]){let _0x5bbdf8='线路'+(_0x4a2fc1[_0x66bd2f[0x2]]['length']+0x1);_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x100)]({'name':_0x5bbdf8,'url':_0x66bd2f[0x3]});}else{_0x4a2fc1[_0x66bd2f[0x2]]=[];let _0x44a4f3=_0x5248c9(0xb8);_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x100)]({'name':_0x44a4f3,'url':_0x66bd2f[0x3]});}}}}}else{let _0x182a0f=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm,_0x2c7465=!![];while((_0x66bd2f=_0x182a0f[_0x5248c9(0x10b)](_0xd3c038))!==null){_0x66bd2f[_0x5248c9(0xf4)]===_0x182a0f[_0x5248c9(0xe0)]&&_0x182a0f['lastIndex']++;if([_0x5248c9(0xc8),'##','头#','$c_end'][_0x5248c9(0x9d)](_0x66bd2f[0x3])){if(_0x66bd2f[0x2]==_0x2aed5c){_0x2c7465=![];continue;}else{if(!_0x2c7465)break;}}if(_0x2c7465)continue;_0x2aed5c['match'](/\/parse$/)&&(_0x66bd2f[0x3]=_0x66bd2f[0x3][_0x5248c9(0xd5)](/\/$/,''),!_0x66bd2f[0x3]['match'](/\/parse$/)&&(_0x66bd2f[0x3]=_0x66bd2f[0x3]+'/parse'));if(_0x66bd2f[0x3]['indexOf'](_0x5248c9(0xad))!=-0x1||_0x66bd2f[0x3][_0x5248c9(0x103)](_0x5248c9(0xb2))!=-0x1){_0x66bd2f[0x3]=_0x66bd2f[0x3][_0x5248c9(0xd5)](/\/parse$/,'');!_0x4a2fc1[_0x66bd2f[0x2]]&&(_0x4a2fc1[_0x66bd2f[0x2]]=[]);let _0x11fedd=[_0x5248c9(0x117),_0x5248c9(0xcf),_0x5248c9(0x104),_0x5248c9(0x88)];for(let _0x32c0b8=0x1;_0x32c0b8<=0x4;_0x32c0b8++){_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x100)]({'name':'线路'+_0x32c0b8,'url':_0x66bd2f[0x3]+'/'+_0x11fedd[_0x32c0b8-0x1]});}}else{if(_0x4a2fc1[_0x66bd2f[0x2]]){let _0x429150='线路'+(_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x8a)]+0x1);_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x100)]({'name':_0x429150,'url':_0x66bd2f[0x3]});}else{_0x4a2fc1[_0x66bd2f[0x2]]=[];let _0x397f2d=_0x5248c9(0xb8);_0x4a2fc1[_0x66bd2f[0x2]][_0x5248c9(0x100)]({'name':_0x397f2d,'url':_0x66bd2f[0x3]});}}}}let _0x34d540=0x0;for(let _0x15d456 in _0x4a2fc1){_0x4a2fc1[_0x15d456][_0x5248c9(0x8a)]>_0x34d540&&(_0x34d540=_0x4a2fc1[_0x15d456][_0x5248c9(0x8a)]);}let _0x4b6b02={};for(let _0x154ef6=0x1;_0x154ef6<=_0x34d540;_0x154ef6++){_0x4b6b02['线路'+_0x154ef6]=[];for(let _0x4e632f in _0x4a2fc1){let _0x210d96='';_0x154ef6<=_0x4a2fc1[_0x4e632f][_0x5248c9(0x8a)]?_0x210d96=_0x4a2fc1[_0x4e632f][_0x154ef6-0x1][_0x5248c9(0xd8)]:_0x210d96=_0x4a2fc1[_0x4e632f][_0x4a2fc1[_0x4e632f][_0x5248c9(0x8a)]-0x1][_0x5248c9(0xd8)],_0x4b6b02['线路'+_0x154ef6][_0x5248c9(0x100)]({'name':_0x4e632f,'url':_0x210d96});}}let _0x4dcd8d=make_detail_videos(_0x4b6b02);_0x3979d7[_0x5248c9(0x113)]=_0x4dcd8d[_0x5248c9(0x113)],_0x3979d7[_0x5248c9(0xc9)]=_0x4dcd8d[_0x5248c9(0xc9)];}}}cache_detail_db(_0x2aed5c,_0x3979d7[_0x5248c9(0x113)],_0x3979d7['vod_play_url']);}}}}return _0x5b1300={'list':[_0x3979d7]},JSON[_0x5248c9(0xb4)](_0x5b1300);}function play(_0x45fe1a,_0x20028b,_0x770038){const _0x316242=_0x5bf905;let _0x2f38c3={},_0x29ea87='0',_0xf07001='0';if(_0x20028b[_0x316242(0x103)](_0x316242(0xa6))!=-0x1)_0x20028b=m_parse_url(_0x20028b);else{if(_0x20028b['match'](/youtube\.com/m))_0x20028b=direct_play_youtube3(_0x20028b);else{if(_0x20028b['match'](/piped\.video/m)){let _0x8762a9=_0x20028b['slice'](0x0,_0x20028b[_0x316242(0x102)]('/')),_0x10dabe=_0x20028b[_0x316242(0xb6)](_0x20028b[_0x316242(0x102)]('/')+0x1)[_0x316242(0xd5)]('p','');_0x20028b=_0x8762a9+_0x316242(0x85)+_0x10dabe,_0x29ea87='1';}else{if(_0x20028b[_0x316242(0xc6)](/\/parse$/))_0x20028b=_0x20028b[_0x316242(0xd5)](/\/parse$/,''),_0x29ea87='1';else _0x20028b[_0x316242(0xc6)](/cunshao\.com\/666666\/api\/web.php/)&&(_0x29ea87='1');}}}return console['log'](_0x20028b),_0x2f38c3={'parse':_0x29ea87,'jx':_0xf07001,'headers':'','playUrl':'','url':_0x20028b},JSON['stringify'](_0x2f38c3);}function computer_last_path(_0x21ad92,_0xa9e098){const _0x51d585=_0x5bf905;let _0x56b0ec=_0x51d585(0xe4),_0x209ad8=_0xa9e098[_0x51d585(0xb6)](0x0,_0xa9e098[_0x51d585(0x102)]('/')+0x1);_0x21ad92[_0x51d585(0xc6)](/^(\/)/)&&(_0x209ad8=_0x56b0ec);let _0x39b4f0=_0x21ad92[_0x51d585(0xcc)]('/')[_0x51d585(0xb6)](0x0,-0x1),_0x448c9d=_0x21ad92[_0x51d585(0xcc)]('/')[_0x51d585(0x114)]();for(let _0x474b9e=0x0;_0x474b9e<_0x39b4f0['length'];_0x474b9e++){if(_0x39b4f0[_0x474b9e]=='.'){}else{if(_0x39b4f0[_0x474b9e]=='..')_0x209ad8!=_0x56b0ec&&(_0x209ad8=_0x209ad8[_0x51d585(0xd5)](/[^\/]*\/$/,''));else{if(_0x39b4f0[_0x474b9e]==''){}else _0x209ad8=_0x209ad8+_0x39b4f0[_0x474b9e]+'/';}}}return _0x209ad8+_0x448c9d;}function parseSub(_0x499bc7){const _0x3e6fe3=_0x5bf905,_0x58701a=/^#([^#\n]*?)\n([^#\n]+)/gm;let _0x3b6efa='',_0x35837b='',_0x32646f=req(_0x499bc7,{'headers':config[_0x3e6fe3(0xfa)]})[_0x3e6fe3(0xf8)];while((_0x3b6efa=_0x58701a[_0x3e6fe3(0x10b)](_0x32646f))!==null){_0x3b6efa[_0x3e6fe3(0xf4)]===_0x58701a[_0x3e6fe3(0xe0)]&&_0x58701a[_0x3e6fe3(0xe0)]++;if(_0x3b6efa[0x1]==_0x3e6fe3(0x96))continue;if(_0x3b6efa[0x1][_0x3e6fe3(0xc6)](/iptv/i)){_0x3b6efa[0x2]=='1'?config[_0x3e6fe3(0xd3)]=!![]:config['iptv_flag']=![];continue;}if(_0x3b6efa[0x1]['match'](/xjj/i)){_0x3b6efa[0x2]=='1'?config[_0x3e6fe3(0x82)]=!![]:config[_0x3e6fe3(0x82)]=![];continue;}let _0x15952b=_0x3b6efa[0x1],_0x1aa6d2=config['defaultPicUrl'];if(_0x3b6efa[0x1][_0x3e6fe3(0x103)]('(')!=-0x1){let _0x595e01=_0x3b6efa[0x1][_0x3e6fe3(0xc6)](/(.*?)\((.*?)\)/);_0x15952b=_0x595e01[0x1],_0x1aa6d2[_0x3e6fe3(0xc6)](/https?/)?_0x1aa6d2=_0x595e01[0x2]:_0x1aa6d2=computer_last_path(_0x595e01[0x2],_0x499bc7);}_0x3b6efa[0x2]['match'](/https?/)?_0x35837b=_0x3b6efa[0x2]:_0x35837b=computer_last_path(_0x3b6efa[0x2],_0x499bc7),config[_0x3e6fe3(0xdc)][_0x35837b]=_0x1aa6d2,config[_0x3e6fe3(0xdc)][_0x15952b]=_0x1aa6d2,config['classes'][_0x3e6fe3(0x100)]({'type_id':_0x35837b,'type_name':_0x15952b});}}function make_detail_videos(_0x20c9a0){const _0x33f41f=_0x5bf905;let _0x1f8581=[],_0x2384dc='',_0x3c97c9='';for(let _0x54126e in _0x20c9a0){_0x2384dc=_0x2384dc+_0x33f41f(0xa4)+_0x54126e;}for(let _0x5745e1 in _0x20c9a0){_0x3c97c9=_0x3c97c9+'$$$',_0x20c9a0[_0x5745e1][_0x33f41f(0xef)](_0x52dc32=>{const _0x5e21a4=_0x33f41f;_0x3c97c9=_0x3c97c9+_0x52dc32[_0x5e21a4(0x84)]+'$'+_0x52dc32['url']+'#';}),_0x3c97c9=_0x3c97c9[_0x33f41f(0xd5)](/#$/m,'');}return _0x1f8581[_0x33f41f(0x113)]=_0x2384dc[_0x33f41f(0xd5)](/^\$\$\$/,''),_0x1f8581[_0x33f41f(0xc9)]=_0x3c97c9[_0x33f41f(0xd5)](/^\$\$\$/,''),_0x1f8581;}function sync_local_db(){const _0x18d734=_0x5bf905;config[_0x18d734(0xf7)]=![];let _0x2fe48f=[],_0x57e684=[],_0x235509='';for(let _0x5c5b22=0x0;_0x5c5b22<config[_0x18d734(0xcb)][_0x18d734(0x8a)];_0x5c5b22++){let _0xa79c1b=config[_0x18d734(0xcb)][_0x5c5b22][_0x18d734(0xce)],_0x25f1b4=config[_0x18d734(0xcb)][_0x5c5b22][_0x18d734(0xe8)],_0x413695=cache_sub_db(_0xa79c1b);if(_0x413695[_0x18d734(0x103)](_0x18d734(0xa0))==0x0){let _0x496e13=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x2fe48f=_0x496e13[_0x18d734(0x10b)](_0x413695))!==null){_0x2fe48f[_0x18d734(0xf4)]===_0x496e13[_0x18d734(0xe0)]&&_0x496e13['lastIndex']++;let _0x28547c=_0x18d734(0x107);_0x28547c=(_0x2fe48f[0x1][_0x18d734(0xc6)](/group-title="(.*?)"/)||[null,_0x28547c])[0x1];_0x57e684[_0x18d734(0x103)](_0x28547c)==-0x1&&(_0x57e684[_0x18d734(0x100)](_0x28547c),config[_0x18d734(0xa8)]['push']({'sname':_0x25f1b4,'surl':_0xa79c1b,'gname':_0x28547c}));!config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c]&&(config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c]={});if(_0x2fe48f[0x3][_0x18d734(0x103)](_0x18d734(0xad))!=-0x1||_0x2fe48f[0x3][_0x18d734(0x103)](_0x18d734(0xb2))!=-0x1){_0x2fe48f[0x3]=_0x2fe48f[0x3][_0x18d734(0xd5)](/\/parse$/,'');!config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]]&&(config['channelDB'][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]]=[]);let _0x32672c=[_0x18d734(0x117),_0x18d734(0xcf),_0x18d734(0x104),'360p'];for(let _0x574115=0x1;_0x574115<=0x4;_0x574115++){config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]+'/'+_0x32672c[_0x574115-0x1]);}}else _0x28547c[_0x18d734(0xc6)](/\/parse$/)&&(_0x2fe48f[0x3]=_0x2fe48f[0x3][_0x18d734(0xd5)](/\/$/,''),!_0x2fe48f[0x3]['match'](/\/parse$/)&&(_0x2fe48f[0x3]=_0x2fe48f[0x3]+'/parse')),config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]]?config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]):(config['channelDB'][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]]=[],config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x28547c][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]));}}else{let _0x37e7e=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x2fe48f=_0x37e7e['exec'](_0x413695))!==null){_0x2fe48f[_0x18d734(0xf4)]===_0x37e7e[_0x18d734(0xe0)]&&_0x37e7e[_0x18d734(0xe0)]++;if(['#genre#','##','头#',_0x18d734(0xa1)]['includes'](_0x2fe48f[0x3]))_0x235509=_0x2fe48f[0x2],config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509]={},config[_0x18d734(0xa8)][_0x18d734(0x100)]({'sname':_0x25f1b4,'surl':_0xa79c1b,'gname':_0x2fe48f[0x2]});else{if(_0x2fe48f[0x3][_0x18d734(0x103)](_0x18d734(0xad))!=-0x1||_0x2fe48f[0x3][_0x18d734(0x103)](_0x18d734(0xb2))!=-0x1){_0x2fe48f[0x3]=_0x2fe48f[0x3][_0x18d734(0xd5)](/\/parse$/,'');!config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]]&&(config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]]=[]);let _0xe4e9f9=['1080p',_0x18d734(0xcf),_0x18d734(0x104),_0x18d734(0x88)];for(let _0x3ccf4f=0x1;_0x3ccf4f<=0x4;_0x3ccf4f++){config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]+'/'+_0xe4e9f9[_0x3ccf4f-0x1]);}}else _0x235509['match'](/\/parse$/)&&(_0x2fe48f[0x3]=_0x2fe48f[0x3][_0x18d734(0xd5)](/\/$/,''),!_0x2fe48f[0x3][_0x18d734(0xc6)](/\/parse$/)&&(_0x2fe48f[0x3]=_0x2fe48f[0x3]+_0x18d734(0x93))),config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]]?config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]):(config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]]=[],config[_0x18d734(0xe6)][_0x25f1b4+'-'+_0x235509][_0x2fe48f[0x2]][_0x18d734(0x100)](_0x2fe48f[0x3]));}}}}}function async_local_db(){const _0x18d7d3=_0x5bf905;for(let _0x5b4288=0x0;_0x5b4288<config['classes']['length'];_0x5b4288++){config[_0x18d7d3(0xdd)]=config[_0x18d7d3(0xdd)]+0x3e8,setTimeout(()=>{const _0x24cd06=_0x18d7d3;config[_0x24cd06(0xf7)]=![];let _0x4e30e5=config[_0x24cd06(0xcb)][_0x5b4288][_0x24cd06(0xce)],_0x5922be=config[_0x24cd06(0xcb)][_0x5b4288][_0x24cd06(0xe8)],_0x1f1116=[],_0x26b75c=[],_0x48357c='',_0x136e24=cache_sub_db(_0x4e30e5);if(_0x136e24[_0x24cd06(0x103)](_0x24cd06(0xa0))==0x0){let _0x3112e5=/(.*),(.*)\s*?((?:http|rtmp|mitv)[^#\s]*)/gm;while((_0x1f1116=_0x3112e5['exec'](_0x136e24))!==null){_0x1f1116[_0x24cd06(0xf4)]===_0x3112e5[_0x24cd06(0xe0)]&&_0x3112e5[_0x24cd06(0xe0)]++;let _0x2e6cf3=_0x24cd06(0x107);_0x2e6cf3=(_0x1f1116[0x1][_0x24cd06(0xc6)](/group-title="(.*?)"/)||[null,_0x2e6cf3])[0x1];_0x26b75c['indexOf'](_0x2e6cf3)==-0x1&&(_0x26b75c[_0x24cd06(0x100)](_0x2e6cf3),config['groupDB'][_0x24cd06(0x100)]({'sname':_0x5922be,'surl':_0x4e30e5,'gname':_0x2e6cf3}));!config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3]&&(config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3]={});if(_0x1f1116[0x3][_0x24cd06(0x103)](_0x24cd06(0xad))!=-0x1||_0x1f1116[0x3]['indexOf'](_0x24cd06(0xb2))!=-0x1){_0x1f1116[0x3]=_0x1f1116[0x3]['replace'](/\/parse$/,'');!config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]]&&(config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]]=[]);let _0x3cae47=[_0x24cd06(0x117),_0x24cd06(0xcf),'480p',_0x24cd06(0x88)];for(let _0x57848f=0x1;_0x57848f<=0x4;_0x57848f++){config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]][_0x24cd06(0x100)](_0x1f1116[0x3]+'/'+_0x3cae47[_0x57848f-0x1]);}}else _0x2e6cf3[_0x24cd06(0xc6)](/\/parse$/)&&(_0x1f1116[0x3]=_0x1f1116[0x3][_0x24cd06(0xd5)](/\/$/,''),!_0x1f1116[0x3][_0x24cd06(0xc6)](/\/parse$/)&&(_0x1f1116[0x3]=_0x1f1116[0x3]+'/parse')),config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]]?config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]][_0x24cd06(0x100)](_0x1f1116[0x3]):(config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]]=[],config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x2e6cf3][_0x1f1116[0x2]]['push'](_0x1f1116[0x3]));}}else{let _0x3992d7=/()(?:\B\$c_start|\B#{1,2})?(.*?),?(##|头#|\$c_end|,?#genre#|(?:http|rtmp|mitv)[^\s]*)/gm;while((_0x1f1116=_0x3992d7[_0x24cd06(0x10b)](_0x136e24))!==null){_0x1f1116['index']===_0x3992d7[_0x24cd06(0xe0)]&&_0x3992d7[_0x24cd06(0xe0)]++;if([_0x24cd06(0xc8),'##','头#',_0x24cd06(0xa1)][_0x24cd06(0x9d)](_0x1f1116[0x3]))_0x48357c=_0x1f1116[0x2],config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c]={},config[_0x24cd06(0xa8)][_0x24cd06(0x100)]({'sname':_0x5922be,'surl':_0x4e30e5,'gname':_0x1f1116[0x2]});else{if(_0x1f1116[0x3][_0x24cd06(0x103)](_0x24cd06(0xad))!=-0x1||_0x1f1116[0x3][_0x24cd06(0x103)](_0x24cd06(0xb2))!=-0x1){_0x1f1116[0x3]=_0x1f1116[0x3][_0x24cd06(0xd5)](/\/parse$/,'');!config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]]&&(config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]]=[]);let _0x34690f=[_0x24cd06(0x117),'720p',_0x24cd06(0x104),_0x24cd06(0x88)];for(let _0x49399c=0x1;_0x49399c<=0x4;_0x49399c++){config['channelDB'][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]][_0x24cd06(0x100)](_0x1f1116[0x3]+'/'+_0x34690f[_0x49399c-0x1]);}}else _0x48357c[_0x24cd06(0xc6)](/\/parse$/)&&(_0x1f1116[0x3]=_0x1f1116[0x3]['replace'](/\/$/,''),!_0x1f1116[0x3][_0x24cd06(0xc6)](/\/parse$/)&&(_0x1f1116[0x3]=_0x1f1116[0x3]+_0x24cd06(0x93))),config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]]?config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]][_0x24cd06(0x100)](_0x1f1116[0x3]):(config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]]=[],config[_0x24cd06(0xe6)][_0x5922be+'-'+_0x48357c][_0x1f1116[0x2]]['push'](_0x1f1116[0x3]));}}}},config['fetch_interval']);}}function local_db_gsearch(_0xcfc681){const _0xefdd6d=_0x5bf905;let _0x5f2ddb=[],_0x1a59ee=new RegExp(_0xcfc681,'i');for(let _0x2f6cc4=0x0;_0x2f6cc4<config['groupDB'][_0xefdd6d(0x8a)];_0x2f6cc4++){config[_0xefdd6d(0xa8)][_0x2f6cc4][_0xefdd6d(0x86)][_0xefdd6d(0xc6)](_0x1a59ee)&&_0x5f2ddb[_0xefdd6d(0x100)]({'vod_id':config['groupDB'][_0x2f6cc4]['gname']+_0xefdd6d(0xa4)+config[_0xefdd6d(0xa8)][_0x2f6cc4][_0xefdd6d(0xe5)],'vod_name':config[_0xefdd6d(0xa8)][_0x2f6cc4][_0xefdd6d(0x86)][_0xefdd6d(0xd5)](/\/parse$/,''),'vod_pic':config['pics'][config[_0xefdd6d(0xa8)][_0x2f6cc4][_0xefdd6d(0x9b)]],'vod_remarks':config[_0xefdd6d(0xa8)][_0x2f6cc4][_0xefdd6d(0x9b)]});}return _0x5f2ddb;}function _0x1538(_0x585f5f,_0x77d97d){const _0x731b56=_0x731b();return _0x1538=function(_0x1538ee,_0x1188ac){_0x1538ee=_0x1538ee-0x80;let _0xa975b6=_0x731b56[_0x1538ee];return _0xa975b6;},_0x1538(_0x585f5f,_0x77d97d);}function local_db_csearch(_0x399f7e){const _0x444724=_0x5bf905;let _0x3f1848=[],_0x3d21ef=new RegExp(_0x399f7e,'i');for(let _0x51f39f in config[_0x444724(0xe6)]){for(let _0x48df3a in config[_0x444724(0xe6)][_0x51f39f]){_0x48df3a[_0x444724(0xc6)](_0x3d21ef)&&_0x3f1848[_0x444724(0x100)]({'vod_id':_0x48df3a+_0x444724(0x9f)+config[_0x444724(0xe6)][_0x51f39f][_0x48df3a][_0x444724(0x94)](_0x444724(0x8d)),'vod_name':_0x48df3a,'vod_pic':config['pics'][_0x51f39f[_0x444724(0xcc)]('-')[0x0]],'vod_remarks':_0x51f39f[_0x444724(0xd5)](/\/parse$/,'')});}}return _0x3f1848;}function cache_sub_db(_0x482243){const _0x3ca6ff=_0x5bf905;let _0xdbfbf5=config[_0x3ca6ff(0xfa)];_0x482243[_0x3ca6ff(0xc6)](/(gitcode.net\/ygbh66|iptv807)/)&&(_0xdbfbf5=config['headers2']);if(config[_0x3ca6ff(0xe7)][_0x482243])return config[_0x3ca6ff(0xe7)][_0x482243];let _0x299b9d=req(_0x482243,{'headers':_0xdbfbf5})['content'];return _0x299b9d&&(config[_0x3ca6ff(0xe7)][_0x482243]=_0x299b9d),_0x299b9d;}function cache_detail_db(_0xea9c31,_0x5d26a7,_0x42f948){const _0x590690=_0x5bf905;_0x5d26a7&&_0x42f948&&(config[_0x590690(0xfe)][_0xea9c31]={'vpf':_0x5d26a7,'vpu':_0x42f948});}function direct_play_youtube0(_0x40a38f){const _0x7358e7=_0x5bf905;let _0x10341f='',_0x374184='',_0x225190=req(_0x7358e7(0xac)+_0x40a38f,{'headers':config[_0x7358e7(0xfa)]})[_0x7358e7(0xf8)],_0x2bbb10=_0x588c83['load'](_0x225190),_0x45b889=_0x2bbb10('.download\x20.line:eq(0)\x20a');_0x45b889[_0x7358e7(0x10d)](function(_0x27557b){const _0xd6eb4d=_0x7358e7;let _0x66af16=_0x2bbb10(this,this)[_0xd6eb4d(0xbe)]('href');_0x66af16[_0xd6eb4d(0xc6)](_0xd6eb4d(0xe9))&&(_0x374184=_0x66af16[_0xd6eb4d(0xc6)](/https:\/\/getyoutubehd.com\/v\/(.*)/m)[0x1]);});let _0x81534f=_0x7358e7(0xd0)+_0x374184;_0x225190=req(_0x81534f,{'headers':config['headers']})['content'],_0x45b889=JSON['parse'](_0x225190),_0x45b889=_0x45b889[_0x7358e7(0x111)];for(let _0x44e89f=0x0;_0x44e89f<_0x45b889[_0x7358e7(0x8a)];_0x44e89f++){_0x45b889[_0x44e89f]['format_note']=='360p'&&(_0x10341f=_0x45b889[_0x44e89f][_0x7358e7(0xd8)]),_0x45b889[_0x44e89f][_0x7358e7(0x8f)]==_0x7358e7(0xcf)&&(_0x10341f=_0x45b889[_0x44e89f][_0x7358e7(0xd8)]);}return _0x10341f;}function direct_play_youtube1(_0x14c183){const _0x170c5b=_0x5bf905;let _0xf35ee9=_0x14c183['slice'](0x0,_0x14c183[_0x170c5b(0x102)]('/')),_0x5e1b77=_0x14c183['slice'](_0x14c183[_0x170c5b(0x102)]('/')+0x1),_0x472392='',_0x286b87=config[_0x170c5b(0xfa)];_0xf35ee9[_0x170c5b(0xc6)](/gitcode.net\/ygbh66/)&&(_0x286b87=config['headers2']);let _0x4764bd=req(_0xf35ee9,{'headers':_0x286b87})[_0x170c5b(0xf8)],_0x23a595=_0x588c83[_0x170c5b(0xca)](_0x4764bd),_0x5175f0=JSON['parse'](_0x23a595(_0x170c5b(0xc4))[_0x170c5b(0xec)]()[_0x170c5b(0xd5)]('var\x20ytInitialPlayerResponse\x20=\x20','')['replace'](/;$/,'')),_0x461c6e=_0x5175f0[_0x170c5b(0x109)]['adaptiveFormats'];return _0x461c6e['forEach'](_0x3d4f1f=>{const _0x2f09de=_0x170c5b;_0x3d4f1f['mimeType'][_0x2f09de(0xc6)](/video\/mp4/)&&(_0x3d4f1f[_0x2f09de(0x95)]==_0x5e1b77&&(_0x472392=_0x3d4f1f[_0x2f09de(0xd8)]));}),_0x472392;}function direct_play_youtube2(_0x34bb1c){const _0x25064a=_0x5bf905;let _0x2a3667=_0x34bb1c['slice'](0x0,_0x34bb1c['lastIndexOf']('/')),_0x4a3960=_0x34bb1c['slice'](_0x34bb1c[_0x25064a(0x102)]('/')+0x1),_0x2865da='',_0x44bcd6=req(_0x25064a(0xb9)+_0x2a3667+_0x25064a(0xc2),{'headers':config[_0x25064a(0xfa)]})['content'],_0x274b94=_0x588c83[_0x25064a(0xca)](_0x44bcd6),_0x3fd590=_0x274b94(_0x25064a(0xee))[_0x25064a(0xd6)](function(){const _0x1a176d=_0x25064a;return{'title':_0x274b94(_0x1a176d(0xbb),this)['attr'](_0x1a176d(0x81)),'resolution':_0x274b94(_0x1a176d(0xf3),this)[_0x1a176d(0xec)](),'url':_0x274b94(_0x1a176d(0xbb),this)['attr']('href')};})[_0x25064a(0x106)]();for(let _0x101736=0x0;_0x101736<_0x3fd590[_0x25064a(0x8a)];_0x101736++){if(_0x3fd590[_0x101736][_0x25064a(0x9e)]==_0x4a3960){_0x2865da=_0x3fd590[_0x101736][_0x25064a(0xd8)];break;}}return _0x2865da=_0x2865da[_0x25064a(0xd5)](/&title=.*/,''),_0x2865da;}function direct_play_youtube3(_0x49265d){const _0x2a5206=_0x5bf905;let _0x4a32bc=_0x49265d[_0x2a5206(0xb6)](0x0,_0x49265d[_0x2a5206(0x102)]('/')),_0x233136=_0x49265d['slice'](_0x49265d[_0x2a5206(0x102)]('/')+0x1),_0x235d09=_0x4a32bc[_0x2a5206(0xc6)](/v=(.*?)(&|$)/m)[0x1],_0x287e9d='',_0x1be557={},_0x45bf37=[],_0x40c106='',_0x40d69f=req(_0x4a32bc,{'headers':config[_0x2a5206(0xfa)]})[_0x2a5206(0xf8)];if(_0x40d69f['match'](/hlsManifestUrl/)){let _0x1096c9=_0x588c83['load'](_0x40d69f),_0x4ea075=JSON['parse'](_0x1096c9(_0x2a5206(0xc4))[_0x2a5206(0xec)]()['replace'](_0x2a5206(0xed),'')['replace'](/;$/,''));_0x40c106=_0x4ea075[_0x2a5206(0x109)][_0x2a5206(0xeb)];}else{_0x40d69f=req('https://www.y2mate.com/mates/analyzeV2/ajax',{'headers':{'Content-Type':_0x2a5206(0x9c),'user-agent':_0x2a5206(0xf0)},'method':_0x2a5206(0xd4),'body':_0x2a5206(0xa5)+_0x4a32bc+_0x2a5206(0x92)})[_0x2a5206(0xf8)],_0x40d69f=JSON[_0x2a5206(0x89)](_0x40d69f),_0x1be557=_0x40d69f[_0x2a5206(0x112)][_0x2a5206(0xfb)],_0x287e9d='';for(let _0x60a8fd in _0x1be557){if(_0x233136==_0x1be557[_0x60a8fd]['q']){_0x287e9d=_0x1be557[_0x60a8fd]['k'];break;}}_0x40d69f=req(_0x2a5206(0x80),{'headers':{'Content-Type':'application/x-www-form-urlencoded','user-agent':'okhttp/3.12.10'},'method':_0x2a5206(0xd4),'body':'vid='+_0x235d09+_0x2a5206(0xa9)+_0x287e9d})['content'],_0x40d69f=JSON['parse'](_0x40d69f),_0x40c106=_0x40d69f[_0x2a5206(0xf6)];}return console[_0x2a5206(0xaf)](_0x40c106),_0x40c106;}var m_js_1='',m_hken='',m_hkens='',m_token='';function m_decode(_0x51dd82){const _0x588952=_0x5bf905;var _0x2f7d4a=_0x588952(0xd1),_0x1f341a,_0x4693b7,_0x21e52f,_0x3ae5ca,_0x16980c,_0x14c158,_0x57a3cd,_0x2b8068,_0x162e31=0x0,_0x27ee98=0x0,_0x29c0fc='',_0x18bd20=[];if(!_0x51dd82)return _0x51dd82;_0x51dd82+='';do{_0x3ae5ca=_0x2f7d4a['indexOf'](_0x51dd82[_0x588952(0xff)](_0x162e31++)),_0x16980c=_0x2f7d4a['indexOf'](_0x51dd82[_0x588952(0xff)](_0x162e31++)),_0x14c158=_0x2f7d4a[_0x588952(0x103)](_0x51dd82[_0x588952(0xff)](_0x162e31++)),_0x57a3cd=_0x2f7d4a[_0x588952(0x103)](_0x51dd82[_0x588952(0xff)](_0x162e31++)),_0x2b8068=_0x3ae5ca<<0x12|_0x16980c<<0xc|_0x14c158<<0x6|_0x57a3cd,_0x1f341a=_0x2b8068>>0x10&0xff,_0x4693b7=_0x2b8068>>0x8&0xff,_0x21e52f=_0x2b8068&0xff,_0x14c158==0x40?_0x18bd20[_0x27ee98++]=String[_0x588952(0xb5)](_0x1f341a):_0x57a3cd==0x40?_0x18bd20[_0x27ee98++]=String['fromCharCode'](_0x1f341a,_0x4693b7):_0x18bd20[_0x27ee98++]=String[_0x588952(0xb5)](_0x1f341a,_0x4693b7,_0x21e52f);}while(_0x162e31<_0x51dd82[_0x588952(0x8a)]);return _0x29c0fc=_0x18bd20[_0x588952(0x94)](''),_0x29c0fc;}function startPlayer(_0x1db4b2,_0x2dbc45,_0x1a0dc2,_0x76a43e){const _0x4abaa6=_0x5bf905;function _0x321056(_0x3b5f76,_0x2a7d5e){const _0x30e72b=_0x1538;let _0x52dc5b=_0x9cf245(_0x3b5f76),_0x548996=_0x2a7d5e['length'],_0x18e822='';for(let _0x6421d=0x0;_0x6421d<_0x52dc5b['length'];_0x6421d++){let _0x3df938=_0x6421d%_0x548996;_0x18e822+=String[_0x30e72b(0xb5)](_0x52dc5b[_0x30e72b(0xc0)](_0x6421d)^_0x2a7d5e['charCodeAt'](_0x3df938));}let _0xc7a8d1=_0x9cf245(_0x18e822);return _0xc7a8d1;}function _0x9cf245(_0x15ee5b){const _0x422ce8=_0x1538;var _0xf5dc50=_0x422ce8(0xd1),_0x2bb610,_0x55b872,_0xbdb248,_0x37c8dd,_0x1f8357,_0x206fe9,_0x4231e5,_0x21cbb3,_0x43bbeb=0x0,_0x12fdc9=0x0,_0x2aa357='',_0x49b429=[];if(!_0x15ee5b)return _0x15ee5b;_0x15ee5b+='';do{_0x37c8dd=_0xf5dc50['indexOf'](_0x15ee5b[_0x422ce8(0xff)](_0x43bbeb++)),_0x1f8357=_0xf5dc50[_0x422ce8(0x103)](_0x15ee5b[_0x422ce8(0xff)](_0x43bbeb++)),_0x206fe9=_0xf5dc50[_0x422ce8(0x103)](_0x15ee5b[_0x422ce8(0xff)](_0x43bbeb++)),_0x4231e5=_0xf5dc50['indexOf'](_0x15ee5b[_0x422ce8(0xff)](_0x43bbeb++)),_0x21cbb3=_0x37c8dd<<0x12|_0x1f8357<<0xc|_0x206fe9<<0x6|_0x4231e5,_0x2bb610=_0x21cbb3>>0x10&0xff,_0x55b872=_0x21cbb3>>0x8&0xff,_0xbdb248=_0x21cbb3&0xff;if(_0x206fe9==0x40)_0x49b429[_0x12fdc9++]=String[_0x422ce8(0xb5)](_0x2bb610);else _0x4231e5==0x40?_0x49b429[_0x12fdc9++]=String[_0x422ce8(0xb5)](_0x2bb610,_0x55b872):_0x49b429[_0x12fdc9++]=String[_0x422ce8(0xb5)](_0x2bb610,_0x55b872,_0xbdb248);}while(_0x43bbeb<_0x15ee5b[_0x422ce8(0x8a)]);return _0x2aa357=_0x49b429[_0x422ce8(0x94)](''),_0x2aa357;}return _0x1db4b2=_0x1db4b2[_0x4abaa6(0xcc)]('')['reverse']()['join'](''),_0x1db4b2=_0x321056(_0x1db4b2,_0x2dbc45),_0x1db4b2=_0x1db4b2[_0x4abaa6(0xd5)](_0x4abaa6(0x99),'token='+_0x76a43e),_0x1db4b2=_0x1db4b2[_0x4abaa6(0xd5)](_0x4abaa6(0xaa)+_0x1a0dc2,_0x4abaa6(0xaa)+_0x76a43e),_0x1db4b2=_0x1db4b2[_0x4abaa6(0xd5)](_0x2dbc45,''),_0x1db4b2;}function m_parse_url(_0x15bb51){const _0x5a2fd0=_0x5bf905;let _0xd4463c=_0x15bb51['split'](_0x5a2fd0(0xa7))[0x0],_0x1118e5=_0x15bb51[_0x5a2fd0(0xcc)](_0x5a2fd0(0xa7))[0x1],_0x69fbd0=req(_0xd4463c,{'headers':config[_0x5a2fd0(0x105)]})[_0x5a2fd0(0xf8)],_0x409c33=_0x588c83[_0x5a2fd0(0xca)](_0x69fbd0);if(_0x1118e5>=_0x409c33(_0x5a2fd0(0xc1))[_0x5a2fd0(0x8a)])return'';let _0x2c13d0=_0x409c33(_0x5a2fd0(0xc1))['eq'](_0x1118e5)[_0x5a2fd0(0xa2)](),_0x34a5fb=_0x69fbd0[_0x5a2fd0(0xc6)](/<script>(.*?var string.*?)<\/script>/);eval(_0x34a5fb[0x1][_0x5a2fd0(0xd5)](/$/gm,_0x5a2fd0(0x8e)));var _0x470228=_0x5a2fd0(0xdf);m_js_1=m_decode(m_js_1);let _0x3799e5=_0x470228[_0x5a2fd0(0x8a)],_0x2a1356='';for(let _0x32d53d=0x0;_0x32d53d<m_js_1[_0x5a2fd0(0x8a)];_0x32d53d++){let _0x26de2c=_0x32d53d%_0x3799e5;_0x2a1356+=String[_0x5a2fd0(0xb5)](m_js_1['charCodeAt'](_0x32d53d)^_0x470228[_0x5a2fd0(0xc0)](_0x26de2c));}var _0x4c66f7=m_decode(_0x2a1356);_0x4c66f7=unescape(_0x4c66f7),_0x4c66f7=_0x4c66f7[_0x5a2fd0(0xc6)](/<script>(var.*?)<\/script>/)[0x1],_0x4c66f7=_0x4c66f7['replace'](/$/gm,_0x5a2fd0(0xf2)),eval(_0x4c66f7);let _0x6a4fd4=startPlayer(_0x2c13d0,m_hken,m_hkens,m_token);return _0x6a4fd4;}__JS_SPIDER__={'init':init,'home':home,'homeVod':homeVod,'category':category,'detail':detail,'play':play,'search':search};