1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[928],{92726:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/paymentresult",function(){return a(99379)}])},99379:function(e,n,a){"use strict";a.r(n),a.d(n,{__N_SSG:function(){return o},default:function(){return PaymentSuccess}});var s=a(85893),t=a(18519),u=a(11163),r=a(97135),c=a(67294),m=a(86147),o=!0;function PaymentSuccess(){let{t:e}=(0,t.$G)("common"),n=(0,u.useRouter)(),getSummary=async()=>{try{setTimeout(async()=>{let e=await m.Z.getBillingSummary("paymentResult");(!(e.phoneNumberCount<=0)||e.showPlans||e.showTrial||"free"!==e.planName&&"solo"!==e.planName)&&(!(e.phoneNumberCount<3)||e.showPlans||e.showTrial||"team"!==e.planName)?n.push({pathname:"/homepage"}):n.push({pathname:"/phoneattribute",query:{plan:e.planName}})},3e3)}catch(e){console.log(e)}};return(0,c.useEffect)(()=>{n.isReady&&("succeeded"!==n.query.redirect_status?n.query.phoneId?n.push({pathname:"/phonepayment",query:{phoneId:n.query.phoneId,failed:!0}}):n.push({pathname:"/paymentdetails",query:{duration:"monthly",failed:!0}}):n.query.phoneId?setTimeout(()=>n.push({pathname:"/phone"}),3e3):getSummary())},[n.isReady,n.query.result]),"succeeded"==n.query.redirect_status?(0,s.jsx)("div",{className:"payment-success-page",children:(0,s.jsxs)("div",{className:"payment-redirect-container",children:[(0,s.jsx)("span",{className:"payment-success-message",children:e("paymentSuccessMessage")}),(0,s.jsx)("div",{className:"payment-animation-box",children:(0,s.jsx)(r.Z,{})})]})}):null}PaymentSuccess.requireAuth={shouldAuth:!0}}},function(e){e.O(0,[7135,9774,2888,179],function(){return e(e.s=92726)}),_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.