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