1import{ar as G,P as L,U as g,k as f,h as e,ac as O,o as n,b as R,n as C,j as J,aE as E,af as h,an as K,F as B,a2 as H,J as Y,aH as Q,a1 as A,I as Z,O as ee,g as y,ak as D,ap as te,aD as M,ao as se}from"./7k1903kh.js";import{_ as U}from"./BRSGJtMK.js";import{_ as ne}from"./CnmNZWVW.js";import{_ as ae}from"./BrgK40Y4.js";import{u as V,_ as oe}from"./CB21zOxs.js";import{_ as ie,u as re}from"./bml5FRpq.js";import{S as P,N as le,G as ce,_ as _e}from"./f_bnOUo-.js";/* empty css */import"./hsfkalsT.js";const de={class:"news-head"},ue={class:"center-wrap"},pe={class:"news-head__inner"},me={class:"news-head__meta"},he={class:"news-head__type-wrap"},we={key:0,class:"news-head__duration"},ve={class:"news-head__date"},ge={class:"news-head__title"},fe={class:"news-head__bottom col --9"},ye={class:"news-head__share-wrap"},Ee={class:"news-head__share-inner"},ke=["href"],Te=["href"],$e=["href"],Se={__name:"head",props:{header:{type:String,required:!0},date:{type:String,required:!0},time:{type:String,required:!1},section:{type:Object,required:!0},authors:{type:Object,required:!0}},setup(u){let i;const p=G(),m=r=>{p.push({path:"/news/",query:{tag:r}})};return L(()=>{i=window.location.href}),(r,a)=>{const s=R,_=U,w=ne;return g(),f("div",de,[e("div",ue,[e("div",pe,[e("div",me,[e("div",he,[e("div",{class:"news-head__type",onClick:a[0]||(a[0]=t=>m(u.section.ID))},O(u.section.NAME),1)]),u.time?(g(),f("div",we,[n(s,{name:"clock"}),a[1]||(a[1]=C(" ЧиÑаÑÑ ",-1)),e("div",null,O(u.time),1),a[2]||(a[2]=C("мин ",-1))])):J("",!0),e("div",ve,[n(s,{name:"calendar"}),C(" "+O(u.date),1)])]),e("h1",ge,O(u.header),1),e("div",fe,[a[4]||(a[4]=e("div",{class:"news-head__bottom-logo-cont"},[e("div",{class:"news-card__default-author"},"Ð"),e("div",{class:"news-card__author-info --just-center"},[e("div",{class:"news-card__author-name"},"ÐСТ")])],-1)),e("div",ye,[a[3]||(a[3]=e("div",{class:"news-head__share-title"},"ÐоделиÑÑÑÑ:",-1)),n(w,null,{default:E(()=>[e("div",Ee,[e("a",{target:"_blank",href:`https://vk.com/share.php?url=${h(i)}`},[n(_,{class:"news-head__share-btn --m --vk",color:"gray"},{default:E(()=>[n(s,{name:"social/vk",class:"--unset"})]),_:1})],8,ke),e("a",{target:"_blank",href:`https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=${h(i)}`},[n(_,{class:"news-head__share-btn --m --ok",color:"gray"},{default:E(()=>[n(s,{name:"social/ok",class:"--unset"})]),_:1})],8,Te),e("a",{target:"_blank",href:`https://t.me/share/url?url=${h(i)}`},[n(_,{class:"news-head__share-btn --m --tg",color:"gray"},{default:E(()=>[n(s,{name:"social/tg",class:"--unset"})]),_:1})],8,$e)])]),_:1})])])])])])}}},Ne={class:"news-detail"},Ie={class:"center-wrap"},be={class:"news-detail__inner"},xe=["innerHTML"],Oe={key:0,class:"news-detail__sidebar col --3"},Ae={class:"news-detail__trolley"},Ce={class:"news-detail__maintenance"},De={class:"news-detail__maintenance-wrap"},Le={class:"news-detail__maintenance-items"},Me=["href","onClick"],Pe={key:1,class:"news-detail__sidebar__message"},Re={__name:"detail",props:{item:{type:Object,required:!0}},setup(u){const i=u,{$gsap:p,$ScrollTrigger:m}=K(),r=[];i?.item?.PROPS?.MENU&&i.item.PROPS.MENU[0]&&i.item.PROPS.MENU.forEach(l=>{const d=l.TEXT.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"'),k=/<a\s+[^>]*href="([^"]*)"[^>]*>([^<]*)<\/a>/g;let T;for(;(T=k.exec(d))!==null;){const b=T[1],v=T[2].trim();r.push({key:b,label:v})}});const a=A(null),s=A(null),_=A(null),w=A(null),t=l=>{l&&(w.value=l,p.to(window,{duration:.56,scrollTo:{y:"#"+l,offsetY:200},ease:"power3.inOut"}))},N=l=>{const o=a.value.offsetHeight,d=s.value,k=o;d.style.height=k+"px"},x=()=>{const l=s.value;l.style.height="10%"},I=()=>{const l=p.utils.toArray(".news-detail__maintenance-items a"),o=p.utils.toArray(".snippet__news");_.value.clientHeight&&o.forEach((k,T)=>{const b=o.findIndex(v=>v===o[T]);m.create({trigger:k,start:"top center",end:"bottom center",onEnter:()=>{l.forEach(($,S)=>{$.classList.remove("is-active"),S===b&&$.classList.add("is-active")}),document.querySelector(".news-detail__maintenance-items .is-active")&&s.value&&N()},onEnterBack:()=>{l.forEach(($,S)=>{$.classList.remove("is-active"),S===b&&$.classList.add("is-active")}),document.querySelector(".news-detail__maintenance-items .is-active")&&s.value&&N()},onLeaveBack:()=>{T===0&&x()}}),l.forEach((v,$)=>{v.addEventListener("click",()=>{l.forEach(S=>{S.classList.remove("is-active")}),v.classList.add("is-active")})})})};return L(()=>{I()}),(l,o)=>(g(),f("div",Ne,[e("div",Ie,[e("div",be,[e("div",{class:"news-detail__c
1ontent type-editor grid --gap-16",ref_key:"content",ref:_},[o[0]||(o[0]=e("div",{class:"null-title"},null,-1)),e("div",{innerHTML:u.item.DETAIL_TEXT},null,8,xe)],512),r.length>0?(g(),f("div",Oe,[e("div",Ae,[e("div",Ce,[o[1]||(o[1]=e("div",{class:"news-detail__maintenance-text"},"СодеÑжание:",-1)),e("div",De,[e("div",{class:"news-detail__maintenance-scroll --scroll-bar-filled",ref_key:"scroll",ref:a},[e("div",{class:"--tag",ref_key:"scrollBar",ref:s},null,512)],512),e("div",Le,[(g(),f(B,null,H(r,d=>e("a",{key:d.key,href:d.key,onClick:Q(k=>t(d.key),["prevent"]),class:Y(["news-detail__maintenance-item link",{"is-active":h(w)===d.key}])},O(d.label),11,Me)),64))])])])])])):(g(),f("div",Pe,[...o[2]||(o[2]=[e("span",{class:"news-detail__maintenance-text"},"СодеÑжание к данной новоÑÑи не Ñказано",-1)])]))])])]))}},Be={class:"news-carusel"},He={class:"news-carusel__inner"},Ue={class:"center-wrap"},Ve={class:"news-carusel__head"},qe={class:"news-carusel__end"},je={class:"news-carusel__navigation"},Fe={class:"news-carusel__slider slider"},We={class:"swiper-container"},Xe={class:"swiper-wrapper"},ze={__name:"carusel",props:{items:{type:Array,required:!0}},setup(u){const i=u,{generateItemListSchema:p}=V();let m;L(()=>{P.use([le,ce]);const s={slidesPerView:1,spaceBetween:16,free:!0,autoHeight:!1,navigation:{nextEl:".news-carusel .swiper-button-next",prevEl:".news-carusel .swiper-button-prev"},grid:{rows:1,fill:"row"},breakpoints:{721:{slidesPerView:2,spaceBetween:16,grid:{rows:2}}}};Z(()=>{m=new P(".news-carusel__slider .swiper-container",s)})}),ee(()=>{m?.destroy?.()});const r=y(()=>i.items?.length?i.items.map(s=>({type:"NewsArticle",id:s?.ID,title:s?.NAME,description:s?.PREVIEW_TEXT||"",link:`/news/${s?.CODE}/`,imageUrl:s?.IMAGE,datePublished:s?.DATE_ACTIVE_FROM})):[]),a=y(()=>r.value.length?p(r.value,{listName:"Ðам Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑеÑеÑно",listDescription:"Ðам Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑеÑеÑно Multi-Systems Technology"}):null);return D(()=>a.value?{script:[{type:"application/ld+json",innerHTML:JSON.stringify(a.value)}]}:{}),(s,_)=>{const w=U,t=oe,N=R,x=ie;return g(),f("div",Be,[e("div",He,[e("div",Ue,[e("div",Ve,[_[1]||(_[1]=e("div",{class:"news-carusel__title"}," Ðам Ð¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¸Ð½ÑеÑеÑно ",-1)),e("div",qe,[n(t,{to:"/news/",class:"news-carusel__more-wrap link"},{default:E(()=>[n(w,{class:"news-carusel__more"},{default:E(()=>[..._[0]||(_[0]=[C("ÐÑе пÑбликаÑии",-1)])]),_:1})]),_:1}),e("div",je,[n(w,{color:"2",class:"slider__btn swiper-button-prev"},{default:E(()=>[n(N,{name:"ui/prev"})]),_:1}),n(w,{color:"2",class:"slider__btn swiper-button-next"},{default:E(()=>[n(N,{name:"ui/next"})]),_:1})])])])]),e("div",Fe,[e("div",We,[e("div",Xe,[(g(!0),f(B,null,H(u.items,I=>(g(),f("div",{key:I,class:"swiper-slide"},[n(x,{news:I,class:"news-carusel__slide"},null,8,["news"])]))),128))])])])])])}}},Ge={class:"page mb-88"},Je={class:"large-wrap --page pt-32"},ot={__name:"index",async setup(u){let i,p;const m=te(),r=re(),{generateNewsArticleSchema:a,generateSchema:s}=V();r.getNewsList.length===0&&([i,p]=M(()=>r.setNewsList()),await i,p());const _=r.getNewsList.filter(c=>c.CODE===m.params.slug),w=r.getNewsList.filter(c=>c.IBLOCK_SECTION_ID===_[0].IBLOCK_SECTION_ID&&c.ID!==_[0].ID);[i,p]=M(()=>r.setDetailNews(_[0].ID)),await i,p();const t=y(()=>r.getDetailNews),x=new Date(t.value?.DATE_ACTIVE_FROM).toLocaleString("RU",{year:"numeric",month:"long",day:"numeric"}),I=y(()=>{if(t.value?.PROPS?.PREVIEW_PICTURE){const c=t.value.PROPS.PREVIEW_PICTURE;return c.startsWith("http")?c:`https://mst.ru${c}`}return"https://mst.ru/img/hero/main-light.jpg"}),l=y(()=>`https://mst.ru${m.path.endsWith("/")?m.path:`${m.path}/`}`),o=y(()=>t.value?.NAME||"ÐовоÑÑи"),d=y(()=>t.value?.PREVIEW_TEXT||t.value?.NAME||"");D({title:o,meta:[{name:"description",content:d},{property:"og:title",content:o},{property:"og:description",content:d},{property:"og:type",content:"article"},{property:"og:url",content:l},{property:"og:image",content:I},{property:"og:site_name",content:"Multi-Systems Technology"},{property:"og:locale",content:"ru_RU"},...t.value?.DATE_ACTIVE_FROM?[{property:"article:published_time",content:t.value.DATE_ACTIVE_FROM}]:[]]});const k={hero:{title:"StypCel1",picture:"img/hero/about.jpg"}}
1,T=se(),b=[{link:"/",name:"ÐлавнаÑ"},{link:"/news/",name:"ÐовоÑÑи"},{name:t.value?.NAME}];T.setBreadcrumbs(b);const v=c=>c?c.replace(/<style[^>]*>[\s\S]*?<\/style>/gi," ").replace(/<[^>]*>/g," ").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/&[a-z]+;/g," ").replace(/\s+/g," ").trim():"",$=y(()=>{const c="https://mst.ru";return t.value?{id:t.value?.ID,headline:t.value?.NAME,description:t.value?.PREVIEW_TEXT,articleBody:v(t.value?.DETAIL_TEXT),image:t.value.IMAGE,datePublished:t.value?.DATE_CREATE,author:{"@type":"Organization","@id":`${c}/#organization`,name:"Multi-Systems Technology - ÐмпланÑÑ Ð´Ð»Ñ Ñ
иÑÑÑгии позвоноÑника, ÑÑавмаÑологии и оÑÑопедии"},url:`${c}/news/${t.value?.CODE}/`}:null}),S=y(()=>a($.value));return D(()=>S.value?{script:[{type:"application/ld+json",innerHTML:JSON.stringify(S.value)},{type:"application/ld+json",innerHTML:JSON.stringify(s({title:o.value,description:d.value},{includeOrganization:!1,includeWebsite:!1}))}]}:{}),(c,q)=>{const j=Se,F=ae,W=Re,X=ze,z=_e;return g(),f("div",Ge,[n(F,{content:k.hero,class:"news-detail-head"},{default:E(()=>[n(j,{header:h(t).NAME,date:h(x),section:h(t).SECTION,time:h(t)?.PROPS?.TIME[0],authors:h(t)?.AUTHORS},null,8,["header","date","section","time","authors"])]),_:1},8,["content"]),e("div",Je,[n(W,{item:h(t)},null,8,["item"]),n(X,{class:"mt-80",items:h(w)},null,8,["items"]),n(z,{class:"mt-24"})])])}}};export{ot as default};
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.