new ReverseTemplateList([new ReverseTemplate("qantas-flight-confirmation-jp",function(e){return/^\u30ab\u30f3\u30bf\u30b9\u822a\u7a7a\u51fa\u767a\u60c5\u5831/.test(e.subject)},function(e){if(/^\u30ab\u30f3\u30bf\u30b9\u822a\u7a7a\u51fa\u767a\u60c5\u5831/.test(e.subject)){var t=Scanner.fromMessage(e);t.setLocale("ja_JP");var r,a,n,i,o,s,p,m,u,c,d,l,g,h,T,v,x,f=t.getSpan(),C=[],b={};for(a=f.nextText("\u3054\u4e88\u7d04\u756a\u53f7").parentTag("td4").tagContents().innerCapture(regExpFormatted(/\1(.+)/,"\u3054\u4e88\u7d04\u756a\u53f7"),1).trim(),o=f.withInterval(f.nextText("\u304a\u540d\u524d").getEnd(),f.nextText("\u51fa\u767a\u5730").getStart()).allInnerTagsFiltered("td6"),[,p,s]=o[o.length-1].innerCapture(/([A-Z0-9]{2})(\d+)/),o.pop(),o.pop(),v=0;v<o.length;v++)i=(""+o[v]).match(/(.+)\s/)[1].trim(),b[""+i]={name:i};m=f.nextText("\u65e5\u4ed8").nextTag("td6").innerDate(),c=(""+f.nextText("\u51fa\u767a\u5730").nextTag("td6").tagContents()).match(/(.+)\s/)[1].trim(),u=f.nextText("\u51fa\u767a\u5730").nextTag("td6").tagContents().innerDate(),u=combineDateAndTime(m,u),g=f.nextText("\u3078").nextTag("td6").tagContents().trim(),ASSERT(s,u)&&C.push({airlineCode:p,flightNumber:s,departureTime:u,departureCode:d,departureAirport:c.trim(),arrivalTime:l,arrivalCode:h,arrivalAirport:g.trim(),passengers:b});var y=[];for(v=0;v<C.length;v++){var A=C[v],S=Object.keys(A.passengers);for(x=0;x<S.length;x++){T=A.passengers[S[x]];y.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:"Qantas",airlineCode:A.airlineCode,flightNumber:A.flightNumber,departureAirportFuzzy:A.departureAirport,departureAirportCode:A.departureCode,departureTime:A.departureTime,arrivalAirportFuzzy:A.arrivalAirport,arrivalAirportCode:A.arrivalCode,arrivalTime:A.arrivalTime},underName:{"@type":"http://schema.org/Person",name:T.name},checkinUrl:n,reservationId:a,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:T.totalPrice,priceCurrency:T.priceCurrency,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:r,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:"",seatingType:""}}})}}if(y.length)return y}},"0/1/2/3/4/5/6/152/184/749","SG9678b957"),new ReverseTemplate("qantas.com-departure-reminder-en",function(e){return/^Qantas Departure Information/.test(e.subject)},function(e){if(/^Qantas Departure Information/.test(e.subject)){return loadHelper("quantas.com-microdata.js")(parseMicrodata(e.html),e,"en_AU")}},"0/1/2/3/4/5/6/152/184/750","SG6c156a55")]);