1import{Dn as S,M as N,N as k,Tt as A,Wr as E,Yr as d,ea as G,hr as l,ji as e,kn as O,oi as x,pi as z,pr as I,vn as i,xi as u}from"./u1xoyfHR.js";import{f as U}from"./hEHaJ9Ek.js";import{n as B}from"./BRMh9MOV.js";import{c as R}from"./DtVbaxA92.js";import{t as T}from"./CI0d6cAu2.js";import{t as j}from"./Dp5jD82a2.js";import{t as M}from"./BMTR4NrK2.js";import{t as W}from"./DbSMdu3G2.js";import{t as $}from"./DDynJL8l2.js";A();var H=O({__name:"Catalog",props:{show:{type:Boolean,default:!1}},emits:["afterLeaveEmit"],setup(p,{emit:v}){const w=p,o=u(!1),a=u(!1),_=U(),n=u(),c=j(),g=v,{width:C}=R(),{t:b}=B(),h=async()=>{o.value=!0;const s={course_id:Number(_.params.course_id),lesson_id:Number(_.params.lesson_id)};try{const{refetch:t}=M(W,s,{immediate:!1}),r=(await t(s))?.data?.salongGetCourseCatalogueInLesson;n.value=r}finally{o.value=!1}},m=x();return m.run(()=>{E(()=>w.show,s=>{a.value=s,!n.value&&a.value&&h()})}),I(()=>{m.stop()}),(s,t)=>{const r=T,y=$,L=N,D=k;return l(),i(D,{show:e(a),"onUpdate:show":t[0]||(t[0]=f=>z(a)?a.value=f:null),width:e(c)==="mobile"?e(C)-48:760,class:G(e(c)==="mobile"?"ml-12":"ml-18"),placement:"left",resizable:!0,"auto-focus":!1,"block-scroll":!1,to:"#left-bar",onAfterLeave:t[1]||(t[1]=f=>g("afterLeaveEmit","catalog"))},{default:d(()=>[S(L,{title:e(b)("video.catalogLabel"),closable:!0},{default:d(()=>[e(o)?(l(),i(r,{key:0})):(l(),i(y,{key:1,data:e(n)},null,8,["data"]))]),_:1},8,["title"])]),_:1},8,["show","width","class"])}}}),ae=Object.assign(H,{__name:"ArticleLessonCatalog"});export{ae as t};
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.