PageSourceSearch

https://app.gripho.io/assets/loopback-aJW72XwR.js

js gripho.io collected 2026-10-02 01:57:57 UTC 1,554 bytes, 1 lines download raw bytes

1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{n as t,t as n}from"./jsx-runtime-BhxXKzgZ.js";var r=e(t(),1),i=n(),a=`cloudflare-turnstile-script`,o=`https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit`;function s({onError:e,onExpire:t,onVerify:n,resetKey:a}){let o=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useEffectEvent)(e),u=(0,r.useEffectEvent)(t),d=(0,r.useEffectEvent)(n);return(0,r.useEffect)(()=>{let e=!0;return c().then(t=>{!e||!o.current||(s.current=t.render(o.current,{action:`turnstile-spin-v1`,callback:d,"error-callback":l,"expired-callback":u,sitekey:`0x4AAAAAAD3P3fmdc19Nddbd`}))}).catch(l),()=>{e=!1,s.current&&window.turnstile&&(window.turnstile.remove(s.current),s.current=null)}},[]),(0,r.useEffect)(()=>{a>0&&s.current&&window.turnstile?.reset(s.current)},[a]),(0,i.jsx)(`div`,{className:`flex min-h-[65px] justify-center`,"data-action":`turnstile-spin-v1`,"data-testid":`turnstile`,ref:o})}function c(){return window.turnstile?Promise.resolve(window.turnstile):new Promise((e,t)=>{let n=document.getElementById(a),r=n??document.createElement(`script`);r.addEventListener(`load`,()=>{window.turnstile?e(window.turnstile):t(Error(`Cloudflare Turnstile failed to initialize`))},{once:!0}),r.addEventListener(`error`,()=>t(Error(`Cloudflare Turnstile failed to load`)),{once:!0}),n||(r.id=a,r.setAttribute(`async`,``),r.setAttribute(`defer`,``),r.setAttribute(`src`,o),document.head.appendChild(r))})}function l(e){return e===`localhost`||e===`127.0.0.1`||e===`::1`||e===`[::1]`}export{s as n,l as t};

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.