PageSourceSearch

https://2r.ru/_nuxt/D-1KMAia.js

js 2r.ru collected 2026-10-02 06:47:50 UTC 2,725 bytes, 1 lines download raw bytes

1import{d as v,a6 as S,an as b,w as h,o as B,a as N,m as d,z as E,u as n,I as M,e as k,t as I,J as A,F as C,h as x,aM as $,j as e,E as y,y as D}from"./qq3zl2Kv.js";import"./I8pGzNpi.js";import{_ as F,M as g,u as O}from"./DvXadIQ8.js";import"./BcCHY-b-.js";/* empty css        */import"./D6IU3rxI.js";import"./CWr-ZJfy.js";/* empty css        */import{c as R}from"./DeAM8J0K.js";import"./Ci54JYF0.js";import"./DZgvD50A.js";import"./Ds-DuV36.js";import"./BQGf5pWy.js";import"./H5SbBhtO.js";import"./Dym7o0_s.js";import"./beAXGwx1.js";import"./BhkHY6kw.js";import"./CFp5QNb6.js";import"./CFEM-dMr.js";import"./B7vsbJWX.js";import"./CVoJZjdk.js";import"./BrPl_r7q.js";import"./DlAUqK2U.js";const T={class:"im-title-1-medium im-text-color-tertiary text-wrap"},V=v({__name:"p-specialties-slug-mentor",async setup(w){let a,u;const t=S(),i=b(),s=e(()=>typeof t.params.mentor=="string"?t.params.mentor:""),r=e(()=>{if(typeof t.params.slug=="string")return i.specialtiesBySlug[t.params.slug]?.id}),{data:o}=([a,u]=h(()=>x(e(()=>`mentor-profile-${s.value}-${r.value??"all"}`),async()=>{if(!s.value)return null;const _={slug:s.value};return r.value&&(_.specialty_id=r.value),$({query:_}).then(f=>f.data.result??null).catch(f=>(console.error("Ошибка при получении данных ментора",f),null))},{default:()=>null})),a=await a,u(),a),m=e(()=>o.value?.name||g),p=e(()=>t.path.split("/")[2]||""),c=e(()=>typeof t.params.slug=="string"?i.specialtiesBySlug[p.value]?.name||g:m.value||g),l=e(()=>[{label:"Главная",to:{name:y.Index}},{label:"Специальности",to:{name:y.Specialties}},{label:c.value,to:{name:y.SpecialtiesSlug,params:{slug:p.value}}},{label:m.value}]);return R(l),(_,f)=>(B(),N(C,null,[d(n(A),null,{default:E(()=>[d(n(M),{class:"mb-5 md:mb-6",breadcrumbs:n(l)},null,8,["breadcrumbs"]),k("h1",T,I(n(m)),1)]),_:1}),d(n(F),{"can-navigate-back":"",mentor:n(o)},null,8,["mentor"])],64))}}),ue=v({__name:"[mentor]",async setup(w){let a,u;const t=S(),i=b(),s=e(()=>typeof t.params.mentor=="string"?t.params.mentor:""),r=e(()=>typeof t.params.slug=="string"?t.params.slug:""),o=e(()=>{if(r.value)return i.specialtiesBySlug[r.value]?.id}),m=e(()=>r.value?i.specialtiesBySlug[r.value]??null:null),{data:p}=([a,u]=h(()=>x(e(()=>`mentor-profile-${s.value}-${o.value??"all"}`),async()=>{if(!s.value)return null;const c={slug:s.value};return o.value&&(c.specialty_id=o.value),$({query:c}).then(l=>l.data.result??null).catch(l=>(console.error("Ошибка при получении данных ментора",l),null))},{default:()=>null})),a=await a,u(),a);return O({mentor:p,mentorSlug:s,specialtySlug:r,specialty:m,variant:"specialty-duplicate"}),(c,l)=>(B(),D(n(V)))}});export{ue 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.