PageSourceSearch

https://tourperu.pe/_next/static/chunks/pages/add-card/[status]/[pnr]-c64a77cfc49b7d34.js

js tourperu.pe collected 2026-09-27 14:59:38 UTC 6,114 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2166],{3719:e=>{e.exports={fail_transaction:"failure-block-pb_fail_transaction__lLqAv",icon_text_section:"failure-block-pb_icon_text_section__69F32",title2:"failure-block-pb_title2__3NJLb"}},22304:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSG:()=>p,default:()=>d});var o=t(37876);t(77328);var a=t(30388),c=t(89099),n=t(78474),r=t(34231),l=t(57773);t(46797);var i=t(66836),_=t(57539),u=t(96944),p=!0;let d=function(){let e=(0,c.useRouter)(),{t:s}=(0,a.Bd)("common");return(0,o.jsxs)("div",{className:{},children:[(0,o.jsx)(n.A,{}),(0,o.jsxs)(r.A,{t:s,navbarType:2,children:[(0,o.jsx)(l.A,{}),(0,o.jsx)(i.A,{success:e.query?.status==="success",t:s,subtitle:e.query?.status==="success"?"en"===e.locale?"Your card has been successfully saved to facilitate your next purchases.":"Tu tarjeta ha sido guardada con \xe9xito para facilitar tus pr\xf3ximas compras.":"en"===e.locale?"Something went wrong with your purchase and we couldn't process it correctly.":"Algo sali\xf3 mal con tu compra y no pudo ser procesada correctamente.",infoText:e.query?.status==="success"?"en"===e.locale?"Thanks for choosing us!":"\xa1Gracias por comprar con nosotros!":"en"===e.locale?"Please try again one more time!":"Por favor intenta nuevamente",children:e.query?.status==="success"?(0,o.jsx)(_.A,{t:s,router:e,onPressButton1:()=>e.push("/my-account"),addCard:!0}):(0,o.jsx)(u.A,{t:s})})]})]})}},28459:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/add-card/[status]/[pnr]",function(){return t(22304)}])},33121:e=>{e.exports={successful_purchase_buttons:"success-block-pb_successful_purchase_buttons__i1ezW"}},43249:e=>{e.exports={common_kupos_steps:"kupos-steps_common_kupos_steps___n7yK",kupos_step_item:"kupos-steps_kupos_step_item__41na9",active:"kupos-steps_active__Yhe8s",step_number:"kupos-steps_step_number__cjbRF"}},46797:(e,s,t)=>{"use strict";t.d(s,{A:()=>u});var o=t(37876),a=t(14232),c=t(15039),n=t.n(c),r=t(43249),l=t.n(r),i=t(57713),_=t(85664);let u=e=>{let{t:s}=e,[t,c]=(0,a.useState)([]),r=(0,_.vc)(i.Q);(0,a.useEffect)(()=>{u(e.activeStep||1)},[e.activeStep]);let u=s=>{try{let t;t="ONWARD"==e.type?[{label:"GOING",active:1==s},{label:"PAYMENT",active:2==s},{label:"CONFIRMATION",active:3==s}]:[{label:"GOING",active:1==s},{label:"RETURN",active:2==s},{label:"PAYMENT",active:3==s},{label:"CONFIRMATION",active:4==s}],c(t)}catch(e){}};return(0,o.jsx)("div",{className:l().common_kupos_steps,children:t?t.map((t,a)=>(0,o.jsxs)("a",{className:`${n()({[l().kupos_step_item]:!0,[l().active]:t.active,font10:!0})} text-white`,onClick:()=>{var s;return s=a+1,void(e.onStepClick&&e.onStepClick(s))},style:{backgroundColor:t.active?r?.color_codes?.secondary_color:"","--secondary-color":r?.color_codes?.secondary_color},children:[(0,o.jsx)("span",{className:l().step_number,children:a+1}),(0,o.jsx)("span",{className:l().step_label,children:s("PASSENGER_DETAILS."+t.label)})]},a)):null})}},57539:(e,s,t)=>{"use strict";t.d(s,{A:()=>p});var o=t(37876),a=t(15039),c=t.n(a);t(14232);var n=t(85664),r=t(57713),l=t(33121),i=t.n(l);t(70114);var _=t(27070),u=t(61956);let p=({t:e,router:s,ticketDetails:t,CentroPnrNumber:a,isAgency:l,success:p})=>{let d=(0,n.lZ)(r.J0),m=(0,n.vc)(r.uM),x=(0,n.vc)(r.Q);return(0,o.jsxs)("div",{className:c()({[i().successful_purchase_buttons]:!0,font10:!0}),style:{marginBottom:"70px"},children:[(0,o.jsx)("button",{className:"kupos-button active",style:{backgroundColor:x?.color_codes?.button_color},onClick:()=>{if(p){if(a||l){let e=`${_.A.baseUrlBus}/airport/centropuerto/api/booking/${a||m}/print-ticket`;window.open(e,"_blank");try{u.A.track("ticket_downloaded",{format:"pdf"},{pnr_number:a||m||t?.pnr_number})}catch(e){console.error("[analytics] track failed:",e?.message||e)}}else if(t&&t.return_ticket)d({showModal:!0,showButton1:!0,buttonText1:e("RESULTS_PAGE.GOING_TICKET"),onButtonClick1:()=>{t&&window.open(t?.print_pdf_url,"_blank")},showButton2:!0,buttonText2:e("RESULTS_PAGE.RETURN_TICKET"),modalIcon:"/svgs/exclamation-mark.svg",onButtonClick2:()=>{t&&window.open(t?.return_ticket.print_pdf_url,"_blank")}});else if(t)try{u.A.track("ticket_downloaded",{format:"pdf"},{pnr_number:t?.pnr_number})}catch(e){console.error("[analytics] track failed:",e?.message||e)}window.open(t.print_pdf_url,"_blank")}else s.push("/")},children:(0,o.jsx)("span",{children:p?"es"===s.locale?"Descarga Tu Comprobante":"Download your proof":"Volver"})}),(0,o.jsx)("button",{className:"kupos-button active",style:{textDecoration:"none",backgroundColor:x?.color_codes?.button_color},onClick:()=>s.push(p?"/":"/contact"),children:(0,o.jsx)("span",{children:p?"es"===s.locale?"Volver al inicio":"Back to top":"Cont\xe1ctanos"})})]})}},96944:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var o=t(37876),a=t(15039),c=t.n(a);t(14232);var n=t(3719),r=t.n(n);let l=function({t:e}){return(0,o.jsxs)("div",{className:c()({[r().fail_transaction]:!0,"kupos-card":!0,"content-container":!0,"light-text":!0,font12:!0}),children:[(0,o.jsxs)("div",{className:"font13",children:[e("RESULTS_PAGE.WHAT_WRONG.NORMAL"),(0,o.jsxs)("span",{className:"bold-text",children:[" ",e("RESULTS_PAGE.WHAT_WRONG.BOLD")]})]}),(0,o.jsxs)("div",{className:c()({[r().icon_text_section]:!0,"display-flex":!0}),children:[(0,o.jsx)("img",{src:"/images/icons/icon-countdown.png"}),(0,o.jsx)("span",{children:e("RESULTS_PAGE.TIME_REJECT")})]}),(0,o.jsxs)("div",{className:c()({[r().icon_text_section]:!0,"display-flex":!0}),children:[(0,o.jsx)("img",{src:"/images/general/icon_card.png"}),(0,o.jsx)("span",{children:e("RESULTS_PAGE.BANK_REJECT")})]}),(0,o.jsxs)("div",{className:c()({[r().icon_text_section]:!0,"display-flex":!0}),children:[(0,o.jsx)("img",{src:"/images/general/icon_wifi.png"}),(0,o.jsx)("span",{children:e("RESULTS_PAGE.INTERNET_REJECT")})]}),(0,o.jsx)("div",{className:c()({[r().title2]:!0,font13:!0}),children:(0,o.jsx)("span",{className:"bold-text",children:e("RESULTS_PAGE.WHAT_CAN_YOU_DO")})}),(0,o.jsx)("div",{className:"my-3",children:e("RESULTS_PAGE.BEST_SERVICE")})]})}}},e=>{e.O(0,[7950,2748,7653,5183,8474,6836,636,6593,8792],()=>e(e.s=28459)),_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.