PageSourceSearch

https://www.tezfly.com.tr/_next/static/chunks/pages/reservation-summary-b4f2653be30fab8d.js

js tezfly.com.tr collected 2026-10-02 21:08:33 UTC 16,934 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8493],{34282:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSP:()=>k,default:()=>P});var r=a(37876),t=a(77328),l=a.n(t),i=a(14232),n=a(14788),c=a(14843),d=a.n(c),o=a(89099),m=a(48230),h=a.n(m),g=a(39468),u=a(68787),x=a(69999),p=a(49995),j=a(31753),v=a(1105),N=a(89602),f=a(5889),y=a(80747),C=a(60942),w=a(73434),B=a(25824),A=a(77716),D=a(94410),k=!0;let P=function(e){let{t:s}=(0,j.Bd)("searchFlight"),[a,t]=(0,i.useState)(!0),[c,m]=(0,i.useState)(!1),[k,P]=(0,i.useState)([]),[T,b]=(0,i.useState)(null),[q,S]=(0,i.useState)(null),{asPath:I,router:_}=(0,o.useRouter)(),[F,H]=(0,i.useState)(null),R=(0,v.d4)(e=>e.environment);(0,i.useEffect)(()=>{M()},[]);let M=async()=>{t(!0),m(!1);let s=function(){if(null==e.reqQuery||void 0==e.reqQuery||null==e.reqBody||!e.reqBody==void 0)return null;let s=parseInt(e.reqQuery.pId?e.reqQuery.pId:0),a={ReservationNumber:e.reqQuery.ReservationPnr,Payment3DResponse:{ProviderId:s,HashValue:e.reqBody.hashValue?e.reqBody.hashValue:"",OtherTrxCode:e.reqBody.OtherTrxCode?e.reqBody.OtherTrxCode:"",TrxCode:e.reqBody.trxCode?e.reqBody.trxCode:"",ClientIP:"10.10.10.10",ResultCode:e.reqBody.resultCode?e.reqBody.resultCode:"",ResultMessage:e.reqBody.resultMessage?e.reqBody.resultMessage:""}};if(2==s){var r={status:e.reqBody.status,conversationId:e.reqBody.conversationId,paymentId:e.reqBody.paymentId,completeStatus:e.reqBody.completeStatus,callbackStatus:e.reqBody.callbackStatus,conversationData:e.reqBody.conversationData,hash:e.reqBody.hash};a.Payment3DResponse.Parameters=r,a.Payment3DResponse.TrxCode=e.reqBody.paymentId,a.Payment3DResponse.OtherTrxCode=e.reqQuery.OtherTrxCode}return a}();if(null==s){t(!1),m(!1);return}await A.I.confirmReservation(s,R).then(s=>{var a=function(){try{return window.self!==window.top}catch(e){return!0}}();if(!0===s.header.success){if(S(s.body),a){let e=new URL(window.location.href);e.search="",e.pathname="/order",e.searchParams.set("pnr",s.body.reservationPnr),e.target="_parent",window.parent.location.href=e.href}m(!1)}else{if(a){let a=new URL(window.location.href);a.search="",a.pathname="/order",a.searchParams.set("pnr",e.reqQuery.ReservationPnr),a.searchParams.set("errorText",s.header.message.message),a.target="_parent",window.parent.location.href=a.href}m(!0),s.header&&s.header.message&&k.push(s.header.message.message),s.header&&s.header.exceptionReturnUrl?b(s.header.exceptionReturnUrl):b(new URL(window.location.href).hostname)}}).catch(e=>{m(!0),console.error(e)}).finally(()=>{t(!1)})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(l(),{children:[(0,r.jsxs)("title",{children:["TezFly ",s("yourTr
1ip")]}),(0,r.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/icons/logos/favicon.ico"})]}),(0,r.jsx)("header",{className:d().header,children:(0,r.jsx)("div",{className:"container",children:(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"d-flex col-lg-12 col-md-12 col-12",children:(0,r.jsx)(h(),{href:"/",className:d().logoArea,onClick:()=>_.push("/"),children:(0,r.jsx)("img",{src:(0,D.m)("logo"),alt:"tezfly"})})})})})}),(0,r.jsxs)("section",{className:d().main,children:[!c&&a&&(0,r.jsx)(u.A,{isShow:a}),c&&!a&&(0,r.jsx)(g.A,{isShow:c,headerText:s("generalFailHeader"),alertTextList:k,closeAction:()=>window.location.assign(T)}),!c&&!a&&(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col-lg-12 col-md-12 col-12",children:(0,r.jsxs)("div",{className:d().reservationSuccess+" fontP",children:[(0,r.jsx)("img",{src:(0,D.m)("icons/check-success")}),(0,r.jsxs)("span",{children:[s("rsvSuccess")," ",(0,r.jsxs)("span",{className:d().pnr,children:["PNR: ",q?.flightPnr]})]})]})})}),(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col-lg-12 col-md-12 col-12",children:(0,r.jsxs)("div",{className:d().pnrMobile+" fontH4",children:["PNR:\xa0",(0,r.jsxs)("span",{className:d().pnr,children:[" ",q?.flightPnr]})]})})}),(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-lg-9 col-md-9 col-12",children:(0,r.jsxs)("div",{className:d().left,children:[(0,r.jsxs)("div",{className:d().flightDetail,children:[(0,r.jsxs)("div",{className:d().flight,children:[(0,r.jsx)("div",{className:d().flightTitle+" fontH4",children:s("yourTrip")}),(0,r.jsxs)("div",{className:d().depart,children:[(0,r.jsxs)("div",{className:d().flightHeader,children:[(0,r.jsxs)("div",{className:d().head,children:[(0,r.jsx)("div",{className:"fontMedium",children:s("departure_G")}),(0,r.jsx)("span",{className:"fontP",children:(0,x.Yq)(q.departure.flightDate)})]}),(0,r.jsxs)("div",{className:d().rules,children:[(0,r.jsx)("span",{className:"fontSmall",children:s("flightRules")}),(0,r.jsx)("img",{src:(0,D.m)("icons/next-primary"),alt:"ok"})]})]}),(0,r.jsx)("div",{className:d().result,children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-lg-2 col-12",children:(0,r.jsxs)("div",{className:d().airlineInfoContain,children:[(0,r.jsx)(N.A,{airlines:q.departure.airlines},"dept_airlines"),(0,r.jsxs)("div",{className:d().airlineContainIcons,children:[q.departure.segments[0].handBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:q.departure.segments[0].handBaggage.unit+" "+q.departure.segments[0].handBaggage.unitType,placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-sm"),alt:"baggage icon"})}),null==q.departure.segments[0].handBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:"?",placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-sm-unknown"),alt:"baggage icon"})}),q.departure.segments[0].checkInBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:q.departure.segments[0].checkInBaggage.unit+" "+q.departure.segments[0].checkInBaggage.unitType,placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-lg"),alt:"baggage icon"})}),null==q.departure.segments[0].checkInBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:"?",placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-lg-unknown"),alt:"baggage icon"})})]})]})}),(0,r.jsx)("div",{className:"col-lg-8 col-12",children:(0,r.jsxs)("div",{className:d().resultDetail,children:[(0,r.jsxs)("div",{className:d().from,children:[(0,r.jsx)("div",{className:"fontH4 textColorGray1",children:(0,x.fU)(q.departure.deptFlightDate)}),(0,r.jsx)("div",{className:d().cityName+" fontP",children:q.departure.deptCityName}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.aw)(q.departure.deptFlightDate)}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.kw)(q.departure.deptFlightDate)})]}),(0,r.jsx)(y.A,{deptAirportCode:q.departure.deptAirportCode,arrAirportCode:q.departure.arrAirportCode,duration:q.departure.duration,stopCount:q.departure.stopCount,segments:q.departure.segments}),(0,r.jsxs)("div",{className:d().to,children:[(0,r.jsx)("div",{className:"fontH4 textColorGray1",children:(0,x.fU)(q.departure.arrFlightDate)}),(0,r.jsx)("div",{className:d().cityName+" fontP",children:q.departure.arrCityName}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.aw)(q.departure.arrFlightDate)}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.kw)(q.departure.arrFlightDate)})]})]})}),(0,r.jsxs)("div",{className:"col-lg-2 col-12",children:[(0,r.jsxs)("div",{className:(0,p.A)(d().icons,d().mobileHide),children:[(0,r.jsx)(f.T,{isHandBaggage:!0,baggage:q.departure.segments[0].handBaggage}),(0,r.jsx)(f.T,{isHandBaggage:!1,baggage:q.departure.segments[0].checkInBaggage})]}),(0,r.jsxs)("div",{className:d().icons,style:{marginTop:"10px"},children:[q.departure.isPromotion&&(0,r.jsx)(C.A,{id:"tooltip-top",t
1itle:s("flexible"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/flexible"),alt:"flexible icon"})}),q.departure.isLongLayover&&(0,r.jsx)(C.A,{id:"tooltip-top",title:s("longLayover"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/hourglass"),alt:"hourglass icon"})}),q.departure.isAirportChange&&(0,r.jsx)(C.A,{id:"tooltip-top",title:s("airportChange"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/airport-change"),alt:"airport-change icon"})})]})]})]})})]}),q.return&&(0,r.jsxs)("div",{className:d().depart,children:[(0,r.jsxs)("div",{className:d().flightHeader,children:[(0,r.jsxs)("div",{className:d().head,children:[(0,r.jsx)("div",{className:"fontMedium",children:s("return")}),(0,r.jsx)("span",{className:"fontP",children:(0,x.Yq)(q.return.flightDate)})]}),(0,r.jsxs)("div",{className:d().rules,children:[(0,r.jsx)("span",{className:"fontSmall",children:s("flightRules")}),(0,r.jsx)("img",{src:(0,D.m)("icons/next-primary"),alt:"ok"})]})]}),(0,r.jsx)("div",{className:d().result,children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-lg-2 col-12",children:(0,r.jsxs)("div",{className:d().airlineInfoContain,children:[(0,r.jsx)(N.A,{airlines:q.return.airlines},"return_airlines"),(0,r.jsxs)("div",{className:d().airlineContainIcons,children:[q.return.segments[0].handBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:q.return.segments[0].handBaggage.unit+" "+q.return.segments[0].handBaggage.unitType,placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-sm"),alt:"luggage"})}),null==q.return.segments[0].handBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:"?",placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-sm-unknown"),alt:"luggage"})}),q.return.segments[0].checkInBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:q.return.segments[0].checkInBaggage.unit+" "+q.return.segments[0].checkInBaggage.unitType,placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-lg"),alt:"luggage"})}),null==q.return.segments[0].checkInBaggage&&(0,r.jsx)(C.A,{id:"tooltip-top",title:"?",placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/luggage-lg-unknown"),alt:"luggage"})})]})]})}),(0,r.jsx)("div",{className:"col-lg-8 col-12",children:(0,r.jsxs)("div",{className:d().resultDetail,children:[(0,r.jsxs)("div",{className:d().from,children:[(0,r.jsx)("div",{className:"fontH4 textColorGray1",children:(0,x.fU)(q.return.deptFlightDate)}),(0,r.jsx)("div",{className:d().cityName+" fontP",children:q.return.deptCityName}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.aw)(q.return.deptFlightDate)}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.kw)(q.return.deptFlightDate)})]}),(0,r.jsx)(y.A,{deptAirportCode:q.return.deptAirportCode,arrAirportCode:q.return.arrAirportCode,duration:q.return.duration,stopCount:q.return.stopCount,segments:q.return.segments}),(0,r.jsxs)("div",{className:d().to,children:[(0,r.jsx)("div",{className:"fontH4 textColorGray1",children:(0,x.fU)(q.return.arrFlightDate)}),(0,r.jsx)("div",{className:d().cityName+" fontP",children:q.return.arrCityName}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.aw)(q.return.arrFlightDate)}),(0,r.jsx)("div",{className:"fontSmall textColorGray3",children:(0,x.kw)(q.return.arrFlightDate)})]})]})}),(0,r.jsxs)("div",{className:"col-lg-2 col-12",children:[(0,r.jsxs)("div",{className:(0,p.A)(d().icons,d().mobileHide),children:[(0,r.jsx)(f.T,{isHandBaggage:!0,baggage:q.departure.segments[0].handBaggage}),(0,r.jsx)(f.T,{isHandBaggage:!1,baggage:q.departure.segments[0].checkInBaggage})]}),(0,r.jsxs)("div",{className:d().icons,style:{marginTop:"10px"},children:[q.departure.isPromotion&&(0,r.jsx)(C.A,{id:"tooltip-top",title:s("flexible"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/flexible"),alt:"flexible icon"})}),q.departure.isLongLayover&&(0,r.jsx)(C.A,{id:"tooltip-top",title:s("longLayover"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/hourglass"),alt:"hourglass icon"})}),q.departure.isAirportChange&&(0,r.jsx)(C.A,{id:"tooltip-top",t
1itle:s("airportChange"),placement:"top",children:(0,r.jsx)("img",{src:(0,D.m)("icons/airport-change"),alt:"airport-change icon"})})]})]})]})})]}),(0,r.jsx)("div",{className:d().detailButton,onClick:()=>{let e;"block"===(e=document.getElementById("flightDetail")).style.display?e.style.display="none":e.style.display="block"},children:(0,r.jsxs)("div",{className:d().text,children:[(0,r.jsx)("img",{src:(0,D.m)("icons/dropdown-check"),alt:"drop down check icon"}),(0,r.jsx)("span",{className:"fontSmall",children:s("flightDetail")})]})})]}),(0,r.jsxs)("div",{className:d().detail,id:"flightDetail",children:[(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:d().flightHeader,children:[(0,r.jsxs)("div",{className:d().head,children:[(0,r.jsx)("div",{className:"fontMedium",children:s("departure_G")}),(0,r.jsx)("span",{className:"fontP",children:(0,x.Yq)(q.departure.flightDate)})]}),(0,r.jsx)("div",{className:d().time,children:(0,r.jsx)("span",{className:"fontMedium",children:(0,x.fU)(q.departure.flightDate)})})]}),q&&q.departure&&null!=q.departure.segments&&q.departure.segments.map((e,s)=>(0,r.jsx)(w.A,{index:s,segment:e},"dept_"+s))]}),q.return&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:d().flightHeader,children:[(0,r.jsxs)("div",{className:d().head,children:[(0,r.jsx)("div",{className:"fontMedium",children:s("return")}),(0,r.jsx)("span",{className:"fontP",children:(0,x.Yq)(q.return.flightDate)})]}),(0,r.jsx)("div",{className:d().time,children:(0,r.jsx)("span",{className:"fontMedium",children:(0,x.fU)(q.return.flightDate)})})]}),q&&q.return&&null!=q.return.segments&&q.return.segments.map((e,s)=>(0,r.jsx)(w.A,{index:s,segment:e},"return_"+s))]})]})]}),(0,r.jsxs)("div",{className:d().travelerDetails,children:[(0,r.jsx)("div",{className:d().travelerTitle+" fontH4",children:s("travellerDetails")}),null!=q.reservationTravellerList&&q.reservationTravellerList.map((e,s)=>(0,r.jsx)(B.A,{traveller:e,index:s},"passenger_"+s))]}),(0,r.jsxs)("div",{className:d().contactDetails,children:[(0,r.jsx)("div",{className:d().contactTitle+" fontMedium",children:s("contactDetails")}),(0,r.jsxs)("div",{className:"row",children:[(0,r.jsxs)("div",{className:d().itm+" col-lg-3 col-12",children:[(0,r.jsx)("div",{className:"fontH5 margin-bottom-8",children:s("email")}),(0,r.jsx)("div",{className:"fontMedium",children:q.reservationTravellerList[0].email})]}),(0,r.jsxs)("div",{className:d().itm+" col-lg-3 col-12",children:[(0,r.jsx)("div",{className:"fontH5 margin-bottom-8",children:s("phone")}),(0,r.jsx)("div",{className:"fontMedium",children:q.reservationTravellerList[0].phoneMasked})]})]})]}),(0,r.jsxs)("div",{className:d().contactDetails,style:{display:"none"},children:[(0,r.jsx)("div",{className:"fontMedium",children:"Seat Selection"}),(0,r.jsxs)("div",{className:d().itm+" d-flex align-items-center",children:[(0,r.jsx)("img",{src:(0,D.m)("seat")}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[(0,r.jsx)("div",{className:"fontP",children:"Departure : JFK - LAX"}),(0,r.jsx)("span",{className:"fontMedium",children:"28B, 28C"})]}),(0,r.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[(0,r.jsx)("div",{className:"fontP",children:"Return : LAX - JFK"}),(0,r.jsx)("span",{className:"fontMedium",children:"28B, 28C"})]})]})]})]})]})}),(0,r.jsx)("div",{className:"col-lg-3 col-md-3 col-12",children:(0,r.jsxs)("div",{className:d().right,children:[(0,r.jsx)("div",{className:"fontMedium margin-bottom-8",children:s("fromToCity",{from:(0,x.nx)(q.departure.deptCityName),to:(0,x.nx)(q.departure.arrCityName)})}),(0,r.jsxs)("div",{className:"fontP d-flex align-items-end justify-content-between margin-bottom-8",children:[(0,r.jsxs)("div",{children:[q.return?s("roundTrip")+", ":"",q?.departure?.flightClass,", ",q?.departure?.adultCount," ",q?.departure?.adultCount>1?s("adults"):s("adult"),q?.departure?.childCount>0&&", "+q?.departure?.childCount+" "+s("child"),q?.departure?.infantCount>0&&", "+q?.departure?.infantCount+" "+s("infant")]}),(0,r.jsx)("div",{children:(0,x.BC)(q.priceWithoutServices,q.currency)})]}),(0,r.jsx)("span",{className:"fontSmall",children:s("taxesAndFee")}),(0,r.jsxs)("div",{className:d().services,children:[(0,r.jsx)("div",{className:"fontMedium",children:s("services")}),null!=q.priceList&&q.priceList.map((e,a)=>(0,r.jsxs)("div",{className:d().item+" fontP",children:[(0,r.jsx)("div",{children:s(e.priceTypeName)}),(0,r.jsx)("div",{children:(0,x.BC)(e.amount,e.currency)})]},"priceList_"+a))]}),(0,r.jsxs)("div",{className:"fontMedium d-flex justify-content-between",children:[(0,r.jsxs)("div",{children:[s("total")," ",(0,r.jsxs)("span",{children:["(",q.currency,")"]})]}),(0,r.jsx)("div",{children:(0,x.BC)(q.price,q.currency)})]})]})})]})]})]}),(0,r.jsx)("section",{children:(0,r.jsx)(n.A,{})})]})}},43054:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/reservation-summary",function(){return a(34282)}])}},e=>{e.O(0,[7765,3630,9963,8230,2239,4788,7585,4243,636,6593,8792],()=>e(e.s=43054)),_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.