1import{P as u,U as h,V as e,g as we,o as be,b as g,k as G,z as Ce,A as ye,Z as ce,H as i,R as L,_ as N,$ as A,Q as z,u as s,N as q,a2 as le,a6 as I,i as ae,a3 as de,a5 as B,a7 as H,c as y,a0 as D,M as Y,a8 as $e,ah as ke,ag as Me,T as pe,B as Fe,w as Te}from"./CjdGjYA8.js";import{v as xe,e as T,_ as K,p as me,g as S,h as k,f as ee,l as te}from"./iCNTwcUY.js";import{_ as Se}from"./7DlLtAXk.js";import{_ as R}from"./D7iweEf2.js";import{_ as Le,a as Ve}from"./D3j2aFhF.js";import{i as O}from"./BVdPa-W4.js";import{r as ze}from"./tD9RmP2G.js";import{r as je}from"./v9s9jCjM.js";import{r as Be}from"./tEC2j2dp.js";import{_ as Q}from"./CNPXdFMt.js";import{t as re,h as fe}from"./DuWjsSyR.js";import{r as De}from"./D6azz-0m.js";import{r as se}from"./CG2d5esk.js";import{r as J}from"./qMk8uS8M.js";import{c as _e}from"./ClqPk6J3.js";import{s as ie}from"./CCvq5xYq.js";import{r as He}from"./BeTYg1Dr.js";function Ae(a,t){return u(),h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M9.53 2.47a.75.75 0 0 1 0 1.06L4.81 8.25H15a6.75 6.75 0 0 1 0 13.5h-3a.75.75 0 0 1 0-1.5h3a5.25 5.25 0 1 0 0-10.5H4.81l4.72 4.72a.75.75 0 1 1-1.06 1.06l-6-6a.75.75 0 0 1 0-1.06l6-6a.75.75 0 0 1 1.06 0Z","clip-rule":"evenodd"})])}function yn(a,t){return u(),h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{d:"M8.25 10.875a2.625 2.625 0 1 1 5.25 0 2.625 2.625 0 0 1-5.25 0Z"}),e("path",{"fill-rule":"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm-1.125 4.5a4.125 4.125 0 1 0 2.338 7.524l2.007 2.006a.75.75 0 1 0 1.06-1.06l-2.006-2.007a4.125 4.125 0 0 0-3.399-6.463Z","clip-rule":"evenodd"})])}function $n(a,t){return u(),h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"fill-rule":"evenodd",d:"M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z","clip-rule":"evenodd"})])}function Ze(a,t){return u(),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.182 15.182a4.5 4.5 0 0 1-6.364 0M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM9.75 9.75c0 .414-.168.75-.375.75S9 10.164 9 9.75 9.168 9 9.375 9s.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Zm5.625 0c0 .414-.168.75-.375.75s-.375-.336-.375-.75.168-.75.375-.75.375.336.375.75Zm-.375 0h.008v.015h-.008V9.75Z"})])}function Ue(a,t){return u(),h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"})])}function Ne(a,t){const n=t/a*100;return 2/Math.PI*100*Math.atan(n/50)}function Ie(a={}){const{duration:t=2e3,throttle:n=200,hideDelay:l=500,resetDelay:r=400}=a,o=a.estimatedProgress||Ne,c=xe(),d=g(0),_=g(!1),v=g(!1);let w=!1,b,x,C,M;const m=()=>{v.value=!1,f(0)};function f(j=0){if(!c.isHydrating){if(j>=100)return Z();E(),d.value=j<0?0:j,n?x=setTimeout(()=>{_.value=!0,U()},n):(_.value=!0,U())}}function P(){C=setTimeout(()=>{_.value=!1,M=setTimeout(()=>{d.value=0},r)},l)}function Z(j={}){d.value=100,w=!0,E(),V(),j.error&&(v.value=!0),j.force?(d.value=0,_.value=!1):P()}function V(){clearTimeout(C),clearTimeout(M)}function E(){clearTimeout(x),cancelAnimationFrame(b)}function U(){w=!1;let j;function $(p){if(w)return;j??(j=p);const W=p-j;d.value=Math.max(0,Math.min(100,o(t,W))),b=requestAnimationFrame($)}b=requestAnimationFrame($)}let X=()=>{};{const j=c.hook("page:loading:start",()=>{m()}),$=c.hook("page:loading:end",()=>{Z()}),p=c.hook("vue:error",()=>Z());X=()=>{p(),j(),$(),E()}}return{_cleanup:X,progress:G(()=>d.value),isLoading:G(()=>_.value),error:G(()=>v.value),start:m,set:f,finish:Z,clear:E}}function Pe(a={}){const t=xe(),n=t._loadingIndicator=t._loadingIndicator||Ie(a);return we()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,be(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}
1const kn=Ce({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(a,{slots:t,expose:n}){const{progress:l,isLoading:r,error:o,start:c,finish:d,clear:_}=Pe({duration:a.duration,throttle:a.throttle,estimatedProgress:a.estimatedProgress});return n({progress:l,isLoading:r,error:o,start:c,finish:d,clear:_}),()=>ye("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${a.height}px`,opacity:r.value?1:0,background:o.value?a.errorColor:a.color||void 0,backgroundSize:`${100/l.value*100}% auto`,transform:`scaleX(${l.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function Mn(){T("mobileMenu").value=!1,T("currentMobileMenu").value=null,T("currentDesktopMenu").value=null,T("desktopMenuOverlay").value=null,T("mobileSearch").value=!1,T("blogMobileMenu").value=!1,T("blogSearch").value=!1}const Ee={},qe={class:"mt-3 flex items-center gap-x-1 sm:gap-x-2"};function Oe(a,t){return u(),h("div",qe,t[0]||(t[0]=[ce('<img class="h-[43px] w-10 sm:h-[60px] sm:w-14 xl:h-[85px] xl:w-20" src="'+Se+'" alt="pdgamer logo"><div class="flex flex-col sm:gap-y-2"><span class="text-[13px] font-black sm:text-base xl:text-xl"><span class="text-amber-500">Ù¾Ûâ</span><span class="text-red-700">دÛâ</span><span class="text-zinc-500">Ú¯ÙÛÙ
ÙØ±</span></span><span class="text-[7.8px] font-medium text-zinc-400 min-[428px]:text-[9px] sm:whitespace-nowrap sm:text-sm"> Ù
رجع ØªØ®ØµØµÛ ØªØ¬ÙÛØ²Ø§Øª Ø§ÙØ±Ø¬ÛÙØ§Ù Ú¯ÛÙ
ÛÙÚ¯ </span></div>',2)]))}const Re=K(Ee,[["render",Oe]]),Ge={class:"group flex max-w-max items-center gap-x-1 sm:gap-x-2 md:mr-10"},Ke={__name:"TheFooterPrimaryLink",props:["to","text"],setup(a){return(t,n)=>{const l=R;return u(),h("li",Ge,[n[0]||(n[0]=e("span",{class:"aspect-square h-2 w-2 rounded-full bg-red-100 transition duration-200 group-hover:bg-red-700 sm:h-3 sm:w-3"},null,-1)),i(l,{to:a.to,class:"font-medium text-zinc-400 transition duration-200 group-hover:text-red-700 max-sm:text-xs"},{default:L(()=>[N(A(a.text),1)]),_:1},8,["to"])])}}},We={class:"group flex max-w-max items-center gap-x-1 sm:gap-x-2"},Ye={__name:"TheFooterSecondaryLink",props:["to","text"],setup(a){return(t,n)=>{const l=R;return u(),h("li",We,[n[0]||(n[0]=e("span",{class:"aspect-square h-2 w-2 rounded-full bg-amber-100 transition duration-200 group-hover:bg-amber-500 sm:h-3 sm:w-3"},null,-1)),i(l,{to:a.to,class:"text-zinc-400 transition duration-200 group-hover:text-amber-500 max-sm:text-xs"},{default:L(()=>[N(A(a.text),1)]),_:1},8,["to"])])}}},Qe={};function Xe(a,t){const n=R;return u(),z(n,{to:"/certificates",class:"flex h-20 w-20 select-none items-center justify-center rounded-2xl border-b-2 border-b-transparent bg-white shadow-[0px_0px_60px_0px_#0000001A] transition duration-200 hover:border-b-[#f9dd4c] hover:shadow-[0px_0px_80px_0px_#00000026] xl:h-24 xl:w-24"},{default:L(()=>t[0]||(t[0]=[e("img",{class:"h-16 w-16 xl:h-20 xl:w-20",src:Le,alt:"zarinpal logo"},null,-1)])),_:1})}const Je=K(Qe,[["render",Xe]]),et={};function tt(a,t){const n=R;return u(),z(n,{to:"/certificates",class:"flex h-20 w-20 select-none items-center justify-center rounded-2xl border-b-2 border-b-transparent bg-white shadow-[0px_0px_60px_0px_#0000001A] transition duration-200 hover:border-b-cyan-600 hover:shadow-[0px_0px_80px_0px_#00000026] xl:h-24 xl:w-24"},{default:L(()=>t[0]||(t[0]=[e("img",{class:"h-16 w-16 xl:h-20 xl:w-20",src:Ve,alt:"sep logo"},null,-1)])),_:1})}const st=K(et,[["render",tt]]),nt=me("/assets/img/footer/samandehi.png"),ot={};function lt(a,t){const n=R;return u(),z(n,{to:"/certificates",class:"flex h-20 w-20 select-none items-center justify-center rounded-2xl border-b-2 border-b-transparent bg-white shadow-[0px_0px_60px_0px_#0000001A] transition duration-200 hover:border-b-[#E5AD26] hover:shadow-[0px_0px_80px_0px_#00000026] xl:h-24 xl:w-24"},{default:L(()=>t[0]||(t[0]=[e("img",{class:"h-16 w-16 xl:h-20 xl:w-20",src:nt,alt:"samandehi logo"},null,-1)])),_:1})}const at=K(ot,[["render",lt]]),rt=me("/assets/img/footer/enamad.png"),it={};function ut(a,t){const n=R;return u(),z(n,{to:"/certificates",class:"flex h-20 w-20 select-none items-center justify-center rounded-2xl border-b-2 border-b-transparent bg-white shadow-[0px_0px_60px_0px_#0000001A] transition duration-200 hover:border-b-[#104D96] hover:shadow-[0px_0px_80px_0px_#00000026] xl:h-24 xl:w-24"},{default:L(()=>t[0]||(t[0]=[e("img",{class:"h-16 w-16 xl:h-20 xl:w-20",src:rt,alt:"enamad logo"},null,-1)])),_:1})}const ct=K(it,[["render",ut]]),dt={class:"grid md:grid-flow-col-dense md:gap-x-4 lg:px-16"},pt={class:"flex items-center gap-x-2"},xt={class:"w-full max-md:mt-4"},mt={class:"flex items-center gap-x-2"},ft={class:"mt-3 grid grid-cols-2 gap-x-1 sm:grid-cols-3 sm:gap-x-4 md:grid-cols-2 lg:grid-cols-3 xl:mt-6"},_t={class:"col-span-1"},gt={class:"flex flex-col gap-y-2"},ht={class:"grid grid-cols-1 gap-x-4 max-sm:gap-y-2 sm:col-span-2 sm:grid-cols-2 md:col-span-1 md:grid-cols-1 md:max-lg:gap-y-2 lg:col-span-2 lg:grid-cols-2"},vt={class:"flex flex-col gap-y-2"},wt={class:"flex flex-col gap-y-2"},bt={class:"mt-5 flex flex-wrap items-center justify-between gap-x-px gap-y-4 sm:mt-8 sm:justify-end sm:gap-x-4 md:max-lg:ml-3 lg:max-xl:mb-4"},Ct={__name:"TheFooterMain",setup(a){const t=[{to:"/product-category/18/wireless-gaming-earphones",text:"Ø§ÛØ±Ù¾Ø§Ø¯ Ù ÙÙØ¯Ø²ÙØ±Û Ú¯ÛÙ
ÛÙÚ¯"},{to:"/product-category/2/mobile-gamepads",text:"Ø¯Ø³ØªÙ Ø¨Ø§Ø²Û Ù ØªØ±Ûگر Ù
ÙØ¨Ø§ÛÙ"},{to:"/product-category/10/mobile-and-ipad-coolers",text:"Ø®ÙÚ© Ú©ÙÙØ¯Ù Ú¯ÛÙ
ÛÙÚ¯ Ù
ÙØ¨Ø§ÛÙ"},{to:"/product-category/27/ps5-accessories",text:"ÙÙØ§Ø²Ù
Ø¬Ø§ÙØ¨Û PS5"},{to:"/product-category/5/finger-sleeves",text:"Ú©Ø§ÙØ± اÙÚ¯Ø´ØªÛ Ù Ø¯Ø³ØªÚ©Ø´ Ú¯ÛÙ
ÛÙÚ¯"}],n=[{to:"/contact-us",text:"تÙ
اس با Ù
ا"},{to:"/profile/orders",text:"Ù¾ÛÚ¯ÛØ±Û Ø³ÙØ§Ø±Ø´Ø§Øª"},{to:"/products",text:"Ù
Ø´Ø§ÙØ¯Ù تÙ
اÙ
Ù
ØØµÙÙØ§Øª"},{to:"/privacy-policy",text:"Ø´Ø±Ø§ÛØ· Ù ÙÙØ§ÙÛÙ Ù
Ø±Ø¬ÙØ¹Û ٠استرداد Ú©Ø§ÙØ§"}],l=[{to:"/blog",text:"Ø¨ÙØ§Ú¯"},{to:"/about-us",text:"دربار٠Ù
ا"},{to:"/profile",text:"ثبت ÙØ§Ù
/ ÙØ±Ùد Ø¨Ù ØØ³Ø§Ø¨ کاربرÛ"},{to:"/",text:"ثبت Ø¯Ø±Ø®ÙØ§Ø³Øª Ù
Ø±Ø¬ÙØ¹Û ÛØ§ تعÙÛØ¶ Ú©Ø§ÙØ§"}];return(r,o)=>{const c=Re,d=Ke,_=Ye,v=Je,w=st,b=at,x=ct;return u(),h("div",dt,[e("div",null,[e("h6",pt,[i(s(Ze),{class:"h-7 w-7 text-amber-500 sm:h-8 sm:w-8"}),o[0]||(o[0]=e("span",{class:"text-xs font-black sm:text-base xl:text-xl"},[e("span",{class:"text-zinc-500"},"از Ø¢Ø´ÙØ§ÛÛ Ø¨Ø§ÙØ§ØªÙÙ "),e("span",{class:"text-amber-500"},"Ø®ÙØ´Ø¨Ø®ØªÛÙ
...")],-1))]),o[1]||(o[1]=e("p",{class:"mt-2 text-ju
1stify text-xs font-light leading-5 text-zinc-400 sm:text-base md:w-[300px] xl:mt-5 xl:w-[336px] xl:text-lg xl:leading-6"},[N(" Ø¨Ù ÙØ§Ø³Ø·Ù Ø´Ø±Ø§ÛØ·Û ک٠در Ú©Ø´ÙØ± Ù
ا ÙØ¬Ùد Ø¯Ø§Ø±ÙØ ÙØ±ÙشگاÙâÙØ§Û عرض٠کÙÙØ¯Ù Ú©Ø§ÙØ§ÙØ§Û ÙÛÚ© ٠درج٠۳ Ù Û´ بدÙÙ Ø¨Ø±ÙØ¯ ٠اسÙ
Ø Ú©Ù
ÙÛØ³ØªÙ! ٠ب٠اسÙ
ÙÛÙ
ت Ù
ÙØ§Ø³Ø¨ Ù Ø§Ø±Ø²Ø§ÙØ بÛâÚ©ÛÙÛØªâترÛÙ Ú©Ø§ÙØ§ÙØ§Û Ù
ÙØ¬Ùد در بازار Ø¬ÙØ§ÙÛ Ø±Ù ÙØ§Ø±Ø¯ Ø§ÛØ±Ø§Ù Ù
ÛÚ©ÙÙ Ù Ø¨Ù ÙØ±ÙØ´ Ù
ÛØ±Ø³ÙÙÙ. "),e("br"),e("span",null,[e("span",{class:"font-normal text-amber-500"},"Ù¾Ûâ"),e("span",{class:"font-normal text-red-700"},"دÛâ"),e("span",{class:"font-semibold text-zinc-500"},"Ú¯ÛÙ
رØ")]),N(" با عرضÙâÛ Ø¨ÙØªØ±ÛÙ Ú©Ø§ÙØ§ÙØ§Û Ø¨Ø±ØªØ±ÛÙ Ø¨Ø±ÙØ¯ÙØ§Û Ú¯ÛÙ
ÛÙÚ¯ Ø±ÙØ² دÙÛØ§Ø اصÙÛ ØªØ±ÛÙ Ø¯ØºØ¯ØºÙ ÙØ§Û Ú¯ÛÙ
Ø±ÙØ§Û Ø¹Ø²ÛØ² Ø§ÛØ±Ø§ÙÛ Ø±Ù Ø¨Ø±Ø·Ø±Ù Ù
ÛÚ©ÙÙ Ù ØªØµÙØ±Ù
Ù٠اÛÙÙ Ú©Ù Ú¯ÛÙ
Ø±ÙØ§Û Ø§ÛØ±Ø§ÙÛ Ø§ÙÙÙØ¯Ø±Û Ù¾Ù٠اضاÙÛ ÙØ¯Ø§Ø±Ù Ú©Ù Ø¨Ø®ÙØ§Ù Ú©Ø§ÙØ§ÙØ§Û Ø¨Û Ú©ÛÙÛØª ٠بدÙÙ Ø¨Ø±ÙØ¯ بخرÙ! ")],-1)),i(c,{class:"max-md:hidden"})]),e("div",xt,[e("h6",mt,[i(s(Ue),{class:"h-7 w-7 text-amber-500 sm:h-8 sm:w-8"}),o[2]||(o[2]=e("span",{class:"text-xs font-black sm:text-base xl:text-xl"},[e("span",{class:"text-zinc-500"},"ÙÛÙÚ©âÙØ§Û "),e("span",{class:"text-amber-500"},"پرکاربرد")],-1))]),e("div",ft,[e("div",_t,[e("ul",gt,[(u(),h(q,null,le(t,(C,M)=>i(d,{key:M,to:C.to,text:C.text},null,8,["to","text"])),64))]),i(c,{class:"md:hidden"})]),e("div",ht,[e("ul",vt,[(u(),h(q,null,le(n,(C,M)=>i(_,{key:M,to:C.to,text:C.text},null,8,["to","text"])),64))]),e("ul",wt,[(u(),h(q,null,le(l,(C,M)=>i(_,{key:M,to:C.to,text:C.text},null,8,["to","text"])),64))])])]),e("div",bt,[i(v),i(w),i(b),i(x)])])])}}},yt={class:"flex h-20 w-20 select-none items-center justify-center xl:h-24 xl:w-24"},$t=["href"],kt={__name:"TheFooterTelegram",setup(a){return(t,n)=>(u(),h("div",yt,[e("a",{href:s(O).telegram,tabindex:"1",target:"_blank",class:"group flex aspect-square h-14 w-14 items-center justify-center rounded-full bg-cyan-50 shadow-[0px_0px_80px_0px_#06B6D44D] transition duration-200 hover:bg-cyan-500 hover:shadow-[0px_0px_100px_0px_#06B6D499] focus:bg-cyan-50 focus:shadow-[0px_0px_100px_0px_#06B6D499] focus:transition-none sm:h-16 sm:w-16 xl:h-[75px] xl:w-[75px]"},n[0]||(n[0]=[e("svg",{class:"h-auto w-10 sm:w-11",viewBox:"0 0 43 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{class:"fill-cyan-500 transition duration-200 group-hover:fill-white group-focus:fill-cyan-500",d:"M36.3757 5.47127C35.858 5.49431 35.3829 5.64668 34.9655 5.81502C34.5799 5.97041 33.1952 6.56595 30.9902 7.51228C28.7853 8.45862 25.8636 9.71334 22.7493 11.0536C16.5207 13.7342 9.52134 16.7495 5.9349 18.2939C5.81173 18.3464 5.31155 18.5031 4.75911 18.9348C4.2054 19.3676 3.59033 20.3068 3.59033 21.3339C3.59033 22.1625 3.99456 23.0063 4.48267 23.4895C4.97078 23.9726 5.46546 24.1985 5.87891 24.3668V24.3632C7.27646 24.9329 11.45 26.6418 12.4437 27.0487C12.7962 28.1295 14.3093 32.7566 14.6693 33.9202H14.6658C14.9202 34.7437 15.1682 35.2804 15.5126 35.7284C15.6848 35.9524 15.8904 36.1554 16.1425 36.3157C16.2392 36.3772 16.3464 36.4249 16.4539 36.4696C16.4689 36.4762 16.4844 36.4778 16.4994 36.484L16.4574 36.4732C16.4886 36.4861 16.5166 36.505 16.5484 36.5162C16.6002 36.5344 16.6361 36.5338 16.7059 36.5484C16.9514 36.6257 17.1964 36.6773 17.4233 36.6773C18.3972 36.6773 18.9945 36.1366 18.9945 36.1366L19.033 36.108L23.2392 32.4664L28.3902 37.3433C28.4843 37.4793 29.2214 38.4999 30.9272 38.4999C31.9451 38.4999 32.7499 37.9844 33.2648 37.4436C33.7797 36.9028 34.1004 36.3495 34.2446 35.5995L34.2481 35.5959C34.3631 34.9906 39.2942 9.65356 39.2942 9.65356L39.2837 9.69653C39.4372 8.99556 39.4825 8.31768 39.3012 7.62687C39.1199 6.93605 38.6306 6.26189 38.0414 5.90812C37.4522 5.55434 36.8935 5.44822 36.3757 5.47127ZM35.6689 9.48526C35.474 10.4863 31.0568 33.194 30.7838 34.6184L23.3442 27.5751L18.3156 31.9257L19.7083 26.3541C19.7083 26.3541 29.3162 16.4025 29.8949 15.8232C30.3608 15.3593 30.4583 15.1967 30.4583 15.0354C30.4583 14.8209 30.3504 14.6666 30.1014 14.6666C29.8774 14.6666 29.5733 14.8862 29.412 14.9888C27.363 16.296 18.6356 21.3852 14.3438 23.8834C14.0855 23.7774 10.2078 22.1841 8.11849 21.3303C11.8349 19.7298 18.2054 16.9872 24.1385 14.4338C27.2523 13.0938 30.1731 11.8379 32.376 10.8925C34.2355 10.0944 35.2054 9.6812 35.6689 9.48526ZM30.7313 34.8798H30.7348L30.7313 34.8905C30.7336 34.8787 30.7296 34.8891 30.7313 34.8798Z"})],-1)]),8,$t)]))}},Mt={class:"flex h-20 w-20 select-none items-center justify-center xl:h-24 xl:w-24"},Ft=["href"],Tt={__name:"TheFooterYoutube",setup(a){return(t,n)=>(u(),h("div",Mt,[e("a",{href:s(O).youtube,tabindex:"1",target:"_blank",class:"group flex aspect-square h-14 w-14 items-center justify-center rounded-full bg-red-50 shadow-[0px_0px_80px_0px_#EF44444D] transition duration-200 hover:bg-red-500 hover:shadow-[0px_0px_100px_0px_#EF444499] focus:bg-red-50 focus:shadow-[0px_0px_100px_0px_#EF444499] focus:transition-none sm:h-16 sm:w-16 xl:h-[75px] xl:w-[75px]"},n[0]||(n[0]=[e("svg",{class:"h-auto w-10 sm:w-11",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{class:"fill-red-500 transition duration-200 group-hover:fill-white group-focus:fill-red-500",d:"M10.4128 3.66675L13.1234 13.4636V18.1615H15.4723V13.4636L18.2188 3.66675H15.8519L14.8672 8.12476C14.5904 9.42642 14.4143 10.3516 14.3337 10.9034H14.262C14.1465 10.1316 13.9705 9.19952 13.7285 8.10685L12.7796 3.66675H10.4128ZM20.958 7.36564C20.1623 7.36564 19.5211 7.52113 19.0316 7.8383C18.5421 8.15363 18.1812 8.6582 17.9502 9.34936C17.721 10.0405 17.6064 10.9555 17.6064 12.0958V13.6355C17.6064 14.763 17.7056 15.6659 17.9072 16.3461C18.1089 17.0263 18.4492 17.5273 18.9277 17.85C19.4062 18.1727 20.0646 18.3334 20.9043 18.3334C21.722 18.3334 22.372 18.1743 22.8486 17.8572C23.3253 17.54 23.6708 17.0425 23.8835 16.3569C24.0961 15.6712 24.2021 14.7648 24.2021 13.6355V12.0958C24.2021 10.9573 24.0945 10.0458 23.8763 9.36011C23.6581 8.67627 23.3109 8.17171 22.8379 7.84904C22.3649 7.52637 21.7408 7.36564 20.958 7.36564ZM25.4447 7.57332V15.4832C25.4447 16.4622 25.6087 17.1822 25.9424 17.6423C26.2761 18.1025 26.7943 18.3334 27.4964 18.3334C28.5084 18.3334 29.2713 17.8443 29.7773 16.8653H29.8275L30.0352 18.1615H31.9007V7.57332H29.5195V15.9845C29.4279 16.1806 29.2877 16.3414 29.097 16.4679C28.9063 16.5962 28.7098 16.6576 28.5026 16.6576C28.2606 16.6576 28.0879 16.5585 27.9834 16.3569C27.8789 16.1552 27.8258 15.8165 27.8258 15.3435V7.57332H25.4447ZM20.9043 9.00562C21.238 9.00562 21.4741 9.17998 21.6061 9.53198C21.7381 9.88215 21.8031 10.4398 21.8031 11.2006V14.4985C21.8031 15.2813 21.7381 15.8475 21.6061 16.1921C21.4741 16.5368 21.2397 16.7095 20.9079 16.7113C20.5742
116.7113 20.3433 16.5368 20.2168 16.1921C20.0885 15.8475 20.027 15.2813 20.027 14.4985V11.2006C20.027 10.4416 20.092 9.88398 20.224 9.53198C20.356 9.18182 20.5816 9.00562 20.9043 9.00562ZM9.16667 20.1667C7.15 20.1667 5.5 21.8167 5.5 23.8334V36.6667C5.5 38.6834 7.15 40.3334 9.16667 40.3334H34.8333C36.85 40.3334 38.5 38.6834 38.5 36.6667V23.8334C38.5 21.8167 36.85 20.1667 34.8333 20.1667H9.16667ZM22.0895 23.8334H24.0267V28.5421H24.041C24.2152 28.2011 24.465 27.9275 24.7858 27.7185C25.1066 27.5095 25.4539 27.407 25.8242 27.407C26.3009 27.407 26.6737 27.5335 26.945 27.7865C27.2163 28.0395 27.4148 28.4483 27.5358 29.0111C27.6568 29.5758 27.7148 30.3591 27.7148 31.3601V32.7745H27.7184C27.7184 34.1073 27.5559 35.0837 27.235 35.7107C26.9142 36.3377 26.4149 36.6524 25.7347 36.6524C25.3552 36.6524 25.0115 36.5652 24.6999 36.391C24.3882 36.2169 24.1539 35.9774 23.998 35.6749H23.9551L23.751 36.5199H22.0895V23.8334ZM10.0583 24.2846H16.0202V25.9067H14.0221V36.5199H12.0563V25.9067H10.0583V24.2846ZM31.3457 27.4106C32.035 27.4106 32.5652 27.5371 32.9355 27.7901C33.304 28.0431 33.564 28.4383 33.7161 28.9718C33.8665 29.5071 33.9417 30.2459 33.9417 31.1882V32.7208H30.5758V33.1755C30.5758 33.7494 30.5911 34.1786 30.626 34.4646C30.6608 34.7506 30.7309 34.9611 30.8372 35.0912C30.9436 35.2232 31.1077 35.2882 31.3314 35.2882C31.632 35.2882 31.839 35.1701 31.9508 34.9373C32.0627 34.7044 32.1243 34.318 32.1335 33.7735L33.8701 33.8738C33.8793 33.9508 33.8844 34.0604 33.8844 34.196C33.8844 35.0229 33.6569 35.6403 33.2041 36.0473C32.7513 36.4561 32.1152 36.6596 31.2884 36.6596C30.2966 36.6596 29.6005 36.3465 29.2008 35.725C28.8012 35.1035 28.6029 34.1424 28.6029 32.8389V31.2778C28.6029 29.9357 28.8098 28.9558 29.2223 28.338C29.6348 27.7201 30.3447 27.4106 31.3457 27.4106ZM15.4186 27.5824H17.4346V34.1459C17.4346 34.5437 17.4791 34.8295 17.5671 34.9981C17.6551 35.1686 17.7986 35.2524 18.0039 35.2524C18.1781 35.2524 18.3493 35.1994 18.5088 35.0912C18.6701 34.9849 18.7844 34.848 18.8633 34.683V27.5824H20.8792V36.5199H20.8757H19.3001L19.1283 35.4242H19.0817C18.6527 36.2529 18.0114 36.6667 17.1553 36.6667C16.5613 36.6667 16.1271 36.4718 15.8447 36.0831C15.5624 35.6944 15.4186 35.0855 15.4186 34.2605V27.5824ZM31.3027 28.7712C31.0882 28.7712 30.9292 28.8364 30.8265 28.961C30.7238 29.0875 30.6554 29.2945 30.6224 29.5805C30.5876 29.8665 30.5723 30.3009 30.5723 30.8839V31.5248H32.0439V30.8839C32.0439 30.31 32.0252 29.8775 31.9867 29.5805C31.95 29.2835 31.8781 29.0749 31.7754 28.9539C31.6727 28.8329 31.5172 28.7712 31.3027 28.7712ZM24.9183 28.8357C24.724 28.8357 24.5462 28.9126 24.3812 29.0684C24.2162 29.2243 24.0981 29.4244 24.0303 29.6664V34.7403C24.1183 34.8961 24.2329 35.0124 24.374 35.0912C24.5152 35.1682 24.6655 35.2094 24.8324 35.2094C25.0469 35.2094 25.2143 35.1325 25.3408 34.9766C25.4673 34.8208 25.5598 34.5592 25.613 34.1889C25.6661 33.8204 25.6917 33.3072 25.6917 32.6563V31.5069C25.6917 30.8066 25.6713 30.2679 25.6273 29.8884C25.5833 29.5089 25.5045 29.2351 25.3945 29.0756C25.2827 28.9161 25.1236 28.8357 24.9183 28.8357Z"})],-1)]),8,Ft)]))}},St={class:"flex h-20 w-20 select-none items-center justify-center xl:h-24 xl:w-24"},Lt=["href"],Vt={__name:"TheFooterWhatsapp",setup(a){return(t,n)=>(u(),h("div",St,[e("a",{href:s(O).whatsapp,tabindex:"1",target:"_blank",class:"group flex aspect-square h-14 w-14 items-center justify-center rounded-full bg-green-50 shadow-[0px_0px_80px_0px_#22C55E4D] transition duration-200 hover:bg-green-500 hover:shadow-[0px_0px_100px_0px_#22C55E4D] focus:bg-green-50 focus:shadow-[0px_0px_100px_0px_#22C55E4D] focus:transition-none sm:h-16 sm:w-16 xl:h-[75px] xl:w-[75px]"},n[0]||(n[0]=[e("svg",{class:"h-auto w-10 sm:w-11",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{class:"fill-green-500 transition duration-200 group-hover:fill-white group-focus:fill-green-500",d:"M31.795 8.21325C28.6517 5.06825 24.4717 3.33492 20.0183 3.33325C10.8417 3.33325 3.37333 10.7983 3.37 19.9749C3.36833 22.9082 4.13499 25.7716 5.59166 28.2949L3.33333 36.6666L12.055 34.6049C14.4867 35.9316 17.2233 36.6299 20.01 36.6316H20.0167C29.1917 36.6316 36.66 29.1649 36.665 19.9899C36.6683 15.5416 34.9383 11.3599 31.795 8.21325ZM28.1633 25.9232C27.8167 26.8949 26.1183 27.8316 25.355 27.8999C24.5917 27.9699 23.8767 28.2449 20.3633 26.8599C16.135 25.1932 13.465 20.8582 13.2583 20.5816C13.05 20.3032 11.56 18.3266 11.56 16.2799C11.56 14.2332 12.635 13.2266 13.0167 12.8116C13.3983 12.3949 13.8483 12.2916 14.1267 12.2916C14.4033 12.2916 14.6817 12.2916 14.9233 12.3016C15.22 12.3133 15.5483 12.3282 15.86 13.0199C16.23 13.8433 17.0383 15.8999 17.1417 16.1082C17.245 16.3166 17.315 16.5599 17.1767 16.8366C17.0383 17.1132 16.9683 17.2866 16.7617 17.5299C16.5533 17.7732 16.325 18.0716 16.1383 18.2582C15.93 18.4649 15.7133 18.6916 15.955 19.1066C16.1983 19.5232 17.0317 20.8849 18.2683 21.9866C19.8583 23.4032 21.1967 23.8416 21.6133 24.0516C22.03 24.2599 22.2717 24.2249 22.515 23.9466C22.7583 23.6699 23.555 22.7332 23.8317 22.3166C24.1083 21.8999 24.3867 21.9699 24.7683 22.1082C25.15 22.2466 27.195 23.2532 27.61 23.4616C28.0267 23.6699 28.3033 23.7732 28.4067 23.9466C28.51 24.1182 28.51 24.9516 28.1633 25.9232Z"})],-1)]),8,Lt)]))}},zt={class:"flex h-20 w-20 select-none items-center justify-center xl:h-24 xl:w-24"},jt=["href"],Bt={__name:"TheFooterInstagram",setup(a){return(t,n)=>(u(),h("div",zt,[e("a",{href:s(O).instagram,tabindex:"1",target:"_blank",class:"group flex aspect-square h-14 w-14 items-center justify-center rounded-full bg-violet-50 shadow-[0px_0px_80px_0px_#8B5CF640] transition duration-200 hover:bg-violet-500 hover:shadow-[0px_0px_100px_0px_#8B5CF640] focus:bg-violet-50 focus:shadow-[0px_0px_100px_0px_#8B5CF640] focus:transition-none sm:h-16 sm:w-16 xl:h-[75px] xl:w-[75px]"},n[0]||(n[0]=[e("svg",{class:"h-auto w-10 sm:w-11",viewBox:"0 0 43 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{class:"fill-violet-500 transition duration-200 group-hover:fill-white group-focus:fill-violet-500",d:"M14.3333 5.5C9.38654 5.5 5.375 9.60483 5.375 14.6667V29.3333C5.375 34.3952 9.38654 38.5 14.3333 38.5H28.6667C33.6135 38.5 37.625 34.3952 37.625 29.3333V14.6667C37.625 9.60483 33.6135 5.5 28.6667 5.5H14.3333ZM32.25 9.16667C33.239 9.16667 34.0417 9.988 34.0417 11C34.0417 12.012 33.239 12.8333 32.25 12.8333C31.261 12.8333 30.4583 12.012 30.4583 11C30.4583 9.988 31.261 9.16667 32.25 9.16667ZM21.5 12.8333C26.4468 12.8333 30.4583 16.9382 30.4583 22C30.4583 27.0618 26.4468 31.1667 21.5 31.1667C16.5532 31.1667 12.5417 27.0618 12.5417 22C12.5417 16.9382 16.5532 12.8333 21.5 12.8333ZM21.5 16.5C20.0745 16.5 18.7073 17.0795 17.6993 18.1109C16.6913 19.1424 16.125 20.5413 16.125 22C16.125 23.4587 16.6913 24.8576 17.6993 25.8891C18.7073 26.9205 20.0745 27.5 21.5 27.5C22.9255 27.5 24.2927 26.9205 25.3007 25.8891C26.3087 24.8576 26.875 23.4587 26.875 22C26.875 20.5413 26.3087 19.1424 25.3007 18.1109C24.2927 17.0795 22.9255 16.5 21.5 16.5Z"})],-1)]),8,jt)]))}},Dt={class:"relative mx-auto"},Ht={class:"absolute -top-10 left-0 flex items-center gap-x-px max-sm:right-0 max-sm:justify-between sm:gap-x-4 md:left-3 lg:left-16 xl:-top-12"},At={class:"rounded-t-[40px] bg-black px-10 pb-5 pt-12 md:px-8 md:pb-6 md:pt-5 lg:rounded-t-[65px] lg:px-16"},Zt={class:"mt-4 grid grid-cols-1 gap-x-2 gap-y-6 md:grid-cols-2 md:gap-y-7"},Ut={class:"flex items-center gap-x-1 max-sm:justify-between sm:gap-x-5"},Nt={class:"flex items-center gap-x-2"},It={class:"flex flex-col"},Pt=["href"],Et={class:"flex items-center gap-x-1 max-md:order-3 max-sm:justify-between sm:gap-x-4 md:justify-end lg:gap-x-5 xl
1:gap-x-20"},qt={class:"flex items-center gap-x-1 max-sm:-mr-1 sm:max-md:-mr-2"},Ot={class:"flex flex-col items-center gap-y-[6px]"},Rt={class:"flex items-center gap-x-1 rounded-2xl bg-red-100 px-[10px] text-xs font-black text-red-700 shadow-[0px_0px_60px_0px_#B91C1C73] max-sm:py-[2px] sm:text-lg"},Gt={class:"flex items-center gap-x-2 max-md:order-2 md:justify-end"},Kt={__name:"TheFooterPost",setup(a){return(t,n)=>{const l=kt,r=Tt,o=Vt,c=Bt;return u(),h("div",Dt,[e("div",Ht,[i(l),i(r),i(o),i(c)]),e("div",At,[n[6]||(n[6]=e("h6",{class:"text-lg font-black text-white max-sm:text-center md:text-xl"},"Ø¬ÙØ§Ø¨ Ø³ÙØ§ÙاتÙÙ Ù¾ÛØ´ Ù
است...",-1)),e("div",Zt,[e("div",Ut,[e("div",Nt,[e("div",It,[n[0]||(n[0]=e("div",{class:"flex items-center justify-between"},[e("span",{class:"text-[10px] font-light text-amber-50 sm:text-sm"},"سر ٠پا Ú¯ÙØ´ÛÙ
..."),e("span",{class:"text-white max-sm:text-xs"},"Û°Û²Û±")],-1)),e("a",{href:"tel:"+s(O).phone.number,class:"text-lg font-bold tracking-wider text-amber-500 xl:text-2xl"},A(s(O).phone.text),9,Pt)]),i(s(ze),{class:"aspect-square h-9 w-9 min-w-9 text-amber-500 sm:h-12 sm:w-12 sm:min-w-12"})]),n[1]||(n[1]=ce('<div class="flex flex-col items-center gap-y-[6px]"><span class="text-[10px] font-light text-red-100 sm:text-sm">Ø±ÙØ²ÙØ§Û Ú©Ø§Ø±Û</span><span class="flex items-center gap-x-1 rounded-2xl bg-red-100 px-[10px] text-red-700 shadow-[0px_0px_60px_0px_#B91C1C73]"><span class="text-sm font-black sm:text-lg">Û±Û°</span><span class="text-[10px] sm:text-sm">اÙÛ</span><span class="text-sm font-black sm:text-lg">Û±Û¶</span></span></div>',1))]),e("div",Et,[e("div",qt,[i(s(je),{class:"aspect-square w-9 min-w-9 text-amber-500 sm:w-12 sm:min-w-12"}),n[2]||(n[2]=e("div",{class:"flex flex-col [text-shadow:0px_0px_40px_#F59E0CB2]"},[e("div",null,[e("span",{class:"text-xs font-bold text-amber-500 sm:text-xl md:text-lg lg:text-xl"},"ØªÙØ±Ø§ÙØ "),e("span",{class:"text-[10px] font-normal text-white sm:text-lg md:text-base lg:text-lg"},"Ù
ÛØ¯Ø§Ù ÙÙÛØ¹ØµØ±Ø")]),e("span",{class:"text-[10px] font-normal text-white sm:text-lg md:text-base lg:text-lg"}," بÙÙØ§Ø± Ú©Ø´Ø§ÙØ±Ø² ")],-1))]),e("div",Ot,[n[3]||(n[3]=e("span",{class:"text-[10px] font-light text-red-100 sm:text-sm"},"کدپستÛ",-1)),e("span",Rt,A(s(O).postcode),1)])]),n[5]||(n[5]=e("p",{class:"text-[8px] font-extralight text-white max-md:order-last max-sm:-mx-6 max-sm:text-center sm:text-sm"}," تÙ
اÙ
Û ØÙÙÙ Ø¨Ø±Ø§Û Ù¾ÛâØ¯ÛâÚ¯ÛÙ
ر Ù
ØÙÙØ¸ است Ù ÙØ±Ú¯ÙÙÙ Ú©Ù¾Û Ø¨Ø±Ø¯Ø§Ø±Û Ø§Ø² Ù
ØØªÙØ§Û Ø§ÛÙ ÙØ¨Ø³Ø§Ûت ØºÛØ± ÙØ§ÙÙÙÛ Ø§Ø³Øª. ",-1)),e("div",Gt,[i(s(Be),{class:"w-6 min-w-6 text-amber-500"}),n[4]||(n[4]=e("p",{class:"text-xs font-extralight text-white sm:text-sm"},[N(" Ù¾ÛâØ¯Û Ú¯ÛÙ
ر ÛÚ© ÙØ±Ùشگا٠کاÙ
ÙØ§ Ø¢ÙÙØ§Û٠است Ù ÙØ±ÙØ´Ø Ù
راجع٠٠"),e("span",{class:"font-bold text-red-100"},"ÙÛÚ Ú¯ÙÙ٠خدÙ
ات ØØ¶ÙرÛâ ÙØ¯Ø§Ø±Ø¯.")],-1))])])])])}}},Wt={},Yt={class:"mx-auto max-w-[1380px] px-5"};function Qt(a,t){const n=Ct,l=Kt;return u(),h("footer",Yt,[i(n),i(l,{class:"mt-14 lg:mt-8 xl:mt-4"})])}const Fn=K(Wt,[["render",Qt]]),Xt={class:"mb-8 flex flex-col lg:mb-10"},Jt={class:"mt-8 flex flex-col gap-y-4 md:mt-9 lg:mt-[38px]"},es=["value"],ts={__name:"CheckUsername",props:{username:{},usernameModifiers:{},step:{},stepModifiers:{}},emits:["update:username","update:step"],setup(a){const t=I(a,"username"),n=I(a,"step"),l=ae("ttl"),r=g(!1);async function o(){if(!r.value&&t.value){r.value=!0,await S("/sanctum/csrf-cookie");try{const c=await S("/v1/authenticate/check-username",{method:"POST",body:{username:t.value}});c.data.step&&(n.value=c.data.step),c.data.sms_ttl&&(l.value=c.data.sms_ttl)}catch(c){k(null,c)}r.value=!1}}return(c,d)=>{const _=Q;return u(),h("div",Xt,[d[2]||(d[2]=e("p",{class:"text-center text-sm font-medium text-red-700 md:text-base lg:text-lg"},[N(" Ø´Ù
ار٠Ù
ÙØ¨Ø§ÛÙ ÛØ§ آدرس اÛÙ
ÛÙØªÙÙ "),e("br",{class:"max-lg:hidden"}),N(" Ø±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯ ")],-1)),e("div",Jt,[e("input",{value:t.value,type:"text",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-sm text-red-700 shadow-[0px_0px_80px_0px_#00000026] placeholder:text-xs placeholder:text-zinc-300 focus:outline-none sm:text-base xl:text-lg",placeholder:"Û°Û¹Û±Û²Û±Û²Û³Û´ÛµÛ¶Û·Û¸ / [email protected]",onInput:d[0]||(d[0]=v=>t.value=("toEnDigit"in c?c.toEnDigit:s(re))(v.target.value))},null,40,es),i(_,{pending:s(r),onClick:o},{default:L(()=>d[1]||(d[1]=[e("span",{class:""},"ÙØ±Ùد",-1),e("span",{class:"mx-2 text-sm"},"/",-1),e("span",null,"ثبت ÙØ§Ù
",-1)])),_:1},8,["pending"])])])}}},ss={class:"absolute left-2 sm:left-12 lg:mt-2"},ns={type:"button",class:"group z-10 flex w-9 flex-col items-center justify-center rounded-lg bg-white text-zinc-500 shadow-[0px_0px_100px_0px_#00000033] transition duration-200 hover:text-red-700 max-lg:h-[112px] max-lg:rounded-tl-[15px] lg:relative lg:aspect-square lg:sh
1adow-[0px_0px_100px_0px_#00000080] lg:hover:shadow-[0px_0px_80px_0px_#000000]"},ne={__name:"ReturnButton",setup(a){return(t,n)=>(u(),h("div",ss,[e("button",ns,[i(s(Ae),{class:"aspect-square h-4 w-4"}),n[0]||(n[0]=e("span",{class:"text-[8px] lg:hidden"},"بازگشت",-1)),n[1]||(n[1]=e("span",{class:"pointer-events-none absolute -top-8 rounded-[3px] bg-white px-2 py-[2px] text-[13px] text-red-700 opacity-0 transition duration-200 group-hover:opacity-100 max-lg:hidden"}," بازگشت ",-1))])]))}},os={class:"relative flex items-center justify-center px-6 sm:px-5"},ls={key:0,class:"text-xs text-white group-disabled:text-zinc-300 sm:text-sm"},ue={__name:"SecondaryButton",props:["pending","text"],setup(a){return(t,n)=>(u(),h("button",{type:"button",class:de(["group relative mx-auto h-7 max-w-max rounded-lg bg-gradient-to-r from-zinc-500 to-zinc-400 transition duration-300 disabled:cursor-not-allowed disabled:border disabled:border-zinc-300 disabled:from-zinc-100 disabled:to-zinc-100",a.pending?"cursor-not-allowed":""])},[n[0]||(n[0]=e("div",{class:"absolute inset-0 rounded-lg bg-gradient-to-l from-zinc-500 to-zinc-400 transition duration-300 group-hover:opacity-0 group-focus:opacity-100 group-disabled:from-zinc-100 group-disabled:to-zinc-100"},null,-1)),e("div",os,[a.pending?(u(),z(s(De),{key:1,class:"w-8 animate-pulse text-red-50"})):(u(),h("span",ls,A(a.text),1))])],2))}},as={class:"mb-[14px] flex flex-col items-center lg:mb-5"},rs={dir:"ltr",class:"flex h-[50px] w-60 items-center justify-center rounded-[10px] px-2 text-red-700 shadow-[0px_0px_80px_0px_#00000026]"},is={class:"line-clamp-1 text-[11px] sm:text-xs"},us={class:"mt-3 flex flex-col gap-y-4"},cs={class:"flex items-center justify-between px-7"},ds={class:"flex-1"},ps={__name:"EmailLogin",props:{step:{},stepModifiers:{},username:{},usernameModifiers:{}},emits:["update:step","update:username"],setup(a){const t=I(a,"step"),n=I(a,"username"),l=g(""),r=g(!1),o=ee(),c=T("authForm"),d=te();async function _(){if(!r.value&&n.value&&l.value){r.value=!0,await S("/sanctum/csrf-cookie");try{(await S("/v1/authenticate/email-login",{method:"POST",body:{email:n.value,password:l.value,remember:!0}})).status==="success"&&(c.value=!1,await d.sync(),await o.fetchUser(),t.value="check username",k(null,null,"ÙØ±Ùد Ù
ÙÙÙ Ø¨Ù ØØ³Ø§Ø¨ کاربرÛ","success"))}catch(w){k(null,w)}r.value=!1}}async function v(){if(!r.value&&n.value){r.value=!0,await S("/sanctum/csrf-cookie");try{const w=await S("/v1/authenticate/forgot-password",{method:"POST",body:{email:n.value}});k(w,null)}catch(w){k(null,w)}r.value=!1}}return(w,b)=>{const x=ne,C=ue,M=Q;return u(),h("div",as,[i(x,{onClick:b[0]||(b[0]=m=>t.value="check username")}),e("div",rs,[e("span",is,A(n.value),1)]),e("div",us,[B(e("input",{"onUpdate:modelValue":b[1]||(b[1]=m=>y(l)?l.value=m:null),type:"password",dir:"ltr",class:"order-1 h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"رÙ
ز Ø¹Ø¨ÙØ±ØªÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(l)]]),i(C,{class:"order-3 lg:order-2",pending:s(r),text:"Ø¨Ø§Ø²ÛØ§Ø¨Û رÙ
ز Ø¹Ø¨ÙØ±",onClick:v},null,8,["pending"]),i(M,{class:"order-2 lg:order-3",pending:s(r),onClick:_},{default:L(()=>[e("div",cs,[e("span",ds,[i(s(se),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),b[2]||(b[2]=e("span",null,"ÙØ±Ùد",-1)),b[3]||(b[3]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])])}}},xs={class:"mb-[14px] flex flex-col items-center lg:mb-5"},ms={dir:"ltr",class:"flex h-[50px] w-60 items-center justify-center rounded-[10px] px-2 text-red-700 shadow-[0px_0px_80px_0px_#00000026]"},fs={class:"line-clamp-1 text-[11px] sm:text-xs"},_s={class:"mt-3 flex flex-col gap-y-3"},gs={class:"flex items-center justify-between px-7"},hs={class:"flex-1"},vs={class:"flex flex-col gap-y-3"},ws={class:"flex items-center justify-between px-7"},bs={class:"flex-1"},Cs={__name:"EmailRegister",props:{step:{},stepModifiers:{},username:{},usernameModifiers:{}},emits:["update:step","update:username"],setup(a){const t=I(a,"step"),n=I(a,"username"),l=g(""),r=g(""),o=g(1),c=g(""),d=g(""),_=g(!1),v=ee(),w=T("authForm"),b=te(
1),x=G(()=>!_.value&&l.value&&l.value.length>=8&&r.value&&r.value.length>=8&&l.value===r.value);function C(){x.value?o.value=2:(k(null,null,"رÙ
ز Ø¹Ø¨ÙØ± Ø¨Ø§ÛØ¯ ØØ¯Ø§ÙÙ Û¸ کاراکتر داشت٠باشد","error"),k(null,null,"رÙ
ز Ø¹Ø¨ÙØ± Ø¨Ø§ÛØ¯ با تکرار Ø¢Ù Ù
Ø·Ø§Ø¨ÙØª داشت٠باشد","error"))}async function M(){if(x.value&&c.value&&d.value){_.value=!0,await S("/sanctum/csrf-cookie");try{(await S("/v1/authenticate/email-register",{method:"POST",body:{email:n.value,password:l.value,password_confirmation:r.value,first_name:c.value,last_name:d.value,remember:!0}})).status==="success"&&(w.value=!1,await b.sync(),await v.fetchUser(),t.value="check username",k(null,null,"ØØ³Ø§Ø¨ Ú©Ø§Ø±Ø¨Ø±Û Ø´Ù
ا با Ù
ÙÙÙÛØª Ø§ÛØ¬Ø§Ø¯ شد","success"))}catch(m){k(null,m)}_.value=!1}}return(m,f)=>{const P=ne,Z=Q;return u(),h("div",xs,[s(o)===1?(u(),h(q,{key:0},[i(P,{onClick:f[0]||(f[0]=V=>t.value="check username")}),e("div",ms,[e("span",fs,A(n.value),1)]),e("div",_s,[B(e("input",{"onUpdate:modelValue":f[1]||(f[1]=V=>y(l)?l.value=V:null),type:"password",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"رÙ
ز Ø¹Ø¨ÙØ± Ø¯ÙØ®ÙØ§ÙØªÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(l)]]),B(e("input",{"onUpdate:modelValue":f[2]||(f[2]=V=>y(r)?r.value=V:null),type:"password",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"رÙ
ز Ø¹Ø¨ÙØ± Ø¯ÙØ®ÙØ§ÙØªÙ٠ر٠اÛÙØ¬Ø§ ÙÙ
ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(r)]]),i(Z,{pending:s(_),onClick:C},{default:L(()=>[e("div",gs,[e("span",hs,[i(s(se),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),f[6]||(f[6]=e("span",null,"Ù
رØÙ٠بعد",-1)),f[7]||(f[7]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])],64)):D("",!0),s(o)===2?(u(),h(q,{key:1},[i(P,{onClick:f[3]||(f[3]=V=>o.value=1)}),e("div",vs,[B(e("input",{"onUpdate:modelValue":f[4]||(f[4]=V=>y(c)?c.value=V:null),type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"اسÙ
تÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(c)]]),B(e("input",{"onUpdate:modelValue":f[5]||(f[5]=V=>y(d)?d.value=V:null),type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"ÙØ§Ù
خاÙÙØ§Ø¯Ú¯ÛتÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(d)]]),i(Z,{pending:s(_),onClick:M},{default:L(()=>[e("div",ws,[e("span",bs,[i(s(J),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),f[8]||(f[8]=e("span",null,"ثبت ÙØ§Ù
",-1)),f[9]||(f[9]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])],64)):D("",!0)])}}},ys={dir:"ltr",class:"absolute inset-y-0 left-1 flex items-center text-xs text-red-700 sm:text-sm"},ge={__name:"FormTimer.client",props:["targetTime"],setup(a){Y(()=>{r(),ie(()=>{r()},1e3)});const t=g(0),n=g(0),l=a;function r(){const o=l.targetTime-new Date;o>0&&(t.value=Math.floor(o/1e3/60%60),n.value=Math.floor(o/1e3%60))}return(o,c)=>(u(),h("span",ys,[e("span",null,A(s(t).toLocaleString("fa",{minimumIntegerDigits:2,useGrouping:!1})),1),c[0]||(c[0]=e("span",null,":",-1)),e("span",null,A(s(n).toLocaleString("fa",{minimumIntegerDigits:2,useGrouping:!1})),1)]))}},$s=_e(ge),ks={class:"mb-[14px] flex flex-col items-center lg:mb-5"},Ms={dir:"ltr",class:"flex h-[50px] w-60 items-center justify-center rounded-[10px] px-2 text-red-700 shadow-[0px_0px_80px_0px_#00000026]"},Fs={class:"line-clamp-1 text-sm sm:text-base lg:text-lg"},Ts={class:"mt-3 flex flex-col gap-y-4"},Ss={class:"relative"},Ls=["value"],Vs={class:"flex items-center justify-between px-7"},zs={class:"flex-1"},js={__name:"MobileLogin",props:{step:{},stepModifiers:{},username:{},usernameModifiers:{}},emits:["update:step","update:username"],setup(a){const t=I(a,"step"),n=ae("ttl"),l=g(!1);Y(()=>{l.value=!0});const r=g();o();function o(){r.value=new Date,r.value.setSeconds(r.value.getSeconds()+n.value)}const c=g(null);Y(()=>{ie(()=>{c.value=r.value-new Date},1e3)});const d=I(a,"username"),_=g(""),v=g(!1),w=ee(),b=T("authForm"),x=te();async function C(){if(!v.value&&d.value&&_.value){v.value=!0,await S("/sanctum/csrf-cookie");try{(await S("/v1/authenticate/mobile-login",{method:"POST",body:{mobile:d.value,code:_.value,remember:!0}})).status==="success"&&(b.value=!1,await x.sync(),await w.fetchUser(),t.value="check username",k(null,null,"ÙØ±Ùد Ù
ÙÙÙ Ø¨Ù ØØ³Ø§Ø¨ کاربرÛ","success"))}catch(m){k(null,m)}v.value=!1}}async function M(){if(!v.value&&d.value){v.value=!0,await S("/sanctum/csrf-cookie");try{const m=await S("/v1/authenticate/check-username",{method:"POST",body:{username:d.value}});m.status==="success"&&(m.data.sms_ttl&&(n.value=m.data.sms_ttl),o(),k(null,null,"کد ÙØ¹Ø§ÙØ³Ø§Ø²Û Ø¨Ø±Ø§Û Ø´Ù
ا ارسا٠شد","success"))}catch(m){k(null,m)}v.value=!1}}return(m,f)=>{const P=ne,Z=$s,V=ue,E=Q;return u(),h("div",ks,[i(P,{onClick:f[0]||(f[0]=U=>t.value="check username")}),e("div",Ms,[e("span",Fs,A(d.value),1)]),e("div",Ts,[e("div",Ss,[s(l)?(u(),z(Z,{key:0,"target-time":s(r)},null,8,["target-time"])):D("",!0),e("input",{value:s(_),type:"text",dir:"ltr",maxlength:"4",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"کد Ø§Ø±Ø³Ø§Ù Ø´Ø¯Ù Ø±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",onInput:f[1]||(f[1]=U=>_.value=("toEnDigit"in m?m.toEnDigit:s(re))(U.target.value)),onKeypress:f[2]||(f[2]=U=>("handleNumberInput"in m?m.handleNumberInput:s(fe))(U))},null,40,Ls)]),i(V,{disabled:s(c)>=0,pending:s(v),text:"ارسا٠Ù
جدد کد",onClick:M},null,8,["disabled","pending"]),i(E,{pending:s(v),onClick:C},{default:L(()=>[e("div",Vs,[e("span",zs,[i(s(se),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),f[3]||(f[3]=e("span",null,"ÙØ±Ùد",-1)),f[4]||(f[4]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])])}}},Bs=_e(ge),Ds={class:"mb-[14px] flex flex-col items-center lg:mb-5"},Hs={dir:"ltr",class:"flex h-[50px] w-60 items-center justify-center rounded-[10px] px-2 text-red-700 shadow-[0px_0px_80px_0px_#00000026]"},As={class:"line-clamp-1 text-sm sm:text-base lg:text-lg"},Zs={class:"mt-3 flex flex-col gap-y-4"},Us={class:"relative"},Ns=["value"],Is={class:"flex items-center justify-between px-7"},Ps={class:"flex-1"},Es={class:"flex flex-col gap-y-3"},qs={class:"flex items-center justify-between px-7"},Os={class:"flex-1"},Rs={class:"flex flex-col gap-y-3"},Gs={class:"flex items-center justify-between px-7"},Ks={class:"flex-1"},Ws={__name:"MobileRegister",props:{step:{},stepModifiers:{},username:{},usernameModifiers:{}},emits:["update:step","update:username"],setup(a){const t=I(a,"step"),n=ae("ttl"),l=g(!1);Y(()=>{l.value=!0});const r=g(1),o=g();c();function c(){o.value=new Date,o.value.setSeconds(o.value.getSeconds()+n.value)}const d=g(null);Y(()=>{ie(()=>{d.value=o.value-new Date},1e3)});const _=I(a,"username"),v=g(""),w=g(""),b=g(""),x=g(""),C=g(""),M=g(""),m=g(!1),f=ee(),P=T("authForm"),Z=te();async function V(){if(!m.value&&_.value&&v.value){m.value=!0,await S("/sanctum/csrf-cookie");try{(await S("/v1/authenticate/verify-code",{method:"POST",body:{mobile:_.value,code:v.value}})).status==="success"&&(r.value=2)}catch($){k(null,$)}m.value=!1}}
1async function E(){if(!m.value&&_.value){m.value=!0,await S("/sanctum/csrf-cookie");try{const $=await S("/v1/authenticate/check-username",{method:"POST",body:{username:_.value}});$.status==="success"&&($.data.sms_ttl&&(n.value=$.data.sms_ttl),c(),k(null,null,"کد ÙØ¹Ø§ÙØ³Ø§Ø²Û Ø¨Ø±Ø§Û Ø´Ù
ا ارسا٠شد","success"))}catch($){k(null,$)}m.value=!1}}const U=G(()=>!m.value&&w.value&&b.value&&x.value&&x.value.length>=8&&C.value&&C.value.length>=8&&x.value===C.value);function X(){U.value?r.value=3:(k(null,null,"ÙÛÙØ¯ ÙØ§Ù
Ù ÙØ§Ù
خاÙÙØ§Ø¯Ú¯Û Ø§ÙØ²Ø§Ù
Û Ø§Ø³Øª","error"),k(null,null,"رÙ
ز Ø¹Ø¨ÙØ± Ø¨Ø§ÛØ¯ ØØ¯Ø§ÙÙ Û¸ کاراکتر داشت٠باشد","error"),k(null,null,"رÙ
ز Ø¹Ø¨ÙØ± Ø¨Ø§ÛØ¯ با تکرار Ø¢Ù Ù
Ø·Ø§Ø¨ÙØª داشت٠باشد","error"))}async function j(){if(U.value&&M.value){m.value=!0,await S("/sanctum/csrf-cookie");try{(await S("/v1/authenticate/mobile-register",{method:"POST",body:{first_name:w.value,last_name:b.value,email:M.value,mobile:_.value,password:x.value,password_confirmation:C.value,code:v.value,remember:!0}})).status==="success"&&(P.value=!1,await Z.sync(),await f.fetchUser(),t.value="check username",k(null,null,"ØØ³Ø§Ø¨ Ú©Ø§Ø±Ø¨Ø±Û Ø´Ù
ا با Ù
ÙÙÙÛØª Ø§ÛØ¬Ø§Ø¯ شد","success"))}catch($){k(null,$)}m.value=!1}}return($,p)=>{const W=ne,he=Bs,ve=ue,oe=Q;return u(),h("div",Ds,[s(r)===1?(u(),h(q,{key:0},[i(W,{onClick:p[0]||(p[0]=F=>t.value="check username")}),e("div",Hs,[e("span",As,A(_.value),1)]),e("div",Zs,[e("div",Us,[s(l)?(u(),z(he,{key:0,"target-time":s(o)},null,8,["target-time"])):D("",!0),e("input",{value:s(v),type:"text",dir:"ltr",maxlength:"4",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"کد Ø§Ø±Ø³Ø§Ù Ø´Ø¯Ù Ø±Ù ÙØ§Ø±Ø¯ Ú©ÙÛØ¯",onInput:p[1]||(p[1]=F=>v.value=("toEnDigit"in $?$.toEnDigit:s(re))(F.target.value)),onKeypress:p[2]||(p[2]=F=>("handleNumberInput"in $?$.handleNumberInput:s(fe))(F))},null,40,Ns)]),i(ve,{disabled:s(d)>=0,pending:s(m),text:"ارسا٠Ù
جدد کد",onClick:E},null,8,["disabled","pending"]),i(oe,{pending:s(m),onClick:V},{default:L(()=>[e("div",Is,[e("span",Ps,[i(s(se),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),p[12]||(p[12]=e("span",null,"Ù
رØÙ٠بعد",-1)),p[13]||(p[13]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])],64)):D("",!0),s(r)===2?(u(),h(q,{key:1},[i(W,{onClick:p[3]||(p[3]=F=>t.value="check username")}),e("div",Es,[B(e("input",{"onUpdate:modelValue":p[4]||(p[4]=F=>y(w)?w.value=F:null),type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"اسÙ
تÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(w)]]),B(e("input",{"onUpdate:modelValue":p[5]||(p[5]=F=>y(b)?b.value=F:null),type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"ÙØ§Ù
خاÙÙØ§Ø¯Ú¯ÛتÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(b)]]),B(e("input",{"onUpdate:modelValue":p[6]||(p[6]=F=>y(x)?x.value=F:null),type:"password",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"رÙ
ز Ø¹Ø¨ÙØ± Ø¯ÙØ®ÙØ§ÙØªÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(x)]]),B(e("input",{"onUpdate:modelValue":p[7]||(p[7]=F=>y(C)?C.value=F:null),type:"password",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"رÙ
ز Ø¹Ø¨ÙØ± Ø¯ÙØ®ÙØ§ÙØªÙ٠ر٠اÛÙØ¬Ø§ ÙÙ
ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(C)]]),i(oe,{pending:s(m),onClick:X},{default:L(()=>[e("div",qs,[e("span",Os,[i(s(J),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),p[14]||(p[14]=e("span",null,"ثبت ÙØ§Ù
",-1)),p[15]||(p[15]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])],64)):D("",!0),s(r)===3?(u(),h(q,{key:2},[i(W,{onClick:p[8]||(p[8]=F=>r.value=2)}),e("div",Rs,[B(e("input",{"onUpdate:modelValue":p[9]||(p[9]=F=>y(w)?w.value=F:null),disabled:"",type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none disabled:bg-white disabled:text-zinc-400 xl:text-lg",placeholder:"اسÙ
تÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(w)]]),B(e("input",{"onUpdate:modelValue":p[10]||(p[10]=F=>y(b)?b.value=F:null),disabled:"",type:"text",dir:"rtl",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none disabled:bg-white disabled:text-zinc-400 xl:text-lg",placeholder:"ÙØ§Ù
خاÙÙØ§Ø¯Ú¯ÛتÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(b)]]),B(e("input",{"onUpdate:modelValue":p[11]||(p[11]=F=>y(M)?M.value=F:null),type:"email",dir:"ltr",class:"h-[50px] w-60 rounded-[10px] border-0 px-3 text-center text-red-700 placeholder:text-sm placeholder:text-zinc-300 focus:outline-none xl:text-lg",placeholder:"اÛÙ
ÛÙâØªÙ٠ر٠اÛÙØ¬Ø§ ÙØ§Ø±Ø¯ Ú©ÙÛØ¯"},null,512),[[H,s(M)]]),i(oe,{pending:s(m),onClick:j},{default:L(()=>[e("div",Gs,[e("span",Ks,[i(s(J),{class:"aspect-square h-5 w-5 stroke-[3px]"})]),p[16]||(p[16]=e("span",null,"ثبت ÙØ§Ù
",-1)),p[17]||(p[17]=e("span",{class:"flex-1"},null,-1))])]),_:1},8,["pending"])])],64)):D("",!0)])}}},Ys={class:"fixed inset-0 z-[4] overflow-y-auto"},Qs={class:"relative w-full max-w-[490px]"},Xs={class:"flex items-center justify-between"},Js={class:"flex items-center gap-x-[10px] lg:gap-x-3"},en={class:"flex aspect-square h-[42px] w-[42px] items-center justify-center rounded-full bg-red-50 shadow-[0px_10px_40px_0px_#DC26268C] md:h-11 md:w-11 lg:h-[50px] lg:w-[50px]"},tn={class:"font-extrabold text-red-50 sm:text-lg md:text-xl lg:text-[22px] xl:text-2xl"},sn={class:"mt-4 flex flex-col items-center rounded-[40px] rounded-tr-[2px] bg-red-50 px-9 py-[42px] shadow-[0px_0px_140px_0px_#000000BF] sm:px-10 md:px-11 lg:mt-5 lg:px-[49px]"},nn={class:"text-center text-xs font-light text-zinc-400 sm:text-sm md:text-base lg:text-[17px]"},on={__name:"FormContainer",props:["step"],setup(a){const t=a,n=G(()=>{if(t.step==="check username")return"ÙØ±Ùد Ø¨Ù ØØ³Ø§Ø¨ Ú©Ø§Ø±Ø¨Ø±Û / ثبت ÙØ§Ù
";if(t.step==="email login"||t.step==="mobile login")return"ÙØ±Ùد Ø¨Ù ØØ³Ø§Ø¨ کاربرÛ";if(t.step==="email register"||t.step==="mobile register")return"ثبت ÙØ§Ù
"}),l=T("authForm",()=>g(!1));return(r,o)=>{const c=R;return u(),h("div",null,[i(pe,{"enter-active-class":"duration-[400ms]","enter-from-class":"translate-y-12 opacity-80","enter-to-class":"opacity-100","leave-active-class":"duration-[400ms]","leave-from-class":"opacity-100","leave-to-class":"translate-y-12 opacity-0"},{default:L(()=>[B(e("div",Ys,[e("div",{class:"flex min-h-full items-center justify-center py-5 max-sm:px-5",onClick:o[2]||(o[2]=$e(d=>l.value=!1,["self"]))},[e("div",Qs,[e("div",Xs,[e("div",Js,[e("div",en,[i(s(J),{class:"aspect-square h-[25px] w-[25px] text-red-600 md:h-7 md:w-7 lg:h-[30px] lg:w-[30px]"})]),e("span",tn,A(s(n)),1)]),e("button",{type:"button",class:"lg:-translate-x-10",onClick:o[0]||(o[0]=d=>l.value=!1)},[i(s(He),{class:"aspect-square h-9 w-9 text-red-50 md:h-10 md:w-10 lg:h-11 lg:w-11"})])]),e("div",sn,[ke(r.$slots,"default"),e("p",nn,[o[4]||(o[4]=N(" با ÙØ±Ùد Ù ÛØ§ ثبت ÙØ§Ù
در Ø³Ø§ÛØªØ Ø´Ù
ا ")),i(c,{to:"/privacy-policy",class:"text-red-700",onClick:o[1]||(o[1]=d=>l.value=!1)},{default:L(()=>o[3]||(o[3]=[N("Ø´Ø±Ø§ÛØ· Ù ÙÙØ§ÙÛÙ")])),_:1}),o[5]||(o[5]=N(" Ø§Ø³ØªÙØ§Ø¯Ù از خدÙ
ات Ø³Ø§ÛØª Ù ÙÙ
1اÙÛÙ ØØ±ÛÙ
Ø®ØµÙØµÛ آ٠را Ù
ÛâÙ¾Ø°ÛØ±Ûد. "))])])])])],512),[[Me,s(l)]])]),_:3})])}}},Tn={__name:"AuthForm",setup(a){const t=g("check username"),n=g(0);Fe("ttl",n);const l=g(null);return(r,o)=>{const c=ts,d=ps,_=Cs,v=js,w=Ws,b=on;return u(),z(b,{step:s(t)},{default:L(()=>[s(t)==="check username"?(u(),z(c,{key:0,username:s(l),"onUpdate:username":o[0]||(o[0]=x=>y(l)?l.value=x:null),step:s(t),"onUpdate:step":o[1]||(o[1]=x=>y(t)?t.value=x:null)},null,8,["username","step"])):D("",!0),s(t)==="email login"?(u(),z(d,{key:1,username:s(l),"onUpdate:username":o[2]||(o[2]=x=>y(l)?l.value=x:null),step:s(t),"onUpdate:step":o[3]||(o[3]=x=>y(t)?t.value=x:null)},null,8,["username","step"])):D("",!0),s(t)==="email register"?(u(),z(_,{key:2,username:s(l),"onUpdate:username":o[4]||(o[4]=x=>y(l)?l.value=x:null),step:s(t),"onUpdate:step":o[5]||(o[5]=x=>y(t)?t.value=x:null)},null,8,["username","step"])):D("",!0),s(t)==="mobile login"?(u(),z(v,{key:3,username:s(l),"onUpdate:username":o[6]||(o[6]=x=>y(l)?l.value=x:null),step:s(t),"onUpdate:step":o[7]||(o[7]=x=>y(t)?t.value=x:null)},null,8,["username","step"])):D("",!0),s(t)==="mobile register"?(u(),z(w,{key:4,username:s(l),"onUpdate:username":o[8]||(o[8]=x=>y(l)?l.value=x:null),step:s(t),"onUpdate:step":o[9]||(o[9]=x=>y(t)?t.value=x:null)},null,8,["username","step"])):D("",!0)]),_:1},8,["step"])}}},Sn={__name:"TheOverlay",setup(a){const t=T("mobileMenu"),n=T("mobileSearch"),l=T("cart"),r=T("productOptionsModal"),o=T("authForm"),c=T("blogMobileMenu"),d=T("blogSearch");return Te(()=>[t.value,n.value,l.value,r.value,o.value,c.value,d.value],()=>{t.value||n.value||l.value||r.value||o.value||c.value||d.value?document.body.classList.add("max-lg:overflow-hidden"):document.body.classList.remove("max-lg:overflow-hidden")}),(_,v)=>(u(),z(pe,{"enter-active-class":"ease-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:L(()=>[s(t)||s(n)||s(l)||s(r)||s(o)||s(c)||s(d)?(u(),h("div",{key:0,class:de(["fixed inset-0 transition-opacity",[s(t)||s(n)||s(c)?"lg:hidden":"",s(l)||s(o)?"z-[3] bg-[#000000CC]":"z-[2] bg-black bg-opacity-80"]]),onClick:v[0]||(v[0]=w=>(n.value=!1,d.value=!1))},null,2)):D("",!0)]),_:1}))}};export{kn as _,$n as a,Fn as b,Mn as c,Tn as d,Sn as e,yn as r};
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.