PageSourceSearch

https://cdn.forbes.ru/_nuxt/CyQS-qGC.js

js forbes.ru collected 2026-10-01 06:22:57 UTC 3,574 bytes, 1 lines download raw bytes

1import $ from"./CbDlNXSx.js";import{aV as A,bm as D,aW as v,b9 as m,bC as L,br as a,by as c,bs as w,bt as C,b2 as h,bH as B,bv as e,bx as f,bu as i,b6 as N,bY as W,c7 as O}from"./EBpBARSw.js";import V from"./D-NXi5yf.js";import j from"./DNIs4AQh.js";import{I as S}from"./DZWvKlkP.js";import{c as z}from"./5VzDcAbh.js";import{g as E}from"./DT-_GfAX.js";import"./Lmb05Apy.js";import"./DiN8x0mA.js";import"./Dy2xinyL.js";import"./DvT_WZF3.js";import"./Df6GUClV.js";import"./D9wVAE0n.js";import"./CtiuOz0V.js";import"./DL71b4LM.js";import"./Bq_376aw.js";import"./EOf1V2Z2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="b1054792-505f-4080-87ab-d49ced23311c",t._sentryDebugIdIdentifier="sentry-dbid-b1054792-505f-4080-87ab-d49ced23311c")}catch{}})();const F={CDN_URL:"https://cdn.forbes.ru"},P=A({name:"CardArticle",props:{data:{required:!0,type:Object},options:{default:()=>({}),type:Object},size:{required:!0,type:Object},firstChild:{default:!1,type:Boolean}},setup(t){const n=D(),d=E.call(v(),t.data),b=v().$viewport,{metadata:g}=(t.data||{}).photo||{},{height:l=1,width:r=1}=g||{},p=l/r,u=m(()=>{if(!t.firstChild)return{};let s=S[b.breakpoint.value]||0,o=Math.round(s*p);return o=Math.min(l,o),s=Math.min(r,s),{height:o,width:s}}),_=m(()=>{if(!t.firstChild)return{};const{height:s,width:o}=u.value;return!s||!o?{}:{height:s,width:o}}),k=m(()=>{const{id:s,changed:o,photo:H,photo_present:y,title:T}=t.data;let I=H;return y||(I={uri:z({article:{id:s,changed:o},env:F,shouldCrop:!0})}),{alt:`Иллюстрация к статье «${T}»`,"fetch-priority":t.firstChild?"high":"auto",image:I,"is-blurhash-enabled":y,preload:_.value}});return{articleInfo:d,css:n,preload:_,baseImageProps:k}}}),R="uXs-R",Y="rOfhm",q="_3Yji1",U="_8iSMD",Z="_2vdWw",G="sSrFw",J="_8ZT6F",X="b4yua",K="uLUYv",Q="_3T--d",x="fJ4Ds",tt="DZVgO",et={root:R,withImage:Y,picture:q,image:U,content:Z,body:G,caption:J,title:X,subtitle:K,withAdvertiser:Q,header:x,advertiser:tt},st=["innerHTML"],ot=["innerHTML"],at=["innerHTML"];function it(t,n,d,M,b,g){const l=$,r=W,p=V,u=j;return a(),c("div",{class:e({[t.css.root]:!0,[t.css.withAdvertiser]:t.data.ad,[t.css.withImage]:t.options.withImage}),style:O(!!t.options.imageHeight&&`--image-height: ${t.options.imageHeight}px`)},[t.options.withImage?(a(),w(r,{key:0,class:e(t.css.picture),to:(t.articleInfo?.path?.startsWith("https")?"":"/")+t.articleInfo.path},{default:C(()=>[h(l,B({class:t.css.image},t.baseImageProps),null,16,["class"])]),_:1},8,["class","to"])):f("",!0),i("div",{class:e(t.css.content)},[h(p,{article:t.articleInfo.path,"bookmark-theme":"light",class:e(t.css.header),entries:t.articleInfo.rubrics,theme:"light"},null,8,["article","class","entries"]),i("div",{class:e(t.css.body)},[h(r,{class:e(t.css.caption),to:(t.articleInfo?.path?.startsWith("https")?"":"/")+t.articleInfo.path},{default:C(()=>[t.options.withImage?(a(),c("p",{key:0,class:e(t.css.subtitle)},[i("span",{innerHTML:t.data.title},null,8,st)],2)):(a(),c(N,{key:1},[i("p",{class:e(t.css.title)},[i("span",{innerHTML:t.data.title},null,8,ot)],2),t.data.subtitle?(a(),c("p",{key:0,class:e(t.css.subtitle)},[i("span",{innerHTML:t.data.subtitle},null,8,at)],2)):f("",!0)],64))]),_:1},8,["class","to"]),t.data.ad?(a(),w(u,{key:0,article:t.data,class:e(t.css.advertiser)},null,8,["article","class"])):f("",!0)],2)],2)],6)}const nt={$style:et},Mt=L(P,[["render",it],["__cssModules",nt]]);export{Mt 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.