1import{u}from"./3HGR3UZJ.js";import{g as c}from"./DW2oQt15.js";import{aZ as l,s as f,a_ as m,B as d,u as p,l as g}from"./BKPvSWlA.js";const y={blog:"Ðлог",afisha:"ÐÑиÑа",shop:"Ðагазин",spaces:"ÐÑоÑÑÑанÑÑва",partners:"ÐаÑÑнÑÑÑ",media:"Ðедиа",vacancies:"ÐаканÑии",jobs:"ÐаканÑии",leaders:"УÑаÑÑники",grants:"ÐÑанÑÑ"},r="«ÐÐ¾Ð»Ð¾Ð´Ð°Ñ ÐÑкÑика» â меÑÑо вÑÑÑеÑи молодÑжи вÑей ÐÑÑманÑкой облаÑÑи";function o(e){const a=e?.excerpt||e?.description||e?.annotation||e?.content;if(!a)return r;const t=String(a).replace(/<[^>]+>/g," ").replace(/&[a-z]+;/gi," ").replace(/\s+/g," ").trim();return t?t.length>160?`${t.slice(0,157).trimEnd()}â¦`:t:r}function h(e){if(e?.media?.length)return c(e.media,"default")||void 0}function S(e,a=""){const t=d(()=>typeof e=="function"?e():p(e));l({title:()=>t.value?.title,description:()=>o(t.value),ogTitle:()=>t.value?.title,ogDescription:()=>o(t.value),ogImage:()=>h(t.value),ogType:"article"});const i=String(a).split("/").filter(Boolean)[0],n=y[i];n&&f([m({itemListElement:[{name:"ÐлавнаÑ",item:"/"},{name:n,item:`/${i}`},{name:()=>t.value?.title||n}]})])}function L({endpoint:e,queryOptions:a,requestOptions:t,seoResource:i=!1}){const n=g().path,s=u({queryKey:[e],queryFn:async()=>await $fetch(e,t),retry:0,refetchOnWindowFocus:!1,...a});return a?.enabled,i&&S(()=>
1s.data.value,n),s}export{S as a,L 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.