PageSourceSearch

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

js smotrim.ru collected 2026-09-24 06:25:23 UTC 1,850 bytes, 1 lines download raw bytes

1import{F as y}from"./29D3YKak.js";import{k as u,S as d,t as f}from"./Bz8wT4n7.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="3c26ac67-1101-4ee7-9b6c-0b1b1c66ed77",a._sentryDebugIdIdentifier="sentry-dbid-3c26ac67-1101-4ee7-9b6c-0b1b1c66ed77")}catch{}})();class p{constructor(t,n,s,i){this.title=t.title,this.floors=t.floors.map((e,o)=>{n?.hasOwnProperty?.("rootPath")&&e?.alias==="MoreInteresting"&&(e.link=`${n.rootPath}/similar`);try{return new y(e,o,s,i)}catch(l){return console.error(`Floor build failed: ${e?.alias}`,l),null}}).filter(e=>e?.component&&e.contents?.length)}toJSON(){return{...this}}}function w(a,t,n,s){return n||(n=u()),n.runWithContext(async()=>{const{analyticsUid:i}=d(),e={url:a};t&&(e.entityType=t?.type,e.entityId=t?.id),a==="/news"&&(e.useShortsForBrands=!0);const o=await f({operation:"PageQuery",variables:e,entityName:"page",notFoundMessage:"Страница не найдена",returnRaw:!0}),l=i.value,r=o&&new p(o,t,l,s);return r?.floors&&(r.floors=r.floors.filter(c=>c.component!=="floors-my-channel"&&c.component!=="floors-live-broadcast")),r?JSON.parse(JSON.stringify(r)):null})}function P(a,t,n,s){return n||(n=u()),n.runWithContext(async()=>{const{analyticsUid:i}=d(),e={url:a,first:5,page:1};t&&(e.entityType=t?.type,e.entityId=t?.id);const o=await f({operation:"PageFloorsPaginateQuery",variables:e,entityName:"page",notFoundMessage:"Страница не найдена",returnRaw:!0,includeInPayload:!0,optional:!!s?.optional}),l=i.value,r=o?.title??"",c=o?.floorsPaginate?.data??[],g=o?.floorsPaginate?.paginatorInfo??null;return{title:r,rawFloors:JSON.parse(JSON.stringify(c)),paginatorInfo:g,uid:l}})}export{p as P,w as a,P 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.