webimApplyServerSideSettings({
    "accountBlocked": false,
    "locationSettings": {
        "button": {
            "kind": "html",
            "slider": {
                "position": "left",
                "top": 150,
                "width": 261,
                "alwaysVisibleWidth": 30
            },
            "corner": {
                "position": "right-bottom"
            },
            "html": {
                "style": {
                    "background-color": "rgba(51,103,204,1)",
                    "border-color": "#FFF"
                },
                "draggable": "N",
                "position": {
                    "top": null,
                    "left": null,
                    "bottom": "0%",
                    "right": "0%"
                }
            },
            "name": "html",
            "offlineEnabled": "N",
            "channels": [
                {
                    "id": "41b07a998b3846f580d6644d387a7fc9"
                },
                {
                    "id": "74042343889c40049032407541477353"
                },
                {
                    "id": "86d63ac3a164476d81b27489c01761cc"
                },
                {
                    "id": "8ebae3dfc4c3404e80d2171300612315"
                }
            ],
            "channel": {
                "default": {
                    "style": {}
                },
                "webim": {
                    "name": "",
                    "style": {
                        "background-color": "rgba(51,103,204,1)",
                        "border-color": "#FFF"
                    }
                }
            }
        },
        "invitation": {
            "dontShow": false,
            "theme": "static",
            "position": "bottom-right",
            "timeout": 90000,
            "avatar": null,
            "bg": null,
            "fontColor": null
        },
        "chat": {
            "lang": "ru",
            "departmentKey": "",
            "chatEnterFirstMessage": "Y",
            "defaultLayout": {
                "size": {
                    "width": "380",
                    "height": 460
                },
                "position": {
                    "right": 10,
                    "bottom": 10
                }
            },
            "hintsEnabled": "N",
            "visitorFields": {
                "def": {
                    "name": {
                        "presence": "mandatory",
                        "validation": {
                            "maxLength": 64
                        }
                    },
                    "email": {
                        "presence": "optional",
                        "validation": {
                            "type": "email"
                        }
                    },
                    "phone": {
                        "presence": "optional",
                        "validation": {
                            "mask": "+375 (XX) XXX-XX-XX"
                        }
                    },
                    "youmagic_number": {
                        "presence": "none"
                    },
                    "icq": {
                        "presence": "none"
                    },
                    "login": {
                        "presence": "none"
                    },
                    "company": {
                        "presence": "none"
                    },
                    "passport_number": {
                        "presence": "none"
                    },
                    "codeword": {
                        "presence": "none"
                    }
                },
                "firstQuestion": [],
                "offlineMode": {
                    "email": {
                        "presence": "mandatory",
                        "validation": {
                            "type": "email"
                        }
                    }
                },
                "contactsRequest": [],
                "callbackHunter": {
                    "phone": {
                        "presence": "mandatory",
                        "validation": {
                            "mask": "+375 (XX) XXX-XX-XX"
                        }
                    }
                }
            },
            "visitorFieldLabels": {
                "name": null,
                "phone": null,
                "email": null,
                "icq": null,
                "login": null,
                "company": null,
                "passport_number": null,
                "codeword": null
            },
            "logo": null,
            "showSelectModeMenu": "N",
            "hideMenu": "N",
            "messageDateFormat": "DD.MM",
            "availableDepartmentKeys": [
                "workingbeedepartment",
                "lazybeedrone",
                "third"
            ],
            "headerColor": null,
            "headerGradientColor": null,
            "bgColor": null,
            "buttonColor": null,
            "proposeToRateBeforeClose": "Y",
            "buttonGradientColor": null,
            "chooseDepartment": "Y",
            "departmentsSort": null,
            "callbackHunterAvailableInOffline": null
        },
        "styles": {
            "header": {
                "background": "rgba(41,76,166,1)",
                "gradient": ""
            },
            "body": {
                "background": ""
            },
            "button": {
                "background": "",
                "gradient": ""
            },
            "invitation-body": {
                "background": null,
                "color": null,
                "font-size": null
            },
            "invitation-header": {
                "background": null
            },
            "messageAgent": {
                "background": "rgb(141,182,245)"
            },
            "messageVisitor": {
                "background": ""
            }
        },
        "misc": {
            "fixFlashWmode": false
        },
        "resources": {
            "leavemessage-descr": "К сожалению, сейчас нет свободных операторов. Напишите, пожалуйста, ваш вопрос. Мы свяжемся с вами по указанному телефону или e-mail.",
            "first_question-descr": null,
            "chat-operator-default_title": "Онлайн-консультант",
            "chat-window-personal_data_agreement": null
        }
    },
    "accountConfig": {
        "calls": false,
        "multilang": true,
        "chatting_timer": false,
        "google_analytics": true,
        "yandex_metrika_counter_id": null,
        "teleport": true,
        "v2chat_calls_enabled": false,
        "v2chat_call_url": null,
        "client_php_url": null,
        "hide_referrer": false,
        "force_visitor_https": false,
        "visitor_tracking": false,
        "force_visitor_disable": false,
        "visitor_enabling_probability": 100,
        "default_lang": "ru",
        "rate_operator": true,
        "allowed_upload_file_types": "png, jpg, jpeg, jpeg;charset=UTF-8, doc, rtf, gif, txt, pdf, docx, webp, ogg, json;charset=UTF-8, mp3, mp4",
        "callback_hunter_enabled": false,
        "visitor_websockets": false,
        "visitor_upload_file": true,
        "operator_check_status_online": 300,
        "visitor_hints_api_endpoint": null,
        "file_url_expiring_timeout_for_web_and_mobile": 300,
        "operator_status_timer": false,
        "visitor_message_editing": true,
        "web_and_mobile_quoting": true,
        "offline_chat_processing": true,
        "max_visitor_upload_file_size": 10
    },
    "accountFields": [],
    "ainviteRules": [],
    "tariffOptions": {
        "hide_poweredby_link": false,
        "chat_colors": true,
        "push_url": true,
        "operator_file_upload": true,
        "invitation": true,
        "offline_message": true
    },
    "channels": [
        {
            "name": "Viber",
            "page_id": "mtbank",
            "app_link_format": true,
            "type": "viber",
            "id": "86d63ac3a164476d81b27489c01761cc"
        },
        {
            "name": "vk.com",
            "page_id": 68957634,
            "type": "vk",
            "id": "8ebae3dfc4c3404e80d2171300612315"
        },
        {
            "type": "telegram",
            "app_link_format": false,
            "page_id": "MTBankSupportBot",
            "id": "41b07a998b3846f580d6644d387a7fc9",
            "name": "Telegram"
        },
        {
            "name": "Facebook",
            "type": "fb",
            "id": "74042343889c40049032407541477353",
            "page_id": "189844501141916"
        }
    ]
});