PageSourceSearch

https://erobella.com/_nuxt/Ckh-EJrK.js

js erobella.com collected 2026-09-24 10:05:29 UTC 6,408 bytes, 1 lines download raw bytes

1import{d as j,f as z,av as M,r as m,az as G,s as $,g as K,o as c,a as S,j as t,t as a,e,b as l,aO as Y,k as A,w as g,l as I,B as Q,m as _,n as Z,_ as J,W as f,Q as X,R as ee,V as h,aP as te}from"./-6Lls737.js";import se from"./DgpwSOGQ.js";import ae from"./D8S3iv8N.js";import{_ as L}from"./CI-50u4g.js";import{u as oe,r as B}from"./CshW9Obe.js";import{E as le}from"./Cp2PsELQ.js";import{_ as F}from"./C9IHJtY7.js";import{_ as ne}from"./CNcDeVd2.js";import{_ as re}from"./G8wO8r9f.js";import{u as ie}from"./BvfhP9bq.js";import{P as me}from"./B6I36lQj.js";import"./DSV61gAW.js";import"./DlAUqK2U.js";import"./B5spvOTL.js";import"./DTkNhqIJ.js";import"./BVteHru5.js";import"./DdLutETX.js";import"./ETgmdoWB.js";import"./LmLE2sTZ.js";import"./CN6vTOWD.js";const de={class:"login-page flex w-full relative overflow-x-hidden grow max-md:self-start"},ce={class:"container md:grid md:grid-cols-12 md:gap-4 max-md:px-0"},ue={class:"md:col-span-5 md:place-self-center md:mb-24 max-md:px-4 max-md:mb-8 max-md:mt-6"},xe={class:Z(["inline-block text-xl text-black overflow-visible px-4","md:text-5xl md:font-bold md:gradient-text md:px-6 md:leading-tight"])},pe={class:"col-span-12 text-dark-grey font-sm font-medium px-4 md:px-6 md:col-span-4"},ge={class:"text-red-400"},_e={class:"flex md:col-start-8 md:col-span-5 max-md:px-2 max-md:bg-x-grey-8 md:before:content-[''] md:before:fixed md:before:w-full md:before:h-screen md:before:bg-x-grey-8 md:before:-z-10"},fe={class:"md:max-w-[330px] md:place-self-center md:py-8 md:pl-4 md:ml-auto max-md:border max-md:border-x-grey max-md:p-2 max-md:w-full max-md:rounded-3xl max-md:my-3"},he={class:"mx-4 md:mb-10 max-md:pb-4 max-md:mb-6 max-md:border-b max-md:border-x-grey"},be={class:"text-base text-black mb-2"},ve=t("b",null,"Erobella",-1),ke={class:"text-sm text-dark-grey"},we={class:"md:shadow rounded-2xl md:bg-white md:p-4 md:mb-4 max-md:mx-4 mb-6"},ye={class:"block text-sm text-black leading-none mb-4"},Se={class:"grid gap-2"},Ee={class:"flex gap-2 text-xs text-dark-grey"},Oe={class:"flex gap-2 text-xs text-dark-grey"},Pe={class:"flex gap-2 text-xs text-dark-grey"},Re={class:"flex gap-2 text-xs text-dark-grey"},Ce={class:"md:shadow rounded-2xl md:bg-white md:p-4 max-md:mx-4"},Ne={class:"block text-sm text-black leading-none mb-4"},Te={class:"grid gap-2"},Ve={class:"flex gap-2 text-xs text-dark-grey"},Ue={class:"flex gap-2 text-xs text-dark-grey"},$e={class:"flex gap-2 text-xs text-dark-grey"},at=j({__name:"login",setup(Ae){const{t:s}=z(),H=M(),b=m([]),v=m(!1),E=G(),{password:O,emailOrPhone:P}=$(E),q=ie(),{whatsappVerificationData:D}=$(q),R=m(!1),k=m(null),C=m(null),u=m(!1),w=K({emailOrPhone:P.value,password:O.value}),r=oe({emailOrPhone:{required:B},password:{required:B}},w);async function N(){var U;if(v.value=!0,r.value.$invalid)return;u.value=!0,P.value=w.emailOrPhone,O.value=w.password;const{error:d,redirect:i,statusCode:y,userHash:x,userEmail:n,verifyNumber:p,whatsappCode:o,whatsappNumber:T,userPhoneNumber:V}=await E.login();if(d&&y===te.UNAUTHORIZED&&(b.value=(U=d==null?void 0:d.results)==null?void 0:U.errors),u.value=!1,x&&n){k.value=x,C.value=n,R.value=!0;return}if(p&&T&&o&&V){D.value={code:o,whatsappNumber:T,userPhoneNumber:V.replace(me,"")};const W=h(f.USERS_CREATE_ACCOUNT_VERIFY_WHATSAPP);await H.push({path:W});return}i&&(window.location.href=h(i,!0))}return(d,i)=>{var p;const y=J,x=se,n=ae;return c(),S("div",de,[t("div",ce,[t("div",ue,[t("h1",xe,a(e(s)("home.signIn")),1),t("p",pe,a(e(s)("login.signInWithCredentials")),1),l(re,{"redirect-path":e(f).USERS_LOGIN,class:"mt-6 md:mt-16"},null,8,["redirect-path"]),t("form",{class:"grid gap-4 mt-4",onKeyup:Y(N,["enter"])},[l(L,{type:"email",placeholder:e(s)("login.emailOrPhoneLogin"),modelValue:e(r).emailOrPhone.$model,"onUpdate:modelValue":i[0]||(i[0]=o=>e(r).emailOrPhone.$model=o),errors:[v.value&&e(r).emailOrPhone.required.$invalid?e(s)("login.emailRequired"):null]},null,8,["placeholder","modelValue","errors"]),l(L,{type:"password",placeholder:e(s)("login.yourPassword"),modelValue:e(r).password.$model,"onUpdate:modelValue":i[1]||(i[1]=o=>e(r).password.$model=o),errors:[v.value&&e(r).password.required.$invalid?e(s)("login.passwordRequired"):null]},null,8,["placeholder","modelValue","errors"]),(p=b.value)!=null&&p.length?(c(),A(le,{key:0},{default:g(()=>[(c(!0),S(X,null,ee(b.value,o=>(c(),S("span",ge,a(o!=null&&o.key?e(s)(o.key):(o==null?void 0:o.message)||""),1))),256))]),_:1})):I("",!0),l(F,{class:"mt-4",rounded:"large",onClick:Q(N,["prevent"]),loading:u.value,disabled:u.value},{default:g(()=>[_(a(e(s)("home.signIn")),1)]),_:1},8,["loading","disabled"]),l(y,{to:e(h)(e(f).USERS_FORGOT_PASSWORD,!0),external:!0,class:"text-sm font-medium text-black justify-self-center"},{default:g(()=>[_(a(e(s)("login.forgotPassword"))+"? ",1)]),_:1},8,["to"])],32)]),t("div",_e,[t("div",fe,[t("section",he,[l(x,{class:"w-[20px] h-[22px] mb-4 md:mb-6 max-md:mt-4",filled:"",fontControlled:!1}),t("span",be,[_(a(e(s)("login.join"))+" ",1),ve]),t("p",ke,a(e(s)("login.dontHaveAccountYet")),1)]),t("section",we,[t("span",ye,a(e(s)("login.offeringServicesFeatures")),1),t("ul",Se,[t("li",Ee,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerSeekingText1")),1)]),t("li",Oe,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerSeekingText2")),1)]),t("li",Pe,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerSeekingText3")),1)]),t("li",Re,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerSeekingText4")),1)])])]),t("section",Ce,[t("span",Ne,a(e(s)("login.seekingServicesFeatures")),1),t("ul",Te,[t("li",Ve,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerOfferingText1")),1)]),t("li",Ue,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerOfferingText2")),1)]),t("li",$e,[l(n,{class:"text-x-green text-base !mb-0 shrink-0"}),t("span",null,a(e(s)("login.registerOfferingText3")),1)])])]),l(F,{class:"w-full shadow bg-white font-semibold mt-8 md:mt-12",component:"NuxtLink",color:"clear",rounded:"large",to:e(h)(e(f).USERS_CREATE_ACCOUNT)},{default:g(()=>[_(a(e(s)("home.signUp")),1)]),_:1},8,["to"])])])]),R.value&&k.value?(c(),A(ne,{key:0,email:C.value,"user-hash":k.value},null,8,["email","user-hash"])):I("",!0)])}}});
1export{at 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.