1var i=(t=>(t.TOP_LEFT="top-left",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_RIGHT="bottom-right",t))(i||{}),a=(t=>(t.color="color",t.sleepingPlace="sleeping_place",t))(a||{});function o(t,e){if(!e)return[];const r=[];return e.width&&r.push({title:"ШиÑина",value:e.width,textValue:`${e.width/10} Ñм`}),e.depth&&r.push({title:"ÐлÑбина",value:e.depth,textValue:`${e.depth/10} Ñм`}),e.height&&r.push({title:"ÐÑÑоÑа",value:e.height,textValue:`${e.height/10} Ñм`}),r.length?[{title:"ÐабаÑиÑÑ",items:r}]:[]}function c(t){return t.previewImage?.previewSource}function g(t){return t.images?.length?t.images.map(e=>e.previewSource):[]}function f(t,e){const r=e||5,u=c(t);return g(t).filter(n=>n!==u).slice(0,r)}function s(t){return{topLeft:l(t.badges,i.TOP_LEFT),bottomRight:l(t.badges,i.BOTTOM_RIGHT)}}function h(t){return t.priceClub||t.priceLower}function p(t){return t.name+" "+t.subName}function v(t){return t.sitePath}function T(t,e){if(!t.length)return[];const r=t.find(u=>u.type===e);return r?e===a.color?r.variations.map(u=>({image:u.image??"",isActive:u.isActive,slug:u.variation_slug})):r.variations.map(u=>({isActive:u.isActive,slug:u.variation_slug,title:u.value??""})):[]}function d(t){if(!t.videoUrl)return null;const e=t.videoUrl.split("/video/")?.[1]?.replace("/","");return e?`https://rutube.ru/play/embed/${e}`:null}function l(t,e){return t?.filter(r=>r.position===e)?.map(r=>r.url)}export{a as V,p as a,d as b,o as c,T as d,v as e,s as f,c as g,f as h,h as i};
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.