(()=>{class e{static sleep(e=1e3){return new Promise((a=>setTimeout(a,e)))}static async random_sleep(a,t){const i=Math.floor(Math.random()*(t-a)+a);return await e.sleep(i)}}(async()=>{async function a(){const e=[...document.querySelectorAll('iframe[src*="/recaptcha/api2/bframe"]'),...document.querySelectorAll('iframe[src*="/recaptcha/enterprise/bframe"]')];if(e.length>0){for(const a of e)if("visible"===window.getComputedStyle(a).visibility)return await new Promise((e=>{chrome.runtime.sendMessage({type:"KV_SET",label:{key:"recaptcha_image_visible",value:!0,tab_specific:!0}},e)}));await new Promise((e=>{chrome.runtime.sendMessage({type:"KV_SET",label:{key:"recaptcha_image_visible",value:!1,tab_specific:!0}},e)}))}}async function t(){const e=[...document.querySelectorAll('iframe[src*="/recaptcha/api2/anchor"]'),...document.querySelectorAll('iframe[src*="/recaptcha/enterprise/anchor"]')];if(e.length>0){for(const a of e)if("visible"===window.getComputedStyle(a).visibility)return await new Promise((e=>{chrome.runtime.sendMessage({type:"KV_SET",label:{key:"recaptcha_widget_visible",value:!0,tab_specific:!0}},e)}));await new Promise((e=>{chrome.runtime.sendMessage({type:"KV_SET",label:{key:"recaptcha_widget_visible",value:!1,tab_specific:!0}},e)}))}return!1}for(;;)await e.sleep(1e3),chrome.runtime?.id&&(await a(),await t())})()})();