1 2(function() { 3 'use strict'; 4 5 // locale variables to load external libs in the user language 6 var body = document.getElementsByTagName('body')[0]; 7 var lang = body.getAttribute('data-language') || 'en'; 8 9 var resourceFullPath = function(resourcePath) { 10 return '/frontend-home/' + resourcePath; 11 }; 12 13 /* Path to a resource inside the third party folder */ 14 var thirdPartyFullPath = function(resourcePath) { 15 return resourceFullPath('static-content/thirdParty/' + resourcePath); 16 }; 17 18 // define google plus language 19 window.___gcfg = {lang: lang}; 20 21 var config = { 22 waitSeconds: 0, 23 // baseUrl: "https://" + location.host +"/frontend-home/static-content/versioned_uq6IgfNvlr/js/apps/", 24 paths: { 25 /* RequireJS Plugins */ 26 'font': thirdPartyFullPath('require/require.font.min'), 27 'propertyParser': thirdPartyFullPath('require/require.propertyParser.min'), 28 'async': thirdPartyFullPath('require/require.async.odigeo.min'), 29 // other libs 30 'googleAds': '//www.google.com/adsense/search/async-ads', 31 'GenesysWebChat': thirdPartyFullPath('genesyschat/genesys-webchat'), 32 'TrustPilot': '//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min', 33 'travelaudience': location.protocol + '//ads.travelaudience.com/inv?noext', 34 'recaptcha': 'https://www.google.com/recaptcha/api.js?onload=grecaptchaloaded&render=explicit', 35 }, 36 map: { 37 '*': { 38 underscore: 'lodash', 39 }, 40 }, 41 modules: [], 42 shim: { 43 'GenesysWebChat': { 44 exports: 'GenesysWebChat', 45 }, 46 'TrustPilot': { 47 exports: 'TrustPilot', 48 }, 49 'recaptcha': { 50 exports: 'rcp', 51 }, 52 }, 53 }; 54 55 require.config(config); 56 window.require_js_config = true; 57 58 if (window.Odigeo && Odigeo.requireJsCb) { 59 Odigeo.requireJsCb(); 60 } 61 62 // IntentMedia Callbacks 63 window.IntentMediaBindings = { 64 segmentation_group_updated: { 65 callback: function(data) { 66 Odigeo.SessionScope.tmSettings.intentMedia = Odigeo.SessionScope.tmSettings.intentMedia || {}; 67 Odigeo.SessionScope.tmSettings.intentMedia.score = data; 68 }, 69 }, 70 }; 71 72 // TravelAudience API 73 window.travelaudience_dynamic = true; 74}());
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.