PageSourceSearch

https://www.gooyadubai.ae/_nuxt/CgGLUMCJ.js

js gooyadubai.ae collected 2026-10-02 01:12:44 UTC 16,276 bytes, 1 lines download raw bytes

1import{e as ae,f as oe,a as le,B as ie,J as re,u as de,l as ce,b as ue,_ as fe}from"#entry";import{d as pe,b as xe,z as k,Q as e,B as a,u as t,j as d,an as p,A as i,i as m,C as L,D as F,ad as N,F as O,G as me,r as G,c,e as _,f as he}from"./-DLWNC6n.js";import{a as V}from"./KXDfhFVj.js";import{a as b}from"./B7nunhTo.js";import{u as ge,a as be}from"./CEhgJnN3.js";import{u as _e}from"./D8c-HMlW.js";import{t as H,C as W,A as J,aj as ve}from"./EBY1djgu.js";import"./poOW0nuE.js";import"./C90W3vFq.js";import"./ChUxrKzq.js";import"./BX4v9dxa.js";import"./DfyMrpC0.js";const ye=["dir"],we={class:"hidden lg:flex lg:min-h-screen lg:flex-1 lg:items-center lg:justify-center lg:px-6 lg:py-10"},Ce={class:"w-full max-w-[560px] rounded-[32px] bg-white p-8 shadow-[0_18px_48px_rgba(18,25,38,0.1)]"},ke={class:"mb-5 flex items-center justify-between"},Ee={class:"text-2xl font-bold text-[#1f2330]"},Se={class:"w-full"},Ae={class:"rounded-full border border-[#d2d2d2] bg-[#ececee] p-1"},Fe={class:"grid grid-cols-2 gap-1"},Be={class:"flex h-10 items-center justify-center rounded-full bg-white text-base font-semibold text-[#2f2f2f]"},De={class:"flex h-12 w-full items-center overflow-hidden rounded-xl border border-[#d4d4d6] bg-[#f5f5f5]",dir:"ltr"},je=["title","aria-expanded"],ze=["src"],Le={class:"text-base font-medium font-latin-numerals"},Ge=["value"],Me={key:0,class:"mt-3 rounded-xl bg-red-50 px-3 py-2 text-sm text-red-600"},Re=["disabled"],$e={class:"my-4 flex items-center gap-3 text-[#9ea0a8]"},qe={class:"text-sm"},Pe=["disabled"],Te={class:"mt-8 grid grid-cols-2 gap-4 text-center"},Ue={class:"h-[124px] shrink-0 bg-gradient-to-b from-[#C5161D] to-[#CB1B22] text-white lg:hidden"},Ie={class:"flex h-full items-center gap-2 pb-2 pl-1 pr-3.5 pt-2"},Ne=["title"],Oe={class:"min-w-0 flex-1"},Ve={class:"text-right text-[18.5px] font-extrabold leading-snug text-white"},He={class:"mt-[7px] text-right text-[12.5px] font-medium leading-snug text-[#F9D9DB]"},We={class:"min-h-0 flex-1 rounded-t-[28px] bg-white px-[22px] pb-8 pt-2.5 lg:hidden"},Je={class:"mx-auto w-full max-w-[420px]"},Qe={class:"h-11 rounded-[24px] border border-[#E3E6EC] bg-[#F0F1F4] p-[3px]"},Ye={class:"grid h-full grid-cols-2 gap-0"},Ke={class:"flex items-center justify-center rounded-[21px] bg-white text-sm font-bold text-[#2F3542] shadow-[0_2px_8px_rgba(0,0,0,0.07)]"},Xe={class:"flex h-12 w-full items-center overflow-hidden rounded-[14px] border border-[#C9CED8] bg-white",dir:"ltr"},Ze=["title","aria-expanded"],et=["src"],tt={class:"text-[15px] font-semibold font-latin-numerals"},st=["value"],nt={class:"mt-2.5 px-1 text-right text-[12.5px] leading-normal text-[#4B5563]"},at={key:0,class:"mt-4 rounded-xl bg-red-50 px-3 py-2 text-sm text-red-600"},ot=["disabled"],lt={class:"my-5 flex items-center gap-3 text-[#9ea0a8]"},it={class:"text-base"},rt=["disabled"],dt={class:"mt-14 grid grid-cols-2 gap-4 text-center"},ct={class:"mx-auto w-full max-w-[520px] rounded-[28px] bg-white px-4 pb-4 pt-2 shadow-xl"},ut={class:"mb-4 text-center text-xl font-bold text-[#1f2330]"},ft={class:"max-h-[65vh] space-y-3 overflow-y-auto pb-1"},pt=["onClick"],xt={class:"flex items-center gap-2 text-[#2f333b]"},mt=["src"],ht={class:"flex items-center gap-2 text-[#2f333b]"},gt={class:"font-medium font-latin-numerals"},jt=pe({__name:"register",setup(bt){const Q=ae(),E=oe(),h=le(),M=ie(),{goAuthBack:S}=ge(),Y=re(),{locale:R}=de(),{requestOtp:K,isLoading:x,error:v}=_e(),{loginWithGoogle:X,isLoading:y}=be(),w=c(()=>String(R.value)==="en"),Z=c(()=>String(R.value)==="ar"),ee=c(()=>w.value?"ltr":"rtl"),A=c(()=>w.value?"text-left":"text-right");function n(o,s,r){return Z.value?r||V(s)||V(o):w.value?s:o}ce({title:c(()=>n("ثبت‌نام حساب کاربری","Create an account")),description:c(()=>n("برای ساخت حساب جدید شماره موبایل خود را وارد کنید","Enter your phone number to create a new account"))}),ue({link:[{rel:"canonical",href:Q("/auth/register")}]});const B=[{code:"AE",dialCode:"971",nameFa:"امارات متحده عربی",nameEn:"United Arab Emirates"},{code:"AF",dialCode:"93",nameFa:"افغانستان",nameEn:"Afghanistan"},{code:"AR",dialCode:"54",nameFa:"آرژانتین",nameEn:"Argentina"},{code:"AT",dialCode:"43",nameFa:"اتریش",nameEn:"Austria"},{code:"AU",dialCode:"61",nameFa:"استرالیا",nameEn:"Australia"},{code:"BD",dialCode:"880",nameFa:"بنگلادش",nameEn:"Bangladesh"},{code:"BE",dialCode:"32",nameFa:"بلژیک",nameEn:"Belgium"},{code:"CA",dialCode:"1",nameFa:"کانادا",nameEn:"Canada"},{code:"DE",dialCode:"49",nameFa:"آلمان",nameEn:"Germany"},{code:"FR",dialCode:"33",nameFa:"فرانسه",nameEn:"France"},{code:"IR",dialCode:"98",nameFa:"ایران",nameEn:"Iran"},{code:"TR",dialCode:"90",nameFa:"ترکیه",nameEn:"Turkey"}],f=G(""),u=G(B[0]),g=G(!1),D=c(()=>typeof E.query.redirect=="string"?E.query.redirect:"/"),j=c(()=>{const o=new URLSearchParams({redirect:D.value,...f.value.trim()?{identifier:f.value.trim()}:{}});return`${h("/auth/required-login")}?${o.toString()}`}),$=c(()=>h("/help")),q=c(()=>b(f.value).replace(/\D/g,"").replace(/^0+/,"")),te=c(()=>`+${u.value.dialCode}${q.value}`),C=c(()=>
1{if(u.value.code==="AE"){const s=b(f.value).replace(/\D/g,"");return s.startsWith("0")?/^05\d{8}$/.test(s):/^5\d{8}$/.test(s)}const o=q.value.length;return o>=6&&o<=14});function P(o){const s=o.target;f.value=b(s.value).replace(/\D/g,"")}function z(o){return`https://flagcdn.com/w40/${o.toLowerCase()}.png`}function se(o){u.value=o,g.value=!1}async function T(){x.value||y.value||await X(D.value)}function ne(o){const s=o.toLowerCase();return s.includes("already registered")||s.includes("already exists")||s.includes("already used")||s.includes("phone_registered")||o.includes("قبلا ثبت")||o.includes("از قبل ثبت")}async function U(){if(!C.value||x.value)return;const o=te.value;if(await K(o,!1)){await M.push({path:h("/auth/otp-verify"),query:{identifier:o,redirect:D.value}});return}ne(v.value||"")&&(Y.addToast({type:"info",title:n("این شماره قبلا ثبت‌نام شده است. به صفحه ورود منتقل شدید.","This number is already registered. You were redirected to sign in.")}),await M.push(j.value))}return xe(()=>{const o=typeof E.query.identifier=="string"?E.query.identifier.trim():"";if(!o)return;const r=b(o).replace(/\D/g,"");if(!r)return;const l=B.find(I=>r.startsWith(I.dialCode));if(l){u.value=l,f.value=r.slice(l.dialCode.length);return}f.value=r}),(o,s)=>{const r=fe;return _(),k(O,null,[e("div",{class:"flex min-h-screen flex-col bg-[#C5161D] lg:bg-[#f4f6fb]",dir:t(ee)},[e("div",we,[e("main",Ce,[e("div",ke,[e("h1",Ee,a(n("شروع تجربه شما در گویا دبی","Start your Gooya Dubai experience")),1),e("button",{type:"button",class:"inline-flex items-center gap-1 rounded-lg border border-[#e1e2e6] px-3 py-1.5 text-sm font-medium text-[#4f5563]",onClick:s[0]||(s[0]=(...l)=>t(S)&&t(S)(...l))},[d(t(H),{class:p(["h-4 w-4",t(w)?"rotate-180":""])},null,8,["class"]),i(" "+a(n("بازگشت","Back")),1)])]),e("p",{class:p(["mb-6 text-sm text-[#6f737c]",t(A)])},a(n("با ثبت‌نام، به تمام امکانات اپلیکیشن دسترسی خواهید داشت.","Create an account to access all Gooya Dubai features.")),3),e("div",Se,[e("div",Ae,[e("div",Fe,[d(r,{to:t(j),replace:"",class:"flex h-10 items-center justify-center rounded-full text-base font-medium text-[#3f3f3f]"},{default:m(()=>[i(a(n("ورود","Sign in")),1)]),_:1},8,["to"]),e("span",Be,a(n("ثبت‌نام","Sign up")),1)])]),e("form",{class:"mt-6",onSubmit:L(U,["prevent"])},[e("label",{class:p(["mb-2 block text-xl font-semibold text-[#2d2d2d]",t(A)])},a(n("شماره موبایل","Phone number")),3),e("div",De,[e("button",{type:"button",class:"flex h-full items-center gap-2 border-r border-[#d4d4d6] px-3 text-[#2f3542] active:bg-gray-100",title:n("انتخاب کشور","Select country"),"aria-haspopup":"dialog","aria-expanded":t(g),onClick:s[1]||(s[1]=l=>g.value=!0)},[e("img",{src:z(t(u).code),alt:"",width:"22",height:"16",class:"h-4 w-[22px] shrink-0 rounded-sm border border-black/[0.06] object-cover",loading:"lazy",decoding:"async"},null,8,ze),e("span",Le,"+"+a(t(b)(t(u).dialCode)),1),d(t(W),{class:"h-4 w-4 shrink-0 text-[#8a919c]","stroke-width":"2.25","aria-hidden":"true"})],8,je),e("input",{value:t(f),type:"tel",inputmode:"numeric",class:"h-full w-full bg-transparent px-3 text-left text-lg text-[#1f2330] outline-none placeholder:text-[#9ea0a8] font-latin-numerals",placeholder:"555123456",onInput:P},null,40,Ge)]),e("p",{class:p(["mt-3 text-sm text-[#6f737c]",t(A)])},[i(a(n("با ادامه ثبت‌نام،","By continuing, you accept the"))+" ",1),d(r,{to:t(h)("/terms"),class:"font-semibold text-[#d8181f]"},{default:m(()=>[i(a(n("قوانین و مقررات","terms and conditions")),1)]),_:1},8,["to"]),i(" "+a(n("و شرایط استفاده را می‌پذیرم.",".")),1)],2),t(v)?(_(),k("p",Me,a(t(v)),1)):F("",!0),e("button",{type:"submit",class:p(["mt-4 flex h-12 w-full items-center justify-center gap-2 rounded-xl text-lg font-semibold",t(C)?"bg-[#e01b22] text-white":"bg-[#d9dadd] text-[#71757f]"]),disabled:t(x)||!t(C)},[i(a(t(x)?n("در حال ارسال...","Sending..."):n("ادامه","Continue"))+" ",1),d(t(J),{class:"h-4 w-4 shrink-0"})],10,Re)],32),e("div",$e,[s[5]||(s[5]=e("span",{class:"h-px flex-1 bg-[#dfdfe1]"},null,-1)),e("span",qe,a(n("یا","or")),1),s[6]||(s[6]=e("span",{class:"h-px flex-1 bg-[#dfdfe1]"},null,-1))]),e("button",{type:"button",class:"flex h-12 w-full items-center justify-center gap-2 rounded-xl border border-[#d4d4d6] bg-[#f7f7f7] text-lg font-medium text-[#2f2f2f]",disabled:t(y)||t(x),onClick:T},[s[7]||(s[7]=N('<svg class="h-5 w-5" viewBox="0 0 24 24" aria-hidden="true"><path fill="#EA4335" d="M12 10.2v3.9h5.5c-.2 1.3-1.5 3.9-5.5 3.9-3.3 0-6-2.7-6-6s2.7-6 6-6c1.9 0 3.2.8 4 1.5l2.7-2.6C17 3.3 14.7 2.3 12 2.3 6.9 2.3 2.8 6.4 2.8 11.5S6.9 20.7 12 20.7c6.9 0 9.1-4.8 9.1-7.2 0-.5 0-.9-.1-1.3z"></path><path fill="#34A853" d="M3.9 7.8l3.2 2.3C8 8.3 9.8 7 12 7c1.9 0 3.2.8 4 1.5l2.7-2.6C17 3.3 14.7 2.3 12 2.3 8.3 2.3 5.
11 4.4 3.9 7.8z"></path><path fill="#FBBC05" d="M12 20.7c2.6 0 4.8-.9 6.4-2.5l-3-2.4c-.8.6-1.9 1-3.4 1-2.6 0-4.9-1.8-5.7-4.1l-3.2 2.4c1.2 3.4 4.4 5.6 8.9 5.6z"></path><path fill="#4285F4" d="M21.1 13.5c0-.5 0-.9-.1-1.3H12v3.9h5.5c-.3 1.2-1 2.2-2.1 2.9l3 2.4c1.8-1.7 2.7-4.2 2.7-7.9z"></path></svg>',1)),i(" "+a(t(y)?n("در حال ورود...","Signing in..."):n("ثبت‌نام با گوگل","Sign up with Google")),1)],8,Pe),e("div",Te,[d(r,{to:t(h)("/terms"),class:"text-base font-medium text-[#4a4a4a]"},{default:m(()=>[i(a(n("قوانین و مقررات","Terms and conditions")),1)]),_:1},8,["to"]),d(r,{to:t($),class:"text-base font-medium text-[#4a4a4a]"},{default:m(()=>[i(a(n("پشتیبانی","Support")),1)]),_:1},8,["to"])])])])]),e("header",Ue,[e("div",Ie,[e("button",{type:"button",class:"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-white hover:bg-white/10",title:n("بازگشت","Back"),onClick:s[2]||(s[2]=(...l)=>t(S)&&t(S)(...l))},[d(t(H),{class:p(["h-5 w-5",t(w)?"rotate-180":""]),"stroke-width":2.25},null,8,["class"])],8,Ne),e("div",Oe,[e("h1",Ve,a(n("شروع تجربه شما در گویا دبی","Start your Gooya Dubai experience")),1),e("p",He,a(n("با ثبت‌نام، به تمام امکانات اپلیکیشن دسترسی خواهید داشت.","Create an account to access all Gooya Dubai features.")),1)])])]),e("main",We,[e("div",Je,[e("div",Qe,[e("div",Ye,[d(r,{to:t(j),replace:"",class:"flex items-center justify-center rounded-[21px] text-sm font-medium text-[#2F3542]"},{default:m(()=>[i(a(n("ورود","Sign in")),1)]),_:1},8,["to"]),e("span",Ke,a(n("ثبت‌نام","Sign up")),1)])]),e("form",{class:"mt-3.5",onSubmit:L(U,["prevent"])},[e("label",{class:p(["mb-2 block text-base font-bold text-[#2D3A50]",t(A)])},a(n("شماره موبایل","Phone number")),3),e("div",Xe,[e("button",{type:"button",class:"flex h-full shrink-0 items-center gap-1.5 border-e border-[#C9CED8] px-2 text-[#2D3A50] active:bg-gray-50",title:n("انتخاب کشور","Select country"),"aria-haspopup":"dialog","aria-expanded":t(g),onClick:s[3]||(s[3]=l=>g.value=!0)},[e("img",{src:z(t(u).code),alt:"",width:"22",height:"16",class:"h-4 w-[22px] shrink-0 rounded-sm border border-black/[0.06] object-cover",loading:"lazy",decoding:"async"},null,8,et),e("span",tt,"+"+a(t(b)(t(u).dialCode)),1),d(t(W),{class:"h-4 w-4 shrink-0 text-[#8a919c]","stroke-width":"2.25","aria-hidden":"true"})],8,Ze),e("input",{value:t(f),type:"tel",inputmode:"numeric",class:"h-full min-w-0 flex-1 bg-transparent px-2.5 text-left text-[15px] text-[#1f2330] outline-none placeholder:text-[#8B93A3] font-latin-numerals",placeholder:"555123456",onInput:P},null,40,st)]),e("p",nt,[i(a(n("با ادامهٔ ثبت‌نام،","By continuing, you accept the"))+" ",1),d(r,{to:t(h)("/terms"),class:"font-bold text-[#D12228]"},{default:m(()=>[i(a(n("قوانین و مقررات","terms and conditions")),1)]),_:1},8,["to"]),i(" "+a(n("و شرایط استفاده را می‌پذیرم.",".")),1)]),t(v)?(_(),k("p",at,a(t(v)),1)):F("",!0),e("button",{type:"submit",class:p(["mt-2.5 flex h-[52px] w-full items-center justify-center gap-2 rounded-[14px] text-base font-semibold",t(C)?"bg-[#D12228] text-white":"bg-[#E1E3E8] text-[#959BA8]"]),disabled:t(x)||!t(C)},[i(a(t(x)?n("در حال ارسال...","Sending..."):n("ادامه","Continue"))+" ",1),d(t(J),{class:"h-5 w-5 shrink-0"})],10,ot)],32),e("div",lt,[s[8]||(s[8]=e("span",{class:"h-px flex-1 bg-[#dfdfe1]"},null,-1)),e("span",it,a(n("یا","or")),1),s[9]||(s[9]=e("span",{class:"h-px flex-1 bg-[#dfdfe1]"},null,-1))]),e("button",{type:"button",class:"flex h-[52px] w-full items-center justify-center gap-2 rounded-[14px] border border-[#d4d4d6] bg-[#f7f7f7] text-base font-medium text-[#2f2f2f]",disabled:t(y)||t(x),onClick:T},[s[10]||(s[10]=N('<svg class="h-5 w-5" viewBox="0 0 24 24" aria-hidden="true"><path fill="#EA4335" d="M12 10.2v3.9h5.5c-.2 1.3-1.5 3.9-5.5 3.9-3.3 0-6-2.7-6-6s2.7-6 6-6c1.9 0 3.2.8 4 1.5l2.7-2.6C17 3.3 14.7 2.3 12 2.3 6.9 2.3 2.8 6.4 2.8 11.5S6.9 20.7 12 20.7c6.9 0 9.1-4.8 9.1-7.2 0-.5 0-.9-.1-1.3z"></path><path fill="#34A853" d="M3.9 7.8l3.2 2.3C8 8.3 9.8 7 12 7c1.9 0 3.2.8 4 1.5l2.7-2.6C17 3.3 14.7 2.3 12 2.3 8.3 2.3 5.
11 4.4 3.9 7.8z"></path><path fill="#FBBC05" d="M12 20.7c2.6 0 4.8-.9 6.4-2.5l-3-2.4c-.8.6-1.9 1-3.4 1-2.6 0-4.9-1.8-5.7-4.1l-3.2 2.4c1.2 3.4 4.4 5.6 8.9 5.6z"></path><path fill="#4285F4" d="M21.1 13.5c0-.5 0-.9-.1-1.3H12v3.9h5.5c-.3 1.2-1 2.2-2.1 2.9l3 2.4c1.8-1.7 2.7-4.2 2.7-7.9z"></path></svg>',1)),i(" "+a(t(y)?n("در حال ورود...","Signing in..."):n("ثبت‌نام با گوگل","Sign up with Google")),1)],8,rt),e("div",dt,[d(r,{to:t(h)("/terms"),class:"text-lg font-medium text-[#4a4a4a]"},{default:m(()=>[i(a(n("قوانین و مقررات","Terms and conditions")),1)]),_:1},8,["to"]),d(r,{to:t($),class:"text-lg font-medium text-[#4a4a4a]"},{default:m(()=>[i(a(n("پشتیبانی","Support")),1)]),_:1},8,["to"])]),s[11]||(s[11]=e("p",{class:"mt-2 text-center text-sm text-[#9ea0a8]"}," Gooya Dubai. All rights reserved 2026 © ",-1))])])],8,ye),t(g)?(_(),k("div",{key:0,class:"fixed inset-0 z-50 bg-black/35 px-3 pb-3 pt-24 lg:flex lg:items-center lg:justify-center lg:p-6",onClick:s[4]||(s[4]=L(l=>g.value=!1,["self"]))},[e("div",ct,[s[12]||(s[12]=e("div",{class:"mx-auto mb-4 h-1.5 w-16 rounded-full bg-[#dedee2]"},null,-1)),e("h3",ut,a(n("انتخاب کشور","Select country")),1),e("div",ft,[(_(),k(O,null,me(B,l=>e("button",{key:l.code,type:"button",class:p(["flex w-full items-center justify-between rounded-2xl border px-4 py-3 text-right text-base",l.code===t(u).code?"border-[#cf1e24]":"border-[#e1e2e6]"]),onClick:I=>se(l)},[e("div",xt,[e("img",{src:z(l.code),alt:"",width:"28",height:"21",class:"h-7 w-9 shrink-0 rounded-sm border border-black/[0.06] object-cover",loading:"lazy",decoding:"async"},null,8,mt),e("span",null,a(n(l.nameFa,l.nameEn)),1)]),e("div",ht,[l.code===t(u).code?(_(),he(t(ve),{key:0,class:"h-5 w-5 text-[#cf1e24]"})):F("",!0),e("span",gt,"+"+a(t(b)(l.dialCode)),1)])],10,pt)),64))])])])):F("",!0)],64)}}});export{jt 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.