src/PortalBundle/Resources/views/Service/car-repair.html.twig line 1

Open in your IDE?
  1. {% extends '@Portal/template.html.twig' %}
  2. {% block head %}
  3.     <title>{{ 'seo.car_repair_new.title'|trans({}, 'portal_base') }}</title>
  4.     <meta name="description" content="{{ 'seo.car_repair_new.description'|trans({}, 'portal_base') }}"/>
  5.     <link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/portal/css/portalServiceCarRepair.css?{{ VERSION }}">
  6. {% endblock head %}
  7. {% block css %}
  8.     <link rel="stylesheet" href="{{ asset('bundles/portal/css/service-by-dealer.css') }}">
  9. {% endblock  %}
  10. {% block content %}
  11. <section class="breadcrumbs__new">
  12.     <div class="container">
  13.         <ol class="vidi_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  14.             <li class="marker__none" itemprop="itemListElement" itemscope
  15.                 itemtype="https://schema.org/ListItem">
  16.                 <a itemprop="item" href="{{ path('portal_homepage') }}">
  17.                     <span class="breadcrumbs__link" itemprop="name">VIDI.UA</span></a>
  18.                 <meta itemprop="position" content="1"/>
  19.             </li>
  20.             <div class="arrow-bc"></div>
  21.             <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  22.                 itemtype="https://schema.org/ListItem">
  23.                 <a itemprop="item" href="{{ path('portal_service') }}">
  24.                     <span class="breadcrumbs__link" itemprop="name">{{ 'service.all.service'|trans({}, 'portal_base') }}</span>
  25.                 </a>
  26.                 <meta itemprop="position" content="2"/>
  27.             </li>
  28.             <div class="arrow-bc"></div>
  29.             <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  30.                 <span style="color: #ABABAB" class="breadcrumbs__link" itemprop="name">{{ 'service.car_repair'|trans({}, 'portal_base') }}</span>
  31.                 <meta itemprop="position" content="2"/>
  32.             </li>
  33.         </ol>
  34.     </div>
  35. </section>
  36. {# Page 1 #}
  37. <div>
  38.     <section class="section_service_banner">
  39.         <div class="container">
  40.             {% if app.request.locale == 'ru' %}
  41.                 <h1 class="service_title">{{ seoMeta.h1 ?? 'service.car_repair_page.h1'|trans({}, 'portal_base') }}</h1>
  42.             {% else %}
  43.                 <h1 class="service_title">{{ 'service.car_repair_page.h1'|trans({}, 'portal_base') }}</h1>
  44.             {% endif %}
  45.             <div class="service_banner_wrapper">
  46.                 <div class="service_banne_info_box">
  47.                     <p class="service_banne_title">{{ 'service.car_repair_page.title'|trans({}, 'portal_base') }}
  48.                         <span>VIDI</span>
  49.                     </p>
  50.                     <div class="service_banner_adresss">
  51.                         <div class="service_banner_adresss_box">
  52.                             <svg width="24" height="25" viewbox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  53.                                 <path d="M12 13.25C13.6569 13.25 15 11.9069 15 10.25C15 8.59315 13.6569 7.25 12 7.25C10.3431 7.25 9 8.59315 9 10.25C9 11.9069 10.3431 13.25 12 13.25Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  54.                                 <path d="M19.5 10.25C19.5 17 12 22.25 12 22.25C12 22.25 4.5 17 4.5 10.25C4.5 8.26088 5.29018 6.35322 6.6967 4.9467C8.10322 3.54018 10.0109 2.75 12 2.75C13.9891 2.75 15.8968 3.54018 17.3033 4.9467C18.7098 6.35322 19.5 8.26088 19.5 10.25V10.25Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  55.                             </svg>
  56.                             <span>{{ 'service.car_repair_page.kyiv'|trans({}, 'portal_base') }}</span>
  57.                         </div>
  58.                         <div class="service_banner_adresss_box">
  59.                             <svg width="24" height="25" viewbox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  60.                                 <path d="M12 13.25C13.6569 13.25 15 11.9069 15 10.25C15 8.59315 13.6569 7.25 12 7.25C10.3431 7.25 9 8.59315 9 10.25C9 11.9069 10.3431 13.25 12 13.25Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  61.                                 <path d="M19.5 10.25C19.5 17 12 22.25 12 22.25C12 22.25 4.5 17 4.5 10.25C4.5 8.26088 5.29018 6.35322 6.6967 4.9467C8.10322 3.54018 10.0109 2.75 12 2.75C13.9891 2.75 15.8968 3.54018 17.3033 4.9467C18.7098 6.35322 19.5 8.26088 19.5 10.25V10.25Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  62.                             </svg>
  63.                             <span>{{ 'service.car_repair_page.kyiv_region'|trans({}, 'portal_base') }}</span>
  64.                         </div>
  65.                     </div>
  66.                     <p class="service_banne_text">{{ 'service.car_repair_page.sub_title'|trans({}, 'portal_base') }}</p>
  67.                     <button class="registration_service_btn service_banner_btn service_banner_btn_mob open_service_module">{{ 'service.car_repair_page.sign_up_repair'|trans({}, 'portal_base') }}</button>
  68.                 </div>
  69.                 <img class="service_banner" style="max-height: 350px" src="{{ asset('bundles/portal/img/service/service-banner-without-man.png') }}" alt="service_banner">
  70.             </div>
  71.         </div>
  72.     </section>
  73.     <section class="section_prices_services">
  74.         <div class="container">
  75.             <p class="prices_services_title">{{ 'service.car_repair_page.our_serviсes'|trans({}, 'portal_base') }}</p>
  76.             <div class="services-repair-slider">
  77.                 {% for category in servicesCategory %}
  78.                     <div>
  79.                         <div class="prices_services_box">
  80.                             <div class="prices_name_wrapper">
  81.                                 <span class="prices_name_number">0{{ loop.index }}</span>
  82.                                 <p class="prices_name">{{ category.category.getTitle(app.request.locale) }}</p>
  83.                             </div>
  84.                             <div class="maintenance_item_wrapper">
  85.                                 {% for service in category.subCategory %}
  86.                                     {% if loop.index <= 5 %}
  87.                                         <a class="maintenance-item"  href="{{ path('portal_service_page_work_group_content', { 'work_group': category.category.url, 'sub_group': service.category.url }) }}">{{ service.category.getTitle(app.request.locale) }}</a>
  88.                                     {% endif %}
  89.                                 {% endfor %}
  90.                             </div>
  91.                             <a class="maintenance_more_btn" href="{{ path('portal_service_page_work_group_service', { 'work_group': category.category.url }) }}">{{ 'service.car_repair_page.show_all'|trans({}, 'portal_base') }}</a>
  92.                         </div>
  93.                     </div>
  94.                 {% endfor %}
  95.             </div>
  96.         </div>
  97.     </section>
  98.     <section class="section_why_service">
  99.         <div class="container">
  100.             <p class="prices_services_title">{{ 'service.car_repair_page.why_vidi_service'|trans({}, 'portal_base') }} </p>
  101.             {% if app.request.locale == 'ru' %}
  102.                 {% include '@Portal/Service/translations/why_vidi_service_block_ru.html.twig' %}
  103.             {% else %}
  104.                 {% include '@Portal/Service/translations/why_vidi_service_block_ua.html.twig' %}
  105.             {% endif %}
  106.         </div>
  107.     </section>
  108.     <section id="serviceDealer" class="section_service_stations">
  109.         <div class="container">
  110.             <div class="service_stations_header">
  111.                 <p class="stations_header_title">{{ 'service.car_repair_page.services_title'|trans({}, 'portal_base') }}</p>
  112.                 <div class="service_stations_filter_wrapper">
  113.                     <div class="stations_filter_select type_city" @click="changeSelect('type_city')">
  114.                         <p class="filter_select_name">
  115.                             <span v-if="!selectCityId">{{ 'service.car_repair_page.select_location'|trans({}, 'portal_base') }}</span>
  116.                             <span v-else v-html="optionsCities[selectCityId].value"></span>
  117.                             <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  118.                                 <path d="M14.0667 5.91666L8.46668 11.5333C8.40002 11.6 8.32779 11.6473 8.25002 11.6753C8.17224 11.7033 8.08891 11.7171 8.00002 11.7167C7.91113 11.7167 7.82779 11.7029 7.75002 11.6753C7.67224 11.6478 7.60002 11.6004 7.53335 11.5333L1.91668 5.91666C1.76113 5.76111 1.68335 5.56666 1.68335 5.33333C1.68335 5.1 1.76668 4.9 1.93335 4.73333C2.10002 4.56666 2.29446 4.48333 2.51668 4.48333C2.7389 4.48333 2.93335 4.56666 3.10002 4.73333L8.00002 9.63333L12.9 4.73333C13.0556 4.57778 13.2473 4.5 13.4753 4.5C13.7033 4.5 13.9005 4.58333 14.0667 4.75C14.2334 4.91666 14.3167 5.11111 14.3167 5.33333C14.3167 5.55555 14.2334 5.75 14.0667 5.91666Z" fill="#333333"/>
  119.                             </svg>
  120.                         </p>
  121.                         <ul class="filter_select_group">
  122.                             <li class="filter_select_item" @click="setCity(null)">{{ 'service.car_repair_page.select_location'|trans({}, 'portal_base') }}</li>
  123.                             <li v-for="item in optionsCities" class="filter_select_item" v-html="item.value" @click="setCity(item.id)"></li>
  124.                         </ul>
  125.                     </div>
  126.                     <div class="stations_filter_select type_brand" @click="changeSelect('type_brand')">
  127.                         <p class="filter_select_name">
  128.                             <span v-if="!selectBrandId">{{ 'service.car_repair_page.select_brand'|trans({}, 'portal_base') }}</span>
  129.                             <span v-else v-html="optionsBrands[selectBrandId].value"></span>
  130.                             <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  131.                                 <path d="M14.0667 5.91666L8.46668 11.5333C8.40002 11.6 8.32779 11.6473 8.25002 11.6753C8.17224 11.7033 8.08891 11.7171 8.00002 11.7167C7.91113 11.7167 7.82779 11.7029 7.75002 11.6753C7.67224 11.6478 7.60002 11.6004 7.53335 11.5333L1.91668 5.91666C1.76113 5.76111 1.68335 5.56666 1.68335 5.33333C1.68335 5.1 1.76668 4.9 1.93335 4.73333C2.10002 4.56666 2.29446 4.48333 2.51668 4.48333C2.7389 4.48333 2.93335 4.56666 3.10002 4.73333L8.00002 9.63333L12.9 4.73333C13.0556 4.57778 13.2473 4.5 13.4753 4.5C13.7033 4.5 13.9005 4.58333 14.0667 4.75C14.2334 4.91666 14.3167 5.11111 14.3167 5.33333C14.3167 5.55555 14.2334 5.75 14.0667 5.91666Z" fill="#333333"/>
  132.                             </svg>
  133.                         </p>
  134.                         <ul class="filter_select_group">
  135.                             <li class="filter_select_item" @click="setBrand(null)">{{ 'service.car_repair_page.select_brand'|trans({}, 'portal_base') }}</li>
  136.                             <li v-for="item in optionsBrands" class="filter_select_item" v-html="item.value" @click="setBrand(item.id)"></li>
  137.                         </ul>
  138.                     </div>
  139.                 </div>
  140.             </div>
  141.             <div class="service_stations_wrapper">
  142.                 <div v-for="item in dealers" class="service_stations_box">
  143.                     <img class="service_stations_img" :src="item.logo" :alt="item.title">
  144.                     <div class="service_stations_info">
  145.                         <div class="stations_info-name" :title="item.title" v-html="item.title"></div>
  146.                         <div class="stations_info-box">
  147.                             <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  148.                                 <path d="M7.99976 8.5C9.10433 8.5 9.99976 7.60457 9.99976 6.5C9.99976 5.39543 9.10433 4.5 7.99976 4.5C6.89519 4.5 5.99976 5.39543 5.99976 6.5C5.99976 7.60457 6.89519 8.5 7.99976 8.5Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  149.                                 <path d="M13 6.5C13 11 8 14.5 8 14.5C8 14.5 3 11 3 6.5C3 5.17392 3.52678 3.90215 4.46447 2.96447C5.40215 2.02678 6.67392 1.5 8 1.5C9.32608 1.5 10.5979 2.02678 11.5355 2.96447C12.4732 3.90215 13 5.17392 13 6.5V6.5Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  150.                             </svg>
  151.                             <span class="stations_info-text" :title="item.serviceAddress" v-html="item.serviceAddress"></span>
  152.                         </div>
  153.                         <div class="stations_info-box">
  154.                             <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  155.                                 <path d="M5.77977 7.80126C6.29842 8.8616 7.15792 9.71719 8.2206 10.231C8.29835 10.2678 8.38436 10.2838 8.47015 10.2773C8.55595 10.2708 8.63857 10.2421 8.7099 10.194L10.2746 9.15059C10.3438 9.10444 10.4235 9.07629 10.5063 9.06868C10.5891 9.06107 10.6725 9.07425 10.749 9.10701L13.6763 10.3616C13.7757 10.4038 13.8588 10.4772 13.9128 10.5708C13.9669 10.6643 13.9892 10.7729 13.9762 10.8801C13.8837 11.6041 13.5304 12.2696 12.9826 12.7519C12.4347 13.2342 11.7299 13.5003 11 13.5003C8.74566 13.5003 6.58365 12.6048 4.98959 11.0107C3.39553 9.41665 2.5 7.25465 2.5 5.00031C2.50004 4.27041 2.76612 3.56556 3.24843 3.01773C3.73073 2.46989 4.39618 2.11664 5.12019 2.02412C5.22745 2.01114 5.33602 2.03337 5.42955 2.08746C5.52307 2.14155 5.59649 2.22457 5.63873 2.32401L6.89439 5.25387C6.92687 5.32966 6.9401 5.4123 6.93291 5.49443C6.92572 5.57657 6.89833 5.65565 6.85318 5.72464L5.81341 7.31337C5.76608 7.38484 5.7381 7.46736 5.73221 7.55288C5.72631 7.63839 5.7427 7.72397 5.77977 7.80126V7.80126Z" stroke="#E40C25" stroke-linecap="round" stroke-linejoin="round"/>
  156.                             </svg>
  157.                             <a href="tel:+380445070808" class="stations_info-text" v-html="item.servicePhone"></a>
  158.                         </div>
  159.                         <div class="stations_info-box">
  160.                             <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  161.                                 <g clip-path="url(#clip0_1434_991)">
  162.                                     <path d="M13.6569 2.34314C12.1459 0.832153 10.1368 0 8 0C5.86316 0 3.85413 0.832153 2.34314 2.34314C0.832153 3.85413 0 5.86304 0 7.99988C0 10.1368 0.832153 12.1458 2.34314 13.6567C3.85413 15.1678 5.86316 16 8 16C10.1368 16 12.1459 15.1678 13.6569 13.6569C15.1678 12.1458 16 10.1368 16 7.99988C16 5.86304 15.1678 3.85413 13.6569 2.34314ZM8 15.0624C4.10571 15.0624 0.9375 11.8942 0.9375 7.99988C0.9375 4.10571 4.10571 0.9375 8 0.9375C11.8943 0.9375 15.0625 4.10571 15.0625 8C15.0625 11.8942 11.8943 15.0624 8 15.0624Z" fill="#E40C25"/>
  163.                                     <path d="M13.2004 10.9731C13.7037 10.0966 13.9917 9.0813 13.9917 8C13.9917 6.9187 13.7036 5.90344 13.2004 5.02673C13.1967 5.01917 13.1932 5.0116 13.189 5.00427C13.1831 4.99414 13.1766 4.98474 13.1702 4.97522C12.6504 4.09009 11.9099 3.34961 11.0248 2.82983C11.0154 2.82336 11.006 2.81689 10.996 2.81104C10.9885 2.80676 10.9808 2.80334 10.9733 2.79956C10.0967 2.29626 9.0813 2.0083 8 2.0083C6.91858 2.0083 5.90332 2.29639 5.02661 2.79956C5.01917 2.80334 5.0116 2.80676 5.00415 2.81104C4.99426 2.81677 4.98486 2.82324 4.97546 2.82959C4.09033 3.34937 3.34973 4.08984 2.82983 4.97498C2.82336 4.98462 2.81689 4.99402 2.81091 5.00427C2.80664 5.01172 2.8031 5.01941 2.79932 5.0271C2.29626 5.90369 2.0083 6.91882 2.0083 7.99988C2.0083 9.08105 2.29626 10.0962 2.79932 10.9728C2.8031 10.9805 2.80664 10.9882 2.81104 10.9957C2.81763 11.0072 2.82483 11.0182 2.83228 11.0289C3.35193 11.9122 4.09155 12.6512 4.97534 13.1702C4.98474 13.1766 4.99414 13.1831 5.00415 13.1888C5.0144 13.1948 5.0249 13.2002 5.0354 13.2053C5.91016 13.7054 6.92224 13.9916 8 13.9916C9.07776 13.9916 10.0898 13.7054 10.9646 13.2053C10.9751 13.2002 10.9855 13.1948 10.9958 13.1888C11.0059 13.1831 11.0151 13.1766 11.0247 13.1703C11.9084 12.6512 12.6481 11.9121 13.1678 11.0288C13.1752 11.0181 13.1824 11.0072 13.189 10.9957C13.1932 10.9884 13.1967 10.9807 13.2004 10.9731ZM10.9213 12.1222L10.9164 12.1138C10.7869 11.8896 10.5001 11.8129 10.276 11.9423C10.0518 12.0717 9.97498 12.3584 10.1045 12.5825L10.11 12.592C9.60242 12.8262 9.04968 12.9785 8.46875 13.0322V13.0208C8.46875 12.762 8.25891 12.552 8 12.552C7.74109 12.552 7.53125 12.762 7.53125 13.0208V13.0322C6.95032 12.9785 6.39771 12.8262 5.89001 12.592L5.89551 12.5825C6.02502 12.3584 5.94824 12.0717 5.724 11.9423C5.49976 11.8127 5.21301 11.8896 5.08362 12.1138L5.07874 12.1222C4.61438 11.7921 4.20789 11.3857 3.87781 10.9213L3.88611 10.9164C4.11035 10.787 4.18713 10.5004 4.05774 10.2761C3.92822 10.0519 3.6416 9.97498 3.41736 10.1045L3.40796 10.11C3.17371 9.60229 3.02136 9.04968 2.96777 8.46863H2.97913C3.23804 8.46863 3.44788 8.25879 3.44788 7.99988C3.44788 7.74109 3.23804 7.53113 2.97913 7.53113H2.96777C3.02136 6.9502 3.17371 6.39758 3.40784 5.88989L3.41748 5.89551C3.49133 5.93811 3.5719 5.95837 3.65137 5.95837C3.81335 5.95837 3.97095 5.87427 4.05786 5.72375C4.18726 5.49963 4.11035 5.21289 3.88611 5.0835L3.87769 5.07861C4.20776 4.61426 4.61426 4.20776 5.07874 3.87769L5.08362 3.88611C5.17041 4.03662 5.328 4.12061 5.48999 4.12061C5.56946 4.12061 5.65015 4.10034 5.72388 4.05774C5.94812 3.92822 6.0249 3.6416 5.89551 3.41736L5.89001 3.40784C6.39758 3.17371 6.95032 3.02136 7.53113 2.96777V2.97913C7.53113 3.23804 7.74109 3.44788 7.99988 3.44788C8.25879 3.44788 8.46863 3.23804 8.46863 2.97913V2.96777C9.04968 3.02136 9.60229 3.17371 10.11 3.40784L10.1045 3.41736C9.97498 3.6416 10.0518 3.92822 10.2759 4.05774C10.3497 4.10034 10.4303 4.12061 10.5099 4.12061C10.6719 4.12061 10.8295 4.03662 10.9163 3.88623L10.9211 3.87769C11.3856 4.20776 11.7921 4.61426 12.1222 5.07874L12.1138 5.08362C11.8895 5.21301 11.8126 5.49963 11.9421 5.72388C12.0289 5.87439 12.1865 5.95837 12.3485 5.95837C12.428 5.95837 12.5085 5.93811 12.5824 5.89551L12.592 5.89001C12.8262 6.39758 12.9785 6.95032 13.0321 7.53125H13.0208C12.7618 7.53125 12.552 7.74109 12.552 8C12.552 8.25879 12.7618 8.46875 13.0208 8.46875H13.0321C12.9785 9.04968 12.8262 9.60242 12.5919 10.11L12.5825 10.1045C12.3583 9.97498 12.0715 10.0519 11.9421 10.2761C11.8127 10.5004 11.8895 10.787 12.1138 10.9164L12.1222 10.9213C11.7921 11.3856 11.3856 11.7921 10.9213 12.1222Z" fill="#E40C25"/>
  164.                                     <path d="M10.5104 7.53101H8.46875V4.9873C8.46875 4.72852 8.25891 4.51855 8 4.51855C7.74109 4.51855 7.53125 4.72852 7.53125 4.9873V7.99976C7.53125 8.25867 7.74109 8.46851 8 8.46851H10.5104C10.7693 8.46851 10.9791 8.25867 10.9791 7.99976C10.9791 7.74097 10.7693 7.53101 10.5104 7.53101Z" fill="#E40C25"/>
  165.                                 </g>
  166.                                 <defs>
  167.                                     <clipPath id="clip0_1434_991">
  168.                                         <rect width="16" height="16" fill="white"/>
  169.                                     </clipPath>
  170.                                 </defs>
  171.                             </svg>
  172.                             <p class="stations_info-text">Пн-Нд:
  173.                                 <span v-html="item.serviceOpenTime"></span>-<span v-html="item.serviceCloseTime"></span>
  174.                             </p>
  175.                         </div>
  176.                         {# <a class="service_stations-link open_service_module" href="#">Записатись на сервіс</a> #}
  177.                         <p :data-dealerId="item.id" class="service_stations-link open-service-with-dealer">{{ 'service.car_repair_page.sign_up_service'|trans({}, 'portal_base') }}</p>
  178.                         <a class="service_stations-link" target="_blank" :href="item.serviceMapUrl">{{ 'service.car_repair_page.make_route'|trans({}, 'portal_base') }}</a>
  179.                     </div>
  180.                 </div>
  181.             </div>
  182.         </div>
  183.     </section>
  184.     <section class="section__accordion__site">
  185.         {% if app.request.locale == 'ru' %}
  186.             {% include '@Portal/Service/translations/car_repair_faq_block_ru.html.twig' %}
  187.         {% else %}
  188.             {% include '@Portal/Service/translations/car_repair_faq_block_ua.html.twig' %}
  189.         {% endif %}
  190.     </section>
  191. </div>
  192.     <div id="serviceModule">
  193.     {# =====================MODAL========================= #}
  194.     {% include '@Portal/Service/service-booking-modal.html.twig' %}
  195.     </div>
  196. {% endblock %}
  197. {% block script %}
  198.  <script src="/dist/{{ MODE }}/portal/js/portalServiceCarRepair.js?{{ VERSION }}"></script>
  199.   <script>
  200.      // openTooltip
  201.          function openTooltip(targetSelector) {
  202.         $(targetSelector).toggleClass("active");
  203.      }
  204.     </script>
  205.     <script>
  206.         $(() => {
  207.             const obj = new portal.portalServiceCarRepair.CarRepair();
  208.             obj.init({
  209.             });
  210.             obj.initService({
  211.                 initServiceUrl: '{{ path('online-init-service') }}',
  212.                 findVehicleUrl: '{{ path('online-service-find') }}',
  213.                 findModelDealerUrl: '{{ path('online-service-find-model-dealer') }}',
  214.                 findServiceVariationUrl: '{{ path('online-find-service-variation') }}',
  215.                 getWorkByVariation: '{{ path('online-service-find-work') }}',
  216.                 getTimesUrl: '{{ path('online-service-get-time') }}',
  217.                 byModelUrl: '{{ path('online-service-load-by-model') }}',
  218.                 bookingUrl: '{{ path('online-service-booking') }}',
  219.                 confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
  220.                 findServiceUrl: '{{ path('online-service-find') }}',
  221.                 serviceNightBookingUrl: '{{ path('portal_service_night_booking') }}',
  222.                 privacyUrl: '{{ privacyUrl }}',
  223.                 privacyNightUrl: '{{ path('my_profile_night_service_agreement') }}',
  224.                 catalogUrl: '{{ path('portal_new_catalog', {state: 'new', type: 'car'} ) }}',
  225.                 carNumberLength: 8,
  226.             }),
  227.             obj.initServiceDealer({
  228.                 regulationsDealers: {{ regulationDealers|json_encode|raw }},
  229.             });
  230.         });
  231.     </script>
  232. {% endblock script %}