1import{P as o}from"./index.uzZaQdpd.js";import{P as n}from"./index.BzbSJJZ7.js";import r from"./LessonTestoutLives.6qaVRF4Y.js";import{s as l}from"./index.module.jgInz1bB.js";import{aw as i,bd as d,aC as e,aE as u}from"./entry.D_dqNKaD.js";import c from"./index.0vZ2tZ5P.js";import"./index.BtgXQYSM.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"1efaec818d93a34fc75e3041dd55939e084a0ab6"};var t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="d67264a8-5256-411b-a60a-2308319b26a8",s._sentryDebugIdIdentifier="sentry-dbid-d67264a8-5256-411b-a60a-2308319b26a8")}catch{}})();const h=i({name:"LessonHeader",props:{progressNum:{type:[String,Number],required:!0},testoutLives:{type:Array,required:!0},showGrammar:{type:Boolean,default:!0},showActions:{type:Boolean,default:!0},showLives:{type:Boolean,default:!1}},emits:["openExit","openGrammar","openSetting"],setup(s,{emit:t}){const a=d();return()=>e(u,null,[a.state.modelType!=="FinishPanel"&&e("div",{class:l.header},[e("div",{class:"flex items-center gap-2 w-full max_w_1000 mx-auto px-4"},[e("div",{class:"ripple rounded-full flex items-center justify-center cursor-pointer flex-shrink-0",onClick:()=>t("openExit")},[e(c,{name:"material-symbols:cancel-rounded",class:"text-[#afafaf] opacity-75 dark:text-[#9DA5B2] dark:opacity-100 text-[24px] block"},null)]),e("div",{class:"flex items-center gap-[10px] flex-1"},[e("div",{class:"flex items-center flex-1"},[e(o,{progress:s.progressNum,class:"w-full"},null)]),a.state.lessonType==="testout"||s.showLives?e("div",{class:"flex-shrink-0"},[e(r,{lives:s.testoutLives},null)]):s.showActions?e("div",{class:"flex items-center gap-x-2 flex-shrink-0 h-max"},[s.showGrammar&&e("img",{class:"w-6 h-6 cursor-pointer object-contain",src:"/images/lesson/showTips.png",alt:"tips",onClick:()=>t("openGrammar")},null),e("img",{class:"w-6 h-6 cursor-pointer object-contain",src:"/images/lesson/modelSetting.png",alt:"setting",onClick:()=>t("openSetting")},null),e(n,null,null)]):null])])])])}});export{h 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.