1import{aF as f,$ as p,l as m,r as b,q as g,ag as y,k as v,g as r,ab as _}from"./index-MtqnI7fJ.js";import{_ as w}from"./AppIcon.vue_vue_type_script_setup_true_lang-CZhciOtb.js";import{l as I}from"./userStore-DQA7O5lw.js";import"./preload-helper-B4caUjxE.js";import"./config-CHaMDyVi.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e165d43d-54ab-4e97-b692-10a2f1f21432",e._sentryDebugIdIdentifier="sentry-dbid-e165d43d-54ab-4e97-b692-10a2f1f21432")}catch{}const T={__name:"GoToNextContent",props:{currentContentId:{type:Number,required:!0},navigator:{type:Object,required:!0}},setup(e){const n=e,{translate:l}=f(),s=r(()=>n.navigator.modules.flatMap(t=>{var a;return((a=t.lessons)==null?void 0:a.filter(c=>!c.isCompleted))||[]})),i=r(()=>s.value.length===1),o=r(()=>s.value.length?s.value.find(t=>t.id!==n.currentContentId):null),u=r(()=>i.value?l("Complete Toolkit"):l("Next Activity"));function d(){var t;window.eventBus.$emit("completed-module",n.currentContentId),I?(t=o.value)!=null&&t.url&&_.visit(o.value.url):window.location.href=o.value.url}return(t,a)=>o.value?(p(),m("button",{key:0,id:"go-to-next",class:"ds-button ds-button--outlined",type:"button",onClick:d},[b(w,{name:"arrow-right-long",class:"icon-right-goto-next"}),g(" "+y(u.value),1)])):v("",!0)}};export{T as default}; 2//# sourceMappingURL=GoToNextContent-B4ZuBGVI.js.map
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.