import{d as l,g as p,o as t,l as d,b as a,x as s,P as h,a6 as f,a1 as v,a2 as b,c as k,A as g,_ as w}from"./index-DA4V3bi7.js";import{N as B,_ as C,I}from"./SvgIcon-Cza0IrRi.js";window.getBuildInfo=function(){return{buildTime:"12/28/2024, 9:18:06 AM",branch:"null"}};const x={class:"navbar-main"},N=l({__name:"NavBar",props:{title:{},isShowRight:{type:Boolean}},setup(e){const o=e,n=h(),c=f(),r=p(()=>n.name==="home"),i=()=>{c.push({name:"course",params:{formId:n.params.formId}})};return(m,R)=>{const _=I,u=B;return t(),d("main",x,[a(u,{title:o.title},{left:s(()=>[v(a(C,{onClick:m.$router.back,name:"back"},null,8,["onClick"]),[[b,!r.value]])]),right:s(()=>[o.isShowRight?(t(),k(_,{key:0,name:"question-o",style:{"font-size":"24px"},onClick:i})):g("",!0)]),_:1},8,["title"])])}}}),T=w(N,[["__scopeId","data-v-873447af"]]);export{T as _};
