PageSourceSearch

https://www.octoparse.fr/_next/static/chunks/pages/console/order-2ec2120de4e61be2.js

js octoparse.fr collected 2026-10-04 07:06:09 UTC 6,708 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5768],{72106:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/console/order",function(){return t(62022)}])},62022:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return D}});var a=t(11527),r=t(64141),i=t(5993),n=t(76935),o=t(31263),c=t(54540),l=t(73294),d=t(79358),u=t(97574),m=t(20276),y=t(21601),v=t(25654),p=t(15481),h=t.n(p),x=t(69864),N=t(50959),j=t(9284),_=t(37244),S=t.n(_);let g=e=>{let{showBalance:s}=e,{t}=(0,v.$G)(),r=(0,x.useRouter)(),{orderId:i}=r.query,{data:n}=(0,c.mR)(i);return(0,a.jsxs)("div",{className:"plan_card",children:[(0,a.jsxs)("div",{className:"title",children:[t("console:Order.OrderPayment"),":"]}),(0,a.jsxs)("div",{className:"transaction_id",children:[(0,a.jsxs)("span",{className:"tips",children:[t("console:Order.TransactionID"),":"]}),(0,a.jsx)("span",{children:null==n?void 0:n.orderNo})]}),(0,a.jsxs)("div",{className:"summary",children:[(0,a.jsxs)("span",{className:"tips",children:[t("console:Order.Summary"),":"]}),(0,a.jsx)("span",{children:s()?t("console:Buy.AddOnCredit"):(null==n?void 0:n.memo)?t(l.an[n.memo]):""})]})]})},P=e=>{var s;let{payType:t,toPay:i,setPaymentLoading:n,paymentLoading:l,usePaymentData:y}=e,{t:p}=(0,v.$G)(),_=(0,x.useRouter)(),{orderId:S}=_.query,{data:g}=(0,c.mR)(S),{data:P,error:T}=(0,o.LR)(),{data:D}=(0,o.sU)(null==P?void 0:null===(s=P[0])||void 0===s?void 0:s.code),b=()=>((null==g?void 0:g.orderType)===m.RX.Buy||(null==g?void 0:g.orderType)===m.RX.Subscribe)&&g.category===u.WD.Balance,f=()=>g&&g.memo?({"std-mo":2,"std-mo-activity":2,"std-qt":6,"std-qt-activity":6,"std-yr":24,"std-yr-activity":48,"std-mo-3":2,"std-mo-3-activity":2,"std-qt-3":6,"std-qt-3-activity":6,"std-yr-3":24,"std-yr-3-activity":48,"pro-yr-activity":192,"pro-yr":96,"pro-qt":24,"pro-qt-activity":24,"pro-mo":8,"pro-mo-activity":8})[B?"".concat(g.memo,"-activity"):g.memo]:"",B=(0,N.useMemo)(()=>{if(D&&(D.currentActivityStatus===d.yc.First||D.currentActivityStatus===d.yc.NotFirst||D.currentActivityStatus===d.yc.Encore))return!0},[D]);return(0,a.jsxs)("div",{className:"credit",children:[(0,a.jsx)(j.u,{id:"tooltip",place:"top"}),(0,a.jsxs)("div",{className:"to_pay",children:[(0,a.jsxs)("div",{className:"head",children:[(0,a.jsx)("div",{className:"line"}),(0,a.jsx)("div",{className:"title",children:p("console:Buy.OrderSummary")})]}),(0,a.jsx)("div",{className:"detail_message",children:(0,a.jsxs)("div",{className:"bottom ".concat(b()?"bottom_balance":""),children:[(0,a.jsxs)("div",{className:"item subtotal",children:[(0,a.jsx)("div",{className:"name",children:p("console:Buy.SUBTOTAL")}),(0,a.jsxs)("div",{className:"number",children:["$",null==g?void 0:g.unpaid]})]}),!b()&&(0,a.jsxs)("div",{className:"item discount",children:[(0,a.jsx)("div",{className:"name",children:p("console:Buy.Discount")}),(0,a.jsxs)("div",{className:"number",children:["-$",null==g?void 0:g.couponDiscount]})]})]})}),(0,a.jsxs)("div",{className:"total",children:[(0,a.jsx)("div",{className:"title",children:p("console:Buy.TOTAL")}),(0,a.jsxs)("div",{className:"price",children:["$",null==g?void 0:g.realPay]})]}),!b()&&(null==g?void 0:g.memo)!=="bsc-mo"&&(0,a.jsxs)("div",{className:"integral",children:[(0,a.jsx)("div",{className:"left",children:p("console:Buy.Earn")}),(0,a.jsx)("div",{className:"right","data-tooltip-id":"tooltip","data-tooltip-content":p("console:Buy.PriceTip",{price:f()}),children:(0,a.jsxs)("div",{className:"price",children:["$",f()]})})]}),(0,a.jsx)(r.Z,{pageType:"order",payType:t,subscribe:i,paymentLoading:l,setPaymentLoading:n,showBalance:b,usePaymentData:y})]}),!b()&&(0,a.jsxs)("div",{className:"tip",children:[(0,a.jsxs)("div",{className:"top",children:[(0,a.jsx)(h(),{src:"/static/shield.svg",alt:"",width:32,height:32}),(0,a.jsx)("div",{children:p("console:Buy.Guarantee")})]}),(0,a.jsx)("div",{className:"bottom",children:p("console:Buy.GuaranteeDescription")})]})]})},T=()=>{let{t:e}=(0,v.$G)(),[s,t]=(0,N.useState)(u.Lt.CreditCard),[r,n]=(0,N.useState)(""),[l,d]=(0,N.useState)(""),[p,h]=(0,N.useState)(""),[j,_]=(0,N.useState)(0),[T,D]=(0,N.useState)(),[b,f]=(0,N.useState)(),[B,C]=(0,N.useState)(),[w,q]=(0,N.useState)(),[E,O]=(0,N.useState)(),[R,A]=(0,N.useState)(),[L,G]=(0,N.useState)(),[I,X]=(0,N.useState)(""),[$,k]=(0,N.useState)(!1),[M,U]=(0,N.useState)(""),[W,F]=(0,N.useState)(!1),[K,Z]=(0,N.useState)(""),[H,Y]=(0,N.useState)(!1),z=()=>
1({creditMsg:T,paypalMsg:b,applePaymentsInstance:B,googleInstance:w,googlePaymentsClient:E,localPayInstance:R,threeDSecureMsg:L,deviceData:I,threeDSecureAmount:null==es?void 0:es.realPay,unique:l,city:M,country:K,setCityError:F,setCountryError:Y}),{data:J,error:Q}=(0,o.mA)(),V=(0,x.useRouter)(),{orderId:ee}=V.query,{data:es}=(0,c.mR)(ee),et=()=>((null==es?void 0:es.orderType)===m.RX.Buy||(null==es?void 0:es.orderType)===m.RX.Subscribe)&&es.category===u.WD.Balance,ea=async(s,t)=>{if(J&&es){let a=await (0,c._r)({OrderId:null==es?void 0:es.id,PaymentToken:s?void 0:l,paymentNonce:s,deviceData:(null==t?void 0:t.deviceData)||I,threeDSecureMeta:null==t?void 0:t.threeDSecureMeta});if(a&&a.error){V.push({pathname:"/console/pay-result",query:{isSuccess:!1,orderId:ee,code:a.error.code,message:a.error.message}});return}V.push({pathname:"/console/pay-result",query:{isSuccess:!0,transactionID:a.orderNo,amount:a.amount,key:null==a?void 0:a.memo,description:e("console:Buy.AddOnCredit")}})}else y.y.error((null==Q?void 0:Q.message)||"")};return(!es||es.orderStatus!==m.DR.WaitingPay)&&es&&es.orderStatus&&V.push("/console/payment-plan/orders-invoices"),(0,a.jsx)("div",{className:S().wrapper,children:(0,a.jsx)("div",{className:S().container,children:(0,a.jsxs)("div",{className:S().page_content,children:[(0,a.jsxs)("div",{className:S().left,children:[(0,a.jsx)(g,{showBalance:et}),(0,a.jsx)(i.Z,{pageType:"order",payType:s,setPayType:t,activeKey:p,threeDSecureAmount:null==es?void 0:es.realPay,setCreditMsg:D,setPaypalMsg:f,setApplePaymentsInstance:C,setGoogleInstance:q,setGooglePaymentsClient:O,setLocalPayInstance:A,setThreeDSecureMsg:G,setDeviceData:X,setUnique:d,city:M,country:K,setCity:U,setCountry:Z,cityError:W,countryError:H,setCityError:F,setCountryError:Y})]}),(0,a.jsx)("div",{className:S().right,children:(0,a.jsx)(P,{activeCardKey:p,payType:s,total:j,toPay:ea,paymentLoading:$,setPaymentLoading:k,usePaymentData:z})})]})})})};T.getLayout=e=>(0,n.G)(e,!1);var D=!0;s.default=T},37244:function(e){e.exports={wrapper:"order_wrapper__p6e9i",container:"order_container__P4XbL",page_content:"order_page_content__HC3ll",left:"order_left__YPEhI",right:"order_right__u1icd"}}},function(e){e.O(0,[6841,8872,5989,8827,6919,835,6935,3049,9774,2888,179],function(){return e(e.s=72106)}),_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.