PageSourceSearch

https://bogoslov.ru/_nuxt/LS1VdEgY.js

js bogoslov.ru collected 2026-09-24 19:03:44 UTC 17,758 bytes, 1 lines download raw bytes

1import{_ as xe}from"./BtVwK_Af.js";import{_ as Ce}from"./sekRiWTM.js";import{_ as Ee}from"./BxaH3A2M.js";import{_ as Fe}from"./CXShZju9.js";import{l as pe,V as fe,R as ie,$ as se,c as x,q as ce,a as l,e as T,f as B,o as a,d as D,g as G,b as s,h as ge,a3 as Be,t as j,F as H,i as q,n as ye,_ as W,r as E,a0 as Ne,Z as V,as as Ue,j as ne,I as Pe,G as Oe,N as Re,u as je,O as Me,x as P,w as X,B as Ge,p as de,T as Ve,A as ze,C as He,L as ee}from"./B4qULXKb.js";import{u as qe}from"./BZlevG6M.js";import{g as he}from"./DjKJqAo0.js";import{S as be}from"./DZdR0iV_.js";import{i as We}from"./Bx4tHC7l.js";import{M as Ke}from"./C-rvS98T.js";import{S as ue,L as Ye}from"./Cx_3Gv7E.js";import{a as Ze}from"./CkqeHXhJ.js";import{B as Je}from"./t53xTaBa.js";import{_ as Qe}from"./BA8p9DNP.js";import{a as Xe,p as et}from"./BFe1g4mX.js";import{F as tt}from"./DLcVGDgW.js";import{g as st}from"./D3p8p_Z3.js";import"./Bv5HIE0N.js";import"./B1pOtH-a.js";import"./CWw8izbq.js";import"./BMtxumUI.js";import"./pGoweWCd.js";import"./B9TKuNe0.js";import"./DSYUXC2p.js";import"./B7W6PKoK.js";import"./DH6fbb46.js";import"./BB42LPwD.js";import"./DRLp1z1D.js";import"./Bvrg-R8i.js";import"./DElG6gnj.js";import"./CXUm6fS1.js";import"./9WHSMhfl.js";import"./B1X67i4g.js";import"./cj2oybHl.js";import"./B4rgjZfb.js";import"./BimJYUyW.js";import"./DaTivaUo.js";import"./DGyGZoKJ.js";import"./Pkqg88zj.js";/* empty css        */import"./-Kks16Dg.js";import"./DpqXHf-H.js";import"./DB8w6JNV.js";import"./pQOboDyy.js";import"./BblF1Uz_.js";import"./Dj1_qx2r.js";import"./DOiBJFyF.js";import"./C6TMcmFX.js";import"./td04WHTI.js";import"./Dq68qQd7.js";import"./BhgCOJR6.js";import"./DIBqDUQ0.js";import"./B7CwB_Jt.js";import"./BN8D8szW.js";import"./Ce6fqM5k.js";const nt={lg:1280},te=()=>window.matchMedia(`(min-width: ${nt.lg}px)`).matches;he.registerPlugin(be);function it(N){const{banner:m,bannerOverlay:i,onUpdate:p}=N;let f=null,v=!1;const k=()=>{var A;if(!te())return;f&&f.kill();const d=(A=m.value)==null?void 0:A.offsetHeight,u=window.innerHeight;let h=0;d&&d>u&&(h=d-u),f=be.create({trigger:m.value,start:`top -${h}px`,pin:m.value,pinSpacing:!1,onUpdate:S=>{i.value&&he.set(i.value,{opacity:S.progress}),p==null||p(S.progress)}})},g=()=>{const d=document;v=!!(d.fullscreenElement||d.webkitFullscreenElement||d.mozFullScreenElement||d.msFullscreenElement)},y=()=>{setTimeout(()=>{v||k()},0)};return pe(()=>{te()&&(k(),document.addEventListener("fullscreenchange",g),document.addEventListener("webkitfullscreenchange",g),document.addEventListener("mozfullscreenchange",g),document.addEventListener("MSFullscreenChange",g),window.addEventListener("resize",y))}),fe(()=>{te()&&(f&&f.kill(),window.removeEventListener("resize",y),document.removeEventListener("fullscreenchange",g),document.removeEventListener("webkitfullscreenchange",g),document.removeEventListener("mozfullscreenchange",g),document.removeEventListener("MSFullscreenChange",g))}),{updateScrollTrigger:k}}const at={key:0,class:"filter-section-tabs__wrap"},ot={key:0,class:"filter-section-tabs__day"},lt={class:"filter-section-tabs__day-label"},rt={key:1,class:"filter-section-tabs__inner"},ct=["onClick"],dt={class:"filter-section-tab__title"},ut={key:2,class:"filter-section-tabs__dropdown"},_t=ie({__name:"FilterSectionTabs",props:{items:{},days:{},activeItem:{default:null},activeDay:{}},emits:["toggle:section","toggle:day"],setup(N,{expose:m,emit:i}){const p=N,f=i,v=se("dayDropdown"),k=se("sectionDropdown"),g=x(()=>h.value&&d.value&&p.days.length>1),y=x(()=>A.value&&p.items.length>1),d=x(()=>{if(p.activeDay)return ce(p.activeDay.id,!1)}),u=x(()=>[...p.days].sort((e,r)=>{const _=C=>{const c=new Date(C.replace(" ","T")).getTime();return Number.isNaN(c)?Number.POSITIVE_INFINITY:c};return _(e.id)-_(r.id)}).map(e=>({...e,label:ce(e.label,!1)}))),h=x(()=>{const e=u.value[0];if(!(e!=null&&e.id))return!1;const r=new Date(String(e.id).replace(" ","T"));return Number.isNaN(r.getTime())?!1:r.getTime()<=Date.now()}),A=x(()=>{var r;if(!((r=p.activeDay)!=null&&r.id))return!1;const e=new Date(String(p.activeDay.id).replace(" ","T"));return Number.isNaN(e.getTime())?!1:e.getTime()<=Date.now()}),S=e=>{e.disabled||f("toggle:section",e)},w=e=>{f("toggle:day",e)};return m({closeDropdown:()=>{v.value&&v.value.close(),k.value&&k.value.close()}}),(e,r)=>{const _=Be,C=Ze;return B(g)||B(y)?(a(),l("div",at,[B(g)?(a(),l("div",ot,[D(C,{ref_key:"dayDropdown",ref:v,params:{items:B(u),menuWidth:"184px"},value:e.activeDay,onChange:w},{trigger:G(()=>[s("div",lt,[D(_,{name:"calendar",class:"filter-section-tabs__calendar-icon"}),ge(" "+j(B(d)),1)])]),_:1},8,["params","value"])])):T("",!0),B(y)?(a(),l("div",rt,[(a(!0),l(H,null,q(e.items,(c,R)=>(a(),l("div",{key:R,class:"filter-section-tabs__el"},[s("div",{class:ye(["filter-section-tab",[e.activeItem&&e.activeItem.id===c.id?"--active":null,c.disabled?"--disabled":null]]),onClick:M=>S(c)},[s("div",dt,j(c.label),1)],10,ct)]))),128))])):T("",!0),e.activeItem&&B(y)?(a(),l("div",ut,[D(C,{ref_key:"sectionDropdown",ref:k,params:{items:e.items},value:e.activeItem,onChange:S},null,8,["params","value"])])):T("",!0)])):T("",!0)}}}),_e=W(_t,[["__scopeId","data-v-ba2f8204"]]),vt={class:"filter-section container"},mt={class:"filter-section-tabs"},pt=ie({__name:"FilterSection",props:{data:{},initActiveItem:{default:null},initActiveDay:{}},emits:["toggle:section","toggle:day"],setup(N,{emit:m}){const i=N,p=m,f=se("stickyTabs"),v=E(!1),k=E(null),g=E(!1),y=E(null),d=E(0),u=x(()=>{var r;
1return(r=i.data.days)!=null&&r.length?i.data.days.map(_=>({id:_.started_at,label:_.started_at,disabled:_.disabled||!1})):[]}),h=x(()=>{var _;if(!((_=i.data.sections)!=null&&_.length))return[];const r=new Date;return i.data.sections.map((C,c)=>{if(c===0||C.is_livestream)return{...C,disabled:!1};const R=i.data.sections[c-1],M=R.finished_at?new Date(R.finished_at):null;return{...C,disabled:M?M>r:!1}})});pe(()=>{w(),O(),e(),window.addEventListener("scroll",e)}),Ne(()=>{window.removeEventListener("scroll",e)});const A=r=>{k.value=r,p("toggle:day",r)},S=r=>{y.value=r,p("toggle:section",r)},w=()=>{i.initActiveDay?k.value={id:i.initActiveDay.started_at,label:i.initActiveDay.started_at}:k.value=i.data.days[0]},O=()=>{y.value=i.initActiveItem||i.data.sections[0]},e=()=>{const r=window.innerHeight,_=window.scrollY;v.value=_<d.value,d.value=_,d.value>r&&!v.value?g.value=!0:(g.value=!1,f.value&&f.value.closeDropdown())};return V(()=>i.initActiveItem,()=>O(),{deep:!0}),V(()=>i.initActiveDay,()=>w(),{deep:!0}),(r,_)=>(a(),l("div",vt,[s("div",mt,[D(_e,{days:u.value,items:h.value,activeDay:k.value,activeItem:y.value,"onToggle:day":A,"onToggle:section":S},null,8,["days","items","activeDay","activeItem"])]),s("div",{class:ye(["filter-section-tabs container --sticky",[g.value?"--show":null]]),ref:"sticky"},[D(_e,{ref_key:"stickyTabs",ref:f,days:u.value,items:h.value,activeDay:k.value,activeItem:y.value,"onToggle:day":A,"onToggle:section":S},null,8,["days","items","activeDay","activeItem"])],2)]))}}),ft=W(pt,[["__scopeId","data-v-13d37447"]]),gt={class:"speakers-block"},yt={class:"speakers-block-item__image"},ht={class:"speakers-block-item__info"},bt={class:"speakers-block-item__name"},kt={key:0,class:"speakers-block-item__academic-degrees"},wt={class:"speakers-block__btn"},ve=5,Dt=ie({__name:"SpeakersBlock",props:{data:{}},setup(N){const m=N,i=u=>u?Re:"div",p=x(()=>m.data.length),f=E(0),v=E([]);v.value=g();const k=x(()=>v.value.slice(0,f.value+ve));function g(){const u=[];return m.data.forEach(h=>{const A=((h==null?void 0:h["persons.academic_degrees"])||[]).map(w=>(w==null?void 0:w.label)||"").filter(Boolean).join(", "),S={...h,label:et(h),image_src:Xe(h)||"/images/userpic-empty.png",academic_degrees:A};u.push(S)}),u}function y(){f.value+=ve}function d(u){return!!(u["persons.is_active"]&&u["persons.is_super"]&&u.uuid_person)}return(u,h)=>{const A=Pe,S=Qe;return a(),l("div",gt,[D(Ue,{tag:"ul",name:"fade",mode:"out-in",class:"speakers-block__list"},{default:G(()=>[(a(!0),l(H,null,q(B(k),w=>(a(),l("li",{key:w.uuid,class:"speakers-block-item speakers-block__item"},[(a(),ne(Oe(i(d(w))),{to:d(w)?`/vocs/persons/${w.uuid_person}`:null,class:"speakers-block-item__inner"},{default:G(()=>[s("div",yt,[D(A,{src:w.image_src,alt:w.label||""},null,8,["src","alt"])]),s("div",ht,[s("div",bt,j(w.label||"-"),1),w.academic_degrees?(a(),l("div",kt,j(w.academic_degrees),1)):T("",!0)])]),_:2},1032,["to"]))]))),128))]),_:1}),s("div",wt,[B(k).length<B(p)?(a(),ne(S,{key:0,rounded:"",size:"lg",type:"ghost",iconPrepend:"plus",onClick:y},{default:G(()=>h[0]||(h[0]=[ge(" Загрузить ещё ")])),_:1})):T("",!0)])])}}}),St=W(Dt,[["__scopeId","data-v-7c630806"]]);var Tt={};const It=async({type:N,part:m="file_body",id:i=null,baseUrl:p=Tt.API_URL})=>{let f=p+`/?type=${N}&part=${m}`;i&&(f+="&id="+i);const v=await fetch(f,{body:"{}",headers:{"Content-Type":"application/json"},method:"POST"});if(v.status===401||v.status!==200)return v;const g=v.headers.get("content-disposition").match(/filename\s*=\s*"(.+)"/i),y=decodeURI(g[1]);d(await v.arrayBuffer(),y);function d(u,h){const A="application/octet-stream",S=document.createElement("a");S.href=URL.createObjectURL(new Blob([u],{type:A})),S.download=h,S.click()}return!0},$t={key:0,class:"events-detail"},Lt={class:"op-banner"},At={class:"events-detail__body container"},xt={key:0,class:"events-detail-section"},Ct={class:"events-detail-section__content"},Et={class:"events-detail__desc"},Ft={key:1,class:"events-detail-section"},Bt={class:"events-detail-section__content"},Nt={class:"events-detail-place text-accent"},Ut={key:2,class:"events-detail-section"},Pt={class:"events-detail-section__content"},Ot={class:"events-detail-speakers"},Rt={key:3,class:"events-detail-section"},jt={class:"events-detail-section__content"},Mt={class:"events-detail-links"},Gt={key:0,class:"events-detail-links__el-title"},Vt=["href"],zt={key:4,class:"events-detail-section"},Ht={class:"events-detail-section__content"},qt={class:"events-detail-photo"},Wt={key:5,class:"events-detail-section"},Kt={class:"events-detail-section__content"},Yt={class:"events-detail-video"},Zt={key:6,class:"events-detail-section"},Jt={class:"events-detail-section__content"},Qt={class:"events-detail-acc"},Xt={class:"events-detail-files"},es={key:7,class:"events-detail-section"},ts={class:"events-detail-section__content"},ss={class:"events-detail-partners"},ns={class:"events-detail-section"},is={class:"events-detail-section__content"},as={class:"events-detail-comments"},me="streams",os={__name:"[id]",async setup(N){let m,i;const p=E(null),f=E(null),v=E(null),k=E(null),{updateScrollTrigger:g}=it({banner:p,bannerOverlay:k});let y=!1;const d=()=>{const t=f.value;if(!t)return;const n=t.getBoundingClientRect();Y.isFloating=n.top<=32};fe(()=>{y&&window.removeEventListener("scroll",d)});const u=Me(),h=je(),A=Ge(),{setSeoMeta:S}=qe(),w=[{id:"files",label:"Прикрепленные файлы",isOpen:!0}],O=u.params.id,e=P({}),r=P([]),_=E(!1),C=E(!0),c=P({}),R=P([]),M=P([]),U=P({}),K=P({link:{text:"Мероприятия",url:"/online-platform/events"},total_views:null}),z=P({items:[]}),Y=P({autoplay:!0,canFloat:!0,isFloating:!1}),ae=x(()=>!1),Z=x(()=>U.url_video),ke=x(()=>e.title),we=x(()=>({posFixed:!0,sectionNumber:U==null?void 0:U.number,buttonReduction:!0,theme:"white",teleport:!0,disableMainBtn:_.value,currentDay:c,currentSection:U})),De=t=>{Q(t),Z.value||(_.value=!1)},Se=async t=>{const n=e.days.find(o=>o.started_at===t.id);if(!n)return;Object.assign(c,n),le(),await ee();const b=z.items[0];Q(b)},Te=t=>{t==="back"?v.value&&v.value.scrollIntoView({behavior:"smooth"}):t==="close"&&(Y.isFloating=!1,y&&(window.removeEventListener("scroll",d),y=!1))},Ie=async({state:t})=>{switch(t){case"cancel":C.value=!0,await J(!1),oe(e),C.value=!1;break}},$e=async t=>{t!=null&&t.uuid&&await It({type:"streams",part:"file_body",id:t.uuid})};async function J(t=!1){var I,$,L;if(!O)return;const b=We(O)?"id":"slug",o=await h.$queryApi(`?type=${me}&${b}=${O}`,{},{ssr:t});if((I=o.data)!=null&&I.success&&(($=o.data)!=null&&$.content)){if(Object.assign(e,o.data.content),K.total_views=o.data.content.total_views,K.link={text:e!=null&&e.is_archived?"Архив":"Мероприятия",url:`/online-platform/${e!=null&&e.is_archived?"archive":"events"}`},(L=o.data.content)!=null&&L.slug&&O!==o.data.content.slug)return 301}else if(o.status===404)return ze({statusCode:404}),404;return o.status}const oe=t=>{var n,b;
1Ae(t),(n=t.attachments)!=null&&n.length&&t.attachments.forEach(o=>{r.push({...o})}),(b=t.media_files)!=null&&b.length&&t.media_files.forEach(o=>{let I={};I.id=o.uuid,I.title=o.album_name,I.slides=(o.files||[]).map($=>({img:de($)})),R.push(I)}),t.media_links&&t.media_links.length&&t.media_links.forEach((o,I)=>{let $={};$.id=I,$.title=o.title,$.slides=[],$.slides.push({isVideo:!0,src:o.url}),M.push($)})},Le=()=>{var t;!((t=e.days)!=null&&t.length)||!c.started_at||e.days.forEach(n=>{const b=new Date(n.started_at).getTime()<Date.now();n.disabled=e.is_archived||b?!1:n.started_at>c.started_at})},Ae=t=>{var o,I,$,L;if((o=t.days)!=null&&o.length){let F=null;t.current_day_started_at&&(F=t.days.find(re=>re.started_at===t.current_day_started_at)),F||(F=t.days[0]),Object.assign(c,{...F,id:F.uuid})}const n=u.query.section;let b=((I=c.sections)==null?void 0:I.find(F=>F.uuid===n))||t.current_section;if(!(b!=null&&b.uuid)){if(!c.sections)return;b=c.sections[0]}Q(b),!(!(($=c.sections)!=null&&$.length)&&!((L=t.days)!=null&&L.length))&&(le(),Le())},Q=t=>{if(!t)return;const n=t.uuid||t.id,o=(c.sections||[]).findIndex($=>$.uuid===n),I=t.label||(o>=0?`Секция ${o+1}`:null);Object.assign(U,{...t,id:n,...I?{label:I}:{}})},le=()=>{var t;z.items=[],(t=c.sections)!=null&&t.length&&c.sections.forEach((n,b)=>{z.items.push({...n,id:n.uuid,label:"Секция "+(b+1)})})};return V(()=>c.started_at,t=>{e.current_day_started_at=t}),V(()=>U.finished_at,t=>{const n=new Date;if(t){const b=new Date(t);e.is_current_section_finished=n>=b}else e.is_current_section_finished=!1}),V(_,async t=>{t&&(y||(window.addEventListener("scroll",d),y=!0),ee(d)),await ee(),g()}),V(Z,t=>{t||(_.value=!1)}),([m,i]=X(()=>J(ae.value)),m=await m,i(),m)===301&&e.slug&&([m,i]=X(()=>He(`/online-platform/events/${e.slug}`)),await m,i()),[m,i]=X(()=>J(ae.value)),await m,i(),oe(e),C.value=!1,u.query.action==="live"&&(_.value=!0),S("platform-event",{title:ke.value,description:st(e.description),ogImage:e!=null&&e.image_preview?A.public.BACK_URL.replace("/_back","")+de(e.image_preview):""}),(t,n)=>{const b=xe,o=Ce,I=Ee,$=Fe;return a(),l("div",null,[D(Ve,{name:"fade"},{default:G(()=>[C.value?T("",!0):(a(),l("div",$t,[D(b,{params:K},null,8,["params"]),e.days.length>1||z.items.length>1?(a(),ne(ft,{key:0,data:{sections:z.items,days:e.days},initActiveItem:U,initActiveDay:c,"onToggle:day":Se,"onToggle:section":De},null,8,["data","initActiveItem","initActiveDay"])):T("",!0),s("div",{class:"video-anchor",ref_key:"videoAnchor",ref:v},null,512),s("div",{ref_key:"banner",ref:p,class:"op-banner__wrap container"},[s("div",Lt,[D(B(Ke),{data:e,actionParams:we.value,currentSection:U,currentDay:c,titleHeading:"",play:_.value,"onUpdate:play":n[0]||(n[0]=L=>_.value=L),videoParams:{...Y,videoUrl:Z.value},onVideoAction:Te,onAction:Ie},{default:G(()=>[s("div",{ref_key:"bannerOverlay",ref:k,class:"op-banner__overlay"},null,512)]),_:1},8,["data","actionParams","currentSection","currentDay","play","videoParams"])])],512),s("div",{class:"events-detail__body-wrap",ref_key:"bodyWrap",ref:f},[s("div",At,[e.description?(a(),l("div",xt,[n[1]||(n[1]=s("div",{class:"events-detail-section__title"},"О мероприятии",-1)),s("div",Ct,[s("div",Et,[D(o,{data:e.description},null,8,["data"])])])])):T("",!0),e.city&&e.city.label?(a(),l("div",Ft,[n[2]||(n[2]=s("div",{class:"events-detail-section__title"},"Место проведения",-1)),s("div",Bt,[s("div",Nt,j(e.city.label),1)])])):T("",!0),e.speakers&&e.speakers.length?(a(),l("div",Ut,[n[3]||(n[3]=s("div",{class:"events-detail-section__title"},"Спикеры",-1)),s("div",Pt,[s("div",Ot,[D(St,{data:e.speakers},null,8,["data"])])])])):T("",!0),e.extra_links&&e.extra_links.length?(a(),l("div",Rt,[n[4]||(n[4]=s("div",{class:"events-detail-section__title"},"Ссылки",-1)),s("div",jt,[s("div",Mt,[(a(!0),l(H,null,q(e.extra_links,(L,F)=>(a(),l("div",{class:"events-detail-links__el",key:F},[L.title?(a(),l("div",Gt,j(L.title),1)):T("",!0),L.url?(a(),l("a",{key:1,class:"events-detail-links__el-link",href:L.url,target:"_blank"},j(L.url),9,Vt)):T("",!0)]))),128))])])])):T("",!0),R.length?(a(),l("div",zt,[n[5]||(n[5]=s("div",{class:"events-detail-section__title"},"Фотографии",-1)),s("div",Ht,[s("div",qt,[D(ue,{data:R},null,8,["data"])])])])):T("",!0),M.length?(a(),l("div",Wt,[n[6]||(n[6]=s("div",{class:"events-detail-section__title"},"видео",-1)),s("div",Kt,[s("div",Yt,[D(ue,{data:M},null,8,["data"])])])])):T("",!0),r.length?(a(),l("div",Zt,[s("div",Jt,[s("div",Qt,[D(I,{allowMultipleOpen:!0,blocks:w},{default:G(()=>[s("div",Xt,[(a(!0),l(H,null,q(r,(L,F)=>(a(),l("div",{class:"events-detail-files__el",key:F},[D(Je,{fileName:L.label||L.file_name,iconPrepend:"paperclip",size:"lg",onClick:re=>$e(L)},null,8,["fileName","onClick"])]))),128))])]),_:1})])])])):T("",!0),e.to_partners_text?(a(),l("div",es,[n[7]||(n[7]=s("div",{class:"events-detail-section__title"},"Партнерам",-1)),s("div",ts,[s("div",ss,j(e.to_partners_text),1)])])):T("",!0),D(Ye,{routeId:e.uuid,data:e},null,8,["routeId","data"]),s("div",ns,[s("div",is,[s("div",as,[D($,{params:{type:me,uuid_object:e.uuid}},null,8,["params"])])])])])],512),D(tt,{id:e.uuid,uuid_user:e.uuid_user,status:e.status},null,8,["id","uuid_user","status"])]))]),_:1})])}}},dn=W(os,[["__scopeId","data-v-585c0a75"]]);export{dn 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.