PageSourceSearch

https://ezcollegeapp.com/assets/Payment-ALmLsZNJ.js

js ezcollegeapp.com collected 2026-10-02 00:49:28 UTC 19,578 bytes, 1 lines download raw bytes

1import{d as Ie,m as Fe,r as i,j as e,L as Pe}from"./react-vendor-B-f7cQeY.js";import{u as ye}from"./query-vendor-C1qkGTbe.js";import{u as Se,n as _e,g,i as ve,m as De,o as Ae,p as Be,f as Oe,q as Me,d as Le,r as Ke,s as Ue,t as $e,h as Re,j as Te}from"./catalogPlans-CTZjymRw.js";import{u as Ve,i as qe,q as He,x as ze}from"./index-Btzst3sR.js";import{n as Ge,i as Y}from"./planUpgrade-ET6c8Ie5.js";import"./jspdf-vendor-DFrGCTlk.js";import"./graph-vendor-OV3jTF7R.js";import"./editor-vendor-D2iY5FDI.js";import"./icons-vendor-CpH9N2Wl.js";function E(n=0,m="USD"){return new Intl.NumberFormat("en-US",{style:"currency",currency:m,minimumFractionDigits:2}).format(Number(n||0)/100)}function te(n,m){return n.discountType==="percent"?Math.round(m*(Number(n.percentOff||0)/100)):Number(n.amountOffCents||0)}function ne(n,m){const u=String(n||"").toLowerCase();return u==="quarter"||u==="month"||u==="season"||u==="year"?m("payment.seasonPayment"):!u||u==="none"?m("payment.intervals.included"):`${u.charAt(0).toUpperCase()}${u.slice(1)}`}function Ye(n,m){return n.discountType==="percent"?m("payment.percentOff",{percent:Number(n.percentOff||0)}):m("payment.amountOff",{amount:E(Number(n.amountOffCents||0),n.currency||"USD")})}function Qe(n,m,u){if(!n)return"";const w=new Date(n);return Number.isNaN(w.getTime())?"":m("payment.expires",{date:w.toLocaleDateString(u==="zh"?"zh-CN":"en-US",{month:"short",day:"numeric"})})}function se({checked:n}){return e.jsx("span",{className:`inline-flex h-5 w-5 items-center justify-center rounded-full border transition ${n?"border-[#0B3A6E] bg-[#0B3A6E]":"border-slate-300 bg-white"}`,"aria-hidden":"true",children:e.jsx("span",{className:`h-2 w-2 rounded-full bg-white transition ${n?"opacity-100":"opacity-0"}`})})}const T="billing_pending_checkout_order_id_v2",V="billing_pending_checkout_started_at_v2",A="billing_pending_checkout_recovered_order_id_v2",ot=()=>{var pe,he,ge,be,fe;const{t:n,lang:m}=Ve(),u=Ie(),[w,ae]=Fe(),[j,Q]=i.useState("gold"),[I,re]=i.useState(""),[y,F]=i.useState(""),[oe,q]=i.useState(!1),[le,P]=i.useState(""),[ie,de]=i.useState(""),[J,ce]=i.useState(!1),d=qe(t=>t.token),{data:S}=Se(),{data:o}=He({enabled:!!d}),x=i.useMemo(()=>_e(S==null?void 0:S.plans),[S==null?void 0:S.plans]),v=i.useMemo(()=>{var t,r;return d?Ge((t=o==null?void 0:o.currentPlan)==null?void 0:t.planCode,(r=o==null?void 0:o.currentPlan)==null?void 0:r.planStatus):""},[(pe=o==null?void 0:o.currentPlan)==null?void 0:pe.planCode,(he=o==null?void 0:o.currentPlan)==null?void 0:he.planStatus,d]),Ne=i.useMemo(()=>{var r,l,f;const t=((r=o==null?void 0:o.currentPlan)==null?void 0:r.planCode)||((l=o==null?void 0:o.currentPlan)==null?void 0:l.planStatus)||((f=o==null?void 0:o.currentPlan)==null?void 0:f.planLabel)||v;return t?ze(t):n("payment.currentFallback")},[v,(ge=o==null?void 0:o.currentPlan)==null?void 0:ge.planCode,(be=o==null?void 0:o.currentPlan)==null?void 0:be.planLabel,(fe=o==null?void 0:o.currentPlan)==null?void 0:fe.planStatus,n]),H=!d||o!==void 0,B=i.useMemo(()=>x.filter(t=>Y(v,g(t))),[v,x]),O=i.useMemo(()=>{if(d&&B.length>0)return g(B[B.length-1]);const t=x.find(l=>["gold","pro"].includes(g(l)));if(t)return g(t);const r=x.find(l=>!ve(l));return r?g(r):g(x[0])||"gold"},[x,d,B]),a=i.useMemo(()=>x.find(t=>g(t)===j)||x.find(t=>g(t)===O)||null,[O,x,j]),b=ve(a),M=!!d&&!Y(v,g(a)),me=!!d&&v!==""&&v!=="iron"&&v!=="expired",z=!d||B.length>0,{data:we}=ye({queryKey:["catalog-v2","prices",j],queryFn:async()=>{var r,l;return((l=(r=(await Re(j)).data)==null?void 0:r.data)==null?void 0:l.items)||[]},enabled:!!j&&!b}),p=we||[],G=i.useMemo(()=>p.find(t=>t.billingInterval==="season")||p.find(t=>t.billingInterval==="month")||p.find(t=>t.billingInterval==="none")||p[0]||null,[p]),s=i.useMemo(()=>p.find(t=>t.checkoutPlanKey===I)||G,[G,p,I]),W=(s==null?void 0:s.billingInterval)==="season"||(s==null?void 0:s.paymentMode)==="one_time";i.useEffect(()=>{p.length&&(I&&p.some(t=>t.checkoutPlanKey===I)||re((G||p[0]).checkoutPlanKey))},[G,p,I]);const{data:je,isLoading:X,refetch:xe}=ye({queryKey:["billing-v2","offers",s==null?void 0:s.checkoutPlanKey],queryFn:async()=>{var r,l;return s!=null&&s.checkoutPlanKey?((l=(r=(await Te(s.checkoutPlanKey)).data)==null?void 0:r.data)==null?void 0:l.items)||[]:[]},enabled:!!d&&!b&&!!(s!=null&&s.checkoutPlanKey)});i.useEffect(()=>{const t=String(w.get("plan")||"").toLowerCase();if(t&&x.some(r=>g(r)===t)&&(!d||Y(v,t))){Q(t);return}O&&Q(O)},[v,O,x,w,d]),i.useEffect(()=>{F(""),q(!1),P(""),de("")},[j,I]);const Z=i.useMemo(()=>x.findIndex(t=>g(t)===g(a)),[x,a]),Ce=i.useMemo(()=>a?De(a):[],[a]),L=je||[],K=L.find(t=>t.eligibilityId===y)||null,N=i.useMemo(()=>(s==null?void 0:s.amountCents)??Math.round(Number((a==null?void 0:a.pricePerMonth)||0)*100),[a==null?void 0:a.pricePerMonth,s==null?void 0:s.amountCents]),ee=i.useMemo(()=>[...L].sort((t,r)=>{const l=te(r,N)-te(t,N);return l!==0?l:Number(new Date(t.expiresAt||"").getTime()||1/0)-Number(new Date(r.expiresAt||"").getTime()||1/0)}),[L,N]),_=ee[0]||null,ue=i.useMemo(()=>
1{if(b)return 0;const t=N;if(!K)return t;if(K.discountType==="percent"){const r=Math.round(t*(Number(K.percentOff||0)/100));return Math.max(0,t-r)}return Math.max(0,t-Number(K.amountOffCents||0))},[N,b,K]);i.useEffect(()=>{if(b){y!==""&&F("");return}if(oe){if(y===""||L.some(t=>t.eligibilityId===y))return;q(!1)}if(_){F(_.eligibilityId);return}y!==""&&F("")},[L,_,b,oe,y]),i.useEffect(()=>{if(!d)return;let t=!1;const r=()=>{window.sessionStorage.removeItem(T),window.sessionStorage.removeItem(V)},l=async()=>{const c=w.get("status"),D=w.get("orderId")||"",U=window.sessionStorage.getItem(T)||"",$=window.sessionStorage.getItem(V)||"",k=D||U,Ee=window.sessionStorage.getItem(A)||"";if(!(!(k&&(c==="cancel"||$))||k===Ee)){window.sessionStorage.setItem(A,k);try{if(await Le({orderId:k}),await xe(),t)return;P(""),de(n("payment.checkoutCanceledCoupon")),r()}catch(R){if(t)return;console.error("Failed to recover pending checkout:",R),window.sessionStorage.removeItem(A),P(n("payment.checkoutRecoveryFailed"))}finally{if(t)return;if(c==="cancel"||D){const R=new URLSearchParams(w);R.delete("status"),R.delete("orderId"),ae(R,{replace:!0})}}}},f=()=>{l()},h=()=>{document.visibilityState==="visible"&&l()},C=()=>{l()};return l(),window.addEventListener("pageshow",f),document.addEventListener("visibilitychange",h),window.addEventListener("focus",C),()=>{t=!0,window.removeEventListener("pageshow",f),document.removeEventListener("visibilitychange",h),window.removeEventListener("focus",C)}},[m,xe,w,ae,n,d]);const ke=async()=>{var t,r,l,f,h,C;if(H&&!(b||J||!(s!=null&&s.checkoutPlanKey))){if(!d){const c=`/payment?plan=${encodeURIComponent(j)}`;u(`/login?next=${encodeURIComponent(c)}`);return}if(M){P(n("payment.chooseHigherPlanError"));return}P(""),ce(!0);try{if(me&&!W){await Ke({checkoutPlanKey:s.checkoutPlanKey}),window.sessionStorage.removeItem(T),window.sessionStorage.removeItem(V),window.sessionStorage.removeItem(A),u("/billing");return}const c=await Ue({checkoutPlanKey:s.checkoutPlanKey,eligibilityId:y||void 0}),D=(t=c==null?void 0:c.data)==null?void 0:t.data,U=(r=D==null?void 0:D.order)==null?void 0:r.id;if(!U)throw new Error(n("payment.orderDraftMissing"));window.sessionStorage.setItem(T,U),window.sessionStorage.setItem(V,new Date().toISOString()),window.sessionStorage.removeItem(A);const $=await $e({orderId:U}),k=(f=(l=$==null?void 0:$.data)==null?void 0:l.data)==null?void 0:f.url;if(k){window.location.href=k;return}throw new Error(n("payment.checkoutUrlMissing"))}catch(c){window.sessionStorage.removeItem(T),window.sessionStorage.removeItem(V),window.sessionStorage.removeItem(A),P(((C=(h=c==null?void 0:c.response)==null?void 0:h.data)==null?void 0:C.msg)||(c==null?void 0:c.message)||n("payment.checkoutFailed"))}finally{ce(!1)}}};return e.jsx("div",{className:"min-h-screen bg-slate-50",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-10 md:px-6 md:py-14",children:[e.jsxs("div",{className:"mb-6 flex flex-col gap-2",children:[e.jsx("p",{className:"text-sm font-semibold uppercase tracking-[0.18em] text-slate-500",children:n("payment.checkout")}),e.jsx("h1",{className:"text-3xl font-bold text-slate-900",children:n("payment.title")})]}),ie?e.jsx("div",{className:"mb-6 rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-800",children:ie}):null,le?e.jsx("div",{className:"mb-6 rounded-xl border border-rose-200 bg-rose-50 px-4 py-3 text-sm text-rose-700",children:le}):null,e.jsxs("div",{className:"grid gap-6 md:grid-cols-[1.1fr,1fr]",children:[e.jsxs("section",{className:"rounded-2xl border border-slate-200 bg-white p-6 shadow-sm",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-wide text-slate-500",children:a?Ae(Z,a.productCode||""):n("payment.fallbackPlan")}),e.jsx("h2",{className:"text-2xl font-bold text-slate-900",children:(a==null?void 0:a.productName)||(a==null?void 0:a.productC
1ode)||n("payment.fallbackPlan")}),e.jsx("p",{className:"text-sm text-slate-600",children:a?Be(a,Z):n("payment.selectPlan")})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-3xl sm:text-4xl font-bold text-slate-900",children:a?Oe(a,s):"$0"}),e.jsx("p",{className:"text-xs uppercase tracking-wide text-slate-500",children:W?n("payment.seasonPayment"):s!=null&&s.billingInterval&&s.billingInterval!=="none"?n("payment.perInterval",{interval:ne(s.billingInterval,n).toUpperCase()}):a!=null&&a.billingInterval&&a.billingInterval!=="none"?n("payment.perInterval",{interval:ne(a.billingInterval,n).toUpperCase()}):n("payment.included")})]})]}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:x.map(t=>{const r=g(t),l=!!d&&!Y(v,r);return e.jsx("button",{type:"button",onClick:()=>{l||Q(r)},disabled:l,className:`rounded-full border px-4 py-2 text-sm font-semibold transition ${j===r?"border-[#0B3A6E] bg-[#0B3A6E] text-white shadow-sm":l?"cursor-not-allowed border-slate-200 bg-slate-100 text-slate-400":"border-slate-200 bg-white text-slate-700 hover:border-[#0B3A6E]"}`,children:t.productName||t.productCode||"Plan"},`${r||"plan"}-${t.productName||""}`)})}),a?e.jsxs("div",{className:"mt-4 flex items-center justify-between gap-3 rounded-2xl border border-[#D8E0E7] bg-[#F7FAFC] px-4 py-3",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-500",children:"Credit grant"}),e.jsx("div",{className:"mt-1 text-xl font-semibold tracking-tight text-[#0B3A6E]",children:Number(a.seasonCreditLimitMicrocredits||a.creditGrantMicrocredits||0)>0?`${(Number(a.seasonCreditLimitMicrocredits||a.creditGrantMicrocredits)/1e6).toFixed(6).replace(/0+$/,"").replace(/\.$/,"")} C`:"Configured in Admin"})]}),e.jsx("div",{className:"max-w-[220px] text-right text-xs leading-relaxed text-slate-500",children:Number(a.monthlyCreditLimitMicrocredits||0)>0?n("payment.seasonCreditUsage",{amount:(Number(a.monthlyCreditLimitMicrocredits)/1e6).toFixed(6).replace(/0+$/,"").replace(/\.$/,"")}):"Added to your permanent Credit balance after a successful payment."})]}):null,d&&M&&e.jsx("div",{className:"mt-4 rounded-xl border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800",children:n("payment.currentPlanUpgrade",{plan:Ne})}),d&&!z&&e.jsx("div",{className:"mt-4 rounded-xl border border-slate-200 bg-slate-50 px-4 py-3 text-sm text-slate-600",children:n("payment.highestPlan")}),!b&&p.length>0&&e.jsxs("div",{className:"mt-4 rounded-2xl border border-slate-200 bg-slate-50 p-4",children:[e.jsx("div",{className:"text-sm font-semibold text-slate-900",children:n("payment.oneTimePurchase")}),e.jsx("div",{className:"mt-2 flex flex-wrap gap-2",children:p.map(t=>{const r=ne(t.billingInterval,n);return e.jsxs("button",{type:"button",onClick:()=>re(t.checkoutPlanKey),className:`rounded-full border px-4 py-2 text-sm font-semibold transition ${(s==null?void 0:s.checkoutPlanKey)===t.checkoutPlanKey?"border-[#0B3A6E] bg-[#0B3A6E] text-white shadow-sm":"border-slate-200 bg-white text-slate-700 hover:border-[#0B3A6E]"}`,children:[r," · $",(Number(t.amountCents||0)/100).toFixed(2)]},t.checkoutPlanKey)})})]}),e.jsxs("div",{className:"mt-6",children:[e.jsx("ul",{className:"grid gap-2 text-sm text-slate-700 sm:grid-cols-2",children:Ce.map(t=>e.jsxs("li",{className:"flex min-h-[48px] items-start gap-2 rounded-xl border border-slate-200 bg-slate-50 px-3 py-2.5",children:[e.jsx("span",{className:"mt-0.5 inline-flex h-5 w-5 items-center justify-center rounded-full bg-[#0B3A6E]/10 text-[11px] font-bold text-[#0B3A6E]",children:"+"}),e.jsx("span",{children:t})]},t))}),e.jsx("div",{className:"mt-3 rounded-lg bg-slate-50 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-slate-600",children:a?Me(a,Z):n("payment.planDetailsLoading")})]})]}),e.jsxs("section",{className:"rounded-2xl border border-slate-200 bg-white p-6 shadow-sm",children:[e.jsx("h3",{className:"text-lg font-bold text-slate-900",children:n("payment.paymentMethod")}),e.jsx("div",{className:"mt-4",children:e.jsxs("label",{className:"flex cursor-pointer items-center justify-between gap-3 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-4 transition hover:border-[#0B3A6E]",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"inline-flex h-11 w-11 items-center justify-center rounded-2xl bg-[#0B3A6E] text-sm font-bold text-white",children:"S"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-slate-900",children:n("payment.stripeCheckout")}),e.jsx("p",{className:"text-xs text-slate-500",children:n("payment.stripeBody")})]})]}),e.jsx(se,{checked:!0})]})}),!b&&e.jsx("div",{className:"mt-5 rounded-2xl border border-slate-200 bg-slate-50 p-4",children:e.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-4",children:[e.jsx("div",{className:"flex items-start justify-between gap-4",children:e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-slate-500",children:n("payment.discounts")}),e.jsx("div",{className:"mt-1 text-lg font-bold text-slate-900",children:n("payment.chooseDiscount")}
1),e.jsx("div",{className:"mt-1 text-sm text-slate-500",children:n("payment.discountBody")})]})}),e.jsxs("div",{className:"mt-4 rounded-[24px] border border-[#DDE7F3] bg-[linear-gradient(135deg,#F8FBFF_0%,#FFFFFF_100%)] px-5 py-3.5",children:[e.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-slate-500",children:n("payment.checkoutTotal")}),e.jsxs("div",{className:"mt-2 flex items-center gap-4 whitespace-nowrap",children:[e.jsx("span",{className:"text-base font-semibold text-slate-400 line-through",children:E(N,(s==null?void 0:s.currency)||"USD")}),e.jsxs("span",{className:"rounded-full bg-emerald-50 px-3 py-1 text-sm font-semibold text-emerald-700",children:["-",E(Math.max(0,N-ue),(s==null?void 0:s.currency)||"USD")]}),e.jsx("span",{className:"text-3xl font-bold tracking-tight text-[#0B3A6E]",children:E(ue,(s==null?void 0:s.currency)||"USD")})]})]}),e.jsxs("div",{className:"mt-4 space-y-3",children:[X&&e.jsx("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white px-4 py-4 text-xs text-slate-500",children:n("payment.loadingDiscounts")}),!X&&ee.map(t=>{const r=te(t,N),l=Math.max(0,N-r),f=y===t.eligibilityId,h=(_==null?void 0:_.eligibilityId)===t.eligibilityId,C=Qe(t.expiresAt,n,m);return e.jsxs("label",{className:`relative overflow-hidden flex cursor-pointer items-center justify-between gap-4 rounded-2xl border px-4 py-4 transition ${f?"border-[#0B3A6E] bg-[#F7FAFF] shadow-[0_10px_28px_rgba(11,58,110,0.08)]":h?"border-[#E8D9B8] bg-[linear-gradient(180deg,#FFFDF8_0%,#FFF7E8_100%)] shadow-[0_14px_34px_rgba(180,126,34,0.10)] hover:border-[#D7BC84]":"border-slate-200 bg-white hover:border-slate-300"}`,children:[h?e.jsx("div",{className:"absolute inset-x-0 top-0 h-1 bg-[linear-gradient(90deg,#C9852F_0%,#E2BE74_50%,#2FA96E_100%)]"}):null,e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("div",{className:"text-sm font-semibold text-slate-900",children:t.displayName||t.description||n("payment.discountOffer")}),h&&e.jsx("span",{className:"rounded-full bg-[linear-gradient(90deg,#FFF3D6_0%,#E7F8EF_100%)] px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-[#8E651E]",children:n("payment.bestValue")}),t.firstOrderOnly&&e.jsx("span",{className:"rounded-full bg-slate-100 px-2.5 py-0.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-slate-600",children:n("payment.firstOrder")})]}),e.jsxs("div",{className:"mt-2 flex flex-wrap items-center gap-3 text-xs text-slate-500",children:[e.jsx("span",{className:`font-semibold ${h?"text-[#A26D1F]":"text-slate-600"}`,children:Ye(t,n)}),e.jsx("span",{className:h?"font-semibold text-emerald-700":"",children:n("payment.save",{amount:E(r,(s==null?void 0:s.currency)||t.currency||"USD")})}),C?e.jsx("span",{children:C}):null]})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:`text-[11px] font-semibold uppercase tracking-[0.14em] ${h?"text-[#A26D1F]":"text-slate-400"}`,children:n("payment.pay")}),e.jsx("div",{className:`mt-1 font-bold ${h?"text-2xl text-[#0B3A6E]":"text-lg text-slate-900"}`,children:E(l,(s==null?void 0:s.currency)||t.currency||"USD")})]}),e.jsx("input",{type:"radio",checked:f,onChange:()=>{q(!0),F(t.eligibilityId)},className:"sr-only"}),e.jsx(se,{checked:f})]})]},t.eligibilityId)}),!X&&ee.length===0&&e.jsx("div",{className:"rounded-2xl border border-dashed border-slate-200 bg-white px-4 py-4 text-xs text-slate-500",children:n("payment.noDiscounts")}),e.jsxs("label",{className:`flex cursor-pointer items-center justify-between gap-4 rounded-2xl border px-4 py-4 transition ${y===""?"border-[#0B3A6E] bg-[#F7FAFF] shadow-[0_8px_24px_rgba(11,58,110,0.08)]":"border-slate-200 bg-white hover:border-slate-300"}`,children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-semibold text-slate-900",children:n("payment.noDiscount")}),e.jsx("div",{className:"mt-1 text-xs text-slate-500",children:n("payment.standardPrice")})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-slate-400",children:n("payment.pay")}),e.jsx("div",{className:"mt-1 text-sm font-semibold text-slate-900",children:E(N,(s==null?void 0:s.currency)||"USD")})]}
1),e.jsx("input",{type:"radio",checked:y==="",onChange:()=>{q(!0),F("")},className:"sr-only"}),e.jsx(se,{checked:y===""})]})]})]})]})}),e.jsx("button",{type:"button","data-analytics-id":"billing_confirm_checkout",onClick:ke,disabled:!H||b||J||!s||M||!z,className:`mt-6 inline-flex w-full items-center justify-center rounded-xl px-4 py-3 text-sm font-semibold shadow-sm transition ${!H||b||M||!z?"cursor-not-allowed bg-slate-200 text-slate-500":"bg-[#0B3A6E] text-white hover:-translate-y-0.5 hover:shadow-md"}`,children:n(H?z?M?"payment.buttonChooseHigherPlan":b?"payment.buttonNoPaymentRequired":J?"payment.buttonRedirecting":me&&!W?"payment.buttonUpgradePlan":"payment.buttonConfirmPay":"payment.buttonNoHigherPlan":"payment.buttonLoadingPlan")}),e.jsx("div",{className:"mt-4 text-center text-xs",children:e.jsx(Pe,{to:"/billing",className:"text-[#0B3A6E] hover:underline",children:n("payment.backToBilling")})})]})]})]})})};export{ot as default};

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.