1CarBookController.$inject = ['WindowService', 'translateFactory', 'AnalyticsService']; 2 3var carBookComponent = { 4 templateUrl: 'angular/components/widget/book/car-book.component.html', 5 controller: CarBookController 6}; 7 8function CarBookController(WindowService, translateFactory, AnalyticsService) { 9 var $ctrl = this; 10 11 $ctrl.bookCar = function () { 12 AnalyticsService.trackCarSearch(); 13 const currLang = translateFactory.getTranslateLanguage(); 14 if (!currLang || currLang === 'en') { 15 WindowService.openUrl('https://partners.rentalcar.com/caribbeanairlines/'); 16 } else { 17 WindowService.openUrl(`https://partners.rentalcar.com/caribbeanairlines/?locale=${currLang}`); 18 } 19 }; 20}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.