export const PLATFORMS=[{'name':'Crunchyroll','type':'source','hostPattern':'*://*.crunchyroll.com/*','contentScript':{'matches':['*://*.crunchyroll.com/*'],'js':['content_scripts/crunchyroll.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x2d5e41=>_0x2d5e41['hostname']['includes']('crunchyroll.com')&&_0x2d5e41['pathname']['startsWith']('/watch')},{'name':'Netflix','type':'source','hostPattern':'*://*.netflix.com/*','contentScript':{'matches':['*://*.netflix.com/*'],'js':['content_scripts/netflix.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x4ba67c=>_0x4ba67c['hostname']['includes']('netflix.com')&&_0x4ba67c['pathname']['startsWith']('/watch')},{'name':'JioHotstar','type':'source','hostPattern':'*://*.hotstar.com/*','contentScript':{'matches':['*://*.hotstar.com/*'],'js':['content_scripts/jiohotstar.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x4795a4=>_0x4795a4['hostname']['includes']('hotstar.com')&&(_0x4795a4['pathname']['includes']('/shows/')||_0x4795a4['pathname']['includes']('/movies/')||_0x4795a4['pathname']['includes']('/sports/'))},{'name':'YouTube','type':'reaction','hostPattern':'*://*.youtube.com/*','contentScript':{'matches':['*://*.youtube.com/*'],'js':['content_scripts/youtube.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x3dad69=>_0x3dad69['hostname']['includes']('youtube.com')&&_0x3dad69['pathname']['startsWith']('/watch')},{'name':'Vimeo','type':'reaction','hostPattern':'*://*.vimeo.com/*','contentScript':{'matches':['*://*.vimeo.com/*','*://player.vimeo.com/video/*'],'js':['content_scripts/content_core.js','content_scripts/vimeo.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x2cf32b=>{if(!_0x2cf32b['hostname']['includes']('vimeo.com'))return![];return _0x2cf32b['hostname']['includes']('player.vimeo')||/^\/\d+/['test'](_0x2cf32b['pathname'])||/^\/video\/\d+/['test'](_0x2cf32b['pathname']);}},{'name':'GoogleDrive','type':'reaction','hostPattern':'*://drive.google.com/*','contentScript':{'matches':['*://youtube.googleapis.com/embed/*','*://drive.google.com/file/*'],'js':['content_scripts/content_core.js','content_scripts/googledrive.js'],'run_at':'document_idle','all_frames':!![]},'urlCheck':_0x356fb1=>_0x356fb1['hostname']['includes']('drive.google.com')},{'name':'Patreon','type':'reaction','hostPattern':'*://www.patreon.com/posts/*','contentScript':{'matches':['*://www.patreon.com/posts/*'],'js':['content_scripts/content_core.js','content_scripts/patreon.js'],'run_at':'document_idle','all_frames':![]},'urlCheck':_0x17369f=>_0x17369f['hostname']==='www.patreon.com'&&_0x17369f['pathname']['startsWith']('/posts/')}];export function getPlatformConfigByURLObj(_0x6a454e){if(!_0x6a454e)return null;for(const _0x5bb9e8 of PLATFORMS){if(_0x5bb9e8['urlCheck'](_0x6a454e))return _0x5bb9e8;}return null;}export function getPlatformConfigByURLString(_0x261825){if(!_0x261825)return null;try{const _0x25daf3=new URL(_0x261825);return getPlatformConfigByURLObj(_0x25daf3);}catch(_0x5d6cf3){return null;}}export const SOURCE_PLATFORMS=PLATFORMS['filter'](_0x575b12=>_0x575b12['type']==='source');export const REACTION_PLATFORMS=PLATFORMS['filter'](_0x2962c2=>_0x2962c2['type']==='reaction');export const SOURCE_PLATFORM_NAMES=SOURCE_PLATFORMS['map'](_0x222a9=>_0x222a9['name']);export const REACTION_PLATFORM_NAMES=REACTION_PLATFORMS['map'](_0x3cab2a=>_0x3cab2a['name']);