<!DOCTYPE html>
<html lang="{% if app.request.locale == 'ua' %}uk-ua{% else %}ru-ua{% endif %}">
<head>
{% if app.environment == 'dev' %}
<meta name="robots" content="noindex, nofollow">
<meta name="google-site-verification" content="FWJj2KVU8sswZ4I7nJAffMG7Tj8xgkCr3XX-FgBmAus" />
{% endif %}
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0"/>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icon-16x16.png">
<link rel="stylesheet" type="text/css"
href="/dist/{{ MODE }}/dcsite/unicommerce/css/unicommerce.css?{{ VERSION }}">
{% block canonical %}
{% include '@DcSite/Modules/canonical.html.twig' %}
{% endblock canonical %}
{% block head %}
{% endblock head %}
{% block ogtagStatic %}
{% include '@DcSite/Modules/og-tag.html.twig' %}
{% endblock ogtagStatic %}
{% block ogtagDynamicImage %}
{% if dealer.brand %}<meta property="og:image" content="{{ app.request.httpHost }}{{ sonata_path(dealer.brand.logo, 'reference') }}">{% else %}<meta property="og:image" content="/bundles/portal/img/front/logo.jpg" />{% endif %}
{% endblock ogtagDynamicImage %}
{% block ogtagDynamic %}
{% endblock ogtagDynamic %}
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TMFTS4NC"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<meta name="google-site-verification" content="871PbzYe1ar560vaq-1G7PmMIQqv3_lkYSUyJBbsF9M" />
{% include '@DcSite/Modules/pixel-code.html.twig' %}
{% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': 'specteh-vidi.com.ua', 'gtmIdCode': 'GTM-TMFTS4NC' } %}
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TMFTS4NC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% block socialPreview %}{% endblock socialPreview %}
<div class="wrapper">
{% include '@DcSite/Unicommerce/header.html.twig' %}
<main class="main">
{% block content %}
{% endblock content %}
</main>
{% include '@DcSite/Unicommerce/footer.html.twig' %}
{% include '@DcSite/Toyota_Borispol/Modules/lifting-up.html.twig' %}
{% include '@DcSite/Modules/callback/widget.html.twig' %}
{% include '@DcSiteBundle/Modules/preloader.html.twig' %}
{% include '@My/Modules/auth.html.twig' %}
{% include '@DcSite/Modules/vidiCoreMessageWrapper.html.twig' %}
{% include '@DcSiteBundle/Modules/sps-popup.html.twig' %}
{# {% include '@My/Modules/cookies-warning.html.twig' %}#}
</div>
<iframe style="display: none" src="{{ path('my_ios_cross_domain_auth') }}"></iframe>
{% set urlResult = backLoginUrl is defined and backLoginUrl ? backLoginUrl : path('my_about_car') %}
<script src="/dist/{{ MODE }}/dcsite/unicommerce/js/unicommerce.js?{{ VERSION }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
{% if app.user %}
window.dataLayer.push({'user_id': {{ app.user.id }}});
{% endif %}
window.app = {
options: {
version: '{{ VERSION }}',
locale: '{{ app.request.locale }}'
},
user: {
id: {% if app.user %} {{ app.user.id }} {% else %}null{% endif %},
name: {% if app.user %} '{{ app.user.fullName }}' {% else %}null{% endif %}
}
};
$(() => {
{#window.core.modules.initCookies({#}
{# policyUrl: "{{ path('unicommerce_privacy-policy') }}"#}
{#});#}
window.core.modules.initCallbacks({
initUrl: "{{ path('callback_widget_init') }}",
createUrl: "{{ path('callback_widget_create_request') }}",
getStateUrl: "{{ path('callback_widget_get_state') }}",
callBackMinute: "{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}",
callBackWorkingHours: "{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}"
});
window.core.modules.initAuthRegistration({
locale: "{{ app.request.locale }}",
fbAuthUrl: "{{ path('my_auth_fb_user') }}",
googleAuthUrl: "{{ path('my_auth_google_user') }}",
registerConfoirmUrl: "{{ path('my_register_confirm') }}",
profileUrl: '{{ urlResult }}',
getCodeUrl: "{{ path('my_register_get_code') }}",
resendCodeUrl: "{{ path('my_register_resend_reg_code') }}",
loginCodeUrl: "{{ path('core_register_code_login') }}",
messageRegisterSuccessTitle: "{{ 'app.message.register.success_title'|trans({},'core') }}",
messageRegisterSuccessText: "{{ 'app.message.register.success_text'|trans({},'core') }}",
messageLoginErrorPassword: "{{ 'app.message.login.error_password'|trans({}, 'core') }}",
messageLoginErrorEmail: "{{ 'app.message.login.error_email'|trans({}, 'core') }}"
});
window.core.modules.initAuthChangePhone({
locale: "{{ app.request.locale }}",
messageLoginErrorEmail: "{{ 'app.message.login.error_email'|trans({}, 'core') }}",
getCodeChangePhoneUrl: "{{ path('my_change_phone_get_code') }}",
setNewPhoneUrl: "{{ path('my_change_phone_set_phone') }}",
loginCodeUrl: "{{ path('core_register_code_login') }}",
confirmNewPhoneUrl: "{{ path('my_confirm_new_phone') }}",
profileUrl: "{{ path('my_about_car') }}"
});
window.app.message = window.core.modules.initMessage({
templateUrl: "{{ path('core_message_load_template') }}",
text: {
btnCancel: "{{ 'app.message.cancel'|trans({},'core') }}"
}
});
window.app.http = window.core.modules.initHttp({
requestErrorText: "{{ 'app.http.server_error'|trans({},'core') }}"
});
window.app.preLoader = window.core.modules.initPreloader({
templateUrl: "{{ path('core_preloader_load_template') }}"
});
window.app.leadForms = window.core.modules.initLeadForms({
captchaUrl: '{{ path('base_capthcha_init') }}',
text: {
successTitle: '{{ 'modules.sps_form_title'|trans({}, 'dc_base') }}',
successText: '{{ 'modules.sps_form_subtitle'|trans({}, 'dc_base') }}',
buttonText: '{{ 'pages.base.ok'|trans({}, 'dc_base') }}'
},
href: {
buttonSuccess: null,
},
});
window.app.Favorit = window.core.modules.initFavorite({
addUrl: "{{ path('portal_add_favl') }}",
removeUrl: "{{ path('portal_remove_favl') }}"
})
window.Track = window.core.modules.initTrack()
});
</script>
{% block script %}
{% endblock script %}
</body>
</html>