PageSourceSearch

https://cdn28.vedomosti.ru/1.0.55/_nuxt/D0i74uDV.js

js vedomosti.ru collected 2026-10-01 08:16:45 UTC 3,443 bytes, 1 lines download raw bytes

1import{e as b,c as a,o,g as u,a as g,C as p,_ as y,a7 as T,f as C,aa as P,R as M,i as l,w as k,L as S,b as U,t as B,l as D,u as s}from"./DDhvfqCR.js";import I from"./8ZY-yiJW.js";import{c as O,d as A,n as E}from"./CvTaMwr_.js";import{b as K,u as L}from"./BldjVZYK.js";const x=e=>e?.h1||e?.title||"",N=["href","target"],R={key:0,class:"preview-container"},j={class:"content"},V={key:0,class:"time-container"},q={key:1,class:"subcategory-container"},z={key:2,class:"title-container"},H={key:3,class:"subtitle-container"},F={key:4,class:"tooltip-container"},G=b({__name:"BaseCard",props:{url:{default:""},target:{default:"_self"}},setup(e){return(t,i)=>(o(),a("a",{href:e.url,target:e.target,class:"card"},[t.$slots.preview?(o(),a("div",R,[p(t.$slots,"preview",{},void 0,!0)])):u("",!0),g("div",j,[t.$slots.time?(o(),a("div",V,[p(t.$slots,"time",{},void 0,!0)])):u("",!0),t.$slots.subcategory?(o(),a("div",q,[p(t.$slots,"subcategory",{},void 0,!0)])):u("",!0),t.$slots.title?(o(),a("div",z,[p(t.$slots,"title",{},void 0,!0)])):u("",!0),t.$slots.subtitle?(o(),a("div",H,[p(t.$slots,"subtitle",{},void 0,!0)])):u("",!0),t.$slots.tooltip?(o(),a("div",F,[p(t.$slots,"tooltip",{},void 0,!0)])):u("",!0)])],8,N))}}),tt=y(G,[["__scopeId","data-v-bd686b1b"]]);class et{main_token;company_url;company_title;disclaimer;constructor(t={}){const i=Object.keys(this);for(const n of i)n in t&&(this[n]=t[n])}getSite(){return this.company_url||""}getOpf(){return this.company_title||""}getDisclaimer(){return this.disclaimer||""}getMainToken(){return this.main_token||""}hasMainToken(){return!!this.getMainToken()}getLabelText(){if(!this.hasMainToken())return"";const t=this.getSite()||this.getOpf();return t?`Реклама / ${t}`:"Реклама"}getDisclaimerText(){return this.getDisclaimer()}}const J={class:"tooltip__content"},Q=b({__name:"TooltipKP",props:{token:{},customTippyProps:{}},setup(e){const t=e,{isMobile:i,isTablet:n}=O(),m=l(()=>i.value||n.value);let r=null;const c=h=>{m.value&&(r=()=>h.hide(),window.addEventListener("scroll",r,{passive:!0}))},d=()=>{r&&(window.removeEventListener("scroll",r),r=null)};T(d);const _=l(()=>({theme:"primary",appendTo:()=>document.body,zIndex:20,placement:i.value?"bottom":"bottom-start",trigger:m.value?"click":"mouseenter focus",hideOnClick:!0,onShow:c,onHide:d})),v=l(()=>({..._.value,...t.customTippyProps}));
1return(h,f)=>{const $=I,w=P("tippy");return o(),C(w,M(v.value,{class:"tooltip"}),{content:k(()=>[g("div",J,"Erid: "+B(e.token),1)]),default:k(()=>[g("button",{class:"tooltip__button",onClick:f[0]||(f[0]=S(()=>{},["prevent"]))},[U($,{class:"tooltip__icon"})])]),_:1},16)}}}),st=Object.assign(y(Q,[["__scopeId","data-v-9aca82ef"]]),{__name:"MoleculesTooltipKP"}),ot=e=>{const t=D(),i=t.public.mainUrl,n=t.public.sharingUrl,m=t.public.mode==="development"?"/kp/share.png":`${t.public.CDN_ASSETS}/share.png`,r=A(),c=l(()=>s(e).url?.trim()),d=l(()=>c.value?E(c.value).replace("://vedomosti.ru","://www.vedomosti.ru"):`${i}${r.pathname}`),_=l(()=>{const v=s(e).lastPublishedAt;return!c.value||!v?m:`${n}/${v}/${c.value}.jpg`});K({title:()=>s(e).title,description:()=>s(e).description,keywords:()=>s(e).keywords,ogTitle:()=>s(e).title,ogDescription:()=>s(e).description,ogUrl:()=>d.value,ogImage:()=>_.value,twitterTitle:()=>s(e).title,twitterDescription:()=>s(e).description,twitterImage:()=>_.value}),L({link:l(()=>[{rel:"canonical",href:d.value}])})};export{et as A,tt as B,st as T,x as g,ot as u};

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.