new ReverseTemplateList([new ReverseTemplate("fandango.com-plaintext-confirmation-en",function(e){return/^Fandango Purchase Confirmation - Please Read$/.test(e.subject)},function(e){if(/\*\*\*\*\*\*\*/.test(e.plain)){var t=Scanner.fromMessage(e);t.setLocale("en_US");var n,a,r,i,o,s,m,c,p,u,h,d,g,b=concatRegExp(/\bMovie:\s+($<eventName>.*?)\s+/,/\bDate:\s+($<date>.*?)\s+/,/\bTime:\s+($<time>.*)?\s+/,/\bQuantity:\s+($<numSeats>.*?)\s+/,/\bWhere:\s+($<place>.*)/,/($<address>[^]+?)/,/\bPhone: ($<phoneNumber>[-\d() ]+)\s+/,/\bConfirmation Number: ($<ticketNumber>\w+)\s/);if(c=t.getSpan().innerCapture(b),c&&(s=c.$eventName,p=combineDateAndTime(c.$date,c.$time),o=c.$numSeats,g=c.$place.trim(),d=getFuzzyAddress(c.$address),h=c.$phoneNumber.trim(),r=c.$ticketNumber),i=t.getSpan().nextText("View your Ticket Confirmation Page online:").nextLink(),n=t.getSpan().innerCapture(/\bTotal Order Amount:.*?([\d,.]+)/,1),ASSERT(p,s))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",totalPrice:n,priceCurrency:a,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:o},ticketToken:i,ticketNumber:r},reservationFor:{"@type":"http://schema.org/MovieShowing",eventStatus:"http://schema.org/EventConfirmed",url:m,startDate:p,endDate:u,movie:{"@type":"http://schema.org/Movie",name:s},location:{"@type":"http://schema.org/Place",name:g,telephone:h,address:d}}}]}},"0/1/2/3/4/5/6/7/1431/1432","SG5c174f27")]);