1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5744],{11032:(e,n,s)=>{"use strict";s.r(n),s.d(n,{__N_SSP:()=>d,default:()=>u});var l=s(37876),t=s(14232),a=s(89099),i=s(90656),c=s(51120),r=s(86623),d=!0;function u(e){var n,s;let d=(0,a.useRouter)(),{user:u,token:m}=e,[o,h]=(0,t.useState)(!0),[x,p]=(0,t.useState)([]),{id:j}=d.query;(0,t.useEffect)(()=>{m&&y().catch(e=>{console.error("An error occurred while fetching the data: ",e)})},[m]);let y=async()=>{h(!0);let e=await (0,r.Ds)("/api/user/paynow?",{business:j,type:"check"},m);if(e.ok){let n=await e.json();h(!1),p(n)}else h(!1)};return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.A,{user:u,id:j,token:m,children:(0,l.jsx)("div",{children:o?(0,l.jsx)("div",{className:"row justify-content-center",children:(0,l.jsx)("div",{className:"col-lg-12",children:(0,l.jsxs)("div",{className:"text-wrap my-5 mx-md-5 d-flex flex-column justify-content-md-center align-items-md-center",style:{minHeight:300},children:[(0,l.jsx)("div",{className:"spinner-border text-primary",role:"status",children:(0,l.jsx)("span",{className:"visually-hidden",children:"Loading..."})}),(0,l.jsx)("p",{className:"font-sm mt-3",children:"Loading plans..."})]})})}):(0,l.jsxs)(l.Fragment,{children:[(null==x?void 0:x.expired)==0&&((null==x||null==(n=x.selected_plan)?void 0:n.plan_type)==1||(null==x||null==(s=x.selected_plan)?void 0:s.plan_type)==2)?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(c.A,{user:u,token:m,initialData:null==x?void 0:x.selected_plan,business:j})}):(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"row justify-content-center",children:(0,l.jsx)("div",{className:"col-lg-12",children:(0,l.jsxs)("div",{className:"text-wrap my-5 mx-md-5 d-flex flex-column justify-content-md-center align-items-md-center",style:{minHeight:300},children:[(0,l.jsx)("h1",{className:"sub-title font-lg text-md-center",children:"This plan cannot be changed!"}),(0,l.jsx)("p",{className:"font-sm text-md-center",style:{margin:"5px 0 0"},children:"Hello, weâve successfully received your payment for the current plan. Since it is active and already in use, plan changes are currently disabled."}),(0,l.jsx)("div",{className:"text-center",style:{margin:"14px 0 0"}})]})})})})," "]})})})})}},97612:(e,n,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/l/[id]/changeplan",function(){return s(11032)}])}},e=>{e.O(0,[4121,2076,636,4644,8792],()=>e(e.s=97612)),_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.