diff --git a/htdocs/assets/index.js b/htdocs/assets/index.js index 2ab21c59..9c14537a 100644 --- a/htdocs/assets/index.js +++ b/htdocs/assets/index.js @@ -43,7 +43,7 @@ * vue-i18n v11.1.11 * (c) 2025 kazuya kawaguchi * Released under the MIT License. - */const TO="11.1.11";function AO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pp().__INTLIFY_PROD_DEVTOOLS__=!1)}const gs={UNEXPECTED_RETURN_TYPE:GA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ns(t,...e){return Bu(t,null,void 0)}const ih=or("__translateVNode"),rh=or("__datetimeParts"),oh=or("__numberParts"),OO=or("__setPluralRules"),xO=or("__injectWithOption"),ah=or("__dispose");function za(t){if(!pe(t)||qs(t))return t;for(const e in t)if(Os(t,e))if(!e.includes("."))pe(t[e])&&za(t[e]);else{const n=e.split("."),s=n.length-1;let i=t,r=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),fc(c,o[l])):fc(c,o)}else vt(a)&&fc(JSON.parse(a),o)}),i==null&&r)for(const a in o)Os(o,a)&&za(o[a]);return o}function t_(t){return t.type}function IO(t,e,n){let s=pe(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=Q0(t.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const i=Object.keys(s);i.length&&i.forEach(r=>{t.mergeLocaleMessage(r,s[r])});{if(pe(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(pe(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function Yg(t){return E(mi,null,t,0)}const Zg="__INTLIFY_META__",Jg=()=>[],NO=()=>!1;let Qg=0;function ty(t){return((e,n,s,i)=>t(n,s,cn()||void 0,i))}const PO=()=>{const t=cn();let e=null;return t&&(e=t_(t)[Zg])?{[Zg]:e}:null};function e_(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=qc?cs:Tu;let o=Re(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:vt(t.locale)?t.locale:Xc),l=r(e&&o?e.fallbackLocale.value:vt(t.fallbackLocale)||je(t.fallbackLocale)||se(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(Q0(a.value,t)),u=r(se(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(se(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:Re(t.missingWarn)||zc(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:Re(t.fallbackWarn)||zc(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:Re(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,_=Pe(t.missing)?t.missing:null,y=Pe(t.missing)?ty(t.missing):null,v=Pe(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,b=!!t.escapeParameter;const S=e?e.modifiers:se(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,I;I=(()=>{s&&Hg(null);const L={version:TO,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:k,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:g,escapeParameter:b,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=se(I)?I.__datetimeFormatters:void 0,L.__numberFormatters=se(I)?I.__numberFormatters:void 0;const G=dO(L);return s&&Hg(G),G})(),ta(I,a.value,l.value);function C(){return[a.value,l.value,c.value,u.value,d.value]}const R=Je({get:()=>a.value,set:L=>{I.locale=L,a.value=L}}),B=Je({get:()=>l.value,set:L=>{I.fallbackLocale=L,l.value=L,ta(I,a.value,L)}}),$=Je(()=>c.value),H=Je(()=>u.value),X=Je(()=>d.value);function ot(){return Pe(v)?v:null}function K(L){v=L,I.postTranslation=L}function Q(){return _}function at(L){L!==null&&(y=ty(L)),_=L,I.missing=y}const kt=(L,G,ht,St,Kt,U)=>{C();let j;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=e?uO():void 0),j=L(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(ht!=="translate exists"&&Xe(j)&&j===Wu||ht==="translate exists"&&!j){const[q,rt]=G();return e&&p?St(e):Kt(q)}else{if(U(j))return j;throw Ns(gs.UNEXPECTED_RETURN_TYPE)}};function zt(...L){return kt(G=>Reflect.apply(Xg,null,[G,...L]),()=>sh(...L),"translate",G=>Reflect.apply(G.t,G,[...L]),G=>G,G=>vt(G))}function Vt(...L){const[G,ht,St]=L;if(St&&!pe(St))throw Ns(gs.INVALID_ARGUMENT);return zt(G,ht,tn({resolvedMessage:!0},St||{}))}function Bt(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>Reflect.apply(G.d,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ge(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>Reflect.apply(G.n,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ve(L){return L.map(G=>vt(G)||Xe(G)||Re(G)?Yg(String(G)):G)}const Wt={normalize:ve,interpolate:L=>L,type:"vnode"};function Y(...L){return kt(G=>{let ht;const St=G;try{St.processor=Wt,ht=Reflect.apply(Xg,null,[St,...L])}finally{St.processor=null}return ht},()=>sh(...L),"translate",G=>G[ih](...L),G=>[Yg(G)],G=>je(G))}function dt(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>G[oh](...L),Jg,G=>vt(G)||je(G))}function ct(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>G[rh](...L),Jg,G=>vt(G)||je(G))}function bt(L){k=L,I.pluralRules=k}function Ut(L,G){return kt(()=>{if(!L)return!1;const ht=vt(G)?G:a.value,St=N(ht),Kt=I.messageResolver(St,L);return qs(Kt)||os(Kt)||vt(Kt)},()=>[L],"translate exists",ht=>Reflect.apply(ht.te,ht,[L,G]),NO,ht=>Re(ht))}function Xt(L){let G=null;const ht=B0(I,l.value,a.value);for(let St=0;St{o&&(a.value=L,I.locale=L,ta(I,a.value,l.value))}),Zn(e.fallbackLocale,L=>{o&&(l.value=L,I.fallbackLocale=L,ta(I,a.value,l.value))}));const lt={id:Qg,locale:R,fallbackLocale:B,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,ta(I,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:$,get modifiers(){return S},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,I.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,I.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,I.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(L){g=L,I.warnHtmlMessage=L},get escapeParameter(){return b},set escapeParameter(L){b=L,I.escapeParameter=L},t:zt,getLocaleMessage:N,setLocaleMessage:W,mergeLocaleMessage:st,getPostTranslationHandler:ot,setPostTranslationHandler:K,getMissingHandler:Q,setMissingHandler:at,[OO]:bt};return lt.datetimeFormats=H,lt.numberFormats=X,lt.rt=Vt,lt.te=Ut,lt.tm=A,lt.d=Bt,lt.n=ge,lt.getDateTimeFormat=J,lt.setDateTimeFormat=T,lt.mergeDateTimeFormat=x,lt.getNumberFormat=V,lt.setNumberFormat=z,lt.mergeNumberFormat=tt,lt[xO]=n,lt[ih]=Y,lt[rh]=ct,lt[oh]=dt,lt}const Sp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function RO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((s,i)=>[...s,...i.type===it?i.children:[i]],[]):e.reduce((n,s)=>{const i=t[s];return i&&(n[s]=i()),n},Ee())}function n_(){return it}const DO=Ti({name:"i18n-t",props:tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Xe(t)||!isNaN(t)}},Sp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d[0]!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=vt(t.plural)?+t.plural:t.plural);const a=RO(e,r),l=i[ih](t.keypath,a,o),c=tn(Ee(),s),u=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(u,c,l)}}}),ey=DO;function LO(t){return je(t)&&!vt(t[0])}function s_(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),vt(t.format)?o.key=t.format:pe(t.format)&&(vt(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?tn(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];je(l)?c=l.map((f,h)=>{const p=i[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return LO(m)&&(m[0].key=`${f.type}-${h}`),m}):vt(l)&&(c=[l]);const u=tn(Ee(),r),d=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(d,u,c)}}const MO=Ti({name:"i18n-n",props:tn({value:{type:Number,required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,Y0,(...s)=>n[oh](...s))}}),ny=MO;function $O(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const s=n.__getInstance(e);return s!=null?s.__composer:t.global.__composer}}function FO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ns(gs.UNEXPECTED_ERROR);const c=$O(t,a.$),u=sy(l);return[Reflect.apply(c.t,c,[...iy(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);qc&&t.global===c&&(o.__i18nWatcher=Zn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{qc&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=sy(a);o.textContent=Reflect.apply(l.t,l,[...iy(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function sy(t){if(vt(t))return{path:t};if(se(t)){if(!("path"in t))throw Ns(gs.REQUIRED_VALUE,"path");return t}else throw Ns(gs.INVALID_VALUE)}function iy(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return vt(n)&&(o.locale=n),Xe(i)&&(o.plural=i),Xe(r)&&(o.plural=r),[e,a,o]}function VO(t,e,...n){const s=se(n[0])?n[0]:{};(Re(s.globalInstall)?s.globalInstall:!0)&&([ey.name,"I18nT"].forEach(r=>t.component(r,ey)),[ny.name,"I18nN"].forEach(r=>t.component(r,ny)),[oy.name,"I18nD"].forEach(r=>t.component(r,oy))),t.directive("t",FO(e))}const UO=or("global-vue-i18n");function HO(t={}){const e=Re(t.globalInjection)?t.globalInjection:!0,n=new Map,[s,i]=jO(t),r=or("");function o(u){return n.get(u)||null}function a(u,d){n.set(u,d)}function l(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...d){if(u.__VUE_I18N_SYMBOL__=r,u.provide(u.__VUE_I18N_SYMBOL__,c),se(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let f=null;e&&(f=YO(u,c.global)),VO(u,c,...d);const h=u.unmount;u.unmount=()=>{f&&f(),c.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function Ep(t={}){const e=cn();if(e==null)throw Ns(gs.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ns(gs.NOT_INSTALLED);const n=BO(e),s=GO(n),i=t_(e),r=WO(t,i);if(r==="global")return IO(s,t,i),s;if(r==="parent"){let l=KO(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=tn({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=e_(l),o.__composerExtend&&(a[ah]=o.__composerExtend(a)),zO(o,e,a),o.__setInstance(e,a)}return a}function jO(t,e){const n=vu(),s=n.run(()=>e_(t));if(s==null)throw Ns(gs.UNEXPECTED_ERROR);return[n,s]}function BO(t){const e=us(t.isCE?UO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ns(t.isCE?gs.NOT_INSTALLED_WITH_PROVIDE:gs.UNEXPECTED_ERROR);return e}function WO(t,e){return ju(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function GO(t){return t.mode==="composition"?t.global:t.global.__composer}function KO(t,e,n=!1){let s=null;const i=e.root;let r=qO(e,n);for(;r!=null;){const o=t;if(t.mode==="composition"&&(s=o.__getInstance(r)),s!=null||i===r)break;r=r.parent}return s}function qO(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function zO(t,e,n){Vo(()=>{},e),ll(()=>{const s=n;t.__deleteInstance(e);const i=s[ah];i&&(i(),delete s[ah])},e)}const XO=["locale","fallbackLocale","availableLocales"],ry=["t","rt","d","n","tm","te"];function YO(t,e){const n=Object.create(null);return XO.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Ns(gs.UNEXPECTED_ERROR);const o=Ie(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,o)}),t.config.globalProperties.$i18n=n,ry.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Ns(gs.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,ry.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const ZO=Ti({name:"i18n-d",props:tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,X0,(...s)=>n[rh](...s))}}),oy=ZO;AO();rO(UA);oO(nO);aO(B0);if(__INTLIFY_PROD_DEVTOOLS__){const t=pp();t.__INTLIFY__=!0,HA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const qd=t=>t&&typeof t=="object"&&!Array.isArray(t),lh=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(qd(t)&&qd(n))for(const s in n)qd(n[s])?(t[s]||Object.assign(t,{[s]:{}}),lh(t[s],n[s])):Object.assign(t,{[s]:n[s]});return lh(t,...e)},JO=lh({},{de:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Als nächstes hinzufügen"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Abbrechen"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Alle entfernen"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Bearbeiten"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Alle abgespielten markieren"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als neu"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als gespielt"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Remote paaren"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Spielen"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Entfernen"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Speichern"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Zeige mehr"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Zufallswiedergabe"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verifizieren"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Alben"}]}]}},artists:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" Künstler"}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autoren"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Stationen"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast hinzufügen"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Lade…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlistname"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Speichere…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange als Playlist speichern"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast enfernen"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote-Paarungs-Anfrage"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Alles neu einlesen"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Nur RSS-Feeds neu einlesen"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Suche nach neuen, gelöschten und veränderten Dateien"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Nur lokale Bibliothek neu einlesen"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek wird neu eingelesen…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Metadata von unveränderten Dateien neu einlesen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Nur Spotify neu einlesen"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Deutsch"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Englisch (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Französisch (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Vereinfachtes Chinesisch (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditionelles Chinesisch (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Diesen Podcast dauerhaft aus der Bibliothek löschen?"},{t:4,k:"separator"},{t:3,v:"(Damit wird auch die RSS-Playliste "},{t:4,k:"name"},{t:3,v:" gelöscht)"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track kann nicht gespielt werden"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", Beschränkungsgrund: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Hörbuch"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"Über"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Einstellungen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Singles und alles, was mit ihnen verbunden ist, aus."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Spotify-Inhalt"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Inhalte aus, die von Spotify stammen."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtern"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Erscheinungsdatum"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Namen"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich erschienen"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sortieren"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Oberfläche erstellt mit "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" und "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiliert mit Unterstützung von "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},more:{t:0,b:{t:2,i:[{t:3}],s:"mehr"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich gespielt"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Tracks durch Auswählen aus der Bibliothek anfügen"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Deine Playliste ist leer."}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlisten"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Neue Episoden"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"Ausdrücken"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach "},{t:4,k:"help"},{t:3,v:" suchen wenn Du dem Ausdruck ein "},{t:4,k:"query"},{t:3,v:" voranstellst."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Keine Ergebnisse gefunden"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Album"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Alben"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Künstler"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Künstler"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Buch"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Komponist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige die Playlist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Podcast"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Track"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Fernbedienungen und Ausgänge"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Ausgezeichnete Playlisten"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Neuvorstellung"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf löschen"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe anhalten"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergeben"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Alle Tracks wiederholen"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Tracks einmal lesen"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Aktuellen Track wiederholen"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Rückwärts im Track suchen"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Vorwärts im Track suchen"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Tracks zufällig wiedergeben"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Tracks in Reihenfolge wiedergeben"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Zum vorherigen Track springen"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Zum nächsten Track springen"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe stoppen"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Liedtexte anzeigen/verbergen"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Einfache"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Hinzugefügt am"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Kommentar"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Komponist"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Dauer"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Besitzer"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Pfad"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Spielzeit"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularität / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualität"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Art"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Neu eingelesen"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Laufzeit"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track an die Abspielliste angehängt"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks an die Abspielliste angehängt"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Anfrage gescheitert (Status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dunkel"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Hell"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsbild"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote-Pairing-Anfrage von "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorisiere API-Zugriff"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Zugriff auf die Spotify API gestatten."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Bitte den Zugriff der API durch setzen folgender Zugriffsrechte für OwnTone: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Spotify Premium Abo erforderlich. Zugriff auf die Spotify API ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Zugriff gestattet für "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Auf den Bildschirmen mobiler Geräte wird nur das Burger-Menü angezeigt."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Beschränkte die Zahl der Alben"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt-Seite"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll."},{t:5,i:0},{t:3,v:"Leer lassen, um den Komponisten immer anzuzeigen."},{t:5,i:0},{t:3,v:'Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Suche"}}}}}},{en:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Add"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Add Next"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark All Played"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Mark as new"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Pair Remote"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Rescan"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verify"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artists"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" authors"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" channel"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" channels"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composers"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlists"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Loading…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlist name"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Saving…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Save queue to playlist"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Delete the podcast"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Update everything"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Only update RSS feeds"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Scan for new, deleted and modified files"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Only update local library"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Library update in progress…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Rescan metadata of unmodified files"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Only update Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Update library"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"German (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Simplified Chinese (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditional Chinese (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track is not playable"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", restriction reason: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Settings"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream error: failed to load stream or stopped loading due to network problem"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Hide singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides singles and anything associated with them."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Hide Spotify content"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides content from Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filter"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Release date"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Recently released"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release date"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sort"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Web interface built with "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" and "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiled with support for "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Files"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"History"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Add some tracks by browsing your library"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Your play queue is empty"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlists"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"New Episodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Queue"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: you can search by a smart playlist query language "},{t:4,k:"help"},{t:3,v:" if you prefix it with "},{t:4,k:"query"},{t:3,v:"."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"No results found"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the album"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the artist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" artists"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the audiobook"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the composer"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" composers"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the playlist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" playlists"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the podcast"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the track"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Remotes and Outputs"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"General"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Featured Playlists"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"New Releases"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Clear history"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Repeat all tracks"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Read tracks once"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Repeat current track"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Seek backward in the track"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Seek forward in the track"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Play tracks randomly"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Play tracks in order"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to previous track"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to next track"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Stop"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Toggle lyrics"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Folder"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Plain"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Added On"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Comment"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Composer"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Folders"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Owner"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Path"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Playtime"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularity / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Quality"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release Date"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Uptime"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track appended to the queue"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks appended to the queue"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Request failed (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Appearance"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"In addition to that, you can enable fetching artwork from the following artwork providers:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request from "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"If your speaker requires pairing then activate it below and enter the PIN that it displays."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Login with your Last.fm username and password to enable scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorize API access"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Grant access to the Spotify API."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was either built without support for Spotify or libspotify is not installed."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Please reauthorize API access to grant OwnTone the following additional access rights: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"You must have a Spotify premium account. Access to the Spotify API enables scanning of your Spotify library. Required scopes are: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Access granted for "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"On mobile device screens, only the burger menu is displayed."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Player page"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limit the number of albums displayed"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Recently added page"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Comma-separated list of genres, for which the composer must be displayed."},{t:5,i:0},{t:3,v:"Leave empty to always show the composer."},{t:5,i:0},{t:3,v:'The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Files"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Search"}}}}}},{fr:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter ensuite"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Annuler"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Effacer"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Éditer"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer l’historique"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Se connecter"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Se déconnecter"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lus"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme nouveau"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lu"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Jumeler la télécommande"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Analyser"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Afficher plus"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lecture aléatoire"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Vérifier"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artistes"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteurs"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Chargement…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Nom de la liste de lecture"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer la file d’attente dans une liste de lecture"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer ce podcast de manière permanente de la bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Tout actualiser"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement les flux RSS"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Recherche les fichiers ajoutés, supprimés et modifiés"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement la bibliothèque locale"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Actualisation de la bibliothèque en cours…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Analyser les métadonnées des fichiers non modifiés"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourd’hui"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Allemand (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Anglais (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Français"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Chinois simplifié (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Chinois traditionnel (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer définitivement ce podcast de votre bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"La piste ne peut pas être lue"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", raison de la restriction : "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Livre audio"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"À propos"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Réglages"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison d’un problème réseau"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Masquer les singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque les singles et tout ce qui leur est associé."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Masquer le contenu de Spotify"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque le contenu qui provient de Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtrer"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Date de sortie"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Nom"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Sorties récentes"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Trier"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Interface utilisateur construite avec "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" et "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compilé avec les options "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},more:{t:0,b:{t:2,i:[{t:3}],s:"plus"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Lectures récentes"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Historique"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Ajoutez des pistes en parcourant votre bibliothèque"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En direct"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"La file d’attente est vide"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Listes de lecture"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Nouveaux épisodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"File d’attente"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Astuce : vous pouvez effectuer une recherche avec une "},{t:4,k:"help"},{t:3,v:" du langage de requête de liste de lecture intelligente en préfixant votre requête avec "},{t:4,k:"query"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Aucun résultat trouvé"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’album"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’artiste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" artistes"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le livre audio"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le compositeur"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la liste de lecture"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le podcast"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la piste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" pistes"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Télécommandes et sorties"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Général"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture en vedette"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Nouvelle sorties"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer l’historique"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Mettre la lecture en pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Répéter toutes les pistes"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes une fois"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Répéter la piste en cours"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer dans la piste"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer dans la piste"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes aléatoirement"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes dans l’ordre"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer à la piste précédente"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer à la piste suivante"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Arrêter la lecture"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Voir/Cacher les paroles"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Dossier"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Simple"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Ajouté le"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de l’album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artiste"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Commentaire"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Compositeur"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Durée"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Dossiers"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Propriétaire"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Emplacement"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de lecture"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularité / Abonnements"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disque / Piste"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualité"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de fonctionnement"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Année"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file d’attente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file d’attente"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file d’attente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"La requête a échoué (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatique"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Sombre"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Clair"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Mode d’apparence"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste d’albums"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage d’enceinte et vérification d’appareil"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Last.fm n’est pas présente."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Autoriser l’accès à l’API"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Accordez l’accès à l’API de Spotify."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Spotify n’est pas présente."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accès supplémentaires suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Vous devez posséder un compte Spotify Premium. L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application requis sont les suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Accès autorisé pour "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom d’utilisateur"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Sélectionnez les éléments de la barre de navigation supérieure"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Sur les écrans des appareils mobiles, seul le menu est affiché."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre d’albums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché."},{t:5,i:0},{t:3,v:"Laissez vide pour toujours afficher le compositeur."},{t:5,i:0},{t:3,v:'L’étiquette de genre de la piste actuelle est comparée en vérifiant si l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}}}}}},{"zh-CN":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"添加流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隐藏历史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部标记为已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"标记为最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新扫描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"显示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"验证"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加播客"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名称"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"保存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"保存播放清单到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客?"},{t:4,k:"separator"},{t:3,v:"(这也将移除该播客RSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除播客"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对码"}},title:{t:0,b:{t:2,i:[{t:3}],s:"请求遥控配对"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有内容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"仅更新RSS订阅内容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"扫描新的、删除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"仅更新本地资料库"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地资料库…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新扫描未修改文件的元数据"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"仅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定义"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德语 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英语 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法语 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客吗?"},{t:4,k:"separator"},{t:3,v:"(这也将移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目无法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP流错误:流载入失败或者由于网络原因无法载入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隐藏单曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏单曲和与其关联的任何内容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隐藏来自Spotify的内容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏 Spotify 中的内容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 发行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 名称"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近发行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分类"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面贡献者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"编译支持来自于 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},history:{t:0,b:{t:2,i:[{t:3}],s:"历史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"浏览资料库添加曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清单是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新单集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清单"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表达式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前缀,则可以通过智能播放列表查询语言 "},{t:4,k:"help"},{t:3,v:" 进行搜索"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到结果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示专辑"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个专辑"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示艺人"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示有声书"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 本有声书"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示作曲家"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播放列表"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播客"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示曲目"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概览"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新发行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除历史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重复播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目仅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重复当前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目后退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目前进"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按顺序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏歌词"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"简单"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"评论"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"时长"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路径"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"总播放时长"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉丝数"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盘符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"质量"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"只曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"运行时长"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"请求失败 (状态:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自动"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"浅色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外观"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您还可以从以下素材提供者获取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对代码"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"远程配对请求来自于 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"验证码"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用户名和密码登录以启用记录功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授权 API 访问"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予对 Spotify API 的访问权限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"请重新授权 API 访问权限,以授予 OwnTone 以下附加访问权限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必须拥有 Spotify付费帐户。访问 Spotify API 可以扫描您的 Spotify库。所需范围是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予访问权限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在移动设备屏幕上,只显示汉堡菜单"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"仅显示列出的流派的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗号分隔的流派列表,必须显示作曲家所属的流派"},{t:5,i:0},{t:3,v:"留空以始终显示作曲家"},{t:5,i:0},{t:3,v:"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜索"}}}}}},{"zh-TW":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"新增"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"編輯"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隱藏歷史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部標記為已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"標記為最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"標記為已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新掃描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"儲存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"顯示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"驗證"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"新增一個可生成播放列表的Podcast RSS鏈接,這將允許OwnTone管理訂閱"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增Podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"載入中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名稱"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"儲存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"儲存播放清單到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast?"},{t:4,k:"separator"},{t:3,v:"(這也將移除該PodcastRSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對碼"}},title:{t:0,b:{t:2,i:[{t:3}],s:"請求遙控配對"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有內容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"僅更新RSS訂閱內容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"掃描新的、刪除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"僅更新本地資料庫"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地資料庫…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新掃描未修改文件的中繼資料"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"僅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定義"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德語 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英語 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法語 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"簡體中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast嗎?"},{t:4,k:"separator"},{t:3,v:"(這也將移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目無法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"關於"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"設定"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流錯誤:串流載入失敗或者由於網絡原因無法載入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隱藏單曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏單曲和與其關聯的任何內容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隱藏來自Spotify的內容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏 Spotify 中的內容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"篩選"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 發行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 名稱"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近發行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分類"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面貢獻者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"編譯支持來自於 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},history:{t:0,b:{t:2,i:[{t:3}],s:"歷史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"瀏覽資料庫新增曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清單是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新單集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清單"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"電台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表達式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前綴,則可以通過智能播放列表查詢語言 "},{t:4,k:"help"},{t:3,v:" 進行搜尋"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到結果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示專輯"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個專輯"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示藝人"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示有聲書"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 本有聲書"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示作曲家"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示播放列表"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示Podcast"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示曲目"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概覽"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新發行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除歷史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暫停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重復播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目僅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重復當前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目後退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目前進"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按順序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"顯示/隱藏歌詞"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"簡單"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"張專輯"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"評論"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"時長"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路徑"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"總播放時長"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉絲數"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盤符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"品質"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"類型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新於"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"運行時長"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"請求失敗 (狀態:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自動"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"淺色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外觀"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中,也可以通過電台在線提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您還可以從以下素材提供者獲取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對代碼"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"遠程配對請求來自於 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"驗證碼"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授權 API 訪問"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予對 Spotify API 的訪問權限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"請重新授權 API 訪問權限,以授予 OwnTone 以下附加訪問權限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必須擁有 Spotify付費帳戶。訪問 Spotify API 可以掃描您的 Spotify庫。所需範圍是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予訪問權限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在行動裝置螢幕上,只會顯示漢堡菜單"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"僅顯示列出的音樂類型的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型"},{t:5,i:0},{t:3,v:"留空以始終顯示作曲家"},{t:5,i:0},{t:3,v:"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}}}}}}),Gs=HO({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:JO,missingWarn:!1}),{t:QO}=Gs.global;ut.interceptors.response.use(t=>t.data,t=>(t.request.status&&t.request.responseURL&&ko().add({text:QO("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const ay="./api/pairing",wp={pair(t){return ut.post(ay,{pin:t})},state(){return ut.get(ay)}},kp=Ds("RemotesStore",{actions:{async initialise(){this.$state=await wp.state()}},state:()=>({active:!1,remote:""})}),tx={name:"ModalDialogRemotePairing",components:{ControlPinField:a0,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:kp()}},data(){return{disabled:!0,pin:""}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.pair,icon:"vector-link",key:"actions.pair"}]}},methods:{cancel(){this.$emit("close")},onPinChange(t,e){this.pin=t,this.disabled=e},pair(){wp.pair(this.pin).then(()=>{this.pin=""})}}},ex=["textContent"];function nx(t,e,n,s,i,r){const o=w("control-pin-field"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.remote-pairing.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...l)=>r.pair&&r.pair(...l),["prevent"]))},[P("label",{class:"label",textContent:et(s.remoteStore.remote)},null,8,ex),E(o,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onPinChange},null,8,["placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const sx=nt(tx,[["render",nx]]),ix={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},rx={class:"field mb-0 is-flex is-align-items-center"},ox={class:"toggle is-flex is-align-items-center"},ax={class:"control is-flex is-align-items-center"},lx=["checked"],cx={key:0,class:"help mb-4"};function ux(t,e,n,s,i,r){return O(),F(it,null,[P("div",rx,[P("label",ox,[P("div",ax,[P("input",{checked:n.modelValue,type:"checkbox",class:"toggle-checkbox is-hidden",onChange:e[0]||(e[0]=o=>t.$emit("update:modelValue",!n.modelValue))},null,40,lx),e[1]||(e[1]=P("div",{class:"toggle-switch"},null,-1))]),le(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(O(),F("div",cx,[le(t.$slots,"help",{},void 0,!0)])):_t("",!0)],64)}const Ur=nt(ix,[["render",ux],["__scopeId","data-v-f999a158"]]),Ge="./api/library",_s="./api/search",Tt={add(t){return ut.post(`${Ge}/add`,null,{params:{url:t}})},album(t){return ut.get(`${Ge}/albums/${t}`)},albumTracks(t,e={limit:-1,offset:0}){return ut.get(`${Ge}/albums/${t}/tracks`,{params:e})},albums(t){return ut.get(`${Ge}/albums`,{params:{media_kind:t}})},artist(t){return ut.get(`${Ge}/artists/${t}`)},artistAlbums(t){return ut.get(`${Ge}/artists/${t}/albums`)},async artistTracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},artists(t){return ut.get(`${Ge}/artists`,{params:{media_kind:t}})},composer(t){return ut.get(`${Ge}/composers/${encodeURIComponent(t)}`)},async composerAlbums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return(await ut.get(_s,{params:e})).albums},async composerTracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},composers(t){return ut.get(`${Ge}/composers`,{params:{media_kind:t}})},files(t){return ut.get(`${Ge}/files`,{params:{directory:t}})},async genre(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"genres"};return(await ut.get(_s,{params:n})).genres},async genreAlbums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return(await ut.get(_s,{params:n})).albums},async genreTracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return(await ut.get(_s,{params:n})).tracks},async genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return(await ut.get(_s,{params:e})).genres},async newPodcastEpisodes(){const t={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return(await ut.get(_s,{params:t})).tracks},playlist(t){return ut.get(`${Ge}/playlists/${t}`)},playlistDelete(t){return ut.delete(`${Ge}/playlists/${t}`)},playlistFolder(t=0){return ut.get(`${Ge}/playlists/${t}/playlists`)},playlistTracks(t){return ut.get(`${Ge}/playlists/${t}/tracks`)},async podcastEpisodes(t){const e={expression:`media_kind is podcast and songalbumid is "${t}" ORDER BY date_released DESC`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},async radioStreams(){const t={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return(await ut.get(_s,{params:t})).tracks},rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},rssCount(){return ut.get(`${Ge}/count`,{params:{expression:"scan_kind is rss"}})},search(t){return ut.get(_s,{params:t})},state(){return ut.get(Ge)},track(t){return ut.get(`${Ge}/tracks/${t}`)},trackPlaylists(t){return ut.get(`${Ge}/tracks/${t}/playlists`)},update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},updateAlbum(t,e){return ut.put(`${Ge}/albums/${t}/tracks`,null,{params:e})},updateTrack(t,e={}){return ut.put(`${Ge}/tracks/${t}`,null,{params:e})}},Gu=Ds("LibraryStore",{actions:{async initialise(){this.$state=await Tt.state()}},state:()=>({albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})});class We{api;constructor(e){this.api=e}async getRequest(e){return await this.api.makeRequest("GET",e)}async postRequest(e,n,s=void 0){return await this.api.makeRequest("POST",e,n,s)}async putRequest(e,n,s=void 0){return await this.api.makeRequest("PUT",e,n,s)}async deleteRequest(e,n){return await this.api.makeRequest("DELETE",e,n)}paramsFor(e){const n=new URLSearchParams;for(let s of Object.getOwnPropertyNames(e))(e[s]||e[s]===0||!e[s]&&typeof e[s]=="boolean")&&n.append(s,e[s].toString());return[...n].length>0?`?${n.toString()}`:""}}class dx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return await this.getRequest(`albums/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`albums${s}`)).albums}tracks(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`albums/${e}/tracks${r}`)}}class fx extends We{async get(e){if(typeof e=="string")return this.getRequest(`artists/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`artists${n}`)).artists}albums(e,n,s,i,r){const o=this.paramsFor({include_groups:n,market:s,limit:i,offset:r});return this.getRequest(`artists/${e}/albums${o}`)}topTracks(e,n){const s=this.paramsFor({market:n});return this.getRequest(`artists/${e}/top-tracks${s}`)}relatedArtists(e){return this.getRequest(`artists/${e}/related-artists`)}}class hx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`audiobooks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`audiobooks${s}`)).audiobooks}getAudiobookChapters(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`audiobooks/${e}/chapters${r}`)}}class px extends We{getCategories(e,n,s,i){const r=this.paramsFor({country:e,locale:n,limit:s,offset:i});return this.getRequest(`browse/categories${r}`)}getCategory(e,n,s){const i=this.paramsFor({country:n,locale:s});return this.getRequest(`browse/categories/${e}${i}`)}getNewReleases(e,n,s){const i=this.paramsFor({country:e,limit:n,offset:s});return this.getRequest(`browse/new-releases${i}`)}getFeaturedPlaylists(e,n,s,i,r){const o=this.paramsFor({country:e,locale:n,timestamp:s,limit:i,offset:r});return this.getRequest(`browse/featured-playlists${o}`)}getPlaylistsForCategory(e,n,s,i){const r=this.paramsFor({country:n,limit:s,offset:i});return this.getRequest(`browse/categories/${e}/playlists${r}`)}}class mx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`chapters/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`chapters${s}`)).chapters}}class gx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`episodes/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`episodes${s}`)).episodes}}class yx extends We{get(e){const n=this.paramsFor(e);return this.getRequest(`recommendations${n}`)}genreSeeds(){return this.getRequest("recommendations/available-genre-seeds")}}class bx extends We{getAvailableMarkets(){return this.getRequest("markets")}}class vx extends We{getPlaybackState(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player${s}`)}getAvailableDevices(){return this.getRequest("me/player/devices")}getCurrentlyPlayingTrack(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player/currently-playing${s}`)}getRecentlyPlayedTracks(e,n){const s={limit:e};n&&(n.type==="before"?s.before=n.timestamp:n.type==="after"&&(s.after=n.timestamp));const i=this.paramsFor(s);return this.getRequest(`me/player/recently-played${i}`)}getUsersQueue(){return this.getRequest("me/player/queue")}async transferPlayback(e,n){if(e.length>1)throw new Error("Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return 400 Bad Request");await this.putRequest("me/player",{device_ids:e,play:n})}async startResumePlayback(e,n,s,i,r){const o=this.paramsFor({device_id:e});await this.putRequest(`me/player/play${o}`,{context_uri:n,uris:s,offset:i,positionMs:r})}async pausePlayback(e){const n=this.paramsFor({device_id:e});await this.putRequest(`me/player/pause${n}`)}async skipToNext(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/next${n}`)}async skipToPrevious(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/previous${n}`)}async seekToPosition(e,n){const s=this.paramsFor({position_ms:e,device_id:n});await this.putRequest(`me/player/seek${s}`)}async setRepeatMode(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/repeat${s}`)}async setPlaybackVolume(e,n){const s=this.paramsFor({volume_percent:e,device_id:n});await this.putRequest(`me/player/volume${s}`)}async togglePlaybackShuffle(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/shuffle${s}`)}async addItemToPlaybackQueue(e,n){const s=this.paramsFor({uri:e,device_id:n});await this.postRequest(`me/player/queue${s}`)}}class _x extends We{getPlaylist(e,n,s,i){const r=this.paramsFor({market:n,fields:s,additional_types:i?.join(",")});return this.getRequest(`playlists/${e}${r}`)}getPlaylistItems(e,n,s,i,r,o){const a=this.paramsFor({market:n,fields:s,limit:i,offset:r,additional_types:o?.join(",")});return this.getRequest(`playlists/${e}/tracks${a}`)}async changePlaylistDetails(e,n){await this.putRequest(`playlists/${e}`,n)}movePlaylistItems(e,n,s,i){return this.updatePlaylistItems(e,{range_start:n,range_length:s,insert_before:i})}updatePlaylistItems(e,n){return this.putRequest(`playlists/${e}/tracks`,n)}async addItemsToPlaylist(e,n,s){await this.postRequest(`playlists/${e}/tracks`,{position:s,uris:n})}async removeItemsFromPlaylist(e,n){await this.deleteRequest(`playlists/${e}/tracks`,n)}getUsersPlaylists(e,n,s){const i=this.paramsFor({limit:n,offset:s});return this.getRequest(`users/${e}/playlists${i}`)}createPlaylist(e,n){return this.postRequest(`users/${e}/playlists`,n)}getPlaylistCoverImage(e){return this.getRequest(`playlists/${e}/images`)}async addCustomPlaylistCoverImage(e,n){let s="";if(n instanceof Buffer)s=n.toString("base64");else if(n instanceof HTMLCanvasElement)s=n.toDataURL("image/jpeg").split(";base64,")[1];else if(n instanceof HTMLImageElement){const i=document.createElement("canvas");i.width=n.width,i.height=n.height;const r=i.getContext("2d");if(!r)throw new Error("Could not get canvas context");r.drawImage(n,0,0),s=i.toDataURL("image/jpeg").split(";base64,")[1]}else if(typeof n=="string")s=n;else throw new Error("ImageData must be a Buffer, HTMLImageElement, HTMLCanvasElement, or string containing a base64 encoded jpeg");await this.addCustomPlaylistCoverImageFromBase64String(e,s)}async addCustomPlaylistCoverImageFromBase64String(e,n){await this.putRequest(`playlists/${e}/images`,n,"image/jpeg")}}class Sx extends We{async execute(e,n,s,i,r,o){const a=this.paramsFor({q:e,type:n,market:s,limit:i,offset:r,include_external:o});return await this.getRequest(`search${a}`)}}class Ex extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`shows/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`shows${s}`)).shows}episodes(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`shows/${e}/episodes${r}`)}}class wx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`tracks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`tracks${s}`)).tracks}async audioFeatures(e){if(typeof e=="string")return this.getRequest(`audio-features/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`audio-features${n}`)).audio_features}audioAnalysis(e){return this.getRequest(`audio-analysis/${e}`)}}const Cp={access_token:"emptyAccessToken",token_type:"",expires_in:0,refresh_token:"",expires:-1};function la(t){return t===Cp}class kx extends We{profile(e){return this.getRequest(`users/${e}`)}}class Cx extends We{albums;audiobooks;episodes;playlists;shows;tracks;constructor(e){super(e),this.albums=new Tx(e),this.audiobooks=new Ax(e),this.episodes=new Ox(e),this.playlists=new xx(e),this.shows=new Ix(e),this.tracks=new Nx(e)}profile(){return this.getRequest("me")}topItems(e,n,s,i){const r=this.paramsFor({time_range:n,limit:s,offset:i});return this.getRequest(`me/top/${e}${r}`)}followedArtists(e,n){const s=this.paramsFor({type:"artist",after:e,limit:n});return this.getRequest(`me/following${s}`)}async followArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.putRequest(`me/following${s}`,{ids:e})}async unfollowArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.deleteRequest(`me/following${s}`,{ids:e})}followsArtistsOrUsers(e,n){const s=this.paramsFor({ids:e,type:n});return this.getRequest(`me/following/contains${s}`)}}class Tx extends We{savedAlbums(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/albums${i}`)}async saveAlbums(e){await this.putRequest("me/albums",e)}async removeSavedAlbums(e){await this.deleteRequest("me/albums",e)}hasSavedAlbums(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/albums/contains${n}`)}}class Ax extends We{savedAudiobooks(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/audiobooks${s}`)}async saveAudiobooks(e){await this.putRequest("me/audiobooks",e)}async removeSavedAudiobooks(e){await this.deleteRequest("me/audiobooks",e)}hasSavedAudiobooks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/audiobooks/contains${n}`)}}class Ox extends We{savedEpisodes(e,n,s){const i=this.paramsFor({market:e,limit:n,offset:s});return this.getRequest(`me/episodes${i}`)}async saveEpisodes(e){await this.putRequest("me/episodes",e)}async removeSavedEpisodes(e){await this.deleteRequest("me/episodes",e)}hasSavedEpisodes(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/episodes/contains${n}`)}}class xx extends We{playlists(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/playlists${s}`)}async follow(e){await this.putRequest(`playlists/${e}/followers`)}async unfollow(e){await this.deleteRequest(`playlists/${e}/followers`)}isFollowing(e,n){const s=this.paramsFor({ids:n});return this.getRequest(`playlists/${e}/followers/contains${s}`)}}class Ix extends We{savedShows(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/shows${s}`)}saveShows(e){const n=this.paramsFor({ids:e});return this.putRequest(`me/shows${n}`)}removeSavedShows(e,n){const s=this.paramsFor({ids:e,market:n});return this.deleteRequest(`me/shows${s}`)}hasSavedShow(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/shows/contains${n}`)}}class Nx extends We{savedTracks(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/tracks${i}`)}async saveTracks(e){await this.putRequest("me/tracks",e)}async removeSavedTracks(e){await this.deleteRequest("me/tracks",e)}hasSavedTracks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/tracks/contains${n}`)}}class Px{static get current(){return this.hasSubtleCrypto?window.crypto:this.tryLoadNodeWebCrypto()}static get hasSubtleCrypto(){return typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.subtle<"u"}static tryLoadNodeWebCrypto(){try{const{webcrypto:e}=require("crypto");return e}catch(e){throw e}}}class zn{static async refreshCachedAccessToken(e,n){const s=await zn.refreshToken(e,n.refresh_token);return zn.toCachable(s)}static toCachable(e){return e.expires&&e.expires===-1?e:{...e,expires:this.calculateExpiry(e)}}static calculateExpiry(e){return Date.now()+e.expires_in*1e3}static async refreshToken(e,n){const s=new URLSearchParams;s.append("client_id",e),s.append("grant_type","refresh_token"),s.append("refresh_token",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to refresh token: ${i.statusText}, ${r}`);return JSON.parse(r)}static generateCodeVerifier(e){let n="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i{const n=await this.getTokenFromApi();return zn.toCachable(n)},async n=>{const s=await this.getTokenFromApi();return zn.toCachable(s)})}async getAccessToken(){return await this.cache.get(ka.cacheKey)}removeAccessToken(){this.cache.remove(ka.cacheKey)}async getTokenFromApi(){const e={grant_type:"client_credentials",scope:this.scopes.join(" ")},n=Object.keys(e).map(l=>l+"="+e[l]).join("&"),s=typeof Buffer<"u",i=`${this.clientId}:${this.clientSecret}`,r=s?Buffer.from(i).toString("base64"):btoa(i),o=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Basic ${r}`},body:n});if(o.status!==200)throw new Error("Failed to get access token.");return await o.json()}}class Ca{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:ImplicitGrantStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(Ca.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(Ca.cacheKey)}removeAccessToken(){this.cache.remove(Ca.cacheKey)}async redirectOrVerifyToken(){const e=new URLSearchParams(window.location.hash.substring(1)),n=e.get("access_token");if(n)return Promise.resolve({access_token:n,token_type:e.get("token_type")??"",expires_in:parseInt(e.get("expires_in")??"0"),refresh_token:e.get("refresh_token")??"",expires:Number(e.get("expires"))||0});var i=(this.scopes??[]).join(" ");const r=new URLSearchParams;r.append("client_id",this.clientId),r.append("response_type","token"),r.append("redirect_uri",this.redirectUri),r.append("scope",i);const o="https://accounts.spotify.com/authorize?"+r.toString();return this.configuration.redirectionStrategy.redirect(o),Cp}}class go{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:AuthorizationCodeWithPKCEStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(go.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(go.cacheKey)}removeAccessToken(){this.cache.remove(go.cacheKey)}async redirectOrVerifyToken(){const n=new URLSearchParams(window.location.search).get("code");if(n){const s=await this.verifyAndExchangeCode(n);return this.removeCodeFromUrl(),s}return this.redirectToSpotify(),Cp}async redirectToSpotify(){const e=zn.generateCodeVerifier(128),n=await zn.generateCodeChallenge(e),s={verifier:e,expiresOnAccess:!0};this.cache.setCacheItem("spotify-sdk:verifier",s);const i=await this.generateRedirectUrlForUser(this.scopes,n);await this.configuration.redirectionStrategy.redirect(i)}async verifyAndExchangeCode(e){const s=(await this.cache.get("spotify-sdk:verifier"))?.verifier;if(!s)throw new Error("No verifier found in cache - can't validate query string callback parameters.");return await this.configuration.redirectionStrategy.onReturnFromRedirect(),await this.exchangeCodeForToken(e,s)}removeCodeFromUrl(){const e=new URL(window.location.href);e.searchParams.delete("code");const n=e.search?e.href:e.href.replace("?","");window.history.replaceState({},document.title,n)}async generateRedirectUrlForUser(e,n){const s=e.join(" "),i=new URLSearchParams;return i.append("client_id",this.clientId),i.append("response_type","code"),i.append("redirect_uri",this.redirectUri),i.append("scope",s),i.append("code_challenge_method","S256"),i.append("code_challenge",n),`https://accounts.spotify.com/authorize?${i.toString()}`}async exchangeCodeForToken(e,n){const s=new URLSearchParams;s.append("client_id",this.clientId),s.append("grant_type","authorization_code"),s.append("code",e),s.append("redirect_uri",this.redirectUri),s.append("code_verifier",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to exchange code for token: ${i.statusText}, ${r}`);return JSON.parse(r)}}class Rx{async deserialize(e){const n=await e.text();return n.length>0?JSON.parse(n):null}}class Dx{async validateResponse(e){switch(e.status){case 401:throw new Error("Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.");case 403:const n=await e.text();throw new Error(`Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here. Body: ${n}`);case 429:throw new Error("The app has exceeded its rate limits.");default:if(!e.status.toString().startsWith("20")){const s=await e.text();throw new Error(`Unrecognised response code: ${e.status} - ${e.statusText}. Body: ${s}`)}}}}class Lx{async handleErrors(e){return!1}}class Mx{async redirect(e){document.location=e.toString()}async onReturnFromRedirect(){}}class i_{storage;updateFunctions;autoRenewInterval;autoRenewWindow;constructor(e,n=new Map,s=0,i=120*1e3){this.storage=e,this.updateFunctions=n,this.autoRenewInterval=s,this.autoRenewWindow=i,this.autoRenewInterval>0&&setInterval(()=>this.autoRenewRenewableItems(),this.autoRenewInterval)}async getOrCreate(e,n,s){s&&this.updateFunctions.set(e,s);const i=await this.get(e);if(i)return i;const r=await n();if(!r)throw new Error("Could not create cache item");return la(r)||this.setCacheItem(e,r),r}async get(e){let n=this.storage.get(e),s=n?JSON.parse(n):null;if(this.itemDueToExpire(s)&&this.updateFunctions.has(e)){const i=this.updateFunctions.get(e);await this.tryUpdateItem(e,s,i),n=this.storage.get(e),s=n?JSON.parse(n):null}return s?s.expires&&(s.expires===-1||s.expires<=Date.now())?(this.remove(e),null):(s.expiresOnAccess&&s.expiresOnAccess===!0&&this.remove(e),s):null}set(e,n,s){const i=Date.now()+s,r={...n,expires:i};this.setCacheItem(e,r)}setCacheItem(e,n){const s=JSON.stringify(n);this.storage.set(e,s)}remove(e){this.storage.remove(e)}itemDueToExpire(e){return!e||!e.expires?!1:e.expires-Date.now(){const s=await this.get(n);s&&e&&this.itemDueToExpire(s)&&await this.tryUpdateItem(n,s,e)})}async tryUpdateItem(e,n,s){try{const i=await s(n);i&&this.setCacheItem(e,i)}catch(i){console.error(i)}}}class $x extends i_{constructor(){super(new Fx)}}class Fx{get(e){return localStorage.getItem(e)}set(e,n){localStorage.setItem(e,n)}remove(e){localStorage.removeItem(e)}}class Vx extends i_{constructor(){super(new Ux)}}class Ux{cache=new Map;get(e){return this.cache.get(e)??null}set(e,n){this.cache.set(e,n)}remove(e){this.cache.delete(e)}}class Hx{clientId;accessToken;refreshTokenAction;constructor(e,n,s){this.clientId=e,this.accessToken=n,this.refreshTokenAction=s||zn.refreshCachedAccessToken,this.accessToken.expires||(this.accessToken.expires=zn.calculateExpiry(this.accessToken))}setConfiguration(e){}async getOrCreateAccessToken(){if(this.accessToken.expires&&this.accessToken.expires<=Date.now()){const e=await this.refreshTokenAction(this.clientId,this.accessToken);this.accessToken=e}return this.accessToken}async getAccessToken(){return this.accessToken}removeAccessToken(){this.accessToken={access_token:"",token_type:"",expires_in:0,refresh_token:"",expires:0}}}class ji{sdkConfig;static rootUrl="https://api.spotify.com/v1/";authenticationStrategy;albums;artists;audiobooks;browse;chapters;episodes;recommendations;markets;player;playlists;shows;tracks;users;search;currentUser;constructor(e,n){this.sdkConfig=this.initializeSdk(n),this.albums=new dx(this),this.artists=new fx(this),this.audiobooks=new hx(this),this.browse=new px(this),this.chapters=new mx(this),this.episodes=new gx(this),this.recommendations=new yx(this),this.markets=new bx(this),this.player=new vx(this),this.playlists=new _x(this),this.shows=new Ex(this),this.tracks=new wx(this),this.users=new kx(this),this.currentUser=new Cx(this);const s=new Sx(this);this.search=s.execute.bind(s),this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig)}async makeRequest(e,n,s=void 0,i=void 0){try{const r=await this.authenticationStrategy.getOrCreateAccessToken();if(la(r))return console.warn("No access token found, authenticating now."),null;const o=r?.access_token,a=ji.rootUrl+n,l={method:e,headers:{Authorization:`Bearer ${o}`,"Content-Type":i??"application/json"},body:s?typeof s=="string"?s:JSON.stringify(s):void 0};this.sdkConfig.beforeRequest(a,l);const c=await this.sdkConfig.fetch(a,l);return this.sdkConfig.afterRequest(a,l,c),c.status===204?null:(await this.sdkConfig.responseValidator.validateResponse(c),this.sdkConfig.deserializer.deserialize(c))}catch(r){if(!await this.sdkConfig.errorHandler.handleErrors(r))throw r;return null}}initializeSdk(e){const n=typeof window<"u";return{...{fetch:(i,r)=>fetch(i,r),beforeRequest:(i,r)=>{},afterRequest:(i,r,o)=>{},deserializer:new Rx,responseValidator:new Dx,errorHandler:new Lx,redirectionStrategy:new Mx,cachingStrategy:n?new $x:new Vx},...e}}switchAuthenticationStrategy(e){this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig),this.authenticationStrategy.getOrCreateAccessToken()}async authenticate(){const e=await this.authenticationStrategy.getOrCreateAccessToken();return{authenticated:e.expires>Date.now()&&!la(e),accessToken:e}}async getAccessToken(){return this.authenticationStrategy.getAccessToken()}logOut(){this.authenticationStrategy.removeAccessToken()}static withUserAuthorization(e,n,s=[],i){const r=new go(e,n,s);return new ji(r,i)}static withClientCredentials(e,n,s=[],i){const r=new ka(e,n,s);return new ji(r,i)}static withImplicitGrant(e,n,s=[],i){const r=new Ca(e,n,s);return new ji(r,i)}static withAccessToken(e,n,s){const i=new Hx(e,n);return new ji(i,s)}static async performUserAuthorization(e,n,s,i,r){const o=new go(e,n,s),l=await new ji(o,r).authenticationStrategy.getOrCreateAccessToken();return la(l)||(typeof i=="string"?(console.log("Posting access token to postback URL."),await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})):await i(l)),{authenticated:l.expires>Date.now()&&!la(l),accessToken:l}}}const Nn={lastfm(){return ut.get("./api/lastfm")},loginLastfm(t){return ut.post("./api/lastfm-login",t)},logoutLastfm(){return ut.get("./api/lastfm-logout")},logoutSpotify(){return ut.get("./api/spotify-logout")},spotify(){return ut.get("./api/spotify").then(t=>({api:ji.withAccessToken(t.webapi_client_id,{access_token:t.webapi_token}),configuration:t}))}},Qn=Ds("ServicesStore",{actions:{async initialiseLastfm(){this.lastfm=await Nn.lastfm()},initialiseSpotify(){Nn.spotify().then(({configuration:t})=>{this.spotify=t})}},getters:{grantedSpotifyScopes:t=>t.spotify.webapi_granted_scope?.split(" ")??[],hasMissingSpotifyScopes:t=>t.missingSpotifyScopes.length>0,isAuthorizationRequired:t=>!t.isSpotifyActive||t.hasMissingSpotifyScopes,isLastfmActive:t=>t.lastfm.scrobbling_enabled,isLastfmEnabled:t=>t.lastfm.enabled,isSpotifyActive:t=>t.spotify.webapi_token_valid,isSpotifyEnabled:t=>t.spotify.spotify_installed,missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>t.spotify.webapi_required_scope?.split(" ")??[]},state:()=>({lastfm:{},spotify:{}})}),jx={name:"ModalDialogUpdate",components:{ControlSwitch:Ur,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Gu(),servicesStore:Qn()}},data(){return{rescanMetadata:!1}},computed:{actions(){const t=[{handler:this.cancel,icon:"cancel",key:"actions.cancel"}];return this.libraryStore.updating||t.push({handler:this.analyse,icon:"check",key:"actions.rescan"}),t}},methods:{analyse(){this.rescanMetadata?Tt.rescan(this.libraryStore.update_dialog_scan_kind):Tt.update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},Bx={key:0},Wx={key:0,class:"field"},Gx=["textContent"],Kx={class:"control"},qx={class:"select is-small"},zx=["textContent"],Xx=["textContent"],Yx=["textContent"],Zx=["textContent"],Jx=["textContent"],Qx={key:1},tI=["textContent"];function eI(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.update.title"),onClose:e[2]||(e[2]=l=>t.$emit("close"))},{content:M(()=>[s.libraryStore.updating?(O(),F("div",Qx,[P("div",{class:"mb-3",textContent:et(t.$t("dialog.update.progress"))},null,8,tI)])):(O(),F("div",Bx,[s.servicesStore.isSpotifyActive?(O(),F("div",Wx,[P("label",{class:"label",textContent:et(t.$t("dialog.update.info"))},null,8,Gx),P("div",Kx,[P("div",qx,[ms(P("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[P("option",{value:"",textContent:et(t.$t("dialog.update.all"))},null,8,zx),P("option",{value:"files",textContent:et(t.$t("dialog.update.local"))},null,8,Xx),s.servicesStore.isSpotifyActive?(O(),F("option",{key:0,value:"spotify",textContent:et(t.$t("dialog.update.spotify"))},null,8,Yx)):_t("",!0),P("option",{value:"rss",textContent:et(t.$t("dialog.update.feeds"))},null,8,Zx)],512),[[up,s.libraryStore.update_dialog_scan_kind]])])])])):_t("",!0),E(o,{modelValue:i.rescanMetadata,"onUpdate:modelValue":e[1]||(e[1]=l=>i.rescanMetadata=l)},{label:M(()=>[P("span",{textContent:et(t.$t("dialog.update.rescan-metadata"))},null,8,Jx)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const nI=nt(jx,[["render",eI]]),ts=Ds("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu}},state:()=>({albumsSort:1,artistAlbumsSort:1,artistTracksSort:1,artistsSort:1,composerTracksSort:1,genreTracksSort:1,hideReadItems:!1,hideSingles:!1,hideSpotify:!1,showBurgerMenu:!1,showPlayerMenu:!1,showUpdateDialog:!1})}),sI={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:ts()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},iI=["href"];function rI(t,e,n,s,i,r){return O(),F("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=Bn((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[le(t.$slots,"default")],8,iI)}const r_=nt(sI,[["render",rI]]),Tp={name:"ControlSlider",props:{disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},ly=()=>{ap(t=>({"71a992eb":t.ratio}))},cy=Tp.setup;Tp.setup=cy?(t,e)=>(ly(),cy(t,e)):ly;const oI=["value","disabled","max"];function aI(t,e,n,s,i,r){return O(),F("input",{value:n.value,disabled:n.disabled,class:Gt(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",onInput:e[0]||(e[0]=o=>t.$emit("update:value",o.target.valueAsNumber))},null,42,oI)}const Ku=nt(Tp,[["render",aI],["__scopeId","data-v-460ca666"]]),ss="./api/player",en={consume(t){return ut.put(`${ss}/consume`,null,{params:{state:t}})},next(){return ut.put(`${ss}/next`)},pause(){return ut.put(`${ss}/pause`)},play(t={}){return ut.put(`${ss}/play`,null,{params:t})},previous(){return ut.put(`${ss}/previous`)},repeat(t){return ut.put(`${ss}/repeat`,null,{params:{state:t}})},seek(t){return ut.put(`${ss}/seek`,null,{params:{seek_ms:t}})},seekToPosition(t){return ut.put(`${ss}/seek`,null,{params:{position_ms:t}})},setVolume(t,e=null){const n={volume:t,...e!==null&&{output_id:e}};return ut.put(`${ss}/volume`,null,{params:n})},shuffle(t){return ut.put(`${ss}/shuffle`,null,{params:{state:t}})},state(){return ut.get(ss)},stop(){return ut.put(`${ss}/stop`)}},{t:uy}=Gs.global,Ni="./api/queue",ae={async add(t,e=!1){if(e){const{current:s}=Ms();s?.id&&(t.position=s.position+1)}const n=await ut.post(`${Ni}/items/add`,null,{params:t});return ko().add({text:uy("server.appended-tracks",{count:n.count}),timeout:2e3,type:"info"}),n},addExpression(t,e=!1){return this.add({expression:t},e)},addUri(t,e=!1){return this.add({uris:t},e)},clear(){return ut.put(`${Ni}/clear`)},move(t,e){return ut.put(`${Ni}/items/${t}`,null,{params:{new_position:e}})},playExpression(t,e,n){const s={clear:"true",expression:t,playback:"start",playback_from_position:n,shuffle:e};return ut.post(`${Ni}/items/add`,null,{params:s})},playUri(t,e,n){const s={clear:"true",playback:"start",playback_from_position:n,shuffle:e,uris:t};return ut.post(`${Ni}/items/add`,null,{params:s})},remove(t){return ut.delete(`${Ni}/items/${t}`)},async saveToPlaylist(t){const{data:e}=await ut.post(`${Ni}/save`,null,{params:{name:t}});return ko().add({text:uy("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),e},state(){return ut.get(Ni)}},lI={state(){return ut.get("./api/config")}},jo=Ds("ConfigurationStore",{actions:{async initialise(){this.$state=await lI.state()}},state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",directories:[],hide_singles:!1,library_name:"",radio_playlists:!1,version:"",websocket_port:0})}),Ms=Ds("QueueStore",{actions:{async initialise(){this.$state=await ae.state()}},getters:{current(t){const e=Wn();return e.initialise(),t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.count===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(){const t=jo();return t.allow_modifying_stored_playlists&&t.default_playlist_directory}},state:()=>({count:0,items:[],version:0})}),Wn=Ds("PlayerStore",{actions:{async initialise(){this.$state=await en.state();const t=Ms();t.current.track_id&&Tt.track(t.current.track_id).then(e=>{this.lyricsContent=e.lyrics||""})}},getters:{isMuted:t=>t.volume===0,isPlaying:t=>t.state==="play",isRepeatAll:t=>t.repeat==="all",isRepeatOff:t=>t.repeat==="off",isRepeatSingle:t=>t.repeat==="single",isStopped:t=>t.state==="stop"},state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,lyricsContent:"",repeat:"off",showLyrics:!1,shuffle:!1,state:"stop",volume:0})}),cI={name:"ControlVolume",components:{ControlSlider:Ku},setup(){return{playerStore:Wn()}},data(){return{volume:0}},computed:{icon(){return this.playerStore.isMuted?"volume-off":"volume-high"}},watch:{"playerStore.volume"(){this.playerStore.isMuted||(this.volume=this.playerStore.volume)}},methods:{changeVolume(){en.setVolume(this.playerStore.volume)},toggle(){this.playerStore.isMuted?this.playerStore.volume=this.volume:this.playerStore.volume=0,this.changeVolume()}}},uI={class:"media is-align-items-center mb-0"},dI={class:"media-left"},fI={class:"media-content"},hI=["textContent"];function pI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",uI,[P("div",dI,[P("button",{class:"button is-small",onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon},null,8,["name"])])]),P("div",fI,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.volume"))},null,8,hI),E(a,{value:s.playerStore.volume,"onUpdate:value":e[1]||(e[1]=l=>s.playerStore.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const mI=nt(cI,[["render",pI]]),zd="./api/outputs",Yc={state(){return ut.get(zd)},toggle(t){return ut.put(`${zd}/${t}/toggle`)},update(t,e){return ut.put(`${zd}/${t}`,e)}},gI={name:"ControlOutputVolume",components:{ControlSlider:Ku},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.volume}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){en.setVolume(this.volume,this.output.id)},toggle(){Yc.update(this.output.id,{selected:!this.output.selected})}}},yI={class:"media is-align-items-center mb-0"},bI={class:"media-left"},vI={class:"media-content"},_I=["textContent"];function SI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",yI,[P("div",bI,[P("button",{class:Gt(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon,title:n.output.type},null,8,["name","title"])],2)]),P("div",vI,[P("div",{class:Gt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:et(n.output.name)},null,10,_I),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!n.output.selected,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const EI=nt(gI,[["render",SI]]),wI={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset*-1)}}},kI=["disabled"];function CI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"rewind-10",title:t.$t("player.button.seek-backward")},null,8,["title"])],8,kI)):_t("",!0)}const TI=nt(wI,[["render",CI]]),AI={name:"ControlPlayerConsume",setup(){return{playerStore:Wn()}},methods:{toggle(){en.consume(!this.playerStore.consume)}}};function OI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.consume}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:"fire",size:"16",title:t.$t("player.button.consume")},null,8,["title"])],2)}const xI=nt(AI,[["render",OI]]),II={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset)}}},NI=["disabled"];function PI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"fast-forward-30",title:t.$t("player.button.seek-forward")},null,8,["title"])],8,NI)):_t("",!0)}const RI=nt(II,[["render",PI]]),DI={name:"ControlPlayerLyrics",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.showLyrics?"script-text-play":"script-text-outline"}},methods:{toggle(){this.playerStore.showLyrics=!this.playerStore.showLyrics}}};function LI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.showLyrics}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const MI=nt(DI,[["render",LI]]),$I={name:"ControlPlayerNext",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{next(){en.next()}}},FI=["disabled"];function VI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.next&&r.next(...a))},[E(o,{class:"icon",name:"skip-forward",title:t.$t("player.button.skip-forward")},null,8,["title"])],8,FI)}const UI=nt($I,[["render",VI]]),HI={name:"ControlPlayerPlay",setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?en.pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?en.stop():en.play()}}},jI=["disabled"];function BI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],8,jI)}const WI=nt(HI,[["render",BI]]),GI={name:"ControlPlayerPrevious",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{previous(){en.previous()}}},KI=["disabled"];function qI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.previous&&r.previous(...a))},[E(o,{class:"icon",name:"skip-backward",title:t.$t("player.button.skip-backward")},null,8,["title"])],8,KI)}const zI=nt(GI,[["render",qI]]),XI={name:"ControlPlayerRepeat",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.isRepeatAll?"repeat":this.playerStore.isRepeatSingle?"repeat-once":"repeat-off"}},methods:{toggle(){this.playerStore.isRepeatAll?en.repeat("single"):this.playerStore.isRepeatSingle?en.repeat("off"):en.repeat("all")}}};function YI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":!s.playerStore.isRepeatOff}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const ZI=nt(XI,[["render",YI]]),JI={name:"ControlPlayerShuffle",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){en.shuffle(!this.playerStore.shuffle)}}};function QI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.shuffle}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const tN=nt(JI,[["render",QI]]),Hl={audio:null,play(t){this.audio=new Audio(`${String(t||"")}?x=${Date.now()}`),this.audio.crossOrigin="anonymous";const e=new(window.AudioContext||window.webkitAudioContext);e.createMediaElementSource(this.audio).connect(e.destination),this.audio.addEventListener("canplay",()=>{e.resume().then(()=>{this.audio.play()})}),this.audio.load()},setVolume(t){this.audio&&(this.audio.volume=Math.max(0,Math.min(1,Number(t)||0)))},stop(){try{this.audio?.pause()}catch{}}},eN={name:"ControlStreamVolume",components:{ControlSlider:Ku},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},unmounted(){this.closeAudio()},methods:{changeVolume(){Hl.setVolume(this.volume/100)},closeAudio(){Hl.stop(),this.playing=!1,this.loading=!1},playChannel(){this.loading=!0,Hl.play("/stream.mp3"),this.changeVolume();const t=Hl.audio;t&&(t.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),t.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),t.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),t.addEventListener("error",()=>{this.closeAudio()}))},togglePlay(){this.playing||this.loading?this.closeAudio():this.playChannel()}}},nN={class:"media is-align-items-center mb-0"},sN={class:"media-left"},iN={class:"media-content is-align-items-center"},rN=["textContent"],oN={href:"stream.mp3",class:"ml-2",target:"_blank"};function aN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",nN,[P("div",sN,[P("button",{class:Gt(["button is-small",{"has-text-grey-light":!i.playing&&!i.loading,"is-loading":i.loading}]),onClick:e[0]||(e[0]=(...l)=>r.togglePlay&&r.togglePlay(...l))},[E(o,{class:"icon",name:"broadcast"})],2)]),P("div",iN,[P("div",{class:Gt(["is-flex",{"has-text-grey-light":!i.playing}])},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.stream"))},null,8,rN),P("a",oN,[E(o,{class:"icon is-small",name:"open-in-new"})])],2),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!i.playing,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const lN=nt(eN,[["render",aN]]),Ap=Ds("OutputsStore",{actions:{async initialise(){this.$state=await Yc.state()}},state:()=>({outputs:[]})}),cN={name:"NavbarBottom",components:{ControlLink:r_,ControlMainVolume:mI,ControlOutputVolume:EI,ControlPlayerBack:TI,ControlPlayerConsume:xI,ControlPlayerForward:RI,ControlPlayerLyrics:MI,ControlPlayerNext:UI,ControlPlayerPlay:WI,ControlPlayerPrevious:zI,ControlPlayerRepeat:ZI,ControlPlayerShuffle:tN,ControlStreamVolume:lN},setup(){return{notificationsStore:ko(),outputsStore:Ap(),queueStore:Ms(),uiStore:ts()}},computed:{isPlayerPage(){return this.$route.name==="player"},metadata(){const{current:t}=this.queueStore;return[t.artist,t.album].filter(Boolean).join(" - ")}}},uN={class:"navbar-brand is-flex-grow-1"},dN={class:"is-text-clipped"},fN=["textContent"],hN=["textContent"],pN={class:"dropdown-menu is-mobile"},mN={class:"dropdown-content"},gN={class:"dropdown-item pt-0"},yN={class:"dropdown-item is-flex is-justify-content-center"},bN={class:"buttons has-addons"};function vN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link"),l=w("control-player-previous"),c=w("control-player-back"),u=w("control-player-play"),d=w("control-player-forward"),f=w("control-player-next"),h=w("control-main-volume"),p=w("control-output-volume"),m=w("control-stream-volume"),_=w("control-player-repeat"),y=w("control-player-shuffle"),v=w("control-player-consume"),g=w("control-player-lyrics");return O(),F("nav",{class:Gt(["navbar is-fixed-bottom",{"is-bottom":!r.isPlayerPage}])},[P("div",uN,[E(a,{class:"navbar-item",to:{name:"queue"}},{default:M(()=>[E(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isPlayerPage?(O(),F(it,{key:0},[E(l,{class:"navbar-item ml-auto"}),E(c,{class:"navbar-item",offset:1e4}),E(u,{class:"navbar-item"}),E(d,{class:"navbar-item",offset:3e4}),E(f,{class:"navbar-item mr-auto"})],64)):(O(),F(it,{key:1},[E(a,{to:{name:"player"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:M(()=>[P("div",dN,[P("strong",{textContent:et(s.queueStore.current.title)},null,8,fN),e[1]||(e[1]=P("br",null,null,-1)),P("span",{textContent:et(r.metadata)},null,8,hN)])]),_:1}),E(u,{class:"navbar-item"})],64)),P("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...b)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...b))},[E(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),P("div",{class:Gt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[P("div",pN,[P("div",mN,[P("div",gN,[E(h),(O(!0),F(it,null,de(s.outputsStore.outputs,b=>(O(),yt(p,{key:b.id,output:b},null,8,["output"]))),128)),E(m)]),e[2]||(e[2]=P("hr",{class:"dropdown-divider"},null,-1)),P("div",yN,[P("div",bN,[E(_,{class:"button"}),E(y,{class:"button"}),E(v,{class:"button"}),E(g,{class:"button"})])])])])],2)])],2)}const _N=nt(cN,[["render",vN],["__scopeId","data-v-77d048ef"]]),qu=Ds("SearchStore",{actions:{add(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1),this.history.unshift(t),this.history.length>5&&this.history.pop()},remove(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1)}},state:()=>({history:[],query:"",source:"search-library"})}),dy="./api/settings",o_={state(){return ut.get(dy)},update(t){return ut.put(`${dy}/${t.category}/${t.name}`,t)}},{t:jl,availableLocales:fy}=Gs.global,Js=Ds("SettingsStore",{actions:{currentAppearance(){return this.$state.appearance},currentLocale(){const t=fy;let e=t.find(s=>s===Gs.global.locale.value);const[n]=Gs.global.locale.value.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.find(s=>s.split("-")[0]===n)),e||(e=Gs.global.fallbackLocale),e},get(t,e){return this.categories.find(n=>n.name===t)?.options.find(n=>n.name===e)??{}},async initialise(){this.$state=await o_.state()},setAppearance(t){this.$state.appearance=t;const e=document.documentElement;t==="auto"?e.removeAttribute("data-theme"):e.setAttribute("data-theme",t)},setLocale(t){Gs.global.locale.value=t},update(t){const e=this.categories.find(s=>s.name===t.category);if(!e)return;const n=e.options.find(s=>s.name===t.name);n&&(n.value=t.value)}},getters:{appearances(){return[{id:"auto",name:jl("settings.appearance.auto")},{id:"light",name:jl("settings.appearance.light")},{id:"dark",name:jl("settings.appearance.dark")}]},locales(){return fy.map(t=>({id:t,name:jl(`language.${t}`)}))},recentlyAddedLimit:t=>t.get("webinterface","recently_added_limit")?.value??100,showComposerForGenre:t=>t.get("webinterface","show_composer_for_genre")?.value??null,showComposerNowPlaying:t=>t.get("webinterface","show_composer_now_playing")?.value??!1,showCoverArtworkInAlbumLists:t=>t.get("artwork","show_cover_artwork_in_album_lists")?.value??!1,showFilepathNowPlaying:t=>t.get("webinterface","show_filepath_now_playing")?.value??!1,showMenuItemAudiobooks:t=>t.get("webinterface","show_menu_item_audiobooks")?.value??!1,showMenuItemFiles:t=>t.get("webinterface","show_menu_item_files")?.value??!1,showMenuItemMusic:t=>t.get("webinterface","show_menu_item_music")?.value??!1,showMenuItemPlaylists:t=>t.get("webinterface","show_menu_item_playlists")?.value??!1,showMenuItemPodcasts:t=>t.get("webinterface","show_menu_item_podcasts")?.value??!1,showMenuItemRadio:t=>t.get("webinterface","show_menu_item_radio")?.value??!1,showMenuItemSearch:t=>t.get("webinterface","show_menu_item_search")?.value??!1},state:()=>({appearance:"auto",categories:[]})}),SN={name:"NavbarTop",components:{ControlLink:r_},setup(){return{searchStore:qu(),servicesStore:Qn(),settingsStore:Js(),uiStore:ts()}},computed:{menus(){return[{icon:"music-box-multiple",key:"navigation.playlists",name:"playlists",show:this.settingsStore.showMenuItemPlaylists},{icon:"music",key:"navigation.music",name:"music",show:this.settingsStore.showMenuItemMusic},{key:"navigation.artists",name:"music-artists",sub:!0},{key:"navigation.albums",name:"music-albums",sub:!0},{key:"navigation.genres",name:"music-genres",sub:!0},{key:"navigation.composers",name:"music-composers",sub:!0},{key:"navigation.spotify",name:"music-spotify",show:this.servicesStore.isSpotifyActive,sub:!0},{icon:"microphone",key:"navigation.podcasts",name:"podcasts",show:this.settingsStore.showMenuItemPodcasts},{icon:"book-open-variant",key:"navigation.audiobooks",name:"audiobooks",show:this.settingsStore.showMenuItemAudiobooks},{icon:"radio",key:"navigation.radio",name:"radio",show:this.settingsStore.showMenuItemRadio},{icon:"folder-open",key:"navigation.files",name:"files",show:this.settingsStore.showMenuItemFiles},{icon:"magnify",key:"navigation.search",name:this.searchStore.source,show:this.settingsStore.showMenuItemSearch},{separator:!0},{key:"navigation.settings",name:"settings-webinterface"},{action:this.openUpdateDialog,key:"navigation.update-library"},{key:"navigation.about",name:"about"}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},EN={class:"navbar is-fixed-top is-top"},wN={class:"navbar-brand is-flex-grow-1"},kN={class:"dropdown-menu is-mobile"},CN={class:"dropdown-content"},TN={key:0,class:"my-3"},AN=["onClick","textContent"],ON={key:0,class:"icon-text"},xN=["textContent"];function IN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return O(),F("nav",EN,[P("div",wN,[(O(!0),F(it,null,de(r.menus.filter(l=>l.show&&!l.sub),l=>(O(),yt(a,{key:l.name,to:{name:l.name},class:"navbar-item is-hidden-mobile"},{default:M(()=>[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128)),P("a",{class:"navbar-item ml-auto",onClick:e[0]||(e[0]=(...l)=>s.uiStore.toggleBurgerMenu&&s.uiStore.toggleBurgerMenu(...l))},[E(o,{class:"icon",name:s.uiStore.showBurgerMenu?"close":"menu"},null,8,["name"])]),P("div",{class:Gt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[P("div",kN,[P("div",CN,[(O(!0),F(it,null,de(r.menus,l=>(O(),F(it,{key:l.name},[l.separator?(O(),F("hr",TN)):l.action?(O(),F("a",{key:1,class:"dropdown-item",onClick:Bn(l.action,["stop","prevent"]),textContent:et(t.$t(l.key))},null,8,AN)):(O(),yt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:M(()=>[l.icon?(O(),F("span",ON,[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):_t("",!0),P("span",{class:Gt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:et(t.$t(l.key))},null,10,xN)]),_:2},1032,["to"]))],64))),128))])])],2)])])}const NN=nt(SN,[["render",IN]]);function Op(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zu(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function s(){var i=!1;try{i=this instanceof s}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var hc={exports:{}},PN=hc.exports,hy;function RN(){return hy||(hy=1,(function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(PN,function(){if(!("WebSocket"in window))return;function e(n,s,i){var r={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};i||(i={});for(var o in r)typeof i[o]<"u"?this[o]=i[o]:this[o]=r[o];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,u=!1,d=document.createElement("div");d.addEventListener("open",function(h){a.onopen(h)}),d.addEventListener("close",function(h){a.onclose(h)}),d.addEventListener("connecting",function(h){a.onconnecting(h)}),d.addEventListener("message",function(h){a.onmessage(h)}),d.addEventListener("error",function(h){a.onerror(h)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(h,p){var m=document.createEvent("CustomEvent");return m.initCustomEvent(h,!1,!1,p),m}this.open=function(h){if(l=new WebSocket(a.url,s||[]),h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var p=l,m=setTimeout(function(){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),u=!0,p.close(),u=!1},a.timeoutInterval);l.onopen=function(_){clearTimeout(m),(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var y=f("open");y.isReconnect=h,h=!1,d.dispatchEvent(y)},l.onclose=function(_){if(clearTimeout(v),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=_.code,y.reason=_.reason,y.wasClean=_.wasClean,d.dispatchEvent(y),!h&&!u&&((a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var v=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},v>a.maxReconnectInterval?a.maxReconnectInterval:v)}},l.onmessage=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,_.data);var y=f("message");y.data=_.data,d.dispatchEvent(y)},l.onerror=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,_),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(l)return(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,h),l.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,p){typeof h>"u"&&(h=1e3),c=!0,l&&l.close(h,p)},this.refresh=function(){l&&l.close()}}return e.prototype.onopen=function(n){},e.prototype.onclose=function(n){},e.prototype.onconnecting=function(n){},e.prototype.onmessage=function(n){},e.prototype.onerror=function(n){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})})(hc)),hc.exports}var DN=RN();const LN=Op(DN),MN={name:"App",components:{ListNotifications:sC,ModalDialogRemotePairing:sx,ModalDialogUpdate:nI,NavbarBottom:_N,NavbarTop:NN},setup(){return{configurationStore:jo(),libraryStore:Gu(),notificationsStore:ko(),outputsStore:Ap(),playerStore:Wn(),queueStore:Ms(),remotesStore:kp(),servicesStore:Qn(),settingsStore:Js(),uiStore:ts()}},data(){return{handlers:{},scheduledHandlers:new Map}},watch:{"uiStore.showBurgerMenu"(){this.updateClipping()},"uiStore.showPlayerMenu"(){this.updateClipping()}},created(){this.handlers={database:[this.libraryStore.initialise],lastfm:[this.servicesStore.initialiseLastfm],options:[this.playerStore.initialise],outputs:[this.outputsStore.initialise],pairing:[this.remotesStore.initialise],player:[this.playerStore.initialise],queue:[this.queueStore.initialise],settings:[this.settingsStore.initialise],spotify:[this.servicesStore.initialiseSpotify],update:[this.libraryStore.initialise],volume:[this.playerStore.initialise,this.outputsStore.initialise]},this.$router.beforeEach(async(t,e,n)=>{await this.configurationStore.initialise(),this.updateClipping(),t.path===e.path&&t.hash||this.$Progress.start(),n()}),this.$router.afterEach(()=>{this.$Progress.finish()}),this.connect()},beforeUnmount(){this.scheduledHandlers.forEach(t=>clearTimeout(t)),this.scheduledHandlers.clear()},methods:{async connect(){try{await this.configurationStore.initialise(),this.uiStore.hideSingles=this.configurationStore.hide_singles,document.title=this.configurationStore.library_name,this.openWebsocket()}catch{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})}},createWebsocket(){const t=window.location.protocol.replace("http","ws"),e=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,s=`${t}${e}:${n}`;return new LN(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},handleEvents(t=[]){t.forEach(e=>{(this.handlers[e]||[]).forEach(s=>{if(!this.scheduledHandlers.has(s)){const i=setTimeout(()=>{s.call(this),this.scheduledHandlers.delete(s)},50);this.scheduledHandlers.set(s,i)}})})},openWebsocket(){const t=this.createWebsocket(),e=["database","lastfm","options","outputs","pairing","player","queue","settings","spotify","update","volume"];t.onopen=()=>{t.send(JSON.stringify({notify:e})),this.handleEvents(e)},window.addEventListener("focus",()=>{this.handleEvents(e)}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.handleEvents(e)}),t.onmessage=n=>{const s=JSON.parse(n.data).notify;this.handleEvents(s)}},updateClipping(){this.uiStore.showBurgerMenu||this.uiStore.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}}};function $N(t,e,n,s,i,r){const o=w("vue-progress-bar"),a=w("navbar-top"),l=w("router-view"),c=w("modal-dialog-remote-pairing"),u=w("modal-dialog-update"),d=w("list-notifications"),f=w("navbar-bottom");return O(),F(it,null,[E(o,{class:"has-background-primary"}),E(a),E(l,null,{default:M(({Component:h})=>[(O(),yt(Jh(h)))]),_:1}),E(c,{show:s.remotesStore.active,onClose:e[0]||(e[0]=h=>s.remotesStore.active=!1)},null,8,["show"]),E(u,{show:s.uiStore.showUpdateDialog,onClose:e[1]||(e[1]=h=>s.uiStore.showUpdateDialog=!1)},null,8,["show"]),ms(E(d,null,null,512),[[Hc,!s.uiStore.showBurgerMenu]]),E(f),ms(P("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Hc,s.uiStore.showBurgerMenu||s.uiStore.showPlayerMenu]])],64)}const FN=nt(MN,[["render",$N]]),a_=function(){return document.ontouchstart!==null?"click":"touchstart"},Zc="__vue_click_away__",l_=function(t,e,n){c_(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[Zc]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(a_(),t[Zc],!1)},c_=function(t){document.removeEventListener(a_(),t[Zc],!1),delete t[Zc]},VN=function(t,e,n){e.value!==e.oldValue&&l_(t,e,n)},UN={install:function(t){t.directive("click-away",HN)}},HN={mounted:l_,updated:VN,unmounted:c_};var Hs=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(Hs||{});const jN=typeof window<"u"&&window!==null,BN=qN(),WN=Object.prototype.propertyIsEnumerable,py=Object.getOwnPropertySymbols;function Ta(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function GN(t){return typeof t=="object"?t===null:typeof t!="function"}function KN(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function qN(){return jN&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function zN(t,...e){if(!Ta(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof py!="function")return t;for(const n of e){const s=py(n);for(const i of s)WN.call(n,i)&&(t[i]=n[i])}return t}function u_(t,...e){let n=0;for(GN(t)&&(t=e[n++]),t||(t={});n{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){if(!e)return;this._realObserver(e)?.unobserve(e);const{src:s,error:i,lifecycle:r,delay:o}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(e,s,i,r,o)}unmount(e){e&&(this._realObserver(e)?.unobserve(e),this._images.delete(e))}loadImages(e,n,s,i){this._setImageSrc(e,n,s,i)}_setImageSrc(e,n,s,i){e.tagName.toLowerCase()==="img"?(n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._listenImageStatus(e,()=>{this._lifecycle(Hs.LOADED,i,e)},()=>{e.onload=null,this._lifecycle(Hs.ERROR,i,e),this._realObserver(e)?.disconnect(),s&&e.getAttribute("src")!==s&&e.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):e.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(e,n,s,i,r){const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{r&&r>0?this._delayedIntersectionCallback(e,l,r,n,s,i):this._intersectionCallback(e,l,n,s,i)})},o)),this._realObserver(e)?.observe(e)}_intersectionCallback(e,n,s,i,r){n.isIntersecting&&(this._realObserver(e)?.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(qr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(qr)},s);n.target.setAttribute(qr,String(a))}else n.target.hasAttribute(qr)&&(clearTimeout(Number(n.target.getAttribute(qr))),n.target.removeAttribute(qr))}_listenImageStatus(e,n,s){e.onload=n,e.onerror=s}_valueFormatter(e){let n=e,s=this.options.loading,i=this.options.error,r=this.options.lifecycle,o=this.options.delay;return Ta(e)&&(n=e.src,s=e.loading||this.options.loading,i=e.error||this.options.error,r=e.lifecycle||this.options.lifecycle,o=e.delay||this.options.delay),{src:n,loading:s,error:i,lifecycle:r,delay:o}}_log(e){this.options.log&&e()}_lifecycle(e,n,s){switch(e){case Hs.LOADING:s?.setAttribute("lazy",Hs.LOADING),n?.loading&&n.loading(s);break;case Hs.LOADED:s?.setAttribute("lazy",Hs.LOADED),n?.loaded&&n.loaded(s);break;case Hs.ERROR:s?.setAttribute("lazy",Hs.ERROR),n?.error&&n.error(s);break}}_realObserver(e){return this._images.get(e)}_logger(e,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(e,n)}}const JN={install(t,e){const n=new ZN(e);t.config.globalProperties.$Lazyload=n,t.provide("Lazyload",n),t.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var Xd={exports:{}},Yd={exports:{}},Zd={};/** + */const TO="11.1.11";function AO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pp().__INTLIFY_PROD_DEVTOOLS__=!1)}const gs={UNEXPECTED_RETURN_TYPE:GA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Ns(t,...e){return Bu(t,null,void 0)}const ih=or("__translateVNode"),rh=or("__datetimeParts"),oh=or("__numberParts"),OO=or("__setPluralRules"),xO=or("__injectWithOption"),ah=or("__dispose");function za(t){if(!pe(t)||qs(t))return t;for(const e in t)if(Os(t,e))if(!e.includes("."))pe(t[e])&&za(t[e]);else{const n=e.split("."),s=n.length-1;let i=t,r=!1;for(let o=0;o{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),fc(c,o[l])):fc(c,o)}else vt(a)&&fc(JSON.parse(a),o)}),i==null&&r)for(const a in o)Os(o,a)&&za(o[a]);return o}function t_(t){return t.type}function IO(t,e,n){let s=pe(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=Q0(t.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const i=Object.keys(s);i.length&&i.forEach(r=>{t.mergeLocaleMessage(r,s[r])});{if(pe(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(pe(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function Yg(t){return E(mi,null,t,0)}const Zg="__INTLIFY_META__",Jg=()=>[],NO=()=>!1;let Qg=0;function ty(t){return((e,n,s,i)=>t(n,s,cn()||void 0,i))}const PO=()=>{const t=cn();let e=null;return t&&(e=t_(t)[Zg])?{[Zg]:e}:null};function e_(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=qc?cs:Tu;let o=Re(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:vt(t.locale)?t.locale:Xc),l=r(e&&o?e.fallbackLocale.value:vt(t.fallbackLocale)||je(t.fallbackLocale)||se(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(Q0(a.value,t)),u=r(se(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(se(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:Re(t.missingWarn)||zc(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:Re(t.fallbackWarn)||zc(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:Re(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,_=Pe(t.missing)?t.missing:null,y=Pe(t.missing)?ty(t.missing):null,v=Pe(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,b=!!t.escapeParameter;const S=e?e.modifiers:se(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,I;I=(()=>{s&&Hg(null);const L={version:TO,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:k,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:g,escapeParameter:b,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=se(I)?I.__datetimeFormatters:void 0,L.__numberFormatters=se(I)?I.__numberFormatters:void 0;const G=dO(L);return s&&Hg(G),G})(),ta(I,a.value,l.value);function C(){return[a.value,l.value,c.value,u.value,d.value]}const R=Je({get:()=>a.value,set:L=>{I.locale=L,a.value=L}}),B=Je({get:()=>l.value,set:L=>{I.fallbackLocale=L,l.value=L,ta(I,a.value,L)}}),$=Je(()=>c.value),H=Je(()=>u.value),X=Je(()=>d.value);function ot(){return Pe(v)?v:null}function K(L){v=L,I.postTranslation=L}function Q(){return _}function at(L){L!==null&&(y=ty(L)),_=L,I.missing=y}const kt=(L,G,ht,St,Kt,U)=>{C();let j;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=e?uO():void 0),j=L(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(ht!=="translate exists"&&Xe(j)&&j===Wu||ht==="translate exists"&&!j){const[q,rt]=G();return e&&p?St(e):Kt(q)}else{if(U(j))return j;throw Ns(gs.UNEXPECTED_RETURN_TYPE)}};function zt(...L){return kt(G=>Reflect.apply(Xg,null,[G,...L]),()=>sh(...L),"translate",G=>Reflect.apply(G.t,G,[...L]),G=>G,G=>vt(G))}function Vt(...L){const[G,ht,St]=L;if(St&&!pe(St))throw Ns(gs.INVALID_ARGUMENT);return zt(G,ht,tn({resolvedMessage:!0},St||{}))}function Bt(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>Reflect.apply(G.d,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ge(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>Reflect.apply(G.n,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ve(L){return L.map(G=>vt(G)||Xe(G)||Re(G)?Yg(String(G)):G)}const Wt={normalize:ve,interpolate:L=>L,type:"vnode"};function Y(...L){return kt(G=>{let ht;const St=G;try{St.processor=Wt,ht=Reflect.apply(Xg,null,[St,...L])}finally{St.processor=null}return ht},()=>sh(...L),"translate",G=>G[ih](...L),G=>[Yg(G)],G=>je(G))}function dt(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>G[oh](...L),Jg,G=>vt(G)||je(G))}function ct(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>G[rh](...L),Jg,G=>vt(G)||je(G))}function bt(L){k=L,I.pluralRules=k}function Ut(L,G){return kt(()=>{if(!L)return!1;const ht=vt(G)?G:a.value,St=N(ht),Kt=I.messageResolver(St,L);return qs(Kt)||os(Kt)||vt(Kt)},()=>[L],"translate exists",ht=>Reflect.apply(ht.te,ht,[L,G]),NO,ht=>Re(ht))}function Xt(L){let G=null;const ht=B0(I,l.value,a.value);for(let St=0;St{o&&(a.value=L,I.locale=L,ta(I,a.value,l.value))}),Zn(e.fallbackLocale,L=>{o&&(l.value=L,I.fallbackLocale=L,ta(I,a.value,l.value))}));const lt={id:Qg,locale:R,fallbackLocale:B,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,ta(I,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:$,get modifiers(){return S},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,I.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,I.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,I.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(L){g=L,I.warnHtmlMessage=L},get escapeParameter(){return b},set escapeParameter(L){b=L,I.escapeParameter=L},t:zt,getLocaleMessage:N,setLocaleMessage:W,mergeLocaleMessage:st,getPostTranslationHandler:ot,setPostTranslationHandler:K,getMissingHandler:Q,setMissingHandler:at,[OO]:bt};return lt.datetimeFormats=H,lt.numberFormats=X,lt.rt=Vt,lt.te=Ut,lt.tm=A,lt.d=Bt,lt.n=ge,lt.getDateTimeFormat=J,lt.setDateTimeFormat=T,lt.mergeDateTimeFormat=x,lt.getNumberFormat=V,lt.setNumberFormat=z,lt.mergeNumberFormat=tt,lt[xO]=n,lt[ih]=Y,lt[rh]=ct,lt[oh]=dt,lt}const Sp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function RO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((s,i)=>[...s,...i.type===it?i.children:[i]],[]):e.reduce((n,s)=>{const i=t[s];return i&&(n[s]=i()),n},Ee())}function n_(){return it}const DO=Ti({name:"i18n-t",props:tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Xe(t)||!isNaN(t)}},Sp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d[0]!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=vt(t.plural)?+t.plural:t.plural);const a=RO(e,r),l=i[ih](t.keypath,a,o),c=tn(Ee(),s),u=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(u,c,l)}}}),ey=DO;function LO(t){return je(t)&&!vt(t[0])}function s_(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),vt(t.format)?o.key=t.format:pe(t.format)&&(vt(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?tn(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];je(l)?c=l.map((f,h)=>{const p=i[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return LO(m)&&(m[0].key=`${f.type}-${h}`),m}):vt(l)&&(c=[l]);const u=tn(Ee(),r),d=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(d,u,c)}}const MO=Ti({name:"i18n-n",props:tn({value:{type:Number,required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,Y0,(...s)=>n[oh](...s))}}),ny=MO;function $O(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const s=n.__getInstance(e);return s!=null?s.__composer:t.global.__composer}}function FO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ns(gs.UNEXPECTED_ERROR);const c=$O(t,a.$),u=sy(l);return[Reflect.apply(c.t,c,[...iy(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);qc&&t.global===c&&(o.__i18nWatcher=Zn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{qc&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=sy(a);o.textContent=Reflect.apply(l.t,l,[...iy(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function sy(t){if(vt(t))return{path:t};if(se(t)){if(!("path"in t))throw Ns(gs.REQUIRED_VALUE,"path");return t}else throw Ns(gs.INVALID_VALUE)}function iy(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return vt(n)&&(o.locale=n),Xe(i)&&(o.plural=i),Xe(r)&&(o.plural=r),[e,a,o]}function VO(t,e,...n){const s=se(n[0])?n[0]:{};(Re(s.globalInstall)?s.globalInstall:!0)&&([ey.name,"I18nT"].forEach(r=>t.component(r,ey)),[ny.name,"I18nN"].forEach(r=>t.component(r,ny)),[oy.name,"I18nD"].forEach(r=>t.component(r,oy))),t.directive("t",FO(e))}const UO=or("global-vue-i18n");function HO(t={}){const e=Re(t.globalInjection)?t.globalInjection:!0,n=new Map,[s,i]=jO(t),r=or("");function o(u){return n.get(u)||null}function a(u,d){n.set(u,d)}function l(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...d){if(u.__VUE_I18N_SYMBOL__=r,u.provide(u.__VUE_I18N_SYMBOL__,c),se(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let f=null;e&&(f=YO(u,c.global)),VO(u,c,...d);const h=u.unmount;u.unmount=()=>{f&&f(),c.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function Ep(t={}){const e=cn();if(e==null)throw Ns(gs.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ns(gs.NOT_INSTALLED);const n=BO(e),s=GO(n),i=t_(e),r=WO(t,i);if(r==="global")return IO(s,t,i),s;if(r==="parent"){let l=KO(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=tn({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=e_(l),o.__composerExtend&&(a[ah]=o.__composerExtend(a)),zO(o,e,a),o.__setInstance(e,a)}return a}function jO(t,e){const n=vu(),s=n.run(()=>e_(t));if(s==null)throw Ns(gs.UNEXPECTED_ERROR);return[n,s]}function BO(t){const e=us(t.isCE?UO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ns(t.isCE?gs.NOT_INSTALLED_WITH_PROVIDE:gs.UNEXPECTED_ERROR);return e}function WO(t,e){return ju(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function GO(t){return t.mode==="composition"?t.global:t.global.__composer}function KO(t,e,n=!1){let s=null;const i=e.root;let r=qO(e,n);for(;r!=null;){const o=t;if(t.mode==="composition"&&(s=o.__getInstance(r)),s!=null||i===r)break;r=r.parent}return s}function qO(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function zO(t,e,n){Vo(()=>{},e),ll(()=>{const s=n;t.__deleteInstance(e);const i=s[ah];i&&(i(),delete s[ah])},e)}const XO=["locale","fallbackLocale","availableLocales"],ry=["t","rt","d","n","tm","te"];function YO(t,e){const n=Object.create(null);return XO.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Ns(gs.UNEXPECTED_ERROR);const o=Ie(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,o)}),t.config.globalProperties.$i18n=n,ry.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Ns(gs.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,ry.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const ZO=Ti({name:"i18n-d",props:tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,X0,(...s)=>n[rh](...s))}}),oy=ZO;AO();rO(UA);oO(nO);aO(B0);if(__INTLIFY_PROD_DEVTOOLS__){const t=pp();t.__INTLIFY__=!0,HA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const qd=t=>t&&typeof t=="object"&&!Array.isArray(t),lh=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(qd(t)&&qd(n))for(const s in n)qd(n[s])?(t[s]||Object.assign(t,{[s]:{}}),lh(t[s],n[s])):Object.assign(t,{[s]:n[s]});return lh(t,...e)},JO=lh({},{de:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Als nächstes hinzufügen"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Abbrechen"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Alle entfernen"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Bearbeiten"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Alle abgespielten markieren"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als neu"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als gespielt"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Remote paaren"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Spielen"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Entfernen"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Speichern"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Zeige mehr"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Zufallswiedergabe"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verifizieren"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Alben"}]}]}},artists:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" Künstler"}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autoren"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Stationen"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast hinzufügen"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Lade…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlistname"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Speichere…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange als Playlist speichern"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast enfernen"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote-Paarungs-Anfrage"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Alles neu einlesen"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Nur RSS-Feeds neu einlesen"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Suche nach neuen, gelöschten und veränderten Dateien"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Nur lokale Bibliothek neu einlesen"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek wird neu eingelesen…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Metadata von unveränderten Dateien neu einlesen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Nur Spotify neu einlesen"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Deutsch"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Englisch (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Französisch (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Vereinfachtes Chinesisch (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditionelles Chinesisch (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Diesen Podcast dauerhaft aus der Bibliothek löschen?"},{t:4,k:"separator"},{t:3,v:"(Damit wird auch die RSS-Playliste "},{t:4,k:"name"},{t:3,v:" gelöscht)"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track kann nicht gespielt werden"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", Beschränkungsgrund: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Hörbuch"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"Über"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Einstellungen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Singles und alles, was mit ihnen verbunden ist, aus."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Spotify-Inhalt"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Inhalte aus, die von Spotify stammen."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtern"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Erscheinungsdatum"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Namen"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich erschienen"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sortieren"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Oberfläche erstellt mit "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" und "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiliert mit Unterstützung von "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},more:{t:0,b:{t:2,i:[{t:3}],s:"mehr"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich gespielt"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Tracks durch Auswählen aus der Bibliothek anfügen"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Deine Playliste ist leer."}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlisten"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Neue Episoden"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"Ausdrücken"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach "},{t:4,k:"help"},{t:3,v:" suchen wenn Du dem Ausdruck ein "},{t:4,k:"query"},{t:3,v:" voranstellst."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Keine Ergebnisse gefunden"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Album"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Alben"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Künstler"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Künstler"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Buch"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Komponist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige die Playlist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Podcast"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Track"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Fernbedienungen und Ausgänge"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Ausgezeichnete Playlisten"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Neuvorstellung"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf löschen"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe anhalten"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergeben"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Alle Tracks wiederholen"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Tracks einmal lesen"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Aktuellen Track wiederholen"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Rückwärts im Track suchen"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Vorwärts im Track suchen"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Tracks zufällig wiedergeben"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Tracks in Reihenfolge wiedergeben"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Zum vorherigen Track springen"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Zum nächsten Track springen"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe stoppen"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Liedtexte anzeigen/verbergen"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Einfache"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Hinzugefügt am"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Kommentar"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Komponist"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Dauer"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Besitzer"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Pfad"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Spielzeit"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularität / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualität"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Art"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Neu eingelesen"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Laufzeit"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track an die Abspielliste angehängt"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks an die Abspielliste angehängt"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Anfrage gescheitert (Status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dunkel"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Hell"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsbild"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote-Pairing-Anfrage von "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorisiere API-Zugriff"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Zugriff auf die Spotify API gestatten."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Bitte den Zugriff der API durch setzen folgender Zugriffsrechte für OwnTone: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Spotify Premium Abo erforderlich. Zugriff auf die Spotify API ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Zugriff gestattet für "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Auf den Bildschirmen mobiler Geräte wird nur das Burger-Menü angezeigt."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Beschränkte die Zahl der Alben"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt-Seite"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll."},{t:5,i:0},{t:3,v:"Leer lassen, um den Komponisten immer anzuzeigen."},{t:5,i:0},{t:3,v:'Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Suche"}}}}}},{en:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Add"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Add Next"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark All Played"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Mark as new"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Pair Remote"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Rescan"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verify"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artists"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" authors"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" channel"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" channels"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composers"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlists"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Loading…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlist name"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Saving…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Save queue to playlist"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Delete the podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Update everything"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Only update RSS feeds"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Scan for new, deleted and modified files"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Only update local library"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Library update in progress…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Rescan metadata of unmodified files"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Only update Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Update library"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"German (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Simplified Chinese (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditional Chinese (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track is not playable"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", restriction reason: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Settings"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream error: failed to load stream or stopped loading due to network problem"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Hide singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides singles and anything associated with them."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Hide Spotify content"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides content from Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filter"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Release date"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Recently released"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release date"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sort"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Web interface built with "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" and "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiled with support for "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Files"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"History"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Add some tracks by browsing your library"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Your play queue is empty"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlists"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"New Episodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Queue"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: you can search by a smart playlist query language "},{t:4,k:"help"},{t:3,v:" if you prefix it with "},{t:4,k:"query"},{t:3,v:"."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"No results found"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the album"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the artist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" artists"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the audiobook"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the composer"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" composers"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the playlist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" playlists"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the podcast"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the track"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Remotes and Outputs"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"General"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Featured Playlists"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"New Releases"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Clear history"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Repeat all tracks"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Read tracks once"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Repeat current track"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Seek backward in the track"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Seek forward in the track"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Play tracks randomly"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Play tracks in order"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to previous track"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to next track"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Stop"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Toggle lyrics"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Folder"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Plain"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Added On"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Comment"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Composer"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Folders"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Owner"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Path"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Playtime"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularity / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Quality"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release Date"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Uptime"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track appended to the queue"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks appended to the queue"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Request failed (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Appearance"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"In addition to that, you can enable fetching artwork from the following artwork providers:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request from "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"If your speaker requires pairing then activate it below and enter the PIN that it displays."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Login with your Last.fm username and password to enable scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorize API access"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Grant access to the Spotify API."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was either built without support for Spotify or libspotify is not installed."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Please reauthorize API access to grant OwnTone the following additional access rights: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"You must have a Spotify premium account. Access to the Spotify API enables scanning of your Spotify library. Required scopes are: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Access granted for "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"On mobile device screens, only the burger menu is displayed."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Player page"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limit the number of albums displayed"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Recently added page"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Comma-separated list of genres, for which the composer must be displayed."},{t:5,i:0},{t:3,v:"Leave empty to always show the composer."},{t:5,i:0},{t:3,v:'The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Files"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Search"}}}}}},{fr:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter ensuite"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Annuler"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Effacer"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Éditer"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer l’historique"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Se connecter"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Se déconnecter"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lus"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme nouveau"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lu"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Jumeler la télécommande"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Analyser"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Afficher plus"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lecture aléatoire"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Vérifier"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artistes"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteurs"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Chargement…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Nom de la liste de lecture"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer la file d’attente dans une liste de lecture"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer ce podcast de manière permanente de la bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Tout actualiser"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement les flux RSS"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Recherche les fichiers ajoutés, supprimés et modifiés"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement la bibliothèque locale"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Actualisation de la bibliothèque en cours…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Analyser les métadonnées des fichiers non modifiés"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourd’hui"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Allemand (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Anglais (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Français"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Chinois simplifié (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Chinois traditionnel (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer définitivement ce podcast de votre bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"La piste ne peut pas être lue"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", raison de la restriction : "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Livre audio"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"À propos"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Réglages"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison d’un problème réseau"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Masquer les singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque les singles et tout ce qui leur est associé."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Masquer le contenu de Spotify"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque le contenu qui provient de Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtrer"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Date de sortie"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Nom"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Sorties récentes"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Trier"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Interface utilisateur construite avec "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" et "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compilé avec les options "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},more:{t:0,b:{t:2,i:[{t:3}],s:"plus"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Lectures récentes"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Historique"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Ajoutez des pistes en parcourant votre bibliothèque"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En direct"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"La file d’attente est vide"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Listes de lecture"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Nouveaux épisodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"File d’attente"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Astuce : vous pouvez effectuer une recherche avec une "},{t:4,k:"help"},{t:3,v:" du langage de requête de liste de lecture intelligente en préfixant votre requête avec "},{t:4,k:"query"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Aucun résultat trouvé"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’album"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’artiste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" artistes"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le livre audio"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le compositeur"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la liste de lecture"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le podcast"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la piste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" pistes"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Télécommandes et sorties"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Général"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture en vedette"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Nouvelle sorties"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer l’historique"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Mettre la lecture en pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Répéter toutes les pistes"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes une fois"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Répéter la piste en cours"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer dans la piste"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer dans la piste"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes aléatoirement"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes dans l’ordre"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer à la piste précédente"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer à la piste suivante"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Arrêter la lecture"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Voir/Cacher les paroles"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Dossier"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Simple"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Ajouté le"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de l’album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artiste"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Commentaire"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Compositeur"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Durée"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Dossiers"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Propriétaire"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Emplacement"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de lecture"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularité / Abonnements"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disque / Piste"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualité"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de fonctionnement"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Année"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file d’attente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file d’attente"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file d’attente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"La requête a échoué (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatique"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Sombre"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Clair"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Mode d’apparence"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste d’albums"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage d’enceinte et vérification d’appareil"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Last.fm n’est pas présente."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Autoriser l’accès à l’API"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Accordez l’accès à l’API de Spotify."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Spotify n’est pas présente."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accès supplémentaires suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Vous devez posséder un compte Spotify Premium. L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application requis sont les suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Accès autorisé pour "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom d’utilisateur"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Sélectionnez les éléments de la barre de navigation supérieure"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Sur les écrans des appareils mobiles, seul le menu est affiché."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre d’albums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché."},{t:5,i:0},{t:3,v:"Laissez vide pour toujours afficher le compositeur."},{t:5,i:0},{t:3,v:'L’étiquette de genre de la piste actuelle est comparée en vérifiant si l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}}}}}},{"zh-CN":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"添加流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隐藏历史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部标记为已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"标记为最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新扫描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"显示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"验证"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加播客"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名称"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"保存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"保存播放清单到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客?"},{t:4,k:"separator"},{t:3,v:"(这也将移除该播客RSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除播客"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对码"}},title:{t:0,b:{t:2,i:[{t:3}],s:"请求遥控配对"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有内容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"仅更新RSS订阅内容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"扫描新的、删除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"仅更新本地资料库"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地资料库…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新扫描未修改文件的元数据"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"仅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定义"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德语 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英语 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法语 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客吗?"},{t:4,k:"separator"},{t:3,v:"(这也将移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目无法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP流错误:流载入失败或者由于网络原因无法载入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隐藏单曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏单曲和与其关联的任何内容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隐藏来自Spotify的内容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏 Spotify 中的内容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 发行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 名称"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近发行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分类"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面贡献者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"编译支持来自于 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},history:{t:0,b:{t:2,i:[{t:3}],s:"历史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"浏览资料库添加曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清单是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新单集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清单"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表达式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前缀,则可以通过智能播放列表查询语言 "},{t:4,k:"help"},{t:3,v:" 进行搜索"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到结果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示专辑"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个专辑"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示艺人"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示有声书"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 本有声书"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示作曲家"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播放列表"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播客"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示曲目"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概览"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新发行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除历史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重复播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目仅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重复当前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目后退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目前进"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按顺序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏歌词"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"简单"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"评论"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"时长"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路径"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"总播放时长"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉丝数"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盘符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"质量"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"只曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"运行时长"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"请求失败 (状态:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自动"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"浅色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外观"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您还可以从以下素材提供者获取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对代码"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"远程配对请求来自于 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"验证码"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用户名和密码登录以启用记录功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授权 API 访问"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予对 Spotify API 的访问权限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"请重新授权 API 访问权限,以授予 OwnTone 以下附加访问权限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必须拥有 Spotify付费帐户。访问 Spotify API 可以扫描您的 Spotify库。所需范围是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予访问权限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在移动设备屏幕上,只显示汉堡菜单"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"仅显示列出的流派的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗号分隔的流派列表,必须显示作曲家所属的流派"},{t:5,i:0},{t:3,v:"留空以始终显示作曲家"},{t:5,i:0},{t:3,v:"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜索"}}}}}},{"zh-TW":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"新增"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"編輯"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隱藏歷史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部標記為已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"標記為最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"標記為已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新掃描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"儲存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"顯示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"驗證"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"新增一個可生成播放列表的Podcast RSS鏈接,這將允許OwnTone管理訂閱"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增Podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"載入中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名稱"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"儲存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"儲存播放清單到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast?"},{t:4,k:"separator"},{t:3,v:"(這也將移除該PodcastRSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對碼"}},title:{t:0,b:{t:2,i:[{t:3}],s:"請求遙控配對"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有內容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"僅更新RSS訂閱內容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"掃描新的、刪除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"僅更新本地資料庫"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地資料庫…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新掃描未修改文件的中繼資料"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"僅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定義"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德語 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英語 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法語 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"簡體中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast嗎?"},{t:4,k:"separator"},{t:3,v:"(這也將移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目無法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"關於"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"設定"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流錯誤:串流載入失敗或者由於網絡原因無法載入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隱藏單曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏單曲和與其關聯的任何內容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隱藏來自Spotify的內容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏 Spotify 中的內容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"篩選"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 發行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 名稱"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近發行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分類"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面貢獻者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"編譯支持來自於 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},history:{t:0,b:{t:2,i:[{t:3}],s:"歷史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"瀏覽資料庫新增曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清單是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新單集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清單"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"電台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表達式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前綴,則可以通過智能播放列表查詢語言 "},{t:4,k:"help"},{t:3,v:" 進行搜尋"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到結果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示專輯"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個專輯"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示藝人"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示有聲書"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 本有聲書"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示作曲家"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示播放列表"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示Podcast"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示曲目"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概覽"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新發行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除歷史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暫停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重復播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目僅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重復當前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目後退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目前進"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按順序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"顯示/隱藏歌詞"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"簡單"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"張專輯"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"評論"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"時長"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路徑"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"總播放時長"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉絲數"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盤符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"品質"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"類型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新於"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"運行時長"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"請求失敗 (狀態:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自動"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"淺色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外觀"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中,也可以通過電台在線提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您還可以從以下素材提供者獲取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對代碼"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"遠程配對請求來自於 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"驗證碼"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授權 API 訪問"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予對 Spotify API 的訪問權限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"請重新授權 API 訪問權限,以授予 OwnTone 以下附加訪問權限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必須擁有 Spotify付費帳戶。訪問 Spotify API 可以掃描您的 Spotify庫。所需範圍是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予訪問權限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在行動裝置螢幕上,只會顯示漢堡菜單"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"僅顯示列出的音樂類型的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型"},{t:5,i:0},{t:3,v:"留空以始終顯示作曲家"},{t:5,i:0},{t:3,v:"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}}}}}}),Gs=HO({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:JO,missingWarn:!1}),{t:QO}=Gs.global;ut.interceptors.response.use(t=>t.data,t=>(t.request.status&&t.request.responseURL&&ko().add({text:QO("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const ay="./api/pairing",wp={pair(t){return ut.post(ay,{pin:t})},state(){return ut.get(ay)}},kp=Ds("RemotesStore",{actions:{async initialise(){this.$state=await wp.state()}},state:()=>({active:!1,remote:""})}),tx={name:"ModalDialogRemotePairing",components:{ControlPinField:a0,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:kp()}},data(){return{disabled:!0,pin:""}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.pair,icon:"vector-link",key:"actions.pair"}]}},methods:{cancel(){this.$emit("close")},onPinChange(t,e){this.pin=t,this.disabled=e},pair(){wp.pair(this.pin).then(()=>{this.pin=""})}}},ex=["textContent"];function nx(t,e,n,s,i,r){const o=w("control-pin-field"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.remote-pairing.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...l)=>r.pair&&r.pair(...l),["prevent"]))},[P("label",{class:"label",textContent:et(s.remoteStore.remote)},null,8,ex),E(o,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onPinChange},null,8,["placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const sx=nt(tx,[["render",nx]]),ix={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},rx={class:"field mb-0 is-flex is-align-items-center"},ox={class:"toggle is-flex is-align-items-center"},ax={class:"control is-flex is-align-items-center"},lx=["checked"],cx={key:0,class:"help mb-4"};function ux(t,e,n,s,i,r){return O(),F(it,null,[P("div",rx,[P("label",ox,[P("div",ax,[P("input",{checked:n.modelValue,type:"checkbox",class:"toggle-checkbox is-hidden",onChange:e[0]||(e[0]=o=>t.$emit("update:modelValue",!n.modelValue))},null,40,lx),e[1]||(e[1]=P("div",{class:"toggle-switch"},null,-1))]),le(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(O(),F("div",cx,[le(t.$slots,"help",{},void 0,!0)])):_t("",!0)],64)}const Ur=nt(ix,[["render",ux],["__scopeId","data-v-f999a158"]]),Ge="./api/library",_s="./api/search",Tt={add(t){return ut.post(`${Ge}/add`,null,{params:{url:t}})},album(t){return ut.get(`${Ge}/albums/${t}`)},albumTracks(t,e={limit:-1,offset:0}){return ut.get(`${Ge}/albums/${t}/tracks`,{params:e})},albums(t){return ut.get(`${Ge}/albums`,{params:{media_kind:t}})},artist(t){return ut.get(`${Ge}/artists/${t}`)},artistAlbums(t){return ut.get(`${Ge}/artists/${t}/albums`)},async artistTracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},artists(t){return ut.get(`${Ge}/artists`,{params:{media_kind:t}})},composer(t){return ut.get(`${Ge}/composers/${encodeURIComponent(t)}`)},async composerAlbums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return(await ut.get(_s,{params:e})).albums},async composerTracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},composers(t){return ut.get(`${Ge}/composers`,{params:{media_kind:t}})},files(t){return ut.get(`${Ge}/files`,{params:{directory:t}})},async genre(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"genres"};return(await ut.get(_s,{params:n})).genres},async genreAlbums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return(await ut.get(_s,{params:n})).albums},async genreTracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return(await ut.get(_s,{params:n})).tracks},async genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return(await ut.get(_s,{params:e})).genres},async newPodcastEpisodes(){const t={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return(await ut.get(_s,{params:t})).tracks},playlist(t){return ut.get(`${Ge}/playlists/${t}`)},playlistDelete(t){return ut.delete(`${Ge}/playlists/${t}`)},playlistFolder(t=0){return ut.get(`${Ge}/playlists/${t}/playlists`)},playlistTracks(t){return ut.get(`${Ge}/playlists/${t}/tracks`)},async podcastEpisodes(t){const e={expression:`media_kind is podcast and songalbumid is "${t}" ORDER BY date_released DESC`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},async radioStreams(){const t={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return(await ut.get(_s,{params:t})).tracks},rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},rssCount(){return ut.get(`${Ge}/count`,{params:{expression:"scan_kind is rss"}})},search(t){return ut.get(_s,{params:t})},state(){return ut.get(Ge)},track(t){return ut.get(`${Ge}/tracks/${t}`)},trackPlaylists(t){return ut.get(`${Ge}/tracks/${t}/playlists`)},update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},updateAlbum(t,e){return ut.put(`${Ge}/albums/${t}/tracks`,null,{params:e})},updateTrack(t,e={}){return ut.put(`${Ge}/tracks/${t}`,null,{params:e})}},Gu=Ds("LibraryStore",{actions:{async initialise(){this.$state=await Tt.state()}},state:()=>({albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})});class We{api;constructor(e){this.api=e}async getRequest(e){return await this.api.makeRequest("GET",e)}async postRequest(e,n,s=void 0){return await this.api.makeRequest("POST",e,n,s)}async putRequest(e,n,s=void 0){return await this.api.makeRequest("PUT",e,n,s)}async deleteRequest(e,n){return await this.api.makeRequest("DELETE",e,n)}paramsFor(e){const n=new URLSearchParams;for(let s of Object.getOwnPropertyNames(e))(e[s]||e[s]===0||!e[s]&&typeof e[s]=="boolean")&&n.append(s,e[s].toString());return[...n].length>0?`?${n.toString()}`:""}}class dx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return await this.getRequest(`albums/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`albums${s}`)).albums}tracks(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`albums/${e}/tracks${r}`)}}class fx extends We{async get(e){if(typeof e=="string")return this.getRequest(`artists/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`artists${n}`)).artists}albums(e,n,s,i,r){const o=this.paramsFor({include_groups:n,market:s,limit:i,offset:r});return this.getRequest(`artists/${e}/albums${o}`)}topTracks(e,n){const s=this.paramsFor({market:n});return this.getRequest(`artists/${e}/top-tracks${s}`)}relatedArtists(e){return this.getRequest(`artists/${e}/related-artists`)}}class hx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`audiobooks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`audiobooks${s}`)).audiobooks}getAudiobookChapters(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`audiobooks/${e}/chapters${r}`)}}class px extends We{getCategories(e,n,s,i){const r=this.paramsFor({country:e,locale:n,limit:s,offset:i});return this.getRequest(`browse/categories${r}`)}getCategory(e,n,s){const i=this.paramsFor({country:n,locale:s});return this.getRequest(`browse/categories/${e}${i}`)}getNewReleases(e,n,s){const i=this.paramsFor({country:e,limit:n,offset:s});return this.getRequest(`browse/new-releases${i}`)}getFeaturedPlaylists(e,n,s,i,r){const o=this.paramsFor({country:e,locale:n,timestamp:s,limit:i,offset:r});return this.getRequest(`browse/featured-playlists${o}`)}getPlaylistsForCategory(e,n,s,i){const r=this.paramsFor({country:n,limit:s,offset:i});return this.getRequest(`browse/categories/${e}/playlists${r}`)}}class mx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`chapters/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`chapters${s}`)).chapters}}class gx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`episodes/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`episodes${s}`)).episodes}}class yx extends We{get(e){const n=this.paramsFor(e);return this.getRequest(`recommendations${n}`)}genreSeeds(){return this.getRequest("recommendations/available-genre-seeds")}}class bx extends We{getAvailableMarkets(){return this.getRequest("markets")}}class vx extends We{getPlaybackState(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player${s}`)}getAvailableDevices(){return this.getRequest("me/player/devices")}getCurrentlyPlayingTrack(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player/currently-playing${s}`)}getRecentlyPlayedTracks(e,n){const s={limit:e};n&&(n.type==="before"?s.before=n.timestamp:n.type==="after"&&(s.after=n.timestamp));const i=this.paramsFor(s);return this.getRequest(`me/player/recently-played${i}`)}getUsersQueue(){return this.getRequest("me/player/queue")}async transferPlayback(e,n){if(e.length>1)throw new Error("Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return 400 Bad Request");await this.putRequest("me/player",{device_ids:e,play:n})}async startResumePlayback(e,n,s,i,r){const o=this.paramsFor({device_id:e});await this.putRequest(`me/player/play${o}`,{context_uri:n,uris:s,offset:i,positionMs:r})}async pausePlayback(e){const n=this.paramsFor({device_id:e});await this.putRequest(`me/player/pause${n}`)}async skipToNext(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/next${n}`)}async skipToPrevious(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/previous${n}`)}async seekToPosition(e,n){const s=this.paramsFor({position_ms:e,device_id:n});await this.putRequest(`me/player/seek${s}`)}async setRepeatMode(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/repeat${s}`)}async setPlaybackVolume(e,n){const s=this.paramsFor({volume_percent:e,device_id:n});await this.putRequest(`me/player/volume${s}`)}async togglePlaybackShuffle(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/shuffle${s}`)}async addItemToPlaybackQueue(e,n){const s=this.paramsFor({uri:e,device_id:n});await this.postRequest(`me/player/queue${s}`)}}class _x extends We{getPlaylist(e,n,s,i){const r=this.paramsFor({market:n,fields:s,additional_types:i?.join(",")});return this.getRequest(`playlists/${e}${r}`)}getPlaylistItems(e,n,s,i,r,o){const a=this.paramsFor({market:n,fields:s,limit:i,offset:r,additional_types:o?.join(",")});return this.getRequest(`playlists/${e}/tracks${a}`)}async changePlaylistDetails(e,n){await this.putRequest(`playlists/${e}`,n)}movePlaylistItems(e,n,s,i){return this.updatePlaylistItems(e,{range_start:n,range_length:s,insert_before:i})}updatePlaylistItems(e,n){return this.putRequest(`playlists/${e}/tracks`,n)}async addItemsToPlaylist(e,n,s){await this.postRequest(`playlists/${e}/tracks`,{position:s,uris:n})}async removeItemsFromPlaylist(e,n){await this.deleteRequest(`playlists/${e}/tracks`,n)}getUsersPlaylists(e,n,s){const i=this.paramsFor({limit:n,offset:s});return this.getRequest(`users/${e}/playlists${i}`)}createPlaylist(e,n){return this.postRequest(`users/${e}/playlists`,n)}getPlaylistCoverImage(e){return this.getRequest(`playlists/${e}/images`)}async addCustomPlaylistCoverImage(e,n){let s="";if(n instanceof Buffer)s=n.toString("base64");else if(n instanceof HTMLCanvasElement)s=n.toDataURL("image/jpeg").split(";base64,")[1];else if(n instanceof HTMLImageElement){const i=document.createElement("canvas");i.width=n.width,i.height=n.height;const r=i.getContext("2d");if(!r)throw new Error("Could not get canvas context");r.drawImage(n,0,0),s=i.toDataURL("image/jpeg").split(";base64,")[1]}else if(typeof n=="string")s=n;else throw new Error("ImageData must be a Buffer, HTMLImageElement, HTMLCanvasElement, or string containing a base64 encoded jpeg");await this.addCustomPlaylistCoverImageFromBase64String(e,s)}async addCustomPlaylistCoverImageFromBase64String(e,n){await this.putRequest(`playlists/${e}/images`,n,"image/jpeg")}}class Sx extends We{async execute(e,n,s,i,r,o){const a=this.paramsFor({q:e,type:n,market:s,limit:i,offset:r,include_external:o});return await this.getRequest(`search${a}`)}}class Ex extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`shows/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`shows${s}`)).shows}episodes(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`shows/${e}/episodes${r}`)}}class wx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`tracks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`tracks${s}`)).tracks}async audioFeatures(e){if(typeof e=="string")return this.getRequest(`audio-features/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`audio-features${n}`)).audio_features}audioAnalysis(e){return this.getRequest(`audio-analysis/${e}`)}}const Cp={access_token:"emptyAccessToken",token_type:"",expires_in:0,refresh_token:"",expires:-1};function la(t){return t===Cp}class kx extends We{profile(e){return this.getRequest(`users/${e}`)}}class Cx extends We{albums;audiobooks;episodes;playlists;shows;tracks;constructor(e){super(e),this.albums=new Tx(e),this.audiobooks=new Ax(e),this.episodes=new Ox(e),this.playlists=new xx(e),this.shows=new Ix(e),this.tracks=new Nx(e)}profile(){return this.getRequest("me")}topItems(e,n,s,i){const r=this.paramsFor({time_range:n,limit:s,offset:i});return this.getRequest(`me/top/${e}${r}`)}followedArtists(e,n){const s=this.paramsFor({type:"artist",after:e,limit:n});return this.getRequest(`me/following${s}`)}async followArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.putRequest(`me/following${s}`,{ids:e})}async unfollowArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.deleteRequest(`me/following${s}`,{ids:e})}followsArtistsOrUsers(e,n){const s=this.paramsFor({ids:e,type:n});return this.getRequest(`me/following/contains${s}`)}}class Tx extends We{savedAlbums(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/albums${i}`)}async saveAlbums(e){await this.putRequest("me/albums",e)}async removeSavedAlbums(e){await this.deleteRequest("me/albums",e)}hasSavedAlbums(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/albums/contains${n}`)}}class Ax extends We{savedAudiobooks(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/audiobooks${s}`)}async saveAudiobooks(e){await this.putRequest("me/audiobooks",e)}async removeSavedAudiobooks(e){await this.deleteRequest("me/audiobooks",e)}hasSavedAudiobooks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/audiobooks/contains${n}`)}}class Ox extends We{savedEpisodes(e,n,s){const i=this.paramsFor({market:e,limit:n,offset:s});return this.getRequest(`me/episodes${i}`)}async saveEpisodes(e){await this.putRequest("me/episodes",e)}async removeSavedEpisodes(e){await this.deleteRequest("me/episodes",e)}hasSavedEpisodes(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/episodes/contains${n}`)}}class xx extends We{playlists(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/playlists${s}`)}async follow(e){await this.putRequest(`playlists/${e}/followers`)}async unfollow(e){await this.deleteRequest(`playlists/${e}/followers`)}isFollowing(e,n){const s=this.paramsFor({ids:n});return this.getRequest(`playlists/${e}/followers/contains${s}`)}}class Ix extends We{savedShows(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/shows${s}`)}saveShows(e){const n=this.paramsFor({ids:e});return this.putRequest(`me/shows${n}`)}removeSavedShows(e,n){const s=this.paramsFor({ids:e,market:n});return this.deleteRequest(`me/shows${s}`)}hasSavedShow(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/shows/contains${n}`)}}class Nx extends We{savedTracks(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/tracks${i}`)}async saveTracks(e){await this.putRequest("me/tracks",e)}async removeSavedTracks(e){await this.deleteRequest("me/tracks",e)}hasSavedTracks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/tracks/contains${n}`)}}class Px{static get current(){return this.hasSubtleCrypto?window.crypto:this.tryLoadNodeWebCrypto()}static get hasSubtleCrypto(){return typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.subtle<"u"}static tryLoadNodeWebCrypto(){try{const{webcrypto:e}=require("crypto");return e}catch(e){throw e}}}class zn{static async refreshCachedAccessToken(e,n){const s=await zn.refreshToken(e,n.refresh_token);return zn.toCachable(s)}static toCachable(e){return e.expires&&e.expires===-1?e:{...e,expires:this.calculateExpiry(e)}}static calculateExpiry(e){return Date.now()+e.expires_in*1e3}static async refreshToken(e,n){const s=new URLSearchParams;s.append("client_id",e),s.append("grant_type","refresh_token"),s.append("refresh_token",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to refresh token: ${i.statusText}, ${r}`);return JSON.parse(r)}static generateCodeVerifier(e){let n="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i{const n=await this.getTokenFromApi();return zn.toCachable(n)},async n=>{const s=await this.getTokenFromApi();return zn.toCachable(s)})}async getAccessToken(){return await this.cache.get(ka.cacheKey)}removeAccessToken(){this.cache.remove(ka.cacheKey)}async getTokenFromApi(){const e={grant_type:"client_credentials",scope:this.scopes.join(" ")},n=Object.keys(e).map(l=>l+"="+e[l]).join("&"),s=typeof Buffer<"u",i=`${this.clientId}:${this.clientSecret}`,r=s?Buffer.from(i).toString("base64"):btoa(i),o=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Basic ${r}`},body:n});if(o.status!==200)throw new Error("Failed to get access token.");return await o.json()}}class Ca{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:ImplicitGrantStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(Ca.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(Ca.cacheKey)}removeAccessToken(){this.cache.remove(Ca.cacheKey)}async redirectOrVerifyToken(){const e=new URLSearchParams(window.location.hash.substring(1)),n=e.get("access_token");if(n)return Promise.resolve({access_token:n,token_type:e.get("token_type")??"",expires_in:parseInt(e.get("expires_in")??"0"),refresh_token:e.get("refresh_token")??"",expires:Number(e.get("expires"))||0});var i=(this.scopes??[]).join(" ");const r=new URLSearchParams;r.append("client_id",this.clientId),r.append("response_type","token"),r.append("redirect_uri",this.redirectUri),r.append("scope",i);const o="https://accounts.spotify.com/authorize?"+r.toString();return this.configuration.redirectionStrategy.redirect(o),Cp}}class go{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:AuthorizationCodeWithPKCEStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(go.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(go.cacheKey)}removeAccessToken(){this.cache.remove(go.cacheKey)}async redirectOrVerifyToken(){const n=new URLSearchParams(window.location.search).get("code");if(n){const s=await this.verifyAndExchangeCode(n);return this.removeCodeFromUrl(),s}return this.redirectToSpotify(),Cp}async redirectToSpotify(){const e=zn.generateCodeVerifier(128),n=await zn.generateCodeChallenge(e),s={verifier:e,expiresOnAccess:!0};this.cache.setCacheItem("spotify-sdk:verifier",s);const i=await this.generateRedirectUrlForUser(this.scopes,n);await this.configuration.redirectionStrategy.redirect(i)}async verifyAndExchangeCode(e){const s=(await this.cache.get("spotify-sdk:verifier"))?.verifier;if(!s)throw new Error("No verifier found in cache - can't validate query string callback parameters.");return await this.configuration.redirectionStrategy.onReturnFromRedirect(),await this.exchangeCodeForToken(e,s)}removeCodeFromUrl(){const e=new URL(window.location.href);e.searchParams.delete("code");const n=e.search?e.href:e.href.replace("?","");window.history.replaceState({},document.title,n)}async generateRedirectUrlForUser(e,n){const s=e.join(" "),i=new URLSearchParams;return i.append("client_id",this.clientId),i.append("response_type","code"),i.append("redirect_uri",this.redirectUri),i.append("scope",s),i.append("code_challenge_method","S256"),i.append("code_challenge",n),`https://accounts.spotify.com/authorize?${i.toString()}`}async exchangeCodeForToken(e,n){const s=new URLSearchParams;s.append("client_id",this.clientId),s.append("grant_type","authorization_code"),s.append("code",e),s.append("redirect_uri",this.redirectUri),s.append("code_verifier",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to exchange code for token: ${i.statusText}, ${r}`);return JSON.parse(r)}}class Rx{async deserialize(e){const n=await e.text();return n.length>0?JSON.parse(n):null}}class Dx{async validateResponse(e){switch(e.status){case 401:throw new Error("Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.");case 403:const n=await e.text();throw new Error(`Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here. Body: ${n}`);case 429:throw new Error("The app has exceeded its rate limits.");default:if(!e.status.toString().startsWith("20")){const s=await e.text();throw new Error(`Unrecognised response code: ${e.status} - ${e.statusText}. Body: ${s}`)}}}}class Lx{async handleErrors(e){return!1}}class Mx{async redirect(e){document.location=e.toString()}async onReturnFromRedirect(){}}class i_{storage;updateFunctions;autoRenewInterval;autoRenewWindow;constructor(e,n=new Map,s=0,i=120*1e3){this.storage=e,this.updateFunctions=n,this.autoRenewInterval=s,this.autoRenewWindow=i,this.autoRenewInterval>0&&setInterval(()=>this.autoRenewRenewableItems(),this.autoRenewInterval)}async getOrCreate(e,n,s){s&&this.updateFunctions.set(e,s);const i=await this.get(e);if(i)return i;const r=await n();if(!r)throw new Error("Could not create cache item");return la(r)||this.setCacheItem(e,r),r}async get(e){let n=this.storage.get(e),s=n?JSON.parse(n):null;if(this.itemDueToExpire(s)&&this.updateFunctions.has(e)){const i=this.updateFunctions.get(e);await this.tryUpdateItem(e,s,i),n=this.storage.get(e),s=n?JSON.parse(n):null}return s?s.expires&&(s.expires===-1||s.expires<=Date.now())?(this.remove(e),null):(s.expiresOnAccess&&s.expiresOnAccess===!0&&this.remove(e),s):null}set(e,n,s){const i=Date.now()+s,r={...n,expires:i};this.setCacheItem(e,r)}setCacheItem(e,n){const s=JSON.stringify(n);this.storage.set(e,s)}remove(e){this.storage.remove(e)}itemDueToExpire(e){return!e||!e.expires?!1:e.expires-Date.now(){const s=await this.get(n);s&&e&&this.itemDueToExpire(s)&&await this.tryUpdateItem(n,s,e)})}async tryUpdateItem(e,n,s){try{const i=await s(n);i&&this.setCacheItem(e,i)}catch(i){console.error(i)}}}class $x extends i_{constructor(){super(new Fx)}}class Fx{get(e){return localStorage.getItem(e)}set(e,n){localStorage.setItem(e,n)}remove(e){localStorage.removeItem(e)}}class Vx extends i_{constructor(){super(new Ux)}}class Ux{cache=new Map;get(e){return this.cache.get(e)??null}set(e,n){this.cache.set(e,n)}remove(e){this.cache.delete(e)}}class Hx{clientId;accessToken;refreshTokenAction;constructor(e,n,s){this.clientId=e,this.accessToken=n,this.refreshTokenAction=s||zn.refreshCachedAccessToken,this.accessToken.expires||(this.accessToken.expires=zn.calculateExpiry(this.accessToken))}setConfiguration(e){}async getOrCreateAccessToken(){if(this.accessToken.expires&&this.accessToken.expires<=Date.now()){const e=await this.refreshTokenAction(this.clientId,this.accessToken);this.accessToken=e}return this.accessToken}async getAccessToken(){return this.accessToken}removeAccessToken(){this.accessToken={access_token:"",token_type:"",expires_in:0,refresh_token:"",expires:0}}}class ji{sdkConfig;static rootUrl="https://api.spotify.com/v1/";authenticationStrategy;albums;artists;audiobooks;browse;chapters;episodes;recommendations;markets;player;playlists;shows;tracks;users;search;currentUser;constructor(e,n){this.sdkConfig=this.initializeSdk(n),this.albums=new dx(this),this.artists=new fx(this),this.audiobooks=new hx(this),this.browse=new px(this),this.chapters=new mx(this),this.episodes=new gx(this),this.recommendations=new yx(this),this.markets=new bx(this),this.player=new vx(this),this.playlists=new _x(this),this.shows=new Ex(this),this.tracks=new wx(this),this.users=new kx(this),this.currentUser=new Cx(this);const s=new Sx(this);this.search=s.execute.bind(s),this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig)}async makeRequest(e,n,s=void 0,i=void 0){try{const r=await this.authenticationStrategy.getOrCreateAccessToken();if(la(r))return console.warn("No access token found, authenticating now."),null;const o=r?.access_token,a=ji.rootUrl+n,l={method:e,headers:{Authorization:`Bearer ${o}`,"Content-Type":i??"application/json"},body:s?typeof s=="string"?s:JSON.stringify(s):void 0};this.sdkConfig.beforeRequest(a,l);const c=await this.sdkConfig.fetch(a,l);return this.sdkConfig.afterRequest(a,l,c),c.status===204?null:(await this.sdkConfig.responseValidator.validateResponse(c),this.sdkConfig.deserializer.deserialize(c))}catch(r){if(!await this.sdkConfig.errorHandler.handleErrors(r))throw r;return null}}initializeSdk(e){const n=typeof window<"u";return{...{fetch:(i,r)=>fetch(i,r),beforeRequest:(i,r)=>{},afterRequest:(i,r,o)=>{},deserializer:new Rx,responseValidator:new Dx,errorHandler:new Lx,redirectionStrategy:new Mx,cachingStrategy:n?new $x:new Vx},...e}}switchAuthenticationStrategy(e){this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig),this.authenticationStrategy.getOrCreateAccessToken()}async authenticate(){const e=await this.authenticationStrategy.getOrCreateAccessToken();return{authenticated:e.expires>Date.now()&&!la(e),accessToken:e}}async getAccessToken(){return this.authenticationStrategy.getAccessToken()}logOut(){this.authenticationStrategy.removeAccessToken()}static withUserAuthorization(e,n,s=[],i){const r=new go(e,n,s);return new ji(r,i)}static withClientCredentials(e,n,s=[],i){const r=new ka(e,n,s);return new ji(r,i)}static withImplicitGrant(e,n,s=[],i){const r=new Ca(e,n,s);return new ji(r,i)}static withAccessToken(e,n,s){const i=new Hx(e,n);return new ji(i,s)}static async performUserAuthorization(e,n,s,i,r){const o=new go(e,n,s),l=await new ji(o,r).authenticationStrategy.getOrCreateAccessToken();return la(l)||(typeof i=="string"?(console.log("Posting access token to postback URL."),await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})):await i(l)),{authenticated:l.expires>Date.now()&&!la(l),accessToken:l}}}const Nn={lastfm(){return ut.get("./api/lastfm")},loginLastfm(t){return ut.post("./api/lastfm-login",t)},logoutLastfm(){return ut.get("./api/lastfm-logout")},logoutSpotify(){return ut.get("./api/spotify-logout")},spotify(){return ut.get("./api/spotify").then(t=>({api:ji.withAccessToken(t.webapi_client_id,{access_token:t.webapi_token}),configuration:t}))}},Qn=Ds("ServicesStore",{actions:{async initialiseLastfm(){this.lastfm=await Nn.lastfm()},initialiseSpotify(){Nn.spotify().then(({configuration:t})=>{this.spotify=t})}},getters:{grantedSpotifyScopes:t=>t.spotify.webapi_granted_scope?.split(" ")??[],hasMissingSpotifyScopes:t=>t.missingSpotifyScopes.length>0,isAuthorizationRequired:t=>!t.isSpotifyActive||t.hasMissingSpotifyScopes,isLastfmActive:t=>t.lastfm.scrobbling_enabled,isLastfmEnabled:t=>t.lastfm.enabled,isSpotifyActive:t=>t.spotify.webapi_token_valid,isSpotifyEnabled:t=>t.spotify.spotify_installed,missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>t.spotify.webapi_required_scope?.split(" ")??[]},state:()=>({lastfm:{},spotify:{}})}),jx={name:"ModalDialogUpdate",components:{ControlSwitch:Ur,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Gu(),servicesStore:Qn()}},data(){return{rescanMetadata:!1}},computed:{actions(){const t=[{handler:this.cancel,icon:"cancel",key:"actions.cancel"}];return this.libraryStore.updating||t.push({handler:this.analyse,icon:"check",key:"actions.rescan"}),t}},methods:{analyse(){this.rescanMetadata?Tt.rescan(this.libraryStore.update_dialog_scan_kind):Tt.update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},Bx={key:0},Wx={key:0,class:"field"},Gx=["textContent"],Kx={class:"control"},qx={class:"select is-small"},zx=["textContent"],Xx=["textContent"],Yx=["textContent"],Zx=["textContent"],Jx=["textContent"],Qx={key:1},tI=["textContent"];function eI(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.update.title"),onClose:e[2]||(e[2]=l=>t.$emit("close"))},{content:M(()=>[s.libraryStore.updating?(O(),F("div",Qx,[P("div",{class:"mb-3",textContent:et(t.$t("dialog.update.progress"))},null,8,tI)])):(O(),F("div",Bx,[s.servicesStore.isSpotifyActive?(O(),F("div",Wx,[P("label",{class:"label",textContent:et(t.$t("dialog.update.info"))},null,8,Gx),P("div",Kx,[P("div",qx,[ms(P("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[P("option",{value:"",textContent:et(t.$t("dialog.update.all"))},null,8,zx),P("option",{value:"files",textContent:et(t.$t("dialog.update.local"))},null,8,Xx),s.servicesStore.isSpotifyActive?(O(),F("option",{key:0,value:"spotify",textContent:et(t.$t("dialog.update.spotify"))},null,8,Yx)):_t("",!0),P("option",{value:"rss",textContent:et(t.$t("dialog.update.feeds"))},null,8,Zx)],512),[[up,s.libraryStore.update_dialog_scan_kind]])])])])):_t("",!0),E(o,{modelValue:i.rescanMetadata,"onUpdate:modelValue":e[1]||(e[1]=l=>i.rescanMetadata=l)},{label:M(()=>[P("span",{textContent:et(t.$t("dialog.update.rescan-metadata"))},null,8,Jx)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const nI=nt(jx,[["render",eI]]),ts=Ds("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu}},state:()=>({albumsSort:1,artistAlbumsSort:1,artistTracksSort:1,artistsSort:1,composerTracksSort:1,genreTracksSort:1,hideReadItems:!1,hideSingles:!1,hideSpotify:!1,showBurgerMenu:!1,showPlayerMenu:!1,showUpdateDialog:!1})}),sI={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:ts()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},iI=["href"];function rI(t,e,n,s,i,r){return O(),F("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=Bn((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[le(t.$slots,"default")],8,iI)}const r_=nt(sI,[["render",rI]]),Tp={name:"ControlSlider",props:{disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},ly=()=>{ap(t=>({"71a992eb":t.ratio}))},cy=Tp.setup;Tp.setup=cy?(t,e)=>(ly(),cy(t,e)):ly;const oI=["value","disabled","max"];function aI(t,e,n,s,i,r){return O(),F("input",{value:n.value,disabled:n.disabled,class:Gt(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",onInput:e[0]||(e[0]=o=>t.$emit("update:value",o.target.valueAsNumber))},null,42,oI)}const Ku=nt(Tp,[["render",aI],["__scopeId","data-v-460ca666"]]),ss="./api/player",en={consume(t){return ut.put(`${ss}/consume`,null,{params:{state:t}})},next(){return ut.put(`${ss}/next`)},pause(){return ut.put(`${ss}/pause`)},play(t={}){return ut.put(`${ss}/play`,null,{params:t})},previous(){return ut.put(`${ss}/previous`)},repeat(t){return ut.put(`${ss}/repeat`,null,{params:{state:t}})},seek(t){return ut.put(`${ss}/seek`,null,{params:{seek_ms:t}})},seekToPosition(t){return ut.put(`${ss}/seek`,null,{params:{position_ms:t}})},setVolume(t,e=null){const n={volume:t,...e!==null&&{output_id:e}};return ut.put(`${ss}/volume`,null,{params:n})},shuffle(t){return ut.put(`${ss}/shuffle`,null,{params:{state:t}})},state(){return ut.get(ss)},stop(){return ut.put(`${ss}/stop`)}},{t:uy}=Gs.global,Ni="./api/queue",ae={async add(t,e=!1){if(e){const{current:s}=Ms();s?.id&&(t.position=s.position+1)}const n=await ut.post(`${Ni}/items/add`,null,{params:t});return ko().add({text:uy("server.appended-tracks",{count:n.count}),timeout:2e3,type:"info"}),n},addExpression(t,e=!1){return this.add({expression:t},e)},addUri(t,e=!1){return this.add({uris:t},e)},clear(){return ut.put(`${Ni}/clear`)},move(t,e){return ut.put(`${Ni}/items/${t}`,null,{params:{new_position:e}})},playExpression(t,e,n){const s={clear:"true",expression:t,playback:"start",playback_from_position:n,shuffle:e};return ut.post(`${Ni}/items/add`,null,{params:s})},playUri(t,e,n){const s={clear:"true",playback:"start",playback_from_position:n,shuffle:e,uris:t};return ut.post(`${Ni}/items/add`,null,{params:s})},remove(t){return ut.delete(`${Ni}/items/${t}`)},async saveToPlaylist(t){const{data:e}=await ut.post(`${Ni}/save`,null,{params:{name:t}});return ko().add({text:uy("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),e},state(){return ut.get(Ni)}},lI={state(){return ut.get("./api/config")}},jo=Ds("ConfigurationStore",{actions:{async initialise(){this.$state=await lI.state()}},state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",directories:[],hide_singles:!1,library_name:"",radio_playlists:!1,version:"",websocket_port:0})}),Ms=Ds("QueueStore",{actions:{async initialise(){this.$state=await ae.state()}},getters:{current(t){const e=Wn();return e.initialise(),t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.count===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(){const t=jo();return t.allow_modifying_stored_playlists&&t.default_playlist_directory}},state:()=>({count:0,items:[],version:0})}),Wn=Ds("PlayerStore",{actions:{async initialise(){this.$state=await en.state();const t=Ms();t.current.track_id&&Tt.track(t.current.track_id).then(e=>{this.lyricsContent=e.lyrics||""})}},getters:{isMuted:t=>t.volume===0,isPlaying:t=>t.state==="play",isRepeatAll:t=>t.repeat==="all",isRepeatOff:t=>t.repeat==="off",isRepeatSingle:t=>t.repeat==="single",isStopped:t=>t.state==="stop"},state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,lyricsContent:"",repeat:"off",showLyrics:!1,shuffle:!1,state:"stop",volume:0})}),cI={name:"ControlVolume",components:{ControlSlider:Ku},setup(){return{playerStore:Wn()}},data(){return{volume:0}},computed:{icon(){return this.playerStore.isMuted?"volume-off":"volume-high"}},watch:{"playerStore.volume"(){this.playerStore.isMuted||(this.volume=this.playerStore.volume)}},methods:{changeVolume(){en.setVolume(this.playerStore.volume)},toggle(){this.playerStore.isMuted?this.playerStore.volume=this.volume:this.playerStore.volume=0,this.changeVolume()}}},uI={class:"media is-align-items-center mb-0"},dI={class:"media-left"},fI={class:"media-content"},hI=["textContent"];function pI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",uI,[P("div",dI,[P("button",{class:"button is-small",onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon},null,8,["name"])])]),P("div",fI,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.volume"))},null,8,hI),E(a,{value:s.playerStore.volume,"onUpdate:value":e[1]||(e[1]=l=>s.playerStore.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const mI=nt(cI,[["render",pI]]),zd="./api/outputs",Yc={state(){return ut.get(zd)},toggle(t){return ut.put(`${zd}/${t}/toggle`)},update(t,e){return ut.put(`${zd}/${t}`,e)}},gI={name:"ControlOutputVolume",components:{ControlSlider:Ku},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.volume}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){en.setVolume(this.volume,this.output.id)},toggle(){Yc.update(this.output.id,{selected:!this.output.selected})}}},yI={class:"media is-align-items-center mb-0"},bI={class:"media-left"},vI={class:"media-content"},_I=["textContent"];function SI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",yI,[P("div",bI,[P("button",{class:Gt(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon,title:n.output.type},null,8,["name","title"])],2)]),P("div",vI,[P("div",{class:Gt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:et(n.output.name)},null,10,_I),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!n.output.selected,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const EI=nt(gI,[["render",SI]]),wI={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset*-1)}}},kI=["disabled"];function CI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"rewind-10",title:t.$t("player.button.seek-backward")},null,8,["title"])],8,kI)):_t("",!0)}const TI=nt(wI,[["render",CI]]),AI={name:"ControlPlayerConsume",setup(){return{playerStore:Wn()}},methods:{toggle(){en.consume(!this.playerStore.consume)}}};function OI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.consume}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:"fire",size:"16",title:t.$t("player.button.consume")},null,8,["title"])],2)}const xI=nt(AI,[["render",OI]]),II={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset)}}},NI=["disabled"];function PI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"fast-forward-30",title:t.$t("player.button.seek-forward")},null,8,["title"])],8,NI)):_t("",!0)}const RI=nt(II,[["render",PI]]),DI={name:"ControlPlayerLyrics",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.showLyrics?"script-text-play":"script-text-outline"}},methods:{toggle(){this.playerStore.showLyrics=!this.playerStore.showLyrics}}};function LI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.showLyrics}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const MI=nt(DI,[["render",LI]]),$I={name:"ControlPlayerNext",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{next(){en.next()}}},FI=["disabled"];function VI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.next&&r.next(...a))},[E(o,{class:"icon",name:"skip-forward",title:t.$t("player.button.skip-forward")},null,8,["title"])],8,FI)}const UI=nt($I,[["render",VI]]),HI={name:"ControlPlayerPlay",setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?en.pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?en.stop():en.play()}}},jI=["disabled"];function BI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],8,jI)}const WI=nt(HI,[["render",BI]]),GI={name:"ControlPlayerPrevious",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{previous(){en.previous()}}},KI=["disabled"];function qI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.previous&&r.previous(...a))},[E(o,{class:"icon",name:"skip-backward",title:t.$t("player.button.skip-backward")},null,8,["title"])],8,KI)}const zI=nt(GI,[["render",qI]]),XI={name:"ControlPlayerRepeat",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.isRepeatAll?"repeat":this.playerStore.isRepeatSingle?"repeat-once":"repeat-off"}},methods:{toggle(){this.playerStore.isRepeatAll?en.repeat("single"):this.playerStore.isRepeatSingle?en.repeat("off"):en.repeat("all")}}};function YI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":!s.playerStore.isRepeatOff}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const ZI=nt(XI,[["render",YI]]),JI={name:"ControlPlayerShuffle",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){en.shuffle(!this.playerStore.shuffle)}}};function QI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.shuffle}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const tN=nt(JI,[["render",QI]]),Hl={audio:null,play(t){this.audio=new Audio(`${String(t||"")}?x=${Date.now()}`),this.audio.crossOrigin="anonymous";const e=new(window.AudioContext||window.webkitAudioContext);e.createMediaElementSource(this.audio).connect(e.destination),this.audio.addEventListener("canplay",()=>{e.resume().then(()=>{this.audio.play()})}),this.audio.load()},setVolume(t){this.audio&&(this.audio.volume=Math.max(0,Math.min(1,Number(t)||0)))},stop(){try{this.audio?.pause()}catch{}}},eN={name:"ControlStreamVolume",components:{ControlSlider:Ku},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},unmounted(){this.closeAudio()},methods:{changeVolume(){Hl.setVolume(this.volume/100)},closeAudio(){Hl.stop(),this.playing=!1,this.loading=!1},playChannel(){this.loading=!0,Hl.play("/stream.mp3"),this.changeVolume();const t=Hl.audio;t&&(t.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),t.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),t.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),t.addEventListener("error",()=>{this.closeAudio()}))},togglePlay(){this.playing||this.loading?this.closeAudio():this.playChannel()}}},nN={class:"media is-align-items-center mb-0"},sN={class:"media-left"},iN={class:"media-content is-align-items-center"},rN=["textContent"],oN={href:"stream.mp3",class:"ml-2",target:"_blank"};function aN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",nN,[P("div",sN,[P("button",{class:Gt(["button is-small",{"has-text-grey-light":!i.playing&&!i.loading,"is-loading":i.loading}]),onClick:e[0]||(e[0]=(...l)=>r.togglePlay&&r.togglePlay(...l))},[E(o,{class:"icon",name:"broadcast"})],2)]),P("div",iN,[P("div",{class:Gt(["is-flex",{"has-text-grey-light":!i.playing}])},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.stream"))},null,8,rN),P("a",oN,[E(o,{class:"icon is-small",name:"open-in-new"})])],2),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!i.playing,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const lN=nt(eN,[["render",aN]]),Ap=Ds("OutputsStore",{actions:{async initialise(){this.$state=await Yc.state()}},state:()=>({outputs:[]})}),cN={name:"NavbarBottom",components:{ControlLink:r_,ControlMainVolume:mI,ControlOutputVolume:EI,ControlPlayerBack:TI,ControlPlayerConsume:xI,ControlPlayerForward:RI,ControlPlayerLyrics:MI,ControlPlayerNext:UI,ControlPlayerPlay:WI,ControlPlayerPrevious:zI,ControlPlayerRepeat:ZI,ControlPlayerShuffle:tN,ControlStreamVolume:lN},setup(){return{notificationsStore:ko(),outputsStore:Ap(),queueStore:Ms(),uiStore:ts()}},computed:{isPlayerPage(){return this.$route.name==="player"},metadata(){const{current:t}=this.queueStore;return[t.artist,t.album].filter(Boolean).join(" - ")}}},uN={class:"navbar-brand is-flex-grow-1"},dN={class:"is-text-clipped"},fN=["textContent"],hN=["textContent"],pN={class:"dropdown-menu is-mobile"},mN={class:"dropdown-content"},gN={class:"dropdown-item pt-0"},yN={class:"dropdown-item is-flex is-justify-content-center"},bN={class:"buttons has-addons"};function vN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link"),l=w("control-player-previous"),c=w("control-player-back"),u=w("control-player-play"),d=w("control-player-forward"),f=w("control-player-next"),h=w("control-main-volume"),p=w("control-output-volume"),m=w("control-stream-volume"),_=w("control-player-repeat"),y=w("control-player-shuffle"),v=w("control-player-consume"),g=w("control-player-lyrics");return O(),F("nav",{class:Gt(["navbar is-fixed-bottom",{"is-bottom":!r.isPlayerPage}])},[P("div",uN,[E(a,{class:"navbar-item",to:{name:"queue"}},{default:M(()=>[E(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isPlayerPage?(O(),F(it,{key:0},[E(l,{class:"navbar-item ml-auto"}),E(c,{class:"navbar-item",offset:1e4}),E(u,{class:"navbar-item"}),E(d,{class:"navbar-item",offset:3e4}),E(f,{class:"navbar-item mr-auto"})],64)):(O(),F(it,{key:1},[E(a,{to:{name:"player"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:M(()=>[P("div",dN,[P("strong",{textContent:et(s.queueStore.current.title)},null,8,fN),e[1]||(e[1]=P("br",null,null,-1)),P("span",{textContent:et(r.metadata)},null,8,hN)])]),_:1}),E(u,{class:"navbar-item"})],64)),P("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...b)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...b))},[E(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),P("div",{class:Gt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[P("div",pN,[P("div",mN,[P("div",gN,[E(h),(O(!0),F(it,null,de(s.outputsStore.outputs,b=>(O(),yt(p,{key:b.id,output:b},null,8,["output"]))),128)),E(m)]),e[2]||(e[2]=P("hr",{class:"dropdown-divider"},null,-1)),P("div",yN,[P("div",bN,[E(_,{class:"button"}),E(y,{class:"button"}),E(v,{class:"button"}),E(g,{class:"button"})])])])])],2)])],2)}const _N=nt(cN,[["render",vN],["__scopeId","data-v-77d048ef"]]),qu=Ds("SearchStore",{actions:{add(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1),this.history.unshift(t),this.history.length>5&&this.history.pop()},remove(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1)}},state:()=>({history:[],query:"",source:"search-library"})}),dy="./api/settings",o_={state(){return ut.get(dy)},update(t){return ut.put(`${dy}/${t.category}/${t.name}`,t)}},{t:jl,availableLocales:fy}=Gs.global,Js=Ds("SettingsStore",{actions:{currentAppearance(){return this.$state.appearance},currentLocale(){const t=fy;let e=t.find(s=>s===Gs.global.locale.value);const[n]=Gs.global.locale.value.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.find(s=>s.split("-")[0]===n)),e||(e=Gs.global.fallbackLocale),e},get(t,e){return this.categories.find(n=>n.name===t)?.options.find(n=>n.name===e)??{}},async initialise(){this.$state=await o_.state()},setAppearance(t){this.$state.appearance=t;const e=document.documentElement;t==="auto"?e.removeAttribute("data-theme"):e.setAttribute("data-theme",t)},setLocale(t){Gs.global.locale.value=t},update(t){const e=this.categories.find(s=>s.name===t.category);if(!e)return;const n=e.options.find(s=>s.name===t.name);n&&(n.value=t.value)}},getters:{appearances(){return[{id:"auto",name:jl("settings.appearance.auto")},{id:"light",name:jl("settings.appearance.light")},{id:"dark",name:jl("settings.appearance.dark")}]},locales(){return fy.map(t=>({id:t,name:jl(`language.${t}`)}))},recentlyAddedLimit:t=>t.get("webinterface","recently_added_limit")?.value??100,showComposerForGenre:t=>t.get("webinterface","show_composer_for_genre")?.value??null,showComposerNowPlaying:t=>t.get("webinterface","show_composer_now_playing")?.value??!1,showCoverArtworkInAlbumLists:t=>t.get("artwork","show_cover_artwork_in_album_lists")?.value??!1,showFilepathNowPlaying:t=>t.get("webinterface","show_filepath_now_playing")?.value??!1,showMenuItemAudiobooks:t=>t.get("webinterface","show_menu_item_audiobooks")?.value??!1,showMenuItemFiles:t=>t.get("webinterface","show_menu_item_files")?.value??!1,showMenuItemMusic:t=>t.get("webinterface","show_menu_item_music")?.value??!1,showMenuItemPlaylists:t=>t.get("webinterface","show_menu_item_playlists")?.value??!1,showMenuItemPodcasts:t=>t.get("webinterface","show_menu_item_podcasts")?.value??!1,showMenuItemRadio:t=>t.get("webinterface","show_menu_item_radio")?.value??!1,showMenuItemSearch:t=>t.get("webinterface","show_menu_item_search")?.value??!1},state:()=>({appearance:"auto",categories:[]})}),SN={name:"NavbarTop",components:{ControlLink:r_},setup(){return{searchStore:qu(),servicesStore:Qn(),settingsStore:Js(),uiStore:ts()}},computed:{menus(){return[{icon:"music-box-multiple",key:"navigation.playlists",name:"playlists",show:this.settingsStore.showMenuItemPlaylists},{icon:"music",key:"navigation.music",name:"music",show:this.settingsStore.showMenuItemMusic},{key:"navigation.artists",name:"music-artists",sub:!0},{key:"navigation.albums",name:"music-albums",sub:!0},{key:"navigation.genres",name:"music-genres",sub:!0},{key:"navigation.composers",name:"music-composers",sub:!0},{key:"navigation.spotify",name:"music-spotify",show:this.servicesStore.isSpotifyActive,sub:!0},{icon:"microphone",key:"navigation.podcasts",name:"podcasts",show:this.settingsStore.showMenuItemPodcasts},{icon:"book-open-variant",key:"navigation.audiobooks",name:"audiobooks",show:this.settingsStore.showMenuItemAudiobooks},{icon:"radio",key:"navigation.radio",name:"radio",show:this.settingsStore.showMenuItemRadio},{icon:"folder-open",key:"navigation.files",name:"files",show:this.settingsStore.showMenuItemFiles},{icon:"magnify",key:"navigation.search",name:this.searchStore.source,show:this.settingsStore.showMenuItemSearch},{separator:!0},{key:"navigation.settings",name:"settings-webinterface"},{action:this.openUpdateDialog,key:"navigation.update-library"},{key:"navigation.about",name:"about"}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},EN={class:"navbar is-fixed-top is-top"},wN={class:"navbar-brand is-flex-grow-1"},kN={class:"dropdown-menu is-mobile"},CN={class:"dropdown-content"},TN={key:0,class:"my-3"},AN=["onClick","textContent"],ON={key:0,class:"icon-text"},xN=["textContent"];function IN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return O(),F("nav",EN,[P("div",wN,[(O(!0),F(it,null,de(r.menus.filter(l=>l.show&&!l.sub),l=>(O(),yt(a,{key:l.name,to:{name:l.name},class:"navbar-item is-hidden-mobile"},{default:M(()=>[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128)),P("a",{class:"navbar-item ml-auto",onClick:e[0]||(e[0]=(...l)=>s.uiStore.toggleBurgerMenu&&s.uiStore.toggleBurgerMenu(...l))},[E(o,{class:"icon",name:s.uiStore.showBurgerMenu?"close":"menu"},null,8,["name"])]),P("div",{class:Gt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[P("div",kN,[P("div",CN,[(O(!0),F(it,null,de(r.menus,l=>(O(),F(it,{key:l.name},[l.separator?(O(),F("hr",TN)):l.action?(O(),F("a",{key:1,class:"dropdown-item",onClick:Bn(l.action,["stop","prevent"]),textContent:et(t.$t(l.key))},null,8,AN)):(O(),yt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:M(()=>[l.icon?(O(),F("span",ON,[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):_t("",!0),P("span",{class:Gt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:et(t.$t(l.key))},null,10,xN)]),_:2},1032,["to"]))],64))),128))])])],2)])])}const NN=nt(SN,[["render",IN]]);function Op(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zu(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function s(){var i=!1;try{i=this instanceof s}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var hc={exports:{}},PN=hc.exports,hy;function RN(){return hy||(hy=1,(function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(PN,function(){if(!("WebSocket"in window))return;function e(n,s,i){var r={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};i||(i={});for(var o in r)typeof i[o]<"u"?this[o]=i[o]:this[o]=r[o];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,u=!1,d=document.createElement("div");d.addEventListener("open",function(h){a.onopen(h)}),d.addEventListener("close",function(h){a.onclose(h)}),d.addEventListener("connecting",function(h){a.onconnecting(h)}),d.addEventListener("message",function(h){a.onmessage(h)}),d.addEventListener("error",function(h){a.onerror(h)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(h,p){var m=document.createEvent("CustomEvent");return m.initCustomEvent(h,!1,!1,p),m}this.open=function(h){if(l=new WebSocket(a.url,s||[]),h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var p=l,m=setTimeout(function(){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),u=!0,p.close(),u=!1},a.timeoutInterval);l.onopen=function(_){clearTimeout(m),(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var y=f("open");y.isReconnect=h,h=!1,d.dispatchEvent(y)},l.onclose=function(_){if(clearTimeout(v),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=_.code,y.reason=_.reason,y.wasClean=_.wasClean,d.dispatchEvent(y),!h&&!u&&((a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var v=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},v>a.maxReconnectInterval?a.maxReconnectInterval:v)}},l.onmessage=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,_.data);var y=f("message");y.data=_.data,d.dispatchEvent(y)},l.onerror=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,_),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(l)return(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,h),l.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,p){typeof h>"u"&&(h=1e3),c=!0,l&&l.close(h,p)},this.refresh=function(){l&&l.close()}}return e.prototype.onopen=function(n){},e.prototype.onclose=function(n){},e.prototype.onconnecting=function(n){},e.prototype.onmessage=function(n){},e.prototype.onerror=function(n){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})})(hc)),hc.exports}var DN=RN();const LN=Op(DN),MN={name:"App",components:{ListNotifications:sC,ModalDialogRemotePairing:sx,ModalDialogUpdate:nI,NavbarBottom:_N,NavbarTop:NN},setup(){return{configurationStore:jo(),libraryStore:Gu(),notificationsStore:ko(),outputsStore:Ap(),playerStore:Wn(),queueStore:Ms(),remotesStore:kp(),servicesStore:Qn(),settingsStore:Js(),uiStore:ts()}},data(){return{handlers:{},scheduledHandlers:new Map}},watch:{"uiStore.showBurgerMenu"(){this.updateClipping()},"uiStore.showPlayerMenu"(){this.updateClipping()}},created(){this.handlers={database:[this.libraryStore.initialise],lastfm:[this.servicesStore.initialiseLastfm],options:[this.playerStore.initialise],outputs:[this.outputsStore.initialise],pairing:[this.remotesStore.initialise],player:[this.playerStore.initialise],queue:[this.queueStore.initialise],settings:[this.settingsStore.initialise],spotify:[this.servicesStore.initialiseSpotify],update:[this.libraryStore.initialise],volume:[this.playerStore.initialise,this.outputsStore.initialise]},this.$router.beforeEach(async(t,e,n)=>{await this.configurationStore.initialise(),this.updateClipping(),t.path===e.path&&t.hash||this.$Progress.start(),n()}),this.$router.afterEach(()=>{this.$Progress.finish()}),this.connect()},beforeUnmount(){this.scheduledHandlers.forEach(t=>clearTimeout(t)),this.scheduledHandlers.clear()},methods:{async connect(){try{await this.configurationStore.initialise(),this.uiStore.hideSingles=this.configurationStore.hide_singles,document.title=this.configurationStore.library_name,this.openWebsocket()}catch{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})}},createWebsocket(){const t=window.location.protocol.replace("http","ws"),e=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,s=`${t}${e}:${n}`;return new LN(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},handleEvents(t=[]){t.forEach(e=>{(this.handlers[e]||[]).forEach(s=>{if(!this.scheduledHandlers.has(s)){const i=setTimeout(()=>{s.call(this),this.scheduledHandlers.delete(s)},50);this.scheduledHandlers.set(s,i)}})})},openWebsocket(){const t=this.createWebsocket(),e=["database","lastfm","options","outputs","pairing","player","queue","settings","spotify","update","volume"];t.onopen=()=>{t.send(JSON.stringify({notify:e})),this.handleEvents(e)},window.addEventListener("focus",()=>{this.handleEvents(e)}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.handleEvents(e)}),t.onmessage=n=>{const s=JSON.parse(n.data).notify;this.handleEvents(s)}},updateClipping(){this.uiStore.showBurgerMenu||this.uiStore.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}}};function $N(t,e,n,s,i,r){const o=w("vue-progress-bar"),a=w("navbar-top"),l=w("router-view"),c=w("modal-dialog-remote-pairing"),u=w("modal-dialog-update"),d=w("list-notifications"),f=w("navbar-bottom");return O(),F(it,null,[E(o,{class:"has-background-primary"}),E(a),E(l,null,{default:M(({Component:h})=>[(O(),yt(Jh(h)))]),_:1}),E(c,{show:s.remotesStore.active,onClose:e[0]||(e[0]=h=>s.remotesStore.active=!1)},null,8,["show"]),E(u,{show:s.uiStore.showUpdateDialog,onClose:e[1]||(e[1]=h=>s.uiStore.showUpdateDialog=!1)},null,8,["show"]),ms(E(d,null,null,512),[[Hc,!s.uiStore.showBurgerMenu]]),E(f),ms(P("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Hc,s.uiStore.showBurgerMenu||s.uiStore.showPlayerMenu]])],64)}const FN=nt(MN,[["render",$N]]),a_=function(){return document.ontouchstart!==null?"click":"touchstart"},Zc="__vue_click_away__",l_=function(t,e,n){c_(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[Zc]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(a_(),t[Zc],!1)},c_=function(t){document.removeEventListener(a_(),t[Zc],!1),delete t[Zc]},VN=function(t,e,n){e.value!==e.oldValue&&l_(t,e,n)},UN={install:function(t){t.directive("click-away",HN)}},HN={mounted:l_,updated:VN,unmounted:c_};var Hs=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(Hs||{});const jN=typeof window<"u"&&window!==null,BN=qN(),WN=Object.prototype.propertyIsEnumerable,py=Object.getOwnPropertySymbols;function Ta(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function GN(t){return typeof t=="object"?t===null:typeof t!="function"}function KN(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function qN(){return jN&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function zN(t,...e){if(!Ta(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof py!="function")return t;for(const n of e){const s=py(n);for(const i of s)WN.call(n,i)&&(t[i]=n[i])}return t}function u_(t,...e){let n=0;for(GN(t)&&(t=e[n++]),t||(t={});n{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){if(!e)return;this._realObserver(e)?.unobserve(e);const{src:s,error:i,lifecycle:r,delay:o}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(e,s,i,r,o)}unmount(e){e&&(this._realObserver(e)?.unobserve(e),this._images.delete(e))}loadImages(e,n,s,i){this._setImageSrc(e,n,s,i)}_setImageSrc(e,n,s,i){e.tagName.toLowerCase()==="img"?(n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._listenImageStatus(e,()=>{this._lifecycle(Hs.LOADED,i,e)},()=>{e.onload=null,this._lifecycle(Hs.ERROR,i,e),this._realObserver(e)?.disconnect(),s&&e.getAttribute("src")!==s&&e.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):e.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(e,n,s,i,r){const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{r&&r>0?this._delayedIntersectionCallback(e,l,r,n,s,i):this._intersectionCallback(e,l,n,s,i)})},o)),this._realObserver(e)?.observe(e)}_intersectionCallback(e,n,s,i,r){n.isIntersecting&&(this._realObserver(e)?.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(qr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(qr)},s);n.target.setAttribute(qr,String(a))}else n.target.hasAttribute(qr)&&(clearTimeout(Number(n.target.getAttribute(qr))),n.target.removeAttribute(qr))}_listenImageStatus(e,n,s){e.onload=n,e.onerror=s}_valueFormatter(e){let n=e,s=this.options.loading,i=this.options.error,r=this.options.lifecycle,o=this.options.delay;return Ta(e)&&(n=e.src,s=e.loading||this.options.loading,i=e.error||this.options.error,r=e.lifecycle||this.options.lifecycle,o=e.delay||this.options.delay),{src:n,loading:s,error:i,lifecycle:r,delay:o}}_log(e){this.options.log&&e()}_lifecycle(e,n,s){switch(e){case Hs.LOADING:s?.setAttribute("lazy",Hs.LOADING),n?.loading&&n.loading(s);break;case Hs.LOADED:s?.setAttribute("lazy",Hs.LOADED),n?.loaded&&n.loaded(s);break;case Hs.ERROR:s?.setAttribute("lazy",Hs.ERROR),n?.error&&n.error(s);break}}_realObserver(e){return this._images.get(e)}_logger(e,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(e,n)}}const JN={install(t,e){const n=new ZN(e);t.config.globalProperties.$Lazyload=n,t.provide("Lazyload",n),t.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var Xd={exports:{}},Yd={exports:{}},Zd={};/** * @vue/compiler-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT @@ -76,7 +76,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins font-size="${t.size/3}" fill="${n}"> ${t.caption} - `;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(s)}`},b5={name:"ControlImage",props:{caption:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},size:600}},computed:{source(){return{lifecycle:{error:t=>{t.src=this.uri}},src:this.url||this.uri}},uri(){return y5({alternate:this.caption,caption:this.caption.substring(0,2),font:this.font,size:this.size})}}},v5={class:"figure has-shadow is-clickable"};function _5(t,e,n,s,i,r){const o=Qh("lazy");return O(),F("figure",v5,[ms(P("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,r.source]])])}const jr=nt(b5,[["render",_5],["__scopeId","data-v-e43b98b9"]]),{t:Jl,locale:S5}=Gs.global,AS="NO_INDEX",E5=(t,e)=>t-e,w5=(t,e)=>t.localeCompare(e,S5.value),k5=(t,e)=>{const n=Date.parse(t),s=Date.parse(e),i=isNaN(n),r=isNaN(s);return i&&r?0:i&&1||r&&-1||n-s},C5=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>w5(i[e],r[e])*s;case Number:return(i,r)=>E5(i[e],r[e])*s;case Date:return(i,r)=>k5(i[e],r[e])*s;default:return()=>0}}),T5=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},A5=t=>{},O5=[{difference:NaN,text:()=>Jl("grouped-list.undefined")},{difference:864e5,text:()=>Jl("grouped-list.today")},{difference:6048e5,text:()=>Jl("grouped-list.last-week")},{difference:2592e6,text:()=>Jl("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],x5=t=>{const e=new Date(t),n=new Date-e;return O5.find(s=>isNaN(n)||n{switch(e){case String:return n=>T5(n[t]);case Number:return n=>n[t];case Date:return n=>x5(n[t]);case"Digits":return n=>A5(n[t]);default:return()=>AS}};class Ct{constructor({items:e=[],total:n=0,offset:s=0,limit:i=-1}={},r={}){this.items=e,this.total=n,this.offset=s,this.limit=i,this.count=e.length,this.indices=[],this.group(r)}group({criteria:e=[],filters:n=[],index:s}={}){const i=this.items.filter(l=>n.every(c=>c(l)));this.count=i.length;const r=C5(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=I5(s);return this.itemsGrouped=o.reduce((l,c)=>{const u=a(c);return l.set(u,[...l.get(u)||[],c]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[e,n]of this.itemsGrouped.entries()){e!==AS&&(yield{index:e,isItem:!1,item:{},itemId:e});for(const s of n)yield{index:e,isItem:!0,item:s,itemId:s.id}}}[Symbol.iterator](){return this.generate()}}const pm={name:"ControlProgress",props:{size:{default:36,type:Number},value:{default:0,type:Number}},computed:{offset(){return 1-this.value},progress(){return`${Math.round(this.value*100)}%`}}},Ib=()=>{ap(t=>({"3ce61f74":t.offset}))},Nb=pm.setup;pm.setup=Nb?(t,e)=>(Ib(),Nb(t,e)):Ib;const N5={class:"is-flex"},P5=["width","height"],R5=["textContent"];function D5(t,e,n,s,i,r){return O(),F("div",N5,[(O(),F("svg",{width:n.size,height:n.size,viewBox:"0 0 200 200"},[e[0]||(e[0]=P("defs",null,[P("circle",{id:"circle",cx:"50%",cy:"50%",pathLength:"1",r:"90"})],-1)),e[1]||(e[1]=P("use",{href:"#circle",class:"progress-base"},null,-1)),e[2]||(e[2]=P("use",{href:"#circle",class:"progress-bar"},null,-1)),P("text",{x:"50%",y:"50%",class:"is-size-1 progress-text",textContent:et(r.progress)},null,8,R5)],8,P5))])}const L5=nt(pm,[["render",D5],["__scopeId","data-v-06c7995f"]]),M5={name:"ListItem",components:{ControlImage:jr,ControlProgress:L5},props:{icon:{default:null,type:String},image:{default:null,type:Object},index:{default:null,type:[String,Number]},isItem:{default:!0,type:Boolean},isPlayable:{default:!0,type:Boolean},isRead:{default:!1,type:Boolean},lines:{default:null,type:Array},progress:{default:null,type:Number}},emits:["open","openDetails"],methods:{open(){this.$emit("open")},openDetails(){this.$emit("openDetails")}}},$5={key:0,class:"py-5"},F5={class:"media-content"},V5=["id","textContent"],U5={class:"media-content"},H5=["textContent"],j5={key:0,class:"is-size-7 has-text-grey"},B5={key:2,class:"media-right"},W5={class:"media-right"};function G5(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image"),l=w("control-progress");return n.isItem?(O(),F("div",{key:1,class:Gt(["media is-align-items-center mb-0",{"is-clickable":n.isPlayable,"is-not-allowed":!n.isPlayable}]),onClick:e[1]||(e[1]=(...c)=>r.open&&r.open(...c))},[n.icon?(O(),yt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):_t("",!0),n.image?(O(),yt(a,{key:1,url:n.image.url,caption:n.image.caption,class:"media-left is-small"},null,8,["url","caption"])):_t("",!0),P("div",U5,[(O(!0),F(it,null,de(n.lines,(c,u)=>(O(),F("div",{key:u,class:Gt({"is-size-6":u===0,"is-size-7":u!==0,"has-text-weight-bold":u!==2,"has-text-grey":(u!==0||n.isRead)&&n.isPlayable,"has-text-grey-light":!n.isPlayable}),textContent:et(c)},null,10,H5))),128)),n.isPlayable?_t("",!0):(O(),F("div",j5,[le(t.$slots,"reason",{},void 0,!0)]))]),n.progress?(O(),F("div",B5,[E(l,{value:n.progress},null,8,["value"])])):_t("",!0),P("div",W5,[P("a",{onClick:e[0]||(e[0]=Bn((...c)=>r.openDetails&&r.openDetails(...c),["prevent","stop"]))},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(O(),F("div",$5,[P("div",F5,[P("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:et(n.index)},null,8,V5)])]))}const $s=nt(M5,[["render",G5],["__scopeId","data-v-8ec36f11"]]),K5={name:"ListProperties",components:{ControlImage:jr},props:{item:{required:!0,type:Object}}},q5=["textContent"],z5={class:"title is-6"},X5=["onClick","textContent"],Y5=["textContent"];function Z5(t,e,n,s,i,r){const o=w("control-image");return O(),F(it,null,[n.item.image?(O(),yt(o,{key:0,url:n.item.image,caption:n.item.name,class:"is-normal mb-5"},null,8,["url","caption"])):_t("",!0),t.$slots.buttons?le(t.$slots,"buttons",{key:1}):_t("",!0),(O(!0),F(it,null,de(n.item.properties?.filter(a=>a.value),a=>(O(),F("div",{key:a.key,class:"mb-3"},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t(a.key))},null,8,q5),P("div",z5,[a.handler?(O(),F("a",{key:0,onClick:a.handler,textContent:et(a.value)},null,8,X5)):(O(),F("span",{key:1,class:"title is-6",textContent:et(a.value)},null,8,Y5))])]))),128))],64)}const OS=nt(K5,[["render",Z5]]),J5={name:"ModalDialogPlayable",components:{ControlButton:un,ListProperties:OS,ModalDialog:rr},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{handler:this.addToQueue,icon:"playlist-plus",key:"actions.add"},{handler:this.addNextToQueue,icon:"playlist-play",key:"actions.add-next"},{handler:this.play,icon:"play",key:"actions.play"}]}},methods:{addNextToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression,!0):ae.addUri(this.item.uris||this.item.uri,!0)},addToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression):ae.addUri(this.item.uris||this.item.uri)},play(){this.$emit("close"),this.item.expression?ae.playExpression(this.item.expression,!1):ae.playUri(this.item.uris||this.item.uri,!1)}}},Q5={class:"buttons"};function t8(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return O(),yt(l,{actions:r.actions,show:n.show,title:n.item.name,onClose:e[0]||(e[0]=c=>t.$emit("close"))},{content:M(()=>[E(a,{item:n.item},cl({_:2},[n.buttons.length?{name:"buttons",fn:M(()=>[P("div",Q5,[(O(!0),F(it,null,de(n.buttons,c=>(O(),yt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const bs=nt(J5,[["render",t8]]),e8={name:"ModalDialogTrack",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],computed:{buttons(){return this.item.media_kind!=="podcast"?[]:this.item.play_count>0?[{handler:this.markAsNew,key:"actions.mark-as-new"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.item.length_ms>0&&this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)},{key:"property.rating",value:this.$t("dialog.track.rating-value",{rating:Math.floor(this.item.rating/10)})},{key:"property.comment",value:this.item.comment},{key:"property.path",value:this.item.path}],uri:this.item.uri}}},methods:{markAsNew(){Tt.updateTrack(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){Tt.updateTrack(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openAlbum(){this.$emit("close"),this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobook-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})}}};function n8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["buttons","item","show"])}const s8=nt(e8,[["render",n8]]),i8={name:"ListTracks",components:{ListItem:$s,ModalDialogTrack:s8},props:{expression:{default:"",type:String},icon:{default:null,type:String},items:{default:null,type:Object},load:{default:null,type:Function},showProgress:{default:!1,type:Boolean},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selectedItem:{},showDetailsModal:!1}},methods:{isRead(t){return t.media_kind==="podcast"&&t.play_count>0},open(t){this.uris?ae.playUri(this.uris,!1,this.items.items.indexOf(t)):this.expression?ae.playExpression(this.expression,!1,this.items.items.indexOf(t)):ae.playUri(t.uri,!1)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},progress(t){return this.showProgress&&t.seek_ms>0?t.seek_ms/t.length_ms:null}}};function r8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,icon:n.icon,"is-item":l.isItem,"is-read":r.isRead(l.item),index:l.index,lines:[l.item.title,l.item.artist,l.item.album],progress:r.progress(l.item),onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","is-read","index","lines","progress","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:e[1]||(e[1]=l=>t.$emit("play-count-changed"))},null,8,["item","show"])],64)}const es=nt(i8,[["render",r8]]),o8={name:"ModalDialogAlbum",components:{ModalDialog:rr,ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},mediaKind:{default:"",type:String},show:Boolean},emits:["close","play-count-changed","podcast-deleted"],data(){return{showRemovePodcastModal:!1}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:this.$t("actions.cancel")},{handler:this.removePodcast,icon:"delete",key:this.$t("actions.remove")}]},buttons(){return this.computedMediaKind==="podcast"?this.item.data_kind==="url"?[{handler:this.markAsPlayed,key:"actions.mark-as-played"},{handler:this.openRemovePodcastDialog,key:"actions.remove"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]:[]},computedMediaKind(){return this.mediaKind||this.item.media_kind},playable(){return{image:this.item.artwork_url,name:this.item.name,properties:[{handler:this.openArtist,key:"property.artist",value:this.item.artist},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}},methods:{cancel(){this.showRemovePodcastModal=!1},markAsPlayed(){Tt.updateAlbum(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.$router.push({name:`${this.computedMediaKind}-artist`,params:{id:this.item.artist_id}})},openRemovePodcastDialog(){this.showRemovePodcastModal=!0,this.showDetailsModal=!1},removePodcast(){this.showRemovePodcastModal=!1,Tt.albumTracks(this.item.id,{limit:1}).then(t=>{Tt.trackPlaylists(t.items[0].id).then(e=>{const{id:n}=e.items.find(s=>s.type==="rss");Tt.playlistDelete(n).then(()=>{this.$emit("podcast-deleted"),this.$emit("close")})})})}}},a8=["textContent"];function l8(t,e,n,s,i,r){const o=w("modal-dialog-playable"),a=w("i18n-t"),l=w("modal-dialog");return O(),F(it,null,[E(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=c=>t.$emit("close"))},null,8,["buttons","item","show"]),E(l,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("dialog.podcast.remove.title"),onClose:e[1]||(e[1]=c=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:M(()=>[E(a,{tag:"p",keypath:"dialog.podcast.remove.info",scope:"global"},{separator:M(()=>e[2]||(e[2]=[P("br",null,null,-1)])),name:M(()=>[P("b",{textContent:et(n.item.name)},null,8,a8)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const vd=nt(o8,[["render",l8]]),c8={name:"PaneHero",components:{ControlButton:un},props:{content:{required:!0,type:Object}}},u8=["textContent"],d8={class:"subtitle is-6"},f8=["textContent"],h8=["textContent"],p8={class:"buttons is-centered-mobile mt-5"};function m8(t,e,n,s,i,r){const o=w("control-button");return O(),F(it,null,[P("div",{class:"title is-5",textContent:et(n.content.title)},null,8,u8),P("div",d8,[P("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:et(n.content.subtitle)},null,8,f8)]),P("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:et(n.content.count)},null,8,h8),P("div",p8,[(O(!0),F(it,null,de(n.content.actions,(a,l)=>(O(),yt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const _d=nt(c8,[["render",m8]]),g8={name:"PageAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),r.tracks.indices.length<2&&r.tracks.group()})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!0)}}};function y8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const b8=nt(g8,[["render",y8]]);function v8(t){return t.scrollHeight}function _8(t){return t.scrollWidth}function S8(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function E8(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const w8=P("div",{class:"loading"},"Loading...",-1),k8=P("div",{class:"no-more"},"No more.",-1),C8=P("div",{class:"no-results"},"No results.",-1),T8=P("div",{class:"error"},"Error.",-1),A8=Ti({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(t,{emit:e}){const n=t,s=cs();let i=cs("loading"),r=cs(n.isInitial),o=0;function a(){Vr(()=>{var g,b;n.position==="top"?S8((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&E8((b=n.container)!=null?b:document.documentElement,o)})}function l(g,b){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&b!==void 0&&g{var b,S;g.isIntersecting&&(n.position==="top"?o=v8((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(o=_8((S=n.container)!=null?S:document.documentElement)),m(),n.load({loaded:l,noMore:c,noResults:u,error:d},{isFirstLoad:r.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let v;return typeof IntersectionObserver<"u"&&gv(()=>{v&&m(),v=y(),_()},{flush:"post"}),Zn(()=>n.isInitial,g=>{g&&f()}),Zn(r,g=>{g||e("update:isInitial",!1)}),(g,b)=>(O(),F("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[Vn(i)==="loading"?le(g.$slots,"loading",ao(co({key:0},{isFirstLoad:Vn(r)})),()=>[w8]):Vn(i)==="no-more"?le(g.$slots,"no-more",ao(co({key:1},{retry:h})),()=>[k8]):Vn(i)==="no-results"?le(g.$slots,"no-results",ao(co({key:2},{retry:h})),()=>[C8]):Vn(i)==="error"?le(g.$slots,"error",ao(co({key:3},{retry:h})),()=>[T8]):_t("",!0)],512))}}),O8={name:"LoaderListItem",components:{VueEternalLoading:A8},props:{load:{default:null,type:Function}}},x8={class:"columns is-centered"},I8={class:"column has-text-centered"};function N8(t,e,n,s,i,r){const o=w("mdicon"),a=w("vue-eternal-loading");return n.load?(O(),yt(a,{key:0,load:n.load},{loading:M(()=>[P("div",x8,[P("div",I8,[E(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[0]||(e[0]=[P("br",null,null,-1)])),"no-results":M(()=>e[1]||(e[1]=[P("br",null,null,-1)])),_:1},8,["load"])):_t("",!0)}const Sd=nt(O8,[["render",N8]]),P8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return this.item.artists?{name:this.item.name,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album.name},{handler:this.openArtist,key:"property.album-artist",value:this.item.artists[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.album.release_date)},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.duration_ms)},{key:"property.path",value:this.item.uri}],uri:this.item.uri}:{}}},methods:{openAlbum(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function R8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const D8=nt(P8,[["render",R8]]),L8={name:"ListTracksSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogTrackSpotify:D8},props:{contextUri:{default:"",type:String},items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){t.is_playable&&ae.playUri(this.contextUri||t.uri,!1,t.position||0)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}},M8=["textContent"],$8=["textContent"];function F8(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-track-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-playable":c.is_playable,lines:[c.name,c.artists[0].name,c.album.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},cl({_:2},[c.is_playable?void 0:{name:"reason",fn:M(()=>[e[1]||(e[1]=Ys(" (",-1)),P("span",{textContent:et(t.$t("list.spotify.not-playable-track"))},null,8,M8),c.restrictions?.reason?(O(),F("span",{key:0,textContent:et(t.$t("list.spotify.restriction-reason",{reason:c.restrictions.reason}))},null,8,$8)):_t("",!0),e[2]||(e[2]=Ys(") ",-1))]),key:"0"}]),1032,["is-playable","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const mm=nt(L8,[["render",F8]]),V8={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:this.item?.artists?.[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.release_date)},{key:"property.type",value:this.item.album_type}],uri:this.item.uri}}},methods:{openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function U8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const xS=nt(V8,[["render",U8]]),H8={name:"PageAlbumSpotify",components:{ContentWithHero:bd,ControlImage:jr,ListTracksSpotify:mm,ModalDialogAlbumSpotify:xS,PaneHero:_d},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.albums.get(t.params.id,i.webapi_country).then(r=>{n(o=>{o.album=r})})})},setup(){return{servicesStore:Qn()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}],count:this.$t("data.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name}},tracks(){const{album:t}=this;return t.tracks.total?t.tracks.items.map(e=>({...e,album:t})):[]}},methods:{openArtist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ae.playUri(this.album.uri,!0)}}};function j8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks-spotify"),c=w("content-with-hero"),u=w("modal-dialog-album-spotify");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.images?.[0]?.url??"",caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:r.tracks,"context-uri":i.album.uri},null,8,["items","context-uri"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const B8=nt(H8,[["render",j8]]),W8={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(t=>t.id===this.value)}}},methods:{deactivate(){this.active=!1},select(t){this.active=!1,this.$emit("update:value",t.id)}}},G8={class:"dropdown-trigger"},K8=["textContent"],q8={id:"dropdown",class:"dropdown-menu",role:"menu"},z8={class:"dropdown-content"},X8=["onClick","textContent"];function Y8(t,e,n,s,i,r){const o=w("mdicon"),a=Qh("click-away");return ms((O(),F("div",{class:Gt(["dropdown",{"is-active":i.active}])},[P("div",G8,[P("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[P("span",{textContent:et(r.option.name)},null,8,K8),E(o,{class:"icon",name:"chevron-down",size:"16"})])]),P("div",q8,[P("div",z8,[(O(!0),F(it,null,de(n.options,l=>(O(),F("a",{key:l.id,class:Gt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:et(l.name)},null,10,X8))),128))])])],2)),[[a,r.deactivate]])}const Br=nt(W8,[["render",Y8]]),Z8={name:"ListAlbums",components:{ListItem:$s,ModalDialogAlbum:vd},props:{items:{required:!0,type:Object},load:{default:null,type:Function},mediaKind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.item.name,url:t.item.artwork_url}:null},open(t){const e=this.mediaKind||t.media_kind;e==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):this.$router.push({name:`${e}-album`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},playCountChanged(){this.$emit("play-count-changed")},podcastDeleted(){this.$emit("podcast-deleted")}}};function J8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,image:r.image(l),index:l.index,lines:[l.item.name,l.item.artist,t.$formatters.toDate(l.item.date_released)],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:r.playCountChanged,onPodcastDeleted:r.podcastDeleted},null,8,["item","media-kind","show","onPlayCountChanged","onPodcastDeleted"])],64)}const hs=nt(Z8,[["render",J8]]),Q8={name:"ListIndexButtons",props:{indices:{required:!0,type:Array}}},t6={class:"buttons is-centered mb-4"};function e6(t,e,n,s,i,r){const o=w("router-link");return O(),F("section",null,[P("nav",t6,[(O(!0),F(it,null,de(n.indices,a=>(O(),yt(o,{key:a,class:"button is-small p-2 is-index",to:{hash:`#index_${a}`,query:t.$route.query}},{default:M(()=>[Ys(et(a),1)]),_:2},1032,["to"]))),128))])])}const vs=nt(Q8,[["render",e6],["__scopeId","data-v-dc002763"]]),n6={name:"ListOptions"},s6={class:"columns"},i6={key:0,class:"column"},r6=["textContent"],o6={key:1,class:"column"},a6=["textContent"];function l6(t,e,n,s,i,r){return O(),F("div",s6,[t.$slots.filter?(O(),F("div",i6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.filter.title"))},null,8,r6),le(t.$slots,"filter")])):_t("",!0),t.$slots.sort?(O(),F("div",o6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.sort.title"))},null,8,a6),le(t.$slots,"sort")])):_t("",!0)])}const Xo=nt(n6,[["render",l6]]),c6={name:"ControlTabList",props:{links:{required:!0,type:Array}}},u6={class:"section py-0 tabs-section"},d6={class:"container"},f6={class:"columns is-centered my-0"},h6={class:"column is-four-fifths py-0"},p6={class:"tabs is-centered is-small"},m6=["onClick","onKeypress"],g6=["textContent"];function y6(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return O(),F("section",u6,[P("div",d6,[P("div",f6,[P("div",h6,[P("div",p6,[P("ul",null,[(O(!0),F(it,null,de(n.links,l=>(O(),yt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:M(({navigate:c,isActive:u})=>[P("li",{class:Gt({"is-active":u})},[P("a",{onClick:c,onKeypress:Xv(c,["enter"])},[l.icon?(O(),yt(o,{key:0,class:"icon is-small mx-1",name:l.icon},null,8,["name"])):_t("",!0),P("span",{class:Gt({"is-hidden-mobile":l.icon}),textContent:et(t.$t(l.key))},null,10,g6)],40,m6)],2)]),_:2},1032,["to"]))),128))])])])])])])}const gm=nt(c6,[["render",y6],["__scopeId","data-v-51d61991"]]),b6={name:"TabsMusic",components:{ControlTabList:gm},setup(){return{servicesStore:Qn()}},computed:{links(){const t=[{icon:"history",key:"page.music.tabs.history",to:{name:"music-history"}},{icon:"account-music",key:"page.music.tabs.artists",to:{name:"music-artists"}},{icon:"album",key:"page.music.tabs.albums",to:{name:"music-albums"}},{icon:"speaker",key:"page.music.tabs.genres",to:{name:"music-genres"}},{icon:"book-open-page-variant",key:"page.music.tabs.composers",to:{name:"music-composers"}}];return this.servicesStore.isSpotifyActive&&t.push({icon:"spotify",key:"page.music.tabs.spotify",to:{name:"music-spotify"}}),t}}};function v6(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const ti=nt(b6,[["render",v6]]),_6={name:"PageAlbums",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.albums("music").then(s=>{n(i=>{i.albumList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.albumsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("options.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("options.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("options.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"}],title:this.$t("page.albums.title")}}}},S6=["textContent"],E6=["textContent"],w6=["textContent"],k6=["textContent"];function C6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-albums"),h=w("content-with-heading");return O(),F(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.albums.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,S6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,E6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,w6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,k6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.albumsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.albumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.albums},null,8,["items"])]),_:1})],64)}const T6=nt(_6,[["render",C6]]),A6={name:"ModalDialogArtist",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.type",value:this.$t(`data.kind.${this.item.data_kind}`)},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}}};function O6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const Ed=nt(A6,[["render",O6]]),x6={name:"PageArtist",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListOptions:Xo,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albumList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct,artist:{},showDetailsModal:!1}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistAlbumsSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("options.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"},{count:this.trackCount,handler:this.openTracks,key:"data.tracks"}],title:this.artist.name}},trackCount(){return[...this.albums].reduce((t,e)=>t+(e?.item.track_count||0),0)}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!0)}}},I6=["textContent"],N6=["textContent"];function P6(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-albums"),f=w("content-with-heading"),h=w("modal-dialog-artist");return O(),F(it,null,[E(f,null,{options:M(()=>[E(l,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,I6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,N6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(a,{value:s.uiStore.artistAlbumsSort,"onUpdate:value":e[1]||(e[1]=p=>s.uiStore.artistAlbumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.albums},null,8,["items"])]),_:1}),E(h,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const R6=nt(x6,[["render",P6]]),D6={name:"ListAlbumsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogAlbumSpotify:xS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url??""}:null},open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function L6(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-album-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.artists[0]?.name,t.$formatters.toDate(c.release_date)],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const wd=nt(D6,[["render",L6]]),M6={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,this.item.followers?.total].join(" / ")},{key:"property.genres",value:this.item.genres?.join(", ")}],uri:this.item.uri}}}};function $6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const IS=nt(M6,[["render",$6]]),ff=50,F6={name:"PageArtistSpotify",components:{ContentWithHeading:ie,ControlButton:un,ListAlbumsSpotify:wd,ModalDialogArtistSpotify:IS,PaneTitle:re},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.artists.get(t.params.id),s.artists.albums(t.params.id,"album,single",i.webapi_country,ff,0)]).then(([r,o])=>{n(a=>{a.artist=r,a.albums=o.items,a.total=o.total,a.offset=o.limit})})})},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"data.albums"}],title:this.artist.name}}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Nn.spotify().then(({api:e,configuration:n})=>{e.artists.albums(this.artist.id,"album,single",n.webapi_country,ff,this.offset).then(s=>{this.appendAlbums(s),t(s.items.length,ff)})})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ae.playUri(this.artist.uri,!0)}}};function V6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums-spotify"),c=w("content-with-heading"),u=w("modal-dialog-artist-spotify");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums,load:r.load},null,8,["items","load"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const U6=nt(F6,[["render",V6]]),H6={name:"PageArtistTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.trackList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artist:{},showDetailsModal:!1,trackList:new Ct}},computed:{albumCount(){return new Set([...this.tracks].filter(t=>t.isItem).map(t=>t.item.album_id)).size},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return{subtitle:[{count:this.albumCount,handler:this.openArtist,key:"data.albums"},{count:this.tracks.count,key:"data.tracks"}],title:this.artist.name}},trackUris(){return this.trackList.items.map(t=>t.uri).join()},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistTracksSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.trackList.group(t)}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.trackList.items.map(t=>t.uri).join(),!0)}}},j6=["textContent"],B6=["textContent"];function W6(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-switch"),l=w("control-dropdown"),c=w("list-options"),u=w("pane-title"),d=w("control-button"),f=w("list-tracks"),h=w("content-with-heading"),p=w("modal-dialog-artist");return O(),F(it,null,[E(h,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(c,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,j6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,B6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(l,{value:s.uiStore.artistTracksSort,"onUpdate:value":e[1]||(e[1]=m=>s.uiStore.artistTracksSort=m),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(u,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(d,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(d,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(f,{items:r.tracks,uris:r.trackUris},null,8,["items","uris"])]),_:1}),E(p,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=m=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const G6=nt(H6,[["render",W6]]),K6={name:"ListArtists",components:{ListItem:$s,ModalDialogArtist:Ed},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:`${t.media_kind}-artist`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function q6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const ym=nt(K6,[["render",q6]]),z6={name:"PageArtists",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListArtists:ym,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.artists("music").then(s=>{n(i=>{i.artistList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artistList:new Ct}},computed:{artists(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>e.album_count*2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.artistList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]},heading(){return{subtitle:[{count:this.artists.count,key:"data.artists"}],title:this.$t("page.artists.title")}}}},X6=["textContent"],Y6=["textContent"],Z6=["textContent"],J6=["textContent"];function Q6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-artists"),h=w("content-with-heading");return O(),F(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.artists.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,X6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,Y6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,Z6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,J6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.artistsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.artistsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.artists},null,8,["items"])]),_:1})],64)}const tF=nt(z6,[["render",Q6]]),eF={name:"PageAudiobookAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"audiobook-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!1)}}};function nF(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,"media-kind":"audiobook",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const sF=nt(eF,[["render",nF]]),iF={name:"TabsAudiobooks",components:{ControlTabList:gm},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobook-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobook-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobook-genres"}}]}}};function rF(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const bm=nt(iF,[["render",rF]]),oF={name:"PageAudiobookAlbums",components:{ContentWithHeading:ie,ListAlbums:hs,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.albums("audiobook").then(s=>{n(i=>{i.albums=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"data.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function aF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-albums"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1})],64)}const lF=nt(oF,[["render",aF]]),cF={name:"PageAudiobookArtist",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,artist:{},showDetailsModal:!1}},computed:{heading(){return this.artist.name?{subtitle:[{count:this.artist.album_count,key:"data.audiobooks"}],title:this.artist.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!1)}}};function uF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-artist");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const dF=nt(cF,[["render",uF]]),fF={name:"PageAudiobookArtists",components:{ContentWithHeading:ie,ListArtists:ym,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.artists("audiobook").then(s=>{n(i=>{i.artists=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{artists:new Ct}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"data.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function hF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-artists"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.artists.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.artists},null,8,["items"])]),_:1})],64)}const pF=nt(fF,[["render",hF]]),mF={name:"ModalDialogGenre",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},mediaKind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`genre is "${this.item.name}" and media_kind is ${this.mediaKind}`,name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}}};function gF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const vm=nt(mF,[["render",gF]]),yF={name:"ListGenres",components:{ListItem:$s,ModalDialogGenre:vm},props:{items:{required:!0,type:Object},mediaKind:{required:!0,type:String}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"genre-albums",params:{name:t.name},query:{mediaKind:this.mediaKind}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function bF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const NS=nt(yF,[["render",bF]]),vF={name:"PageAudiobooksGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.genres("audiobook").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function _F(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"audiobook"},null,8,["items"])]),_:1})],64)}const SF=nt(vF,[["render",_F]]),EF={name:"ModalDialogComposer",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{expression:`composer is "${this.item.name}" and media_kind is music`,name:this.item.name,properties:[{handler:this.openAlbums,key:"property.albums",value:this.item.album_count},{handler:this.openTracks,key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}},methods:{openAlbums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},openTracks(){this.$emit("close"),this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})}}};function wF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const _m=nt(EF,[["render",wF]]),kF={name:"PageComposerAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerAlbums(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,composer:{},showDetailsModal:!1}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,key:"data.albums"},{count:this.composer.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.composer.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){ae.playExpression(this.expression,!0)}}};function CF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-composer");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.composer,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const TF=nt(kF,[["render",CF]]),AF={name:"PageComposerTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerTracks(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{composer:{},showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,handler:this.openAlbums,key:"data.albums"},{count:this.composer.track_count,key:"data.tracks"}],title:this.composer.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.composerTracksSort);return this.trackList.group(t)}},methods:{openAlbums(){this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},openDetails(){this.showDetailsModal=!0},play(){ae.playExpression(this.expression,!0)}}};function OF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-composer");return O(),F(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.composerTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.composerTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.composer,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const xF=nt(AF,[["render",OF]]),IF={name:"ListComposers",components:{ListItem:$s,ModalDialogComposer:_m},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function NF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const PS=nt(IF,[["render",NF]]),PF={name:"PageComposers",components:{ContentWithHeading:ie,ListComposers:PS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.composers("music").then(s=>{n(i=>{i.composers=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{composers:new Ct}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"data.composers"}],title:this.$t("page.composers.title")}}}};function RF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-composers"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.composers.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.composers},null,8,["items"])]),_:1})],64)}const DF=nt(PF,[["render",RF]]),LF={name:"ModalDialogDirectory",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`path starts with "${this.item}" order by path asc`,name:this.item}}}};function MF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const $F=nt(LF,[["render",MF]]),FF={name:"ListDirectories",components:{ListItem:$s,ModalDialogDirectory:$F},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){const t=[];let e="";return this.$route.query?.directory.split("/").slice(1,-1).forEach((n,s)=>{e=`${e}/${n}`,t.push({index:s,name:n,path:e})}),t}},methods:{open(t){const e={name:"files"};t.index!==0&&(e.query={directory:t.path}),this.$router.push(e)},openDetails(t){this.selectedItem=t.path,this.showDetailsModal=!0},openParent(){this.open(this.directories.slice(-1).pop())}}},VF={key:0,class:"media is-align-items-center mb-0"},UF={class:"media-content"},HF={class:"breadcrumb"},jF=["onClick","textContent"],BF={class:"media-right"};function WF(t,e,n,s,i,r){const o=w("mdicon"),a=w("list-item"),l=w("modal-dialog-directory");return O(),F(it,null,[t.$route.query.directory?(O(),F("div",VF,[E(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),P("div",UF,[P("nav",HF,[P("ul",null,[(O(!0),F(it,null,de(r.directories,c=>(O(),F("li",{key:c.index},[P("a",{onClick:u=>r.open(c),textContent:et(c.name)},null,8,jF)]))),128))])])]),P("div",BF,[le(t.$slots,"actions")])])):_t("",!0),(O(!0),F(it,null,de(n.items,c=>(O(),yt(a,{key:c.path,icon:"folder",lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["lines","onOpen","onOpenDetails"]))),128)),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const GF=nt(FF,[["render",WF]]),KF={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.tracks",value:this.item.item_count},{key:"property.type",value:this.$t(`playlist.type.${this.item.type}`)},{key:"property.path",value:this.item.path}],uri:this.item.uri,uris:this.uris}}}};function qF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const RS=nt(KF,[["render",qF]]),zF={name:"ListPlaylists",components:{ListItem:$s,ModalDialogPlaylist:RS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{icon(t){return t.type==="folder"?"folder":t.type==="rss"?"rss":"music-box-multiple"},open(t){t.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:t.id}}):this.$router.push({name:"playlist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function XF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,icon:r.icon(l.item),"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Sm=nt(zF,[["render",XF]]),YF={name:"PageFiles",components:{ContentWithHeading:ie,ControlButton:un,ListDirectories:GF,ListPlaylists:Sm,ListTracks:es,ModalDialogPlayable:bs,PaneTitle:re},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t)})},beforeRouteUpdate(t,e,n){this.fetchData(t).then(()=>n())},setup(){return{configurationStore:jo()}},data(){return{directories:[],playlists:new Ct,showDetailsModal:!1,tracks:new Ct}},computed:{current(){return this.$route.query?.directory||"/"},name(){return this.current!=="/"?this.current?.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},playable(){return{expression:`path starts with "${this.current}" order by path asc`,name:this.current,properties:[{key:"property.folders",value:this.directories.length},{key:"property.playlists",value:this.playlists.total},{key:"property.tracks",value:this.tracks.total}]}}},methods:{async fetchData(t){if(t.query.directory){const e=await Tt.files(t.query.directory);e&&(this.directories=e.directories.map(n=>this.transform(n.path)),this.playlists=new Ct(e.playlists),this.tracks=new Ct(e.tracks))}else this.directories=this.configurationStore.directories.map(e=>this.transform(e)),this.playlists=new Ct,this.tracks=new Ct},openDetails(){this.showDetailsModal=!0},play(){ae.playExpression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function ZF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-directories"),c=w("list-playlists"),u=w("list-tracks"),d=w("content-with-heading"),f=w("modal-dialog-playable");return O(),F(it,null,[E(d,null,{heading:M(()=>[E(o,{content:{title:r.name}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.directories},null,8,["items"]),E(c,{items:i.playlists},null,8,["items"]),E(u,{items:i.tracks,icon:"file-music-outline"},null,8,["items"])]),_:1}),E(f,{item:r.playable,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const JF=nt(YF,[["render",ZF]]),QF={name:"PageGenreAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ListIndexButtons:vs,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreAlbums(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.albums=new Ct(i,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct,genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1}},computed:{heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,key:"data.albums"},{count:this.genre.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.genre.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.showDetailsModal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ae.playExpression(`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`,!0)}}};function tV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("control-button"),c=w("list-albums"),u=w("content-with-heading"),d=w("modal-dialog-genre");return O(),F(it,null,[E(u,null,{options:M(()=>[E(o,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(l,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(l,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1}),E(d,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=f=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const eV=nt(QF,[["render",tV]]),nV={name:"PageGenreTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreTracks(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,handler:this.openGenre,key:"data.albums"},{count:this.genre.track_count,key:"data.tracks"}],title:this.genre.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.genreTracksSort);return this.trackList.group(t)}},methods:{openDetails(){this.showDetailsModal=!0},openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ae.playExpression(this.expression,!0)}}};function sV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-genre");return O(),F(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.genreTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.genreTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const iV=nt(nV,[["render",sV]]),rV={name:"PageGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.genres("music").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function oV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"music"},null,8,["items"])]),_:1})],64)}const aV=nt(rV,[["render",oV]]),lV={name:"PageMusic",components:{ContentWithHeading:ie,ListAlbums:hs,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Promise.all([Tt.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})]).then(([{albums:s},{tracks:i}])=>{n(r=>{r.albums=new Ct(s),r.tracks=new Ct(i)})})},data(){return{albums:[],tracks:null}}};function cV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("router-link"),u=w("content-with-heading"),d=w("list-tracks");return O(),F(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.tracks},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const uV=nt(lV,[["render",cV]]),dV={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:ie,ListAlbums:hs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){const s=Js().recentlyAddedLimit;Tt.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:s,type:"album"}).then(i=>{n(r=>{r.albums=new Ct(i.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})})})},setup(){return{settingsStore:Js()}},data(){return{albums:new Ct}}};function fV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const hV=nt(dV,[["render",fV]]),pV={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:ie,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"}).then(s=>{n(i=>{i.tracks=new Ct(s.tracks)})})},data(){return{tracks:new Ct}}};function mV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.tracks},null,8,["items"])]),_:1})],64)}const gV=nt(pV,[["render",mV]]),yV={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.owner",value:this.item.owner?.display_name},{key:"property.tracks",value:this.item.tracks?.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function bV(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const DS=nt(yV,[["render",bV]]),vV={name:"ListPlaylistsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogPlaylistSpotify:DS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url}:null},open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function _V(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-playlist-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.owner.display_name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Em=nt(vV,[["render",_V]]),SV={name:"PageMusicSpotify",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.browse.getNewReleases(i.webapi_country,3),s.browse.getFeaturedPlaylists(i.webapi_country,null,null,3)]).then(r=>{n(o=>{o.albums=r[0].albums.items,o.playlists=r[1].playlists.items})})})},data(){return{albums:[],playlists:[]}}};function EV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("router-link"),u=w("content-with-heading"),d=w("list-playlists-spotify");return O(),F(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.new-releases")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.featured-playlists")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.playlists},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const wV=nt(SV,[["render",EV]]),kV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ie,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getFeaturedPlaylists(i.webapi_country,null,null,50).then(r=>{n(o=>{o.playlists=r.playlists.items})})})},data(){return{playlists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.featured-playlists")}}}};function CV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-playlists-spotify"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.playlists},null,8,["items"])]),_:1})],64)}const TV=nt(kV,[["render",CV]]),AV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getNewReleases(i.webapi_country,50).then(r=>{n(o=>{o.albums=r.albums.items})})})},data(){return{albums:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.new-releases")}}}};function OV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const xV=nt(AV,[["render",OV]]),IV={name:"ModalDialogQueueItem",components:{ListProperties:OS,ModalDialog:rr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Qn()}},data(){return{spotifyTrack:{}}},computed:{actions(){return[{handler:this.remove,icon:"delete",key:"actions.remove"},{handler:this.play,icon:"play",key:"actions.play"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.year",value:this.item.year},{handler:this.openGenre,key:"property.genre",value:this.item.genre},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.path",value:this.item.path},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){return this.item?.data_kind==="spotify"?Nn.spotify().then(({api:t})=>{const e=this.item.path.slice(this.item.path.lastIndexOf(":")+1);return t.tracks.get(e).then(n=>{this.spotifyTrack=n})}):(this.spotifyTrack={},{})}},methods:{openAlbum(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotifyTrack.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.$router.push({name:`${this.item.media_kind}-album`,params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotifyTrack.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})},play(){this.$emit("close"),en.play({item_id:this.item.id})},remove(){this.$emit("close"),ae.remove(this.item.id)}}};function NV(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:n.item.title,onClose:e[0]||(e[0]=l=>t.$emit("close"))},{content:M(()=>[E(o,{item:r.playable},null,8,["item"])]),_:1},8,["actions","show","title"])}const LS=nt(IV,[["render",NV]]),PV={name:"PaneLyrics",setup(){return{MIDDLE_POSITION:Math.floor(3.5),VISIBLE_VERSES:7,playerStore:Wn()}},data(){return{lastUpdateTime:0,lyrics:{synchronised:!1,verses:[]},time:0,timerId:null}},computed:{verseIndex(t,e){let n=0,s=e.length-1;for(;n<=s;){const i=Math.floor((n+s)/2),r=e[i].time,o=e[i+1]?.time;if(r<=t&&(!o||o>t))return i;rt[n+r]??{text:" "})}},watch:{"playerStore.isPlaying"(t){t?(this.lastUpdateTime=Date.now(),this.startTimer()):this.stopTimer()},"playerStore.item_progress_ms"(t){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying||(this.time=t)},"playerStore.lyricsContent"(){this.lyrics=this.parseLyrics()}},mounted(){this.playerStore.initialise(),this.lastUpdateTime=Date.now(),this.lyrics=this.parseLyrics(),this.updateTime()},beforeUnmount(){this.stopTimer()},methods:{isVerseHighlighted(t){return t===this.MIDDLE_POSITION&&this.lyrics.synchronised},isWordHighlighted(t){return this.time>=t.start&&this.time\d+):(?\d+)(?:\.(?\d+))?\])?\s*(?\S.*\S)?\s*/u;return this.playerStore.lyricsContent.split(` + `;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(s)}`},b5={name:"ControlImage",props:{caption:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},size:600}},computed:{source(){return{lifecycle:{error:t=>{t.src=this.uri}},src:this.url||this.uri}},uri(){return y5({alternate:this.caption,caption:this.caption.substring(0,2),font:this.font,size:this.size})}}},v5={class:"figure has-shadow is-clickable"};function _5(t,e,n,s,i,r){const o=Qh("lazy");return O(),F("figure",v5,[ms(P("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,r.source]])])}const jr=nt(b5,[["render",_5],["__scopeId","data-v-e43b98b9"]]),{t:Jl,locale:S5}=Gs.global,AS="NO_INDEX",E5=(t,e)=>t-e,w5=(t,e)=>t.localeCompare(e,S5.value),k5=(t,e)=>{const n=Date.parse(t),s=Date.parse(e),i=isNaN(n),r=isNaN(s);return i&&r?0:i&&1||r&&-1||n-s},C5=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>w5(i[e],r[e])*s;case Number:return(i,r)=>E5(i[e],r[e])*s;case Date:return(i,r)=>k5(i[e],r[e])*s;default:return()=>0}}),T5=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},A5=t=>{},O5=[{difference:NaN,text:()=>Jl("grouped-list.undefined")},{difference:864e5,text:()=>Jl("grouped-list.today")},{difference:6048e5,text:()=>Jl("grouped-list.last-week")},{difference:2592e6,text:()=>Jl("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],x5=t=>{const e=new Date(t),n=new Date-e;return O5.find(s=>isNaN(n)||n{switch(e){case String:return n=>T5(n[t]);case Number:return n=>n[t];case Date:return n=>x5(n[t]);case"Digits":return n=>A5(n[t]);default:return()=>AS}};class Ct{constructor({items:e=[],total:n=0,offset:s=0,limit:i=-1}={},r={}){this.items=e,this.total=n,this.offset=s,this.limit=i,this.count=e.length,this.indices=[],this.group(r)}group({criteria:e=[],filters:n=[],index:s}={}){const i=this.items.filter(l=>n.every(c=>c(l)));this.count=i.length;const r=C5(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=I5(s);return this.itemsGrouped=o.reduce((l,c)=>{const u=a(c);return l.set(u,[...l.get(u)||[],c]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[e,n]of this.itemsGrouped.entries()){e!==AS&&(yield{index:e,isItem:!1,item:{},itemId:e});for(const s of n)yield{index:e,isItem:!0,item:s,itemId:s.id}}}[Symbol.iterator](){return this.generate()}}const pm={name:"ControlProgress",props:{size:{default:36,type:Number},value:{default:0,type:Number}},computed:{offset(){return 1-this.value},progress(){return`${Math.round(this.value*100)}%`}}},Ib=()=>{ap(t=>({"3ce61f74":t.offset}))},Nb=pm.setup;pm.setup=Nb?(t,e)=>(Ib(),Nb(t,e)):Ib;const N5={class:"is-flex"},P5=["width","height"],R5=["textContent"];function D5(t,e,n,s,i,r){return O(),F("div",N5,[(O(),F("svg",{width:n.size,height:n.size,viewBox:"0 0 200 200"},[e[0]||(e[0]=P("defs",null,[P("circle",{id:"circle",cx:"50%",cy:"50%",pathLength:"1",r:"90"})],-1)),e[1]||(e[1]=P("use",{href:"#circle",class:"progress-base"},null,-1)),e[2]||(e[2]=P("use",{href:"#circle",class:"progress-bar"},null,-1)),P("text",{x:"50%",y:"50%",class:"is-size-1 progress-text",textContent:et(r.progress)},null,8,R5)],8,P5))])}const L5=nt(pm,[["render",D5],["__scopeId","data-v-06c7995f"]]),M5={name:"ListItem",components:{ControlImage:jr,ControlProgress:L5},props:{icon:{default:null,type:String},image:{default:null,type:Object},index:{default:null,type:[String,Number]},isItem:{default:!0,type:Boolean},isPlayable:{default:!0,type:Boolean},isRead:{default:!1,type:Boolean},lines:{default:null,type:Array},progress:{default:null,type:Number}},emits:["open","openDetails"],methods:{open(){this.$emit("open")},openDetails(){this.$emit("openDetails")}}},$5={key:0,class:"py-5"},F5={class:"media-content"},V5=["id","textContent"],U5={class:"media-content"},H5=["textContent"],j5={key:0,class:"is-size-7 has-text-grey"},B5={key:2,class:"media-right"},W5={class:"media-right"};function G5(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image"),l=w("control-progress");return n.isItem?(O(),F("div",{key:1,class:Gt(["media is-align-items-center mb-0",{"is-clickable":n.isPlayable,"is-not-allowed":!n.isPlayable}]),onClick:e[1]||(e[1]=(...c)=>r.open&&r.open(...c))},[n.icon?(O(),yt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):_t("",!0),n.image?(O(),yt(a,{key:1,url:n.image.url,caption:n.image.caption,class:"media-left is-small"},null,8,["url","caption"])):_t("",!0),P("div",U5,[(O(!0),F(it,null,de(n.lines,(c,u)=>(O(),F("div",{key:u,class:Gt({"is-size-6":u===0,"is-size-7":u!==0,"has-text-weight-bold":u!==2,"has-text-grey":(u!==0||n.isRead)&&n.isPlayable,"has-text-grey-light":!n.isPlayable}),textContent:et(c)},null,10,H5))),128)),n.isPlayable?_t("",!0):(O(),F("div",j5,[le(t.$slots,"reason",{},void 0,!0)]))]),n.progress?(O(),F("div",B5,[E(l,{value:n.progress},null,8,["value"])])):_t("",!0),P("div",W5,[P("a",{onClick:e[0]||(e[0]=Bn((...c)=>r.openDetails&&r.openDetails(...c),["prevent","stop"]))},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(O(),F("div",$5,[P("div",F5,[P("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:et(n.index)},null,8,V5)])]))}const $s=nt(M5,[["render",G5],["__scopeId","data-v-8ec36f11"]]),K5={name:"ListProperties",components:{ControlImage:jr},props:{item:{required:!0,type:Object}}},q5=["textContent"],z5={class:"title is-6"},X5=["onClick","textContent"],Y5=["textContent"];function Z5(t,e,n,s,i,r){const o=w("control-image");return O(),F(it,null,[n.item.image?(O(),yt(o,{key:0,url:n.item.image,caption:n.item.name,class:"is-normal mb-5"},null,8,["url","caption"])):_t("",!0),t.$slots.buttons?le(t.$slots,"buttons",{key:1}):_t("",!0),(O(!0),F(it,null,de(n.item.properties?.filter(a=>a.value),a=>(O(),F("div",{key:a.key,class:"mb-3"},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t(a.key))},null,8,q5),P("div",z5,[a.handler?(O(),F("a",{key:0,onClick:a.handler,textContent:et(a.value)},null,8,X5)):(O(),F("span",{key:1,class:"title is-6",textContent:et(a.value)},null,8,Y5))])]))),128))],64)}const OS=nt(K5,[["render",Z5]]),J5={name:"ModalDialogPlayable",components:{ControlButton:un,ListProperties:OS,ModalDialog:rr},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{handler:this.addToQueue,icon:"playlist-plus",key:"actions.add"},{handler:this.addNextToQueue,icon:"playlist-play",key:"actions.add-next"},{handler:this.play,icon:"play",key:"actions.play"}]}},methods:{addNextToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression,!0):ae.addUri(this.item.uris||this.item.uri,!0)},addToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression):ae.addUri(this.item.uris||this.item.uri)},play(){this.$emit("close"),this.item.expression?ae.playExpression(this.item.expression,!1):ae.playUri(this.item.uris||this.item.uri,!1)}}},Q5={class:"buttons"};function t8(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return O(),yt(l,{actions:r.actions,show:n.show,title:n.item.name,onClose:e[0]||(e[0]=c=>t.$emit("close"))},{content:M(()=>[E(a,{item:n.item},cl({_:2},[n.buttons.length?{name:"buttons",fn:M(()=>[P("div",Q5,[(O(!0),F(it,null,de(n.buttons,c=>(O(),yt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const bs=nt(J5,[["render",t8]]),e8={name:"ModalDialogTrack",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],computed:{buttons(){return this.item.media_kind!=="podcast"?[]:this.item.play_count>0?[{handler:this.markAsNew,key:"actions.mark-as-new"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.item.length_ms>0&&this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)},{key:"property.rating",value:this.$t("dialog.track.rating",{rating:Math.floor(this.item.rating/10)})},{key:"property.comment",value:this.item.comment},{key:"property.path",value:this.item.path}],uri:this.item.uri}}},methods:{markAsNew(){Tt.updateTrack(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){Tt.updateTrack(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openAlbum(){this.$emit("close"),this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobook-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})}}};function n8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["buttons","item","show"])}const s8=nt(e8,[["render",n8]]),i8={name:"ListTracks",components:{ListItem:$s,ModalDialogTrack:s8},props:{expression:{default:"",type:String},icon:{default:null,type:String},items:{default:null,type:Object},load:{default:null,type:Function},showProgress:{default:!1,type:Boolean},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selectedItem:{},showDetailsModal:!1}},methods:{isRead(t){return t.media_kind==="podcast"&&t.play_count>0},open(t){this.uris?ae.playUri(this.uris,!1,this.items.items.indexOf(t)):this.expression?ae.playExpression(this.expression,!1,this.items.items.indexOf(t)):ae.playUri(t.uri,!1)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},progress(t){return this.showProgress&&t.seek_ms>0?t.seek_ms/t.length_ms:null}}};function r8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,icon:n.icon,"is-item":l.isItem,"is-read":r.isRead(l.item),index:l.index,lines:[l.item.title,l.item.artist,l.item.album],progress:r.progress(l.item),onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","is-read","index","lines","progress","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:e[1]||(e[1]=l=>t.$emit("play-count-changed"))},null,8,["item","show"])],64)}const es=nt(i8,[["render",r8]]),o8={name:"ModalDialogAlbum",components:{ModalDialog:rr,ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},mediaKind:{default:"",type:String},show:Boolean},emits:["close","play-count-changed","podcast-deleted"],data(){return{showRemovePodcastModal:!1}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:this.$t("actions.cancel")},{handler:this.removePodcast,icon:"delete",key:this.$t("actions.remove")}]},buttons(){return this.computedMediaKind==="podcast"?this.item.data_kind==="url"?[{handler:this.markAsPlayed,key:"actions.mark-as-played"},{handler:this.openRemovePodcastDialog,key:"actions.remove"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]:[]},computedMediaKind(){return this.mediaKind||this.item.media_kind},playable(){return{image:this.item.artwork_url,name:this.item.name,properties:[{handler:this.openArtist,key:"property.artist",value:this.item.artist},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}},methods:{cancel(){this.showRemovePodcastModal=!1},markAsPlayed(){Tt.updateAlbum(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.$router.push({name:`${this.computedMediaKind}-artist`,params:{id:this.item.artist_id}})},openRemovePodcastDialog(){this.showRemovePodcastModal=!0,this.showDetailsModal=!1},removePodcast(){this.showRemovePodcastModal=!1,Tt.albumTracks(this.item.id,{limit:1}).then(t=>{Tt.trackPlaylists(t.items[0].id).then(e=>{const{id:n}=e.items.find(s=>s.type==="rss");Tt.playlistDelete(n).then(()=>{this.$emit("podcast-deleted"),this.$emit("close")})})})}}},a8=["textContent"];function l8(t,e,n,s,i,r){const o=w("modal-dialog-playable"),a=w("i18n-t"),l=w("modal-dialog");return O(),F(it,null,[E(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=c=>t.$emit("close"))},null,8,["buttons","item","show"]),E(l,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("dialog.podcast.remove.title"),onClose:e[1]||(e[1]=c=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:M(()=>[E(a,{tag:"p",keypath:"dialog.podcast.remove.info",scope:"global"},{separator:M(()=>e[2]||(e[2]=[P("br",null,null,-1)])),name:M(()=>[P("b",{textContent:et(n.item.name)},null,8,a8)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const vd=nt(o8,[["render",l8]]),c8={name:"PaneHero",components:{ControlButton:un},props:{content:{required:!0,type:Object}}},u8=["textContent"],d8={class:"subtitle is-6"},f8=["textContent"],h8=["textContent"],p8={class:"buttons is-centered-mobile mt-5"};function m8(t,e,n,s,i,r){const o=w("control-button");return O(),F(it,null,[P("div",{class:"title is-5",textContent:et(n.content.title)},null,8,u8),P("div",d8,[P("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:et(n.content.subtitle)},null,8,f8)]),P("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:et(n.content.count)},null,8,h8),P("div",p8,[(O(!0),F(it,null,de(n.content.actions,(a,l)=>(O(),yt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const _d=nt(c8,[["render",m8]]),g8={name:"PageAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),r.tracks.indices.length<2&&r.tracks.group()})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!0)}}};function y8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const b8=nt(g8,[["render",y8]]);function v8(t){return t.scrollHeight}function _8(t){return t.scrollWidth}function S8(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function E8(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const w8=P("div",{class:"loading"},"Loading...",-1),k8=P("div",{class:"no-more"},"No more.",-1),C8=P("div",{class:"no-results"},"No results.",-1),T8=P("div",{class:"error"},"Error.",-1),A8=Ti({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(t,{emit:e}){const n=t,s=cs();let i=cs("loading"),r=cs(n.isInitial),o=0;function a(){Vr(()=>{var g,b;n.position==="top"?S8((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&E8((b=n.container)!=null?b:document.documentElement,o)})}function l(g,b){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&b!==void 0&&g{var b,S;g.isIntersecting&&(n.position==="top"?o=v8((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(o=_8((S=n.container)!=null?S:document.documentElement)),m(),n.load({loaded:l,noMore:c,noResults:u,error:d},{isFirstLoad:r.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let v;return typeof IntersectionObserver<"u"&&gv(()=>{v&&m(),v=y(),_()},{flush:"post"}),Zn(()=>n.isInitial,g=>{g&&f()}),Zn(r,g=>{g||e("update:isInitial",!1)}),(g,b)=>(O(),F("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[Vn(i)==="loading"?le(g.$slots,"loading",ao(co({key:0},{isFirstLoad:Vn(r)})),()=>[w8]):Vn(i)==="no-more"?le(g.$slots,"no-more",ao(co({key:1},{retry:h})),()=>[k8]):Vn(i)==="no-results"?le(g.$slots,"no-results",ao(co({key:2},{retry:h})),()=>[C8]):Vn(i)==="error"?le(g.$slots,"error",ao(co({key:3},{retry:h})),()=>[T8]):_t("",!0)],512))}}),O8={name:"LoaderListItem",components:{VueEternalLoading:A8},props:{load:{default:null,type:Function}}},x8={class:"columns is-centered"},I8={class:"column has-text-centered"};function N8(t,e,n,s,i,r){const o=w("mdicon"),a=w("vue-eternal-loading");return n.load?(O(),yt(a,{key:0,load:n.load},{loading:M(()=>[P("div",x8,[P("div",I8,[E(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[0]||(e[0]=[P("br",null,null,-1)])),"no-results":M(()=>e[1]||(e[1]=[P("br",null,null,-1)])),_:1},8,["load"])):_t("",!0)}const Sd=nt(O8,[["render",N8]]),P8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return this.item.artists?{name:this.item.name,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album.name},{handler:this.openArtist,key:"property.album-artist",value:this.item.artists[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.album.release_date)},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.duration_ms)},{key:"property.path",value:this.item.uri}],uri:this.item.uri}:{}}},methods:{openAlbum(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function R8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const D8=nt(P8,[["render",R8]]),L8={name:"ListTracksSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogTrackSpotify:D8},props:{contextUri:{default:"",type:String},items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){t.is_playable&&ae.playUri(this.contextUri||t.uri,!1,t.position||0)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}},M8=["textContent"],$8=["textContent"];function F8(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-track-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-playable":c.is_playable,lines:[c.name,c.artists[0].name,c.album.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},cl({_:2},[c.is_playable?void 0:{name:"reason",fn:M(()=>[e[1]||(e[1]=Ys(" (",-1)),P("span",{textContent:et(t.$t("list.spotify.not-playable-track"))},null,8,M8),c.restrictions?.reason?(O(),F("span",{key:0,textContent:et(t.$t("list.spotify.restriction-reason",{reason:c.restrictions.reason}))},null,8,$8)):_t("",!0),e[2]||(e[2]=Ys(") ",-1))]),key:"0"}]),1032,["is-playable","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const mm=nt(L8,[["render",F8]]),V8={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:this.item?.artists?.[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.release_date)},{key:"property.type",value:this.item.album_type}],uri:this.item.uri}}},methods:{openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function U8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const xS=nt(V8,[["render",U8]]),H8={name:"PageAlbumSpotify",components:{ContentWithHero:bd,ControlImage:jr,ListTracksSpotify:mm,ModalDialogAlbumSpotify:xS,PaneHero:_d},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.albums.get(t.params.id,i.webapi_country).then(r=>{n(o=>{o.album=r})})})},setup(){return{servicesStore:Qn()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}],count:this.$t("data.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name}},tracks(){const{album:t}=this;return t.tracks.total?t.tracks.items.map(e=>({...e,album:t})):[]}},methods:{openArtist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ae.playUri(this.album.uri,!0)}}};function j8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks-spotify"),c=w("content-with-hero"),u=w("modal-dialog-album-spotify");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.images?.[0]?.url??"",caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:r.tracks,"context-uri":i.album.uri},null,8,["items","context-uri"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const B8=nt(H8,[["render",j8]]),W8={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(t=>t.id===this.value)}}},methods:{deactivate(){this.active=!1},select(t){this.active=!1,this.$emit("update:value",t.id)}}},G8={class:"dropdown-trigger"},K8=["textContent"],q8={id:"dropdown",class:"dropdown-menu",role:"menu"},z8={class:"dropdown-content"},X8=["onClick","textContent"];function Y8(t,e,n,s,i,r){const o=w("mdicon"),a=Qh("click-away");return ms((O(),F("div",{class:Gt(["dropdown",{"is-active":i.active}])},[P("div",G8,[P("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[P("span",{textContent:et(r.option.name)},null,8,K8),E(o,{class:"icon",name:"chevron-down",size:"16"})])]),P("div",q8,[P("div",z8,[(O(!0),F(it,null,de(n.options,l=>(O(),F("a",{key:l.id,class:Gt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:et(l.name)},null,10,X8))),128))])])],2)),[[a,r.deactivate]])}const Br=nt(W8,[["render",Y8]]),Z8={name:"ListAlbums",components:{ListItem:$s,ModalDialogAlbum:vd},props:{items:{required:!0,type:Object},load:{default:null,type:Function},mediaKind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.item.name,url:t.item.artwork_url}:null},open(t){const e=this.mediaKind||t.media_kind;e==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):this.$router.push({name:`${e}-album`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},playCountChanged(){this.$emit("play-count-changed")},podcastDeleted(){this.$emit("podcast-deleted")}}};function J8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,image:r.image(l),index:l.index,lines:[l.item.name,l.item.artist,t.$formatters.toDate(l.item.date_released)],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:r.playCountChanged,onPodcastDeleted:r.podcastDeleted},null,8,["item","media-kind","show","onPlayCountChanged","onPodcastDeleted"])],64)}const hs=nt(Z8,[["render",J8]]),Q8={name:"ListIndexButtons",props:{indices:{required:!0,type:Array}}},t6={class:"buttons is-centered mb-4"};function e6(t,e,n,s,i,r){const o=w("router-link");return O(),F("section",null,[P("nav",t6,[(O(!0),F(it,null,de(n.indices,a=>(O(),yt(o,{key:a,class:"button is-small p-2 is-index",to:{hash:`#index_${a}`,query:t.$route.query}},{default:M(()=>[Ys(et(a),1)]),_:2},1032,["to"]))),128))])])}const vs=nt(Q8,[["render",e6],["__scopeId","data-v-dc002763"]]),n6={name:"ListOptions"},s6={class:"columns"},i6={key:0,class:"column"},r6=["textContent"],o6={key:1,class:"column"},a6=["textContent"];function l6(t,e,n,s,i,r){return O(),F("div",s6,[t.$slots.filter?(O(),F("div",i6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.filter.title"))},null,8,r6),le(t.$slots,"filter")])):_t("",!0),t.$slots.sort?(O(),F("div",o6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.sort.title"))},null,8,a6),le(t.$slots,"sort")])):_t("",!0)])}const Xo=nt(n6,[["render",l6]]),c6={name:"ControlTabList",props:{links:{required:!0,type:Array}}},u6={class:"section py-0 tabs-section"},d6={class:"container"},f6={class:"columns is-centered my-0"},h6={class:"column is-four-fifths py-0"},p6={class:"tabs is-centered is-small"},m6=["onClick","onKeypress"],g6=["textContent"];function y6(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return O(),F("section",u6,[P("div",d6,[P("div",f6,[P("div",h6,[P("div",p6,[P("ul",null,[(O(!0),F(it,null,de(n.links,l=>(O(),yt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:M(({navigate:c,isActive:u})=>[P("li",{class:Gt({"is-active":u})},[P("a",{onClick:c,onKeypress:Xv(c,["enter"])},[l.icon?(O(),yt(o,{key:0,class:"icon is-small mx-1",name:l.icon},null,8,["name"])):_t("",!0),P("span",{class:Gt({"is-hidden-mobile":l.icon}),textContent:et(t.$t(l.key))},null,10,g6)],40,m6)],2)]),_:2},1032,["to"]))),128))])])])])])])}const gm=nt(c6,[["render",y6],["__scopeId","data-v-51d61991"]]),b6={name:"TabsMusic",components:{ControlTabList:gm},setup(){return{servicesStore:Qn()}},computed:{links(){const t=[{icon:"history",key:"page.music.tabs.history",to:{name:"music-history"}},{icon:"account-music",key:"page.music.tabs.artists",to:{name:"music-artists"}},{icon:"album",key:"page.music.tabs.albums",to:{name:"music-albums"}},{icon:"speaker",key:"page.music.tabs.genres",to:{name:"music-genres"}},{icon:"book-open-page-variant",key:"page.music.tabs.composers",to:{name:"music-composers"}}];return this.servicesStore.isSpotifyActive&&t.push({icon:"spotify",key:"page.music.tabs.spotify",to:{name:"music-spotify"}}),t}}};function v6(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const ti=nt(b6,[["render",v6]]),_6={name:"PageAlbums",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.albums("music").then(s=>{n(i=>{i.albumList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.albumsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("options.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("options.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("options.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"}],title:this.$t("page.albums.title")}}}},S6=["textContent"],E6=["textContent"],w6=["textContent"],k6=["textContent"];function C6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-albums"),h=w("content-with-heading");return O(),F(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.albums.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,S6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,E6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,w6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,k6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.albumsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.albumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.albums},null,8,["items"])]),_:1})],64)}const T6=nt(_6,[["render",C6]]),A6={name:"ModalDialogArtist",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.type",value:this.$t(`data.kind.${this.item.data_kind}`)},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}}};function O6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const Ed=nt(A6,[["render",O6]]),x6={name:"PageArtist",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListOptions:Xo,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albumList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct,artist:{},showDetailsModal:!1}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistAlbumsSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("options.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"},{count:this.trackCount,handler:this.openTracks,key:"data.tracks"}],title:this.artist.name}},trackCount(){return[...this.albums].reduce((t,e)=>t+(e?.item.track_count||0),0)}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!0)}}},I6=["textContent"],N6=["textContent"];function P6(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-albums"),f=w("content-with-heading"),h=w("modal-dialog-artist");return O(),F(it,null,[E(f,null,{options:M(()=>[E(l,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,I6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,N6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(a,{value:s.uiStore.artistAlbumsSort,"onUpdate:value":e[1]||(e[1]=p=>s.uiStore.artistAlbumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.albums},null,8,["items"])]),_:1}),E(h,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const R6=nt(x6,[["render",P6]]),D6={name:"ListAlbumsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogAlbumSpotify:xS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url??""}:null},open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function L6(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-album-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.artists[0]?.name,t.$formatters.toDate(c.release_date)],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const wd=nt(D6,[["render",L6]]),M6={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,this.item.followers?.total].join(" / ")},{key:"property.genres",value:this.item.genres?.join(", ")}],uri:this.item.uri}}}};function $6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const IS=nt(M6,[["render",$6]]),ff=50,F6={name:"PageArtistSpotify",components:{ContentWithHeading:ie,ControlButton:un,ListAlbumsSpotify:wd,ModalDialogArtistSpotify:IS,PaneTitle:re},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.artists.get(t.params.id),s.artists.albums(t.params.id,"album,single",i.webapi_country,ff,0)]).then(([r,o])=>{n(a=>{a.artist=r,a.albums=o.items,a.total=o.total,a.offset=o.limit})})})},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"data.albums"}],title:this.artist.name}}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Nn.spotify().then(({api:e,configuration:n})=>{e.artists.albums(this.artist.id,"album,single",n.webapi_country,ff,this.offset).then(s=>{this.appendAlbums(s),t(s.items.length,ff)})})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ae.playUri(this.artist.uri,!0)}}};function V6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums-spotify"),c=w("content-with-heading"),u=w("modal-dialog-artist-spotify");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums,load:r.load},null,8,["items","load"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const U6=nt(F6,[["render",V6]]),H6={name:"PageArtistTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.trackList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artist:{},showDetailsModal:!1,trackList:new Ct}},computed:{albumCount(){return new Set([...this.tracks].filter(t=>t.isItem).map(t=>t.item.album_id)).size},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return{subtitle:[{count:this.albumCount,handler:this.openArtist,key:"data.albums"},{count:this.tracks.count,key:"data.tracks"}],title:this.artist.name}},trackUris(){return this.trackList.items.map(t=>t.uri).join()},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistTracksSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.trackList.group(t)}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.trackList.items.map(t=>t.uri).join(),!0)}}},j6=["textContent"],B6=["textContent"];function W6(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-switch"),l=w("control-dropdown"),c=w("list-options"),u=w("pane-title"),d=w("control-button"),f=w("list-tracks"),h=w("content-with-heading"),p=w("modal-dialog-artist");return O(),F(it,null,[E(h,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(c,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,j6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,B6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(l,{value:s.uiStore.artistTracksSort,"onUpdate:value":e[1]||(e[1]=m=>s.uiStore.artistTracksSort=m),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(u,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(d,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(d,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(f,{items:r.tracks,uris:r.trackUris},null,8,["items","uris"])]),_:1}),E(p,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=m=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const G6=nt(H6,[["render",W6]]),K6={name:"ListArtists",components:{ListItem:$s,ModalDialogArtist:Ed},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:`${t.media_kind}-artist`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function q6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const ym=nt(K6,[["render",q6]]),z6={name:"PageArtists",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListArtists:ym,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.artists("music").then(s=>{n(i=>{i.artistList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artistList:new Ct}},computed:{artists(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>e.album_count*2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.artistList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]},heading(){return{subtitle:[{count:this.artists.count,key:"data.artists"}],title:this.$t("page.artists.title")}}}},X6=["textContent"],Y6=["textContent"],Z6=["textContent"],J6=["textContent"];function Q6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-artists"),h=w("content-with-heading");return O(),F(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.artists.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,X6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,Y6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,Z6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,J6)]),_:1},8,["modelValue"])):_t("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.artistsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.artistsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.artists},null,8,["items"])]),_:1})],64)}const tF=nt(z6,[["render",Q6]]),eF={name:"PageAudiobookAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"audiobook-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!1)}}};function nF(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,"media-kind":"audiobook",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const sF=nt(eF,[["render",nF]]),iF={name:"TabsAudiobooks",components:{ControlTabList:gm},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobook-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobook-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobook-genres"}}]}}};function rF(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const bm=nt(iF,[["render",rF]]),oF={name:"PageAudiobookAlbums",components:{ContentWithHeading:ie,ListAlbums:hs,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.albums("audiobook").then(s=>{n(i=>{i.albums=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"data.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function aF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-albums"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1})],64)}const lF=nt(oF,[["render",aF]]),cF={name:"PageAudiobookArtist",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,artist:{},showDetailsModal:!1}},computed:{heading(){return this.artist.name?{subtitle:[{count:this.artist.album_count,key:"data.audiobooks"}],title:this.artist.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!1)}}};function uF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-artist");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const dF=nt(cF,[["render",uF]]),fF={name:"PageAudiobookArtists",components:{ContentWithHeading:ie,ListArtists:ym,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.artists("audiobook").then(s=>{n(i=>{i.artists=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{artists:new Ct}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"data.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function hF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-artists"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.artists.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.artists},null,8,["items"])]),_:1})],64)}const pF=nt(fF,[["render",hF]]),mF={name:"ModalDialogGenre",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},mediaKind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`genre is "${this.item.name}" and media_kind is ${this.mediaKind}`,name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}}};function gF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const vm=nt(mF,[["render",gF]]),yF={name:"ListGenres",components:{ListItem:$s,ModalDialogGenre:vm},props:{items:{required:!0,type:Object},mediaKind:{required:!0,type:String}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"genre-albums",params:{name:t.name},query:{mediaKind:this.mediaKind}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function bF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const NS=nt(yF,[["render",bF]]),vF={name:"PageAudiobooksGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.genres("audiobook").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function _F(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"audiobook"},null,8,["items"])]),_:1})],64)}const SF=nt(vF,[["render",_F]]),EF={name:"ModalDialogComposer",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{expression:`composer is "${this.item.name}" and media_kind is music`,name:this.item.name,properties:[{handler:this.openAlbums,key:"property.albums",value:this.item.album_count},{handler:this.openTracks,key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}},methods:{openAlbums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},openTracks(){this.$emit("close"),this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})}}};function wF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const _m=nt(EF,[["render",wF]]),kF={name:"PageComposerAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerAlbums(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,composer:{},showDetailsModal:!1}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,key:"data.albums"},{count:this.composer.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.composer.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){ae.playExpression(this.expression,!0)}}};function CF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-composer");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.composer,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const TF=nt(kF,[["render",CF]]),AF={name:"PageComposerTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerTracks(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{composer:{},showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,handler:this.openAlbums,key:"data.albums"},{count:this.composer.track_count,key:"data.tracks"}],title:this.composer.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.composerTracksSort);return this.trackList.group(t)}},methods:{openAlbums(){this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},openDetails(){this.showDetailsModal=!0},play(){ae.playExpression(this.expression,!0)}}};function OF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-composer");return O(),F(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.composerTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.composerTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.composer,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const xF=nt(AF,[["render",OF]]),IF={name:"ListComposers",components:{ListItem:$s,ModalDialogComposer:_m},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function NF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const PS=nt(IF,[["render",NF]]),PF={name:"PageComposers",components:{ContentWithHeading:ie,ListComposers:PS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.composers("music").then(s=>{n(i=>{i.composers=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{composers:new Ct}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"data.composers"}],title:this.$t("page.composers.title")}}}};function RF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-composers"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.composers.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.composers},null,8,["items"])]),_:1})],64)}const DF=nt(PF,[["render",RF]]),LF={name:"ModalDialogDirectory",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`path starts with "${this.item}" order by path asc`,name:this.item}}}};function MF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const $F=nt(LF,[["render",MF]]),FF={name:"ListDirectories",components:{ListItem:$s,ModalDialogDirectory:$F},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){const t=[];let e="";return this.$route.query?.directory.split("/").slice(1,-1).forEach((n,s)=>{e=`${e}/${n}`,t.push({index:s,name:n,path:e})}),t}},methods:{open(t){const e={name:"files"};t.index!==0&&(e.query={directory:t.path}),this.$router.push(e)},openDetails(t){this.selectedItem=t.path,this.showDetailsModal=!0},openParent(){this.open(this.directories.slice(-1).pop())}}},VF={key:0,class:"media is-align-items-center mb-0"},UF={class:"media-content"},HF={class:"breadcrumb"},jF=["onClick","textContent"],BF={class:"media-right"};function WF(t,e,n,s,i,r){const o=w("mdicon"),a=w("list-item"),l=w("modal-dialog-directory");return O(),F(it,null,[t.$route.query.directory?(O(),F("div",VF,[E(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),P("div",UF,[P("nav",HF,[P("ul",null,[(O(!0),F(it,null,de(r.directories,c=>(O(),F("li",{key:c.index},[P("a",{onClick:u=>r.open(c),textContent:et(c.name)},null,8,jF)]))),128))])])]),P("div",BF,[le(t.$slots,"actions")])])):_t("",!0),(O(!0),F(it,null,de(n.items,c=>(O(),yt(a,{key:c.path,icon:"folder",lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["lines","onOpen","onOpenDetails"]))),128)),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const GF=nt(FF,[["render",WF]]),KF={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.tracks",value:this.item.item_count},{key:"property.type",value:this.$t(`playlist.type.${this.item.type}`)},{key:"property.path",value:this.item.path}],uri:this.item.uri,uris:this.uris}}}};function qF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const RS=nt(KF,[["render",qF]]),zF={name:"ListPlaylists",components:{ListItem:$s,ModalDialogPlaylist:RS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{icon(t){return t.type==="folder"?"folder":t.type==="rss"?"rss":"music-box-multiple"},open(t){t.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:t.id}}):this.$router.push({name:"playlist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function XF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),yt(o,{key:l.itemId,icon:r.icon(l.item),"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Sm=nt(zF,[["render",XF]]),YF={name:"PageFiles",components:{ContentWithHeading:ie,ControlButton:un,ListDirectories:GF,ListPlaylists:Sm,ListTracks:es,ModalDialogPlayable:bs,PaneTitle:re},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t)})},beforeRouteUpdate(t,e,n){this.fetchData(t).then(()=>n())},setup(){return{configurationStore:jo()}},data(){return{directories:[],playlists:new Ct,showDetailsModal:!1,tracks:new Ct}},computed:{current(){return this.$route.query?.directory||"/"},name(){return this.current!=="/"?this.current?.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},playable(){return{expression:`path starts with "${this.current}" order by path asc`,name:this.current,properties:[{key:"property.folders",value:this.directories.length},{key:"property.playlists",value:this.playlists.total},{key:"property.tracks",value:this.tracks.total}]}}},methods:{async fetchData(t){if(t.query.directory){const e=await Tt.files(t.query.directory);e&&(this.directories=e.directories.map(n=>this.transform(n.path)),this.playlists=new Ct(e.playlists),this.tracks=new Ct(e.tracks))}else this.directories=this.configurationStore.directories.map(e=>this.transform(e)),this.playlists=new Ct,this.tracks=new Ct},openDetails(){this.showDetailsModal=!0},play(){ae.playExpression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function ZF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-directories"),c=w("list-playlists"),u=w("list-tracks"),d=w("content-with-heading"),f=w("modal-dialog-playable");return O(),F(it,null,[E(d,null,{heading:M(()=>[E(o,{content:{title:r.name}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.directories},null,8,["items"]),E(c,{items:i.playlists},null,8,["items"]),E(u,{items:i.tracks,icon:"file-music-outline"},null,8,["items"])]),_:1}),E(f,{item:r.playable,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const JF=nt(YF,[["render",ZF]]),QF={name:"PageGenreAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ListIndexButtons:vs,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreAlbums(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.albums=new Ct(i,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct,genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1}},computed:{heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,key:"data.albums"},{count:this.genre.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.genre.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.showDetailsModal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ae.playExpression(`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`,!0)}}};function tV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("control-button"),c=w("list-albums"),u=w("content-with-heading"),d=w("modal-dialog-genre");return O(),F(it,null,[E(u,null,{options:M(()=>[E(o,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(l,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(l,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1}),E(d,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=f=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const eV=nt(QF,[["render",tV]]),nV={name:"PageGenreTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreTracks(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,handler:this.openGenre,key:"data.albums"},{count:this.genre.track_count,key:"data.tracks"}],title:this.genre.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.genreTracksSort);return this.trackList.group(t)}},methods:{openDetails(){this.showDetailsModal=!0},openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ae.playExpression(this.expression,!0)}}};function sV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-genre");return O(),F(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.genreTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.genreTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const iV=nt(nV,[["render",sV]]),rV={name:"PageGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.genres("music").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function oV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"music"},null,8,["items"])]),_:1})],64)}const aV=nt(rV,[["render",oV]]),lV={name:"PageMusic",components:{ContentWithHeading:ie,ListAlbums:hs,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Promise.all([Tt.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})]).then(([{albums:s},{tracks:i}])=>{n(r=>{r.albums=new Ct(s),r.tracks=new Ct(i)})})},data(){return{albums:[],tracks:null}}};function cV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("router-link"),u=w("content-with-heading"),d=w("list-tracks");return O(),F(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.tracks},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const uV=nt(lV,[["render",cV]]),dV={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:ie,ListAlbums:hs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){const s=Js().recentlyAddedLimit;Tt.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:s,type:"album"}).then(i=>{n(r=>{r.albums=new Ct(i.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})})})},setup(){return{settingsStore:Js()}},data(){return{albums:new Ct}}};function fV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const hV=nt(dV,[["render",fV]]),pV={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:ie,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"}).then(s=>{n(i=>{i.tracks=new Ct(s.tracks)})})},data(){return{tracks:new Ct}}};function mV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.tracks},null,8,["items"])]),_:1})],64)}const gV=nt(pV,[["render",mV]]),yV={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.owner",value:this.item.owner?.display_name},{key:"property.tracks",value:this.item.tracks?.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function bV(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const DS=nt(yV,[["render",bV]]),vV={name:"ListPlaylistsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogPlaylistSpotify:DS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url}:null},open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function _V(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-playlist-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.owner.display_name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Em=nt(vV,[["render",_V]]),SV={name:"PageMusicSpotify",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.browse.getNewReleases(i.webapi_country,3),s.browse.getFeaturedPlaylists(i.webapi_country,null,null,3)]).then(r=>{n(o=>{o.albums=r[0].albums.items,o.playlists=r[1].playlists.items})})})},data(){return{albums:[],playlists:[]}}};function EV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("router-link"),u=w("content-with-heading"),d=w("list-playlists-spotify");return O(),F(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.new-releases")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.featured-playlists")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.playlists},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:M(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const wV=nt(SV,[["render",EV]]),kV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ie,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getFeaturedPlaylists(i.webapi_country,null,null,50).then(r=>{n(o=>{o.playlists=r.playlists.items})})})},data(){return{playlists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.featured-playlists")}}}};function CV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-playlists-spotify"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.playlists},null,8,["items"])]),_:1})],64)}const TV=nt(kV,[["render",CV]]),AV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getNewReleases(i.webapi_country,50).then(r=>{n(o=>{o.albums=r.albums.items})})})},data(){return{albums:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.new-releases")}}}};function OV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const xV=nt(AV,[["render",OV]]),IV={name:"ModalDialogQueueItem",components:{ListProperties:OS,ModalDialog:rr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Qn()}},data(){return{spotifyTrack:{}}},computed:{actions(){return[{handler:this.remove,icon:"delete",key:"actions.remove"},{handler:this.play,icon:"play",key:"actions.play"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.year",value:this.item.year},{handler:this.openGenre,key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.path",value:this.item.path},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){return this.item?.data_kind==="spotify"?Nn.spotify().then(({api:t})=>{const e=this.item.path.slice(this.item.path.lastIndexOf(":")+1);return t.tracks.get(e).then(n=>{this.spotifyTrack=n})}):(this.spotifyTrack={},{})}},methods:{openAlbum(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotifyTrack.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.$router.push({name:`${this.item.media_kind}-album`,params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotifyTrack.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})},play(){this.$emit("close"),en.play({item_id:this.item.id})},remove(){this.$emit("close"),ae.remove(this.item.id)}}};function NV(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:n.item.title,onClose:e[0]||(e[0]=l=>t.$emit("close"))},{content:M(()=>[E(o,{item:r.playable},null,8,["item"])]),_:1},8,["actions","show","title"])}const LS=nt(IV,[["render",NV]]),PV={name:"PaneLyrics",setup(){return{MIDDLE_POSITION:Math.floor(3.5),VISIBLE_VERSES:7,playerStore:Wn()}},data(){return{lastUpdateTime:0,lyrics:{synchronised:!1,verses:[]},time:0,timerId:null}},computed:{verseIndex(t,e){let n=0,s=e.length-1;for(;n<=s;){const i=Math.floor((n+s)/2),r=e[i].time,o=e[i+1]?.time;if(r<=t&&(!o||o>t))return i;rt[n+r]??{text:" "})}},watch:{"playerStore.isPlaying"(t){t?(this.lastUpdateTime=Date.now(),this.startTimer()):this.stopTimer()},"playerStore.item_progress_ms"(t){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying||(this.time=t)},"playerStore.lyricsContent"(){this.lyrics=this.parseLyrics()}},mounted(){this.playerStore.initialise(),this.lastUpdateTime=Date.now(),this.lyrics=this.parseLyrics(),this.updateTime()},beforeUnmount(){this.stopTimer()},methods:{isVerseHighlighted(t){return t===this.MIDDLE_POSITION&&this.lyrics.synchronised},isWordHighlighted(t){return this.time>=t.start&&this.time\d+):(?\d+)(?:\.(?\d+))?\])?\s*(?\S.*\S)?\s*/u;return this.playerStore.lyricsContent.split(` `).forEach(n=>{const s=e.exec(n);if(s){const{text:i,minutes:r,seconds:o,hundredths:a}=s.groups,l=i;if(l){const c=(Number(r)*60+ +`${o}.${a??0}`)*1e3;t.synchronised=!isNaN(c),t.verses.push({text:l,time:c})}}}),t.verses.forEach((n,s,i)=>{const o=(i[s+1]?.time??n.time+3e3)-n.time,a=n.text.match(/\S+\s*/gu)||[],l=a.reduce((u,d)=>u+d.length,0);let c=n.time;n.words=a.map(u=>{const d=c,f=d+o*(u.length/l);return c=f,{end:f,start:d,text:u}})}),t},startTimer(){this.timerId||(this.timerId=setInterval(this.tick,100))},stopTimer(){this.timerId&&(clearInterval(this.timerId),this.timerId=null)},tick(){this.time=this.playerStore.item_progress_ms+Date.now()-this.lastUpdateTime},updateTime(){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying?this.startTimer():this.time=this.playerStore.item_progress_ms}}},RV={key:0,class:"title is-5 my-5"},DV=["textContent"],LV=["textContent"];function MV(t,e,n,s,i,r){return O(),F("div",{class:Gt(["is-overlay",{"is-synchronised":i.lyrics.synchronised,"is-unsynchronised":!i.lyrics.synchronised}])},[(O(!0),F(it,null,de(r.visibleVerses,(o,a)=>(O(),F(it,{key:a},[r.isVerseHighlighted(a)?(O(),F("div",RV,[(O(!0),F(it,null,de(o.words,(l,c)=>(O(),F("span",{key:c,class:Gt({"is-highlighted":r.isWordHighlighted(l)}),textContent:et(l.text)},null,10,DV))),128))])):(O(),F("div",{key:1,class:"verse",textContent:et(o.text)},null,8,LV))],64))),128))],2)}const $V=nt(PV,[["render",MV],["__scopeId","data-v-8384b260"]]),Li=1e3,FV={name:"PagePlayer",components:{ControlImage:jr,ControlSlider:Ku,ModalDialogQueueItem:LS,PaneLyrics:$V},setup(){return{playerStore:Wn(),queueStore:Ms(),settingsStore:Js()}},data(){return{INTERVAL:Li,intervalId:0,isDragged:!1,selectedItem:{},showDetailsModal:!1}},computed:{composer(){if(this.settingsStore.showComposerNowPlaying){const t=this.settingsStore.showComposerForGenre;if(!t||this.track.genre&&t.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)return this.track.composer}return null},isLive(){return this.track.length_ms===0},track(){return this.queueStore.current},trackElapsedTime(){return this.$formatters.toTimecode(this.trackProgress*Li)},trackProgress:{get(){return Math.floor(this.playerStore.item_progress_ms/Li)},set(t){this.playerStore.item_progress_ms=t*Li}},trackProgressMax(){return Number(this.isLive)||Math.floor(this.track.length_ms/Li)},trackTotalTime(){return this.$t("page.player.time",this.track.length_ms,{named:{time:this.$formatters.toTimecode(this.track.length_ms)}})}},watch:{"playerStore.state"(t){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0),t==="play"&&(this.intervalId=window.setInterval(this.tick,Li))}},created(){this.playerStore.state==="play"&&(this.intervalId=window.setInterval(this.tick,Li))},unmounted(){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0)},methods:{endDragging(){this.isDragged=!1},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},seek(){this.isLive||en.seekToPosition(this.trackProgress*Li)},startDragging(){this.isDragged=!0},tick(){this.isDragged||(this.trackProgress+=1)}}},VV={class:"is-flex is-align-items-center has-text-centered px-5 is-full-height"},UV={key:0,class:"mx-auto",style:{"max-width":"32rem"}},HV={class:"is-relative"},jV={class:"is-flex is-justify-content-space-between"},BV=["textContent"],WV=["textContent"],GV=["textContent"],KV=["textContent"],qV=["textContent"],zV=["textContent"],XV=["textContent"],YV={key:1,class:"mx-auto"},ZV=["textContent"],JV=["textContent"];function QV(t,e,n,s,i,r){const o=w("control-image"),a=w("pane-lyrics"),l=w("control-slider"),c=w("modal-dialog-queue-item");return O(),F(it,null,[P("div",VV,[s.queueStore.isEmpty?(O(),F("div",YV,[P("p",{class:"title is-5",textContent:et(t.$t("page.player.title"))},null,8,ZV),P("p",{class:"subtitle",textContent:et(t.$t("page.player.info"))},null,8,JV)])):(O(),F("div",UV,[P("div",HV,[E(o,{url:r.track.artwork_url,caption:r.track.album,class:Gt(["is-big",{"is-masked":s.playerStore.showLyrics}]),onClick:e[0]||(e[0]=u=>r.openDetails(r.track))},null,8,["url","caption","class"]),s.playerStore.showLyrics?(O(),yt(a,{key:0})):_t("",!0)]),E(l,{value:r.trackProgress,"onUpdate:value":e[1]||(e[1]=u=>r.trackProgress=u),class:"mt-5",disabled:r.isLive,max:r.trackProgressMax,onChange:r.seek,onMousedown:r.startDragging,onMouseup:r.endDragging},null,8,["value","disabled","max","onChange","onMousedown","onMouseup"]),P("div",jV,[P("p",{class:"subtitle is-7",textContent:et(r.trackElapsedTime)},null,8,BV),P("p",{class:"subtitle is-7",textContent:et(r.trackTotalTime)},null,8,WV)]),P("p",{class:"title is-5",textContent:et(r.track.title)},null,8,GV),P("p",{class:"title is-6",textContent:et(r.track.artist)},null,8,KV),r.composer?(O(),F("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:et(r.composer)},null,8,qV)):_t("",!0),r.track.album?(O(),F("p",{key:1,class:"subtitle is-6",textContent:et(r.track.album)},null,8,zV)):_t("",!0),s.settingsStore.showFilepathNowPlaying?(O(),F("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:et(r.track.path)},null,8,XV)):_t("",!0)]))]),E(c,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[2]||(e[2]=u=>i.showDetailsModal=!1)},null,8,["show","item"])],64)}const t9=nt(FV,[["render",QV],["__scopeId","data-v-e277cccd"]]),e9={name:"PagePlaylistFolder",components:{ContentWithHeading:ie,ListPlaylists:Sm,PaneTitle:re},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t.params.id)})},beforeRouteUpdate(t,e,n){this.fetchData(t.params.id).then(()=>n())},setup(){return{configurationStore:jo()}},data(){return{playlist:{},playlistList:new Ct}},computed:{heading(){return{subtitle:[{count:this.playlists.count,key:"data.playlists"}],title:this.$t("page.playlists.title",this.playlists.count,{name:this.playlist.name})}},playlists(){return this.playlistList.group({filters:[t=>t.folder||this.configurationStore.radio_playlists||t.stream_count===0||t.item_count>t.stream_count]})}},methods:{async fetchData(t){const[e,n]=await Promise.all([Tt.playlist(t),Tt.playlistFolder(t)]);this.playlist=e,this.playlistList=new Ct(n)}}};function n9(t,e,n,s,i,r){const o=w("pane-title"),a=w("list-playlists"),l=w("content-with-heading");return O(),yt(l,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),content:M(()=>[E(a,{items:r.playlists},null,8,["items"])]),_:1})}const s9=nt(e9,[["render",n9]]),i9={name:"PagePlaylistTracks",components:{ContentWithHeading:ie,ControlButton:un,ListTracks:es,ModalDialogPlaylist:RS,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.playlist(t.params.id),Tt.playlistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.playlist=s,r.tracks=new Ct(i)})})},data(){return{playlist:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.count,key:"data.tracks"}],title:this.playlist.name}},uris(){return this.playlist.random?this.tracks.map(t=>t.uri).join():this.playlist.uri}},methods:{play(){ae.playUri(this.uris,!0)},openDetails(){this.showDetailsModal=!0}}};function r9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("modal-dialog-playlist");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.tracks.count===0},null,8,["button","disabled"])]),content:M(()=>[E(l,{items:i.tracks,uris:r.uris},null,8,["items","uris"])]),_:1}),E(u,{item:i.playlist,show:i.showDetailsModal,uris:r.uris,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show","uris"])],64)}const o9=nt(i9,[["render",r9]]),hf=50,a9={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:ie,ControlButton:un,ListTracksSpotify:mm,ModalDialogPlaylistSpotify:DS,PaneTitle:re},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.playlists.getPlaylist(t.params.id),s.playlists.getPlaylistItems(t.params.id,i.webapi_country,null,hf,0)]).then(([r,o])=>{n(a=>{a.playlist=r,a.tracks=[],a.total=0,a.offset=0,a.appendTracks(o)})})})},data(){return{offset:0,playlist:{tracks:{}},showDetailsModal:!1,total:0,tracks:[]}},computed:{heading(){return this.playlist.name?{subtitle:[{count:this.playlist.tracks.total,key:"data.playlists"}],title:this.playlist.name}:{}}},methods:{appendTracks(t){let e=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));t.items.forEach(n=>{const{track:s}=n;s&&(s.is_playable&&(e+=1,s.position=e),this.tracks.push(s))}),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Nn.spotify().then(({api:e,configuration:n})=>{e.playlists.getPlaylistItems(this.playlist.id,n.webapi_country,null,hf,this.offset).then(s=>{this.appendTracks(s),t(s.items.length,hf)})})},play(){this.showDetailsModal=!1,ae.playUri(this.playlist.uri,!0)},openDetails(){this.showDetailsModal=!0}}};function l9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks-spotify"),c=w("content-with-heading"),u=w("modal-dialog-playlist-spotify");return O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.playlist.tracks.total===0},null,8,["button","disabled"])]),content:M(()=>[E(l,{"context-uri":i.playlist.uri,items:i.tracks,load:r.load},null,8,["context-uri","items","load"])]),_:1}),E(u,{item:i.playlist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const c9=nt(a9,[["render",l9]]),u9={name:"PagePodcast",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.podcastEpisodes(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),subtitle:"",title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!1)},podcastDeleted(){this.$router.push({name:"podcasts"})},reloadTracks(){Tt.podcastEpisodes(this.album.id).then(t=>{this.tracks=new Ct(t)})}}};function d9(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("content-with-hero");return O(),yt(u,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,onPlayCountChanged:r.reloadTracks},null,8,["items","onPlayCountChanged"]),E(c,{item:i.album,show:i.showDetailsModal,"media-kind":"podcast",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1),onPlayCountChanged:r.reloadTracks,onPodcastDeleted:r.podcastDeleted},null,8,["item","show","onPlayCountChanged","onPodcastDeleted"])]),_:1})}const f9=nt(u9,[["render",d9]]),h9={name:"ControlUrlField",props:{help:{default:"",type:String},icon:{required:!0,type:String},loading:{default:!1,type:Boolean},placeholder:{required:!0,type:String}},emits:["input"],data(){return{value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target,n=e.patternMismatch||e.valueMissing;this.$emit("input",this.value,n)}}},p9={class:"field"},m9={class:"control has-icons-left"},g9=["placeholder","disabled"],y9=["textContent"];function b9(t,e,n,s,i,r){const o=w("mdicon");return O(),F("div",p9,[P("div",m9,[ms(P("input",{ref:"input","onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:n.placeholder,disabled:n.loading,onInput:e[1]||(e[1]=(...a)=>r.validate&&r.validate(...a))},null,40,g9),[[Zs,i.value]]),E(o,{class:"icon is-left",name:n.icon,size:"16"},null,8,["name"])]),n.help?(O(),F("div",{key:0,class:"help",textContent:et(n.help)},null,8,y9)):_t("",!0)])}const MS=nt(h9,[["render",b9]]),v9={name:"ModalDialogAddRss",components:{ControlUrlField:MS,ModalDialog:rr},props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.add.rss.processing"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.add,icon:"playlist-plus",key:"actions.add"}]}},methods:{add(){this.loading=!0,Tt.add(this.url).then(()=>{this.$emit("podcast-added"),this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e}}};function _9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.rss.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...l)=>r.add&&r.add(...l),["prevent"]))},[E(o,{icon:"rss",help:t.$t("dialog.add.rss.help"),loading:i.loading,placeholder:t.$t("dialog.add.rss.placeholder"),onInput:r.onUrlChange},null,8,["help","loading","placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const S9=nt(v9,[["render",_9]]),E9={name:"PagePodcasts",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ListTracks:es,ModalDialogAddRss:S9,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.albums("podcast"),Tt.newPodcastEpisodes(),Tt.rssCount()]).then(([s,i,r])=>{n(o=>{o.albums=new Ct(s),o.episodes=new Ct(i),o.rssCount=r})})},setup(){return{libraryStore:Gu(),uiStore:ts()}},data(){return{albums:[],episodes:{items:[]},rssCount:{},showAddPodcastModal:!1}},computed:{hasRss(){return(this.rssCount.albums??0)>0},heading(){return this.albums.total?{subtitle:[{count:this.albums.count,key:"data.podcasts"}],title:this.$t("page.podcasts.title")}:{}}},methods:{markAllAsPlayed(){this.episodes.items.forEach(t=>{Tt.updateTrack(t.id,{play_count:"increment"})}),this.episodes.items={}},openAddPodcastDialog(){this.showAddPodcastModal=!0},reloadEpisodes(){Tt.newPodcastEpisodes().then(t=>{this.episodes=new Ct(t)})},reloadPodcasts(){Tt.albums("podcast").then(t=>{this.albums=new Ct(t),this.reloadEpisodes(),this.reloadRssCount()})},reloadRssCount(){Tt.rssCount().then(t=>{this.rssCount=t})},updateRss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.showUpdateDialog=!0}}};function w9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("list-albums"),d=w("modal-dialog-add-rss");return O(),F(it,null,[i.episodes.items.length>0?(O(),yt(c,{key:0},{heading:M(()=>[E(o,{content:{title:t.$t("page.podcasts.new-episodes")}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.markAllAsPlayed,icon:"pencil",key:"actions.mark-all-played"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.episodes,"show-progress":!0,onPlayCountChanged:r.reloadEpisodes},null,8,["items","onPlayCountChanged"])]),_:1})):_t("",!0),E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[r.hasRss?(O(),yt(a,{key:0,button:{handler:r.updateRss,icon:"refresh",key:"actions.update"}},null,8,["button"])):_t("",!0),E(a,{button:{handler:r.openAddPodcastDialog,icon:"rss",key:"actions.add"}},null,8,["button"])]),content:M(()=>[E(u,{items:i.albums,onPlayCountChanged:r.reloadEpisodes,onPodcastDeleted:r.reloadPodcasts},null,8,["items","onPlayCountChanged","onPodcastDeleted"])]),_:1}),E(d,{show:i.showAddPodcastModal,onClose:e[0]||(e[0]=f=>i.showAddPodcastModal=!1),onPodcastAdded:r.reloadPodcasts},null,8,["show","onPodcastAdded"])],64)}const k9=nt(E9,[["render",w9]]),C9={name:"ListItemQueueItem",props:{currentPosition:{required:!0,type:Number},editing:Boolean,hideReadItems:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number}},setup(){return{playerStore:Wn()}},computed:{isCurrent(){return this.item.id===this.playerStore.item_id},isNext(){return this.currentPosition<0||this.position>=this.currentPosition}},methods:{play(){en.play({item_id:this.item.id})}}},T9={key:0,class:"media-left"},A9={class:"media-content"},O9=["textContent"],x9=["textContent"],I9=["textContent"],N9={class:"media-right"};function P9(t,e,n,s,i,r){const o=w("mdicon");return r.isNext||!n.hideReadItems?(O(),F("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:e[0]||(e[0]=(...a)=>r.play&&r.play(...a))},[n.editing?(O(),F("div",T9,[E(o,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):_t("",!0),P("div",A9,[P("div",{class:Gt(["is-size-6 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext}]),textContent:et(n.item.title)},null,10,O9),P("div",{class:Gt(["is-size-7 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:et(n.item.artist)},null,10,x9),P("div",{class:Gt(["is-size-7",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:et(n.item.album)},null,10,I9)]),P("div",N9,[le(t.$slots,"actions",{},void 0,!0)])])):_t("",!0)}const R9=nt(C9,[["render",P9],["__scopeId","data-v-c07b7c2b"]]),D9={name:"ModalDialogAddStream",components:{ControlUrlField:MS,ModalDialog:rr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.add.stream.processing"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.add,icon:"playlist-plus",key:"actions.add"},{disabled:this.disabled,handler:this.play,icon:"play",key:"actions.play"}]}},methods:{add(){this.loading=!0,ae.addUri(this.url).then(()=>{this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e},play(){this.loading=!0,ae.playUri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}};function L9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.stream.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...l)=>r.play&&r.play(...l),["prevent"]))},[E(o,{icon:"web",loading:i.loading,placeholder:t.$t("dialog.add.stream.placeholder"),onInput:r.onUrlChange},null,8,["loading","placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const M9=nt(D9,[["render",L9]]),$9={name:"ModalDialogPlaylistSave",components:{ModalDialog:rr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlistName:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.playlist.save.saving"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.save,icon:"download",key:"actions.save"}]}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{cancel(){this.$emit("close")},check(t){const{validity:e}=t.target;this.disabled=e.patternMismatch||e.valueMissing},save(){this.loading=!0,ae.saveToPlaylist(this.playlistName).then(()=>{this.$emit("close"),this.playlistName=""}).catch(()=>{this.loading=!1})}}},F9={class:"field"},V9={class:"control has-icons-left"},U9=["placeholder","disabled"];function H9(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog");return O(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.playlist.save.title"),onClose:e[3]||(e[3]=l=>t.$emit("close"))},{content:M(()=>[P("form",{onSubmit:e[2]||(e[2]=Bn((...l)=>r.save&&r.save(...l),["prevent"]))},[P("div",F9,[P("div",V9,[ms(P("input",{ref:"playlist_name_field","onUpdate:modelValue":e[0]||(e[0]=l=>i.playlistName=l),class:"input",type:"text",pattern:".+",required:"",placeholder:t.$t("dialog.playlist.save.playlist-name"),disabled:i.loading,onInput:e[1]||(e[1]=(...l)=>r.check&&r.check(...l))},null,40,U9),[[Zs,i.playlistName]]),E(o,{class:"icon is-left",name:"playlist-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const j9=nt($9,[["render",H9]]);var wc={exports:{}};/**! * Sortable 1.14.0 * @author RubaXa