1"use strict";(self.webpackChunk_2dr=self.webpackChunk_2dr||[]).push([[779],{68779:(M,k,s)=>{s.r(k),s.d(k,{DashboardModule:()=>Ie});var d=s(44476),Z=s(43391),p=s(32312),u=s(84681),f=s(60195),v=s(50938),l=s(52127),_=s(79411);const x=JSON.parse('{"advertisement_timer":{"name":"\u0412\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u044f \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u043a\u0430\u0437\u0430 \u0440\u0435\u043a\u043b\u0430\u043c\u044b","value":120},"ui_components":{"old_version_link":{"name":"\u0421\u0442\u0430\u0440\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u0430\u0439\u0442\u0430","visible":false,"default":false},"visit":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f","visible":true,"default":true},"waitinglist":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u0432 \u043b\u0438\u0441\u0442 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f","visible":true,"default":true},"med_history":{"name":"\u0417\u0430\u043f\u0438\u0441\u0438 \u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f","visible":true,"default":true},"prescriptions":{"name":"\u0420\u0435\u0446\u0435\u043f\u0442\u044b \u0438 \u043c\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f","visible":false,"default":false},"call_doctor":{"name":"\u0412\u044b\u0437\u043e\u0432 \u0432\u0440\u0430\u0447\u0430 \u043d\u0430 \u0434\u043e\u043c","visible":true,"default":true},"vaccination":{"name":"\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043f\u0440\u0438\u0432\u0438\u0432\u043e\u043a","visible":true,"default":true},"examination":{"name":"\u0414\u0438\u0441\u043f\u0430\u043d\u0441\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u043c\u0435\u0434. \u043e\u0441\u043c\u043e\u0442\u0440\u044b","visible":true,"default":true},"med_documents":{"name":"\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0437\u0430\u044f\u0432\u043a\u0438","visible":false,"default":false},"health":{"name":"\u041c\u043e\u0451 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435","visible":true,"default":true},"pills":{"name":"\u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u043b\u044c\u0433\u043e\u0442\u043d\u044b\u0445 \u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432 \u0432 \u0430\u043f\u0442\u0435\u043a\u0430\u0445","visible":true,"default":true},"directions":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e","visible":true,"default":true},"recipes":{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0440\u0435\u0446\u0435\u043f\u0442","link":"","visible":false,"default":false},"research_result":{"name":"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439","visible":false,"default":false},"covid_vaccination":{"name":"\u0412\u0430\u043a\u0446\u0438\u043d\u0430\u0446\u0438\u044f \u043e\u0442 COVID-19","visible":false,"default":false},"notworkdoc":{"name":"\u041b\u0438\u0441\u0442\u043a\u0438 \u043d\u0435\u0442\u0440\u0443\u0434\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438","visible":true,"default":true},"articles":{"name":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b","visible":true,"default":false,"source":""},"logo":{"name":"\u041b\u043e\u0433\u043e\u0442\u0438\u043f","visible":true,"default":true,"link":""},"passport_auth":{"name":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e \u043f\u0430\u0441\u043f\u043e\u0440\u0442\u0443","visible":true,"default":true},"video_list":{"name":"\u0412\u0438\u0434\u0435\u043e\u0440\u043e\u043b\u0438\u043a\u0438","visible":false,"default":false},"recipes_dashboard":{"name":"\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432","visible":false,"default":false},"ticket_print":{"name":"\u041f\u0435\u0447\u0430\u0442\u044c \u0442\u0430\u043b\u043e\u043d\u0430","visible":true,"default":true},"ticket_send":{"name":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0442\u0430\u043b\u043e\u043d\u0430 \u043d\u0430 \u044d\u043b. \u043f\u043e\u0447\u0442\u0443","visible":false,"default":false},"copyright":{"name":"\u041a\u043e\u043f\u0438\u0440\u0430\u0439\u0442","visible":false}},"doctor_rating":{"name":"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u0432\u0440\u0430\u0447\u0435\u0439","visible":true},"du_visit":true,"show_du_resource":true,"have_schedule":false,"show_price_service":true,"authorization_esia":{"name":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0432 \u0415\u0421\u0418\u0410","value":false},"yandex_metrica_id":{"name":"\u042f\u043d\u0434\u0435\u043a\u0441 \u043c\u0435\u0442\u0440\u0438\u043a\u0430 (id)","value":46769508},"playSoundBarcode":{"name":"\u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441 \u041f\u043e\u0434\u043d\u0435\u0441\u0438\u0442\u0435 \u0448\u0442\u0440\u0438\u0445-\u043a\u043e\u0434...","value":true},"auth_iemk":{"host":"cod_IEMK_MO","login":"\u0446\u043e\u0434","password":"123","visible":true},"auth_mis":{"login":"ToDrApiUser","password":"RChS2014"},"authorization_iemk":"235FA9E7-F5D2-4F1F-8BC4-96F575924614","useErpResidue":true}'),m=JSON.parse('{"ui_components":{"old_version_link":{"name":"\u0421\u0442\u0430\u0440\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0441\u0430\u0439\u0442\u0430","url":"https://er.zdrav31.ru/","visible":false},"visit":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f","visible":true},"waitinglist":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u0432 \u043b\u0438\u0441\u0442 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f","visible":true},"med_history":{"name":"\u0417\u0430\u043f\u0438\u0441\u0438 \u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f","visible":true},"prescriptions":{"name":"\u0420\u0435\u0446\u0435\u043f\u0442\u044b \u0438 \u043c\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f","visible":true},"call_doctor":{"name":"\u0412\u044b\u0437\u043e\u0432 \u0432\u0440\u0430\u0447\u0430 \u043d\u0430 \u0434\u043e\u043c","visible":true},"vaccination":{"name":"\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043f\u0440\u0438\u0432\u0438\u0432\u043e\u043a","visible":true},"examination":{"name":"\u0414\u0438\u0441\u043f\u0430\u043d\u0441\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u043c\u0435\u0434. \u043e\u0441\u043c\u043e\u0442\u0440\u044b","visible":true},"med_documents":{"name":"\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0437\u0430\u044f\u0432\u043a\u0438","visible":true},"health":{"name":"\u041c\u043e\u0451 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435","visible":true},"pills":{"name":"\u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u043b\u044c\u0433\u043e\u0442\u043d\u044b\u0445 \u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432 \u0430\u043f\u0442\u0435\u043a\u0430\u0445","visible":true},"directions":{"name":"\u0417\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e","visible":true},"recipes":{"name":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0440\u0435\u0446\u0435\u043f\u0442","link":"https://erx.ru/31","visible":true},"research_result":{"name":"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439","visible":true},"covid_vaccination":{"name":"\u0412\u0430\u043a\u0446\u0438\u043d\u0430\u0446\u0438\u044f \u043e\u0442 COVID-19","visible":false}
1,"notworkdoc":{"name":"\u041b\u0438\u0441\u0442\u043a\u0438 \u043d\u0435\u0442\u0440\u0443\u0434\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438","visible":true,"send_mail":true,"email_test":"[email protected]","link":"https://confluence.softrust.ru/pages/viewpage.action?pageId=65865157"},"articles":{"name":"\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b","visible":false,"source":""},"logo":{"name":"\u041b\u043e\u0433\u043e\u0442\u0438\u043f","visible":false,"link":""},"video_list":{"name":"\u0412\u0438\u0434\u0435\u043e\u0440\u043e\u043b\u0438\u043a\u0438","visible":false},"recipes_dashboard":{"name":"\u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432","visible":true},"ticket_print":{"name":"\u041f\u0435\u0447\u0430\u0442\u044c \u0442\u0430\u043b\u043e\u043d\u0430","visible":true},"ticket_send":{"name":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0442\u0430\u043b\u043e\u043d\u0430 \u043d\u0430 \u044d\u043b. \u043f\u043e\u0447\u0442\u0443","visible":false},"esia_bad_gateway":{"name":"\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0431\u043e\u0438 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0415\u0421\u0418\u0410","visible":true},"copyright":{"name":"\u041a\u043e\u043f\u0438\u0440\u0430\u0439\u0442","visible":false}},"doctor_rating":{"name":"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u0432\u0440\u0430\u0447\u0435\u0439","visible":true},"du_visit":true,"show_du_resource":true,"have_schedule":false,"show_price_service":true,"authorization_esia":{"name":"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0432 \u0415\u0421\u0418\u0410","value":true,"url":"https://esia.gosuslugi.ru"},"yandex_metrica_id":{"name":"\u042f\u043d\u0434\u0435\u043a\u0441 \u043c\u0435\u0442\u0440\u0438\u043a\u0430 (id)","value":46769508},"title":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u0430","default_kladr_region":"\u0411\u0435\u043b\u0433\u043e\u0440\u043e\u0434\u0441\u043a\u0430\u044f \u043e\u0431\u043b.","default_code_region":"3100000000000","default_fias_id_region":"639efe9d-3fc8-4438-8e70-ec4f2321f2a7","auth_iemk":{"host":"CodMO","login":"Admin","password":"123","visible":true},"auth_mis":{"login":"ToDrApiUser","password":"RChS2014"},"scheme_server_token":"dGVhbWNpdHk6MVpYMThkY2Y5","feedback_visible":true,"authorization_iemk":"235FA9E7-F5D2-4F1F-8BC4-96F575924614","med_history_iemk":true,"email_send_token":"YWRtaW46cFRSMmZuYUt5eGxB","authorization_guid_recipe":"F2282516-5444-44F7-920D-F2AD2E95FCA8","renewal_recipe_with_delivery":true,"link_renewal_recipe_banner":"https://survey.quizer.pro/quiz/survey?token=YYW6cbYYYYYYpy%2Fl6FYYYYYqE6cbec4acebecc31e2KeJ115RlBXJf4KJkZFPrdd43FkCtZ4jAdDPoo%2Fd6fsZKuE1siQe%2F8naG6LfInC5c1%2FTRuaZ8tjuN%2FEwKNzsOK4zr7D1XkIr0tfYYQ","remd_start_date":"01.12.2021","useErpResidue":true,"useErpRenewals":false,"tmkTelemedLink":"https://telemed.zdrav31.ru/patient/#/services","getKidsFromEsia":true}');var y=s(5871),I=s(61709),P=s(27221),S=s(21086),E=s(78747),t=s(94650),F=s(83157),Q=s(83143),L=s(11481),V=s(80529),T=s(49095),C=s(36895),q=s(97392),R=s(36290),A=s(30567),U=s(15280),O=s(67831);const z=function(i,a){return{hotline__map_exist:i,hotline__map_notexist:a}};function j(i,a){if(1&i&&(t.TgZ(0,"div",1),t._UZ(1,"div",2),t.TgZ(2,"div",3),t._UZ(3,"div",4)(4,"div",5)(5,"div",6),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(5),t.Q6J("ngClass",t.WLB(1,z,""!==(null==e.templates?null:e.templates.hotline.map),""===(null==e.templates?null:e.templates.hotline.map)))}}function H(i,a){1&i&&(t.TgZ(0,"div",1),t._UZ(1,"div",7)(2,"div",8),t.qZA())}let K=(()=>{class i{constructor(e){this.loadConfigService=e,this.isVisible=!0}ngOnInit(){(0,A.D)([this.loadConfigService.settings,this.loadConfigService.templates]).subscribe(o=>{this.settings=o[0],this.templates=o[1];let r=this.settings.default_kladr_region,b=this.templates.hotline;if(""===b.tel&&""===b.department&&""===b.map)this.isVisible=!1;else{let g;g="\u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b."===r?this.templates.footer.left.text:(0,U.I)(this.templates.hotline.tel),this.createElement(g,"phone"),this.createElement((0,U.I)(this.templates.hotline.department),"department"),this.createElement(this.templates.hotline.map,"map"),this.isVisible=!0}if(""!==this.templates.hotline.operators){let g=document.getElementById("operators"),w=document.createElement("div");w.innerHTML=this.templates.hotline.operators,g.appendChild(w)}})}createElement(e,n){if(""!==e){let o=document.getElementById(n),r=document.createElement("div");r.innerHTML=e,r.style.display="flex",r.style.flexDirection="column",o.appendChild(r)}}static#t=this.\u0275fac=function(n){return new(n||i)(t.Y36(F.I))};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["dashboard-hotline"]],decls:2,vars:2,consts:[["flexLayout","column","flexLayoutAlign","center center",4,"ngIf"],["flexLayout","column","flexLayoutAlign","center center"],[1,"outbound-underline","margin"],["flexLayout","column","flexLayoutAlign","start stretch","flexLayoutGap","20px",1,"hotline"],["id","department"],["id","phone"],["id","map",3,"ngClass"],[1,"outbound-underline"],["id","operators",1,"hotline__operators"]],template:function(n,o){1&n&&(t.YNc(0,j,6,4,"div",0),t.YNc(1,H,3,0,"div",0)),2&n&&(t.Q6J("ngIf",o.isVisible),t.xp6(1),t.Q6J("ngIf",""!==(null==o.templates?null:o.templates.hotline.operators)))},dependencies:[O.w,C.mk,C.O5],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block;font-family:PT Root UI Regular,sans-serif;color:#567484}[_nghost-%COMP%] .hotline[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;color:#567484;padding:50px 20px;font-family:PT Root UI Regular,sans-serif;font-size:18px}[_nghost-%COMP%] .hotline__map_notexist[_ngcontent-%COMP%]{width:0}[_nghost-%COMP%] .hotline__map_exist[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%] .hotline__operators[_ngcontent-%COMP%]{font-size:18px;padding:50px 30px}[_nghost-%COMP%] .hotline__operators[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]:not(.browser-default){margin:5px 0}[_nghost-%COMP%] .hotline__operators[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]:not(.browser-default) li[_ngcontent-%COMP%]{margin-left:19px}[_nghost-%COMP%] .hotline__operators[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]:not(.browser-default) li[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{overflow:hidden}[_nghost-%COMP%] .hotline__operators[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]:not(.browser-default) li[_ngcontent-%COMP%]:before{content:"\\2022";float:left;margin:10px 13px 0 0;font-size:18px;line-height:18px}@media screen and (max-width: 480px){[_nghost-%COMP%] -shadowcsshost{margin-top:40px;padding:0}[_nghost-%COMP%] > ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-left:19px;line-height:1.5!important;margin-bottom:10px}}[_nghost-%COMP%] .underline[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .green-link[_ngcontent-%COMP%]{color:#acce55}[_nghost-%COMP%] .gray-link[_ngcontent-%COMP%]{color:#567484}.margin[_ngcontent-%COMP%]{margin-top:50px}']})}return i})();var J=s(10176),$=s(25203),G=s(85904),c=s(24006),Y=s(84630),W=s(83129),X=s(33309),tt=s(25001),et=s(7369),N=s(59549),B=s(99818),it=s(284),ot=s(13818);function nt(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.Oqu(e.formErrors.name)}}function at(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.formErrors.email)}}function st(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.formErrors.subject)}}function rt(i,a){if(1&i&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Oqu(e.formErrors.text)}}let ut=(()=>{class i{constructor(e,n,o,r,b){this.toEmail=e,this.formBuilder=n,this.dialogRef=o,this.sendMessageService=r,this.matSnackBar=b,this.feedbackForm=this.formBuilder.group({name:["",[c.kI.required,c.kI.minLength(3),c.kI.pattern(/^([\u0410-\u042f\u0430-\u044f\u0401\u0451]+\s*)+$/)]],email:["",[c.kI.required,c.kI.email]],subject:["",[c.kI.required,c.kI.minLength(3),c.kI.pattern(/^([\u0410-\u042f\u0430-\u044f\u0401\u0451\d]+\s*)*$/)]],text:["",[c.kI.required,c.kI.minLength(3),c.kI.pattern(/^([\u0410-\u042f\u0430-\u044f\u0401\u0451\d]+[.,!?\s]*)*$/)]]}),this.formErrors={name:"",email:"",subject:"",text:""},this.errorMessages={name:{required:"\u041f\u043e\u043b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c",minlength:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 3\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",pattern:"\u041f\u043e\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 \u0431\u0443\u043a\u0432 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f"},email:{required:"\u041f\u043e\u043b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c",email:"\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c email"},subject:{required:"\u041f\u043e\u043b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c",minlength:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 3\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",pattern:"\u041f\u043e\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 \u0431\u0443\u043a\u0432, \u0446\u0438\u0444\u0440 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f"},text:{required:"\u041f\u043e\u043b\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c",minlength:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 3\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432",pattern:"\u041f\u043e\u043b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 \u0431\u0443\u043a\u0432, \u0446\u0438\u0444\u0440, \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 ,.?! \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u044f"}}}ngOnInit(){this.feedbackForm.valueChanges.subscribe(()=>{this.formErrors=(0,Y.C)(this.feedbackForm,this.formErrors,this.errorMessages)})}onSubmit(){if(this.feedbackForm.markAllAsTouched(),this.formErrors=(0,Y.C)(this.feedbackForm,this.formErrors,this.errorMessages),this.feedbackForm.valid){const e=new X.v(this.feedbackForm.controls.name.value,this.feedbackForm.controls.subject.value,this.feedbackForm.controls.text.value+`\n\u042d\u043b. \u0430\u0434\u0440\u0435\u0441 \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438: ${this.feedbackForm.controls.email.value}`,this.toEmail);this.sendMessageService.sendToEmail(e).subscribe(()=>{this.matSnackBar.open("\u041e\u0442\u0437\u044b\u0432 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u044d\u043b. \u0430\u0434\u0440\u0435\u0441 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0443\u0447\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f","",{duration:5e3,horizontalPosition:"center",verticalPosition:"top"})},n=>{this.matSnackBar.open("\u0412\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u043e\u0442\u0437\u044b\u0432\u0430","",{duration:5e3,horizontalPosition:"center",verticalPosition:"top"}),console.log(n)}),this.dialogRef.close()}}static#t=this.\u0275fac=function(n){return new(n||i)(t.Y36(T.eJ),t.Y36(c.QS),t.Y36(T.hV),t.Y36(W.E),t.Y36(tt.pl))};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["feedback"]],decls:22,vars:9,consts:[[1,"wrapper"],[1,"feedback__title"],["flexLayout","column",1,"feedback__content",3,"formGroup"],["flexLayout","row"],["flex","1 1 auto",1,"feedback__content-name"],["matInput","","required","","placeholder","\u0418\u043c\u044f","formControlName","name",3,"matKeyboard"],[4,"ngIf"],["flex","1 1 auto"],["matInput","","required","","placeholder","\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430\u044f \u043f\u043e\u0447\u0442\u0430","formControlName","email",3,"matKeyboard"],[1,"feedback__content-subject"],["matInput","","required","","type","text","placeholder","\u0422\u0435\u043c\u0430 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f","formControlName","subject",3,"matKeyboard"],["matInput","","required","","type","text","placeholder","\u0422\u0435\u043a\u0441\u0442 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f","matTextareaAutosize","","matAutosizeMinRows","4","matAutosizeMaxRows","4","formControlName","text",3,"matKeyboard"],["flexLayout","row","flexLayoutAlign","center",1,"feedback__actions"],["mat-button","","type","submit",1,"primary","feedback__actions-button","feedback__actions-margin",3,"click"],["mat-button","","mat-dialog-close","",1,"primary","feedback__actions-button"]],template:function(n,o){1&n&&(t.TgZ(0,"div",0)(1,"h2",1),t._uU(2,"\u0424\u043e\u0440\u043c\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438"),t.qZA(),t.TgZ(3,"div",2)(4,"div",3)(5,"mat-form-field",4),t._UZ(6,"input",5),t.YNc(7,nt,2,1,"mat-error",6),t.qZA(),t.TgZ(8,"mat-form-field",7),t._UZ(9,"
1input",8),t.YNc(10,at,2,1,"mat-error",6),t.qZA()(),t.TgZ(11,"mat-form-field",9),t._UZ(12,"input",10),t.YNc(13,st,2,1,"mat-error",6),t.qZA(),t.TgZ(14,"mat-form-field"),t._UZ(15,"textarea",11),t.YNc(16,rt,2,1,"mat-error",6),t.qZA()(),t.TgZ(17,"div",12)(18,"button",13),t.NdJ("click",function(){return o.onSubmit()}),t._uU(19," \u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c "),t.qZA(),t.TgZ(20,"button",14),t._uU(21,"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"),t.qZA()()()),2&n&&(t.xp6(3),t.Q6J("formGroup",o.feedbackForm),t.xp6(3),t.Q6J("matKeyboard","text"),t.xp6(1),t.Q6J("ngIf",o.formErrors.name),t.xp6(2),t.Q6J("matKeyboard","enText"),t.xp6(1),t.Q6J("ngIf",o.formErrors.email),t.xp6(2),t.Q6J("matKeyboard","text"),t.xp6(1),t.Q6J("ngIf",o.formErrors.subject),t.xp6(2),t.Q6J("matKeyboard","text"),t.xp6(1),t.Q6J("ngIf",o.formErrors.text))},dependencies:[O.w,et.O,C.O5,c.Fj,c.JJ,c.JL,c.Q7,c.sg,c.u,N.KE,N.TO,B.eB,T.aO,it.Nt,ot.a],styles:[".wrapper[_ngcontent-%COMP%]{padding:0 20px;display:flex;flex-direction:column;height:100%}.feedback__content[_ngcontent-%COMP%]{flex:1 0 auto}.feedback__content-name[_ngcontent-%COMP%]{margin-right:30px}.feedback__content-subject[_ngcontent-%COMP%]{margin:20px 0}.feedback__title[_ngcontent-%COMP%]{text-align:center;font-family:PT Root UI Bold,sans-serif;font-size:26px;margin-top:0;color:#295b75;left:1.8%;cursor:pointer}.feedback__actions[_ngcontent-%COMP%]{flex:0 0 auto;margin-bottom:25px}.feedback__actions-button[_ngcontent-%COMP%]{width:40%}.feedback__actions-margin[_ngcontent-%COMP%]{margin-right:30px}"]})}return i})();function lt(i,a){1&i&&(t.TgZ(0,"div",17),t._UZ(1,"img",18),t.qZA())}function ct(i,a){if(1&i&&(t.TgZ(0,"h2",19),t._uU(1),t.qZA()),2&i){const e=t.oxw();
1t.xp6(1),t.hij(" ",null==e.hospital?null:e.hospital.name," ")}}function dt(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,",\u2002"),t.qZA())}function mt(i,a){if(1&i&&(t.TgZ(0,"span",23)(1,"span"),t._uU(2),t.qZA(),t.YNc(3,dt,2,0,"span",24),t.qZA()),2&i){const e=a.$implicit,n=a.last;t.xp6(2),t.Oqu(e),t.xp6(1),t.Q6J("ngIf",!n)}}function ht(i,a){if(1&i&&(t.TgZ(0,"div",20)(1,"h6",21),t._uU(2,"\u0422\u0435\u043b\u0435\u0444\u043e\u043d\u044b:"),t.qZA(),t.YNc(3,mt,4,2,"span",22),t.qZA()),2&i){const e=t.oxw();t.xp6(3),t.Q6J("ngForOf",e.phones)}}function pt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",25)(1,"a",26),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.openFeedbackForm())}),t._UZ(2,"span",27),t.TgZ(3,"span"),t._uU(4,"\u041e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0442\u0437\u044b\u0432"),t.qZA()()()}}function ft(i,a){if(1&i&&(t.TgZ(0,"div",32)(1,"span",33),t._uU(2),t.qZA(),t.TgZ(3,"div",34),t._uU(4),t.TgZ(5,"sup",35),t._uU(6),t.qZA(),t._uU(7),t.TgZ(8,"sup",35),t._uU(9),t.qZA()()()),2&i){const e=a.$implicit;t.xp6(2),t.hij(" ",e.days," "),t.xp6(2),t.hij(" ",e.from[0],""),t.xp6(2),t.Oqu(e.from[1]),t.xp6(1),t.hij("\u2014 ",e.to[0],""),t.xp6(2),t.Oqu(e.to[1])}}function gt(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,","),t.qZA())}function _t(i,a){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.YNc(2,gt,2,0,"span",24),t.qZA()),2&i){const e=a.$implicit,n=a.last;t.xp6(1),t.hij(" ",e,""),t.xp6(1),t.Q6J("ngIf",!n)}}function bt(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439"),t.qZA())}function vt(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"\u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435"),t.qZA())}function xt(i,a){if(1&i&&(t.TgZ(0,"div",36),t.YNc(1,_t,3,2,"span",37),t._uU(2," \u2014 "),t.YNc(3,bt,2,0,"span",24),t.YNc(4,vt,2,0,"span",24),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",e.offDays),t.xp6(2),t.Q6J("ngIf",1===e.offDays.length),t.xp6(1),t.Q6J("ngIf",e.offDays.length>1)}}function Ct(i,a){1&i&&(t.TgZ(0,"div",36),t._uU(1,"\u2014 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435"),t.qZA())}function kt(i,a){if(1&i&&(t.TgZ(0,"div",28)(1,"h6",29),t._uU(2,"\u0420\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b:"),t.qZA(),t.YNc(3,ft,10,5,"div",30),t.YNc(4,xt,5,3,"div",31),t.YNc(5,Ct,2,0,"div",31),t.qZA()),2&i){const e=t.oxw();
1t.xp6(3),t.Q6J("ngForOf",e.workDays),t.xp6(1),t.Q6J("ngIf",e.offDays.length),t.xp6(1),t.Q6J("ngIf",!e.offDays.length&&!e.workDays.length)}}const wt=function(i){return{bottom:i}};let Zt=(()=>{class i{constructor(e,n,o,r,b){this.authService=e,this.router=n,this.tapRatingTypeService=o,this.dialog=r,this.infomatService=b,this.offDays=[],this.workDays=[],this.phones=[],this.bottomFooterInfomat="unset"}ngOnInit(){this.lpuSubscription=this.infomatService.getLpuInfo.subscribe(e=>{this.isWidgetVisible="0fd8d054-b0dc-4df7-a391-2416cf50eaa0"===e.parent.guid,this.toEmail=e.email})}ngOnChanges(e){if(e.hospital&&this.hospital){this.phones=this.hospital.phone?this.hospital.phone.split(","):[],this.isParentSame=this.hospital.guid===this.hospital.parent.guid;let n=(0,G.d)(this.hospital.worktimes);this.offDays=n.offDays,this.workDays=n.workDays}e.settings&&this.settings&&(this.isFeedbackVisible=this.settings.feedback_visible)}ngAfterContentChecked(){this.setBottomFooterInfomat()}setBottomFooterInfomat(){const e=document.getElementById("infomat_content");this.bottomFooterInfomat="unset",e&&e.offsetHeight<window.innerHeight&&(this.bottomFooterInfomat="0")}leftFeedBack(){this.authService.isAuthorized().subscribe(e=>{e?this.router.navigate(["/med-history"],{queryParams:{feedback:"last"},fragment:"medHistoryTap"}):this.router.navigate(["/login"])})}openFeedbackForm(){this.dialog.open(ut,{disableClose:!0,height:"calc(100% - 360px)",maxHeight:"700px",width:"50%",position:{top:"15px"},data:this.toEmail})}toLpuInfo(){this.router.navigate([`/lpu-info/${this.infomatService.getLpuId}`])}ngOnDestroy(){this.lpuSubscription.unsubscribe()}static#t=this.\u0275fac=function(n){return new(n||i)(t.Y36($.e),t.Y36(d.F0),t.Y36(J.X),t.Y36(T.on),t.Y36(f.o))};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["dashboard-hospital"]],inputs:{hospital:"hospital",settings:"settings"},features:[t._Bn([J.X]),t.TTD],decls:22,vars:10,consts:[["id","footer",1,"hospital",3,"ngStyle"],[1,"hospital__header"],["flexLayout","row"],["aria-hidden","true","flexLayout","column","flexLayoutAlign","space-between center",1,"hospital__image"],["aria-hidden","true","src","/assets/img/common/health-logo.svg","alt","","width","70"],["aria-hidden","true",4,"ngIf"],[1,"hospital__header-content"],["role","banner",1,"hospital__name"],["role","presentation","class","hospital__name hospital__name--size-sm",4,"ngIf"],[1,"hospital__address"],["class","hospital__info-phones",4,"ngIf"],[1,"hospital__button-wrapper"],["class","hospital__info-feedback",4,"ngIf"],[1,"hospital__info-branch"],["mat-button","",1,"primary","hospital__info-branch-btn","bvi-no-styles",3,"click"],[1,"hospital__info"],["class","hospital__info-schedule",4,"ngIf"],["aria-hidden","true"],["aria-hidden","true","width","120","height","60","src","https://rp5.ru/informer/120x60x2.php?f=7&id=3689&lang=ru&um=00000",2,"border","0"],["role","presentation",1,"hospital__name","hospital__name--size-sm"],[1,"hospital__info-phones"],["role","presentation","label","",1,"hospital__info-heading","hospital__info-heading--phone"],["class","hospital__info-phone",4,"ngFor","ngForOf"],[1,"hospital__info-phone"],[4,"ngIf"],[1,"hospital__info-feedback"],["mat-button","",1,"primary","hospital__info-feedback-btn","bvi-no-styles",3,"click"],[1,"icon-rating"],[1,"hospital__info-schedule"],["role","presentation","label","",1,"hospital__info-heading","hospital__info-heading--color-work"],["class","hospital__info-work",4,"ngFor","ngForOf"],["class","hospital__info-dayoff",4,"ngIf"],[1,"hospital__info-work"],[1,"hospital__info-workdays"],[1,"hospital__info-worktime"],[1,"hospital__info-worktime-minutes"],[1,"hospital__info-dayoff"],[4,"ngFor","ngForOf"]],template:function(n,o){1&n&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div"),t._UZ(5,"img",4),t.qZA(),t.YNc(6,lt,2,0,"div",5),t.qZA(),t.TgZ(7,"div",6)(8,"div")(9,"h2",7),t._uU(10),t.qZA(),t.YNc(11,ct,2,1,"h2",8),t.TgZ(12,"div",9),t._uU(13),t.qZA()(),t.YNc(14,ht,4,1,"div",10),t.TgZ(15,"div",11),t.YNc(16,pt,5,0,"div",12),t.TgZ(17,"div",13)(18,"a",14),t.NdJ("click",function(){return o.toLpuInfo()}),t._uU(19," \u0410\u0434\u0440\u0435\u0441\u0430 \u0444\u0438\u043b\u0438\u0430\u043b\u043e\u0432 "),t.qZA()()()()(),t.TgZ(20,"div",15),t.YNc(21,kt,6,3,"div",16),t.qZA()()()),2&n&&(t.Q6J("ngStyle",t.VKq(8,wt,o.bottomFooterInfomat)),t.xp6(6),t.Q6J("ngIf",o.infomatService.isInfomat&&o.isWidgetVisible),t.xp6(4),t.Oqu(null==o.hospital?null:o.hospital.parent.name),t.xp6(1),t.Q6J("ngIf",!o.isParentSame),t.xp6(2),t.Oqu(null==o.hospital?null:o.hospital.address),t.xp6(1),t.Q6J("ngIf",o.phones.length),t.xp6(2),t.Q6J("ngIf",o.isFeedbackVisible),t.xp6(5),t.Q6J("ngIf",o.workDays.length||o.offDays.length))},dependencies:[O.w,C.sg,C.O5,C.PC,B.Nr],styles:[".hospital[_ngcontent-%COMP%]{background:linear-gradient(var(--dashboard-hosp-background-color1, #3f4d5b),var(--dashboard-hosp-background-color2, #283646));padding:30px 70px 25px;margin-right:-75px;margin-left:-75px;position:absolute;width:100%}.hospital__header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.hospital__header-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.hospital__image[_ngcontent-%COMP%]{margin-right:25px}.hospital__name[_ngcontent-%COMP%]{color:var(--dashboard-hosp-lpu-title-color, #ffffff);font-size:1.125rem;font-family:PT Root UI Medium,sans-serif;margin-top:0;margin-bottom:0}.hospital__name--size-sm[_ngcontent-%COMP%]{font-size:.9rem;margin-top:10px}.hospital__address[_ngcontent-%COMP%]{color:var(--dashboard-hosp-lpu-address-color, #8b939b);font-size:.9rem}.hospital__info[_ngcontent-%COMP%]{min-width:220px;margin-left:25px;display:flex;flex-direction:column;justify-content:space-between}.hospital__info-schedule[_ngcontent-%COMP%]{flex:1 1 30%}.hospital__info-phones[_ngcontent-%COMP%]{flex:1 1 30%;margin-top:10px;display:flex;align-items:baseline;flex-wrap:wrap}.hospital__info-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between}.hospital__info-feedback[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:5px}.hospital__info-feedback-btn[_ngcontent-%COMP%]{color:var(--dashboard-hosp-feedback-color, #ffffff);background-color:var(--dashboard-hosp-feedback-background-color, #283646)!important;height:40px}.hospital__info-feedback-btn[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;height:100%;align-items:center;font-size:12px}.hospital__info-feedback-btn[_ngcontent-%COMP%]:hover .icon-rating[_ngcontent-%COMP%]{color:var(--dashboard-hosp-feedback-icon-color--hover, #ffffff)}.hospital__info-feedback[_ngcontent-%COMP%] .icon-rating[_ngcontent-%COMP%]{color:var(--dashboard-hosp-feedback-icon-color, #39bfde);font-weight:600;margin-right:.5rem;transition:all .2s ease-in-out}.hospital__info-branch[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:5px}.hospital__info-branch-btn[_ngcontent-%COMP%]{color:#fff;background-color:#283646!important;height:40px}.hospital__info-branch-btn[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;font-size:12px}.hospital__info-heading[_ngcontent-%COMP%]{font-size:.975rem;font-family:PT Root UI Medium,sans-serif;margin-bottom:1rem;margin-top:0}.hospital__info-heading--color-work[_ngcontent-%COMP%]{color:var(--dashboard-hosp-workmode-title-color, #f7537e)}.hospital__info-heading--phone[_ngcontent-%COMP%]{color:var(--dashboard-hosp-phones-title-color, #39bfde);margin-bottom:0;padding-right:5px}.hospital__info-phone[_ngcontent-%COMP%]{color:var(--dashboard-hosp-phones-color, #ffffff);font-size:.9rem;margin-top:.6rem}.hospital__info-work[_ngcontent-%COMP%]{display:flex;margin-bottom:.6rem;color:var(--dashboard-hosp-workmode-color, #ffffff);font-size:.9rem}.hospital__info-workdays[_ngcontent-%COMP%]{margin-right:2rem}.hospital__info-worktime-minutes[_ngcontent-%COMP%]{color:var(--dashboard-hosp-workmode-opt-color, #8b939b);font-size:.675rem;font-weight:600;position:relative;top:-11px}.hospital__info-dayoff[_ngcontent-%COMP%]{font-size:.9rem;color:var(--dashboard-hosp-workmode-opt-color, #8b939b)}.hospital__item[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between}.hospital__button-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:20px}@media screen and (min-width: 1540px){.hospital[_ngcontent-%COMP%]{left:75px}}@media screen and (max-width: 1023px){.hospital[_ngcontent-%COMP%]{margin-right:-40px;margin-left:-10px}.hospital__info[_ngcontent-%COMP%]{margin-left:60px}}@media screen and (max-width: 768px){.hospital[_ngcontent-%COMP%]{margin-right:-25px;margin-left:-10px;padding:30px}}@media screen and (max-width: 600px){.hospital__info[_ngcontent-%COMP%]{flex-direction:column}.hospital__info-feedback[_ngcontent-%COMP%]{justify-content:flex-start}}@media screen and (max-width: 480px){.hospital[_ngcontent-%COMP%]{margin-right:-10px;margin-left:-10px}.hospital__image[_ngcontent-%COMP%]{width:40px;margin-right:20px}.hospital__name[_ngcontent-%COMP%]{font-size:1.1rem}.hospital__address[_ngcontent-%COMP%]{font-size:.9rem}.hospital__info[_ngcontent-%COMP%]{margin-top:1rem}.hospital__info-heading[_ngcontent-%COMP%], .hospital__info-work[_ngcontent-%COMP%]{font-size:1rem}.hospital__info-dayoff[_ngcontent-%COMP%]{font-size:.9rem}.hospital__info-phone[_ngcontent-%COMP%]{font-size:1rem}.hospital__info-worktime-minutes[_ngcontent-%COMP%]{font-size:.7rem}}"]})}return i})();const Tt=["footerEmail"],Dt=["footerSupport"];function It(i,a){1&i&&(t.TgZ(0,"div",1)(1,"div",2)(2,"div",3),t._uU(3,"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f"),t.qZA(),t.TgZ(4,"div",4),t._UZ(5,"div",5,6)(7,"div",7,8),t.qZA()()())}let Ot=(()=>{class i{constructor(e,n){this.loadConfigService=e,this.infomatService=n,this.isVisible=!0}ngOnInit(){this.currentYear=(new Date).getFullYear(),(0,A.D)([this.loadConfigService.settings,this.loadConfigService.templates]).subscribe(r=>{this.settings=r[0],this.templates=r[1];let b=this.settings.default_kladr_region,g=this.templates.footer;if(""===g.left.text&&""===g.center.text)this.isVisible=!1;else{let w;w="\u0412\u043b\u0430\u0434\u0438\u043c\u0438\u0440\u0441\u043a\u0430\u044f \u043e\u0431\u043b."===b?this.templates.hotline.tel:g.left.text,this.addText(w,"left-text",this.footerEmail.nativeElement),this.addText(g.center.text,"center-text",this.footerSupport.nativeElement),""===g.left.text&&(this.footerSupport.nativeElement.style.maxWidth="450px"),""===g.center.text&&(this.footerEmail.nativeElement.style.maxWidth="450px"),this.isVisible=!0}})}addText(e,n,o){if(""!==e){let r=this.createElement(e,n);o.appendChild(r),o.classList.add("footer-block")}}createElement(e,n){let o;return o=document.createElement("div"),o.className=n,o.innerHTML=e,o.style.display="flex",o.style.flexDirection="column",o}static#t=this.\u0275fac=function(n){return new(n||i)(t.Y36(F.I),t.Y36(f.o))};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["app-dashboard-footer"]],viewQuery:function(n,o){if(1&n&&(t.Gf(Tt,5),t.Gf(Dt,5)),2&n){let r;t.iGM(r=t.CRH())&&(o.footerEmail=r.first),t.iGM(r=t.CRH())&&(o.footerSupport=r.first)}},decls:1,vars:1,consts:[["flexLayout","column","flexLayoutAlign","center center","class","footer",4,"ngIf"],["flexLayout","column","flexLayoutAlign","center center",1,"footer"],[1,"footer-wrapper"],[1,"footer-header"],[1,"footer-block-row",2,"width","100%"],[1,"footer-block-email"],["footerEmail",""],[1,"footer-block-support"],["footerSupport",""]],template:function(n,o){1&n&&t.YNc(0,It,9,0,"div",0),2&n&&t.Q6J("ngIf",o.isVisible)},dependencies:[O.w,C.O5],styles:["[_nghost-%COMP%] .footer-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;flex-wrap:wrap;color:#295b75;font-family:PT Root UI Regular,sans-serif;font-size:18px}[_nghost-%COMP%] .footer-wrapper_content[_ngcontent-%COMP%]{display:flex;box-sizing:border-box;flex-direction:row;place-content:flex-start space-between;align-items:flex-start;gap:30px}[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{width:calc(100% + 2rem)}[_nghost-%COMP%] .footer-block[_ngcontent-%COMP%]{height:calc(100% - 2em
1+ 14px);flex:1 0 30%;position:relative;padding:20px 15px;color:var(--dashboard-others-text-color, #567484);background-color:var(--dashboard-others-background-color, #fff);border:none;border-radius:6px;cursor:pointer;transition:all .2s ease-in-out;font-size:var(--dashboard-block-text-size, 20px);line-height:1.1;margin-bottom:2rem;margin-right:2rem;box-shadow:0 0 15px #54728226;display:flex;align-items:center;white-space:normal}[_nghost-%COMP%] .footer-block[_ngcontent-%COMP%]:hover{box-shadow:0 0 30px #5472824c}[_nghost-%COMP%] .footer-block-row[_ngcontent-%COMP%]{display:flex;padding-top:20px}[_nghost-%COMP%] .footer-block-email[_ngcontent-%COMP%]{width:40%}[_nghost-%COMP%] .footer-block-support[_ngcontent-%COMP%]{width:40%}[_nghost-%COMP%] .footer-header[_ngcontent-%COMP%]{font-family:PT Root UI Bold,sans-serif;font-size:22px;color:#295b75}[_nghost-%COMP%] .underline[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .green-link[_ngcontent-%COMP%]{color:#acce55}[_nghost-%COMP%] .gray-link[_ngcontent-%COMP%]{color:#567484}.margin[_ngcontent-%COMP%]{margin-top:50px}@media screen and (max-width: 959px){[_nghost-%COMP%] .footer-block-email[_ngcontent-%COMP%], [_nghost-%COMP%] .footer-block-support[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .footer-wrapper_content[_ngcontent-%COMP%]{flex-direction:column;place-content:stretch flex-start;align-items:stretch;max-width:100%}}@media screen and (max-width: 768px){[_nghost-%COMP%] .footer[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .footer-block[_ngcontent-%COMP%]{font-size:16px;margin-right:1rem;height:calc(100% - 3em + 14px)}[_nghost-%COMP%] .footer-block-row[_ngcontent-%COMP%]{margin-right:0}[_nghost-%COMP%] .footer-block-wide[_ngcontent-%COMP%]{flex-basis:90%}}@media screen and (max-width: 540px){[_nghost-%COMP%] .footer-block-row[_ngcontent-%COMP%]{flex-direction:column!important}}@media screen and (max-width: 480px){.outbound-underline[_ngcontent-%COMP%]{display:none}}"]})}return i})();const Mt=["empty"];function Pt(i,a){1&i&&t._UZ(0,"img",19)}function St(i,a){1&i&&t._UZ(0,"img",20)}function Ft(i,a){if(1&i&&(t.TgZ(0,"a",16),t.YNc(1,Pt,1,0,"img",17),t.YNc(2,St,1,0,"img",18),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.isMobileView),t.xp6(1),t.Q6J("ngIf",e.isMobileView)}}function Et(i,a){1&i&&t._UZ(0,"img",19)}function At(i,a){1&i&&t._UZ(0,"img",20)}function Ut(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Et,1,0,"img",17),t.YNc(2,At,1,0,"img",18),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.isMobileView),t.xp6(1),t.Q6J("ngIf",e.isMobileView)}}function Jt(i,a){1&i&&t._UZ(0,"img",24)}function Yt(i,a){1&i&&t._UZ(0,"img",25)}function Nt(i,a){if(1&i&&(t.TgZ(0,"a",21),t.YNc(1,Jt,1,0,"img",22),t.YNc(2,Yt,1,0,"img",23),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.isMobileView),t.xp6(1),t.Q6J("ngIf",e.isMobileView)}}function Bt(i,a){1&i&&t._UZ(0,"img",24)}function Qt(i,a){1&i&&t._UZ(0,"img",25)}function Lt(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Bt,1,0,"img",22),t.YNc(2,Qt,1,0,"img",23),t.BQk()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!e.isMobileView),t.xp6(1),t.Q6J("ngIf",e.isMobileView)}}function Vt(i,a){1&i&&t._UZ(0,"img",26)}function qt(i,a){if(1&i&&(t.ynx(0),t.YNc(1,Ft,3,2,"a",13),t.YNc(2,Ut,3,2,"ng-container",11),t.YNc(3,Nt,3,2,"a",14),t.YNc(4,Lt,3,2,"ng-container",11),t.YNc(5,Vt,1,0,"img",15),t.BQk()),2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngIf",!e.infomatService.isInfomat&&"5700000000000"===(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf",e.infomatService.isInfomat&&"5700000000000"===(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf",!e.infomatService.isInfomat&&"3100000000000"===(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf",e.infomatService.isInfomat&&"3100000000000"===(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf","7400000000000"===(null==e.settings?null:e.settings.default_code_region)&&!e.isMobileView)}}function Rt(i,a){1&i&&t._UZ(0,"img",31)}function zt(i,a){1&i&&t._UZ(0,"img",32)}function jt(i,a){1&i&&t._UZ(0,"img",33)}function Ht(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"a",27),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.toVacccination())}),t.YNc(1,Rt,1,0,"img",28),t.YNc(2,zt,1,0,"img",29),t.YNc(3,jt,1,0,"img",30),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("routerLink",e.covidVaccinationRoute)("queryParams",e.covidVaccinationParams),t.xp6(1),t.Q6J("ngIf",!e.isMobileView&&"5000000000000"!==(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf",e.isMobileView&&"5000000000000"!==(null==e.settings?null:e.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf","5000000000000"===(null==e.settings?null:e.settings.default_code_region))}}function Kt(i,a){1&i&&(t.TgZ(0,"a",37),t._uU(1,"122"),t.qZA())}function $t(i,a){1&i&&(t.TgZ(0,"span"),t._uU(1,"122"),t.qZA())}function Gt(i,a){if(1&i&&(t.TgZ(0,"div",34)(1,"div",35),t.YNc(2,Kt,2,0,"a",36),t.YNc(3,$t,2,0,"span",11),t.qZA(),t.TgZ(4,"div"),t._uU(5,"\u041c\u043d\u043e\u0433\u043e\u043a\u0430\u043d\u0430\u043b\u044c\u043d\u0430\u044f \xab\u0433\u043e\u0440\u044f\u0447\u0430\u044f \u043b\u0438\u043d\u0438\u044f\xbb \u043f\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 \u043f\u0440\u0438\u0435\u043c, \u0432\u044b\u0437\u043e\u0432\u0430 \u0432\u0440\u0430\u0447\u0430 \u043d\u0430 \u0434\u043e\u043c \u0438 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430"),t.qZA()()),2&i){const e=t.oxw();
1t.xp6(2),t.Q6J("ngIf",!e.infomatService.isInfomat),t.xp6(1),t.Q6J("ngIf",e.infomatService.isInfomat)}}function Wt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"attachment-banner",38),t.NdJ("onNavigateCallDoctor",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.callDoctorRouting())})("onNavigateVisit",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.visitDoctorRouting())}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("attachedLpu",e.attachedLpu)("isNavigateCallDoctor",!0)("isNavigateVisit",e.isActiveVidget)}}const h=function(i){return{"main-action-block-dashboard-infomat":i}};function Xt(i,a){if(1&i&&(t.TgZ(0,"div",39),t._UZ(1,"a",40),t.TgZ(2,"div",41),t._UZ(3,"span",42),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(4,h,e.infomatService.isInfomat)),t.xp6(1),t.Q6J("routerLink",e.visitRoute)("queryParams",e.visitParams),t.xp6(4),t.hij(" ",e.settingsConfig.ui_components.visit.name," ")}}function te(i,a){1&i&&t._UZ(0,"a",47)}function ee(i,a){if(1&i&&(t.TgZ(0,"div",44),t.YNc(1,te,1,0,"a",45),t.TgZ(2,"div",41),t._UZ(3,"span",46),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(3,h,e.infomatService.isInfomat)),t.xp6(1),t.Q6J("ngIf",e.isShowTile("pills")),t.xp6(4),t.hij(" ",e.settingsConfig.ui_components.pills.name," ")}}function ie(i,a){if(1&i&&(t.TgZ(0,"div",48),t._UZ(1,"a",49),t.TgZ(2,"div",41),t._UZ(3,"span",50),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.med_history.name," ")}}function oe(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",52),t.TgZ(2,"div",41),t._UZ(3,"span",53),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.directions.name," ")}}function ne(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",54),t.TgZ(2,"div",41),t._UZ(3,"span",55),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.prescriptions.name," ")}}function ae(i,a){if(1&i&&(t.TgZ(0,"div",56),t._UZ(1,"a",57),t.TgZ(2,"div",41),t._UZ(3,"span",58),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.call_doctor.name," ")}}function se(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",59),t.TgZ(2,"div",41),t._UZ(3,"span",60),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.health.name," ")}}function re(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",61),t.TgZ(2,"div",41),t._UZ(3,"span",62),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.research_result.name," ")}}function ue(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",63),t.TgZ(2,"div",41),t._UZ(3,"span",64),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.examination.name," ")}}function le(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",65),t.TgZ(2,"div",41),t._UZ(3,"span",66),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.med_documents.name," ")}}function ce(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",67),t.TgZ(2,"div",41),t._UZ(3,"span",68),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.notworkdoc.name," ")}}function de(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",69),t.TgZ(2,"div",41),t._UZ(3,"span",70),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.vaccination.name," ")}}function me(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",71),t.TgZ(2,"div",41)(3,"span",72)(4,"mat-icon",73),t._uU(5,"storage"),t.qZA()(),t.TgZ(6,"p",43),t._uU(7),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(7),t.hij(" ",e.settingsConfig.ui_components.articles.name," ")}}function he(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",74),t.TgZ(2,"div",75),t._UZ(3,"span",76),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=a.$implicit,n=t.oxw();t.Q6J("ngClass",t.VKq(3,h,n.infomatService.isInfomat)),t.xp6(1),t.Q6J("routerLink",n.customCabinetLink(e.id)),t.xp6(4),t.hij(" ",e.name," ")}}function pe(i,a){if(1&i&&(t.TgZ(0,"div",51),t._UZ(1,"a",77),t.TgZ(2,"div",75),t._UZ(3,"span",78),t.TgZ(4,"p",43),t._uU(5),t.qZA()()()),2&i){const e=t.oxw();t.Q6J("ngClass",t.VKq(2,h,e.infomatService.isInfomat)),t.xp6(5),t.hij(" ",e.settingsConfig.ui_components.video_list.name," ")}}function fe(i,a){1&i&&t._UZ(0,"app-dashboard-footer")}function ge(i,a){1&i&&t._UZ(0,"dashboard-hotline")}function _e(i,a){if(1&i&&t._UZ(0,"dashboard-hospital",79),2&i){const e=t.oxw();t.Q6J("hospital",e.hospitalInfo)("settings",e.settings)}}function be(i,a){1&i&&t._UZ(0,"div",null,80)}const ve=[{path:"",component:(()=>{class i{constructor(e,n,o,r,b,g,w,Oe,Me,Pe,Se,Fe){this.loadConfigService=e,this.regionService=n,this.authAttachedLpuService=o,this.doctorScheduleService=r,this.router=b,this.infomatService=g,this.infomatConfigService=w,this.infomatsService=Oe,this.stepperService=Me,this.metaService=Pe,this.httpClient=Se,this.dialog=Fe,this.isShowVidget=!1,this.isActiveVidget=!1,this.isShowSpinner=!0,this.infomatSettings=null,this.infomatCustomCabinets=[],this.visitDoctorRouteParam
1s={},this.metaService.updateTag({name:"viewport",content:"width=device-width, initial-scale=1"},'name="viewport"')}ngAfterViewChecked(){if(this.infomatService.isInfomat){const e=document.getElementById("footer");this.empty.nativeElement.style.height=(e?e.offsetHeight:0)+"px"}}onResize(e){this.displayWidth=e.target.innerWidth,this.isMobileView=this.displayWidth<=700}ngOnInit(){this.displayWidth=document.body.clientWidth,this.isMobileView=this.displayWidth<=700,this.loadConfigService.settings.subscribe(e=>{this.settings=e,this.isShowCovidVaccination=this.settings.ui_components.covid_vaccination.visible,this.region={id:"all",title:e.default_kladr_region,okato:""}}),this.loadConfigService.templates.subscribe(e=>{this.templates=e}),this.infomatService.isInfomat&&(this.infomatService.refreshInfomat(),this.infomatConfigService.settings.subscribe(e=>{this.infomatRegionSettings=e}),this.infomatsService.getInfomatByNumber(this.infomatService.getLpuId,this.infomatService.getInfomatNumber).subscribe(e=>{const n=e[0]&&e[0].config?JSON.parse(e[0].config):null;n&&(n.visibleButton&&(this.infomatSettings={},n.visibleButton.map(o=>{this.infomatSettings[o.name]=o.value})),n.customCabinets&&(this.infomatCustomCabinets=n.customCabinets.filter(o=>o.visible)))})),this.infomatService.isInfomat?this.infomatService.getLpuInfo.subscribe(e=>{this.visitRoute="/visit",this.visitParams=e.parent.guid===this.infomatService.getLpuId?{region:e.cityId}:{region:e.cityId,lpu:this.infomatService.getLpuId},this.regionService.getSelectedRegionId().subscribe(n=>{"all"!==n?this.regionService.getRegionById(e.cityId).subscribe(o=>{this.stepperService.setRegion(o)}):this.stepperService.removeRegionId(),this.covidVaccinationRoute="/visit",this.covidVaccinationParams={vaccination:"covid",region:"all"}}),localStorage.setItem("pLpuId",e.parent.guid),this.stepperService.setLpu(e),this.isShowSpinner=!1,this.isShowVidget=!1,this.isActiveVidget=!1,this.hospitalInfo=e,this.isCallDoctor=this.hospitalInfo.isCallDoctor},e=>{this.isShowSpinner=!1,this.visitRoute="/visit"}):(this.regionService.getSelectedRegionId().subscribe(n=>{"all"!==n?this.regionService.getRegionById(n).subscribe(r=>{this.stepperService.setRegion(r)}):this.stepperService.removeRegionId();const o="all"===n?"":n;this.visitRoute="/visit",this.visitParams={region:o},this.covidVaccinationRoute="/visit",this.covidVaccinationParams={vaccination:"covid",region:"all"}}),JSON.parse(window.localStorage.getItem("activeUserIdType"))?this.getAttachedLpu():(this.isShowVidget=!1,this.isActiveVidget=!1,this.isShowSpinner=!1)),this.settingsConfig=this.infomatService.isInfomat?x:m}getAttachedLpu(){this.authAttachedLpuService.getLpus().pipe((0,I.zg)(e=>(this.attachedLpu=e.length>0?_.w.fromJSON(e[0]):null,this.isShowVidget=!!this.attachedLpu&&this.attachedLpu.lpu?.isActive&&this.attachedLpu.lpu?.guid!==this.attachedLpu.lpu?.parent?.guid,this.isActiveVidget=!1,this.isShowVidget&&this.attachedLpu.uchastok?(this.selectedRegionId=this.attachedLpu.lpu.cityId,this.doctorScheduleService.checkScheduleByResource(this.attachedLpu.lpu.guid,!0,!0,!0,E.H.Doctor,this.attachedLpu.uchastok[0].doctor.specialityCode,this.attachedLpu.uchastok[0].doctor.guid).pipe((0,I.zg)(n=>"None"===n.stepType?this.doctorScheduleService.checkScheduleByResource(this.attachedLpu.lpu.guid,!0,!0,!0,E.H.Doctor,this.attachedLpu.uchastok[0].doctor.specialityCode):(0,S.of)(n)),(0,P.K)(()=>(0,S.of)(null)))):(0,S.of)(null)))).subscribe(e=>{if(this.visitDoctorRouteParams={},e)switch(e.stepType){case"None":default:this.isActiveVidget=!1;break;case"Speciality":this.isActiveVidget=!0,this.selectedRegionId&&(this.visitDoctorRouteParams={queryParams:{region:this.selectedRegionId,lpu:this.attachedLpu.lpu.guid,speciality:e.id}});break;case"Resource":this.isActiveVidget=!0,this.selectedRegionId&&(this.visitDoctorRouteParams={queryParams:{region:this.selectedRegionId,lpu:this.attachedLpu.lpu.guid,speciality:this.attachedLpu.uchastok[0].doctor.specialityCode,doctor:e.id}})}this.isShowSpinner=!1},()=>{this.isActiveVidget=!1,this.isShowVidget=!1,this.isShowSpinner=!1})}visitDoctorRouting(){this.isActiveVidget&&this.router.navigate(["/visit"],this.visitDoctorRouteParam
1s)}callDoctorRouting(){this.router.navigate(["/call-doctor"])}isShowTile(e){return(0,y.d)(e,this.infomatService.isInfomat,this.infomatRegionSettings,this.infomatSettings,this.settings)}toVacccination(){this.stepperService.setRegion(this.region)}customCabinetLink(e){return"entry/"+e}static#t=this.\u0275fac=function(n){return new(n||i)(t.Y36(F.I),t.Y36(Z.o),t.Y36(p.X),t.Y36(u.P),t.Y36(d.F0),t.Y36(f.o),t.Y36(Q.m),t.Y36(v.m),t.Y36(l.M),t.Y36(L.h_),t.Y36(V.eN),t.Y36(T.on))};static#e=this.\u0275cmp=t.Xpm({type:i,selectors:[["app-dashboard"]],viewQuery:function(n,o){if(1&n&&t.Gf(Mt,5),2&n){let r;t.iGM(r=t.CRH())&&(o.empty=r.first)}},hostBindings:function(n,o){1&n&&t.NdJ("resize",function(b){return o.onResize(b)},!1,t.Jf7)},decls:27,vars:23,consts:[[4,"ngIf","ngIfElse"],["vaccinationCovid",""],["class","coronavirus-hotline",4,"ngIf"],["class","main-action-block-dashboard main-action-block-dashboard--disabled main-action-block-dashboard-wide dashboard-widget",3,"attachedLpu","isNavigateCallDoctor","isNavigateVisit","onNavigateCallDoctor","onNavigateVisit",4,"ngIf"],[1,"main-action-block-dashboard-row"],["class","main-action-block-dashboard visit","id","main-action-block-visit",3,"ngClass",4,"ngIf"],["class","main-action-block-dashboard pills",3,"ngClass",4,"ngIf"],["class","main-action-block-dashboard med-history",3,"ngClass",4,"ngIf"],["class","main-action-block-dashboard others",3,"ngClass",4,"ngIf"],["class","main-action-block-dashboard others","id","main-action-block-call-doctor",3,"ngClass",4,"ngIf"],["class","main-action-block-dashboard others",3,"ngClass",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"hospital","settings",4,"ngIf"],["role","presentation","aria-label","\u0411\u0430\u043d\u043d\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0440\u0435\u0446\u0435\u043f\u0442","target","_blank","href","https://e-rp.ru/#rec525866036",4,"ngIf"],["role","presentation","aria-label","\u0411\u0430\u043d\u043d\u0435\u0440 \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 \u0432 MAX","target","_blank","href","https://max.ru/belmed31_bot",4,"ngIf"],["role","presentation","aria-label","\u041c\u0430\u0441\u043e\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0432 \u043f\u043e\u043b\u0438\u043a\u043b\u0438\u043d\u0438\u043a\u0438","srcset","../../../assets/img/common/banner-74-900.webp 900w, ../../../assets/img/common/banner-74-1300.webp 1300w","src","../../../assets/img/common/common/banner-74-1300.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["role","presentation","aria-label","\u0411\u0430\u043d\u043d\u0435\u0440 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439 \u0440\u0435\u0446\u0435\u043f\u0442","target","_blank","href","https://e-rp.ru/#rec525866036"],["aria-hidden","true","srcset","\n ../../../assets/img/common/erp-orel-region-900.webp 900w,\n ../../../assets/img/common/erp-orel-region-1300.webp 1300w\n ","src","../../../assets/img/common/erp-orel-region-1300.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["aria-hidden","true","srcset","\n ../../../assets/img/common/erp-orel-region-mobile-480.webp 480w,\n ../../../assets/img/common/erp-orel-region-mobile-700.webp 700w\n ","src","../../../assets/img/common/erp-orel-region-mobile-700.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["aria-hidden","true","srcset","\n ../../../assets/img/common/erp-orel-region-900.webp 900w,\n ../../../assets/img/common/erp-orel-region-1300.webp 1300w\n ","src","../../../assets/img/common/erp-orel-region-1300.webp",1,"banner-info-virus","announcement-dashboard"],["aria-hidden","true","srcset","\n ../../../assets/img/common/erp-orel-region-mobile-480.webp 480w,\n ../../../assets/img/common/erp-orel-region-mobile-700.webp 700w\n ","src","../../../assets/img/common/erp-orel-region-mobile-700.webp",1,"banner-info-virus","announcement-dashboard"],["role","presentation","aria-label","\u0411\u0430\u043d\u043d\u0435\u0440 \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 \u0432 MAX","target","_blank","href","https://max.ru/belmed31_bot"],["aria-hidden","true","srcset","\n ../../../assets/img/common/2dr.ru-max-mobile.png 760w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 900w,\n ../../../assets/img/common/2dr.ru-max.png 1300w\n ","src","../../../assets/img/common/2dr.ru-max.png","class","banner-info-virus announcement-dashboard",4,"ngIf"],["aria-hidden","true","srcset","\n ../../../assets/img/common/2dr.ru-max-mobile.png 900w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 760w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 480w\n ","src","../../../assets/img/common/2dr.ru-max-mobile.png","class","banner-info-virus announcement-dashboard",4,"ngIf"],["aria-hidden","true","srcset","\n ../../../assets/img/common/2dr.ru-max-mobile.png 760w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 900w,\n ../../../assets/img/common/2dr.ru-max.png 1300w\n ","src","../../../assets/img/common/2dr.ru-max.png",1,"banner-info-virus","announcement-dashboard"],["aria-hidden","true","srcset","\n ../../../assets/img/common/2dr.ru-max-mobile.png 900w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 760w,\n ../../../assets/img/common/2dr.ru-max-mobile.png 480w\n ","src","../../../assets/img/common/2dr.ru-max-mobile.png",1,"banner-info-virus","announcement-dashboard"],["role","presentation","aria-label","\u041c\u0430\u0441\u043e\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c \u0432 \u043f\u043e\u043b\u0438\u043a\u043b\u0438\u043d\u0438\u043a\u0438","srcset","../../../assets/img/common/banner-74-900.webp 900w, ../../../assets/img/common/banner-74-1300.webp 1300w","src","../../../assets/img/common/common/banner-74-1300.webp",1,"banner-info-virus","announcement-dashboard"],["role","presentation","aria-label","\u0411\u0430\u043d\u043d\u0435\u0440 \u041c\u0430\u0441\u0441\u043e\u0432\u0430\u044f \u0432\u0430\u043a\u0446\u0438\u043d\u0430\u0446\u0438\u044f \u043e\u0442 \u043a\u043e\u0440\u043e\u043d\u0430\u0432\u0438\u0440\u0443\u0441\u0430 COVID-19 \u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0432\u0430\u043a\u0446\u0438\u043d\u0430\u0446\u0438\u044e",3,"routerLink","queryParams","click"],["src","../../../assets/img/common/sputnik-v-big-1300.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["src","../../../assets/img/common/sputnik-v-mobile-700.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["srcset","\n ../../../assets/img/common/vaccination_mo_1024-100.png 1024w,\
1n ../../../assets/img/common/vaccination_mo_1300.webp 1300w\n ","src","../../../assets/img/common/vaccination_mo_1300.webp","class","banner-info-virus announcement-dashboard",4,"ngIf"],["src","../../../assets/img/common/sputnik-v-big-1300.webp",1,"banner-info-virus","announcement-dashboard"],["src","../../../assets/img/common/sputnik-v-mobile-700.webp",1,"banner-info-virus","announcement-dashboard"],["srcset","\n ../../../assets/img/common/vaccination_mo_1024-100.png 1024w,\n ../../../assets/img/common/vaccination_mo_1300.webp 1300w\n ","src","../../../assets/img/common/vaccination_mo_1300.webp",1,"banner-info-virus","announcement-dashboard"],[1,"coronavirus-hotline"],[2,"margin-bottom","7px"],["href","tel:122",4,"ngIf"],["href","tel:122"],[1,"main-action-block-dashboard","main-action-block-dashboard--disabled","main-action-block-dashboard-wide","dashboard-widget",3,"attachedLpu","isNavigateCallDoctor","isNavigateVisit","onNavigateCallDoctor","onNavigateVisit"],["id","main-action-block-visit",1,"main-action-block-dashboard","visit",3,"ngClass"],["role","presentation","aria-label","\u0417\u0430\u043f\u0438\u0441\u044c \u043d\u0430 \u043f\u0440\u0438\u0435\u043c \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044f ",1,"main-action-block-dashboard-link","bvi-no-styles",3,"routerLink","queryParams"],["aria-hidden","true",1,"main-action-block-dashboard-content"],[1,"icon-add"],[1,"main-action-block-dashboard-name"],[1,"main-action-block-dashboard","pills",3,"ngClass"],["role","presentation","aria-label","\u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u043b\u044c\u0433\u043e\u0442\u043d\u044b\u0445 \u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432 \u0430\u043f\u0442\u0435\u043a\u0430\u0445","routerLink","/pills","class","main-action-block-dashboard-link bvi-no-styles",4,"ngIf"],[1,"icon-pill"],["role","presentation","aria-label","\u041d\u0430\u043b\u0438\u0447\u0438\u0435 \u043b\u044c\u0433\u043e\u0442\u043d\u044b\u0445 \u043b\u0435\u043a\u0430\u0440\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0432 \u0430\u043f\u0442\u0435\u043a\u0430\u0445","routerLink","/pills",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"main-action-block-dashboard","med-history",3,"ngClass"],["role","presentation","aria-label","\u0417\u0430\u043f\u0438\u0441\u0438 \u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f","routerLink","/med-history",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-history"],[1,"main-action-block-dashboard","others",3,"ngClass"],["role","presentation","aria-label","\u0417\u0430\u043f\u0438\u0441\u044c \u043f\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e","routerLink","/directions",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-user-move"],["role","presentation","aria-label","\u0420\u0435\u0446\u0435\u043f\u0442\u044b \u0438 \u043c\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f","routerLink","/prescriptions",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-prescription"],["id","main-action-block-call-doctor",1,"main-action-block-dashboard","others",3,"ngClass"],["role","presentation","aria-label","\u0412\u044b\u0437\u043e\u0432 \u0432\u0440\u0430\u0447\u0430 \u043d\u0430 \u0434\u043e\u043c","routerLink","/call-doctor",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-doctor"],["role","presentation","aria-label","\u041c\u043e\u0451 \u0417\u0434\u043e\u0440\u043e\u0432\u044c\u0435","routerLink","/health",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-measure"],["role","presentation","aria-label","\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439","routerLink","/research-result",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-lab-research"],["role","presentation","aria-label","\u0414\u0438\u0441\u043f\u0430\u043d\u0441\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0438 \u043c\u0435\u0434. \u043e\u0441\u043c\u043e\u0442\u0440\u044b","routerLink","/examination",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-health-check"],["role","presentation","aria-label","\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0437\u0430\u044f\u0432\u043a\u0438","routerLink","/med-documents",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-copy"],["role","presentation","aria-label","\u041b\u
10438\u0441\u0442\u043a\u0438 \u043d\u0435\u0442\u0440\u0443\u0434\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438","routerLink","/notworkdoc",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-disability"],["role","presentation","aria-label","\u041a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044c \u043f\u0440\u0438\u0432\u0438\u0432\u043e\u043a","routerLink","/vaccination",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-vaccine"],["role","presentation","aria-label","\u041c\u0435\u0434\u0438\u0446\u0438\u043d\u0441\u043a\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0437\u0430\u044f\u0432\u043a\u0438","routerLink","/articles",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"articles-block"],[1,"articles-block-icon"],[1,"main-action-block-dashboard-link","bvi-no-styles",3,"routerLink"],[1,"main-action-block-dashboard-content"],[1,"icon-printer"],["routerLink","/video-list",1,"main-action-block-dashboard-link","bvi-no-styles"],[1,"icon-play"],[3,"hospital","settings"],["empty",""]],template:function(n,o){if(1&n&&(t.TgZ(0,"div"),t.YNc(1,qt,6,5,"ng-container",0),t.YNc(2,Ht,4,5,"ng-template",null,1,t.W1O),t.qZA(),t.YNc(4,Gt,6,2,"div",2),t.YNc(5,Wt,1,3,"attachment-banner",3),t.TgZ(6,"div")(7,"div",4),t.YNc(8,Xt,6,6,"div",5),t.YNc(9,ee,6,5,"div",6),t.YNc(10,ie,6,4,"div",7),t.YNc(11,oe,6,4,"div",8),t.YNc(12,ne,6,4,"div",8),t.YNc(13,ae,6,4,"div",9),t.YNc(14,se,6,4,"div",8),t.YNc(15,re,6,4,"div",8),t.YNc(16,ue,6,4,"div",8),t.YNc(17,le,6,4,"div",8),t.YNc(18,ce,6,4,"div",8),t.YNc(19,de,6,4,"div",8),t.YNc(20,me,8,4,"div",8),t.YNc(21,he,6,5,"div",10),t.YNc(22,pe,6,4,"div",8),t.qZA()(),t.YNc(23,fe,1,0,"app-dashboard-footer",11),t.YNc(24,ge,1,0,"dashboard-hotline",11),t.YNc(25,_e,1,2,"dashboard-hospital",12),t.YNc(26,be,2,0,"div",11)),2&n){const r=t.MAs(3);t.xp6(1),t.Q6J("ngIf",!o.isShowCovidVaccination)("ngIfElse",r),t.xp6(3),t.Q6J("ngIf","3100000000000"===(null==o.settings?null:o.settings.default_code_region)),t.xp6(1),t.Q6J("ngIf",o.isShowVidget),t.xp6(3),t.Q6J("ngIf",o.isShowTile("visit")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("pills")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("med_history")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("directions")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("prescriptions")),t.xp6(1),t.Q6J("ngIf",o.infomatService.isInfomat?o.isShowTile("call_doctor")&&o.isCallDoctor:o.isShowTile("call_doctor")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("health")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("research_result")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("examination")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("med_documents")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("notworkdoc")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("vaccination")),t.xp6(1),t.Q6J("ngIf",o.isShowTile("articles")),t.xp6(1),t.Q6J("ngForOf",o.infomatCustomCabinets),t.xp6(1),t.Q6J("ngIf",o.isShowTile("video_list")),t.xp6(1),t.Q6J("ngIf",!o.infomatService.isInfomat),t.xp6(1),t.Q6J("ngIf",!o.infomatService.isInfomat&&""!==(null==o.templates?null:o.templates.hotline.description)),t.xp6(1),t.Q6J("ngIf",o.infomatService.isInfomat&&o.hospitalInfo&&o.settings),t.xp6(1),t.Q6J("ngIf",o.infomatService.isInfomat)}},dependencies:[C.mk,C.sg,C.O5,d.rH,q.Hw,R.D,K,Zt,Ot],styles:[".main-action-block-dashboard{flex:1 0 30%;position:relative;height:210px;color:#fff;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease-in-out;font-size:var(--dashboard-block-text-size, 20px);text-align:center;line-height:1.1;margin-bottom:2rem;margin-right:2rem}.main-action-block-dashboard-infomat{height:var(--dashboard-block-height, 165px)}.main-action-block-dashboard-link{color:#fff;position:absolute;inset:0}.main-action-block-dashboard-row{display:flex;justify-content:center;margin-right:-2rem}.main-action-block-dashboard-name{height:100%;display:flex;align-items:center;justify-content:center}.main-action-block-dashboard-content{display:flex;flex-direction:column;padding:10px;height:100%}.main-action-block-dashboard:hover,.main-action-block-dashboard.others:hover{box-shadow:0 0 30px #5472824c}.main-action-block-dashboard.others{background-color:var(--dashboard-others-background-color, #fff);color:var(--dashboard-others-text-color, #567484);box-shadow:0 0 15px #54728226}.main-action-block-dashboard.others:hover{color:var(--dashboard-others-text-color--hover, #48b1cd)}.main-action-block-dashboard.others .main-action-block-dashboard-link{color:var(--dashboard-others-text-color, #567484)}.main-action-block-dashboard.visit{color:var(--dashboard-visit-text-color, #ffffff);background-color:var(--dashboard-visit-background-color, #00b3d1)}.main-action-block-dashboard.visit:hover{color:var(--dashboard-visit-text-color--hover, #ffffff)}.main-action-block-dashboard.visit .main-action-block-dashboard-link{color:var(--dashboard-visit-text-color, #ffffff)}.main-action-block-dashboard.pills{color:var(--dashboard-pills-text-color, #ffffff);background-color:var(--dashboard-pills-background-color, #f7537e)}.main-action-block-dashboard.pills:hover{color:var(--dashboard-pills-text-color--hover, #ffffff)}.main-action-block-dashboard.pills .main-action-block-dashboard-link{color:var(--dashboard-pills-text-color, #ffffff)}.main-action-block-dashboard.med-history{color:var(--dashboard-history-text-color, #ffffff);background-color:var(--dashboard-history-background-color, #fbc201)}.main-action-block-dashboard.med-history:hover{color:var(--dashboard-history-text-color--hover, #ffffff)}.main-action-block-dashboard.med-history .main-action-block-dashboard-link{color:var(--dashboard-history-text-color, #ffffff)}.main-action-block-dashboard-row{flex-wrap:wrap}.main-action-block-dashboard [class^=icon]{font-size:64px;margin-top:1.5rem}.main-action-block-dashboard-wide{flex:1 0 90%;width:100%;height:auto}.main-action-block-dashboard--disabled{cursor:default}.main-action-block-dashboard--disabled:hover{box-shadow:none}.spinner-block{flex:1 0 90%;-webkit-box-flex:1;position:relative;border-radius:6px;border:none;transition:all .2s ease-in-out;text-align:center;margin-bottom:2rem;margin-right:2rem}.announcement-dashboard{margin-bottom:1rem}.banner-info-virus{max-width:100%;height:auto}.coronavirus-hotline{font-family:PT Root UI Regular,sans-serif;font-size:16px;line-height:normal;margin-bottom:1rem;color:var(--dashboard-info-text-color, #295b75);padding-left:5px}.coronavirus-hotline a{white-space:nowrap;color:var(--dashboard-hotline-text-color, #00b3d1);font-weight:700}.articles-block{margin-top:1.5rem;height:64px}.articles-block-icon{font-size:64px}.articles-block .mat-icon{width:64px;
1height:64px}@media screen and (max-width: 768px){.main-action-block-dashboard{font-size:16px;flex-basis:45%;margin-right:1rem}.main-action-block-dashboard-row{margin-right:0}.main-action-block-dashboard-wide{flex-basis:90%}.announcement-dashboard{margin-bottom:.8rem}.coronavirus-hotline{margin-bottom:.8rem;margin-right:1rem}}@media screen and (min-height: 1900px){.main-action-block-dashboard{flex:1 1 50%;font-size:24px;margin-right:0}.main-action-block-dashboard-row{flex-direction:column-reverse}.main-action-block-dashboard-link{flex-direction:row}.main-action-block-dashboard-name{margin-left:1.5rem;font-size:2.2rem}}@media screen and (max-width: 480px){.main-action-block-dashboard-row{margin-right:-.7rem}.main-action-block-dashboard{margin-right:.8rem;height:150px;margin-bottom:.8rem}.main-action-block-dashboard [class^=icon]{font-size:45px;margin-top:1rem}.main-action-block-dashboard-name{font-size:13px;line-height:1.3}.main-action-block-dashboard-link{padding:10px}.dashboard-widget{order:-1;height:auto}.articles-block{top:1rem;height:45px}.articles-block-icon{font-size:45px}.articles-block .mat-icon{width:45px;height:45px}}@media screen and (max-width: 319px){.main-action-block-dashboard-name{font-size:12px}}@media (min-width: 1288px) and (max-height: 1899px){.main-action-block-dashboard.pills{flex:0 1 calc(33% - 1.8rem)}}@media (min-width: 1260px) and (max-width: 1287px){.main-action-block-dashboard.pills{flex:1 0 30%}}@media (min-width: 900px) and (max-width: 1260px){.main-action-block-dashboard.pills{flex:0 1 calc(33% - 1.8rem)}}@media (min-width: 481px) and (max-width: 768px){.banner-info-virus{padding-right:1rem}}@media (max-width: 480px){.banner-info-virus{padding-right:0}}\n"],encapsulation:2})}return i})()}];let xe=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[d.Bz.forChild(ve),d.Bz]})}return i})();var Ce=s(44466),D=s(74119),ke=s(49869);let we=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[D.q]}
1)}return i})(),ye=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[D.q]})}return i})();var Ze=s(71694);let Te=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[D.q]})}return i})(),De=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[D.q]})}return i})(),Ie=(()=>{class i{static#t=this.\u0275fac=function(n){return new(n||i)};static#e=this.\u0275mod=t.oAB({type:i});static#i=this.\u0275inj=t.cJS({imports:[Ce.m,D.q,xe,Ze.O,ke.s,ye,we,Te,De]})}return i})()},79411:(M,k,s)=>{s.d(k,{w:()=>d});class d{static fromJSON(p){let u=new d;return u.lpu=p.lpu,u.status=p.status,u.uchastok=p.uchastok,u.isFailed=p.isFailed,u}get name(){return`${this.lpu.name}, ${this.uchastok[0].typeName} ${this.uchastok[0].name}, ${this.uchastok[0].doctor.fio?this.uchastok[0].doctor.fio:""}`}}},85904:(M,k,s)=>{s.d(k,{d:()=>Z});const d={monday:"\u041f\u043d",tuesday:"\u0412\u0442",wednesday:"\u0421\u0440",thursday:"\u0427\u0442",friday:"\u041f\u0442",saturday:"\u0421\u0431",sunday:"\u0412\u0441"};function Z(u){let f=[],v=[],l=u,_=1,x=[];Object.keys(l).forEach(m=>{-1!==l[m].toLowerCase().indexOf("\u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439")?f.push(d[m]):""!==l[m]&&(x[l[m]]?x[l[m]].push({num:_,day:m}):x[l[m]]=[{num:_,day:m}]),_++});for(let m in x){let y=m.split("-"),I=y[0].split(":"),P=y[1].split(":");v.push({from:I,to:P,days:p(x[m])})}return{offDays:f,workDays:v}}function p(u){let f,v;if(u.forEach(l=>{u.length>2&&(!f||l.num-1===f)?(v="-",f=l.num):v=","}),"-"===v)return d[u[0].day]+" \u2014 "+d[u[u.length-1].day];{let l="";return u.forEach(_=>{l+=d[_.day]+(u[u.length-1]===_?"":", ")}),l}}},84630:(M,k,s)=>{function d(p){p.controls&&Object.values(p.controls).forEach(u=>{u.markAsDirty(),u.controls&&Object.values(u.controls).forEach(f=>d(f))})}function Z(p,u,f){if(!p)return null;let v={};for(const l in u){v[l]="";const _=p.get(l);if(_&&_.touched&&!_.valid){const x=f[l];for(const m in _.errors)v[l]+=x[m]+" "}}return v}s.d(k,{$:()=>d,C:()=>Z})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.