{% set contactUrl = (portal_url is defined and portal_url is not empty) ? portal_url ~ 'portal-contact-us' | trans : baseUrl ~ path('contact') %}
{% if custom_feedback_url_redirect_list is defined and custom_feedback_url_redirect_list is not empty and app.request.locale in custom_feedback_url_redirect_list|keys %}
{% set contactUrl = (portal_url is defined and portal_url is not empty) ? portal_url ~ custom_feedback_url_redirect_list[app.request.locale] : custom_feedback_url_redirect_list[app.request.locale] %}
{% endif %}
window.oConfig = {
shortCommit: '{{ short_commit }}',
subjectsInformationZou: '{{ getSubjectsInformationFormZou(true)|raw }}',
subjectsClaimZou: '{{ getSubjectsClaimFormZou(true)|raw }}',
baseUrl: {% if isPdfDownloaded is defined and isPdfDownloaded == true %}'{{ wkhtmltopdf_host }}'{% else %}'{{ baseUrl }}'{% endif %},
locale: '{{ app.request.get('_locale') }}',
networkId: '{{ network_id }}',
networkTimezone: '{{ networkTimezone }}',
deviceType: '{{ deviceType is defined ? deviceType : 'desktop' }}',
deviceOS: '{{ deviceOS is defined ? deviceOS : 'unknown' }}',
networkTimezone: '{{ networkTimezone }}',
{% if external is defined %}external: {{ external == true ? 1 : 0 }},{% endif %}
{% if fromSEO is defined %}fromSEO: {{ fromSEO == true ? 1 : 0 }},{% endif %}
{% if fromWidget is defined %}fromWidget: {{ fromWidget == true ? 1 : 0}},{% endif %}
{% if sim_module is defined %}simModule: {{ sim_module == true ? 1 : 0}},{% endif %}
{% if ticketing_module is defined %}ticketingModule: {{ ticketing_module == true ? 1 : 0}},{% endif %}
{% if widget_module is defined %}widgetModule: {{ widget_module == true ? 1 : 0}},{% endif %}
refererBaseDir: '{{ asset('./') }}',
homeUrl: '/',
outdatedBrowserUrl: '{{ path('outdated_browser') }}',
defaultColor: '#666',
brandColor: '{{ brand_color }}',
hideNavLabelsBreakpoint: {{ hide_nav_labels_breakpoint }},
maxDate: '{%if maxDate is defined %}{{ maxDate }}{%else%}{%endif%}',
enableIsochrones: '{{ enable_isochrones }}',
linesRedirectToSchedules: '{{ lines_redirect_to_schedules }}',
useLatencyInPlacesSearch: {{ use_latency_in_places_search ? 'true' : 'false' }},
faviconUrl: '{{ favicon_base_url() }}',
boundariesUrl: '{{ boundaries_url() }}',
events: {
resultsLoaded: 'is.results.loaded'
},
trans: {
line: '{{ 'journey.line'|trans }}',
departure_stop: '{{ 'booking.transport.departure_stoparea_placeholder'|trans }}',
arrival_stop: '{{ 'booking.transport.arrival_stoparea_placeholder'|trans }}',
no_destination_stoparea: '{{ 'booking.no_destination_stoparea'|trans }}',
journey_not_reservable: '{{ 'booking.journey_not_reservable'|trans }}',
booking_date_unavailable: '{{ 'booking.date.unavailable'|trans }}',
validate_btn: '{{ 'booking.transport.validate'|trans }}',
validate_in_progress_btn: '{{ 'booking.transport.validate_in_progress'|trans }}',
unknown_remaining_seats: '{{ 'booking.transport.unknown_remaining_seats'|trans }}',
remaining_seat: '{{ 'booking.transport.remaining_seat'|trans|raw }}',
remaining_seats: '{{ 'booking.transport.remaining_seats'|trans|raw }}',
amount_error: '{{ 'ticketing.amount_to_topup_error'|trans }}',
and: '{{ 'schedule.and'|trans }}',
modes: {
bus: '{{ 'mode.bus'|trans }}',
transport: '{{ 'mode.transport'|trans }}',
airport: '{{ 'mode.airport'|trans }}',
walk: '{{ 'mode.walk'|trans }}',
metro: '{{ 'mode.metro'|trans }}',
tram: '{{ 'mode.tram'|trans }}',
coach: '{{ 'mode.coach'|trans }}',
bike: '{{ 'mode.bike'|trans }}',
bikepark: '{{ 'mode.bikepark'|trans }}',
bikesharing: '{{ 'mode.bikesharing'|trans }}',
car: '{{ 'mode.car'|trans }}',
train: '{{ 'mode.train'|trans }}',
railshuttle: '{{ 'mode.railshuttle'|trans }}',
rapidtransit: '{{ 'mode.rapidtransit'|trans }}',
train_rapidtransit: '{{ 'mode.train_rapidtransit'|trans }}',
shuttle: '{{ 'mode.shuttle'|trans }}',
parkandride: '{{ 'mode.parkandride'|trans }}',
park: '{{ 'mode.park'|trans }}',
airpark: '{{ 'mode.airpark'|trans }}',
flight: '{{ 'mode.flight'|trans }}',
ridesharing: '{{ 'mode.ridesharing'|trans }}',
ridesharing_external: '{{ 'mode.ridesharing_external'|trans }}',
ridesharingad: '{{ 'mode.ridesharingad'|trans }}',
bikesharingstation: '{{ 'mode.bikesharingstation'|trans }}',
carrental: '{{ 'mode.carrental'|trans }}',
carrentalcheckin: '{{ 'mode.carrentalcheckin'|trans }}',
carrentalcheckout: '{{ 'mode.carrentalcheckout'|trans }}',
ridesharingcheckin: '{{ 'mode.ridesharingcheckin'|trans }}',
ridesharingcheckout: '{{ 'mode.ridesharingcheckout'|trans }}'
},
pendingSearch: '{{ 'journey.pending_search'|trans }}',
back: '{{ 'nav.back'|trans }}',
datetimeChosenValue: '{{ 'date.datetime_chosen_value'|trans }}',
dateChosenValue: '{{ 'date.date_chosen_value'|trans }}',
timeChosenValue: '{{ 'date.time_chosen_value'|trans }}',
selectYear: '{{ 'date.select_year'|trans }}',
selectMonth: '{{ 'date.select_month'|trans }}',
selectDay: '{{ 'date.select_day'|trans }}',
selectHour: '{{ 'date.select_hour'|trans }}',
selectMinute: '{{ 'date.select_minute'|trans }}',
months: {
january: '{{ 'date.months.january'|trans }}',
february: '{{ 'date.months.february'|trans }}',
march: '{{ 'date.months.march'|trans }}',
april: '{{ 'date.months.april'|trans }}',
may: '{{ 'date.months.may'|trans }}',
june: '{{ 'date.months.june'|trans }}',
july: '{{ 'date.months.july'|trans }}',
august: '{{ 'date.months.august'|trans }}',
september: '{{ 'date.months.september'|trans }}',
october: '{{ 'date.months.october'|trans }}',
november: '{{ 'date.months.november'|trans }}',
december: '{{ 'date.months.december'|trans }}'
},
autocomplete: {
searchLoading: '{{ 'autocomplete.search_loading'|trans }}',
defaultNotice: '{{ 'autocomplete.default_notice'|trans }}',
selectedValue: '{{ 'autocomplete.selected_value'|trans }}',
noSuggestion: "{{ 'autocomplete.no_suggestions_new_format'|trans({ 'contactUrl': contactUrl })|raw|escape('js') }}",
noExactSuggestion: '{{ 'autocomplete.no_exact_suggestion_new_format'|trans({ 'contactUrl': contactUrl })|raw|escape('js') }}',
suggestionsFound: '{{ 'autocomplete.suggestions_found'|trans }}',
resetLabel: '{{ 'autocomplete.reset'|trans }}',
checkLabel: '{{ 'autocomplete.check'|trans }}',
resultsFound: '{{ 'autocomplete.found_results'|trans }}',
noSuggestionSelected: '{{ 'autocomplete.no_suggestion_selected'|trans }}',
notice: '{{ 'autocomplete.notice'|trans }}',
my_position: '{{ 'my_position'|trans }}'
},
loader: {
search: '{{ 'loader.search'|trans }}',
journeySearch: '{{ 'loader.journey_search'|trans }}',
localitySearch: '{{ 'loader.locality_search'|trans }}',
stopareaSearch: '{{ 'loader.stoparea_search'|trans }}',
lineSearch: '{{ 'loader.line_search'|trans }}',
stoppointSearch: '{{ 'loader.stoppoint_search'|trans }}'
},
error: {
ticketing_download: '{{ 'ticketing.download_error' | trans }}',
journey_same_address: '{{ 'journey.same_address' | trans }}',
select_payment_card: '{{ 'payment.tokens.error.select_payment_card' | trans }}',
outward_return_dates_error: '{{ 'outward_return_dates_error' | trans }}'
},
direction: '{{ 'schedule.direction' | trans }}',
ticketing: {
payment: {
success: '{{ 'ticketing.payment.operator.success' | trans }}',
failure: '{{ 'ticketing.payment.operator.failure' | trans }}',
error_select: '{{ 'ticketing.payment.operator.error_select' | trans }}'
}
},
forms: {
agreeTerms: "{{ 'messagesErrors.forms.agreeTerms' | trans }}",
selectAddress: "{{ 'messagesErrors.forms.selectAddress' | trans }}",
captcha: "{{ 'messagesErrors.forms.captcha' | trans }}",
error: "{{ 'get.data.error.message' | trans }}"
},
loading: '{{ 'ticketing.loading' | trans }}',
crop_empty: '{{ 'ticketing.order.crop_empty' | trans }}'
},
switchMapMobile: '{{switch_map_mobile is defined ? switch_map_mobile }}',
enableHurryTraveler: '{{enable_hurry_traveler is defined ? enable_hurry_traveler }}',
limitPlacesResults: '{{ limit_places_results is defined ? limit_places_results }}',
placeManager_min_chars: '{{ placeManager_min_chars is defined ? placeManager_min_chars }}'
};
var journeyConfig = null,
ticketingConfig = null,
schedulesConfig = null,
disruptionConfig = null,
mapConfig = null,
accountConfig = null,
newsConfig = null,
alertingConfig = null,
widgetConfig;
journeyConfig = {
placeListPath: oConfig.baseUrl + '{{ path('place.list') }}',
journeyListPath: oConfig.baseUrl + '{{ path('journey.list') }}',
placeFavoritePostPath: oConfig.baseUrl + '{{ path('place.favorite.post') }}',
placeFavoriteDeletePath: oConfig.baseUrl + '{{ path('place.favorite.post') }}',
journeySchedulePath: oConfig.baseUrl + '{{ path('journey.schedule') }}',
contactUrl: '{{ contactUrl }}',
transitPassListPath: '{{ path('transitpass.list') }}',
transitPassPostPath: '{{ path('transitpass.post') }}',
isTransitPassEnabled: {% if isTransitPassEnabled is defined and true == isTransitPassEnabled%}1{% else %}0{% endif %},
sendLogUrl: oConfig.baseUrl + '{{ path('sendlog') }}',
autocompleteMinChars: {{ autocomplete_min_chars is defined ? autocomplete_min_chars : 3 }}
};
disruptionConfig = {
disruptionPath: oConfig.baseUrl + '{{ path('homepage.traffic') }}',
linesAndPoiPath: oConfig.baseUrl + '{{ path('homepage.linesandpoi') }}'
};
alertingConfig = {
alertingCreateSubscriptionsPath: oConfig.baseUrl + '{{ path('alerting.create.subscription') }}',
alertingDeleteSubscriptionsPath: oConfig.baseUrl + '{{ path('alerting.delete.subscription') }}'
};
maasConfig = {
libeloCheckPasswordUrl: '{{ url('bikesharing.check_password', {'bikeSharingType':'libelo'}) }}',
libeloValidateGiftCertificate: '{{ url('bikesharing.validate_gift_certificate', {'bikeSharingType':'libelo'}) }}'
};
schedulesConfig = {
schedulesPath: oConfig.baseUrl + '{{ path('schedule') }}',
lineDirectionListPath: oConfig.baseUrl + '{{ path('line.direction.list') }}',
lineSchedulesPath: oConfig.baseUrl + '{{ path('line.schedule.list.generic') }}',
stopareaSchedulesPath: oConfig.baseUrl + '{{ path('stoparea.schedule.list.generic') }}',
lineSchedulesTodPath: oConfig.baseUrl + '{{ path('line.schedule.tod_list.generic') }}',
localityLinesPath: oConfig.baseUrl + '{{ path('line.locality.list.generic') }}',
getStopPointSchedules: oConfig.baseUrl + '{{ path('stoppoint.schedule.list.generic') }}',
scheduleListPath: oConfig.baseUrl + '{{ path('schedule.list') }}',
bookingStopAreasListPath: oConfig.baseUrl + '{{ path('booking.stoparea.list') }}',
bookingStopAreasDestinationListPath: oConfig.baseUrl + '{{ path('booking.stoparea.destination') }}',
bookingStopAreasTimeSheetsListPath: oConfig.baseUrl + '{{ path('booking.stoparea.timesheets') }}',
createLineStoppointDirectionSchedulePath: oConfig.baseUrl + '{{ path('schedule.favorite.line_stoppoint_direction.post') }}',
scheduleFavoriteListPath: oConfig.baseUrl + '{{ path('schedule.favorite.list') }}',
scheduleFavoriteDeletePath: oConfig.baseUrl + '{{ path('schedule.favorite.post') }}',
scheduleFavoriteLinelistPath: oConfig.baseUrl + '{{ path('schedule.favorite.line.list') }}',
scheduleFavoriteLinePostPath: oConfig.baseUrl + '{{ path('schedule.favorite.line.post') }}',
scheduleFavoriteLineDeletePath: oConfig.baseUrl + '{{ path('schedule.favorite.line.post') }}',
displayAllLinesOnEmptyInputFocus: {{ (app.session is defined and app.session.get('layoutScheduleLine')) ? 'true' : 'false' }}
};
mapConfig = {
zoomDelta: 0,
maxZoom: {{ default_max_zoom }},
minZoom: {{ default_min_zoom }},
geoserver: '{{ geoserver_url }}',
defaultTileLayer: '{{ default_tile_layer }}',
vectorTiles: '{{ vector_tiles }}',
vectorStyle: '{{ vector_style }}',
defaultLatLon: {{ (customLatLon is defined and customLatLon is not empty) ? customLatLon : ((default_latlon is defined and default_latlon is not empty) ? default_latlon : "``") }},
defaultZoom: {{ (customZoom is defined and customZoom is not empty) ? customZoom : default_zoom }},
defaultPoiZoom: {{ default_poi_zoom }},
stoppointUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
addressUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/address',
tramUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
aerialliftUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
metroUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
busUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
coachUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
trainUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stop',
parkUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/park',
markersUrl: oConfig.baseUrl + '{{ path('map.markers') }}',
checkCustomIconUrl: oConfig.baseUrl + '{{ path('map.checkCustomIcon') }}',
linesShapeUrl: oConfig.baseUrl + '{{ path('map.linesShape') }}',
getAllLinesUrl: oConfig.baseUrl + '{{ path('homepage.getAllLines') }}',
getLinesBySubnetworkUrl: oConfig.baseUrl + '{{ path('homepage.getLinesBySubnetwork') }}',
isochronesUrl: oConfig.baseUrl + '{{ path('map.isochrones') }}',
parkandrideUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/parkandrides',
bikesharingstationUrl: oConfig.baseUrl + '/{{ app.request.attributes.get('_locale') }}/carte/bikesharingstation',
carsharingstationUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/carsharingstation',
securebikeparkUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/securebikepark',
bikeparkUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/bikepark',
chargingstationUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/chargingstation',
bikerentalagencyUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/bikerentalagency',
ridesharingparkUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/rideSharingPark',
pointofsaleUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/carte/pointdeventes',
pointofinterestUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/pointofinterest',
taxistationUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/taxistation',
vehicleUrl: oConfig.baseUrl + '{{ path('map.vehicle') }}',
stopAreaUrl: oConfig.baseUrl + '/{{ app.request.getLocale() }}/map/stopArea',
lineByStopPointUrl: oConfig.baseUrl + '{{ path('map.lineByStopPoint') }}',
getRideSharingParksUrl: oConfig.baseUrl + '{{ path('map.ridesharingparks') }}',
userPosition: {
latitude: '',
longitude: ''
},
networkPosition: {
latitude: {{ (network_lat is defined and network_lat is not empty) ? network_lat : "''" }},
longitude: {{ (network_lon is defined and network_lon is not empty) ? network_lon : "''" }},
},
widgetPosition: {
latitude: {{ (islat is defined and islat is not empty) ? islat : "''" }},
longitude: {{ (islon is defined and islon is not empty) ? islon : "''" }}
},
operators: {% if operators is defined %}{{ operators | raw }}{% else %}''{% endif %},
icons: {{ icons | json_encode | raw }},
assetsBucketUrl: '{{ cdn_public_url ~ cdn_public_name ~ '/' }}'
};
{% if referer is not defined %}
{% set referer = '' %}
{% endif %}
accountConfig = {
putAccountAddress: '{{ path('account.global.informations') }}',
addAddress: '{{ path('account.global.add_address') }}',
deleteAddress: '{{ path('account.global.delete_address') }}',
saveAddress: '{{ path('account.global.save_address') }}',
homeUserAccountUrl : '{{ path('account') }}',
loginUrl: '{{ absolute_url(path('user_login', {isModal: 'true'})) }}',
resetPasswordUrl: '{{ absolute_url(path('user_reset_password')) }}',
referer: '{{ referer }}',
updateAccountImagePath: oConfig.baseUrl + '{{ path('account.image') }}',
loginMode: '{{ login_mode }}',
isLoggedIn: {{ is_granted('IS_AUTHENTICATED_REMEMBERED') ? 'true' : 'false' }},
{% if userData is defined %}
userMail: '{% if userData.email is defined %}{{ userData.email }}{% endif %}',
userFirstName: '{% if userData.firstname is defined %}{{ userData.firstname }}{% endif %}',
userPhone: '{% if userData.phone is defined %}{{ userData.phone }}{% endif %}'
{% endif %}
};
{% set widgetParamsProvided = (widgetParams is defined and widgetParams is not empty) ? true : false %}
widgetConfig = {
isWidget: {% if isWidget is defined and isWidget is same as(true) %}true{% else %}false{% endif %},
widgetRequestReferer: '{% if requestReferer is defined and requestReferer is not empty %}{{ requestReferer | raw }}{% endif %}',
isRedirection: {% if isRedirection is defined and isRedirection is same as(true) %}true{% else %}false{% endif %},
isInternal: {% if isInternal is defined and isInternal is same as(true) %}true{% else %}false{% endif %},
isSplit: {% if isSplit is defined and isSplit is same as(false) %}false{% else %}true{% endif %},
widgetTarget: '{% if widgetTarget is defined %}{{ widgetTarget }}{% endif %}',
isPartner: '{% if isPartner is defined %}{{ isPartner }}{% endif %}',
istoken: '{% if istoken is defined %}{{ istoken }}{% endif %}',
isfid: "{% if isfid is defined %}{{ isfid | raw }}{% endif %}",
isfv: "{% if isfv is defined %}{{ isfv | raw }}{% endif %}",
istid: "{% if istid is defined %}{{ istid | raw }}{% endif %}",
istv: "{% if istv is defined %}{{ istv | raw }}{% endif %}",
isflat: "{% if isflat is defined %}{{ isflat }}{% endif %}",
isflon: "{% if isflon is defined %}{{ isflon }}{% endif %}",
istlat: "{% if istlat is defined %}{{ istlat }}{% endif %}",
istlon: "{% if istlon is defined %}{{ istlon }}{% endif %}",
islid: '{% if islid is defined %}{{ islid }}{% endif %}',
isdir: '{% if isdir is defined %}{{ isdir }}{% endif %}',
issaid: '{% if issaid is defined %}{{ issaid }}{% endif %}',
issav: '{% if issav is defined %}{{ issav }}{% endif %}',
islocid: '{% if islocid is defined %}{{ islocid }}{% endif %}',
isspid: '{% if isspid is defined %}{{ isspid }}{% endif %}',
issubnet: '{% if issubnet is defined %}{{ issubnet }}{% endif %}',
ismode: '{% if ismode is defined %}{{ ismode }}{% endif %}',
islsn: '{% if islsn is defined %}{{ islsn }}{% endif %}',
issubnetworks: '{% if issubnetworks is defined %}{{ issubnetworks }}{% endif %}',
external_widget_redirection: '{% if external_widget_redirection is defined %}{{ external_widget_redirection }}{% endif %}',
external_widget_redirection_url: '{% if external_widget_redirection_url is defined %}{{ external_widget_redirection_url }}{% endif %}',
widgetParams: {
css: {{ ((isWidget is not defined or (isWidget is defined and isWidget is not same as(true))) and (widgetParamsProvided and widgetParams['css'] is defined and not widgetParams['css'])) ? 'false' : 'true' }},
autocompleteModal: {{ network_id == 22 ? 'true' : 'false' }}
},
{% if widgetType is defined and widgetType is not empty %}
widgetType: '{{ widgetType }}',
{% endif %}
};
window.i18n = {
showMenu: "{{ 'nav.show_menu' | trans }}",
hideMenu: "{{ 'nav.hide_menu' | trans }}",
datetimeFormat: "{{ 'date.datetimeFormat' | trans }}",
dateFormat: "{{ 'date.dateFormat' | trans }}",
displayedDateFormat: "{{ 'date.displayedDateFormat' | trans }}",
labelDateFormat: "{{ 'date.labelDateFormat' | trans }}",
timeFormat: "{{ 'date.timeFormat' | trans }}",
displayedTimeFormat: "{{ 'date.displayedTimeFormat' | trans }}",
prevDateButtonLabel: "{{ 'date.prevDateButtonLabel' | trans }}",
nextDateButtonLabel: "{{ 'date.nextDateButtonLabel' | trans }}",
prevTimeButtonLabel: "{{ 'date.prevTimeButtonLabel' | trans }}",
nextTimeButtonLabel: "{{ 'date.nextTimeButtonLabel' | trans }}",
departureTime: "{{ 'date.departureTime' | trans }}",
close: "{{ 'close' | trans }}",
leaveFrom: "{{ 'map.context-menu.start' | trans }}",
goTo: "{{ 'map.context-menu.arrival' | trans }}",
centerHere: "{{ 'map.context-menu.center-here' | trans }}",
accessTime: "{{ 'isochrones.access_time' | trans }}",
address: "{{ 'isochrones.address' | trans }}",
zoomIn: '{{ 'map.context-menu.zoom-in' | trans }}',
zoomOut: '{{ 'map.context-menu.zoom-out' | trans }}',
start: '{{ 'journey.departure' | trans | lower }}',
arrival: '{{ 'journey.arrival' | trans | lower }}',
stage_placeholder: '{{ 'journey.stage_placeholder' | trans }}',
from : '{{ 'from' | trans | capitalize }}',
deleteAccountSuccess: '{{ 'user.account_delete.success' | trans }}',
label: {
dateNotAvailable: "{{ 'schedule.label.date_not_available' | trans }}"
},
popup: {
leave: "{{ 'map.popup.leave' | trans }}",
goTo: "{{ 'map.popup.go-to' | trans }}",
stepVia: "{{ 'map.popup.step-via' | trans }}",
streetView: "{{ 'map.popup.street-view' | trans }}",
favorite: "{{ 'map.popup.favorite' | trans }}"
},
messagesErrors: {
errorInternetConnection: "{{ 'messagesErrors.errorInternetConnection' | trans }}",
refreshBrowser: "{{ 'messagesErrors.refreshBrowser' | trans }}",
errorServer: "{{ 'messagesErrors.errorServer' | trans }}",
itineraryNotAvailable: "{{ 'itinerary.not_available' | trans }}",
tryLater: "{{ 'try_later' | trans }}",
emptyVia: "{{ 'messagesErrors.place.empty.via' | trans }}",
emptySchedule: "{{ 'messagesErrors.schedule.empty.emptySchedule' | trans }}",
invalidSchedule: "{{ 'messagesErrors.schedule.invalid.invalidSchedule' | trans }}",
emptyModes: "{{ 'messagesErrors.place.empty.modes' | trans }}",
emptyDeparture: "{{ 'messagesErrors.place.empty.from' | trans }}",
emptyArrival: "{{ 'messagesErrors.place.empty.to' | trans }}",
emptyDepartureArrival: "{{ 'messagesErrors.place.empty.emptyDepartureAndArrival' | trans}}",
invalidDeparture: "{{ 'messagesErrors.place.invalid.departure' | trans }}",
invalidArrival: "{{ 'messagesErrors.place.invalid.arrival' | trans }}",
invalidVia: "{{ 'messagesErrors.place.invalid.via' | trans }}",
emptyUsername: "{{ 'messagesErrors.userAccount.emptyUsername' | trans }}",
emptyPassword: "{{ 'messagesErrors.userAccount.emptyPassword' | trans }}",
wrongUsername: "{{ 'messagesErrors.userAccount.wrongUsername' | trans }}",
infoPassword: "{{ 'subscription.password_min_characters' | trans }}",
Email: "{{ 'messagesErrors.userAccount.emptyEmail' | trans }}",
emptyCode: "{{ 'messagesErrors.userAccount.emptyCode' | trans }}",
emptyFirstname: "{{ 'messagesErrors.userAccount.emptyFirstname' | trans }}",
emptyLastname: "{{ 'messagesErrors.userAccount.emptyLastname' | trans }}",
emptyPassword: "{{ 'messagesErrors.userAccount.emptyPassword' | trans }}",
emptyPasswordConfirm: "{{ 'messagesErrors.userAccount.emptyPasswordConfirm' | trans }}",
wrongPasswordAndConfirm: "{{ 'subscription.wrong_passwords' | trans }}",
helpMessageItinerary: "{{ 'messagesError.place.chooseFromList' | trans}}",
errorOccured: "{{ 'error.occured' | trans }}"
},
positive_elevation: "{{ 'positive_elevation' | trans }} ",
distance_km: "{{ 'distance_km' | trans }} ",
altitude_m: "{{ 'altitude_m' | trans }} ",
geolocation_not_supported_by_browser: "{{ 'geolocation_not_supported_by_browser' | trans }} ",
favoriteAddButton: "{{ 'place.favorite.action.add' | trans }}",
favoriteEditButton: "{{ 'place.favorite.action.edit' | trans }}",
favorite: {
addModalLabel: "{{ 'place.favorite.add_modal.label' | trans }}",
addModalValidate: "{{ 'place.favorite.add_modal.validate' | trans }}",
editModalLabel: "{{ 'place.favorite.edit_modal.label' | trans }}",
deleteConfirm: "{{ 'place.favorite.delete_confirm' | trans }}",
deleteLabel: "{{ 'place.favorite.delete_label' | trans }}",
deleteValidate: "{{ 'place.favorite.delete_validate' | trans }}",
picto: {
'home': "{{ 'place.favorite.picto.home' | trans }}",
'work': "{{ 'place.favorite.picto.work' | trans }}",
'unset': "{{ 'place.favorite.picto.unset' | trans }}"
},
editModalTitle: {
'home': "{{ 'place.favorite.edit_modal.homeTitle' | trans }}",
'work': "{{ 'place.favorite.edit_modal.workTitle' | trans }}"
},
editModalSave: "{{ 'place.favorite.edit_modal.save' | trans }}",
editModalUpdate: "{{ 'place.favorite.edit_modal.update' | trans }}",
editModalCancel: "{{ 'place.favorite.edit_modal.cancel' | trans }}",
editModalPlaceholder: "{{ 'place.favorite.edit_modal.placeholder' | trans }}",
subscribeAlert: "{{ 'place.favorite.action.subscribe_alert' | trans }}",
unsubscribeAlert: "{{ 'place.favorite.action.unsubscribe_alert' | trans }}",
subscribeAlertSuccess: "{{ 'place.favorite.info.favorite_success' | trans}}",
subscribeAlertError: "{{ 'place.favorite.info.favorite_error' | trans}}",
unsubscribeAlertSuccess: "{{ 'place.favorite.info.unsubscribe_favorite_success' | trans}}",
unsubscribeAlertError: "{{ 'place.favorite.info.unsubscribe_favorite_error' | trans}}",
scheduleSubscribeAlertSuccess: "{{ 'schedule.favorite.info.favorite_success' | trans}}",
scheduleSubscribeAlertError: "{{ 'schedule.favorite.info.favorite_error' | trans}}",
scheduleUnsubscribeAlertSuccess: "{{ 'schedule.favorite.info.unsubscribe_favorite_success' | trans}}",
scheduleUnsubscribeAlertError: "{{ 'schedule.favorite.info.unsubscribe_favorite_error' | trans}}",
noResultMessage: "{{ 'place.favorite.no_result_message' | trans}}",
schedule: {
addModalLabel: "{{ 'schedule.favorite.add_modal' | trans }}",
deleteConfirm: "{{ 'schedule.favorite.delete_confirm' | trans }}",
linePlaceholder: "{{ 'schedule.favorite.inputs.line.placeholder' | trans }}",
directionPlaceholder: "{{ 'schedule.favorite.inputs.direction.placeholder' | trans }}",
stoppointPlaceholder: "{{ 'schedule.favorite.inputs.stoppoint.placeholder' | trans }}",
lineLabel: "{{ 'schedule.favorite.inputs.line.label' | trans }}",
directionLabel: "{{ 'schedule.favorite.inputs.direction.label' | trans }}",
stoppointLabel: "{{ 'schedule.favorite.inputs.stoppoint.label' | trans }}",
addModalSave: "{{ 'schedule.favorite.action.add' | trans }}",
addModalCancel: "{{ 'schedule.favorite.action.cancel' | trans }}",
addNewButton: "{{ 'schedule.favorite.add_new_button' | trans }}",
noResultMessage: "{{ 'schedule.favorite.no_result_message' | trans }}"
}
},
schedules: {
modalInputLabel: '{{ 'widgets_tabs.schedules' | trans }}',
nextDepartures: '{{ 'schedule.next_departures' | trans }}',
stopAreaLines: '{{ 'schedule.lines_in_this_stoparea' | trans }}',
direction: '{{ 'schedule.direction' | trans }}',
add_to_favorites: "{{ 'schedule.add_to_favorites' | trans }}",
remove_from_favorites: "{{ 'schedule.remove_from_favorites' | trans }}"
},
poi: {
totalPark: '{{ 'poi.totalPark' | trans }}',
covered: '{{ 'poi.covered' | trans }}',
notCovered: '{{ 'poi.notCovered' | trans }}',
network: '{{ 'poi.network' | trans }}',
availableParks: "{{ 'journey.available_parks' | trans | raw }}",
bikesAvailable: "{{ 'journey.available_bikes' | trans | raw }}",
bikeChance: "{{ 'journey.available_bikes_chance' | trans | raw }}",
standChance: "{{ 'journey.available_stands_chance' | trans | raw }}",
capacity: '{{ 'journey.park_capacity' | trans | raw }}',
bikepark: '{{ 'poi.bikepark' | trans}}',
bikerentalagency: '{{ 'poi.bikerentalagency' | trans }}',
plateNumber: '{{ 'journey.freefloatingvehiclecheckin.plate_number' | trans }}',
parkAndRide: ' {{ 'PARKANDRIDE' | trans }}',
ridesharingpark: '{{ 'mode.ridesharingpark' | trans }}',
carsharingstation: ' {{ 'place.favorite.type.carsharingstation' | trans }}',
parking: ' {{ 'poi.parking' | trans }}',
securebikepark: ' {{ 'mode.securebikepark' | trans }}',
taxistation: ' {{ 'poi.taxistation' | trans }}',
chargingstation: ' {{ 'poi.chargingstation' | trans }}',
bikesharingstation: '{{ 'mode.bikesharingstation'|trans }}',
parkandride: '{{ 'mode.parkandride'|trans }}'
},
alt: {
park: '{{ 'poi.alt.park' | trans }}',
parkandride: '{{ 'poi.alt.parkandride' | trans }}',
bikesharingstation: '{{ 'poi.alt.bikesharingstation' | trans }}',
bikepark: '{{ 'poi.alt.bikepark' | trans }}',
chargingstation: '{{ 'poi.alt.chargingstation' | trans }}',
freefloatingvehiclecheckin: '{{ 'poi.alt.freefloatingvehiclecheckin' | trans }}'
},
disruption: {
network: '{{ 'traffic_infos.network' | trans}}'
},
addToCalendar: {
addToMyCalendar: '{{ 'user.add_to_my_calendar'|trans }}',
journey: {
title: '{{ 'journey.add_to_calendar.title'|trans }}',
desc: {
departure: '{{ 'journey.add_to_calendar.desc.departure'|trans }}',
arrival: '{{ 'journey.add_to_calendar.desc.arrival'|trans }}',
from: '{{ 'journey.add_to_calendar.desc.from'|trans|raw }}',
to: '{{ 'journey.add_to_calendar.desc.to'|trans|raw }}'
}
}
},
travellerProfile: {
noSubscription: '{{ 'journey.traveller_profile.no_subscriptions'|trans }}',
emptySubscriptionListError: '{{ 'journey.traveller_profile.subscriptions_modal.error.empty_subscriptions_list'|trans }}',
mySubscriptions: '{{ 'journey.traveller_profile.my_subscriptions'|trans }}',
publicTransportsTitle: '{{ 'journey.traveller_profile.subscriptions_modal.public_transports.title'|trans }}',
publicTransportsSubtitle: '{{ 'journey.traveller_profile.subscriptions_modal.public_transports.subtitle'|trans }}',
othersModesTitle: '{{ 'journey.traveller_profile.subscriptions_modal.others_modes.title'|trans }}',
othersModesSubtitle: '{{ 'journey.traveller_profile.subscriptions_modal.others_modes.subtitle'|trans }}',
saveAndLeave: '{{ 'journey.traveller_profile.subscriptions_modal.save_and_leave'|trans }}',
continue: '{{ 'journey.traveller_profile.subscriptions_modal.continue'|trans }}',
back: '{{ 'journey.traveller_profile.subscriptions_modal.back'|trans }}',
leave: '{{ 'journey.traveller_profile.subscriptions_modal.leave'|trans }}',
i_understood: '{{ 'journey.traveller_profile.subscriptions_infos_modal.i_understood'|trans }}',
configurationRecordingError: '{{ 'journey.traveller_profile.subscriptions_modal.error.configuration_recording_failed'|trans }}',
configurationSavedTitle: '{{ 'journey.traveller_profile.subscriptions_modal.configuration_saved'|trans }}',
configurationSavedMessage: '{{ 'journey.traveller_profile.subscriptions_modal.configuration_saved_message'|trans }}'
},
ticketing: {
refundConfirmationTitle: '{{ 'ticketing.account.etickets.refund.modal.success.title' | trans }}',
arrival_city: '{{ 'ticketing.zou_etudes.informations_form.journey.arrival_city.label' | trans }}',
departure_city: '{{ 'ticketing.zou_etudes.informations_form.journey.departure_city.label' | trans }}',
arrival_station: '{{ 'ticketing.zou_etudes.informations_form.journey.arrival_station.label' | trans }}',
departure_station: '{{ 'ticketing.zou_etudes.informations_form.journey.departure_station.label' | trans }}',
choose: '{{ 'ticketing.filters.choose' | trans }}'
},
meta: {
appTitle: "{{ 'app_title'| trans | raw }}",
journeyTitle: "{{ 'meta.journey.title' | trans | raw }}",
journeyDescription: "{{ 'meta.journey.description' | trans | raw }}",
journeyKeywords: "{{ 'meta.home.keywords' | trans | raw }}",
scheduleTitle: "{{ 'meta.schedule.schedule.title_new_format' | trans | raw}}",
scheduleDescription: "{{ 'meta.schedule.line-schedules.description_new_format' | trans | raw }}",
scheduleKeywords: "{{ 'meta.schedule.keywords' | trans | raw }}",
scheduleText: "{{ 'meta.schedule.schedule.keyword'| trans }}",
disruptionTitle: "{{ 'meta.disruption.title' | trans | raw }}",
disruptionDescription: "{{ 'meta.disruption.description' | trans | raw }}",
disruptionKeywords: "{{ 'meta.disruption.keywords' | trans | raw }}",
disruptionText: "{{ 'disruptions.line'| trans }}",
mapTitle: "{{ 'meta.map.title' | trans | raw }}",
mapDescription: "{{ 'meta.map.description' | trans | raw }}",
mapKeywords: "{{ 'meta.map.keywords' | trans | raw }}",
scheduleText: "{{ 'meta.schedule.schedule.keyword'| trans }}"
}
};
var extend = function(out) {
out = out || {};
for (var i = 1; i < arguments.length; i++) {
var obj = arguments[i];
if (!obj) {
continue;
}
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
out[key] = obj[key];
}
}
}
return out;
};
{#{% if isWidget is defined and isWidget %}#}
extend(window.oConfig, window.oConfig, newsConfig, journeyConfig, ticketingConfig, schedulesConfig, alertingConfig, maasConfig, disruptionConfig, mapConfig, accountConfig, widgetConfig);
{#{% endif %}#}