import{C as g}from"./ContentWithHeading.js";import{S as d}from"./SettingsCheckbox.js";import{T as h}from"./TabsSettings.js";import{_ as m,r as a,o as c,c as w,d as e,w as s,a as t,t as o,g as k,k as f}from"./index.js";const u={name:"PageSettingsArtwork",components:{ContentWithHeading:g,SettingsCheckbox:d,TabsSettings:h},computed:{spotify(){return this.$store.state.spotify}}},C={class:"fd-page-with-tabs"},x=["textContent"],b=["textContent"],y=["textContent"],v=["textContent"],$={href:"https://www.spotify.com/",target:"_blank"},S={class:"icon"},B=["textContent"],z={href:"https://www.discogs.com/",target:"_blank"},N={class:"icon"},V=["textContent"],A={href:"https://coverartarchive.org/",target:"_blank"},P={class:"icon"};function T(n,D,E,H,W,_){const p=a("tabs-settings"),i=a("mdicon"),r=a("settings-checkbox"),l=a("content-with-heading");return c(),w("div",C,[e(p),e(l,null,{"heading-left":s(()=>[t("div",{class:"title is-4",textContent:o(n.$t("page.settings.artwork.artwork"))},null,8,x)]),content:s(()=>[t("div",{class:"content",textContent:o(n.$t("page.settings.artwork.explanation-1"))},null,8,b),t("div",{class:"content",textContent:o(n.$t("page.settings.artwork.explanation-2"))},null,8,y),_.spotify.spotify_logged_in?(c(),k(r,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:s(()=>[t("span",{textContent:o(n.$t("page.settings.artwork.spotify"))},null,8,v),t("a",$,[t("span",S,[e(i,{name:"open-in-new",size:"16"})])])]),_:1})):f("",!0),e(r,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:s(()=>[t("span",{textContent:o(n.$t("page.settings.artwork.discogs"))},null,8,B),t("a",z,[t("span",N,[e(i,{name:"open-in-new",size:"16"})])])]),_:1}),e(r,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:s(()=>[t("span",{textContent:o(n.$t("page.settings.artwork.coverartarchive"))},null,8,V),t("a",A,[t("span",P,[e(i,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const I=m(u,[["render",T]]);export{I as default};