1import{_ as I,a as P,b as S,A as R}from"./ArticlesCardsList-a3ea2651.js";import{_ as V}from"./Page-283e40cb.js";import{_ as L}from"./SchemaOrgContainer-7b86d441.js";import{W as $}from"./Waterfall-527224b4.js";import{u as N}from"./useUserDataUpdate-921db953.js";import{g as U}from"./ArticlesPreviewList-67795a6f.js";import{u as W,l as M}from"./index-ba7a78b3.js";import{z as T,a0 as O,x as j,ao as z,f as s,y as t,ap as G,b4 as Y,A as H,C as e,D as r,a8 as J,ar as i,a7 as o,a2 as E,aa as q,ab as K,a9 as Q,a4 as X,a6 as Z,a3 as uu}from"./vendor-841ae9e1.js";import{i as eu}from"./vedomostiAuthors-213c7639.js";import{g as tu}from"./meta-7b87f0e9.js";import{c as au}from"./socials-f5e3ab95.js";import{C as ru}from"./CardVideo-711ccd93.js";import"./SvgIcon-3a8dabd4.js";import"./Loader-630fb009.js";import"./plugin-vue_export-helper-c27b6911.js";import"./useCategoryHelper-f36740e3.js";import"./BaseImage-cc67c8f1.js";/* empty css */import"./PartnerTool-4876009c.js";import"./Tooltip-e7cb77d9.js";/* empty css *//* empty css */import"./RawHtml-2915538a.js";import"./isLocked-e08ca20f.js";import"./index-585c5704.js";import"./returnLinkTarget-83bf04d0.js";import"./Tags-a48d7505.js";import"./Banner-0a6c8e35.js";import"./Adfox-4b4105d0.js";import"./logger-e10aea59.js";import"./no-photo-c1474d1d.js";import"./SalmonButton-aad65f21.js";import"./Card-c7abb916.js";import"./SectionName-609cf294.js";import"./Tooltip-a412fcf9.js";import"./subscriber-a82344d5.js";import"./sentry-27444d60.js";import"./polyfills-c1ef29e8.js";import"./axios-f31720dc.js";import"./LoaderDots-60f8ec53.js";import"./ScrollBar-e0056128.js";import"./ArticlePreviewItem-ebc8b77f.js";/* empty css */import"./DotsLoader-94dd551d.js";import"./useInitialState-e2db9d52.js";import"./consola-a319bdc8.js";import"./imask/esm-65004cd6.js";import"./lodash-59cf2d56.js";import"./crypto-bn-fe71aef5.js";import"./elliptic-0bc42179.js";import"./ArticleShare-e6a1cfb9.js";import"./Share-c10141bd.js";const ou={key:4,class:"page-index__switchers"},su=["onClick"],iu=T({__name:"PageIndex",setup(lu){N();const p=O(),D=j(),B=W(),x=z(),g={id:"main",name:"Ðлавное"},h={id:"waterfall",name:"ÐовоÑÑи"},m=s(g.id),y=s([g,h]),c=s(null),d=s(null),v=s(null),_=s(null),f=t(()=>p.state.articlesCardsList.pageInfo),k=t(()=>({title:f.value.seo_title||"«ÐедомоÑÑи» â ведÑÑее деловое издание РоÑÑии.",subtitle:f.value.seo_description||"ÐаÑеÑÑвеннÑй конÑÐµÐ½Ñ Ð¾ бизнеÑе, Ñкономике, ÑинанÑаÑ
и полиÑике. Свежие новоÑÑи, ÑкÑпеÑÑнÑе ÑÑаÑÑи и аналиÑика в деловом издании «ÐедомоÑÑи»",keywords:f.value.seo_keywords||"ведомоÑÑи, vedomosti, деловое издание о бизнеÑе, полиÑике, Ñкономике, ÑинанÑаÑ
, недвижимоÑÑи, инвеÑÑиÑиÑÑ
, обÑеÑÑве, менеджменÑе, медиа",image:tu(B.value),type:"website",url:"https://www.vedomosti.ru"})),b=t(()=>({customTitle:!!k.value.title,useCDN:!1})),l=t(()=>p.getters["viewport/isMobile"]),C=t(()=>au.call(this,k.value,b.value)),w=u=>{m.value!==u&&(m.value=u)},A=t(()=>m.value===h.id),F=u=>{var a;const n=(a=u.properties.format.subtype)==null?void 0:a.slug;n==="article"?u.data.video_embed?c.value=u:v.value=u:n==="cardbackground"?_.value=u:d.value=u};return G(async()=>{try{await p.dispatch("articlesCardsList/loadCards",{page:"main_tuna"})}catch(u){U(u,{router:x,pageUrl:D.fullPath,onReport:n=>{M("PageIndex","PageIndex: [SSR] fetchData",n.message||"Unexpected error",{pageUrl:D.fullPath})}})}}),Y("setVideoFirst",F),H({title:t(()=>C.value.title),meta:t(()=>C.value.meta),link:t(()=>C.value.link)}),(u,n)=>(e(),r(V,{class:"page-index"},{default:J(()=>[d.value?(e(),r(i(I),{key:0,card:d.value},null,8,["card"])):o("",!0),v.value&&l.value?(e(),r(i(P),{key:1,card:v.value},null,8,["card"])):o("",!0),c.value&&l.value?(e(),r(i(ru),{key:2,card:c.value},null,8,["card"])):o("",!0),_.value&&l.value?(e(),r(S,{key:3,card:_.value},null,8,["card"])):o("",!0),l.value?(e(),E("div",ou,[(e(!0),E(q,null,K(y.value,a=>(e(),E("div",{key:a.id,class:Q(["page-index__switcher",{"--active":m.value===a.id}]),onClick:nu=>w(a.id)},[X("span",null,Z(a.name),1)],10,su))),128))])):o("",!0),uu(L,{schema:i(eu)},null,8,["schema"]),l.value&&A.value?(e(),r(i($),{key:5})):o("",!0),A.value?o("",!0):(e(),r(i(R),{key:6}))]),_:1}))}}),l4=iu;export{l4 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.