<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <!-- default -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" >
<meta name="Content-Type" content="text/html; charset=utf-8" >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<meta name="Cache-Control" content="no-store, no-cache, must-revalidate" >
<meta name="Expires" content="Mon, 20 Dec 1998 01:00:00 GMT" >  <title>АО "Единая электронная торговая площадка"</title>
              <link href="/resources/ext2/resources/css/ext-all.css" media="screen" rel="stylesheet" type="text/css" >
<link href="/resources/ext/ux/Multiselect2.css" media="screen" rel="stylesheet" type="text/css" >
<link href="/css/autocomplete.css" media="screen" rel="stylesheet" type="text/css" >
<link href="/css/default.css?_dc=1751541284" media="screen" rel="stylesheet" type="text/css" >
<link href="/css/print.css?_dc=1751541284" media="print" rel="stylesheet" type="text/css" >  <script type="text/javascript" src="/resources/jquery/jquery.js"></script>
<script type="text/javascript" src="/resources/ext2/adapter/jquery/ext-jquery-adapter.js"></script>
<script type="text/javascript" src="/resources/ext2/ext-all.js"></script>
<script type="text/javascript" src="/resources/ext2/ext-lang-ru.js"></script>
<script type="text/javascript" src="/resources/ext/FileUploadField.js"></script>
<script type="text/javascript" src="/resources/jquery/bgiframe.js"></script>
<script type="text/javascript" src="/resources/jquery/autocomplete.js"></script>
<script type="text/javascript" src="/resources/calc.js"></script>
<script type="text/javascript" src="/min/js/resources/sprintf-0.6.js?_dc=1751541286"></script>
<script type="text/javascript" src="/min/js/resources/application.js?_dc=1751541286"></script>
<script type="text/javascript" src="/min/js/resources/vtypes.js?_dc=1751541287"></script>
<script type="text/javascript" src="/min/js/resources/eds.js?_dc=1751541286"></script>
<script type="text/javascript" src="/min/js/resources/eds_plugin.js?_dc=1751541286"></script>
<script type="text/javascript" src="/min/js/resources/datastores.js?_dc=1751541286"></script>
<script type="text/javascript" src="/min/js/resources/aggtracking.js?_dc=1751541286"></script>
<script type="text/javascript">
    //<!--
    Ext.currentUser = false;    //-->
</script>
<script type="text/javascript" src="/resources/ext/ux/DDView2.js"></script>    <script type="text/javascript">
    //Ext.onReady(on_application_ready);
    on_application_ready();
  </script>
  <style type="text/css">
    .topFieldSet .x-btn-wrap {
      width: 100% !important;
    }
    #tariffTxt .x-panel-body {
      background: none repeat scroll 0 0 transparent;
    }

    .auth-form * {
        background: none !important;
        border: 0 none;
    }
    .auth-form .x-form-invalid-msg {
        background: transparent url("/resources/ext2/resources/images/default/shared/warning.gif") no-repeat 0 2px !important;
    }
    .auth-form {
        border-radius: 10px;
        padding: 5px 15px 0;
        background: rgb(223, 232, 246);
        border: 1px solid #7C9FCC !important;
    }
    .auth-form input {
        background: #fff !important;
        border: 1px solid #B5B8C8;
        border-radius: 4px  !important;
        padding: 8px 4px !important;
        margin: 7px 0;
        font-size: 18px;
    }
    .auth-form .x-form-invalid-msg {
        width: 100% !important;
    }
    .auth-form button, .auth-form .x-btn-center {
        background: linear-gradient(180deg, #F3F3F3 0%, #DADADA 100%) !important;
        padding: 8px 0;
        font-size: 14px;
        color: #333;
        width: 288px;
        border-radius: 4px !important;
        border: 1px solid #B5B8C8;
        height: 39px;
    }

    .auth-form button:hover, .auth-form .x-btn-center:hover {
        background: linear-gradient(180deg, #bbd7f5 0%, #a5c8ed 100%) !important;
    }

    .auth-form .x-btn-center {
        border: 0 none;
        padding: 0;
    }
    .auth-form .x-btn-left, .auth-form .x-btn-right {
        display: none;
    }

    .btn-login-gos button {
        padding: 3px 0;
    }

    .btn-login-gos div {
        vertical-align:top;
        display:inline-block;
    }
    .btn-login-gos img,p,svg {
        vertical-align:middle;
        display:inline-block;
    }
    .btn-login-gos > img,svg {
        width:16px;
        height:16px;
    }

    .btn-login-mos img {
        height:18.1px;
    }

    .btn-login-ep button, .btn-login-ep .x-btn-center {
        width: 127px;
        display: inline-block;
    }

    .gos-registry button {
        width: 100px;
        height: 26px;
    }

    .gos-registry .x-btn-center {
        padding: 0;
    }

    .gos-registry .x-btn-left {
        border-left: #507499 solid 1px;
        border-radius: 3px 0  0 3px;
    }
    .gos-registry .x-btn-right {
        border-right: #507499 solid 1px;
        border-radius: 0 3px 3px 0;
    }

    .gos-registry .x-btn-left, .gos-registry .x-btn-center, .gos-registry .x-btn-right {
        border-top: #507499 solid 1px;
        border-bottom: #507499 solid 1px;
        background: linear-gradient(to bottom, #f5f6f6 0%, #e1dfdf 45%, #a7a8a8 100%);
    }

    .gos-registry:hover .x-btn-center {
        background: linear-gradient(to bottom, #f8b500 0%,#f8b500 3%,#f5f6f6 8%, #e1dfdf 45%, #a7a8a8 92%,#f8b500 97%,#f8b500 100%);
    }

    .gos-registry:hover .x-btn-left, .gos-registry:hover .x-btn-right {
        background: #f8b500;
    }

    .form-registry .x-fieldset-bwrap, .form-registry .x-fieldset-body {
        overflow: visible;
    }

    .x-panel-noborder .x-panel-header-noborder {
        border-top: 1px solid #99bbe8;
    }

    .x-panel-mc .x-panel-body {
        border-top: none;
    }
    .x-panel-body {
        border: none;
    }

    .auth-form input{
        padding: 11px 10px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
    }

    .auth-form .x-form-invalid {
        border: 1px solid #EB5757 !important;
        background-image: none !important;
    }

    .auth-form .x-form-focus {
        border: 1px solid #15428B !important;
        background-image: none !important;
    }



  </style>
</head>
<body>
<noscript><h1>Внимание! JavaScript должен быть включен!</h1></noscript>
<object	id="oCAPICOM" style="display: none" classid="clsid:A996E48C-D3DC-4244-89F7-AFA33EC60679" codebase="/resources/capicom.cab#version=2,0,0,0"></object>
<object id="certEnrollClassFactory" style="display: none" classid="clsid:884e2049-217d-11da-b2a4-000e7bbb2b09"></object>
<object id="cadesplugin" type="application/x-cades" style="visibility: hidden;"></object>
<script type="text/javascript">
$(document).ready(function(){


var clock = new Ext.Toolbar.TextItem('');
var clockFormat = 'd M H:i';
var server_time_offset = new Date();
var tz_offset = -server_time_offset.getTimezoneOffset()*60000;
server_time_stamp = 1751542544000;
server_time_offset=server_time_offset.getTime() - server_time_stamp + tz_offset - 10800000;
Ext.state.Manager.setProvider(new Ext.state.CookieProvider({expires: new Date(new Date().getTime()+(1000*60*60*1)), domain: 'etp.roseltorg.ru'}));
/*  Ext.BLANK_IMAGE_URL = '/resources/ext/resources/images/default/s.gif';
  Ext.QuickTips.init();
  Ext.form.Field.prototype.msgTarget='side';*/
  var bd = Ext.getBody();


Ext.ns('Ext.ux.layout');
Ext.ux.layout.CenterLayout = Ext.extend(Ext.layout.FitLayout, {
// private
  setItemSize : function(item, size){
      this.container.addClass('ux-layout-center');
      item.addClass('ux-layout-center-item');
      if(item && size.height > 0){
          if(item.width){
              size.width = item.width;
          }
          item.setSize(size);
      }
  }
});
Ext.Container.LAYOUTS['ux.center'] = Ext.ux.layout.CenterLayout;
toolbar_extra = false;
var topmenuToolbar = {autoHeight: true, border: false, width: "auto"};

//$('head').append('<script src="https://www.google.com/recaptcha/api.js" async defer><\/script>');
//<!-- Begin Установка куки с разницей во времени -->
var D = new Date();
var servD = 10800;
var timeOffset = (D.getTimezoneOffset()*60)*(-1)-servD;
var urlParams = new URLSearchParams(window.location.search);

var edsLogin = function () {
    Ext.getCmp('login').emptyText = '';
    Ext.getCmp('password').emptyText = '';

    if ( ''== $('#password').val()) {
    $('#password').val('-');
  }
  if ( ''== $('#login').val()) {
    $('#login').val('Вход по ЭП');
  }
  $('#eds').val('0');
  $('#captcha').val('-');
  if (loginForm.getForm().isValid()) {
    var login_data = '{"eds_login":1,"time":'+Math.round((new Date()).getTime()/1000)+',"stime":1751542544}';
    eds.signMessage({
        message: login_data,
        success: function(result) {
            if(result.message_signed.charAt(0)!='!') {
                eds.updateChoise();
                $('#eds').val(result.message_signed);
                $('#submit').click();
            } else {
              Ext.MessageBox.alert('Ошибка', result.message_signed.substr(1));
              return false;
            }
        },
        failure: function(result) {
            Ext.MessageBox.alert('Ошибка', result.message.substr(1));
            return false;
        }
    });
  }
  return false;
}


var LOGIN_MAGIC_DETECT='4SVvxVNAU6gCm38geJtxf74H6OoLGcTZPvF4qb0wKp8M4zqjP8cNffna19au2PHIIUwfPtqOBLf5t3wYZQeVg762iOgeEBqz';

var cp = new Ext.state.CookieProvider(timeOffset);
//document.cookie="offset=" + timeOffset;
//<!-- End Установка куки с разницей во времени -->
//document.cookie="lock_ip=true";
if (cp.get("lock_ip")==undefined) cp.set("lock_ip",true);

if (cp.get('long_session') == undefined) {
  cp.set('long_session', true);
}
var loginForm = new Ext.FormPanel({
    //standardSubmit: true,
    //method: 'POST',
    url: '/authentication/login',
    //title: 'Вход в систему',
    cls: 'auth-form',
    //cellCls: 'login_form',
    frame: true,
    width: 380,
    //standardSubmit: true,
    style: 'margin: 0 auto; border: none; text-align: center; padding: 0 40px;',
    defaults: {anchor: '100%', allowBlank: false, style:'border-radius: 10px 10px;'},
    items: [
        {
            html: '<b>Вход в торговую секцию <br>«Государственные закупки»</b>',
            style: 'margin: 30px auto 25px; font-size: 16px; color: #111; line-height: 24px;'
        },
        {
            xtype: 'textfield',
            emptyText: 'Логин',
            name: 'login',
            id: 'login',
            hideLabel: true,
            msgTarget: 'side',
                                },
        {
            xtype: 'textfield',
            name: 'password',
            id: 'password',
            inputType: 'password',
            hideLabel: true,
            msgTarget: 'side',
            listeners : {
                render: function(field) {
                    field.getEl().dom.setAttribute('placeholder', 'Пароль');
                }
            }
        },
        {
            html: '<a style="font-size: 14px !important;text-decoration: none;" href="/authentication/restore_password">Забыли пароль?</a>',
            style: 'display: inline-block; text-align: left; '
        },
                {
            xtype: 'panel',
            id: 'captcha_panel',
            anchor: '100%',
            layout: 'form',
            items:[]
        },
                {
            xtype: 'panel',
            html: '<div style="height: 5px;">&nbsp;</div>'
        },
        {
            xtype: 'hidden',
            name: 'url',
            value: urlParams.has('url') ? urlParams.get('url') : null
        },
        {
            xtype: 'hidden',
            name: 'json',
            value: '1'
        }, {
            xtype: 'hidden',
            name: 'eds_login',
            id: 'eds',
            value: '0'
        },
        {
            layout: 'column',
            style: 'margin: 0 auto;',
            items: [
                {
                    columnWidth: 1,
                    items: [
                        {
                            xtype: 'button',
                            type: 'submit',
                            id: 'submit',
                            style: 'margin: 0 auto; margin-top: 6px',
                            cls: 'btn-login',
                            text: '<b>Войти</b>',
                            handler: function () {
                                if (loginForm.getForm().isValid()) {
                                    Ext.Msg.show({
                                        title: 'Осуществляется вход в систему.',
                                        msg: 'Подождите...',
                                        width: 150,
                                        wait: true,
                                        icon: Ext.MessageBox.INFO
                                    });

                                    loginForm.form.submit({
                                        success: function (form, action) {
                                            if (action.result) {
                                                if(action.result.is_select_profile) {
                                                    //lockIp = loginForm.getForm().findField('lock_ip').getValue();
                                                    //longSession = loginForm.getForm().findField('long_session').getValue();
                                                    lockIp = longSession = true;
                                                    document.location.href = '/authentication/selectcompany'
                                                        + '?lock_ip=' + lockIp + '&' + 'long_session=' + longSession;
                                                }
                                                if(action.result.url) {
                                                    document.location.href = '/' + action.result.url;
                                                }
                                            }
                                            return false;
                                        },
                                        failure: function (form, action) {
                                            Ext.Msg.hide();
                                            if (action.result && action.result.captcha) {
                                                if (!window.capcha) {
                                                    Ext.getCmp('captcha_panel').add({
                                                        width: '93%',
                                                        xtype: 'panel',
                                                        html: '<div style="text-align: center; margin: 5px auto;"><img src="/captcha.php?captcha_id=' + action.result.captcha + '" onclick="this.src=\'/captcha.php?captcha_id=' + action.result.captcha + '&t=\'+Math.random();" id="captcha_img" /><div><small>Если код нечитаем, кликните на его изображении левой кнопкой мыши.</small></div></div>'
                                                    });

                                                    Ext.getCmp('captcha_panel').add({
                                                        xtype: 'textfield',
                                                        name: 'captcha',
                                                        id: 'captcha',
                                                        style: 'margin-top: 5px;',
                                                        anchor: '95%',
                                                        fieldLabel: 'Введите код, указанный на картинке&nbsp;' + REQUIRED_FIELD,
                                                        allowBlank: false,
                                                        blankText: 'Поле обязательно для заполнения'
                                                    });

                                                    Ext.getCmp('captcha_panel').add({
                                                        xtype: 'textfield',
                                                        name: 'captcha_id',
                                                        inputType: 'hidden',
                                                        value: ''
                                                    });

                                                    Ext.getCmp('captcha_panel').doLayout();
                                                    window.capcha = true;
                                                    Ext.Msg.alert("Внимание", 'Для авторизации необходимо ввести код, указанный на картинке');
                                                } else {
                                                    Ext.get('captcha_img').set({
                                                        src: '/captcha.php?captcha_id=' + action.result.captcha,
                                                        onclick: "this.src='/captcha.php?captcha_id=" + action.result.captcha + "&t=" + Math.random() + "'"
                                                    });
                                                    Ext.getCmp('captcha').setValue('');
                                                    Ext.getCmp('eds').setValue('0');
                                                    if (action.result && action.result.msg) {
                                                        Ext.Msg.alert("Ошибка", action.result.msg);
                                                    }
                                                }

                                            } else {
                                                Ext.getCmp('eds').setValue('0');
                                                var errorMessage = false;
                                                if (action.result) {
                                                    if ('msg' in action.result) {
                                                        errorMessage = action.result.msg;
                                                    }
                                                    else if ('message' in action.result) {
                                                        errorMessage = action.result.message;
                                                    }
                                                    else {
                                                        errorMessage = 'Произошла неизвестная ошибка';
                                                    }
                                                    Ext.Msg.alert("Ошибка", errorMessage);
                                                }
                                            }
                                        }
                                    });
                                }
                           }
                        }, {
                            html: 'Войти другим способом',
                            style: 'margin: 20px auto; font-size: 14px; color: #9C9DA3;'
                        },
                        {
                            xtype: 'button',
                            style: 'margin: 0 auto; margin-top: 6px;',
                            cls: 'btn-login-gos',
                            text: '<div><img src="/img/gos_text.svg"></div>',
                            handler: function () {
                                window.location.href = '/authentication/esia';
                            }
                        },
                        {
                            style: 'margin-top: 15px;',
                            items: [
                                {
                                    xtype: 'button',
                                    text: '<div><svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium mui-11ypqmq" focusable="false" aria-hidden="true" viewBox="0 0 24 24" width="24" height="24" style="fill: none;"><g clip-path="url(#clip0_6707_13207)"><path d="M1 6V6C1 3.23858 3.23858 1 6 1V1" stroke="#0041CB" stroke-width="2" stroke-linecap="round"></path><path d="M6 23V23C3.23858 23 1 20.7614 1 18V18" stroke="#0041CB" stroke-width="2" stroke-linecap="round"></path><path d="M23 18V18C23 20.7614 20.7614 23 18 23V23" stroke="#0041CB" stroke-width="2" stroke-linecap="round"></path><path d="M18 1V1C20.7614 1 23 3.23858 23 6V6" stroke="#0041CB" stroke-width="2" stroke-linecap="round"></path><path d="M3.5 11.8355C5.38751 11.4196 9.5227 10.4256 10.9634 9.77744C12.7643 8.96725 14.7312 7.75684 15.2317 6.05228C15.7283 4.36126 13.1511 2.78083 11.7127 5.36208C10.4361 7.65322 10.6692 11.1608 10.1781 13.4219C9.68705 15.6829 9.45937 17.3336 8.21536 18.5147C6.80883 19.8502 4.32938 18.2699 6.47883 15.7167C8.55747 13.2475 10.8001 12.2407 12.2733 12.1732C13.7464 12.1057 14.5915 13.6244 13.1511 15.7167C12.7087 16.3592 14.925 12.5109 16.1035 12.1732C17.282 11.8355 18.3792 12.2731 18.4933 13.6244C18.5882 14.7492 17.6532 15.7167 17.1164 16.3914" stroke="#0041CB" stroke-width="2" stroke-linecap="round"></path></g><defs><clipPath id="clip0_6707_13207"><rect width="24" height="24" fill="white"></rect></clipPath></defs></svg><p><b>ЭП<b></p></div>',
                                    cls: 'btn-login-gos btn-login-ep',
                                    style: 'display: inline-block; margin-right: 24px;',
                                    id: 'eds_login_button',
                                                                        handler: edsLogin
                                },{
                                    html: '',
                                    style: 'display: inline-block; margin: 0 5px'
                                },
                                {
                                    xtype: 'button',
                                    style: 'display: inline-block;',
                                    cls: 'btn-login-mos btn-login-ep',
                                    text: '<div><img src="/img/moslogo.png"></div>',
                                    handler: function () {
                                        window.location.href = '/authentication/mosru';
                                    }
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            style: 'text-align: center;font-size: 14px;line-height: 17px;color: #9C9DA3;',
            items: [
                {
                    html: 'Не зарегистрированы?',
                    style: 'display: inline-block; width: 165px;'
                }
            ]
        },
        {
            style: 'margin: 15px auto 20px; font-size: 15px; color: #555555;',
            items: [
                {
                    html: '<a style="text-decoration: none;" href="https://www.roseltorg.ru/#register-supplier">Регистрация</a>',
                    style: 'display: inline-block; width: 165px;'
                }
            ]
        }
    ]
});

  var mainPane = new Ext.Panel({
    title: '<a href="https://www.roseltorg.ru/" target="_blank">Главная</a>',
    autoScroll:true,
    frame: false,
    border: false,
    bodyStyle: 'padding: 20px;',
    items: [loginForm]
  });




  
  (function(m,e,t,r,i,k,a){
      m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
      m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
  })

  (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

  $(document).one('yacounter55154698inited', function () {
      ym(55154698, 'getClientID', function(clientID) {
          var expires_date = new Date((new Date()).getTime() + (365 * 1000 * 60 * 60 * 24));
          Ext.util.Cookies.set('yam-cid', clientID, expires_date);
      });
  });

   ym(55154698, "init", {
        clickmap: true,
        trackLinks: true,
        accurateTrackBounce: true,
        triggerEvent: true
   });
  
    (function(m,e,t,r,i,k,a){
      m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
      m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
  })
  (window, document, "script", "https://www.googletagmanager.com/gtag/js?id=UA-146888930-1", "gtag2");

  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-146888930-1');

  function check_ga() {
      if (typeof ga === 'function') {
          ga('create', 'UA-146888930-1', 'auto');
          ga(function(tracker) {
              var clientID = tracker.get('clientId');
              var expires_date = new Date((new Date()).getTime() + (365 * 1000 * 60 * 60 * 24));
              Ext.util.Cookies.set('gglm-cid', clientID, expires_date);
          });
      } else {
          setTimeout(check_ga, 500);
      }
  }
  check_ga();
  

//<script>
  new Ext.Viewport({
    layout: 'border',
    border: false,
    items: [
    {
      region: 'center',
      id: 'content-area',
      autoScroll: true,
      items:[
                {
          collapsible: false,
                            html: '<div id="header"><div id="logo"><a href="/"><img src="/img/logo.svg" alt="Единая электронная торговая площадка" /></a></div></div>',
                      split: false,
          height: 85,
          minHeight: 85,
          border: false
        }, mainPane
      ],
      border: false
    },
        {
      region: 'south',
      height: 5,
      minHeight: 5,
      border: false,
      bbar: new Ext.StatusBar({
      id: 'word-status',
      defaultText: '&copy; АО "Единая электронная торговая площадка"',
      items: [
        /*
        {
          xtype: 'tbtext',
          style: {paddingRight: '20px;'},
          text: '<a href="/fas/from_main_system.php">Добавить / Ответить на / Отозвать жалобу</a>'
        },
        */
        {
          xtype: 'tbtext',
          text: '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
        },
        clock
      ]
      
      })
      
    }    ]
  });

  try {
    if (undefined!=toolbar_extra && toolbar_extra) {
      var i;
      for (i in toolbar_extra) {
        topmenuToolbar.add(toolbar_extra[i]);
      }
    }
  } catch (e) {
    // IE suppression
  }
  
});
</script>
</body>
</html>