// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,g,o,s,i,p,c,x,d,u,l,m,C;if(i=a.getSpan().nextRegExp(n.reservationId).tagContents().innerCapture(n.reservationId,1),d=a.getSpan().nextRegExp(n.reservationId).nextTag("table5").tagContents().innerCapture(/(.+)</,1),l=a.getSpan().nextRegExp(n.reservationId).nextTag("table5").tagContents().innerAddress(),x=a.getSpan().nextRegExp(n.reservationId).nextTag("table5").tagContents().innerLink(),r=a.getSpan().nextRegExp(n.guestName).tagContents().innerCapture(n.guestName,1),p=a.getSpan().nextText(n.checkIn).parentTag("td6").tagContents().firstDate(),c=a.getSpan().nextText(n.checkIn).parentTag("td6").tagContents().lastInnerDate(),o=a.getSpan().nextText(n.totalPrice).nextTag("td6").tagContents().innerCapture(/([\d,.]+)/,1),s=a.getSpan().nextText(n.totalPrice).nextTag("td6").tagContents().innerCapture(/([^\d,.]+)/,1),ASSERT(p,c,l))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:g},totalPrice:o,priceCurrency:s,checkinTime:p,checkoutTime:c,modifyReservationUrl:m,cancelReservationUrl:C,reservationStatus:"http://schema.org/ReservationConfirmed",reservationId:i,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:d,url:x,telephone:u,address:l}}]}}).call();