PageSourceSearch

https://cdn.smotrim.ru/static/assets/_nuxt/BnqqSyNg.js

js smotrim.ru collected 2026-09-24 06:25:35 UTC 2,891 bytes, 1 lines download raw bytes

1import S from"./BC5zsiXL.js";import _ from"./DWNqjB4j.js";import{aK as I,i as O,E as z,j as r,d as s,o as i,g as a,e as d,bt as p,aD as f,F as T,f as y,bX as h,aa as V}from"./Bz8wT4n7.js";import"./DCPhkKYi.js";import"./ALtZFfDW.js";import"./DUJNk7_k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="41224b87-1389-4b57-a792-3f21f9dc535e",e._sentryDebugIdIdentifier="sentry-dbid-41224b87-1389-4b57-a792-3f21f9dc535e")}catch{}})();const x={key:0,class:"media__main"},M={key:1,class:"media__video"},C={key:2,class:"media__main"},D={__name:"Media",props:{brand:{type:Object,required:!0},clickable:{type:Boolean,default:!1}},setup(e){const n=O(),l=z({isVideoOK:!0}),u=r(()=>n.name==="brand-id-season-number"||n.name==="brand-id-year-year"),v=r(()=>{if(!u.value)return null;const t=n.params.number||n.params.year,b=e.brand?.seasonsPublic?.find(o=>String(o.number)===String(t));return b?.images?.length?V(b.images):null}),m=r(()=>v.value?.main?.large||null),c=r(()=>v.value?.cover?.large||null),k=r(()=>{if(u.value){if(m.value)return!0;if(c.value)return!1}return!!e.brand?.poster?.video&&l.isVideoOK||!!e.brand?.poster?.main}),E=r(()=>{const t=[];return e.brand?.poster?.blurred||t.push("blurred"),!e.brand?.poster?.video&&e.brand?.poster?.size?(t.push(e.brand?.poster?.size==="1x1"?"square":"landscape"),t.join(" ")):(t.push(h.includes(e.brand?.enumType)?"square":"landscape"),t.join(" "))}),w=r(()=>h.includes(e.brand?.enumType)?"square":"landscape");function g(){console.log("[Brand Poster Media] Smth went wrong!"),l.isVideoOK=!1}return(t,b)=>{const o=S,P=_;return i(),s("section",{class:f(["media",{video:a(k),"cursor-pointer":e.clickable}])},[a(u)&&a(m)?(i(),s("div",x,[d(o,{class:"main",source:a(m),title:e.brand?.title,itemprop:"image"},null,8,["source","title"])])):a(u)&&a(c)?(i(),s("div",{key:1,class:f(["media__poster blurred",a(w)]),style:p({"--shadow":`url('${a(c)}')`})},[d(o,{class:"main",source:a(c),title:e.brand?.title,itemprop:"image"},null,8,["source","title"])],6)):(i(),s(T,{key:2},[e.brand?.poster?.picture?(i(),s("div",{key:0,class:f(["media__poster",a(E)]),style:p({"--shadow":`url('${e.brand?.poster?.blurred||e.brand?.poster?.picture}')`})},[d(o,{class:"main",source:e.brand?.poster?.picture,title:e.brand?.title,itemprop:"image"},null,8,["source","title"])],6)):y("",!0),e.brand?.poster?.video&&a(l).isVideoOK?(i(),s("div",M,[d(P,{src:e.brand?.poster?.video,autoplay:"",muted:"",loop:"",playsinline:"",onPlayError:g,onLoadError:g},null,8,["src"])])):y("",!0),e.brand?.poster?.main?(i(),s("div",C,[d(o,{class:"main",source:e.brand?.poster?.main,title:e.brand?.title,itemprop:"image"},null,8,["source","title"])])):y("",!0)],64))],2)}}},F=I(D,[["__scopeId","data-v-7b41222f"]]);export{F 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.