import{d as g,G as d,H as M,b as _,I as C,M as N,_ as h}from"./app-QjDgb7aF.js";import{b as q,g as I,i as c,a as p,j as a,q as m,x as n,k as u,J as v,D as f,u as t,p as r,F as B,G as V,H as k,E as w,z as b}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const z={key:0,style:{"max-width":"500"}},D=["src"],U=q({__name:"MkUpdated",setup(x){const y=b();let i=p(!1),s=p(Object);return g("release").then(e=>{s.value=e,i.value=d===s.value?.version}),console.log(`Version: ${d}`),console.log(`Data version: ${s.value.version}`),console.log(i.value),console.log(s.value),(e,o)=>{const $=w("Mfm");return a(),I(M,{ref_key:"modal",ref:y,"z-priority":"middle",onClick:o[1]||(o[1]=l=>e.$refs.modal.close()),onClosed:o[2]||(o[2]=l=>e.$emit("closed"))},{default:c(()=>[m("div",{class:n(e.$style.root)},[m("div",{class:n(e.$style.title)},[u(C,null,{default:c(()=>[v(f(t(_).ts.iceshrimpUpdated),1)]),_:1})],2),m("div",{class:n(e.$style.version)},"✨ "+f(t(d))+" 🚀",3),t(i)?(a(),r("div",{key:0,class:n(e.$style.releaseNotes)},[u($,{text:t(s).notes},null,8,["text"]),t(s).screenshots.length>0?(a(),r("div",z,[(a(!0),r(B,null,V(t(s).screenshots,l=>(a(),r("img",{key:l,src:l,alt:"screenshot"},null,8,D))),128))])):k("",!0)],2)):k("",!0),u(N,{class:n(e.$style.gotIt),primary:"",full:"",onClick:o[0]||(o[0]=l=>e.$refs.modal.close())},{default:c(()=>[v(f(t(_).ts.gotIt),1)]),_:1},8,["class"])],2)]),_:1},512)}}}),j="_root_qlf9n_1",E="_title_qlf9n_13",F="_version_qlf9n_17",G="_gotIt_qlf9n_21",H="_releaseNotes_qlf9n_25",R={root:j,title:E,version:F,gotIt:G,releaseNotes:H},S={$style:R},A=h(U,[["__cssModules",S]]);export{A as default};
//# sourceMappingURL=MkUpdated-Dx0BVsdx.js.map
