{% if not (isWidget is defined and isWidget is same as(true)) and isTransitPassEnabled is defined and isTransitPassEnabled is same as(true) %}<div class="is-AdvancedSearch-Fieldset is-AdvancedSearch-SubscriptionsFieldset"><p class="is-AdvancedSearch-Label">{{ 'journey.traveller_profile.title'|trans }}</p><p class="is-AdvancedSearch-SubscriptionsLabel"><span>{{ 'journey.traveller_profile.my_subscriptions'|trans }}</span><a class="is-AdvancedSearch-ConfigureSubscriptionsInfosLink" data-toggle="modal" data-target="#is-SubscriptionsInfosModal"><i class="is-Icon is-Icon-com-info_outline" aria-hidden="true"></i></a></p><div id="is-SubscriptionsInfosModal" class="is-Modal is-SubscriptionsInfosModal is-fade" tabindex="-1" role="dialog" aria-labelledby="is-SubscriptionsInfosModal-Label"><div class="is-Modal-Dialog" role="document"><div class="is-Modal-Content"><div class="is-Modal-Header"><button type="button" class="is-Close" data-dismiss="modal" aria-label="{{ 'close' | trans }}"><i class="is-Icon is-Icon-com-close-thin" aria-hidden="true"></i></button><h1 class="is-Modal-Title" id="is-SubscriptionsInfosModal-Label">{{ 'journey.traveller_profile.my_subscriptions'|trans }}</h1></div><div class="is-Modal-Body"><p class="is-SubscriptionsInfosModal-Message">{{ 'journey.traveller_profile.subscriptions_infos_modal.description'|trans }}</p><div class="is-ButtonArea"><button data-dismiss="modal" class="is-Button is-Button_Primary is-full-width">{{ 'journey.traveller_profile.subscriptions_infos_modal.i_understood'|trans }}</button></div></div></div></div></div><div class="is-ActiveSubscriptions is-ActiveSubscriptions_Empty"><div class="is-ActiveSubscriptions-ListWrapper"><p class="is-ActiveSubscriptions-EmptyList">{{ 'journey.traveller_profile.no_subscriptions'|trans }}</p></div><adata-toggle="modal"class="is-AdvancedSearch-ConfigureSubscriptionsLink{{ not is_granted('IS_AUTHENTICATED_REMEMBERED') ? ' is-ShowLoginModalButton' : '' }}"data-target="{{ is_granted('IS_AUTHENTICATED_REMEMBERED') ? '#is-SubscriptionsModal' : '#is-LoginModal' }}">{{ 'journey.traveller_profile.configure'|trans }}</a></div><div id="is-SubscriptionsModal" class="is-Modal is-SubscriptionsModal is-fade" tabindex="-1" role="dialog" aria-labelledby="is-SubscriptionsModal-Label"><div class="is-Modal-Dialog" role="document"><div class="is-Modal-Content"><div class="is-Modal-Header"><button type="button" class="is-Close" data-dismiss="modal" aria-label="{{ 'close' | trans }}"><i class="is-Icon is-Icon-com-close-thin" aria-hidden="true"></i></button><h1 class="is-Modal-Title" id="is-SubscriptionsModal-Label">{{ 'journey.traveller_profile.my_subscriptions'|trans }}</h1></div><div class="is-Modal-Body"></div></div></div></div></div>{% endif %}{% if preferences.displayMode %}<div class="is-Field" role="group" aria-labelledby="is-user-preference-modes"><p class="is-AdvancedSearch-Label" id="is-user-preference-modes">{{ "user.preferences.modes" | trans }}</p><div class="is-Modes-Lists_Wrapper"><ul class="is-Modes-List is-Modes-List_Left">{% if modes|length < 6 %}{% for mode in modes %}<li class="is-Modes-List-Item"><label class="is-CheckboxLabel" for="is-IncludedModes-{{ mode }}"><input class="is-includedMode is-Checkbox{% if mode not in preferences.tripPlanner.excludedModes %} is-Checkbox_Checked" checked="checked"{% else %}"{% endif %} type="checkbox" id="is-IncludedModes-{{ mode }}" name="includedModes[]" value="{{ mode }}" /><i class="is-Icon is-Icon-com-checkbox" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ ('mode.'~(mode | lower)) | trans }}</label></li>{% endfor %}{% else %}{% set halfModes = (modes|length / 2)|round(0, 'ceil') %}{% for mode in modes|slice(0, halfModes) %}<li class="is-Modes-List-Item"><label class="is-CheckboxLabel" for="is-IncludedModes-{{ mode }}"><input class="is-includedMode is-Checkbox{% if mode not in preferences.tripPlanner.excludedModes %} is-Checkbox_Checked" checked="checked"{% else %}"{% endif %} type="checkbox" id="is-IncludedModes-{{ mode }}" name="includedModes[]" value="{{ mode }}" /><i class="is-Icon is-Icon-com-checkbox" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ ('mode.'~(mode | lower)) | trans }}</label></li>{% endfor %}</ul><ul class="is-Modes-List is-Modes-List_Right">{% for mode in modes|slice(halfModes, modes|length) %}<li class="is-Modes-List-Item"><label class="is-CheckboxLabel" for="is-IncludedModes-{{ mode }}"><input class="is-includedMode is-Checkbox{% if mode not in preferences.tripPlanner.excludedModes %} is-Checkbox_Checked" checked="checked"{% else %}"{% endif %} type="checkbox" id="is-IncludedModes-{{ mode }}" name="includedModes[]" value="{{ mode }}" /><i class="is-Icon is-Icon-com-checkbox" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ ('mode.'~(mode | lower)) | trans }}</label></li>{% endfor %}</ul>{% endif %}</div></div>{% endif %}{% if enable_hurry_traveler is defined and enable_hurry_traveler == true %}<div class="is-Drawers-ItemToggle"><span class="is-Drawers-ItemToggleLabel is-AdvancedSearch-Label">{{ 'mode.hurryTraveler' | trans }}</span><label class="is-Drawers-ItemToggleButton is-ToggleButton" id="is-toggle_Preferences"><input class="is-HurryTravellerToggleInput" type="checkbox"><span class="is-ToggleButton-Switcher"></span></label></div>{% endif %}<div class="is-Field" {% if enable_hurry_traveler is defined and enable_hurry_traveler == true %}id="is-group_Preferences"{% endif %}>{% if preferences.restrictScholar %}<div class="is-Field" id="is-ScholarLines" role="group" aria-labelledby="is-scholar-lines"><label class="is-AdvancedSearch-Label" for="is-ScholarLines" id="is-scholar-lines">{{ 'user.preferences.scholar_lines' | trans }}</label><label class="is-CheckboxLabel" for="is-Scholar"><input class="is-ScholarLines is-Checkbox" type="checkbox" id="is-Scholar" name="scholarLines" value="{{ constant('App\\Model\\ResultCriterion::RESTRICT_SCHOLAR') }}" /><i class="is-Icon is-Icon-com-checkbox" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ 'user.preferences.restrict_scholar_lines' | trans }}</label></div>{% elseif preferences.displayScholar %}<div class="is-Field" id="is-ScholarLines" role="group" aria-labelledby="is-scholar-lines"><label class="is-AdvancedSearch-Label" for="is-ScholarLines" id="is-scholar-lines">{{ 'user.preferences.scholar_lines' | trans }}</label><label class="is-CheckboxLabel" for="is-Scholar"><input class="is-ScholarLines is-Checkbox is-Checkbox_Checked" checked="checked" type="checkbox" id="is-Scholar" name="scholarLines" value="{{ constant('App\\Model\\ResultCriterion::INCLUDE_SCHOLAR') }}" /><i class="is-Icon is-Icon-com-checkbox" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ 'user.preferences.use_scholar_lines' | trans }}</label></div>{% endif %}{% if preferences.displayWalkSpeed %}<div class="is-Field" id="is-WalkProfile" role="group" aria-labelledby="is-walk-profile"><label class="is-AdvancedSearch-Label" for="is-WalkProfile" id="is-walk-profile">{{ 'user.preferences.walk_profile' | trans }}</label><ul class="is-RadioBtn-List is-RadioBtn-List_Vertical"><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-WalkProfile_FAST"><input class="is-RadioBtn{% if preferences.tripPlanner.walkProfile == constant('App\\Model\\PreferenceProfiles::WALK_PROFILE_FAST') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-WalkProfile_FAST" name="walkProfile" value="2" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.walk_fast" | trans }}</label></li><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-WalkProfile_NORMAL"><input class="is-RadioBtn{% if preferences.tripPlanner.walkProfile == constant('App\\Model\\PreferenceProfiles::WALK_PROFILE_NORMAL') or preferences.tripPlanner.walkProfile is empty %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-WalkProfile_NORMAL" name="walkProfile" value="1" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.walk_normal" | trans }}</label></li><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-WalkProfile_SLOW"><input class="is-RadioBtn{% if preferences.tripPlanner.walkProfile == constant('App\\Model\\PreferenceProfiles::WALK_PROFILE_SLOW') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-WalkProfile_SLOW" name="walkProfile" value="0" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.walk_slow" | trans }}</label></li></ul></div>{% endif %}{% if preferences.displayBikeLevel %}<div class="is-Field" id="is-BikeProfile" role="group" aria-labelledby="is-bike-profile"><label class="is-AdvancedSearch-Label" for="is-BikeProfile" id="is-bike-profile">{{ 'user.preferences.bike_profile_v2' | trans }}</label><ul class="is-RadioBtn-List is-RadioBtn-List_Vertical"><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-BikeProfile_SLOW"><input class="is-RadioBtn{% if preferences.tripPlanner.bikeProfile == constant('App\\Model\\PreferenceProfiles::BIKE_PROFILE_SLOW') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-BikeProfile_SLOW" name="bikeProfile" value="0" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.bike_slow_v2" | trans }} <span class="is-Bike-Speed-Label">({{ "user.preferences.bike_slow_v2_km" | trans }})</span></label></li><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-BikeProfile_NORMAL"><input class="is-RadioBtn{% if preferences.tripPlanner.bikeProfile == constant('App\\Model\\PreferenceProfiles::BIKE_PROFILE_NORMAL') or preferences.tripPlanner.bikeProfile is empty %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-BikeProfile_NORMAL" name="bikeProfile" value="1" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.bike_normal_v2" | trans }} <span class="is-Bike-Speed-Label"> ({{ "user.preferences.bike_normal_v2_km" | trans }})</span></label></li><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-BikeProfile_FAST"><input class="is-RadioBtn{% if preferences.tripPlanner.bikeProfile == constant('App\\Model\\PreferenceProfiles::BIKE_PROFILE_FAST') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-BikeProfile_FAST" name="bikeProfile" value="2" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.bike_fast_v2" | trans }} <span class="is-Bike-Speed-Label"> ({{ "user.preferences.bike_fast_v2_km" | trans }})</span></label></li>{% if preferences.displayVTT %}<li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-BikeProfile_VTT"><input class="is-RadioBtn{% if preferences.tripPlanner.bikeProfile == constant('App\\Model\\PreferenceProfiles::BIKE_PROFILE_VTT') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-BikeProfile_VTT" name="bikeProfile" value="3" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.bike_vtt_v2" | trans }} <span class="is-Bike-Speed-Label"> ({{ "user.preferences.bike_vtt_v2_km" | trans }})</span></label></li>{% endif %}{% if preferences.displayVAE %}<li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-BikeProfile_VAE"><input class="is-RadioBtn{% if preferences.tripPlanner.bikeProfile == constant('App\\Model\\PreferenceProfiles::BIKE_PROFILE_VAE') %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-BikeProfile_VAE" name="bikeProfile" value="4" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "user.preferences.bike_vae_v2" | trans }} <span class="is-Bike-Speed-Label"> ({{ "user.preferences.bike_vae_v2_km" | trans }})</span></label></li>{% endif %}</ul></div>{% endif %}</div>{% if preferences.displayAccessibility %}<div class="is-Field"><label class="is-AdvancedSearch-Label" for="is-WheelchairAccessible">{{ 'user.preferences.wheelchair_accessible' | trans }}</label><ul class="is-RadioBtn-List is-RadioBtn-List_Horizontal"><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-WheelchairAccessible_NO"><input class="is-RadioBtn{% if not preferences.tripPlanner.wheelchairAccessible %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-WheelchairAccessible_NO" name="wheelchairAccessible" value="false" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "widget.no" | trans }}</label></li><li class="is-RadioBtn-Item"><label class="is-RadioLabel" for="is-WheelchairAccessible_YES"><input class="is-RadioBtn{% if preferences.tripPlanner.wheelchairAccessible %} is-RadioBtn_Checked" checked="checked"{% else %}"{% endif %} type="radio" id="is-WheelchairAccessible_YES" name="wheelchairAccessible" value="true" /><i class="is-Icon is-Icon-com-radio-btn" aria-hidden="true"><i class="is-path1"></i><i class="is-path2"></i><i class="is-path3"></i></i>{{ "widget.yes" | trans }}</label></li></ul></div>{% endif %}