new ReverseTemplateList([new ReverseTemplate("movietickets.com-1",function(e){return/^MovieTickets\.com Order Confirmation/.test(e.subject)},function(e){var t=Scanner.fromMessage(e);t.setLocale("en_US");var r,n,a,s,i,o,p,c,g,u,h,m;t.getSpan().innerCapture(/\b(.*), Thank you for ordering tickets/,1),a=t.getSpan().innerCapture(/\bYour [Cc]onfirmation [Nn]umber (?:At The Theater )?is ([-\w]+)\.?/,1),not(a)&&(a=t.getSpan().innerCapture(/\bTracking Number:\s+([\d-]+)\s/,1)),o=t.getSpan().innerCapture(/\bYour Movie:(?:\s+\.+)?\s+(.*)\s/,1),/\[\/td4\]/.test(""+o)&&(o=t.getSpan().next(/Your Movie:/).nextAnyTag("td").tagContents()),c=getFuzzyDate(t.getSpan()),m=getFuzzyAddress(t.getSpan()),h=t.getSpan().innerCapture(/\bTheater:(?:\s+\.+)?\s+(.*)\s/,1),""+h.tagContents()==""&&(h=t.getSpan().innerCapture(/\bTheater:(?:\s+\.+)?\s+(.*)\s/,1).nextAnyTag("td").tagContents().innerCapture(/([^\n]+)/,1)),i=t.getSpan().innerCapture(/\bTickets Purchased:(?:.*)(\d+)\s/,1);var S=t.getSpan().innerCapture(/\bOrder Total:(?:\D+)($<price>[\d,.]+)(?: ($<priceCurrency>[A-Z]{3}))?/);if(S&&(r=S.$price,n=S.$priceCurrency),ASSERT(c,o))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",totalPrice:r,priceCurrency:n,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:i},ticketToken:s,ticketNumber:a},reservationFor:{"@type":"http://schema.org/MovieShowing",eventStatus:"http://schema.org/EventConfirmed",url:p,startDate:c,endDate:g,movie:{"@type":"http://schema.org/Movie",name:o},location:{"@type":"http://schema.org/Place",name:h,telephone:u,address:m}}}]},"0/1/2/3/4/5/6/7/1440/1441","SG1694b52d")]);