PageSourceSearch

https://webresource.airchina.com.cn/_next/static/chunks/pages/orde…/[...id]-9f7705631eb3ecb7.js

js airchina.com.cn collected 2026-10-02 02:40:42 UTC 27,958 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9892],{35317:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/order/refund/electronic-upgrade/[...id]",function(){return n(21582)}])},57913:function(e,r,n){"use strict";var t=n(85893),i=n(79840),o=n(68621),d=n(23643),l=n.n(d);r.Z=function(e){var r=e.progressData,n=e.style,d=void 0===n?{}:n,a=e.isRefundDetail,s=void 0!==a&&a,u=(0,o.$G)("refund-progress").t;return(0,t.jsxs)("div",{className:l()["refund-progress-container"],style:d,children:[s?null:(0,t.jsx)("div",{className:l()["progress-header"],children:u("refund-progress")}),(0,t.jsx)("div",{className:l()["progress-container"],children:Array.isArray(r)&&r.map((function(e,r){return(0,t.jsxs)("div",{className:"".concat(l()["progress-item"]," ").concat(l()[(null===e||void 0===e?void 0:e.color)||""]),children:[(0,t.jsx)("div",{className:l()["progress-icon-box"],style:s?{padding:"unset"}:{},children:(0,t.jsx)("div",{className:"".concat(l()["progress-icon"]," ").concat(s?l()["progress-icon-refund-detail"]:null)})}),(0,t.jsxs)("div",{className:l()["progress-content"],children:[(0,t.jsx)("div",{className:"".concat(l()["progress-line"]," ").concat(s?l()["progress-line-refund-detail"]:null)}),(0,t.jsxs)("div",{className:l()["progress-desc"],children:[(0,t.jsx)("div",{className:l()["progress-title"],children:u("submit-application"===(null===e||void 0===e?void 0:e.title)&&s?"submit-application1":null===e||void 0===e?void 0:e.title)}),(0,t.jsx)("div",{className:l()["progress-time"],children:(null===e||void 0===e?void 0:e.time)&&(0,i.fh)(null===e||void 0===e?void 0:e.time,"YYYY/MM/DD HH:mm:ss")})]}),(0,t.jsx)("div",{className:l().content,children:null===e||void 0===e?void 0:e.content})]})]},"refund-progress-".concat(r))}))})]})}},21582:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return le},default:function(){return ae}});var t=n(34051),i=n.n(t),o=n(85893),d=n(67294),l=n(68621),a=n(92227),s=n(1438),u=n(21952),c=n(4506),p=n(79252),_=n(77328),f=n(36028),v=n(75183),m=n(33043),g=n(94184),x=n.n(g),h=n(59798),b=n(6163),D=n(61102),N=n(36490),C=(0,d.createContext)({}),I=function(e){var r=e.children,n=e.value;return(0,o.jsx)(C.Provider,{value:n,children:r})},j=function(){return(0,d.useContext)(C)},y=n(15757),R=n.n(y),E=n(29012),w=n(11163);function O(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var T=function(e){var r,n,t,i,a,s,c,p,_=e.textBtnsMap,f=(0,l.$G)("electronic-upgrade").t,v=(0,l.$G)("query-services").t,m=(0,w.useRouter)().query,g=j(),C=g.status,I=g.upgradeInfo,y=g.airline,T=g.paxInfo,P=(0,d.useMemo)((function(){var e,r,n,t,i,o,d,l,a,s;if(I){var c=null===T||void 0===T?void 0:T.IdentityDoc[0],p=c.Surname,_=c.IdentityDocTypeCode,m=c.IdentityDocID,g=v(u.IndicatorTypeDesc[_]),x=b.wm.desensitizedIdentity(m,_),h=I.UpgradeInfo,D=I.FlightTicketNumber,N=I.EMDTicketNumber,C=null===h||void 0===h||null===(e=h.New)||void 0===e||null===(r=e.CabinType)||void 0===r?void 0:r.CabinTypeCode,j=null===h||void 0===h||null===(n=h.New)||void 0===n||null===(t=n.RBD)||void 0===t?void 0:t.RBD_Code,y=f(null===(i=u.CABIN_TYPES_MAP[C])||void 0===i?void 0:i.key),R=null===h||void 0===h||null===(o=h.Old)||void 0===o||null===(d=o.CabinType)||void 0===d?void 0:d.CabinTypeCode,E=null===h||void 0===h||null===(l=h.Old)||void 0===l||null===(a=l.RBD)||void 0===a?void 0:a.RBD_Code,w=f(null===(s=u.CABIN_TYPES_MAP[R])||void 0===s?void 0:s.key);return{Surname:p,id:"".concat(null!==g&&void 0!==g?g:"--","/").concat(null!==x&&void 0!==x?x:"--"),FlightTicketNumber:D,EMDTicketNumber:N,newCabinDesc:y,newRBD:j,oldCabinDesc:w,oldRBD:E}}}),[I,T,f,v]);return I?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(N.Z,{childrenClassName:R().children,style:{marginBottom:32},title:(0,o.jsx)("div",{className:R().areaTitle,children:f("productInfo")}),children:[(0,o.jsx)(D.Z,{airline:y,wrapperCls:R().wrapperCls,dateCls:R().dateCls,airlineCls:R().airlineCls}),(0,o.jsxs)("div",{className:x()(R().couponWrapper,O({},R().garyWrapper,!["PENDING_TICKET","UPGRADED"].includes(null===C||void 0===C||null===(r=C.Product)||void 0===r?void 0:r.productC
1ode))),children:[(0,o.jsxs)("div",{className:R().left,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:R().name,children:null===P||void 0===P?void 0:P.Surname}),(0,o.jsxs)("span",{className:R().idcard,children:["\uff08",null===P||void 0===P?void 0:P.id,"\uff09"]})]}),(0,o.jsxs)("div",{className:R().info,children:[(0,o.jsxs)("div",{className:R().upgradeInfo,children:[f("after",{RBDDesc:null===P||void 0===P?void 0:P.newCabinDesc,CabinType:null===P||void 0===P?void 0:P.newRBD}),(0,o.jsxs)("span",{className:R().beforeCabin,children:["\uff08",f("before",{RBDDesc:null===P||void 0===P?void 0:P.oldCabinDesc,CabinType:null===P||void 0===P?void 0:P.oldRBD}),"\uff09"]})]}),(0,o.jsx)(h.Z,{cusClassname:R().cusClassname,bubbleStyle:{boxShadow:"0px 4px 20px 0px rgba(0, 0, 0, 0.12)"},content:(0,o.jsxs)("div",{className:R().contentPopover,children:[f("productID"),null===P||void 0===P?void 0:P.EMDTicketNumber]}),children:(0,o.jsx)("div",{className:R().rules,children:f("productID1")})})]})]}),(0,o.jsxs)("div",{className:R().right,children:[(0,o.jsxs)("div",{className:R().pay,children:[(0,o.jsx)("span",{className:R().payDesc,children:f("afterCoupon")}),"\xa50"]}),(0,o.jsxs)("div",{className:R().statusWrapper,children:[(0,o.jsx)("div",{className:x()(R().status,(p={},O(p,R().redStatus,"red"===(null===C||void 0===C||null===(n=C.Product)||void 0===n?void 0:n.textColor)),O(p,R().greenStatus,"green"===(null===C||void 0===C||null===(t=C.Product)||void 0===t?void 0:t.textColor)),O(p,R().grayStatus,"gray"===(null===C||void 0===C||null===(i=C.Product)||void 0===i?void 0:i.textColor)),p)),children:null===C||void 0===C||null===(a=C.Product)||void 0===a?void 0:a.title}),(null===C||void 0===C||null===(s=C.Product)||void 0===s?void 0:s.textBtn)&&(0,o.jsxs)("div",{className:R().viewDetail,clstag:(0,E.dR)("view_detail_upgrade"),onClick:function(){(0,E.F6)("view_detail_upgrade",{product_id:"ElectronicUpgrade",product_name:"\u5347\u8231\u5238\u5347\u8231",order_number:null===m||void 0===m?void 0:m.id,order_tag:null})},children:[_[null===C||void 0===C||null===(c=C.Product)||void 0===c?void 0:c.textBtn],(0,o.jsx)("i",{className:R().viewArrow})]})]})]})]})]})}):null},P=(0,d.memo)(T),S=n(57913),A=n(37218),U=function(e,r){var n=[];return n.push({title:"submit-application",time:e.refundApplication||r[0].CreationDateTime,color:"blue"}),n.push({title:"refunding",time:"",color:"grey"}),n.push({title:"refund-success",time:"",color:"grey"}),n},F=function(e,r,n){return e.push({title:"refunding",time:r.refundRepayApplication||n[n.length-1].CreationDateTime,color:"blue"}),e.push({title:"refund-success",time:"",color:"grey"}),e},W=function(e,r,n){var t=n[n.length-1],i=t.Stage,o=t.StageStatusCode,d=t.ReviewerInfo;return"refundManualReview"===i&&"Rejected"===o?(e.push({title:"refunding",time:r.refundRepayApplication||n[n.length-1].CreationDateTime,color:""}),e.push({title:"refund-fail",time:n[n.length-1].CreationDateTime,color:"red",subText:"fail-reason",content:!0,value:null===d||void 0===d?void 0:d.Remark}),e):F(e,r,n)},B=n(73120),k=n.n(B);function L(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}var M=function(e){var r=e.visible,n=e.onClose,t=(0,l.$G)("electronic-upgrade").t,i=j(),a=i.refundData,s=i.airline,c=(0,w.useRouter)().locale,_=(0,d.useState)({}),f=_[0],v=_[1],m="".concat(u.AIRPORT_DATA,"-").concat(c);(0,d.useEffect)((function(){var e,r=(null===(e=(0,A.$o)(m))||void 0===e?void 0:e.airports)||{};v(r)}),[]);var g=(0,d.useMemo)((function(){var e,r,n,i,d;if(a){var l=a[0],u=l.StatusCode,c=l.RefundTracingList,p=l.RefundApplicationID,_=null===c||void 0===c?void 0:c.RefundTracing,v=function(e){var r=e.StatusCode,n=e.TracingList;if(!Array.isArray(n))return null;var t=n.reduce((function(e,r){var n=r.Stage,t=r.CreationDateTime;return e[n]=t,e}),{}),i=[];switch(i.push({title:"submit-application",time:t.refundApplication||n[0].CreationDateTime}),r){case"refundApplication":case"productRefundApplication":case"refundAbnormal":case"refundFormAbnormalAudit":return U(t,n);case"refundRepayApplication":case"refundRepayReview":case"repayReviewRefusedFirstAudit":case"repayReviewRefusedSecondAudit":case"waitRefundRepay":return F(i,t,n);case"refundReviewRefuse":case"refundManualReview":return W(i,t,n);case"refundRepay":case"afterRefundRepayReview":case"freeProductRefund":case"refundRepayReviewAppoved":case"refundRepayReviewRefused":return i.push({title:"refunding",time:t.refundRepayApplication}),i.push({title:"refund-success",time:t.refundRepay||n[n.length-1].CreationDateTime,color:"green"}),i;default:return U(t,n)}}({StatusCode:u,TracingList:_});v=null===v||void 0===v?void 0:v.map((function(e){return e.content?function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){L(e,r,n[r])}))}return e}({},e,{content:(0,o.jsxs)("div",{className:k().contentText,children:[t(null===e||void 0===e?void 0:e.subText),null===e||void 0===e?void 0:e.value]})}):e}));var m=null===(e=_[0])||void 0===e||null===(r=e.ApplicationInfo)||void 0===r||null===(n=r.Operator)||void 0===n?void 0:n.Name,g=null===(i=f[null===s||void 0===s?void 0:s.DepCode])||void 0===i?void 0:i.city,x=null===(d=f[null===s||void 0===s?void 0:s.ArrivalCode])||void 0===d?void 0:d.city;return{progressData:v,RefundApplicationID:p,refundPaxName:m,airlineDesc:"".concat(g," - ").concat(x)}}}),[a,s,f]);return a?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(p.default,{visible:r,onClose:n,mainContentStyle:{width:"632px",padding:"0"},children:[(0,o.jsx)("div",{className:k().dialogTitle,children:t("refundDetail")}),(0,o.jsx)(S.Z,{status:"success",progressData:null===g||void 0===g?void 0:g.progressData,style:{padding:"16px 24px 38px 32px"}}),(0,o.jsxs)("div",{className:k().refundInfo,children:[(0,o.jsx)("div",{className:k().refundTitle,children:t("refundInfo")}
1),(0,o.jsxs)("div",{className:k().refundNoWrapper,children:[(0,o.jsxs)("div",{className:k().refundNumber,children:[t("refundId"),null===g||void 0===g?void 0:g.RefundApplicationID]}),(0,o.jsxs)("div",{className:k().refundPrice,children:[t("refundPrice1"),(0,o.jsx)("span",{className:k().priceNumber,children:"\xa50"})]})]}),(0,o.jsxs)("div",{className:k().couponInfo,children:[(0,o.jsx)("div",{className:k().couponName,children:null===g||void 0===g?void 0:g.airlineDesc}),(0,o.jsxs)("div",{className:k().refundPax,children:[t("refunder"),(0,o.jsx)("span",{className:k().refundPaxName,children:null===g||void 0===g?void 0:g.refundPaxName})]})]})]})]})}):null},G=(0,d.memo)(M),H=n(43595),K=n(20694),Z=n(79840),q=n(69365),V=n.n(q);var Y=function(e){var r=e.label,n=e.value,t=e.cls;return(0,o.jsx)("div",{className:V().contentWrapper,children:(0,o.jsxs)("div",{className:"".concat(V().payInfoItem," ").concat(t),children:[(0,o.jsx)("div",{className:V().contentWrapperTitle,children:r}),(0,o.jsx)("div",{className:V().contentWrapperNum,children:n})]})})},X=function(){var e,r,n,t=(0,l.$G)("electronic-upgrade").t,i=j(),a=i.upgradeInfo,s=i.paxInfo,u=i.refundData,c=(0,d.useState)(!1),p=c[0],_=c[1],f=(0,d.useMemo)((function(){var e,r;if(a){var n=a.CreationDateTime,i=n?(0,Z.fh)(n,"MM-DD HH:mm"):"",o=null===s||void 0===s||null===(e=s.Individual)||void 0===e?void 0:e.Surname,d=t("coupon_upgrage")+(o?"(".concat(o,")"):""),l=null===u||void 0===u||null===(r=u[0])||void 0===r?void 0:r.CreationDateTime;return{orderTime:i,Surname:o,labelDesc:d,refundTimeDesc:l?(0,Z.fh)(l,"MM-DD HH:mm"):""}}}),[t,a,s,u]);return a?(0,o.jsxs)("div",{className:V().wrapper,children:[(0,o.jsx)("div",{className:V().title,children:t("orderPayInfo")}),(0,o.jsx)("div",{className:V().content,children:(0,o.jsxs)(K.Z,{children:[(0,o.jsx)(K.Z.Item,{className:V().timeLineItem,hiddenNode:!0,title:(0,o.jsx)(H.Z,{left:"\xa50",right:t("payPrice"),excess:null===f||void 0===f?void 0:f.orderTime}),content:(0,o.jsx)(Y,{label:null===f||void 0===f?void 0:f.labelDesc,value:"\xa50"})}),!!u&&(0,o.jsx)(K.Z.Item,{className:V().timeLineItem,hiddenNode:!0,title:(0,o.jsx)(H.Z,{right:t("RefundPrice"),excess:null===f||void 0===f?void 0:f.refundTimeDesc}),content:(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:V().contentWrapper,children:[(0,o.jsx)("div",{className:V().contentWrapperTitle,children:t("RefundPrice1")}),(0,o.jsxs)("div",{className:"".concat(V().contentWrapperNum," ").concat(V().redContent),onClick:function(){_(!p)},children:[(0,o.jsx)("span",{children:"\xa50"}),(0,o.jsx)("i",{className:x()(V().arrowClose,(e={},r=V().arrowOpen,n=p,r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e))})]})]}),p&&(0,o.jsx)(Y,{label:null===f||void 0===f?void 0:f.labelDesc,value:"\xa50",cls:V().couponName})]})})]})})]}):null},$=(0,d.memo)(X),z=n(2718),J=n.n(z);function Q(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function ee(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){Q(e,r,n[r])}))}return e}var re=function(e){var r,n,t,i,g,x,h,b,D=(0,l.$G)("electronic-upgrade").t,N=(0,l.$G)("air-rail-combined-transport-refund").t,C=(0,l.$G)("product-display-status-code-type").t,j=(0,c.xv)().dispatch,y=(0,d.useState)(!1),R=y[0],E=y[1],w=(0,d.useState)({}),O=w[0],T=w[1],S=(0,d.useState)({}),A=S[0],U=S[1],F=(0,d.useState)({}),W=F[0],B=F[1],k=(0,d.useState)(),L=k[0],M=k[1],H=(0,d.useState)(),K=H[0],Z=H[1],q=(0,d.useState)(),V=q[0],Y=q[1],X=(0,d.useState)(!1),z=X[0],Q=X[1],re=(0,d.useState)(),ne=re[0],te=re[1],ie=(0,a.n)().UnloginDetailHeader;(0,d.useEffect)((function(){e&&Object.keys(e).length>0&&pe(e)}),[e]);var oe,de={PENDING_TICKET:{PENDING_TICKET:{Order:{title:C("PendingConfirm"),content:C("upgrading"),status:"animationGreen",titleStyle:{color:"#333333"}}
1,Product:{title:C("waitToConfirm"),productCode:"PENDING_TICKET"}}},COMPLETED:{UPGRADED:{Order:{title:C("Upgraded"),content:C("Order_upgrade_successful"),status:"blue",btns:["REFUND"]},Product:{title:C("upgradeSuccessful"),productCode:"UPGRADED",textColor:"green"}},SUPER_REFUND_REVIEW:{Order:{title:C("UnsubscribeSubmitted_ItemRefund"),content:C("UnsubscribeSubmitted_ItemRefund"),status:"blue",textBtns:["VIEW_DETAIL"]},Product:{title:C("refunding"),productCode:"SUPER_REFUND_REVIEW",textBtn:"REFUND_DETAIL"}}},UPGRADE_FAILED:{TICKET_FAILED:{Order:{title:C("PendingConfirm"),content:C("upgrading"),status:"animationGreen",titleStyle:{color:"#333333"}},Product:{title:C("waitToConfirm"),productCode:"TICKET_FAILED"}},TICKET_ENSURE_FAILED_SYS:{Order:{title:C("UpgradeFailed"),content:C("upgradeFail"),status:"gray"},Product:{title:C("UpgradeFailed"),productCode:"TICKET_ENSURE_FAILED_SYS",textColor:"red"}},UPGRADE_FAILED:{Order:{title:C("UpgradeFailed"),content:C("upgradeFail"),status:"gray"},Product:{title:C("UpgradeFailed"),productCode:"UPGRADE_FAILED",textColor:"red"}},TICKETED:{Order:{title:C("UpgradeFailed"),content:C("upgradeFail"),status:"gray"},Product:{title:C("UpgradeFailed"),productCode:"TICKETED",textColor:"red"}}},REFUNDED:{REFUND_ABNORMAL:{Order:{title:C("UnsubscribeSubmitted_ItemRefund"),content:C("UnsubscribeSubmitted_ItemRefund"),status:"blue",textBtns:["VIEW_DETAIL"]},Product:{title:C("refunding"),productCode:"REFUND_ABNORMAL",textBtn:"REFUND_DETAIL"}},REFUND_FORM_ABNORMAL_AUDIT:{Order:{title:C("UnsubscribeSubmitted_ItemRefund"),content:C("UnsubscribeSubmitted_ItemRefund"),status:"blue",textBtns:["VIEW_DETAIL"]},Product:{title:C("refunding"),productCode:"REFUND_FORM_ABNORMAL_AUDIT",textBtn:"REFUND_DETAIL"}},FREE_PRODUCT_REFUND:{Order:{title:C("UnsubscribeSubmitted_ItemRefund"),content:C("UnsubscribeSubmitted_ItemRefund"),status:"blue",textBtns:["VIEW_DETAIL"]},Product:{title:C("refundSuccessful"),productCode:"FREE_PRODUCT_REFUND",textBtn:"REFUND_DETAIL"}},REFUNDED:{Order:{title:C("UnsubscribeCompleted"),content:C("orderRefundSuccessful"),status:"blue",textBtns:["VIEW_DETAIL"]},Product:{title:C("refundSuccessful"),productCode:"REFUNDED",textBtn:"REFUND_DETAIL"}}}},le=function(e){var r=e.title,n=e.content,t=e.showInfoIcon,i=void 0===t||t,d=e.onConfirm,l=void 0===d?function(){}:d;return p.default.popUp({title:r,content:(0,o.jsx)("div",{style:{textAlign:"center"},children:n}),showInfoIcon:i,showCloseIcon:!1,btnContent:D("IKown"),onConfirm:l})},ae=function(r){var n=r.OfferID,t=r.OwnerCode;j({type:"show"}),(0,s.sl)({OrderId:null===e||void 0===e?void 0:e.OrderID,OrderItemId:K.OrderItemID,Contact:O,refundOfferID:n,OwnerCode:t}).then((function(e){j({type:"none"}),le({title:N("SuccessPrompt"),content:N("UnsubscribedSuccessfully"),showInfoIcon:!1,onConfirm:function(){window.location.reload()}}),pe(e)})).catch((function(e){j({type:"none"}),401!==(null===e||void 0===e?void 0:e.status)?le({title:D("fail_note"),content:D("refundFail"),onConfirm:function(){window.location.reload()}}):E(!0)}))},se={VIEW_DETAIL:(0,o.jsx)("div",{onClick:function(){Q(!0)},children:D("viewDetail")})},ue={REFUND:(0,o.jsx)("div",{className:J().applyRefund,onClick:function(){j({type:"show"}),(0,s.TO)({OrderId:null===e||void 0===e?void 0:e.OrderID,OrderItemId:K.OrderItemID}).then((function(e){j({type:"none"}),(null===e||void 0===e?void 0:e.OfferID)?function(e){var r=e.title,n=e.content,t=e.confirmCb;p.default.popUp({title:r,content:(0,o.jsx)("div",{style:{textAlign:"center"},children:n}),showInfoIcon:!0,buttonGroups:function(e){return(0,o.jsxs)("div",{className:J().footer,children:[(0,o.jsx)("button",{className:J().close,onClick:function(){return null===e||void 0===e?void 0:e()},children:D("cancel")}),(0,o.jsx)("button",{className:J().ok,onClick:t,children:D("Ok")})]})}})}({title:D("applyRefund"),content:D("refundConfirmTip"),confirmCb:function(){return ae(e)}}):le({title:D("fail_note"),content:D("dontSupportRefund")})})).catch((function(e){j({type:"none"}),401!==(null===e||void 0===e?void 0:e.status)?le({title:D("fail_note"),content:D("dontSupportRefund")}):E(!0)}))},children:D("applyRefund")})},ce={REFUND_DETAIL:(0,o.jsx)("div",{onClick:function(){Q(!0)},children:D("detail")})},pe=function(e){var r=e.ContactInformation,n=void 0===r?{}:r,t=e.OrderInfo,i=void 0===t?{}:t,o=e.OrderItems,d=e.PaxInfo,l=e.airline,a=e.RefundApplication;T(n),U(i),M(d),Z(null===o||void 0===o?void 0:o[0]),function(e,r){var n=null===e||void 0===e?void 0:e.OrderStatusCode,t=null===r||void 0===r?void 0:r.StatusCode,i=null===r||void 0===r?void 0:r.OriginStatusCode,o=n===u.ORDER_STATUS_CODE_TYPE.REFUNDED.code?t:i;if(o)try{var d,l={Order:{title:n}
1,Product:{title:o,productCode:o}},a=(null===(d=de[n])||void 0===d?void 0:d[o])||l,s=a.Order,c=a.Product;B({Order:s,Product:c})}catch(p){}}(i,null===o||void 0===o?void 0:o[0]),Y(null===l||void 0===l?void 0:l[0]),te(a)};return(0,o.jsxs)(I,{value:{status:W,upgradeInfo:K,airline:V,paxInfo:L,refundData:ne,order:A},children:[(0,o.jsxs)("div",{className:J()["main-container"],children:[(0,o.jsx)("div",{className:J().header}),(0,o.jsxs)("div",{className:J().container,children:[(0,o.jsxs)("div",{className:J().titleHead,children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:J().title,children:D("coupon_upgrage")}),(0,o.jsxs)("div",{className:J().orderNum,children:[(0,o.jsxs)("div",{children:[D("OrderID"),"\uff1a"]}),(0,o.jsx)("div",{children:null!==(oe=null===e||void 0===e?void 0:e.OrderID)&&void 0!==oe?oe:"-"}),ie]})]}),(0,o.jsxs)("div",{className:J().btnWrapper,children:[(0,o.jsx)("span",{className:J()["print-icon"]}),(0,o.jsx)("span",{children:D("printOD")})]})]}),(0,o.jsxs)("div",{className:J().wrapper,children:[(0,o.jsxs)("div",{className:J().left,children:[(0,o.jsx)(m.Z,{style:{marginBottom:32,minHeight:"122px"},status:null===W||void 0===W||null===(r=W.Order)||void 0===r?void 0:r.status,title:null===W||void 0===W||null===(n=W.Order)||void 0===n?void 0:n.title,titleStyle:null===W||void 0===W||null===(t=W.Order)||void 0===t?void 0:t.titleStyle,content:(0,o.jsxs)("div",{className:J().contentWrapper,children:[(0,o.jsx)("div",{className:J().statusDesc,children:null===W||void 0===W||null===(i=W.Order)||void 0===i?void 0:i.content}),null===W||void 0===W||null===(g=W.Order)||void 0===g||null===(x=g.textBtns)||void 0===x?void 0:x.map((function(e,r){return(0,o.jsx)("div",{className:J().textBtnItem,children:se[e]},r)}))]}),button:null===W||void 0===W||null===(h=W.Order)||void 0===h||null===(b=h.btns)||void 0===b?void 0:b.map((function(e,r){return(0,o.jsx)("div",{className:J().btnsWrapper,children:ue[e]},r)}))}),(0,o.jsx)(P,{textBtnsMap:ce}),(0,o.jsx)(v.Z,ee({},O)),(0,o.jsx)(f.Z,{OrderID:null===e||void 0===e?void 0:e.OrderID})]}),(0,o.jsx)("div",{className:J().right,children:(0,o.jsx)($,{})})]})]})]}),(0,o.jsx)(G,{visible:z,onClose:function(){Q(!1)}}),(0,o.jsx)(_.Z,{visible:R,setVisible:E})]})},ne=(0,d.memo)(re),te=n(18314);function ie(e,r,n,t,i,o,d){try{var l=e[o](d),a=l.value}catch(s){return void n(s)}l.done?r(a):Promise.resolve(a).then(t,i)}function oe(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function de(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){oe(e,r,n[r])}))}return e}var le=!0,ae=function(e){var r=e.query,n=(0,d.useState)(null),t=n[0],l=n[1],a=(0,c.xv)().dispatch,u=(0,te.tC)(),p=function(){var e,n=(e=i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a({type:"show"}),e.next=3,(0,s.Xq)({OrderID:r.id[0],ownerCode:"CA"}).catch((function(e){var r;return u((null===e||void 0===e?void 0:e.message)&&(null===(r=null===e||void 0===e?void 0:e.message[0])||void 0===r?void 0:r.ErrorID)),{isError:!0}}));case 3:n=e.sent,l(de({},n,{OrderID:r.id[0]})),a({type:"none"});case 6:case"end":return e.stop()}}),e)})),function(){var r=this,n=arguments;return new Promise((function(t,i){var o=e.apply(r,n);function d(e){ie(o,t,i,d,l,"next",e)}function l(e){ie(o,t,i,d,l,"throw",e)}d(void 0)}))});return function(){return n.apply(this,arguments)}}();return(0,d.useEffect)((function(){p()}),[]),(0,o.jsx)("div",{children:(0,o.jsx)(ne,de({},t))})}},23643:function(e){e.exports={"refund-progress-container":"refund-progress_refund-progress-container__xhal7","progress-header":"refund-progress_progress-header__nkfwt","progress-container":"refund-progress_progress-container__PR4JZ","progress-item":"refund-progress_progress-item__Mav_u",content:"refund-progress_content__LgS4g","progress-content":"refund-progress_progress-content__k9P5_","progress-icon-box":"refund-progress_progress-icon-box__sqejb","progress-icon":"refund-progress_progress-icon__t3wQu","progress-desc":"refund-progress_progress-desc__KM8bp","progress-title":"refund-progress_progress-title__Uq1PP","progress-time":"refund-progress_progress-time__1_2wl","progress-subtext":"refund-progress_progress-subtext__yRn5b","progress-line":"refund-progress_progress-line__UHNJa","progress-line-refund-detail":"refund-progress_progress-line-refund-detail__p5r4B",blue:"refund-progress_blue__Nkpy2",green:"refund-progress_green__0rO8m",red:"refund-progress_red__0Wziw","dark-blue":"refund-progress_dark-blue__raoJ7","light-green":"refund-progress_light-green__4exCz","light-red":"refund-progress_light-red__TA3qU",grey:"refund-progress_grey__0HM4U",orange:"refund-progress_orange__YcsbR",default:"refund-progress_default__1eloR","progress-icon-refund-detail":"refund-progress_progress-icon-refund-detail__5_8UY","progress-tips":"refund-progress_progress-tips__kw90d"}},2718:function(e){e.exports={"main-container":"electronic-upgrade-coupon_main-container__OJcCd",header:"electronic-upgrade-coupon_header__3oyX_",container:"electronic-upgrade-coupon_container__iuEli",titleHead:"electronic-upgrade-coupon_t
1itleHead__7w5cx",title:"electronic-upgrade-coupon_title__ccj3q",orderNum:"electronic-upgrade-coupon_orderNum__9cTKp","print-icon":"electronic-upgrade-coupon_print-icon___cesk",btnWrapper:"electronic-upgrade-coupon_btnWrapper__GPMpp",wrapper:"electronic-upgrade-coupon_wrapper__ZDzac",left:"electronic-upgrade-coupon_left__VFUf5",contentWrapper:"electronic-upgrade-coupon_contentWrapper__zMuse",statusDesc:"electronic-upgrade-coupon_statusDesc__H7rwV",textBtnItem:"electronic-upgrade-coupon_textBtnItem__sjldr",btnsWrapper:"electronic-upgrade-coupon_btnsWrapper__nGa4K",payNow:"electronic-upgrade-coupon_payNow__YJ6a_",cancelOrder:"electronic-upgrade-coupon_cancelOrder__OqHFW",useNow:"electronic-upgrade-coupon_useNow___ofJz",applyRefund:"electronic-upgrade-coupon_applyRefund__nC1xP",insure:"electronic-upgrade-coupon_insure__DbuZ_",right:"electronic-upgrade-coupon_right__VfC8R",footer:"electronic-upgrade-coupon_footer__Z90Fs",close:"electronic-upgrade-coupon_close__LODIA",ok:"electronic-upgrade-coupon_ok__FsKDI",errRefundWrapper:"electronic-upgrade-coupon_errRefundWrapper__ERW7p",errRefundLabel:"electronic-upgrade-coupon_errRefundLabel__Cp9IE"}},69365:function(e){e.exports={wrapper:"order-detail_wrapper__fkFpK",title:"order-detail_title__cT4eX",content:"order-detail_content___IBof",timeLineItem:"order-detail_timeLineItem__2asyg",contentWrapper:"order-detail_contentWrapper__gmSUw",contentWrapperTitle:"order-detail_contentWrapperTitle__z0uCk",contentWrapperNum:"order-detail_contentWrapperNum___y9ue",arrowClose:"order-detail_arrowClose__pOPhd",arrowOpen:"order-detail_arrowOpen__p6D_j",redContent:"order-detail_redContent__jMCGn",payInfoItem:"order-detail_payInfoItem__A8aR8",couponName:"order-detail_couponName__ita1L"}},15757:function(e){e.exports={areaTitle:"product-detail_areaTitle__VEBVv",couponWrapper:"product-detail_couponWrapper__2s9qC",left:"product-detail_left__X1NeB",info:"product-detail_info__5aiEV",upgradeInfo:"product-detail_upgradeInfo__nmWUR",beforeCabin:"product-detail_beforeCabin__A512n",rules:"product-detail_rules__39w7_",cusClassname:"product-detail_cusClassname__RjvHB",contentPopover:"product-detail_contentPopover__LiRBM",name:"product-detail_name__azaE4",idcard:"product-detail_idcard__hRKom",right:"product-detail_right__43HlQ",pay:"product-detail_pay__j4kwl",payDesc:"product-detail_payDesc__kpI0F",statusWrapper:"product-detail_statusWrapper__XdhCP",status:"product-detail_status__fWEEP",redStatus:"product-detail_redStatus__oVBuN",greenStatus:"product-detail_greenStatus__EjKDp",grayStatus:"product-detail_grayStatus__u1sk_",quesIcon:"product-detail_quesIcon__8bqHQ",iconCusCls:"product-detail_iconCusCls__N_nWL",refundFailContent:"product-detail_refundFailContent__H5Dki",viewDetail:"product-detail_viewDetail___vx54",viewArrow:"product-detail_viewArrow__WG6hv",garyWrapper:"product-detail_garyWrapper__l7TyR",wrapperCls:"product-detail_wrapperCls__iWqBK",dateCls:"product-detail_dateCls__JS1wQ",airlineCls:"product-detail_airlineCls__oeaNY"}},73120:function(e){e.exports={contentText:"refund-detail_contentText__2iUX3",contentTextBtn:"refund-detail_contentTextBtn__Yyv79",dialogTitle:"refund-detail_dialogTitle__1ohqO",refundInfo:"refund-detail_refundInfo__qi_2c",refundTitle:"refund-detail_refundTitle__rf04i",refundNoWra
1pper:"refund-detail_refundNoWrapper__0Ys9s",priceNumber:"refund-detail_priceNumber__RZnqS",couponInfo:"refund-detail_couponInfo__OkPQD",couponName:"refund-detail_couponName__EjO0v",refundPax:"refund-detail_refundPax__hqFXS",refundPaxName:"refund-detail_refundPaxName__YXuAV"}}},function(e){e.O(0,[2397,1547,3043,6163,2520,9774,2888,179],(function(){return r=35317,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.