Решаем вместе
Недовольны работой больницы?
(function(){
"use strict";function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);if(t)r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable});n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_12;Object.keys(e).forEach(function(r){t.style.setProperty(n+r,e[r])})},removeStyles=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:POS_PREFIX_12;Object.keys(e).forEach(function(e){t.style.removeProperty(n+e)})};function changePosBannerOnResize(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner12),n=document.getElementById("js-show-iframe-wrapper"),r=n?n.offsetWidth:document.body.offsetWidth;if(r>340)t["grid-template-rows"]="236px auto",t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/6/banner-fluid-bg-6-2.svg')",t["button-wrap-max-width"]="209px",t["content-padding"]="24px 32px",t["text-margin"]="0 0 24px 0";if(r>350)t["bg-url-position"]="center bottom calc(100% - 40px)";if(r>415)t["bg-url-position"]="center bottom";if(r>568)t["grid-template-columns"]="1fr 292px",t["grid-template-rows"]="100%",t["content-grid-row"]="1",t["content-padding"]="32px 24px 24px",t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/6/banner-fluid-bg-6.svg')";if(r>783)t["grid-template-columns"]="1fr 400px",t["text-font-size"]="32px",t["content-padding"]="32px 24px",t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/6/banner-fluid-bg-6-2.svg')",t["bg-url-position"]="center bottom calc(100% - 25px)";if(r>820)t["grid-template-columns"]="1fr 420px",t["bg-url-position"]="center bottom";if(r>1098)t["bg-url"]="url('https://pos.gosuslugi.ru/bin/banner-fluid/6/banner-fluid-bg-6-3.svg')",t["grid-template-columns"]="1fr 557px",t["text-font-size"]="36px",t["content-padding"]="32px 32px 32px 50px",t["logo-width"]="78px",t["logo-wrap-top"]="20px",t["logo-wrap-right"]="17px",t["slogan-font-size"]="15px";if(r>1422)t["max-width"]="1422px",t["grid-template-columns"]="1fr 720px",t["content-padding"]="32px 48px 32px 160px",t.background="linear-gradient(90deg, #50b3ff 50%, #f8efec 50%)";setStyles(t,e)}changePosBannerOnResize(),window.addEventListener("resize",changePosBannerOnResize),window.onunload=function(){var e=document.documentElement,t=_objectSpread({},posOptionsInitialBanner12);window.removeEventListener("resize",changePosBannerOnResize),removeStyles(t,e)};
})()