PageSourceSearch

https://www.signinholidays.com/public/websites/signinholidays/build/assets/Login-BCHIFfUp.js

js signinholidays.com collected 2026-10-10 02:08:48 UTC 5,195 bytes, 1 lines download raw bytes

1import{r as a,E as F,u as E,j as e,H as C,L as g}from"./app-BH2aA9za.js";import{C as L}from"./Checkbox-BxaZeWZ0.js";import{S as I}from"./StaticLayout-Cpl-GV7U.js";import{I as u}from"./InputError-JapBXSFS.js";import{I as h}from"./InputLabel-Ba61d9l0.js";import{P}from"./PrimaryButton-sd8c_Qkb.js";import{T as f}from"./TextInput-CYk4hmzh.js";import{T as B,c as D}from"./TextTransition-BWHXbwQz.js";import"./index-Bhs8x0AC.js";function O({status:c,canResetPassword:p}){const i=typeof window<"u"?window.location.origin+"/":"/",{Envpro:t}=a.useContext(F),m=["Flights","Hotels","Holidays","Visa"],[d,j]=a.useState(!1),[b,y]=a.useState(0),{data:o,setData:l,post:v,processing:w,errors:x,reset:N}=E({email:"",password:"",remember:!1});a.useEffect(()=>{const s=setInterval(()=>y(H=>H+1),3e3);return()=>clearTimeout(s)},[]),a.useEffect(()=>()=>{N("password")},[]);const k=s=>{s.preventDefault(),v("/customer/login")};let r="Book Flights, Hotels, Buses, Holidays & Visas - All in One Place!",n="Unlock Your Dream Escape: Flights, Hotels, Buses & More!";return t==="aerobide"?(r="Book Flights & Hotels - All in One Place!",n="Unlock Your Dream Escape: Flights, Hotels & More!"):(t==="tripeasyholidays"||t==="clickpaytrip"|t==="tripmaza")&&(r="Book Flights, Hotels & Holidays - All in One Place!",n="Unlock Your Dream Escape: Flights, Hotels & More!"),e.jsxs(I,{children:[e.jsx(C,{title:"Log in"}),c&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:c}),e.jsx("div",{className:"login-page",children:e.jsx("div",{children:e.jsxs("div",{className:"row w-100 mx-auto login-grid",children:[t==="holidaymyplanet"&&e.jsx("div",{className:"col-lg-7 col-md-6",children:e.jsxs("div",{className:"image-block d-flex flex-column align-items-center justify-content-center px-3 py-5",children:[e.jsx("h2",{className:"font-weight-bold text-center mb-1",children:"Unlock Your Dream Escape"}),e.jsxs("div",{className:"d-flex justify-content-center font-weight-bold text-center h2",children:["Book ",e.jsx(B,{springConfig:D.wobbly,className:"themeFontColor",children:m[b%m.length]})]}),e.jsx("div",{children:e.jsx("img",{src:`${i}images/${t}/login.svg`,alt:"Login",className:"img-fluid",style:{maxWidth:"450px"}})})]})}),e.jsx("div",{className:"col-lg-5 col-md-6 bg-light d-flex flex-column align-items-center justify-content-center p-md-5 p-3",children:e.jsxs("div",{className:"form-block w-100",children:[e.jsx("div",{className:"font-weight-bold h4 text-center mb-3",children:"Login to your Account"}),e.jsxs("form",{onSubmit:k,children:[e.jsxs("div",{className:"form-group",children:[e.jsx(h,{htmlFor:"email",value:"Email"}),e.jsx(f,{id:"email",type:"email",name:"email",value:o.email,className:"mt-1 block w-full form-control rounded shadow-md height-initial py-2 bg-white",autoComplete:"username",isFocused:!0,onChange:s=>l("email",s.target.value)}),e.jsx(u,{message:x.email,className:"mt-2 text-danger"})]}),e.jsxs("div",{className:"mt-4 form-group",children:[e.jsx(h,{htmlFor:"password",value:"Password"}),e.jsxs("div",{className:"position-relative",children:[e.jsx(f,{id:"password",type:d?"text":"password",name:"password",value:o.password,className:"mt-1 block w-full form-control rounded shadow-md height-initial py-2 pr-5 bg-white",autoComplete:"current-password",onChange:s=>l("password",s.target.value)}),e.jsx("div",{className:"position-absolute password-eye cursorPointer",onClick:()=>j(s=>!s),children:e.jsx("i",{className:`fa fa-eye${d?"":"-slash"}`})})]}),e.jsx(u,{message:x.password,className:"mt-2 text-danger"})]}),e.jsxs("div",{className:"block mt-4 d-flex justify-content-between align-items-center",children:[e.jsx("div",{className:"form-check",children:e.jsxs("label",{className:"flex items-center form-check-label",children:[e.jsx(L,{name:"remember",className:"form-check-input",checked:o.remember,onChange:s=>l("remember",s.target.checked)}),e.jsx("span",{className:"ms-2 text-sm text-gray-600",children:"Remember me"})]})}),p&&e.jsx(g,{href:route("password.request"),className:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:"Forgot your password?"})]}),e.jsx("div",{className:"mt-4",children:e.jsx(P,{className:"ms-4 themeBackgroun
1d w-100 h6 text-uppercase",disabled:w,children:"Log in"})})]}),e.jsxs("div",{className:"d-flex justify-content-center mt-2",children:["Don't have an account? ",e.jsx(g,{href:route("register"),className:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:"Register Here."})]})]})}),t!=="holidaymyplanet"&&e.jsx("div",{className:"col-lg-7 col-md-6",children:e.jsxs("div",{className:"image-block d-flex flex-column align-items-center justify-content-center px-3 py-5",children:[t!=="clickpaytrip"&&e.jsxs(e.Fragment,{children:[e.jsx("h6",{className:"mb-3 text-center",children:r}),e.jsx("h2",{className:"font-weight-bold text-center mb-1",children:n})]}),e.jsx("div",{children:e.jsx("img",{src:t==="clickpaytrip"?`${i}images/clickpaytrip/login.png`:`${i}images/login.png`,alt:"Login",className:"img-fluid"})})]})})]})})})]})}export{O as default};

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.