// Copyright 2014 Apple Inc.  All Rights Reserved.
new ReverseTemplateList([new ReverseTemplate("westjet-confirmation",function(e){return/^Reservation Confirmation/.test(e.subject)||/^Your itinerary and receipt/.test(e.subject)},function(e){var t,r="en_US",i={};return/^Reservation Confirmation/.test(e.subject)?(i.passengerDetails="Guest",i.flightDetails="Air Itinerary Details",i.reservationId="Your reservation code is:",i.ticketNumber="Ticket Number",i.seat="Seat",i.stopLegsGroup=/Guest type/,i.price="Charged to VISA",i.airlineName=/Operated by\s(.*)/,(t=loadHelper("westjet-confirmation-skeleton.js"))(e,r,i)):/^Your itinerary and receipt/.test(e.subject)?(i.reservationId="Reservation code",i.departure="Departure:",i.arrival="Arrival:",i.seat=/(Seat\(s\):)/,(t=loadHelper("westjet.com-2016-confirmation-skeleton.js"))(e,r,i)):void 0},"0/1/2/3/4/5/240/649/650","SG9ed5944a")]);