1import{m as r}from"#entry";const l="6LffXSgsAAAAAIipXeCvbV9dNVsJscWqozw_UPnI",i="recaptcha-script",a=r(!1),t=r(!1),n=r(null),c=r(null);function d(){if(typeof window>"u"||document.getElementById(i))return;const e=document.createElement("script");e.id=i,e.src=`https://www.google.com/recaptcha/api.js?render=${l}`,e.async=!0,e.defer=!0,e.onerror=()=>{n.value="Gagal memuat layanan anti-bot.",t.value=!1},e.onload=()=>{a.value=!0,t.value=!1},t.value=!0,document.head.appendChild(e)}async function f(){if(a.value)return!0;if(typeof window>"u")return!1;t.value||d();let e=0;for(;!a.value&&!n.value&&e<5e3;)await new Promise(u=>setTimeout(u,50)),e+=50;return a.value||(n.value=n.value||"reCAPTCHA belum siap."),a.value}function v(){async function e(o="submit"){return!await f()||!window.grecaptcha?null:(await new Promise(s=>window.grecaptcha.ready(s)),window.grecaptcha.execute(l,{action:o}))}async function u(o){return c.value=null,o?!0:(c.value="Token reCAPTCHA kosong.",!1)}return{execute:e,verify:u,recaptchaLoading:t,recaptchaError:n,recaptchaLastDetail:c}}export{v as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.