1import{f,b as m,W as p,r as v,o as y,v as _,y as b,z as g,E as h,x as k}from"./D5MLA-hU.js";import{s as w}from"./GhFrNfLP.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="57065dcf-5260-48f8-9358-f65381f21fdc",t._sentryDebugIdIdentifier="sentry-dbid-57065dcf-5260-48f8-9358-f65381f21fdc")}catch{}})();const I=f({__name:"TurnstileWidget",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(t,{expose:o}){const n=()=>window,i=m().public.turnstileSiteKey,l=p(t,"modelValue"),c=k();let r;function u(){const e=n().turnstile;!e||!c.value||!i||r!==void 0||(r=e.render(c.value,{sitekey:i,callback:s=>{l.value=s},"error-callback":()=>{l.value=""},"expired-callback":()=>{l.value=""},theme:"light",appearance:"interaction-only"}))}function d(){l.value="";const e=n().turnstile;e&&r!==void 0&&e.reset(r)}return o({reset:d}),v(()=>{if(!i)return;const e="https://challenges.cloudflare.com/turnstile/v0/api.js";if(!document.querySelector(`script[src="${e}"]`)){const a=document.createElement("script");a.src=e,a.async=!0,a.defer=!0,document.head.appendChild(a)}if(n().turnstile){u();return}const s=w(()=>{n().turnstile&&(clearInterval(s),u())},100);setTimeout(()=>clearInterval(s),1e4)}),y(()=>{const e=n().turnstile;e&&r!==void 0&&e.remove(r)}),(e,s)=>_(i)?(b(),g("div",{key:0,ref_key:"el",ref:c},null,512)):h("",!0)}}),T=Object.assign(I,{__name:"TurnstileWidget"});export{T as _};
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.