// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,x,o,s,g,i,d,T,c,h;i=a.getSpan().nextText(n.reservationIdPrefix).nextTag("td3").tagContents().innerCapture(/(\d+)/,1),r=a.getSpan().nextText(n.underPersonNamePrefix).nextTag("td3").tagContents(),d=a.getSpan().nextText(n.checkInDatePrefix).nextTag("td3").innerDate(),T=a.getSpan().nextText(n.checkOutDatePrefix).nextTag("td3").innerDate(),x=a.getSpan().nextText(n.hotelsBlockPrefix).nextText(n.hotelNamePrefix).nextTag("td3").tagContents(),o=a.getSpan().nextText(n.hotelsBlockPrefix).nextText(n.hotelUrlPrefix).nextTag("td3").tagContents(),s=a.getSpan().nextText(n.hotelsBlockPrefix).nextText(n.hotelPhonePrefix).nextTag("td3").tagContents(),g=""+a.getSpan().nextText(n.hotelAddress.addressPrefix).nextTag("td3").tagContents(),g+=" "+a.getSpan().nextText(n.hotelAddress.zipCodePrefix).nextTag("td3").tagContents(),g+=" "+a.getSpan().nextText(n.hotelAddress.localityPrefix).nextTag("td3").tagContents(),g+=" "+a.getSpan().nextText(n.hotelAddress.countryPrefix).nextTag("td3").tagContents();var p;return[p,h,c]=a.getSpan().nextText(n.pricePrefix).nextTag("td3").tagContents().innerCapture(/(.)\s([\d,.]+)/),ASSERT(r,g,d)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r},totalPrice:c,priceCurrency:h,checkinTime:d,checkoutTime:T,reservationStatus:"http://schema.org/ReservationConfirmed",reservationId:i,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:x,url:o,telephone:s,address:g}}]:CONTINUE}}).call();