// ==UserScript== // @name 采集接口VIP视频通行证 // @namespace http://tampermonkey.net/lsym-pure-play // @version 4.6.3 // @description 视频VIP 影视vip 电影vip解析-----支持:腾讯、爱奇艺、优酷、芒果、pptv、乐视、bilibili等其它网站视频VIP解析,影视vip解析。 (强烈推荐用脚本猫加载此插件,资源搜索会快很多(请不要使用油猴加载此插件,会很慢)。大版本升级,修改操作简化,ui交换更智能,解析更快。) // @icon data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzIiIGN5PSIzMiIgcj0iMzAiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcihfMV8yKSIvPgo8cGF0aCBkPSJNMjEuNDk2MSA0My4yODkxTDQwLjU2NDUgMzIuMjU3OEM0MS4zMDA1IDMxLjgwNjEgNDEuMzAwNSAzMC42NTQyIDQwLjU2NDUgMzAuMjAyNUwyMS40OTYxIDE5LjE3MTIiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iNCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXIoXzFfMikiIHgxPSIzMiIgeTE9IjIiIHgyPSIzMiIgeTI9IjYyIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiMyQTc5RkYiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTA1OUI5Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjwvZGVmcz4KPC9zdmc+Cg== // @author lsym // @license MIT // @uuid a1e8a8e1-8b9a-4f7c-8e3b-9f6a7d2c1b4d // @match *://*.iqiyi.com/v_* // @match *://*.iqiyi.com/a_* // @match *://*.iqiyi.com/w_* // @match *://*.iq.com/play/* // @match *://v.youku.com/v_show/id_* // @match *://*.youku.com/v_show/id_* // @match *://v.qq.com/x/cover/* // @match *://v.qq.com/x/page/* // @match *://v.qq.com/tv/* // @match *://*.mgtv.com/b/* // @match *://*.bilibili.com/video/av* // @match *://*.bilibili.com/video/BV* // @match *://*.bilibili.com/bangumi/play/* // @match *://*.le.com/ptv/vplay/* // @match *://*.tudou.com/listplay/* // @match *://*.tudou.com/albumplay/* // @match *://*.tudou.com/programs/view/* // @match *://tv.sohu.com/v/* // @match *://film.sohu.com/album/* // @match *://*.pptv.com/show/* // @match *://*.acfun.cn/v/ac* // @match *://*.fun.tv/vplay/* // @match *://*.wasu.cn/Play/show/id/* // @match *://*.1905.com/play/* // @match *://*.ixigua.com/video/* // @match *://*.weibo.com/tv/show/* // @match *://*.weibo.com/v/tv/show/* // @grant GM_addStyle // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @grant GM_registerMenuCommand // @run-at document-end // @connect collect.wolongzyw.com // @connect api.wujinapi.me // @connect cj.ffzyapi.com // @connect bfzyapi.com // @connect www.hongniuzy2.com // @connect api.ukuapi.com // @connect api.guangsuapi.com // @connect api.xinlangapi.com // @connect jszyapi.com // @connect hhzyapi.com // @connect 360zy.com // @connect subocaiji.com // @connect www.huyaapi.com // @connect api.apibdzy.com // @connect www.mdzyapi.com // @connect iqiyizyapi.com // @connect ikunzyapi.com // @connect jyzyapi.com // @connect mozhuazy.com // @connect api.zuidapi.com // @connect caiji.dyttzyapi.com // @connect * // @antifeature piracy // ==/UserScript== function _0x272f(_0x532a4b,_0x5da061){const _0x2427c9=_0x2427();return _0x272f=function(_0x272fcf,_0x2fa990){_0x272fcf=_0x272fcf-0x17a;let _0x2e4e22=_0x2427c9[_0x272fcf];return _0x2e4e22;},_0x272f(_0x532a4b,_0x5da061);}function _0x2427(){const _0x10b3a6=['ac=detail&ids=','LOAD_ERROR','panel','[VIP-Refined]\x20404/Network\x20Error.\x20Switching.','children','grabbing','showPanel','已匹配:\x20','AUTOPLAY_NEXT_DELAY','now','https://api.wujinapi.me/api.php/provide/vod/','srcdoc','resize','tm_video_ended','#f1f3f5','isFirstAutoplayAttempted','replace','DOMContentLoaded','renderInitialPanel','all','Mozilla/5.0','极速竞速中...','[VIP-Refined]\x20Stuck\x20at\x200s\x20for\x20too\x20long\x20(5s).\x20Switching.','updateOverlayPosition','catch','\x20#tm-container-fusion\x20{\x20position:\x20fixed;\x20z-index:\x201000003;\x20width:\x2038px;\x20height:\x2038px;\x20text-align:\x20center;\x20cursor:\x20grab;\x20user-select:\x20none;\x20}\x20#tm-main-btn-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20border-radius:\x2050%;\x20background:\x20linear-gradient(135deg,\x20#FFD700,\x20#FFA500);\x20color:\x20white;\x20cursor:\x20pointer;\x20box-shadow:\x200\x204px\x208px\x20rgba(0,0,0,0.2);\x20transition:\x20all\x200.3s\x20ease;\x20padding:\x200;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20overflow:\x20hidden;\x20}\x20#tm-main-btn-fusion:hover\x20{\x20transform:\x20scale(1.1);\x20box-shadow:\x200\x206px\x2012px\x20rgba(0,0,0,0.3);\x20}\x20#tm-main-btn-fusion::before\x20{\x20content:\x20\x22VIP\x22;\x20font-size:\x2016px;\x20font-weight:\x20bold;\x20color:\x20#fff;\x20text-shadow:\x200\x201px\x202px\x20rgba(0,0,0,0.2);\x20}\x20@keyframes\x20tm-spin\x20{\x20to\x20{\x20transform:\x20rotate(360deg);\x20}\x20}\x20#tm-main-btn-fusion.loading::before\x20{\x20content:\x20\x27\x27;\x20box-sizing:\x20border-box;\x20width:\x2020px;\x20height:\x2020px;\x20border-radius:\x2050%;\x20border:\x203px\x20solid\x20rgba(255,255,255,0.4);\x20border-top-color:\x20#fff;\x20animation:\x20tm-spin\x200.8s\x20linear\x20infinite;\x20}\x20#tm-panel-fusion\x20{\x20display:\x20none;\x20position:\x20absolute;\x20left:\x2048px;\x20top:\x200;\x20min-width:\x20150px;\x20background:\x20rgba(255,\x20255,\x20255,\x200.95);\x20border-radius:\x208px;\x20padding:\x205px;\x20max-height:\x2070vh;\x20box-shadow:\x200\x206px\x2020px\x20rgba(0,0,0,0.15);\x20font-size:\x2012px;\x20backdrop-filter:\x20blur(10px);\x20border:\x201px\x20solid\x20rgba(255,\x20255,\x20255,\x200.2);\x20flex-direction:\x20column;\x20}\x20#tm-status-bar\x20{\x20padding:\x204px;\x20margin-bottom:\x205px;\x20background:\x20#f1f3f5;\x20border-radius:\x206px;\x20text-align:\x20center;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20min-height:\x2016px;\x20}\x20.tm-collection-btn\x20{\x20display:\x20block;\x20width:\x20100%;\x20padding:\x204px\x206px;\x20margin-bottom:\x204px;\x20background:\x20#fff;\x20border:\x201px\x20solid\x20#e9ecef;\x20border-radius:\x206px;\x20cursor:\x20pointer;\x20text-align:\x20left;\x20font-weight:\x20500;\x20color:\x20#495057;\x20font-size:\x2011px;\x20transition:\x20all\x200.2s\x20ease;\x20white-space:\x20nowrap;\x20box-sizing:\x20border-box;\x20}\x20.tm-collection-btn:hover\x20{\x20background:\x20#f8f9fa;\x20transform:\x20translateY(-1px);\x20}\x20.tm-episode-matched,\x20.tm-source-selected\x20{\x20background:\x20linear-gradient(135deg,\x20#28a745,\x20#20c997)\x20!important;\x20color:\x20white\x20!important;\x20border-color:\x20transparent\x20!important;\x20}\x20#tm-content-area\x20{\x20display:\x20grid;\x20grid-template-columns:\x201fr;\x20gap:\x204px;\x20flex-grow:\x201;\x20overflow-y:\x20auto;\x20padding-right:\x208px;\x20}\x20#tm-content-area.episode-list\x20{\x20grid-template-columns:\x201fr\x201fr;\x20}\x20#tm-content-area::-webkit-scrollbar\x20{\x20width:\x208px;\x20}\x20#tm-content-area::-webkit-scrollbar-track\x20{\x20background:\x20transparent;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb\x20{\x20background:\x20#ccc;\x20border-radius:\x204px;\x20border:\x202px\x20solid\x20transparent;\x20background-clip:\x20content-box;\x20}\x20#tm-content-area::-webkit-scrollbar-thumb:hover\x20{\x20background:\x20#aaa;\x20}\x20#tm-player-overlay-fusion\x20{\x20position:\x20absolute;\x20background-color:\x20#000;\x20z-index:\x20999998;\x20display:\x20none;\x20}\x20#tm-iframe-player-fusion\x20{\x20width:\x20100%;\x20height:\x20100%;\x20border:\x20none;\x20}\x20#tm-close-btn-fusion\x20{\x20position:\x20fixed;\x20top:\x2015px;\x20right:\x2015px;\x20z-index:\x201000003;\x20width:\x2036px;\x20height:\x2036px;\x20border-radius:\x2050%;\x20background:\x20rgba(220,\x2053,\x2069,\x200.9);\x20color:\x20white;\x20border:\x20none;\x20cursor:\x20pointer;\x20font-size:\x2016px;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20center;\x20transition:\x20all\x200.3s\x20ease;\x20}\x20#tm-close-btn-fusion:hover\x20{\x20background:\x20#dc3545;\x20transform:\x20scale(1.1);\x20}\x20#tm-global-status\x20{\x20position:\x20fixed;\x20top:\x200;\x20left:\x200;\x20width:\x20100%;\x20text-align:\x20center;\x20z-index:\x201000002;\x20pointer-events:\x20none;\x20padding-top:\x2010px;\x20transition:\x20opacity\x200.3s;\x20opacity:\x200;\x20display:\x20none;\x20}\x20#tm-global-status-text\x20{\x20display:\x20inline-block;\x20background:\x20rgba(0,\x200,\x200,\x200.7);\x20color:\x20white;\x20padding:\x208px\x2016px;\x20border-radius:\x2020px;\x20font-size:\x2014px;\x20backdrop-filter:\x20blur(4px);\x20}\x20','tm-episode-matched','hidePanel','44sAblGm','left','https://www.mdzyapi.com/api.php/provide/vod/','removeEventListener','hidden','injectStyle','addEventListener','delete','width','#ACPlayer','latency','masterSearch','电影天堂','toggle','正在播放:\x20','https://api.zuidapi.com/api.php/provide/vod/','dataset','race','.title','close','playerOverlay','.video-info-title','tm_check_stuck_req','results','url','highlightPlayingEpisode','querySelector','about:blank','\x20个资源\x20(缓存)','panelCollapse','自动切换至:\x20','https://collect.wolongzyw.com/api.php/provide/vod/at/json','tm_icon_position_pure_v5','.play-box','\x20}\x20}\x20}\x20});\x20dp.on(\x27loadedmetadata\x27,\x20function()\x20{\x20dp.play();\x20});\x20dp.on(\x27ended\x27,\x20()\x20=>\x20parent.postMessage({\x20type:\x20\x27','.player-album-list\x20.on\x20a,\x20.c-info-title','SEARCH_CONCURRENCY','1087933ARnGMc','getBoundingClientRect','cursor','PANEL_LEAVE_CLOSE_DELAY','stuck','https://hhzyapi.com/api.php/provide/vod/','episode-list','start','textContent','PLAY_SUCCESS','#player_swf','.tm-episode-matched','currentEpisodeList','currentSearchId','result','center','.play-player','body','https://www.huyaapi.com/api.php/provide/vod/','#video-player','tm-global-status-text','closeBtn','ac=list&wd=','timers','readyState','activeSourceName','API_TIMEOUT','offsetWidth','match','initDraggableIcon','接口缓存已清除,\x20重新搜索...','4737444GvysBs','clientY','https://subocaiji.com/api.php/provide/vod/','#player','JSON\x20parse\x20error','onclick','querySelectorAll','https://bfzyapi.com/api.php/provide/vod/','Request\x20timeout','visibility','MESSAGES','currentURL','location','tm-global-status','display','attachEventListeners','PLAYER_ELEMENTS','append','250px','STORAGE_KEY_ICON_POSITION','\x27\x20},\x20\x27*\x27));\x20dp.on(\x27timeupdate\x27,\x20()\x20=>\x20{\x20if\x20(dp.video.currentTime\x20>\x200.1)\x20{\x20parent.postMessage({\x20type:\x20\x27','min','VIDEO_ENDED','getEpisodeNumberFromString','#bilibili-player','some','forEach','https://www.hongniuzy2.com/api.php/provide/vod/','tm_get_time_res','2520KuUIsk','mouseup','showPlaceholder','vod_play_url',');\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.loadSource(\x27','https://api.ukuapi.com/api.php/provide/vod/','paused','pauseAndHideOriginalPlayer','max','#mgtv-player-wrap','tm-iframe-player-fusion','CHECK_STUCK_RES','https://api.apibdzy.com/api.php/provide/vod/','absolute','Timeout\x20waiting\x20for\x20\x27','_t=','Request\x20failed:\x20','20px','688PkEjnB','origin','includes','renderSourceListFromCache','100%','#c82333','823195JZxARt','https://api.xinlangapi.com/xinlangapi.php/provide/vod/','78297iTZbHN','assign','360','onmouseleave','contentWindow','tvname','title','搜索结束,请手动选择','failedUrls','.episode-list\x20.current,\x20.video-title\x20a','.tm-collection-btn','tm_get_time_req','\x27\x20},\x20\x27*\x27);\x20dp.off(\x27timeupdate\x27);\x20}\x20});\x20window.addEventListener(\x27message\x27,\x20e\x20=>\x20{\x20if\x20(e.data?.type\x20===\x20\x27','createElement','tm_check_stuck_res','#f8d7da','hiddenPlayerElement','[VIP-Util]\x20Could\x20not\x20find\x20precise\x20episode\x20element:\x20','postMessage','PRECISE_TITLE','mousedown','innerHTML','源失效,切换线路...','iqiyi','getAttribute','.txp_player_root','SELECTORS','top','waitForElement','toggleLoading','message','所有源已尝试,请刷新重试','dom','updateStatus','button','#flashbox','#le_player','performApiSearch','transition','‹\x20返回源列表','5sqvJia','createHTML','default','.js-episode-item.on,\x20.video-info\x20h1','length','innerWidth','Player','blur','currentPlayingUrl','block','map','clearAllTimers','appendChild','[VIP-Refined]\x20Manual\x20cache\x20clear\x20triggered.','vod_id','init','href','classList','get','find','grab','renderEpisodeList','clientX','smooth','.iqp-player','30gkThPT','from','content','sessionCache','http://caiji.dyttzyapi.com/api.php/provide/vod/','\x27\x20},\x20\x27*\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.destroy();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls.recoverMediaError();\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20});\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','tm-panel-fusion','#tm-status-bar','STUCK_CHECK_TIMEOUT','split','$$$','responseText','tm-source-selected','getElementById','keys','observe','hostname','clearTimer','visible','userSelect','未找到资源','ms)','onmouseenter','disconnect','className','tm-player-overlay-fusion','播放无响应(5秒),自动切换线路...','autoResizePanel','video','.ep-list-item.on\x20.ep-item-title,\x20.bpx-player-sending-info\x20.bpx-player-video-title','\x27,\x20type:\x20\x27customVideo\x27,\x20customType:\x20{\x20customVideo:\x20(video,\x20player)\x20=>\x20{\x20','tm-collection-btn','error','.video-title','#xigua-player','opacity','#tm-content-area','iframePlayer','https://api.guangsuapi.com/api.php/provide/vod/','loading','type','onload','https://360zy.com/api.php/provide/vod/','CHECK_STUCK_REQ','src','meta[property=\x22og:title\x22]','data','trim','#343a40','globalStatus'];_0x2427=function(){return _0x10b3a6;};return _0x2427();}(function(_0x39336a,_0x4fdc3e){const _0x1ed4bd=_0x272f,_0x48aa4b=_0x39336a();while(!![]){try{const _0x2525c8=-parseInt(_0x1ed4bd(0x2bb))/0x1+parseInt(_0x1ed4bd(0x242))/0x2*(parseInt(_0x1ed4bd(0x17b))/0x3)+parseInt(_0x1ed4bd(0x286))/0x4*(parseInt(_0x1ed4bd(0x1a3))/0x5)+parseInt(_0x1ed4bd(0x1bb))/0x6+-parseInt(_0x1ed4bd(0x1d2))/0x7+-parseInt(_0x1ed4bd(0x2b5))/0x8*(-parseInt(_0x1ed4bd(0x2a3))/0x9)+parseInt(_0x1ed4bd(0x1f4))/0xa*(-parseInt(_0x1ed4bd(0x267))/0xb);if(_0x2525c8===_0x4fdc3e)break;else _0x48aa4b['push'](_0x48aa4b['shift']());}catch(_0x109756){_0x48aa4b['push'](_0x48aa4b['shift']());}}}(_0x2427,0x9602a),(function(){'use strict';const _0x5955fc=_0x272f;const _0x177eec={'API_TIMEOUT':0xfa0,'STUCK_CHECK_TIMEOUT':0x1388,'AUTOPLAY_NEXT_DELAY':0x64,'PANEL_LEAVE_CLOSE_DELAY':0x5dc,'STORAGE_KEY_ICON_POSITION':_0x5955fc(0x262),'SEARCH_CONCURRENCY':0x32,'AUTO_EXPAND_BEST_SOURCE':!![],'HLS_CONFIG':{'enableWorker':!![],'lowLatencyMode':!![],'startFragPrefetch':!![],'maxBufferLength':0x1e,'maxMaxBufferLength':0x3c,'maxStarvationDelay':0x1,'fragLoadingTimeOut':0x1f40,'manifestLoadingTimeOut':0x1388,'levelLoadingTimeOut':0x1388,'enableSoftwareAES':!![]},'MESSAGES':{'VIDEO_ENDED':_0x5955fc(0x233),'GET_TIME_REQ':_0x5955fc(0x186),'GET_TIME_RES':_0x5955fc(0x2a2),'PLAY_SUCCESS':'tm_play_success','CHECK_STUCK_REQ':_0x5955fc(0x258),'CHECK_STUCK_RES':_0x5955fc(0x189),'LOAD_ERROR':'tm_load_error'},'SELECTORS':{'PLAYER_ELEMENTS':[_0x5955fc(0x1bc),_0x5955fc(0x19e),_0x5955fc(0x1d7),_0x5955fc(0x289),_0x5955fc(0x1f3),_0x5955fc(0x194),_0x5955fc(0x29e),'.bpx-player-container',_0x5955fc(0x2ac),_0x5955fc(0x19f),_0x5955fc(0x271),'#pp-player',_0x5955fc(0x24b),_0x5955fc(0x27a),_0x5955fc(0x216),_0x5955fc(0x1b7),_0x5955fc(0x1d5),_0x5955fc(0x277),_0x5955fc(0x263)],'QUICK_TITLE':[_0x5955fc(0x221),'h1',_0x5955fc(0x215),_0x5955fc(0x254),_0x5955fc(0x1be),_0x5955fc(0x257),'.video-name'],'PRECISE_TITLE':{'iqiyi.com':'.qy-episode-item[class*=\x22is-active\x22]\x20a,\x20.album-list\x20.is-active\x20.title-content,\x20[class*=\x22video-title_text\x22]','youku.com':_0x5955fc(0x1cb),'v.qq.com':'.episode-list-rect__item--current\x20.episode-list-rect__title,\x20.episode-item.current\x20.episode-item-num','bilibili.com':_0x5955fc(0x211),'mgtv.com':_0x5955fc(0x1bf),'sohu.com':_0x5955fc(0x265),'le.com':_0x5955fc(0x1a6),'pptv.com':_0x5955fc(0x184),'acfun.cn':'.active\x20.title-wenzi'}}},_0x44b694=[{'name':'非凡','url':'https://cj.ffzyapi.com/api.php/provide/vod/'},{'name':'卧龙','url':_0x5955fc(0x261)},{'name':'无尽','url':_0x5955fc(0x230)},{'name':'暴风','url':_0x5955fc(0x28d)},{'name':'红牛','url':_0x5955fc(0x2a1)},{'name':'U酷','url':_0x5955fc(0x2a8)},{'name':'光速','url':_0x5955fc(0x21a)},{'name':'新浪','url':_0x5955fc(0x17a)},{'name':'极速','url':'https://jszyapi.com/api.php/provide/vod/'},{'name':'火狐','url':_0x5955fc(0x26c)},{'name':_0x5955fc(0x17d),'url':_0x5955fc(0x21e)},{'name':'速播','url':_0x5955fc(0x288)},{'name':'虎牙','url':_0x5955fc(0x279)},{'name':'百度','url':_0x5955fc(0x2af)},{'name':'魔都','url':_0x5955fc(0x244)},{'name':_0x5955fc(0x192),'url':'https://iqiyizyapi.com/api.php/provide/vod/'},{'name':'爱哭','url':_0x5955fc(0x1c2)},{'name':'金鹰','url':_0x5955fc(0x1db)},{'name':'最大','url':_0x5955fc(0x251)},{'name':_0x5955fc(0x24e),'url':_0x5955fc(0x1f8)}],_0x1a8d4f=[...new Map(_0x44b694[_0x5955fc(0x1e5)](_0x2b6554=>[_0x2b6554[_0x5955fc(0x1c8)],_0x2b6554]))['values']()],_0x3bcf99={'currentEpisodeList':[],'currentPlayingUrl':'','hiddenPlayerElement':null,'isPanelOpen':![],'currentURL':location['href'],'dom':{},'timers':{'resize':null,'panelCollapse':null,'stuck':null},'sessionCache':{'key':null,'results':[]},'activeSourceName':null,'isFirstAutoplayAttempted':![],'currentPageEpisodeNumber':null,'failedUrls':new Set(),'isUserClosed':![],'currentSearchId':0x0},_0x3fc295={'init'(){const _0x4cd9be=_0x5955fc;this[_0x4cd9be(0x247)](),_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x1aa)]=this[_0x4cd9be(0x188)]('div',{'id':'tm-container-fusion'}),_0x3bcf99['dom'][_0x4cd9be(0x1ae)]=this[_0x4cd9be(0x188)]('button',{'id':'tm-main-btn-fusion'}),_0x3bcf99['dom'][_0x4cd9be(0x228)]=this['createElement'](_0x4cd9be(0x1de),{'id':_0x4cd9be(0x1fa)}),_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x256)]=this[_0x4cd9be(0x188)](_0x4cd9be(0x1de),{'id':_0x4cd9be(0x20d)}),_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x225)]=this[_0x4cd9be(0x188)]('div',{'id':_0x4cd9be(0x293),'innerHTML':''}),_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x256)][_0x4cd9be(0x190)]='×',document['body']['append'](_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x1aa)],_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x256)],_0x3bcf99[_0x4cd9be(0x19b)]['globalStatus']),_0x3bcf99['dom'][_0x4cd9be(0x1aa)][_0x4cd9be(0x297)](_0x3bcf99[_0x4cd9be(0x19b)]['mainBtn'],_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x228)]),_0x3bcf99['dom'][_0x4cd9be(0x219)]=document['getElementById'](_0x4cd9be(0x2ad)),_0x3bcf99[_0x4cd9be(0x19b)][_0x4cd9be(0x27c)]=document[_0x4cd9be(0x201)]('tm-close-btn-fusion'),_0x3bcf99[_0x4cd9be(0x19b)]['playerStatus']=document[_0x4cd9be(0x201)](_0x4cd9be(0x27b)),this[_0x4cd9be(0x284)](),this[_0x4cd9be(0x295)]();},'createElement':(_0x55eed9,_0x21052c)=>Object[_0x5955fc(0x17c)](document[_0x5955fc(0x188)](_0x55eed9),_0x21052c),'injectStyle'(){const _0x5b8696=_0x5955fc;GM_addStyle(_0x5b8696(0x23f));},'initDraggableIcon'(){const _0x49cae0=_0x5955fc;let _0x34d501=![],_0xf06f6a=![],_0x5c52ad,_0x457d94;const _0x5ea6e8=_0x3bcf99[_0x49cae0(0x19b)]['container'],_0x2ee5f7=GM_getValue(_0x177eec[_0x49cae0(0x299)],{'left':_0x49cae0(0x2b4),'top':_0x49cae0(0x298)});Object[_0x49cae0(0x17c)](_0x5ea6e8['style'],_0x2ee5f7);const _0x2ecbea=_0x731111=>{const _0x29d808=_0x49cae0;if(!_0x34d501)return;_0xf06f6a=!![];let _0x2da657=_0x731111[_0x29d808(0x1f1)]-_0x5c52ad,_0x2c3668=_0x731111['clientY']-_0x457d94;_0x2da657=Math['max'](0x0,Math[_0x29d808(0x29b)](_0x2da657,window[_0x29d808(0x1a8)]-_0x5ea6e8[_0x29d808(0x282)])),_0x2c3668=Math[_0x29d808(0x2ab)](0x0,Math[_0x29d808(0x29b)](_0x2c3668,window['innerHeight']-_0x5ea6e8[_0x29d808(0x1c4)])),Object[_0x29d808(0x17c)](_0x5ea6e8[_0x29d808(0x1ad)],{'left':_0x2da657+'px','top':_0x2c3668+'px'});},_0x5cf935=()=>{const _0x423db7=_0x49cae0;if(!_0x34d501)return;_0x34d501=![],document[_0x423db7(0x278)][_0x423db7(0x1ad)][_0x423db7(0x207)]='',_0x5ea6e8[_0x423db7(0x1ad)][_0x423db7(0x269)]=_0x423db7(0x1ef),_0x5ea6e8[_0x423db7(0x1ad)][_0x423db7(0x1a1)]='',_0xf06f6a&&GM_setValue(_0x177eec['STORAGE_KEY_ICON_POSITION'],{'left':_0x5ea6e8[_0x423db7(0x1ad)][_0x423db7(0x243)],'top':_0x5ea6e8[_0x423db7(0x1ad)][_0x423db7(0x196)]}),window['removeEventListener'](_0x423db7(0x1d8),_0x2ecbea,!![]),window['removeEventListener'](_0x423db7(0x2a4),_0x5cf935,!![]),window[_0x423db7(0x245)](_0x423db7(0x1e2),_0x5cf935,!![]);},_0x2f079a=_0x699cba=>{const _0x1c7019=_0x49cae0;_0x699cba['stopPropagation']();if(_0x699cba['button']!==0x0)return;_0xf06f6a=![],_0x34d501=!![],document['body'][_0x1c7019(0x1ad)][_0x1c7019(0x207)]=_0x1c7019(0x1b6),_0x5ea6e8[_0x1c7019(0x1ad)][_0x1c7019(0x269)]=_0x1c7019(0x22b),_0x5ea6e8[_0x1c7019(0x1ad)][_0x1c7019(0x1a1)]='none',_0x5c52ad=_0x699cba[_0x1c7019(0x1f1)]-_0x5ea6e8[_0x1c7019(0x268)]()['left'],_0x457d94=_0x699cba[_0x1c7019(0x287)]-_0x5ea6e8[_0x1c7019(0x268)]()[_0x1c7019(0x196)],window[_0x1c7019(0x248)](_0x1c7019(0x1d8),_0x2ecbea,!![]),window['addEventListener'](_0x1c7019(0x2a4),_0x5cf935,!![]),window[_0x1c7019(0x248)]('blur',_0x5cf935,!![]);};_0x5ea6e8[_0x49cae0(0x248)](_0x49cae0(0x18f),_0x2f079a),_0x3bcf99['dom']['mainBtn'][_0x49cae0(0x28b)]=_0x525134=>{const _0x283021=_0x49cae0;if(_0xf06f6a){_0x525134['stopPropagation']();return;}_0x525134['stopPropagation']();if(_0x3bcf99[_0x283021(0x1dc)])this[_0x283021(0x241)]();else{const _0x167e63=location[_0x283021(0x1eb)];_0x3bcf99[_0x283021(0x1f7)][_0x283021(0x1d9)]===_0x167e63&&_0x3bcf99['sessionCache'][_0x283021(0x259)][_0x283021(0x1a7)]>0x0?(this['showPanel'](),this[_0x283021(0x2b8)]()):(this[_0x283021(0x22c)](),_0x21cb83[_0x283021(0x24d)]());}};},'attachEventListeners'(){const _0x3a1646=_0x5955fc;_0x3bcf99['dom'][_0x3a1646(0x27c)][_0x3a1646(0x28b)]=()=>_0x5b3bfd[_0x3a1646(0x255)](),_0x3bcf99[_0x3a1646(0x19b)]['panel'][_0x3a1646(0x20a)]=()=>{const _0x6e604f=_0x3a1646;this['clearTimer'](_0x6e604f(0x25f));},_0x3bcf99[_0x3a1646(0x19b)][_0x3a1646(0x228)][_0x3a1646(0x17e)]=()=>{const _0x1bcc78=_0x3a1646;_0x3bcf99[_0x1bcc78(0x27e)][_0x1bcc78(0x25f)]=setTimeout(()=>this['hidePanel'](),_0x177eec[_0x1bcc78(0x26a)]);},window[_0x3a1646(0x248)]('resize',()=>{const _0x476dde=_0x3a1646;this[_0x476dde(0x205)]('resize'),_0x3bcf99['timers'][_0x476dde(0x232)]=setTimeout(()=>_0x5b3bfd[_0x476dde(0x23d)](),0x64);}),window[_0x3a1646(0x248)](_0x3a1646(0x199),_0x2763c4=>_0x5b3bfd['handleMessage'](_0x2763c4));},'renderInitialPanel'(){const _0x5816f7=_0x5955fc;_0x3bcf99['dom'][_0x5816f7(0x228)][_0x5816f7(0x1ad)]['width']='150px',_0x3bcf99[_0x5816f7(0x19b)][_0x5816f7(0x228)]['innerHTML']='';},'addSourceResult'(_0x1282be){const _0x5254c2=_0x5955fc,_0x40399b=_0x3bcf99[_0x5254c2(0x19b)][_0x5254c2(0x228)]['querySelector'](_0x5254c2(0x218));if(!_0x40399b||!_0x3bcf99[_0x5254c2(0x1dc)])return;const _0x48dc1d=Array[_0x5254c2(0x1f5)](_0x40399b[_0x5254c2(0x22a)])[_0x5254c2(0x1ee)](_0x1a036f=>_0x1a036f[_0x5254c2(0x26f)][_0x5254c2(0x1cc)](_0x1282be[_0x5254c2(0x1c8)]));if(_0x48dc1d)return;const _0x2d9c83=_0x1282be[_0x5254c2(0x222)]['vod_play_url'][_0x5254c2(0x1fd)](_0x5254c2(0x1fe))[_0x5254c2(0x1da)]()[_0x5254c2(0x1fd)]('#')[_0x5254c2(0x1a7)],_0x18aebe=_0x3fc295[_0x5254c2(0x188)](_0x5254c2(0x19d),{'textContent':_0x1282be[_0x5254c2(0x1c8)]+'\x20('+_0x2d9c83+_0x5254c2(0x1b2)+_0x1282be['latency']+_0x5254c2(0x209),'className':'tm-collection-btn','onclick':()=>{const _0x18fbae=_0x5254c2;_0x3bcf99[_0x18fbae(0x280)]=_0x1282be[_0x18fbae(0x1c8)],this[_0x18fbae(0x1f0)](_0x1282be,![],_0x3bcf99[_0x18fbae(0x1c3)]);}});_0x1282be['name']===_0x3bcf99[_0x5254c2(0x280)]&&_0x18aebe[_0x5254c2(0x1ec)][_0x5254c2(0x1ab)](_0x5254c2(0x200)),_0x40399b[_0x5254c2(0x1e7)](_0x18aebe),_0x3fc295[_0x5254c2(0x20f)](_0x40399b,!![]);},'renderSourceListFromCache'(){const _0x334ce4=_0x5955fc;this[_0x334ce4(0x238)](),this[_0x334ce4(0x19c)]('共\x20'+_0x3bcf99[_0x334ce4(0x1f7)][_0x334ce4(0x259)][_0x334ce4(0x1a7)]+_0x334ce4(0x25e),![]);const _0x1cc271=_0x3bcf99[_0x334ce4(0x19b)]['panel'][_0x334ce4(0x25c)](_0x334ce4(0x218));_0x3bcf99['sessionCache'][_0x334ce4(0x259)][_0x334ce4(0x2a0)](_0x353677=>this['addSourceResult'](_0x353677));if(_0x1cc271)this[_0x334ce4(0x20f)](_0x1cc271,!![]);},'renderEpisodeList'(_0x3dbaf7,_0x456e51=![],_0x18747e=null){const _0x1c7825=_0x5955fc;if(_0x3bcf99[_0x1c7825(0x1b3)])return;_0x3fc295[_0x1c7825(0x1e6)]();const _0x180db0=_0x3bcf99['dom']['panel'][_0x1c7825(0x25c)](_0x1c7825(0x218));if(!_0x180db0)return;_0x180db0[_0x1c7825(0x190)]='',_0x180db0[_0x1c7825(0x20c)]=_0x1c7825(0x26d),this[_0x1c7825(0x19c)](_0x1c7825(0x1a2),![]);const _0x9408d9=_0x3bcf99['dom']['panel'][_0x1c7825(0x25c)](_0x1c7825(0x1fb));_0x9408d9[_0x1c7825(0x1ad)][_0x1c7825(0x269)]='pointer',_0x9408d9['onclick']=()=>this[_0x1c7825(0x2b8)](),_0x3bcf99[_0x1c7825(0x273)]=[];const _0x5ef197=_0x3dbaf7[_0x1c7825(0x222)]['vod_play_url']['split'](_0x1c7825(0x1fe))[_0x1c7825(0x1da)]()[_0x1c7825(0x1fd)]('#');_0x5ef197[_0x1c7825(0x2a0)](_0x583041=>{const _0x1af484=_0x1c7825,[_0x420987,_0x4608f6]=_0x583041[_0x1af484(0x1fd)]('$');if(!_0x420987||!_0x4608f6)return;_0x3bcf99[_0x1af484(0x273)][_0x1af484(0x1e0)]({'name':_0x420987,'url':_0x4608f6});const _0x5db18a=_0x3fc295['createElement']('button',{'textContent':_0x420987,'className':_0x1af484(0x213),'onclick':()=>{const _0x31a34d=_0x1af484,_0x3738d5=_0x20c1dc[_0x31a34d(0x29d)](_0x420987);_0x3738d5&&(_0x3bcf99[_0x31a34d(0x1c3)]=_0x3738d5),_0x5b3bfd[_0x31a34d(0x26e)](_0x4608f6);}});_0x5db18a[_0x1af484(0x252)][_0x1af484(0x25a)]=_0x4608f6,_0x180db0[_0x1af484(0x1e7)](_0x5db18a);}),this[_0x1c7825(0x20f)](_0x180db0,![]);if(!_0x18747e)return;;let _0xa224c2=null;const _0xb1c1e4=_0x180db0[_0x1c7825(0x28c)]('.tm-collection-btn');for(const _0x4d4ed4 of _0xb1c1e4){const _0x43b271=_0x20c1dc['getEpisodeNumberFromString'](_0x4d4ed4[_0x1c7825(0x26f)]);if(_0x43b271&&parseInt(_0x18747e,0xa)===parseInt(_0x43b271,0xa)){_0xa224c2=_0x4d4ed4;break;}}_0xa224c2&&(_0xa224c2[_0x1c7825(0x1ec)][_0x1c7825(0x1ab)](_0x1c7825(0x240)),setTimeout(()=>_0xa224c2['scrollIntoView']({'behavior':_0x1c7825(0x1f2),'block':_0x1c7825(0x276)}),0x64),_0x456e51?(this['updateStatus'](_0x1c7825(0x250)+_0xa224c2[_0x1c7825(0x26f)]),_0x5b3bfd[_0x1c7825(0x26e)](_0xa224c2[_0x1c7825(0x252)][_0x1c7825(0x25a)])):this[_0x1c7825(0x19c)](_0x1c7825(0x22d)+_0xa224c2[_0x1c7825(0x26f)]));},'updateStatus'(_0x38c034,_0x4fc63c=![]){const _0x21f848=_0x5955fc,_0xd96d24=_0x3bcf99[_0x21f848(0x19b)]['panel']['querySelector'](_0x21f848(0x1fb));_0xd96d24&&(_0xd96d24[_0x21f848(0x26f)]=_0x38c034,_0xd96d24[_0x21f848(0x1ad)]['color']=_0x4fc63c?_0x21f848(0x2ba):_0x21f848(0x224),_0xd96d24['style']['backgroundColor']=_0x4fc63c?_0x21f848(0x18a):_0x21f848(0x234),_0xd96d24[_0x21f848(0x1ad)][_0x21f848(0x269)]=_0x21f848(0x1a5));},'updatePlayerStatus'(_0x274548,_0x3c277e=!![]){const _0x2e069e=_0x5955fc;_0x3c277e&&_0x274548?(_0x3bcf99[_0x2e069e(0x19b)]['playerStatus']['textContent']=_0x274548,_0x3bcf99[_0x2e069e(0x19b)][_0x2e069e(0x225)][_0x2e069e(0x1ad)][_0x2e069e(0x294)]=_0x2e069e(0x1e4),setTimeout(()=>_0x3bcf99[_0x2e069e(0x19b)][_0x2e069e(0x225)][_0x2e069e(0x1ad)][_0x2e069e(0x217)]='1',0xa)):(_0x3bcf99[_0x2e069e(0x19b)][_0x2e069e(0x225)][_0x2e069e(0x1ad)]['opacity']='0',setTimeout(()=>{const _0x1c8187=_0x2e069e;_0x3bcf99[_0x1c8187(0x19b)][_0x1c8187(0x225)][_0x1c8187(0x1ad)][_0x1c8187(0x217)]==='0'&&(_0x3bcf99[_0x1c8187(0x19b)][_0x1c8187(0x225)][_0x1c8187(0x1ad)][_0x1c8187(0x294)]=_0x1c8187(0x1b6));},0x12c));},'highlightPlayingEpisode'(_0x10355f){const _0x2fd310=_0x5955fc,_0xb82595=_0x3bcf99[_0x2fd310(0x19b)][_0x2fd310(0x228)]['querySelector'](_0x2fd310(0x218));if(!_0xb82595)return;_0xb82595[_0x2fd310(0x28c)](_0x2fd310(0x272))[_0x2fd310(0x2a0)](_0x1165fa=>_0x1165fa[_0x2fd310(0x1ec)][_0x2fd310(0x1ca)]('tm-episode-matched'));const _0x432645=_0xb82595[_0x2fd310(0x25c)](_0x2fd310(0x1dd)+_0x10355f+'\x22]');_0x432645&&(_0x432645[_0x2fd310(0x1ec)]['add']('tm-episode-matched'),_0x432645[_0x2fd310(0x1d4)]({'behavior':_0x2fd310(0x1f2),'block':'center'}));},'autoResizePanel'(_0x209f72,_0x4b66a1){setTimeout(()=>{const _0x3eda38=_0x272f;if(!_0x3bcf99[_0x3eda38(0x1dc)])return;const _0x1e006d=_0x209f72[_0x3eda38(0x28c)](_0x3eda38(0x185));if(!_0x1e006d[_0x3eda38(0x1a7)])return;let _0x222c7b=0x0;if(_0x4b66a1)_0x222c7b=Math[_0x3eda38(0x2ab)](...Array['from'](_0x1e006d)[_0x3eda38(0x1e5)](_0x52a29a=>_0x52a29a['scrollWidth']));else for(let _0x3e4509=0x0;_0x3e4509<_0x1e006d[_0x3eda38(0x1a7)];_0x3e4509+=0x2){const _0xed95a3=(_0x1e006d[_0x3e4509]?.[_0x3eda38(0x1ce)]||0x0)+(_0x1e006d[_0x3e4509+0x1]?.[_0x3eda38(0x1ce)]||0x0)+0x4;if(_0xed95a3>_0x222c7b)_0x222c7b=_0xed95a3;}_0x3bcf99[_0x3eda38(0x19b)][_0x3eda38(0x228)]['style']['width']=_0x222c7b+0xe+'px';},0xa);},'toggleLoading'(_0x2bdad4){const _0x1f2a45=_0x5955fc;_0x3bcf99[_0x1f2a45(0x19b)][_0x1f2a45(0x1ae)][_0x1f2a45(0x1ec)][_0x1f2a45(0x24f)](_0x1f2a45(0x21b),_0x2bdad4);},'showPanel'(){const _0x29094a=_0x5955fc;_0x3bcf99['dom'][_0x29094a(0x228)][_0x29094a(0x1ad)]['display']='flex',_0x3bcf99[_0x29094a(0x1dc)]=!![];},'hidePanel'(){const _0x10a484=_0x5955fc;_0x3bcf99[_0x10a484(0x19b)][_0x10a484(0x228)][_0x10a484(0x1ad)][_0x10a484(0x294)]=_0x10a484(0x1b6),_0x3bcf99['isPanelOpen']=![],this[_0x10a484(0x1e6)]();},'clearTimer'(_0x2454a9){const _0x1a7664=_0x5955fc;clearInterval(_0x3bcf99[_0x1a7664(0x27e)][_0x2454a9]),clearTimeout(_0x3bcf99[_0x1a7664(0x27e)][_0x2454a9]),_0x3bcf99[_0x1a7664(0x27e)][_0x2454a9]=null;},'clearAllTimers'(){const _0x15941e=_0x5955fc;Object[_0x15941e(0x202)](_0x3bcf99['timers'])['forEach'](_0x3c2cbe=>this[_0x15941e(0x205)](_0x3c2cbe));}},_0x21cb83={async 'masterSearch'(){const _0x25d9b5=_0x5955fc;_0x3fc295[_0x25d9b5(0x1e6)](),_0x3fc295[_0x25d9b5(0x238)](),_0x3fc295[_0x25d9b5(0x198)](!![]),_0x5b3bfd[_0x25d9b5(0x2a5)](),_0x3fc295[_0x25d9b5(0x19c)](_0x25d9b5(0x23b));const _0x19d66f=_0x20c1dc['getQuickMainTitle']();if(!_0x19d66f){_0x3fc295['updateStatus'](_0x25d9b5(0x1b8),!![]),_0x3fc295[_0x25d9b5(0x198)](![]);return;}const _0x31efe9=await _0x20c1dc['getCurrentEpisodeNumber']();_0x3bcf99[_0x25d9b5(0x1c3)]=_0x31efe9,_0x3bcf99['sessionCache']={'key':location['href'],'results':[]},_0x3bcf99[_0x25d9b5(0x280)]=null,_0x3bcf99[_0x25d9b5(0x235)]=![],_0x3bcf99['failedUrls']['clear'](),_0x3bcf99['isUserClosed']=![];const _0x2df6df=Date['now']();_0x3bcf99[_0x25d9b5(0x274)]=_0x2df6df,this[_0x25d9b5(0x1a0)](_0x19d66f,_0x31efe9,_0x2df6df)['then'](()=>{const _0x347ebc=_0x25d9b5;if(_0x3bcf99[_0x347ebc(0x274)]===_0x2df6df){_0x3fc295[_0x347ebc(0x198)](![]);if(_0x3bcf99[_0x347ebc(0x1f7)]['results'][_0x347ebc(0x1a7)]===0x0)_0x3fc295[_0x347ebc(0x19c)](_0x347ebc(0x208),!![]);else!_0x3bcf99[_0x347ebc(0x235)]&&!_0x3bcf99[_0x347ebc(0x1b3)]&&_0x3fc295['updateStatus'](_0x347ebc(0x182),![]);}});},async 'performApiSearch'(_0x338008,_0x2af42f,_0x109dd2){const _0x5518fc=_0x5955fc;let _0x1a6ad6=0x0;const _0x3b310d=async _0x1784f3=>{const _0x191dc9=_0x272f;if(_0x3bcf99['isUserClosed']||_0x3bcf99[_0x191dc9(0x274)]!==_0x109dd2)return;const _0x17b11d=await this[_0x191dc9(0x1ba)](_0x1784f3,_0x338008);if(_0x3bcf99['currentSearchId']!==_0x109dd2)return;_0x1a6ad6++;if(_0x3bcf99[_0x191dc9(0x1dc)]&&!_0x3bcf99[_0x191dc9(0x235)]&&!_0x3bcf99['isUserClosed'])_0x3fc295[_0x191dc9(0x19c)]('竞速搜索...\x20('+_0x1a6ad6+'/'+_0x1a8d4f[_0x191dc9(0x1a7)]+')');if(_0x17b11d&&!_0x3bcf99[_0x191dc9(0x1b3)]){if(_0x3bcf99[_0x191dc9(0x1f7)][_0x191dc9(0x259)][_0x191dc9(0x29f)](_0x4b6b18=>_0x4b6b18[_0x191dc9(0x1c8)]===_0x17b11d[_0x191dc9(0x1c8)]))return;_0x3bcf99['sessionCache']['results'][_0x191dc9(0x1e0)](_0x17b11d),_0x3fc295[_0x191dc9(0x1af)](_0x17b11d);if(_0x177eec['AUTO_EXPAND_BEST_SOURCE']&&!_0x3bcf99[_0x191dc9(0x235)]){const _0x286f5f=_0x17b11d[_0x191dc9(0x222)][_0x191dc9(0x2a6)][_0x191dc9(0x1fd)](_0x191dc9(0x1fe))[_0x191dc9(0x1da)]()['split']('#'),_0x29ba8f=_0x286f5f[_0x191dc9(0x1ee)](_0x17db8a=>{const _0x2c7f76=_0x191dc9,[_0x5a4f23]=_0x17db8a[_0x2c7f76(0x1fd)]('$'),_0x5bbdff=_0x20c1dc[_0x2c7f76(0x29d)](_0x5a4f23);return _0x5bbdff&&parseInt(_0x5bbdff,0xa)===parseInt(_0x2af42f,0xa);});_0x29ba8f&&(_0x3bcf99[_0x191dc9(0x235)]=!![],_0x3bcf99[_0x191dc9(0x280)]=_0x17b11d['name'],_0x3fc295['updateStatus']('⚡\x20极速命中:\x20'+_0x17b11d['name'],![]),_0x3fc295['renderEpisodeList'](_0x17b11d,!![],_0x2af42f));}}};await _0x20c1dc['asyncPool'](_0x177eec[_0x5518fc(0x266)],_0x1a8d4f,_0x3b310d);},'searchSingleApi':(_0x2e669e,_0x478711)=>new Promise(async _0x4f8cef=>{const _0x586733=_0x5955fc;try{const _0x260b61=await _0x20c1dc[_0x586733(0x1c5)](_0x586733(0x27d)+encodeURIComponent(_0x478711),_0x2e669e);let _0x6b823b=_0x260b61[_0x586733(0x24c)];const _0xb4cdf5=_0x260b61[_0x586733(0x222)]?.[_0x586733(0x1d3)]?.[0x0]?.[_0x586733(0x1e9)];if(!_0xb4cdf5)return _0x4f8cef(null);const _0x1fccb1=await _0x20c1dc[_0x586733(0x1c5)](_0x586733(0x226)+_0xb4cdf5,_0x2e669e);_0x6b823b+=_0x1fccb1[_0x586733(0x24c)];const _0x4855eb=_0x1fccb1[_0x586733(0x222)]?.[_0x586733(0x1d3)]?.[0x0];if(!_0x4855eb?.['vod_play_url'])return _0x4f8cef(null);_0x4f8cef({'name':_0x2e669e[_0x586733(0x1c8)],'data':_0x4855eb,'latency':_0x6b823b});}catch(_0x219c3e){_0x4f8cef(null);}})},_0x5b3bfd={async 'showPlaceholder'(){const _0x29ffaf=_0x5955fc;if(_0x3bcf99[_0x29ffaf(0x1b3)])return;this[_0x29ffaf(0x2aa)]();const _0x25bc17='
正在全网搜寻资源...
';_0x3bcf99[_0x29ffaf(0x19b)][_0x29ffaf(0x219)][_0x29ffaf(0x231)]=_0x25bc17;try{const _0x3d7235=await _0x20c1dc['waitForPlayerResize'](_0x3bcf99[_0x29ffaf(0x18b)]);Object[_0x29ffaf(0x17c)](_0x3bcf99[_0x29ffaf(0x19b)]['playerOverlay']['style'],{'position':_0x29ffaf(0x2b0),'top':_0x3d7235['top']+window[_0x29ffaf(0x1b1)]+'px','left':_0x3d7235[_0x29ffaf(0x243)]+'px','width':_0x3d7235[_0x29ffaf(0x24a)]+'px','height':_0x3d7235[_0x29ffaf(0x1b9)]+'px'});}catch(_0x526608){Object[_0x29ffaf(0x17c)](_0x3bcf99['dom'][_0x29ffaf(0x256)]['style'],{'position':_0x29ffaf(0x1c6),'top':'0','left':'0','width':_0x29ffaf(0x2b9),'height':_0x29ffaf(0x2b9)});}_0x3bcf99[_0x29ffaf(0x19b)][_0x29ffaf(0x256)]['style'][_0x29ffaf(0x294)]=_0x29ffaf(0x1e4);},async 'start'(_0x56f632){const _0xbeb6ef=_0x5955fc;if(_0x3bcf99[_0xbeb6ef(0x1b3)])return;_0x3fc295[_0xbeb6ef(0x1e6)](),_0x3fc295['hidePanel'](),_0x3bcf99['currentPlayingUrl']=_0x56f632,_0x3fc295[_0xbeb6ef(0x25b)](_0x56f632),this[_0xbeb6ef(0x1cf)](_0x56f632);},'attemptToPlay'(_0x34d9d9){const _0x22f3ff=_0x5955fc;if(_0x3bcf99[_0x22f3ff(0x1b3)])return;_0x3fc295[_0x22f3ff(0x205)](_0x22f3ff(0x26b)),_0x3fc295['updatePlayerStatus']('正在急速加载\x20(5秒超时)...');const _0x181996=this[_0x22f3ff(0x1a4)](_0x34d9d9);_0x3bcf99[_0x22f3ff(0x19b)][_0x22f3ff(0x219)][_0x22f3ff(0x231)]=_0x181996,_0x3bcf99[_0x22f3ff(0x19b)]['iframePlayer'][_0x22f3ff(0x21d)]=()=>{const _0x5333e4=_0x22f3ff;if(_0x3bcf99[_0x5333e4(0x1b3)])return;_0x3bcf99[_0x5333e4(0x27e)][_0x5333e4(0x26b)]=setTimeout(()=>{const _0x130273=_0x5333e4;this[_0x130273(0x1df)]();},_0x177eec[_0x5333e4(0x1fc)]);};},'checkStuckStatus'(){const _0x5b7877=_0x5955fc;if(_0x3bcf99[_0x5b7877(0x1b3)])return;_0x3bcf99['dom'][_0x5b7877(0x219)]&&_0x3bcf99['dom']['iframePlayer']['contentWindow']&&_0x3bcf99['dom'][_0x5b7877(0x219)][_0x5b7877(0x17f)][_0x5b7877(0x18d)]({'type':_0x177eec[_0x5b7877(0x290)][_0x5b7877(0x21f)]},'*');},'autoSwitchSource'(){const _0x11b2a8=_0x5955fc;_0x3bcf99[_0x11b2a8(0x183)][_0x11b2a8(0x1ab)](_0x3bcf99[_0x11b2a8(0x1e3)]);const _0x466915=parseInt(_0x3bcf99['currentPageEpisodeNumber'],0xa);if(isNaN(_0x466915)){_0x3fc295[_0x11b2a8(0x1b4)](_0x11b2a8(0x1b0),!![]);return;}let _0x28b29e=null;for(const _0x1a834b of _0x3bcf99['sessionCache'][_0x11b2a8(0x259)]){if(_0x1a834b[_0x11b2a8(0x1c8)]===_0x3bcf99['activeSourceName'])continue;if(!_0x1a834b['data']||!_0x1a834b[_0x11b2a8(0x222)][_0x11b2a8(0x2a6)])continue;const _0x3e142e=_0x1a834b[_0x11b2a8(0x222)][_0x11b2a8(0x2a6)][_0x11b2a8(0x1fd)](_0x11b2a8(0x1fe))[_0x11b2a8(0x1da)]()[_0x11b2a8(0x1fd)]('#'),_0x1a505a=_0x3e142e[_0x11b2a8(0x1ee)](_0x503ef6=>{const _0x2e60c5=_0x11b2a8,[_0x1a757d,_0x893b0c]=_0x503ef6[_0x2e60c5(0x1fd)]('$'),_0x17f522=_0x20c1dc[_0x2e60c5(0x29d)](_0x1a757d);return _0x17f522&&parseInt(_0x17f522,0xa)===_0x466915&&!_0x3bcf99[_0x2e60c5(0x183)]['has'](_0x893b0c);});if(_0x1a505a){_0x28b29e={'result':_0x1a834b,'url':_0x1a505a['split']('$')[0x1]};break;}}_0x28b29e?(_0x3bcf99[_0x11b2a8(0x280)]=_0x28b29e[_0x11b2a8(0x275)][_0x11b2a8(0x1c8)],_0x3fc295[_0x11b2a8(0x19c)](_0x11b2a8(0x260)+_0x28b29e[_0x11b2a8(0x275)][_0x11b2a8(0x1c8)],![]),_0x3fc295['renderEpisodeList'](_0x28b29e[_0x11b2a8(0x275)],!![],_0x3bcf99[_0x11b2a8(0x1c3)])):_0x3fc295[_0x11b2a8(0x1b4)](_0x11b2a8(0x19a),!![]);},'createHTML'(_0x4426f3){const _0x27f8a9=_0x5955fc,_0x2e7740=_0x4426f3+(_0x4426f3['includes']('?')?'&':'?')+(_0x27f8a9(0x2b2)+Date['now']()),_0x232ccc=_0x2e7740[_0x27f8a9(0x236)](/'/g,'\x5c\x27'),_0x280682=JSON[_0x27f8a9(0x1d6)](_0x177eec['HLS_CONFIG']),_0x4fe543='\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hls\x20=\x20new\x20Hls('+_0x280682+_0x27f8a9(0x2a7)+_0x232ccc+_0x27f8a9(0x1bd)+_0x177eec[_0x27f8a9(0x290)]['LOAD_ERROR']+_0x27f8a9(0x1f9);return _0x27f8a9(0x1a9)+_0x232ccc+_0x27f8a9(0x212)+_0x4fe543+_0x27f8a9(0x264)+_0x177eec['MESSAGES'][_0x27f8a9(0x29c)]+_0x27f8a9(0x29a)+_0x177eec['MESSAGES'][_0x27f8a9(0x270)]+_0x27f8a9(0x187)+_0x177eec[_0x27f8a9(0x290)]['CHECK_STUCK_REQ']+_0x27f8a9(0x1c0)+_0x177eec[_0x27f8a9(0x290)][_0x27f8a9(0x2ae)]+_0x27f8a9(0x1e1);},'handleMessage'(_0xd0dd19){const _0x21b689=_0x5955fc;if(_0x3bcf99['isUserClosed'])return;const _0x255129=_0xd0dd19['data'];if(!_0x255129?.[_0x21b689(0x21c)])return;if(_0x255129[_0x21b689(0x21c)]===_0x177eec[_0x21b689(0x290)][_0x21b689(0x29c)]){if(!_0x3bcf99[_0x21b689(0x1e3)]||!_0x3bcf99[_0x21b689(0x273)][_0x21b689(0x1a7)])return;const _0xbbfc36=_0x3bcf99[_0x21b689(0x273)][_0x21b689(0x1d0)](_0x3d47e9=>_0x3d47e9[_0x21b689(0x25a)]===_0x3bcf99[_0x21b689(0x1e3)]);if(_0xbbfc36>-0x1&&_0xbbfc36<_0x3bcf99[_0x21b689(0x273)][_0x21b689(0x1a7)]-0x1){const _0x3e5173=_0x3bcf99['currentEpisodeList'][_0xbbfc36+0x1];_0x3fc295['updatePlayerStatus']('自动播放下集:\x20'+_0x3e5173[_0x21b689(0x1c8)],!![]),setTimeout(()=>this[_0x21b689(0x26e)](_0x3e5173[_0x21b689(0x25a)]),_0x177eec[_0x21b689(0x22e)]);}else _0x3fc295[_0x21b689(0x1b4)]('播放完毕',!![]),setTimeout(()=>this['close'](),0xbb8);}else{if(_0x255129[_0x21b689(0x21c)]===_0x177eec[_0x21b689(0x290)][_0x21b689(0x227)])console[_0x21b689(0x1c7)](_0x21b689(0x229)),_0x3fc295[_0x21b689(0x1b4)](_0x21b689(0x191),!![]),this[_0x21b689(0x1ac)]();else{if(_0x255129[_0x21b689(0x21c)]===_0x177eec[_0x21b689(0x290)][_0x21b689(0x270)])_0x3fc295[_0x21b689(0x205)](_0x21b689(0x26b)),_0x3fc295[_0x21b689(0x1b4)]('',![]);else _0x255129['type']===_0x177eec[_0x21b689(0x290)]['CHECK_STUCK_RES']&&(_0x255129[_0x21b689(0x1c9)]<0.1&&(console['log'](_0x21b689(0x23c)),_0x3fc295['updatePlayerStatus'](_0x21b689(0x20e),!![]),this['autoSwitchSource']()));}}},'close'(){const _0x1a925e=_0x5955fc;_0x3fc295[_0x1a925e(0x1e6)](),_0x3bcf99[_0x1a925e(0x1b3)]=!![],_0x3bcf99[_0x1a925e(0x19b)][_0x1a925e(0x219)][_0x1a925e(0x220)]=_0x1a925e(0x25d),_0x3bcf99[_0x1a925e(0x19b)][_0x1a925e(0x219)]['srcdoc']='',_0x3bcf99['dom'][_0x1a925e(0x256)]['style'][_0x1a925e(0x294)]='none',_0x3fc295[_0x1a925e(0x1b4)]('',![]),_0x3bcf99['hiddenPlayerElement']&&(_0x3bcf99['hiddenPlayerElement'][_0x1a925e(0x1ad)]['visibility']=_0x1a925e(0x206),_0x3bcf99[_0x1a925e(0x18b)]=null),_0x3bcf99[_0x1a925e(0x1e3)]='',_0x3bcf99[_0x1a925e(0x235)]=!![];},'pauseAndHideOriginalPlayer'(){const _0x21a346=_0x5955fc;document[_0x21a346(0x28c)](_0x21a346(0x210))['forEach'](_0x4c0132=>{const _0x54003f=_0x21a346;if(!_0x4c0132[_0x54003f(0x2a9)])_0x4c0132['pause']();}),_0x3bcf99[_0x21a346(0x18b)]=_0x20c1dc['findWebsitePlayerElement'](),_0x3bcf99[_0x21a346(0x18b)]&&(_0x3bcf99['hiddenPlayerElement'][_0x21a346(0x1ad)][_0x21a346(0x28f)]=_0x21a346(0x246));},'updateOverlayPosition'(){const _0x20d63a=_0x5955fc;if(_0x3bcf99[_0x20d63a(0x18b)]&&_0x3bcf99['dom'][_0x20d63a(0x256)][_0x20d63a(0x1ad)][_0x20d63a(0x294)]==='block'){const _0x52ba0a=_0x3bcf99[_0x20d63a(0x18b)][_0x20d63a(0x268)]();Object[_0x20d63a(0x17c)](_0x3bcf99[_0x20d63a(0x19b)][_0x20d63a(0x256)][_0x20d63a(0x1ad)],{'top':_0x52ba0a[_0x20d63a(0x196)]+window[_0x20d63a(0x1b1)]+'px','left':_0x52ba0a[_0x20d63a(0x243)]+'px','width':_0x52ba0a[_0x20d63a(0x24a)]+'px','height':_0x52ba0a['height']+'px'});}}},_0x20c1dc={async 'asyncPool'(_0x23850c,_0x31502d,_0x19ebac){const _0x2e4e46=_0x5955fc,_0x2d3056=[],_0x1aa5e7=new Set();for(const _0x239dd0 of _0x31502d){const _0x3a9945=Promise[_0x2e4e46(0x1c1)]()[_0x2e4e46(0x1b5)](()=>_0x19ebac(_0x239dd0));_0x2d3056[_0x2e4e46(0x1e0)](_0x3a9945),_0x1aa5e7['add'](_0x3a9945);const _0xecae15=()=>_0x1aa5e7[_0x2e4e46(0x249)](_0x3a9945);_0x3a9945['then'](_0xecae15)[_0x2e4e46(0x23e)](_0xecae15),_0x1aa5e7['size']>=_0x23850c&&await Promise[_0x2e4e46(0x253)](_0x1aa5e7);}return Promise[_0x2e4e46(0x239)](_0x2d3056);},'robustRequest'(_0x157185,_0x40a554){return new Promise((_0x4c68e7,_0x4d1324)=>{const _0x3cd803=_0x272f,_0x18d28d=Date['now']();GM_xmlhttpRequest({'method':_0x3cd803(0x1d1),'url':_0x40a554['url']+'?'+_0x157185,'headers':{'Referer':new URL(_0x40a554['url'])[_0x3cd803(0x2b6)],'User-Agent':_0x3cd803(0x23a)},'timeout':_0x177eec[_0x3cd803(0x281)],'onload':_0x19a12c=>{const _0x1d493b=_0x3cd803,_0xb3001f=Date[_0x1d493b(0x22f)]()-_0x18d28d;if(_0x19a12c['status']!==0xc8||!_0x19a12c['responseText']||_0x19a12c[_0x1d493b(0x1ff)][_0x1d493b(0x223)]()[_0x1d493b(0x1cc)]('<'))return _0x4d1324(new Error('API\x20format\x20error'));try{_0x4c68e7({'data':JSON['parse'](_0x19a12c[_0x1d493b(0x1ff)]),'latency':_0xb3001f});}catch(_0x363769){_0x4d1324(new Error(_0x1d493b(0x28a)));}},'onerror':_0x456373=>_0x4d1324(new Error(_0x3cd803(0x2b3)+_0x456373[_0x3cd803(0x214)])),'ontimeout':()=>_0x4d1324(new Error(_0x3cd803(0x28e)))});});},'getQuickMainTitle'(){const _0x5b56ca=_0x5955fc;for(const _0x3d9b89 of _0x177eec[_0x5b56ca(0x195)]['QUICK_TITLE']){const _0x31d56a=document[_0x5b56ca(0x25c)](_0x3d9b89);if(_0x31d56a){const _0x4a3fa8=(_0x31d56a[_0x5b56ca(0x193)](_0x5b56ca(0x1f6))||_0x31d56a[_0x5b56ca(0x26f)]||'')[_0x5b56ca(0x223)]();if(_0x4a3fa8)return _0x4a3fa8[_0x5b56ca(0x1fd)](/[-_\s((]/)[0x0][_0x5b56ca(0x236)](/第.+[集季部]/,'')[_0x5b56ca(0x223)]();}}return document['title'][_0x5b56ca(0x1fd)](/[-_\s((]/)[0x0][_0x5b56ca(0x236)](/第.+[集季部]/,'')[_0x5b56ca(0x223)]();},async 'getCurrentEpisodeNumber'(){const _0x37d273=_0x5955fc;try{const _0x3c56c3=new URLSearchParams(location[_0x37d273(0x1eb)]);if(_0x3c56c3[_0x37d273(0x1cd)]('s4')){const _0x566d20=_0x3c56c3[_0x37d273(0x1ed)]('s4');if(_0x566d20&&!isNaN(_0x566d20))return _0x566d20;}if(_0x3c56c3[_0x37d273(0x1cd)]('tvname')){const _0x1ae3a9=this[_0x37d273(0x29d)](decodeURIComponent(_0x3c56c3[_0x37d273(0x1ed)](_0x37d273(0x180))));if(_0x1ae3a9)return _0x1ae3a9;}}catch(_0x18a960){}const _0xfebbbd=window[_0x37d273(0x292)][_0x37d273(0x204)],_0x4475d8=Object[_0x37d273(0x202)](_0x177eec[_0x37d273(0x195)][_0x37d273(0x18e)])[_0x37d273(0x1ee)](_0xbf6b49=>_0xfebbbd[_0x37d273(0x2b7)](_0xbf6b49));if(_0x4475d8)try{const _0x2563dc=await this[_0x37d273(0x197)](_0x177eec[_0x37d273(0x195)][_0x37d273(0x18e)][_0x4475d8]);if(_0x2563dc?.[_0x37d273(0x26f)]){const _0x368c81=this['getEpisodeNumberFromString'](_0x2563dc[_0x37d273(0x26f)][_0x37d273(0x223)]());if(_0x368c81)return _0x368c81;}}catch(_0x549fa9){console['warn'](_0x37d273(0x18c)+_0x549fa9[_0x37d273(0x199)]);}return this[_0x37d273(0x29d)](document[_0x37d273(0x181)]);},'getEpisodeNumberFromString'(_0xd4193c){const _0x15a5bd=_0x5955fc;if(!_0xd4193c)return null;let _0x3f03e5=_0xd4193c[_0x15a5bd(0x283)](/(?:第|EP|Ep|ep|E)\s*(\d+)/);if(_0x3f03e5&&_0x3f03e5[0x1])return _0x3f03e5[0x1];_0x3f03e5=_0xd4193c[_0x15a5bd(0x283)](/(?:\D|^)(\d{1,4})(?:\D|$)/);if(_0x3f03e5&&_0x3f03e5[0x1])return _0x3f03e5[0x1];const _0x5528ae=_0xd4193c['match'](/\d+/g);return _0x5528ae?_0x5528ae[_0x5528ae['length']-0x1]:null;},'findWebsitePlayerElement':()=>_0x177eec[_0x5955fc(0x195)][_0x5955fc(0x296)][_0x5955fc(0x1e5)](_0x2432ab=>document[_0x5955fc(0x25c)](_0x2432ab))[_0x5955fc(0x1ee)](_0x6b32b1=>_0x6b32b1),'waitForElement'(_0x11e97d,_0x526f5f=0xbb8){return new Promise((_0x52bddf,_0x4e3c06)=>{const _0x121ca1=_0x272f,_0x5614ae=document[_0x121ca1(0x25c)](_0x11e97d);if(_0x5614ae)return _0x52bddf(_0x5614ae);const _0x5cfb83=new MutationObserver(()=>{const _0x106025=_0x121ca1,_0x43c1fc=document[_0x106025(0x25c)](_0x11e97d);_0x43c1fc&&(_0x5cfb83[_0x106025(0x20b)](),clearTimeout(_0x465660),_0x52bddf(_0x43c1fc));}),_0x465660=setTimeout(()=>{const _0x38c89d=_0x121ca1;_0x5cfb83[_0x38c89d(0x20b)](),_0x4e3c06(new Error(_0x38c89d(0x2b1)+_0x11e97d+'\x27'));},_0x526f5f);_0x5cfb83[_0x121ca1(0x203)](document[_0x121ca1(0x278)],{'childList':!![],'subtree':!![]});});},'waitForPlayerResize'(_0x22bbff,_0x1906c6=0x7d0){return new Promise((_0x51a41e,_0x22a2c4)=>{if(!_0x22bbff)return _0x22a2c4(new Error('Player\x20element\x20not\x20found.'));let _0x2ef9e6=0x0,_0x5c1e74=0x0,_0xdd2c17=0x0;const _0xf57e17=0xc8,_0x31d6b2=0x3,_0x40d216=setInterval(()=>{const _0x404872=_0x272f,_0x33cc2d=_0x22bbff[_0x404872(0x268)]();_0x33cc2d[_0x404872(0x24a)]>0x0&&_0x33cc2d['height']>0x0&&(_0x33cc2d[_0x404872(0x24a)]===_0x2ef9e6&&_0x33cc2d[_0x404872(0x1b9)]===_0x5c1e74?++_0xdd2c17>=_0x31d6b2&&(clearInterval(_0x40d216),clearTimeout(_0x3e63f3),_0x51a41e(_0x33cc2d)):(_0xdd2c17=0x0,_0x2ef9e6=_0x33cc2d[_0x404872(0x24a)],_0x5c1e74=_0x33cc2d[_0x404872(0x1b9)]));},_0xf57e17),_0x3e63f3=setTimeout(()=>{const _0x48682b=_0x272f;clearInterval(_0x40d216);const _0x43aeaf=_0x22bbff[_0x48682b(0x268)]();_0x43aeaf[_0x48682b(0x24a)]>0x0?_0x51a41e(_0x43aeaf):_0x22a2c4(new Error('Player\x20did\x20not\x20resize\x20in\x20time'));},_0x1906c6);});}};function _0x4866d2(){setTimeout(()=>{const _0x2a1342=_0x272f;if(document[_0x2a1342(0x201)]('tm-container-fusion'))return;_0x3fc295[_0x2a1342(0x1ea)](),GM_registerMenuCommand('手动清除接口缓存',()=>{const _0xef540b=_0x2a1342;console[_0xef540b(0x1c7)](_0xef540b(0x1e8)),_0x3fc295[_0xef540b(0x1b4)](_0xef540b(0x285),!![]),_0x3bcf99[_0xef540b(0x1f7)]={'key':null,'results':[]};if(_0x3bcf99['isPanelOpen'])_0x21cb83[_0xef540b(0x24d)]();setTimeout(()=>_0x3fc295[_0xef540b(0x1b4)]('',![]),0x9c4);});const _0x1095cb=new MutationObserver(()=>{const _0x422f34=_0x2a1342;if(location['href']!==_0x3bcf99[_0x422f34(0x291)]){_0x3bcf99[_0x422f34(0x291)]=location[_0x422f34(0x1eb)],_0x3bcf99['isFirstAutoplayAttempted']=![],_0x3bcf99['sessionCache']={'key':null,'results':[]};if(_0x3bcf99[_0x422f34(0x1dc)])_0x3fc295['hidePanel']();}});_0x1095cb[_0x2a1342(0x203)](document['body'],{'childList':!![],'subtree':!![]});},0x1f4);}document[_0x5955fc(0x27f)]==='loading'?document[_0x5955fc(0x248)](_0x5955fc(0x237),_0x4866d2):_0x4866d2();}()));