1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4567],{8053:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>s,UB:()=>n,dU:()=>r,uB:()=>i});var a=l(37876);l(14232);let s=e=>{let{children:t,className:l,outChildren:s}=e;return s?(0,a.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,a.jsx)("div",{className:"w-full sm:w-[592px]",children:s}),(0,a.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow bg-bg1\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(l,"\n "),children:t})]}):(0,a.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(l,"\n "),children:t})},n=e=>{let{children:t,className:l}=e;return(0,a.jsx)("div",{id:"ContainerWithoutShadow",className:"\n relative w-full mx-auto text-primary-text !text-sm my-0 h-full\n sm:my-5 sm:w-[486px]\n ".concat(l,"\n "),children:t})},r=e=>{let{children:t,className:l,outChildren:s}=e;return s?(0,a.jsxs)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:[(0,a.jsx)("div",{className:" sm:w-[592px]",children:s}),(0,a.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(l,"\n "),children:t})]}):(0,a.jsx)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:(0,a.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(l,"\n "),children:t})})},i=e=>{let{children:t,className:l}=e;return(0,a.jsx)("div",{className:"\n w-full sm:w-[486px] mx-auto relative\n flex flex-col flex-1 px-4 sm:px-0\n ".concat(l||"","\n "),children:t})}},10316:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/card-f.144a83e0.svg",height:24,width:27,blurWidth:0,blurHeight:0}},31780:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(37876);l(14232);let s=e=>{let{className:t="",...l}=e;return(0,a.jsx)("div",{className:"".concat(t),children:(0,a.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full fill-current origin-center",...l,children:(0,a.jsx)("path",{d:"M11.06 11.6374C10.5704 12.4207 9.42956 12.4207 8.93998 11.6374L7.02862 8.57918C6.50827 7.74662 7.10682 6.66668 8.08862 6.66668L11.9113 6.66668C12.8931 6.66668 13.4917 7.74662 12.9713 8.57918L11.06 11.6374Z"})})})}},36563:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICInfoLight.5edf1f7b.svg",height:20,width:20,blurWidth:0,blurHeight:0}},36717:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(37876),s=l(54587),n=l.n(s),r=l(36563),i=l(34846);let d=e=>{let{t}=(0,i.Bd)();return(0,a.jsxs)("div",{className:"w-full rounded-xl p-2 gap-1 bg-alertbg flex items-start",children:[(0,a.jsx)(n(),{src:r.A,alt:"ICInfoLight",className:"mr-1"}),(0,a.jsx)("span",{className:"text-xs",children:(null==e?void 0:e.tips)||t("Card3DSTip")})]})}},42146:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/nodata.3c7849e6.svg",height:64,width:64,blurWidth:0,blurHeight:0}},42231:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var a=l(37876),s=l(54587),n=l.n(s),r=l(50759);l(14232);let i=e=>{let{className:t="",...l}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current ".concat(t),...l,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.5607 3.93934C17.1464 4.52513 17.1464 5.47487 16.5607 6.06066L10.6213 12L16.5607 17.9393C17.1464 18.5251 17.1464 19.4749 16.5607 20.0607C1
15.9749 20.6464 15.0251 20.6464 14.4393 20.0607L7.43934 13.0607C6.85355 12.4749 6.85355 11.5251 7.43934 10.9393L14.4393 3.93934C15.0251 3.35355 15.9749 3.35355 16.5607 3.93934Z"})})},d=e=>{let{onBackClick:t,title:l,className:s,showClose:d,onClose:c,hideBack:o,extraContent:u}=e;return(0,a.jsxs)("div",{className:"w-full py-4 flex items-center justify-between sticky top-0 bg-bg1 ".concat(s),children:[(0,a.jsxs)("div",{className:"items-center flex",children:[o?(0,a.jsx)(a.Fragment,{}):(0,a.jsx)(i,{className:"cursor-pointer w-6 h-6 text-primary-text",onClick:t}),(0,a.jsx)("div",{className:"".concat(o?"":"ml-2"," font-bold text-lg text-primary-text "),children:l})]}),u,d?(0,a.jsx)(n(),{className:"cursor-pointer",onClick:c,alt:"closeSvg",src:r.A}):""]})}},57662:(e,t,l)=>{"use strict";l.d(t,{A:()=>E});var a=l(37876),s=l(99190),n=l(14232),r=l(34846),i=l(84952),d=l(65191),c=l(81786),o=l(48058),u=l(76980),m=l(10316),x=l(19020);let h={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/plus.3fbe6312.svg",height:16,width:16,blurWidth:0,blurHeight:0};var v=l(44789),p=l(38243),f=l(54587),b=l.n(f),g=l(59582),j=l(31991),y=l(32378),w=l(82565),N=l(35373),A=l(17745),C=l(92094),k=l(47316),I=l(52397),T=l(44975);let _=e=>{var t;let{cardInfo:l,selected:s,onSelect:n,onDelete:i}=e,{t:h}=(0,r.Bd)();return(null==l?void 0:l.disabled)?(0,a.jsxs)("div",{className:"mb-[10px] flex flex-1 items-center justify-start h-14 rounded-[4px] px-5",children:[(0,a.jsx)("div",{className:"cursor-pointer rounded-full w-4 h-4 border-2 border-disabled bg-disabled justify-center items-center flex"}),(0,a.jsxs)("div",{className:"flex flex-1 items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"ml-4",children:(0,a.jsx)(b(),{src:m.A,alt:"master"})}),(0,a.jsx)("div",{className:"ml-3 text-regular-body cursor-default text-disabled",children:h("EndingCardLast4",{cardLast4:l.cardLast4})}),(0,a.jsx)("div",{className:"w-4 h-4 ml-3",children:(0,a.jsx)(k.A,{tips:l.blockedReason||"This card cannot be used",children:(0,a.jsx)(b(),{className:"cursor-pointer",alt:"forbidden",src:x.A})})})]}),(0,a.jsx)("div",{onClick:e=>{null==i||i(l),e.stopPropagation()},className:"cursor-pointer",children:(0,a.jsx)(b(),{alt:"del",src:u.A})})]})]}):(0,a.jsxs)("div",{onClick:()=>{null==n||n(l)},className:"cursor-pointer mb-[10px] flex flex-1 items-center justify-start h-14 rounded-[4px] px-5 hover:bg-bg2 ".concat(s?"bg-bg2":""),children:[(0,a.jsx)("div",{className:"cursor-pointer rounded-full w-4 h-4 border-2 ".concat(s?"border-primary":"border-line"," justify-center items-center flex"),children:(0,a.jsx)("div",{className:"rounded-full w-2 h-2 ".concat(s?"bg-primary":"")})}),(0,a.jsxs)("div",{className:"flex flex-1 items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"ml-4",children:(null==l?void 0:null===(t=l.cardProcessor)||void 0===t?void 0:t.toUpperCase())===p.T5.VISA?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b(),{className:"block dark:hidden shrink-0",src:c.A,alt:"visaCard"}),(0,a.jsx)(b(),{className:"hidden dark:block shrink-0",src:o.A,alt:"visaCard"})]}):(0,a.jsx)(b(),{src:d.A,alt:"master"})}),(0,a.jsx)("div",{className:"ml-3 text-regular-body cursor-default",children:h("EndingCardLast4",{cardLast4:l.cardLast4})})]}),(0,a.jsx)("div",{onClick:e=>{null==i||i(l),e.stopPropagation()},className:"cursor-pointer",children:(0,a.jsx)(b(),{alt:"del",src:u.A})})]})]})},E=()=>{let{t:e}=(0,r.Bd)(),{cardList:t,canUseCardList:l,setCardList:d,currentCard:c,setManageCardOpen:o,setAddCardOpen:u,manageCardOpen:m,setCurrentCard:x,setArrivalTime:p,setIsDisableSellCard:f}=(0,N.A)(),{ga4log:k}=(0,A.A)(),[E,S]=(0,n.useState)(c),B=(0,n.useCallback)(async()=>{if(!(null==c?void 0:c.cardId))return;let t=(0,I._W)("tranType")||"buy";try{let{data:l}=await (0,y.lo)({cardId:null==c?void 0:c.cardId,businessType:t,channelCode:C.k$.CHECKOUT});if(p(null==l?void 0:l.arrivalTime),f((null==l?void 0:l.payoutsTransactionType)==="NOT_SUPPORTED"),(null==l?void 0:l.payoutsTransactionType)==="NOT_SUPPORTED"){let{destory:t}=(0,g.A)({children:(0,a.jsx)(j.A,{imageSrc:v.A,title:e("UnsupportedCard"),
1content:e("UnsupportedCardTips"),Footer:()=>(0,a.jsx)(s.wi,{destory:t,mode:s.z7.OK})})})}return l}catch(e){p(""),f(!1)}},[c,y.lo]),{channelCode:F}=(0,T.A)();(0,n.useEffect)(()=>{F&&(S(c),m||B())},[c,m]),(0,n.useEffect)(()=>{0===t.length&&o(!1)},[t.length,o]),(0,n.useEffect)(()=>{m&&k({element_id:"paymonade3_ManageCard_pageview"})},[k,m]);let M=(0,n.useCallback)(async t=>{k({element_id:"paymonade3_ManageCard_confrimbtn"});let l={success:!1};try{l=(await (0,y.GO)({cardId:null==t?void 0:t.cardId})).data}catch(t){w.A.info({options:{position:w.y.top,Icon:null},text:e("FailedToDelNewCard")})}if(l.success){w.A.success({text:e("Success")});let t=(0,I._W)("tranType"),{data:l}=await (0,y.$t)({channelCode:C.k$.CHECKOUT,businessType:t});d(l)}},[k,d,e]),R=(0,n.useCallback)(t=>{let{destory:l}=(0,g.A)({children:(0,a.jsx)(j.A,{content:e("ConfirmToDelCard2").replace("{{cardNum}}","".concat(t.cardProcessor," **** ").concat(t.cardLast4)),Footer:()=>(0,a.jsx)(s.wi,{onConfirm:()=>M(t),destory:l,mode:s.z7.confirmAndCancelV2})})})},[M,e]);return(0,a.jsx)("div",{children:(0,a.jsx)(s.Ay,{open:m,onClose:()=>{o(!1)},showMask:!0,title:e("ManageCards"),subTitle:e("ManageCardsSubTitle"),footer:(0,a.jsx)(i.A,{disabled:!l.length,onClick:()=>{x(E),o(!1)},className:"mt-0! mb-0! py-3 text-cta-text max-w-full",children:e("Confirm")}),children:(0,a.jsxs)("div",{className:"grow",children:[(0,a.jsx)("div",{className:"h-auto",children:null==t?void 0:t.map(e=>(0,a.jsx)(_,{onDelete:R,onSelect:()=>{S(e)},selected:(null==E?void 0:E.cardId)===e.cardId,cardInfo:e},e.cardId))}),t.length<5?(0,a.jsxs)("div",{className:"h-14 px-5 py-4 flex items-center cursor-pointer",onClick:()=>{u(!0)},children:[(0,a.jsx)(b(),{alt:"add",src:h}),(0,a.jsx)("div",{className:"ml-4 text-link text-regular-body-sub",children:e("AddNewCard")})]}):(0,a.jsx)(a.Fragment,{})]})})})}},63068:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICNA.d6c66054.svg",height:16,width:16,blurWidth:0,blurHeight:0}},63434:(e,t,l)=>{"use strict";l.d(t,{A:()=>v});var a=l(37876),s=l(14232),n=l(91408),r=l(91959),i=l(54587),d=l.n(i),c=l(34846),o=l(56820),u=l(83081);let m=e=>{let{defaultCheck:t,onChange:l,className:n}=e,r=(0,s.useRef)(null),[i,c]=(0,s.useState)(t||!1);return(0,a.jsxs)("div",{onClick:e=>{var t,a,s,n;c(s=!(null===(t=r.current)||void 0===t?void 0:t.checked)),l(n=!(null===(a=r.current)||void 0===a?void 0:a.checked))},className:"cursor-pointer w-[14px] h-[14px] rounded-sm flex items-center justify-center ".concat(i?"bg-[#91E500] border border-[#91E500]":"border-[#EAECEF] border "," ").concat(n),children:[i?(0,a.jsx)(d(),{src:u.A,alt:"right"}):null,(0,a.jsx)("input",{readOnly:!0,checked:i,ref:r,hidden:!0,type:"checkbox"})]})};var x=l(42146),h=l(31780);function v(e){var t,l,i;let{className:u,required:v,containerClassName:p,dropdownCLassName:f,IconClassName:b,label:g,rules:j,options:y,value:w,onChange:N,onClick:A,onChildrenChange:C,disabled:k,displayType:I,placeholder:T,noBg:_,...E}=e,[S,B]=(0,s.useState)(),[F,M]=(0,s.useState)(!0),[R,K]=(0,s.useState)(!1),[P,Y]=(0,s.useState)((null===(t=y.find(e=>e.value===w))||void 0===t?void 0:t.label)||""),L=(0,s.useRef)(!1),O=(0,s.useRef)(null),U=(0,s.useMemo)(()=>(0,n.Ik)().shape({value:j}),[j]),{t:W}=(0,c.Bd)(),D=(0,s.useRef)(null);(0,s.useEffect)(()=>{F||L.current||R||U.validate({value:P}).then(()=>B(void 0)).catch(e=>B(e.errors[0]))},[U,F,P,R]);let z=e=>{M(!1);let t=y.find(t=>t.value===e.target.value).label;Y(t),L.current=!1,O.current.value=t,K(!1),null==N||N(e)};(0,s.useEffect)(()=>{var e;let t=(null===(e=y.find(e=>e.value===w))||void 0===e?void 0:e.label)||"";R?(O.current&&(O.current.value="",O.current.placeholder=W("Search")),Y("")):(O.current&&(O.current.value=t),Y(t))},[y,R,w,W]);let H=y.filter(e=>-1!==e.label.toLowerCase().indexOf(P.toLowerCase()));(0,s.useEffect)(()=>{setTimeout(()=>{if(D.current&&R){var e,t;null===(t=D.current)||void 0===t||null===(e=t.scrollIntoView)||void 0===e||e.call(t,{block:"center",inline:"center"})}},150)},[w,R]);let q=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=e=>{K(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]),(0,a.jsx)("div",{className:u,children:(0,a.jsxs)(a.Fragment,{children:["hidden"
1!==I?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"text-sm text-primary-text flex items-end",children:[g," ",(0,a.jsx)("span",{className:"text-sell ml-1",children:v?"*":""})]}),(0,a.jsx)("div",{className:"relative inline-block w-full",children:(0,a.jsxs)("div",{className:"\n outline-none relative rounded-xl transition-all duration-150\n border min-h-11 mt-1 ".concat(_?"":"bg-bg2"," disabled:bg-line\n text-[#1E2329] disabled:text-disabled ").concat(S?"border-sell ":"border-line ","\n ").concat(S||k?"":"hover:border-primary ","\n ").concat(p,"\n "),style:{fontSize:"14px",width:"100%"},children:[(0,a.jsxs)("div",{onClick:e=>{k||(K(!0),null==A||A(),e.stopPropagation())},className:"w-full flex items-center relative justify-between",children:[(0,a.jsx)("div",{onClick:()=>{setTimeout(()=>{var e;null===(e=q.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},150)},className:"".concat(R?"none":"shrink-0 absolute top-0 left-0 z-10 w-full")}),(0,a.jsx)("input",{className:"\n shrink-0 outline-none rounded-xl w-full py-3 px-3 text-small-body-sub\n ".concat(_?"":"bg-bg2"," text-primary-text\n disabled:bg-line disabled:text-disabled\n ").concat(R?"rounded-b-none border-b-line":"","\n "),disabled:k,value:P,ref:O,placeholder:T,onInput:e=>{Y(e.target.value),L.current=!0}}),(0,a.jsx)(h.A,{className:"transition-all duration-150 shrink-0 w-5 h-5 text-primary-text absolute top-[calc(50%)] right-3 transform -translate-y-1/2 ".concat(R?"rotate-180":""," ").concat(b),alt:"caretDownF"})]}),(0,a.jsx)("div",{onClick:e=>e.stopPropagation(),ref:q,className:"\n transition-[height] duration-75 ease-in-out\n ".concat(R?"h-64 py-3 border-t border-t-line hover:border-primary hover:border-t-line rounded-b-xl ".concat(_?"":"bg-bg2"," relative top-0 left-3 w-full -mx-3 overflow-auto ").concat(f):"h-0 overflow-hidden","\n "),children:H.length?H.map(e=>(0,a.jsxs)("div",{ref:w===e.value?D:null,onMouseDown:()=>{e.disabled||z({target:{value:e.value}})},className:"px-2 mx-2 rounded-lg py-2 ".concat(_?"":"bg-bg2"," cursor-pointer text-primary-text hover:text-link justify-between flex items-center hover:bg-bg3 transition-all duration-150 ").concat(e.disabled?"text-disabled hover:text-disabled cursor-not-allowed":""),children:[(0,a.jsx)("span",{className:"".concat(w===e.value?"text-link ":""),children:e.labelComponent||e.label}),w===e.value?(0,a.jsx)(d(),{src:r.A,alt:"rightGreen"}):(0,a.jsx)(a.Fragment,{})]},e.value)):(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center px-4 py-2 text-regular-body text-third cursor-not-allowed",children:[(0,a.jsx)(d(),{className:"mt-16",src:x.A,alt:"nodata"}),(0,a.jsx)("div",{children:W("NoData")})]})})]})}),S&&(0,a.jsx)("div",{className:"text-sm text-sell mt-1",children:S})]}):(0,a.jsx)(a.Fragment,{}),null===(i=y.find(e=>e.value===w))||void 0===i?void 0:null===(l=i.children)||void 0===l?void 0:l.map(e=>(0,a.jsx)("div",{className:"mt-6",children:"Input"===e.type&&"hidden"!==e.displayType?(0,a.jsx)(o.A,{disabled:e._front_disabled,value:e.myAnswer,onChange:t=>null==C?void 0:C({...e,value:t.target.value}),placeholder:e.inputPlaceholder,label:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e.subQuestion||""}})}):"SingleCheckBox"===e.type&&"hidden"!==e.displayType?(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(m,{defaultCheck:"Y"===e.myAnswer,onChange:t=>{null==C||C({...e,value:t?"Y":"N"})}}),(0,a.jsx)("div",{className:"ml-2 text-secondary",children:e.subQuestion})]}):""},e.subQuestion))]})})}},73420:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/cashier",function(){return l(85824)}])},77929:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(37876),s=l(54587),n=l.n(s),r=l(93709),i=l(34846),d=l(79123);l(14232);let c=e=>{let{desc:t}=e,{t:l}=(0,i.Bd)();return(0,a.jsxs)("div",{className:"flex h-full relative flex-col text-center pt-[104px] items-center",children:[(0,a.jsx)(n(),{alt:"IllustrationLoading",src:r.A}),(0,a.jsx)("div",{className:"px-5 mt-6 text-secondary text-base",children:t||l("loadingDesc")}),(0,a.jsx)(d.A,{className:" !absolute !bottom-0"})]})}},79123:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(37876),s=l(54587),n=l.n(s);let r={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/paymonade-logo-icon.2364f979.svg",height:16,width:17,blurWidth:0,blurHeight:0};
1var i=l(34846),d=l(44975);let c=e=>{let{className:t}=e,{t:l}=(0,i.Bd)(),{showBinance:s}=(0,d.A)();return!1===s?(0,a.jsxs)("div",{className:"sm:hidden flex flex-1 items-center justify-center text-disabled text-xs py-2 ".concat(t),children:[(0,a.jsx)(n(),{src:r,alt:"paymonadeLogoIcon",className:"mr-2"}),(0,a.jsx)(i.x6,{t:l,i18nKey:"PoweredBy",components:{s:(0,a.jsx)("span",{className:"text-secondary text-xs ml-1"})}})]}):(0,a.jsx)(a.Fragment,{})}},85823:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});var a=l(37876),s=l(44975),n=l(97929),r=l(54587),i=l.n(r),d=l(14232),c=l(34846),o=l(92094),u=l(58069),m=l(47316),x=l(88050),h=l(91447),v=l(7419),p=l(52397);let f=e=>{let{isInit:t,allInfos:l,isBuy:r,extraInfos:f,paymentInfos:b,topContent:g,bottomContent:j}=e,[y,w]=(0,d.useState)(!0),{t:N}=(0,c.Bd)(),A="true"===(0,p._W)(o.Bm.isRoma),{paymentMethod:C,orderInfo:k,setQuoteInfo:I,quoteInfo:{loading:T,data:_}}=(0,s.A)(),E=(0,d.useCallback)(e=>{let{label:t,value:l}=e;return(0,a.jsxs)("div",{className:"w-full items-end flex justify-between",children:[(0,a.jsx)("div",{className:"text-small-body text-secondary",children:t}),(0,a.jsx)("div",{className:"text-regular-body-sub text-right",children:l})]})},[]),S=(0,a.jsxs)("div",{className:"bg-bg2 w-[calc(100%+32px)] mx-[-16px] flex justify-between items-center relative",children:[(0,a.jsx)("div",{className:"w-2 h-4 rounded-tr-full rounded-br-full bg-bg1 relative"}),(0,a.jsx)("div",{className:"grow border-dashed border-t h-0 border-line relative mx-2"}),(0,a.jsx)("div",{className:"w-2 h-4 rounded-tl-full rounded-bl-full bg-bg1 relative"})]}),{trackAndGa:B}=(0,v.A)();return(0,a.jsxs)("div",{className:"bg-alertbg rounded-xl",children:[g&&(0,a.jsx)("div",{className:"w-full rounded-xl p-3 gap-1 bg-alertbg flex items-start",children:(0,a.jsx)("span",{className:" text-secondary",children:g})}),(0,a.jsxs)("div",{className:"px-4 overflow-hidden py-4 bg-bg2 rounded-xl ".concat(y?"min-h-[204px]":"h-[68px]"," flex flex-col justify-start relative"),children:[(0,a.jsx)("div",{className:"flex mb-1 sm:mb-2",onClick:()=>{},children:(0,a.jsxs)("div",{className:" flex sm:flex-row flex-col-reverse flex-1 justify-between items-center",children:[T&&t?(0,a.jsx)("div",{className:"h-16 items-center flex",children:(0,a.jsx)(x.A,{size:8,color:"#A7EA33",speedMultiplier:.7})}):(0,a.jsxs)("div",{className:"mt-2 sm:mt-0 flex flex-col items-center sm:items-start",children:[(0,a.jsx)("div",{className:"sm:text-large-body-sub text-regular-body-sub items-center flex gap-1",children:(0,a.jsx)(c.x6,{t:N,i18nKey:r?"buyTemplete":"sellTemplete",values:{amount:(0,n.A)({num:null==_?void 0:_.cryptoAmount,decimalPlaces:8}),currency:(null==_?void 0:_.cryptoCurrency)||0},components:{b:(0,a.jsx)("span",{className:"text-primary-text font-bold sm:text-h5 text-h6"})}})}),(0,a.jsx)("div",{className:"text-small-body-sub mt-1",children:A?null:T&&t?(0,a.jsx)(x.A,{size:8,color:"#A7EA33",speedMultiplier:.7}):"1 ".concat((null==_?void 0:_.fiatCurrency)||""," = ").concat((null==_?void 0:_.quotePrice)?new u.A(1).div(new u.A(null==_?void 0:_.quotePrice)).toFixed(8):0," ").concat((null==_?void 0:_.cryptoCurrency)||"")})]}),(0,a.jsxs)("div",{className:"flex items-center ".concat(r?"flex-row":"flex-row-reverse"),children:[(0,a.jsx)(i(),{className:"sm:w-[40px] sm:h-[40px] w-[32px] h-[32px] relative ".concat(r?"z-10":"z-0 ml-[-12px]"," "),width:40,height:40,src:"".concat("https://static2.paymonade.tech","/crypto/").concat(null==k?void 0:k.cryptoCurrency,"_256.png"),alt:""}),(0,a.jsx)(i(),{className:"sm:w-[40px] sm:h-[40px] w-[32px] h-[32px] relative ".concat(r?"z-0 ml-[-12px]":"z-10"," "),width:40,height:40,src:"".concat("https://static2.paymonade.tech","/fiat/").concat(null==k?void 0:k.fiatCurrency,"_256.png"),alt:""})]})]})}),S,y?(0,a.jsxs)("div",{className:"flex flex-col gap-2 mt-2",children:[l.map(e=>(0,a.jsx)(E,{...e},e.label)),(null==f?void 0:f.length)?(0,a.jsx)(a.Fragment,{children:(null==f?void 0:f.length)&&(null==f?void 0:f.map(e=>(0,a.jsx)(E,{...e},e.label)))}):(0,a.jsx)(a.Fragment,{}),(null==b?void 0:b.length)?(0,a.jsx)(a.Fragment,{children:(null==b?void 0:b.length)&&(null==b?void 0:b.map(e=>(0,a.jsx)(E,{...e},e.label)))}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)("div",{className:"border-b border-line border-dashed"}),(0,a.jsx)(E,{label:r?N("YouPay"):(0,a.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,a.jsx)("span",{children:N("YouReceive")}),(0,a.jsx)(m.A,{tips:(0,a.jsx)("span",{className:"break-words",children:N("YouReceiveTip")}
1),children:(0,a.jsx)(h.A,{className:"w-4 h-4 cursor-pointer text-third hover:text-primary transition-all duration-300",alt:"ICInfoGray"})})]}),value:(0,a.jsxs)("div",{className:"text-large-body-bold",children:[(0,a.jsx)("span",{children:(0,n.A)({num:r?null==_?void 0:_.fiatAmount:(0,u.A)((null==_?void 0:_.fiatActualAmount)||0).add((null==_?void 0:_.reducedFee)||0),decimalPlaces:null==_?void 0:_.fiatPrecision})}),(0,a.jsxs)("span",{children:["\xa0",(null==_?void 0:_.fiatCurrency)||""]})]})})]}):(0,a.jsx)(a.Fragment,{})]}),j&&(0,a.jsx)("div",{className:"w-full rounded-xl p-3 gap-1 bg-alertbg flex items-start",children:(0,a.jsx)("span",{className:" text-secondary",children:j})})]})}},85824:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>V});var a=l(37876),s=l(32378),n=l(92877),r=l(61329),i=l(42231),d=l(92094),c=l(95256),o=l(14232),u=l(34846),m=l(56709),x=l(54587),h=l.n(x),v=l(84952),p=l(36860),f=l(87387),b=l(85093),g=l(79123),j=l(44975),y=l(31991),w=l(59582),N=l(99190),A=l(97929),C=l(58069),k=l(9694),I=l(85823),T=l(57662),_=l(9568),E=l(35373),S=l(65191),B=l(81786);let F={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/banktransfer.85a07714.svg",height:24,width:24,blurWidth:0,blurHeight:0};var M=l(14461),R=l(87331),K=l(52397),P=l(36717),Y=l(91251),L=l(47316),O=l(63068);let U=()=>{var e,t;let l=(0,c.Ay)(),{setManageAccountOpen:n,setAddAccountOpen:r,currentAccount:x,accountList:U,isCurrentAccountDisabled:W}=(0,f.A)(),{canUseCardList:D,cardList:z,currentCard:H}=(0,E.A)(),{t:q}=(0,u.Bd)(),{channelCode:J,paymentMethod:V,allRouteInfo:$,setChannelCode:Q,setPaymentMethod:Z,orderInfo:G,setQuoteInfo:X,quoteInfo:{loading:ee,data:et}}=(0,j.A)(),[el,ea]=(0,o.useState)(0),es=(0,o.useRef)(),{setAddCardOpen:en,setManageCardOpen:er}=(0,E.A)(),{getQueryData:ei}=(0,c.IT)(),[ed,ec]=(0,o.useState)(!1),eo=(0,c.uU)(),[eu,em]=(0,o.useState)("Y"===(0,K._W)(d.Bm.hasCheckAgreement)),ex=(0,R.A)(),eh=(0,k.l)(ei("tranType"),d.c.BUY),ev=[{label:eh?q("buy"):q("sell"),value:"".concat((0,A.A)({num:null==et?void 0:et.cryptoAmount,decimalPlaces:8})," ").concat(null==et?void 0:et.cryptoCurrency)},{label:q("Quotation"),value:"1 ".concat(null==et?void 0:et.cryptoCurrency," â ").concat((0,A.A)({num:null==et?void 0:et.quotePrice})," ").concat(null==et?void 0:et.fiatCurrency)},{label:"".concat(q("Fees")),value:"".concat((0,A.A)({num:(0,C.A)((null==et?void 0:et.userFee)||0).add((null==et?void 0:et.tradeFee)||0)})," ").concat(null==et?void 0:et.feeCurrency)},eh?{label:"",value:""}:{label:q("ActualReceive"),value:"".concat((0,A.A)({num:null==et?void 0:et.fiatActualAmount})," ").concat(null==et?void 0:et.fiatCurrency)},eh?{label:q("Merchant"),value:q("Paymonade")}:{label:"",value:""}].filter(e=>!!e.label&&!!e.value),ep=(0,o.useCallback)(()=>{if(clearInterval(es.current),(0,K.KY)(d.Bm.hasCheckAgreement,"Y"),V===d.YJ.BANK_TRANSFER)if(eh){l.push("/".concat(eo,"/banktransfer-buy?from=").concat(d.zx.cashier));return}else{var e;if(!(null===(e=U.data)||void 0===e?void 0:e.length)){r(!0);return}}if(V===d.YJ.CARD){if(!(null==z?void 0:z.length)){en(!0);return}if(!(null==D?void 0:D.length)){er(!0);return}}ec(!0),ex({onError:()=>{ec(!1),ea(0)},onTimeout:()=>{ec(!1)}})},[V,ex,eh,l,eo,null===(e=U.data)||void 0===e?void 0:e.length,r,null==z?void 0:z.length,null==D?void 0:D.length,en,er]),ef=(0,o.useCallback)(e=>{let t=e.currentTarget.dataset.paymentmethod;Z(t),Q($.find(e=>e.paymentMethod===t).channelCode)},[$,Q,Z]),eb=(0,o.useCallback)(async()=>{if((null==G?void 0:G.fiatCurrency)&&J){X({loading:!0,data:void 0});try{let{data:e}=await (0,s.fn)({orderId:null==G?void 0:G.orderId,channelCode:J,paymentMethod:V});X({loading:!1,data:e}),ea(e.expiredAfter-1),clearInterval(es.current),es.current=setInterval(()=>{ea(e=>e-1>0?e-1:(clearInterval(es.current),eb(),0))},1e3)}catch(s){var e,t;let{destory:l}=(0,w.A)({children:(0,a.jsx)(y.A,{content:(null==s?void 0:null===(t=s.response)||void 0===t?void 0:null===(e=t.data)||void 0===e?void 0:e.msg)||q("refreshTitle"),Footer:()=>(0,a.jsx)(N.wi,{onClick:()=>location.reload(),destory:l,mode:N.z7.OK})})})}}},[J,null==G?void 0:G.fiatCurrency,null==G?void 0:G.orderId,V,X,q]);(0,o.useEffect)(()=>{eb()},[eb]);let eg=(0,o.useCallback)(()=>{var e;return(0,a.jsxs)("div",{className:"flex justify-between items-center flex-1 ml-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-medium ",children:q("BankTransfer")}),eh||U.loading?(0,a.jsx)(a.Fragment,{}):(null===(e=U.data)||void 0===e?void 0:e.length)?(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"text-xs font-medium ".concat(W?"text-disabled":"text-secondary"),children:null==x?void 0:x.iban}),W?(0,a.jsx)(L.A,{tips:-1===W?null==x?void 0:x.blockedReason:q("ReasonForUnavailableAccount"),children:(0,a.jsx)(h(),{src:O.A,className:"ml-1",alt:"ICNA"})}):(0,a.jsx)(a.Fragment,{}),(0,a.jsx)("div",{onClick:()=>n(!0),className:"font-medium text-xs text-link ml-1",children:q("Change")})]}):(0,a.jsx)("div",{onClick:()=>r(!0),className:"text-secondary text-xs font-medium",children:q("AddBankAccountNow")})]}),(0,a.jsx)(h(),{src:F,alt:""})]})},[null===(t=U.data)||void 0===t?void 0:t.length,U.loading,null==x?void 0:x.blockedReason,null==x?void 0:x.iban,eh,W,r,n,q]),ej=(0,o.useCallback)(()=>(0,a.jsxs)("div",{className:"flex justify-between items-center flex-1 ml-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"font-medium ",children:q("Card")}),(null==z?void 0:z.length)?(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsxs)("div",{className:"text-secondary text-xs font-medium",children:[null==H?void 0:H.cardProcessor," (**** ",null==H?void 0:H.cardLast4,")"]}),(0,a.jsx)("div",{onClick:()=>er(!0),className:"font-medium text-xs text-link ml-1",children:q("Change")})]}):(0,a.jsx)("div",{onClick:()=>en(!0),className:"text-secondary text-xs font-medium",children:q("AddNewCard")})]}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)(h(),{src:S.A,alt:""}),(0,a.jsx)(h(),{src:B.A,alt:"",className:"ml-1"})]})]}),[null==z?void 0:z.length,null==H?void 0:H.cardLast4,null==H?void 0:H.cardProcessor,en,er,q]);return(0,o.useEffect)(()=>{(null==$?void 0:$[0])&&(Z($[0].paymentMethod),Q($[0].channelCode))},[$,Q,Z]),(0,a.jsxs)("div",{className:"w-full h-full sm:px-5 px-0 relative",children:[(0,a.jsxs)("div",{className:"".concat("Y"===(0,K._W)(d.Bm.hasCheckAgreement)?"h-[calc(100%-80p
1x)]":"h-[calc(100%-100px)]"," overflow-auto"),children:[(0,a.jsx)(i.A,{title:q("CompletePurchase"),onBackClick:()=>{(0,d.cr)()}}),(0,a.jsxs)("div",{className:"mt-3 flex justify-between items-center",children:[(0,a.jsx)("span",{className:"font-medium text-sm text-primary-text ",children:q("yourOrder")}),(0,a.jsx)("span",{className:"text-third text-xs",children:q("UpdateIn").replace("{{second}}",el.toString())})]}),(0,a.jsx)(I.A,{isInit:!1,allInfos:ev,isBuy:eh}),(0,a.jsx)("div",{className:"mt-6 font-medium",children:(null==$?void 0:$.length)?q("PaymentMethod"):q("payingWith")}),(0,a.jsx)("div",{className:"mt-2 rounded-xl bg-bg2",children:null==$?void 0:$.map(e=>(0,a.jsxs)("div",{onClick:ef,"data-paymentmethod":e.paymentMethod,className:"flex-1 flex cursor-pointer items-center px-3 py-4",children:[(0,a.jsx)(M.A,{selected:V===e.paymentMethod}),e.paymentMethod===d.YJ.BANK_TRANSFER?(0,a.jsx)(eg,{}):(0,a.jsx)(ej,{})]},"".concat(e.channelCode,"-").concat(e.paymentMethod)),[])}),eh&&V===d.YJ.CARD?(0,a.jsx)("div",{className:" mt-6",children:(0,a.jsx)(P.A,{})}):(0,a.jsx)(a.Fragment,{})]}),(0,a.jsxs)("div",{className:"!absolute !bottom-0 w-full sm:!w-[calc(100%-40px)]",children:["Y"!==(0,K._W)(d.Bm.hasCheckAgreement)?(0,a.jsxs)("div",{className:"flex mt-3 mb-2 items-center ",children:[(0,a.jsx)(Y.A,{check:eu,setCheck:em,className:"mr-2"}),(0,a.jsx)("div",{className:"text-[#707A8A]",dangerouslySetInnerHTML:{__html:q("agreementText","I agree with Paymonadeâs Terms of Use and Privacy Notice")}})]}):(0,a.jsx)("div",{className:"flex mt-3 mb-2 items-center "}),(0,a.jsx)(v.A,{onClick:ep,loading:ed,inactive:!eu||!!W&&V===d.YJ.BANK_TRANSFER,className:"!rounded-[200px] mb-3",children:(0,a.jsxs)("div",{className:"flex flex-1 justify-center",children:[(0,a.jsx)("span",{children:q("Confirm")}),(0,a.jsx)(h(),{className:"ml-1",src:m.A,alt:"ICGoBtn"})]})}),(0,a.jsx)(g.A,{})]}),(0,a.jsx)(p.A,{}),(0,a.jsx)(b.A,{}),(0,a.jsx)(T.A,{}),(0,a.jsx)(_.A,{})]})};var W=l(38243),D=l(77929),z=l(8053),H=l(95690),q=l(70746),J=l(79829);let V=()=>{let[e,t]=(0,o.useState)(!0),{allRouteInfo:l,setAllRouteInfo:i,setOrderInfo:m}=(0,j.A)(),{getQueryData:x}=(0,c.IT)(),h=(0,c.Ay)(),v=(0,c.uU)(),{setCardList:p}=(0,E.A)(),{goKyc:f}=(0,H.A)(),b=(0,q.A)(),g=(0,o.useCallback)(async e=>{let{data:t}=await (0,n.zh)({orderToken:e});m(t),(0,K.KY)(d.ck.fiatCurrency,t.fiatCurrency);let{data:l}=await (0,n.wh)({orderToken:e});i(l.map(e=>({...e,paymentMethod:e.paymentMethodName})))},[i,m]),{t:A}=(0,u.Bd)();return(0,o.useEffect)(()=>{(async()=>{var e,t;let l=x("orderToken"),s=x("tranType");if(x("redirectUrl"),(0,K.KY)(d.Bm.loginv2,"false"),!l||!s){let{destory:e}=(0,w.A)({children:(0,a.jsx)(y.A,{content:A("expiredTitle"),Footer:()=>(0,a.jsx)(N.wi,{onClick:()=>(0,d.V3)(),destory:e,mode:N.z7.OK})})});return}(0,K.KY)(d.Bm.orderToken,l),(0,K.KY)(d.ck.orderToken,l),(0,K.KY)(d.ck.tranType,null==s?void 0:null===(e=s.toLowerCase)||void 0===e?void 0:e.call(s)),(0,K.KY)(d.Bm.tradeFlowType,d.zx.cashier);let{data:n}=await (0,r.gc)({orderToken:l});if(n.loginConfig&&((0,K.KY)(d.Bm.enableBinanceOauth,String(n.loginConfig.enableBinanceOauth)),(0,K.KY)(d.Bm.suggestedEmail,n.loginConfig.suggestedEmail||""),(0,K.KY)(d.Bm.loginWithMerchantSharedKyc,String(n.loginConfig.loginWithMerchantSharedKyc))),n.paymentMethod&&((0,K.KY)(d.ck.paymentMethod,n.paymentMethod),(0,K.KY)(d.Bm.tradeFlowType,d.zx.single)),(0,K.KY)(d.Bm.loginStatus,n.status),(0,K.KY)(d.Bm.vToken,n.vToken),"SKIP_OTP"===n.status)h.push("/".concat(v,"/skip-login"));else if("N"===n.status){if(n.loginConfig.loginWithMerchantSharedKyc&&!n.loginConfig.suggestedEmail){h.push("/".concat(v,"/oauth/callback/kycshare"));return}h.push("/".concat(v,"/login"))}else{let{data:e}=await (0,J.od)(),a=e.kycInfo.kycStatus,s=e.accountStatus;if("Pass"===e.kycInfo.identityStatus&&(null==e?void 0:null===(t=e.kycInfo)||void 0===t?void 0:t.livenessCheckStatus)==="Pass"&&"break"===await b(!0))return;a!==W.Nw||s!==W.K6?f():g(l)}})()},[x,f,v,h,i,g,b]),(0,o.useEffect)(()=>{(null==l?void 0:l.length)&&(null==l?void 0:l.find(e=>e.paymentMethod===d.YJ.CARD))&&(0,s.$t)({channelCode:d.k$.CHECKOUT}).then(e=>{let{data:l}=e;p(l),t(!1)})},[l,p]),(0,a.jsx)(z.Ay,{children:e?(0,a.jsx)(D.A,{}):(0,a.jsx)(U,{})})}},87331:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});
1var a=l(37876),s=l(32378),n=l(92094),r=l(35373),i=l(44975),d=l(52397),c=l(14232),o=l(95256),u=l(59582),m=l(31991),x=l(99190),h=l(91702),v=l(34846),p=l(87387);let f=()=>{var e;let{channelCode:t,paymentMethod:l,orderInfo:f,quoteInfo:{loading:b,data:g}}=(0,i.A)(),{currentAccount:j,checkStatus:y}=(0,p.A)(),{currentCard:w}=(0,r.A)(),N=(null===(e=(0,d._W)(n.ck.tranType))||void 0===e?void 0:e.toLowerCase())===n.c.SELL,A=(0,o.Ay)(),{t:C}=(0,v.Bd)(),k=(0,o.uU)();return(0,c.useCallback)(async e=>{var r,i,c,o,v;let{onTimeout:p,onError:b}=e;try{let e,i=l===n.YJ.CARD,c=l===n.YJ.BANK_TRANSFER,{data:o}=e=N?await (0,s.N8)({orderId:f.orderId,quoteId:g.quoteId,channelCode:t,paymentMethod:l,...i?{cardId:w.cardId}:{channelAccountId:null==j?void 0:j.channelAccountId},...c?{checkId:null===(r=y[(null==j?void 0:j.iban)||""])||void 0===r?void 0:r.checkId}:{}}):await (0,s.fK)({orderId:f.orderId,quoteId:g.quoteId,channelCode:n.k$.CHECKOUT,cardId:w.cardId,paymentMethod:n.YJ.CARD}),v=null==o?void 0:o.orderId;if(v){(0,h.g8)({requestFn:async e=>{let{data:t}=await (0,s.sV)(v);e(t)},callback:e=>{"failed"===e.status||"success"===e.status||"fail"===e.status?A.push((0,d._W)(n.ck.redirectUrl)||"https://www.paymonade.tech"):"needAdditionalAction"===e.status&&"UPDATE_QUOTE"===e.additionalActionType?A.push("/".concat(k,"/result?orderId=").concat(v)):"needAdditionalAction"!==e.status||"THREE_DS_VERIFICATION"!==e.additionalActionType||N||A.push(e.additionalActionData)},shouldContinue:e=>"processing"===e.status||"abnormal"===e.status,timeoutBack:()=>{let{destory:e}=(0,u.A)({children:(0,a.jsx)(m.A,{content:C("noResTip"),Footer:()=>(0,a.jsx)(x.wi,{onClick:()=>A.push((0,d._W)(n.ck.redirectUrl)||"https://www.paymonade.tech"),destory:e,mode:x.z7.OK})})});p()},maxPollingCount:10,pollingInterval:3e3});return}throw e}catch(t){b();let{destory:e}=(0,u.A)({children:(0,a.jsx)(m.A,{title:C("Failed"),content:(null==t?void 0:null===(v=t.response)||void 0===v?void 0:null===(o=v.data)||void 0===o?void 0:null===(c=o.msg)||void 0===c?void 0:null===(i=c.replace)||void 0===i?void 0:i.call(c,/\d+::/g,""))||C("systemError"),Footer:()=>(0,a.jsx)(x.wi,{destory:e,mode:x.z7.OK})})})}},[t,null==j?void 0:j.channelAccountId,w,N,k,f,l,g,A,C])}},91447:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(37876);l(14232);let s=e=>{let{className:t="",...l}=e;return(0,a.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current ".concat(t),...l,children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM13.5 6.5C13.5 7.32843 12.8284 8 12 8C11.1716 8 10.5 7.32843 10.5 6.5C10.5 5.67157 11.1716 5 12 5C12.8284 5 13.5 5.67157 13.5 6.5ZM12 9.5C12.8284 9.5 13.5 10.2089 13.5 11.0833V17.4167C13.5 18.2911 12.8284 19 12 19C11.1716 19 10.5 18.2911 10.5 17.4167V11.0833C10.5 10.2089 11.1716 9.5 12 9.5Z"})})}},91959:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/right-green.fe58f836.svg",height:16,width:16,blurWidth:0,blurHeight:0}},93709:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/IllustrationLoading.bfe42607.svg",height:88,width:88,blurWidth:0,blurHeight:0}},97929:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(58069);let s=function(e){let{num:t,decimalPlaces:l=2,roundingMode:s="roundDown"}=e;t=t||0;let n=new a.A(t);return"roundDown"===s?n.round(l,0):"roundUp"===s&&n.round(l,3),n.toNumber().toLocaleString(void 0,{minimumFractionDigits:l,maximumFractionDigits:l})}}},e=>{var t=t=>e(e.s=t);e.O(0,[8069,7956,6303,5974,636,6593,8792],()=>t(73420)),_N_E=e.O()}]);
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.