PageSourceSearch

https://www.travelbot.me/_nuxt/Dp4ovpGV.js

js travelbot.me collected 2026-09-24 13:29:03 UTC 1,408 bytes, 1 lines download raw bytes

1import{l as k,d as o,q as y,J as l,M as r,P as h,u as a,a4 as _,U as w,N as i,V as S,c as M,O as x}from"./NzCnRFWS.js";import{h as E,b as C}from"./BHw1e3Z5.js";const V={class:""},B=["disabled"],N={key:1,class:""},U={key:2,class:"text-error mt-2"},L=k({__name:"OtpSignIn",emits:["close","signed-in"],setup(q,{emit:m}){const{signInWithEmail:d}=E(),t=o(""),u=o(!1),c=o(!1),n=o(""),p=m,f=async()=>{c.value=!0,n.value="";try{const e=await d(t.value,`${window.location.origin}/`);if(!e.success)throw new Error(e.error||"Failed to send magic link");u.value=!0}catch(e){n.value=e instanceof Error?e.message:String(e)}finally{c.value=!1}},b=()=>{u.value=!1,t.value="",n.value=""},g=C();return y(g,e=>{e&&p("signed-in")}),(e,s)=>(r(),l("div",V,[a(u)?(r(),l("div",N,[s[1]||(s[1]=i("p",{class:"text-lg mb-4"}," ✨ Magic link sent! ✨ ",-1)),s[2]||(s[2]=i("p",{class:"mb-4"}," Check your email for the magic link to sign in. ",-1)),i("button",{class:"btn btn-outline mb-4",onClick:b}," Send another link ")])):(r(),l("form",{key:0,onSubmit:_(f,["prevent"])},[w(i("input",{"onUpdate:modelValue":s[0]||(s[0]=v=>M(t)?t.value=v:null),type:"email",placeholder:"Enter your email",class:"input input-bordered w-full mb-2",required:""},null,512),[[S,a(t)]]),i("button",{type:"submit",class:"btn btn-primary w-full mb-4",disabled:a(c)}," Send Magic Link ",8,B)],32)),a(n)?(r(),l("p",U,x(a(n)),1)):h("",!0)]))}});export{L 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.