PageSourceSearch

https://dashboard.getquickgrab.com/_next/static/chunks/1546-38133b5c2323c1b1.js

js getquickgrab.com collected 2026-10-02 01:31:23 UTC 23,240 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1546],{2730:(e,s,t)=>{"use strict";t.d(s,{default:()=>P});var a=t(95155),l=t(12115),r=t(37808),i=t(86948),n=t(3998),c=t(18527),o=t(36355),d=t(78770),m=t(71418),u=t(36654),x=t(88697),h=t(99835),f=t(9659),p=t(64269),j=t(26541),g=t(95604),v=t(15239),b=t(18720),N=t(88335),w=t(51834),y=t(65142),C=t(76444);let k=()=>{var e;let s=(0,g.useTranslations)("BankCardHero"),{data:t,isLoading:r}=(0,x.GD)({fectOnMount:!1}),k=null!=(e=null==t?void 0:t.accountBalance)?e:0,{data:E,isLoading:A}=(0,x.fd)({fectOnMount:!1}),D=(0,h.t)(),[I,R]=(0,l.useState)(!1),[S,z]=(0,l.useState)(!1),[F,T]=(0,l.useState)(""),[P,$]=(0,l.useState)(!1),[V,M]=(0,l.useState)(null);(0,l.useEffect)(()=>()=>{V&&clearTimeout(V)},[V]);let B=()=>{I?(R(!1),V&&clearTimeout(V)):z(!0)},L=async()=>{$(!0);try{let e=await (0,N.S)(F);if(e.success){R(!0),z(!1),T("");let e=setTimeout(()=>{R(!1),M(null)},3e4);M(e)}else b.o.error(e.message)}catch(e){b.o.error(s("unknownError"))}finally{$(!1)}},U=()=>"VERIFIED"===E?"bg-green-600":"UNVERIFIED"===E||"REJECTED"===E?"bg-red-600":"bg-orange-400",_=()=>"VERIFIED"===E?s("VERIFIED"):"UNVERIFIED"===E?s("UNVERIFIED"):"REJECTED"===E?s("REJECTED"):s("UNDERREVIEW"),J=()=>"VERIFIED"===E?(0,a.jsx)(c.A,{size:16}):"REJECTED"===E?(0,a.jsx)(o.A,{size:16}):(0,a.jsx)(d.A,{size:16});return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"mt-4 text-xl md:text-2xl font-bold text-left mb-1",children:s("welcome",{name:(null==D?void 0:D.fullname.split(" ")[0])||"User"})}),(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)(i.Zp,{className:"p-2 md:py-12 md:px-15 border-0 rounded-xl relative shadow-none overflow-hidden",style:{background:"linear-gradient(to right, #0083CE, hsl(var(--primary)))"},children:[!A&&"VERIFIED"===E&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"absolute top-2 right-2 md:hidden z-10 flex items-center gap-1 rounded-full px-2 py-1 text-xs text-white ".concat(U()),children:[J(),(0,a.jsx)("span",{className:"hidden sm:inline text-white",children:_()})]})}),(0,a.jsx)("div",{className:"absolute top-2 left-2 sm:top-3 sm:left-3 md:hidden",children:(0,a.jsx)(v.default,{src:"/roundhand.png",alt:"QuickGrab Logo",width:30,height:30,className:"object-contain",priority:!0})}),(0,a.jsxs)("div",{className:"pt-20 md:pt-0 grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center md:items-start text-sm space-y-3 text-white",children:[(0,a.jsxs)("h2",{className:"font-medium text-left  w-full",children:[s("emailtxt").toUpperCase(),": ",null==D?void 0:D.email]}),(0,a.jsxs)("div",{className:"flex items-center justify-start md:justify-start w-full",children:[(0,a.jsxs)("span",{className:"mr-1",children:[s("Balance").toUpperCase(),": "]}),(0,a.jsx)("span",{className:"font-semibold",children:r?(0,a.jsx)(f.A,{}):(0,a.jsx)("span",{children:I?"".concat((0,p.vv)(k,"XAF")):"•••••"})}),(0,a.jsx)(n.$,{onClick:B,className:"ml-2 md:hidden",children:I?(0,a.jsx)(m.A,{size:16,className:"text-white"}):(0,a.jsx)(u.A,{size:16,className:"text-white"})})]}),(0,a.jsxs)(n.$,{onClick:B,className:"text-black  bg-white text-xs sm:text-sm flex items-center gap-1 border p-4 rounded-full w-fit hidden md:flex",children:[I?"Hide":"See"," Account Balance"," ",I?(0,a.jsx)(m.A,{size:16}):(0,a.jsx)(u.A,{size:16})]})]}),(0,a.jsx)("div",{className:"hidden md:flex justify-center items-center",children:(0,a.jsx)("div",{className:"relative w-[80px] h-[80px]",children:(0,a.jsx)(v.default,{src:"/roundhand.png",alt:"QuickGrab Logo",className:"object-contain",fill:!0})})}),(0,a.jsxs)("div",{className:"grid place-items-center h-full",children:[!A&&"VERIFIED"===E&&(0,a.jsx)("div",{className:"hidden md:block mb-auto w-full  justify-center items-center",children:(0,a.jsx)(j.N_,{href:"".concat("VERIFIED"==E?"#":"/account/kyc"),children:(0,a.jsxs)(n.$,{variant:"default",className:"".concat(U()," font-semibold text-white flex items-center justify-center gap-2 border-0 p-2 text-center w-full"),children:[_(),J()]})})}),(0,a.jsx)("div",{className:"w-full md:items-end justify-center md:mt-auto",children:(0,a.jsx)(j.N_,{href:"/top-up?method=auto&step=1",className:"w-full max-w-[250px] md:max-w-[200px]",children:(0,a.jsx)(n.$,{variant:"ghost",className:"w-full font-semibold border-none md:py-2  bg-white/20 hover:bg-white/30 text-white  duration-200 ",children:s("TopUp").toUpperCase()})})})]})]})]})}),(0,a.jsx)(w.Dialog,{open:S,onOpenChange:z,children:(0,a.jsxs)(w.DialogContent,{children:[(0,a.jsx)(w.DialogHeader,{children:(0,a.jsx)(w.DialogTitle,{children:s("confirmPassword")})}),(0,a.jsx)("div",{className:"space-y-4",children:(0,a.jsxs)("div",{children:[(0,a.jsx)(C.J,{htmlFor:"password",children:s("password")}),(0,a.jsx)(y.p,{id:"password",type:"password",value:F,onChange:e=>T(e.target.value),placeholder:s("enterPassword"),disabled:P})]})}),(0,a.jsxs)(w.Es,{children:[(0,a.jsx)(n.$,{variant:"outline",onClick:()=>{z(!1),T("")},disabled:P,children:s("cancel")}),(0,a.jsx)(n.$,{onClick:L,disabled:P||!F.trim(),children:P?s("verifying"):s("confirm")})]})]})})]})};
1var E=t(18771),A=t(13381),D=t(52081),I=t(98734),R=t(41052),S=t(22544),z=t(66942);let F=()=>{var e,s;let t=(0,g.useTranslations)("commisionAccount"),{data:r,isLoading:c,refetch:o,isRefetching:d}=(0,x.wT)(),h=null!=(e=null==r?void 0:r.balance)?e:0,f=null!=(s=null==r?void 0:r.referralCode)?s:"",j="https://getquickgrab.com/en/referral-mobile?code=".concat(f),[N,k]=(0,l.useState)(!1),[F,T]=(0,l.useState)(null),[P,$]=(0,l.useState)(!1),[V,M]=(0,l.useState)(null),[B,L]=(0,l.useState)(!1),U=(0,x.r)();(0,l.useEffect)(()=>()=>{F&&clearTimeout(F)},[F]);let _=async()=>{await o(),b.o.success(t("commisionBalanceRefreshed"))},J=async(e,s)=>{try{await navigator.clipboard.writeText(e),M(s),b.o.success(t("copiedMessage",{type:"code"===s?t("code"):t("link")})),setTimeout(()=>M(null),2e3)}catch(e){b.o.error("Failed to copy")}},G=I.Ik({amount:I.au.number({invalid_type_error:t("enterValidAmount")}).min(2e3,t("minWithdrawalAmount",{amount:2e3})).max(h,t("maxWithdrawalAmount",{amount:h}))}),O=(0,S.mN)({resolver:(0,z.u)(G),defaultValues:{amount:h},reValidateMode:"onChange"}),{watch:H}=O,Q=H("amount");return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"mt-4 text-xl md:text-2xl font-bold text-left mb-2",children:t("commissionAccount")}),(0,a.jsxs)(i.Zp,{className:"p-2 md:p-5 border-0 rounded-xl relative shadow-none overflow-hidden",style:{background:"linear-gradient(to right, #0083CE, hsl(var(--primary)))"},children:[(0,a.jsx)("div",{className:"absolute top-3 left-3 md:hidden",children:(0,a.jsx)(v.default,{src:"/roundhand.png",alt:"QuickGrab Logo",width:32,height:32,className:"object-contain",priority:!0})}),(0,a.jsxs)(n.$,{onClick:()=>$(!0),className:"absolute top-3 right-3 md:hidden bg-white/20 hover:bg-white/30 text-white px-3 py-1 text-sm flex items-center gap-1",children:[(0,a.jsx)(E.A,{size:14}),t("share")]}),(0,a.jsxs)("div",{className:"pt-12 md:pt-0 grid grid-cols-1 md:grid-cols-3 gap-3 md:gap-6 items-center",children:[(0,a.jsxs)("div",{className:"flex flex-col text-white space-y-3 text-start md:text-left",children:[(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-3",children:[(0,a.jsx)(v.default,{src:"/roundhand.png",alt:"QuickGrab Logo",width:35,height:35,className:"object-contain"}),(0,a.jsx)("h2",{className:"font-semibold text-lg",children:t("commissionAccount")})]}),(0,a.jsx)("p",{className:"text-[10px] sm:text-xs text-white/90 leading-relaxed",children:t("referralCardDescription")}),(0,a.jsxs)("div",{className:"space-y-0",children:[(0,a.jsx)("span",{className:"text-xs text-white/70 uppercase tracking-wide text-start sm:text-start w-full block",children:t("commissionBalance")}),(0,a.jsxs)("div",{className:"flex items-center justify-start md:justify-start gap-1",children:[(0,a.jsx)("span",{className:"text-2xl font-bold",children:c?(0,a.jsx)("span",{className:"animate-pulse",children:"•••••••"}):N?"".concat(h.toLocaleString()," FCFA"):"•••••••"}),(0,a.jsx)(n.$,{variant:"ghost",size:"icon",onClick:()=>{if(N)k(!1),F&&clearTimeout(F);else{k(!0);let e=setTimeout(()=>{k(!1),T(null)},3e4);T(e)}},className:"text-white hover:bg-white/20 h-8 w-8",children:N?(0,a.jsx)(m.A,{size:16}):(0,a.jsx)(u.A,{size:16})}),(0,a.jsx)(n.$,{variant:"ghost",size:"icon",onClick:async()=>await _(),disabled:d,className:"text-white hover:bg-white/20 h-6 w-6",children:(0,a.jsx)(A.A,{size:16,className:d?"animate-spin":""})})]})]})]}),(0,a.jsx)("div",{className:"hidden md:flex justify-center items-center",children:(0,a.jsx)("div",{className:"relative w-[80px] h-[80px]",children:(0,a.jsx)(v.default,{src:"/roundhand.png",alt:"QuickGrab Logo",className:"object-contain",fill:!0})})}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 justify-between h-full items-center md:items-end",children:[(0,a.jsxs)(n.$,{onClick:()=>$(!0),className:"hidden md:flex bg-white/20 hover:bg-white/30 text-white  px-6 py-2 items-center gap-2",children:[(0,a.jsx)(E.A,{size:16}),t("share")]}),(0,a.jsxs)(n.$,{onClick:()=>L(!0),className:"w-full md:w-auto bg-white/20 hover:bg-white/30 text-white  px-6 py-3 flex items-center justify-center gap-2 font-semibold",children:[(0,a.jsx)(D.A,{size:18}),t("transfer")]})]})]})]}),(0,a.jsx)(w.Dialog,{open:P,onOpenChange:$,children:(0,a.jsxs)(w.DialogContent,{className:"sm:max-w-md",children:[(0,a.jsx)(w.DialogHeader,{children:(0,a.jsx)(w.DialogTitle,{children:t("shareReferral")})}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:t("referralModalDescription")}
1),(0,a.jsxs)("div",{className:"space-y-4 mt-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(C.J,{className:"text-xs uppercase text-muted-foreground tracking-wide",children:t("referralCode")}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-lg",children:[(0,a.jsx)("span",{className:"flex-1 font-mono font-semibold",children:f}),(0,a.jsx)(n.$,{onClick:()=>J(f,"code"),className:"bg-primary hover:bg-primary/90",children:"code"===V?t("copied"):t("copy")})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(C.J,{className:"text-xs uppercase text-muted-foreground tracking-wide",children:t("referralLink")}),(0,a.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-muted rounded-lg",children:[(0,a.jsx)("span",{className:"flex-1 text-sm break-all",children:j}),(0,a.jsx)(n.$,{onClick:()=>J(j,"link"),className:"bg-primary hover:bg-primary/90 shrink-0",children:"link"===V?t("copied"):t("copy")})]})]})]}),(0,a.jsx)(w.Es,{className:"mt-4",children:(0,a.jsx)(n.$,{onClick:()=>$(!1),className:"w-full bg-primary hover:bg-primary/90",children:"Done"})})]})}),(0,a.jsx)(w.Dialog,{open:B,onOpenChange:L,children:(0,a.jsxs)(w.DialogContent,{className:"sm:max-w-md",children:[(0,a.jsx)(w.DialogHeader,{children:(0,a.jsx)(w.DialogTitle,{children:t("transfer")})}),(0,a.jsx)(R.lV,{...O,children:(0,a.jsxs)("form",{onSubmit:O.handleSubmit(function(e){if(e.amount>h)return void b.o.error(t("insufficientBalance"));U.mutate({amount:e.amount},{onSuccess:()=>{b.o.success(t("transferSuccessMessage")),L(!1)},onError:e=>{b.o.error(e.message)}})}),className:"space-y-8",children:[(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:t("transferConfirmMessage",{amount:Q||0})}),(0,a.jsx)(R.zB,{control:O.control,name:"amount",render:e=>{let{field:s}=e;return(0,a.jsxs)(R.eI,{children:[(0,a.jsx)(R.lR,{children:"Amount (FCFA)"}),(0,a.jsx)(R.MJ,{children:(0,a.jsx)(y.p,{placeholder:"Enter amount you want to transfer",type:"number",...s,disabled:O.formState.isSubmitting})}),(0,a.jsxs)(R.Rr,{children:["Minimum amount ",(0,p.vv)(2e3,"XAF")]}),(0,a.jsx)(R.C5,{})]})}}),(0,a.jsxs)(w.Es,{className:"mt-4 gap-2",children:[(0,a.jsx)(n.$,{variant:"outline",onClick:()=>{L(!1)},disabled:O.formState.isSubmitting,children:t("cancel")}),(0,a.jsx)(n.$,{type:"submit",disabled:O.formState.isSubmitting,children:O.formState.isSubmitting?"Processing...":t("confirm")})]})]})})]})})]})};var T=t(71700);function P(){return(0,a.jsx)(r.Carousel,{plugins:[(0,T.A)({delay:2e3})],children:(0,a.jsxs)(r.CarouselContent,{children:[(0,a.jsx)(r.CarouselItem,{children:(0,a.jsx)(k,{})}),(0,a.jsx)(r.CarouselItem,{children:(0,a.jsx)(F,{})})]})})}},9659:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(95155);t(12115);
1var l=t(64269);let r=e=>{let{width:s="w-20",height:t="h-6",align:r="right",className:i,variant:n="default"}=e;return(0,a.jsx)("div",{className:(0,l.cn)("flex items-center",{left:"justify-start",right:"justify-end",center:"justify-center"}[r]),children:"ghost"===n?(0,a.jsxs)("div",{className:(0,l.cn)("relative flex items-center gap-1",s,i),children:[(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-muted/60 animate-bounce",style:{animationDelay:"0ms"}}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-muted/60 animate-bounce",style:{animationDelay:"150ms"}}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-muted/60 animate-bounce",style:{animationDelay:"300ms"}})]}):(0,a.jsx)("div",{className:(0,l.cn)("rounded-md",s,t,{default:"bg-muted animate-pulse",subtle:"bg-muted/40 animate-pulse",ghost:"bg-transparent"}[n],i)})})}},37808:(e,s,t)=>{"use strict";t.d(s,{Carousel:()=>u,CarouselContent:()=>x,CarouselItem:()=>h,CarouselNext:()=>p,CarouselPrevious:()=>f});var a=t(95155),l=t(12115),r=t(68072),i=t(36204),n=t(33173),c=t(64269),o=t(3998);let d=l.createContext(null);function m(){let e=l.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let u=l.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:i,setApi:n,plugins:o,className:m,children:u,...x}=e,[h,f]=(0,r.A)({...i,axis:"horizontal"===t?"x":"y"},o),[p,j]=l.useState(!1),[g,v]=l.useState(!1),b=l.useCallback(e=>{e&&(j(e.canScrollPrev()),v(e.canScrollNext()))},[]),N=l.useCallback(()=>{null==f||f.scrollPrev()},[f]),w=l.useCallback(()=>{null==f||f.scrollNext()},[f]),y=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),N()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[N,w]);return l.useEffect(()=>{f&&n&&n(f)},[f,n]),l.useEffect(()=>{if(f)return b(f),f.on("reInit",b),f.on("select",b),()=>{null==f||f.off("select",b)}},[f,b]),(0,a.jsx)(d.Provider,{value:{carouselRef:h,api:f,opts:i,orientation:t||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:N,scrollNext:w,canScrollPrev:p,canScrollNext:g},children:(0,a.jsx)("div",{ref:s,onKeyDownCapture:y,className:(0,c.cn)("relative",m),role:"region","aria-roledescription":"carousel",...x,children:u})})});u.displayName="Carousel";let x=l.forwardRef((e,s)=>{let{className:t,...l}=e,{carouselRef:r,orientation:i}=m();return(0,a.jsx)("div",{ref:r,className:"overflow-hidden",children:(0,a.jsx)("div",{ref:s,className:(0,c.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...l})})});x.displayName="CarouselContent";let h=l.forwardRef((e,s)=>{let{className:t,...l}=e,{orientation:r}=m();return(0,a.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,c.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",t),...l})});h.displayName="CarouselItem";let f=l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:r="icon",...n}=e,{orientation:d,scrollPrev:u,canScrollPrev:x}=m();return(0,a.jsxs)(o.$,{ref:s,variant:l,size:r,className:(0,c.cn)("absolute  h-8 w-8 rounded-full","horizontal"===d?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!x,onClick:u,...n,children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});f.displayName="CarouselPrevious";let p=l.forwardRef((e,s)=>{let{className:t,variant:l="outline",size:r="icon",...i}=e,{orientation:d,scrollNext:u,canScrollNext:x}=m();return(0,a.jsxs)(o.$,{ref:s,variant:l,size:r,className:(0,c.cn)("absolute h-8 w-8 rounded-full","horizontal"===d?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!x,onClick:u,...i,children:[(0,a.jsx)(n.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Next slide"})]})});p.displayName="CarouselNext"},40630:(e,s,t)=>{"use strict";function a(e){return"paymentId"in e||"payment_id"in e}function l(e){let s=new Date(e.replace(/(\d+)(st|nd|rd|th)/,"$1")),t=new Date;if(isNaN(s.getTime()))throw Error("Invalid date format");return s>=t}t.d(s,{At:()=>r,Nz:()=>l,mg:()=>a});let r="https://api.getquickgrab.com"},41052:(e,s,t)=>{"use strict";t.d(s,{C5:()=>g,MJ:()=>p,Rr:()=>j,eI:()=>h,lR:()=>f,lV:()=>o,zB:()=>m});var a=t(95155),l=t(12115),r=t(32467),i=t(22544),n=t(64269),c=t(76444);let o=i.Op,d=l.createContext({}),m=e=>{let{...s}=e;return(0,a.jsx)(d.Provider,{value:{name:s.name},children:(0,a.jsx)(i.xI,{...s})})},u=()=>{let e=l.useContext(d),s=l.useContext(x),{getFieldState:t,formState:a}=(0,i.xW)(),r=t(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:n}=s;return{id:n,name:e.name,formItemId:"".concat(n,"-form-item"),formDescriptionId:"".concat(n,"-form-item-description"),formMessageId:"".concat(n,"-form-item-message"),...r}},x=l.createContext({}),h=l.forwardRef((e,s)=>{let{className:t,...r}=e,i=l.useId();return(0,a.jsx)(x.Provider,{value:{id:i},children:(0,a.jsx)("div",{ref:s,className:(0,n.cn)("space-y-2",t),...r})})});h.displayName="FormItem";let f=l.forwardRef((e,s)=>{let{className:t,...l}=e,{error:r,formItemId:i}=u();return(0,a.jsx)(c.J,{ref:s,className:(0,n.cn)(r&&"text-destructive",t),htmlFor:i,...l})});f.displayName="FormLabel";let p=l.forwardRef((e,s)=>{let{...t}=e,{error:l,formItemId:i,formDescriptionId:n,formMessageId:c}=u();return(0,a.jsx)(r.DX,{ref:s,id:i,"aria-describedby":l?"".concat(n," ").concat(c):"".concat(n),"aria-invalid":!!l,...t})});p.displayName="FormControl";let j=l.forwardRef((e,s)=>{let{className:t,...l}=e,{formDescriptionId:r}=u();return(0,a.jsx)("p",{ref:s,id:r,className:(0,n.cn)("text-sm text-muted-foreground",t),...l})});j.displayName="FormDescription";let g=l.forwardRef((e,s)=>{let{className:t,children:l,...r}=e,{error:i,formMessageId:c}=u(),o=i?String(null==i?void 0:i.message):l;return o?(0,a.jsx)("p",{ref:s,id:c,className:(0,n.cn)("text-sm font-medium text-destructive",t),...r,children:o}):null});g.displayName="FormMessage"},51547:(e,s,t)=>{"use strict";t.d(s,{default:()=>u});var a=t(95155);t(12115);
1var l=t(86948),r=t(37808),i=t(95604),n=t(40630),c=t(15239),o=t(71700),d=t(51190),m=t(63263);function u(e){let{promotions:s}=e,t=(0,i.useTranslations)();return(0,a.jsxs)("div",{className:"grid grid-cols-1 justify-center items-center w-full",children:[!s||!s.length&&(0,a.jsx)("div",{className:"",children:(0,a.jsx)("h2",{className:"text-center",children:t("promotions.noprpmotion")})}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"text-4xl font-bold",children:t("promotions.title")}),(0,a.jsxs)(r.Carousel,{opts:{loop:!0},plugins:[(0,o.A)({delay:3e3})],className:"w-full relative max-w-6xl my-3  mx-auto",children:[(0,a.jsx)(r.CarouselContent,{children:s&&s.map(e=>(0,a.jsx)(r.CarouselItem,{children:(0,a.jsx)(l.Zp,{className:"w-full border-none",children:(0,a.jsxs)(l.Wu,{className:"relative aspect-[11/9] p-0",children:[(0,a.jsx)(c.default,{src:"".concat(n.At).concat(e.imagePath),alt:t("promotions.imageAlt"),className:"object-fill rounded-lg",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4 text-white",children:(0,a.jsx)("h3",{className:"text-lg font-semibold",children:t("promotions.cardTitle")})})]})})},e.imagePath))}),(0,a.jsx)(r.CarouselPrevious,{className:"absolute left-4 top-1/2 -translate-y-1/2 bg-black/40 text-white hover:bg-white/20",children:(0,a.jsx)(d.A,{className:"h-6 w-6"})}),(0,a.jsx)(r.CarouselNext,{className:"absolute right-4 top-1/2 -translate-y-1/2 bg-black/40 text-white hover:bg-white/20",children:(0,a.jsx)(m.A,{className:"h-6 w-6"})})]})]})]})}},61333:(e,s,t)=>{"use strict";t.d(s,{default:()=>h});var a=t(95155),l=t(12115),r=t(18332),i=t(3998),n=t(60406),c=t(11314),o=t(26541),d=t(99835),m=t(95604),u=t(74869),x=t(18720);let h=e=>{let{className:s}=e,[t,h]=(0,l.useTransition)(),f=(0,d.t)(),p=(0,m.useTranslations)("EmailVerificationBanner"),j=(0,o.rd)();return!f||f.isEmailVerified?null:(j.prefetch("/email-verification"),(0,a.jsxs)(r.Fc,{className:"border-amber-200 bg-amber-50 text-amber-800 ".concat(s),children:[(0,a.jsx)(n.A,{className:"h-4 w-4 text-amber-800"}),(0,a.jsxs)(r.TN,{className:"flex items-center justify-between w-full",children:[(0,a.jsx)("span",{className:"text-wrap",children:p("message")}),(0,a.jsx)(i.$,{onClick:()=>{h(async()=>{if(!await (0,u.G)(null==f?void 0:f.email,"verification"))return void x.o.error("EmailVerificationBanner.resendErrorMessage");j.push("/email-verification")})},disabled:t,variant:"outline",size:"sm",className:"min-w-16 border-amber-300 bg-amber-100 text-amber-800 hover:bg-amber-200 hover:text-amber-900",children:t?(0,a.jsx)(c.A,{className:"h-4 w-4 animate-spin"}):p("verifyButton")})]})]}))}},73278:(e,s,t)=>{"use strict";t.d(s,{default:()=>d});var a=t(95155);t(12115);
1var l=t(86259),r=t(95604),i=t(26541),n=t(36204),c=t(20063);let o=()=>{let e=(0,c.useRouter)();return(0,a.jsx)("button",{onClick:()=>e.back(),children:(0,a.jsx)(n.A,{size:25})})},d=e=>{let{title:s,backref:t}=e,c=(0,r.useTranslations)(),d=(0,i.a8)().replace(/^\/(en|fr)/,"")||"/";return(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-4 my-8 sm:my-14 text-lg px-1 ",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center gap-6",children:[t?(0,a.jsx)(i.N_,{href:"/".concat(t),children:(0,a.jsx)(n.A,{size:25})}):(0,a.jsx)(i.N_,{href:"#",children:(0,a.jsx)(o,{})}),(0,a.jsx)("h3",{className:"".concat(t?"text-base":"text-xl"," sm:text-xl capitalize  font-bold "),children:s}),d.includes("transactions")?null:(0,a.jsx)(i.N_,{href:"/transactions",className:"text-xs sm:text-base underline underline-offset-4",children:c("transactions.recent")})]}),(0,a.jsx)(l.Separator,{})]})}},74869:(e,s,t)=>{"use strict";t.d(s,{G:()=>l});var a=t(30926);let l=(0,a.createServerReference)("602ace47d0e92d7a187495cd919b6426ccc8e759c2",a.callServer,void 0,a.findSourceMapURL,"requestForOTP")},81546:(e,s,t)=>{Promise.resolve().then(t.bind(t,93691)),Promise.resolve().then(t.bind(t,58558)),Promise.resolve().then(t.bind(t,28713)),Promise.resolve().then(t.bind(t,73278)),Promise.resolve().then(t.bind(t,2730)),Promise.resolve().then(t.bind(t,51547)),Promise.resolve().then(t.bind(t,37808)),Promise.resolve().then(t.bind(t,51834)),Promise.resolve().then(t.bind(t,61333)),Promise.resolve().then(t.bind(t,86259))},86259:(e,s,t)=>{"use strict";t.d(s,{Separator:()=>n});var a=t(95155),l=t(12115),r=t(57268),i=t(64269);let n=l.forwardRef((e,s)=>{let{className:t,orientation:l="horizontal",decorative:n=!0,...c}=e;return(0,a.jsx)(r.b,{ref:s,decorative:n,orientation:l,className:(0,i.cn)("shrink-0 bg-border","horizontal"===l?"h-[1px] w-full":"h-full w-[1px]",t),...c})});n.displayName=r.b.displayName},88335:(e,s,t)=>{"use strict";t.d(s,{S:()=>l});var a=t(30926);let l=(0,a.createServerReference)("404ef0a565d1242cfd2439f3d64c0ca7dcdb0bfe43",a.callServer,void 0,a.findSourceMapURL,"verifyUserPassword")}}]);

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.