// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,o,s,c,p,m,d,x,g,h,u,f,l,v=n.getSpan(),y="Confirmed";return c=v.innerCapture(regExpFormatted(/\1.*\n([A-Z0-9]*) /,r.reservationId_prefix),1),m=v.next(r.dates_prefix).nextDate(),p=v.next(r.dates_prefix).nextDate().nextDate(),l=regExpFormatted(/\1(.*)/,r.visitorName_prefix).exec(e.subject)[1],d=r.title_prefix+l,ASSERT(m,p,d,l),[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a,email:i},totalPrice:o,priceCurrency:s,checkinTime:m,checkoutTime:p,modifyReservationUrl:x,cancelReservationUrl:g,reservationStatus:"http://schema.org/Reservation"+(y||"Confirmed"),reservationId:c,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:d,url:h,telephone:u,address:f}}]}}).call();