PageSourceSearch

https://cdn10.vedomosti.ru/1.7.161/assets/BoxImage-da9f1554.js

js vedomosti.ru collected 2026-09-24 07:55:40 UTC 1,991 bytes, 1 lines download raw bytes

1import{G as b,_ as h}from"./index-ba7a78b3.js";import{n as f}from"./no-photo-c1474d1d.js";import{z as y,y as n,C as t,a2 as o,a4 as u,D as g,a8 as _,ar as d,a7 as l,aY as C,a9 as k,ay as B}from"./vendor-841ae9e1.js";const T={class:"box-image__picture"},L=["src","alt"],H={class:"box-image__caption"},M=["innerHTML"],P=["innerHTML"],A=["innerHTML"],S=y({__name:"BoxImage",props:{box:{},isCalendarPage:{type:Boolean,default:!1},imgSources:{}},setup(a){const x=B(()=>h(()=>import("./BaseImage-cc67c8f1.js").then(e=>e.B),["assets/BaseImage-cc67c8f1.js","assets/useCategoryHelper-f36740e3.js","assets/index-ba7a78b3.js","assets/vendor-841ae9e1.js","assets/axios-f31720dc.js","assets/polyfills-c1ef29e8.js","assets/lodash-59cf2d56.js","assets/crypto-bn-fe71aef5.js","assets/elliptic-0bc42179.js","assets/vendor-a4e614b1.css","assets/consola-a319bdc8.js","assets/sentry-27444d60.js","assets/imask/esm-65004cd6.js","assets/index-dc57e584.css","assets/BaseImage-de0fd0ae.css"])),c=n(()=>b(a.box)),s=n(()=>{var e;return(e=a.box)==null?void 0:e.image_alt}),r=n(()=>{const{image_author:e}=a.box;return e?s.value?` / ${e}`:e:null}),m=n(()=>{const{image_source:e}=a.box;return e?s.value||r.value?` / ${e}`:e:null}),v=n(()=>{var i;const e=((i=a.box.image)==null?void 0:i.versions)??null;return a.isCalendarPage?e:a.box.image});return(e,i)=>(t(),o("div",{class:k(["box-image",{"box-image--calendar":a.isCalendarPage}])},[u("div",T,[(t(),g(C,null,{default:_(()=>[a.box.image&&Object.keys(a.box.image).length?(t(),g(d(x),{key:0,image:v.value,sources:a.imgSources,alt:c.value},null,8,["image","sources","alt"])):l("",!0)]),fallback:_(()=>[u("img",{src:d(f),alt:c.value},null,8,L)]),_:1}))]),u("div",H,[s.value?(t(),o("span",{key:0,class:"box-image__title",innerHTML:s.value},null,8,M)):l("",!0),r.value?(t(),o("span",{key:1,class:"box-image__author",innerHTML:r.value},null,8,P)):l("",!0),m.value?(t(),o("span",{key:2,class:"box-image__credits",innerHTML:m.value},null,8,A)):l("",!0)])],2))}});export{S as _};

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.