new ReverseTemplateList([new ReverseTemplate("jetblue.com-change-en",function(e){return/^Your Upcoming Flight Time has Changed$/.test(e.subject)},function(e){var r="en_US",t={};t.reservationId="Your Confirmation Number",t.itinerary="Your new flight itinerary:",t.passengers="Your seats:";var a,n,i,o,p,m,g,s,l,h,d,u=[],c={},T=Scanner.fromMessage(e);for(T.setLocale(r),a=T.getSpan().next(t.reservationId).nextAnyTag("td").tagContents(),o=T.getSpan().next(t.itinerary).parentAnyTag("table").allInnerTagsFiltered("tr1"),p=2;p<o.length;p++)g={},s=o[p],l=s.firstDate(),g.flightNumber=l.nextAnyTag("td").tagContents(),g.airlineName=g.flightNumber.nextAnyTag("td").tagContents(),g.departureAirport=g.airlineName.nextAnyTag("td").tagContents(),g.departureTime=combineDateAndTime(l,g.departureAirport.nextAnyTag("td").tagContents()),g.arrivalAirport=g.departureAirport.nextAnyTag("td").nextAnyTag("td").tagContents(),g.arrivalTime=combineDateAndTime(l,g.arrivalAirport.nextAnyTag("td").tagContents()),g.airlineCode="B6",ASSERT(g.flightNumber,g.airlineCode,g.departureTime,g.arrivalTime,g.departureAirport,g.arrivalAirport)&&u.push(g);for(d=T.getSpan().next(t.passengers).parentAnyTag("table").allInnerTags("tr1"),p=3;p<d.length;p++)if(s=d[p].allInnerTags("td1"),s.length>0){for(n=s[0].tagContents(),h={},m=1;m<s.length;m++)h[u[m-1].flightNumber]=s[m].tagContents();c[n]=h}var v=[];for(p=0;p<u.length;p++){g=u[p];var b=Object.keys(c);for(m=0;m<b.length;m++){var d=c[b[m]],A={"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:g.airlineName,airlineCode:g.airlineCode,flightNumber:g.flightNumber,departureAirportFuzzy:g.departureAirport,departureAirportCode:g.departureCode,departureTime:g.departureTime,arrivalAirportFuzzy:g.arrivalAirport,arrivalAirportCode:g.arrivalCode,arrivalTime:g.arrivalTime},underName:{"@type":"http://schema.org/Person",name:b[m]},checkinUrl:i,reservationId:a,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:d.totalPrice,priceCurrency:d.priceCurrency,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:d[g.flightNumber]}}};valid(d.membershipNumber,d.programName)&&(A.programMembershipUsed={"@type":"http://schema.org/ProgramMembership",membershipNumber:d.membershipNumber,programName:d.programName}),v.push(A)}}if(v.length)return v},"0/1/2/3/4/5/6/152/217/703","SG6db232bc")]);