1import{c as g}from"./index.JewAZQWV.js";import{T as y}from"./TravelItemsHeader.CFjC4n-2.js";import{T,g as I}from"./storage.Cn4iBhzS.js";import{s as r}from"./PhraseItem.DlvkyKnR.js";import{aw as w,b6 as h,aK as C,aX as c,aQ as o,b1 as _,aC as a,aP as E}from"./entry.CegXatDB.js";import{u as L}from"./useEnsureTravelCourse.CFDNYFSZ.js";import{u as S}from"./useMobile.B8wCm-8p.js";import{u as k}from"./useTravelAvailability.BIqZ-7Vr.js";import"./index.CTYyfhim.js";import"./index.Dyfo5MgN.js";import"./travel.CmPkzeld.js";import"./useAudioRecorder.BU9KgcQ6.js";import"./index.D2-MKDTV.js";/* empty css */import"./utils.qm10A1E0.js";import"./asyncData.CNOYRaS-.js";import"./flexRow.DmEAxWdd.js";import"./index.CXgqaQup.js";import"./interval.ZuQE8gGc.js";import"./index.F0qxew4e.js";import"./new.CFbQNtMl.js";import"./RenderItem.B3SNkvq8.js";import"./el-popper.DOfsoM-4.js";import"./constants.Dk5zQC8_.js";import"./_baseFlatten.D9twMW-4.js";import"./index.CxZB5ctD.js";import"./el-popover.C1DTHF2m.js";import"./dropdown.DgQK1DO_.js";/* empty css */import"./htmlDarkMode.BG0ok_pe.js";/* empty css */import"./useTopicStatus.CBSBtCgT.js";import"./useWindowSize.BpjIDBT8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"c515a255f4eda0469bf1b251e5d7530d696a0507"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c1e52d57-9f1d-4bfb-a8a6-a5b2fffc8d3e",e._sentryDebugIdIdentifier="sentry-dbid-c1e52d57-9f1d-4bfb-a8a6-a5b2fffc8d3e")}catch{}})();const ne=w({async setup(){const e=h();L();const t=C(),{isMobile:s,width:n}=S(),d=k(),m=E(""),i=o(()=>`${e.params.langnm||""}`),f=o(()=>t.gotoLanguageCourseLevel(i.value,1));if(!d.canUseTravel.value)return await c(f.value,{replace:!0}),()=>null;const u=o(()=>`${e.params.categoryId||""}`),p=o(()=>t.gotoLanguageTravel(i.value)),v=o(()=>n.value===0||s.value);return _([s,n],([l,b])=>{b<=0||l||(sessionStorage.setItem(I(i.value),u.value),c(p.value,{replace:!0}))},{immediate:!0}),()=>a("div",{class:r.travelItems},[a("div",{class:r.scrollWrap},[v.value?a(y,{backPath:p.value,title:m.value},null):null,a("div",{class:g(r.content,"max_w_1000")},[a("main",{class:r.main},[a(T,{categoryId:u.value,onTitleChange:l=>{m.value=l}},null)])])])])}});export{ne 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.