import{A as e,B as t,D as n,S as r,g as i,m as a,n as o,s,x as c,y as l}from"./logo-sunshine-45-B0-ae2pw.js";import{o as u}from"./Notification-CxaUkThL.js";import{t as d}from"./file-text-BnxxIjNl.js";import{n as f,t as p}from"./SimpleIcon-D4QsPjZk.js";var m=s(`book-open`,[[`path`,{d:`M12 5v16`,key:`1f6ucr`}],[`path`,{d:`M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z`,key:`1fyvmf`}]]),h={props:{installedVersionNotStable:{type:Boolean,default:!1}},components:{SimpleIcon:p,AlertCircle:u,BookOpen:m,FileText:d,Globe:f},computed:{documentationUrl(){return`https://docs.lizardbyte.dev/projects/sunshine/${this.installedVersionNotStable?`master`:`latest`}/`}}},g={class:`card`},_={class:`card-body`},v={class:`d-flex flex-wrap gap-2 mt-4`},y={class:`btn btn-success`,href:`https://app.lizardbyte.dev`,target:`_blank`},b=[`href`],x={class:`btn btn-primary`,href:`https://app.lizardbyte.dev/discord`,target:`_blank`},S={class:`btn btn-secondary`,href:`https://github.com/orgs/LizardByte/discussions`,target:`_blank`},C={class:`card mt-4`},w={class:`card-body`},T={class:`d-flex flex-wrap gap-2 mt-4`},E={class:`btn btn-danger`,href:`https://github.com/LizardByte/Sunshine/blob/master/LICENSE`,target:`_blank`},D={class:`btn btn-danger`,href:`https://github.com/LizardByte/Sunshine/blob/master/NOTICE`,target:`_blank`};function O(o,s,u,d,f,p){let m=e(`Globe`),h=e(`BookOpen`),O=e(`SimpleIcon`),k=e(`FileText`),A=e(`AlertCircle`);return n(),l(a,null,[i(`div`,g,[i(`div`,_,[i(`h2`,null,t(o.$t(`resource_card.resources`)),1),i(`div`,v,[i(`a`,y,[r(m,{size:18,class:`icon`}),c(` `+t(o.$t(`resource_card.lizardbyte_website`)),1)]),i(`a`,{class:`btn btn-info`,href:p.documentationUrl,target:`_blank`},[r(h,{size:18,class:`icon`}),c(` `+t(o.$t(`resource_card.documentation`)),1)],8,b),i(`a`,x,[r(O,{icon:`Discord`,size:18,class:`icon`}),s[0]||=c(` Discord `,-1)]),i(`a`,S,[r(O,{icon:`GitHub`,size:18,class:`icon`}),c(` `+t(o.$t(`resource_card.github_discussions`)),1)])])])]),i(`div`,C,[i(`div`,w,[i(`h2`,null,t(o.$t(`resource_card.legal`)),1),i(`p`,null,t(o.$t(`resource_card.legal_desc`)),1),i(`div`,T,[i(`a`,E,[r(k,{size:18,class:`icon`}),c(` `+t(o.$t(`resource_card.license`)),1)]),i(`a`,D,[r(A,{size:18,class:`icon`}),c(` `+t(o.$t(`resource_card.third_party_notice`)),1)])])])])],64)}var k=o(h,[[`render`,O]]);export{k as t};