PageSourceSearch

https://vc.ru/assets/index3-DMVoTICJ.js

js vc.ru collected 2026-10-01 07:56:31 UTC 4,512 bytes, 1 lines download raw bytes

1import{f2 as h,f4 as r,f9 as s,f3 as o,fa as p,fb as c,f8 as n,fc as R,fd as d,fe as g,ff as O,f6 as _,f5 as k,fg as S}from"./index-BXQnu0Fm.js";import{listItemResolver as W}from"./index16-CPkCaJSg.js";import{addressResolver as z}from"./index28-D2B98dBU.js";import{searchActionResolver as A}from"./index40-DLQkwbBi.js";import{readActionResolver as I}from"./index39-DX2aW2hZ.js";const P="#breadcrumb",M=h({defaults:{"@type":"BreadcrumbList"},idPrefix:["url",P],resolve(e,t){if(e.itemListElement){let a=1;e.itemListElement=o(e.itemListElement,t,W,{array:!0,afterResolve(i){r(i,"position",a++)}})}return e},resolveRootNode(e,{find:t}){const a=t(b);a&&r(a,"breadcrumb",s(e))}}),D={__proto__:null,PrimaryBreadcrumbId:P,breadcrumbResolver:M},m="#website",L=h({defaults:{"@type":"WebSite"},inheritMeta:["inLanguage",{meta:"host",key:"url"}],idPrefix:["host",m],resolve(e,t){return e.potentialAction=o(e.potentialAction,t,A,{array:!0}),e.publisher=o(e.publisher,t),e.dateModified=n(e.dateModified),e.datePublished=n(e.datePublished),e},resolveRootNode(e,{find:t}){if(p(e["@id"])===m){const a=t(c);a&&r(e,"publisher",s(a));const i=t(b);i&&r(i,"isPartOf",s(e))}return e}}),j={__proto__:null,PrimaryWebSiteId:m,searchActionResolver:A,webSiteResolver:L},w=h({defaults:{"@type":"Organization"},idPrefix:["host",c],inheritMeta:[{meta:"host",key:"url"}],resolve(e,t){return g(e,"Organization"),e.address=o(e.address,t,z),e},resolveRootNode(e,t){const a=p(e["@id"])===c,i=t.find(b);if(e.logo&&a){if(!t.find("#organization")){const f=o(e.logo,t,d,{root:!0,afterResolve(u){u["@id"]=R(t.meta.host,"#logo"),r(u,"caption",e.name)}});i&&f&&r(i,"primaryImageOfPage",s(f)),t.nodes.push({"@type":"Organization",name:e.name,url:e.url,sameAs:e.sameAs,address:e.address,logo:o(e.logo,t,d,{root:!1}).url,_priority:-1,"@id":R(t.meta.host,"#organization")})}delete e.logo}a&&i&&r(i,"about",s(e));const l=t.find(m);l&&r(l,"publisher",s(e))}}),q={__proto__:null,organizationResolver:w},b="#webpage",N=h({defaults({meta:e}){const t=O(e.url.substring(e.url.lastIndexOf("/")+1));let a="WebPage";switch(t){case"about":case"about-us":a="AboutPage";break;case"search":a="SearchResultsPage";break;case"checkout":a="CheckoutPage";break;case"contact":case"get-in-touch":case"contact-us":a="ContactPage";break;case"faq":a="FAQPage";break}return{"@type":a}},idPrefix:["url",b],inheritMeta:[{meta:"title",key:"name"},"description","datePublished","dateModified","url"],resolve(e,t){return e.dateModified=n(e.dateModified),e.datePublished=n(e.datePublished),g(e,"WebPage"),e.about=o(e.about,t,w),e.breadcrumb=o(e.breadcrumb,t,M),e.author=o(e.author,t,y),e.primaryImageOfPage=o(e.primaryImageOfPage,t,d),e.potentialAction=o(e.potentialAction,t,I),e["@type"]==="WebPage"&&t.meta.url&&r(e,"potentialAction",[{"@type":"ReadAction",target:[t.meta.url]}]),e},resolveRootNode(e,{find:t,meta:a}){const i=t(c),l=t(m),f=t("#logo");i&&a.url===a.host&&r(e,"about",s(i)),f&&r(e,"primaryImageOfPage",s(f)),l&&r(e,"isPartOf",s(l));const u=t(P);return u&&r(e,"breadcrumb",s(u)),e}}),x={__proto__:null,PrimaryWebPageId:b,readActionResolver:I,webPageResolver:N},y=h({cast(e){return typeof e=="string"?{name:e}:e},defaults:{"@type":"Person"},idPrefix:["host",c],resolve(e,t){return e.url&&(e.url=_(t.meta.host,e.url)),e},resolveRootNode(e,{find:t,meta:a}){if(p(e["@id"])===c){r(e,"url",a.host);const l=t(b);l&&r(l,"about",s(e));const f=t(m);f&&r(f,"publisher",s(e))}const i=t(v);i&&r(i,"author",s(e))}}),F={__proto__:null,personResolver:y},v="#article",E=h({defaults:{"@type":"Article"},inheritMeta:["inLanguage","description","image","dateModified","datePublished",{meta:"title",key:"headline"}],idPrefix:["url",v],resolve(e,t){return e.author=o(e.author,t,y,{root:!0}),e.publisher=o(e.publisher,t),e.dateModified=n(e.dateModified),e.datePublished=n(e.datePublished),g(e,"Article"),e.headline=S(e.headline,110),e},resolveRootNode(e,{find:t,meta:a}){var f;const i=t(b),l=t(c);if(e.image&&!e.thumbnailUrl){const u=k(e.image)[0];typeof u=="string"?r(e,"thumbnailUrl",_(a.host,u)):u!=null&&u["@id"]&&r(e,"thumbnailUrl",(f=t(u["@id"]))==null?void 0:f.url)}return l&&(r(e,"publisher",s(l)),r(e,"author",s(l))),i&&(r(e,"isPartOf",s(i)),r(e,"mainEntityOfPage",s(i)),r(i,"potentialAction",[{"@type":"ReadAction",target:[a.url]}]),r(i,"dateModified",e.dateModified),r(i,"datePublished",e.datePublished)),e}}),G={__proto__:null,PrimaryArticleId:v,articleResolver:E};export{v as P,E as a,P as b,M as c,b as d,m as e,L as f,j as g,q as h,D as i,x as j,F as k,G as l,w as o,y as p,N as w};

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.