From 53dd45b740468f186b8a011882504f0f9119ada9 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Mon, 21 Sep 2020 19:32:22 +0200 Subject: [PATCH] feat: removed unused code --- public/js/bundle.js | 2 +- src/components/TheChartsTab.vue | 39 +++++---------- src/components/TheHomeTab.vue | 28 ++--------- src/store/index.js | 4 -- src/store/modules/charts.js | 40 ---------------- src/store/modules/home.js | 84 --------------------------------- 6 files changed, 15 insertions(+), 182 deletions(-) delete mode 100644 src/store/modules/charts.js delete mode 100644 src/store/modules/home.js diff --git a/public/js/bundle.js b/public/js/bundle.js index d39c662..e8e74f2 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -52,4 +52,4 @@ function(e){var t,n,a,i,r,s,o,l,c,u,d,p,h,m,f,g,v,b,y,_="sizzle"+1*new Date,k=e. * (c) 2020 Evan You * @license MIT */ -function Bc(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function qc(e,t){return Bc(e)&&e._isRouter&&(null==t||e.type===t)}function Uc(e,t){for(var n in t)e[n]=t[n];return e}var Vc={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,a=t.children,i=t.parent,r=t.data;r.routerView=!0;for(var s=i.$createElement,o=n.name,l=i.$route,c=i._routerViewCache||(i._routerViewCache={}),u=0,d=!1;i&&i._routerRoot!==i;){var p=i.$vnode?i.$vnode.data:{};p.routerView&&u++,p.keepAlive&&i._directInactive&&i._inactive&&(d=!0),i=i.$parent}if(r.routerViewDepth=u,d){var h=c[o],m=h&&h.component;return m?(h.configProps&&Gc(m,r,h.route,h.configProps),s(m,r,a)):s()}var f=l.matched[u],g=f&&f.components[o];if(!f||!g)return c[o]=null,s();c[o]={component:g},r.registerRouteInstance=function(e,t){var n=f.instances[o];(t&&n!==e||!t&&n===e)&&(f.instances[o]=t)},(r.hook||(r.hook={})).prepatch=function(e,t){f.instances[o]=t.componentInstance},r.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==f.instances[o]&&(f.instances[o]=e.componentInstance)};var v=f.props&&f.props[o];return v&&(Uc(c[o],{route:l,configProps:v}),Gc(g,r,l,v)),s(g,r,a)}};function Gc(e,t,n,a){var i=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}(n,a);if(i){i=t.props=Uc({},i);var r=t.attrs=t.attrs||{};for(var s in i)e.props&&s in e.props||(r[s]=i[s],delete i[s])}}var Hc=/[!'()*]/g,Wc=function(e){return"%"+e.charCodeAt(0).toString(16)},Qc=/%2C/g,Kc=function(e){return encodeURIComponent(e).replace(Hc,Wc).replace(Qc,",")},Yc=decodeURIComponent;function Jc(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),a=Yc(n.shift()),i=n.length>0?Yc(n.join("=")):null;void 0===t[a]?t[a]=i:Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]})),t):t}function Xc(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return Kc(t);if(Array.isArray(n)){var a=[];return n.forEach((function(e){void 0!==e&&(null===e?a.push(Kc(t)):a.push(Kc(t)+"="+Kc(e)))})),a.join("&")}return Kc(t)+"="+Kc(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var Zc=/\/?$/;function eu(e,t,n,a){var i=a&&a.options.stringifyQuery,r=t.query||{};try{r=tu(r)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:iu(t,i),matched:e?au(e):[]};return n&&(s.redirectedFrom=iu(n,i)),Object.freeze(s)}function tu(e){if(Array.isArray(e))return e.map(tu);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=tu(e[n]);return t}return e}var nu=eu(null,{path:"/"});function au(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function iu(e,t){var n=e.path,a=e.query;void 0===a&&(a={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||Xc)(a)+i}function ru(e,t){return t===nu?e===t:!!t&&(e.path&&t.path?e.path.replace(Zc,"")===t.path.replace(Zc,"")&&e.hash===t.hash&&su(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&su(e.query,t.query)&&su(e.params,t.params)))}function su(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every((function(n){var a=e[n],i=t[n];return"object"==typeof a&&"object"==typeof i?su(a,i):String(a)===String(i)}))}function ou(e,t,n){var a=e.charAt(0);if("/"===a)return e;if("?"===a||"#"===a)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var r=e.replace(/^\//,"").split("/"),s=0;s=0&&(t=e.slice(a),e=e.slice(0,a));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(i.path||""),c=t&&t.path||"/",u=l.path?ou(l.path,c,n||i.append):c,d=function(e,t,n){void 0===t&&(t={});var a,i=n||Jc;try{a=i(e||"")}catch(e){a={}}for(var r in t)a[r]=t[r];return a}(l.query,i.query,a&&a.options.parseQuery),p=i.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:u,query:d,hash:p}}var Mu,Du=function(){},Nu={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,a=this.$route,i=n.resolve(this.to,a,this.append),r=i.location,s=i.route,o=i.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,p=null==u?"router-link-exact-active":u,h=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,f=s.redirectedFrom?eu(null,zu(s.redirectedFrom),null,n):s;l[m]=ru(a,f),l[h]=this.exact?l[m]:function(e,t){return 0===e.path.replace(Zc,"/").indexOf(t.path.replace(Zc,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(a,f);var g=l[m]?this.ariaCurrentValue:null,v=function(e){$u(e)&&(t.replace?n.replace(r,Du):n.push(r,Du))},b={click:$u};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=v})):b[this.event]=v;var y={class:l},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:s,navigate:v,isActive:l[h],isExactActive:l[m]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?e():e("span",{},_)}if("a"===this.tag)y.on=b,y.attrs={href:o,"aria-current":g};else{var k=function e(t){var n;if(t)for(var a=0;a-1&&(o.params[p]=n.params[p]);return o.path=Su(u.path,o.params),l(u,o,s)}if(o.path){o.params={};for(var h=0;h=e.length?n():e[i]?t(e[i],(function(){a(i+1)})):a(i+1)};a(0)}function id(e){return function(t,n,a){var i=!1,r=0,s=null;rd(e,(function(e,t,n,o){if("function"==typeof e&&void 0===e.cid){i=!0,r++;var l,c=ld((function(t){var i;((i=t).__esModule||od&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Mu.extend(t),n.components[o]=t,--r<=0&&a()})),u=ld((function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Bc(e)?e:new Error(t),a(s))}));try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),i||a()}}function rd(e,t){return sd(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function sd(e){return Array.prototype.concat.apply([],e)}var od="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ld(e){var t=!1;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];if(!t)return t=!0,e.apply(this,n)}}var cd=1,ud=2,dd=3,pd=4;function hd(e,t){return fd(e,t,cd,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return gd.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function md(e,t){return fd(e,t,dd,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function fd(e,t,n,a){var i=new Error(a);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var gd=["params","query","hash"];var vd=function(e,t){this.router=e,this.base=function(e){if(!e)if(Pu){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=nu,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function bd(e,t,n,a){var i=rd(e,(function(e,a,i,r){var s=function(e,t){"function"!=typeof e&&(e=Mu.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map((function(e){return n(e,a,i,r)})):n(s,a,i,r)}));return sd(a?i.reverse():i)}function yd(e,t){if(t)return function(){return e.apply(t,arguments)}}vd.prototype.listen=function(e){this.cb=e},vd.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},vd.prototype.onError=function(e){this.errorCbs.push(e)},vd.prototype.transitionTo=function(e,t,n){var a=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){var e=a.current;a.updateRoute(i),t&&t(i),a.ensureURL(),a.router.afterHooks.forEach((function(t){t&&t(i,e)})),a.ready||(a.ready=!0,a.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!a.ready&&(a.ready=!0,qc(e,cd)?a.readyCbs.forEach((function(e){e(i)})):a.readyErrorCbs.forEach((function(t){t(e)})))}))},vd.prototype.confirmTransition=function(e,t,n){var a,i=this,r=this.current,s=function(e){!qc(e)&&Bc(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},o=e.matched.length-1,l=r.matched.length-1;if(ru(e,r)&&o===l&&e.matched[o]===r.matched[l])return this.ensureURL(),s(fd(a=r,e,pd,'Avoided redundant navigation to current location: "'+a.fullPath+'".'));var c=function(e,t){var n,a=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,a=ed&&n;a&&this.listeners.push(Vu());var i=function(){var n=e.current,i=kd(e.base);e.current===nu&&i===e._startLocation||e.transitionTo(i,(function(e){a&&Gu(t,e,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){td(lu(a.base+e.fullPath)),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){nd(lu(a.base+e.fullPath)),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(kd(this.base)!==this.current.fullPath){var t=lu(this.base+this.current.fullPath);e?td(t):nd(t)}},t.prototype.getCurrentLocation=function(){return kd(this.base)},t}(vd);function kd(e){var t=decodeURI(window.location.pathname);return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ad=function(e){function t(t,n,a){e.call(this,t,n),a&&function(e){var t=kd(e);if(!/^\/#/.test(t))return window.location.replace(lu(e+"/#"+t)),!0}(this.base)||wd()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=ed&&t;n&&this.listeners.push(Vu());var a=function(){var t=e.current;wd()&&e.transitionTo(Cd(),(function(a){n&&Gu(e.router,a,t,!0),ed||Sd(a.fullPath)}))},i=ed?"popstate":"hashchange";window.addEventListener(i,a),this.listeners.push((function(){window.removeEventListener(i,a)}))}},t.prototype.push=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){Td(e.fullPath),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){Sd(e.fullPath),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Cd()!==t&&(e?Td(t):Sd(t))},t.prototype.getCurrentLocation=function(){return Cd()},t}(vd);function wd(){var e=Cd();return"/"===e.charAt(0)||(Sd("/"+e),!1)}function Cd(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";var n=(e=e.slice(t+1)).indexOf("?");if(n<0){var a=e.indexOf("#");e=a>-1?decodeURI(e.slice(0,a))+e.slice(a):decodeURI(e)}else e=decodeURI(e.slice(0,n))+e.slice(n);return e}function xd(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Td(e){ed?td(xd(e)):window.location.hash=e}function Sd(e){ed?nd(xd(e)):window.location.replace(xd(e))}var zd=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var a=this;this.transitionTo(e,(function(e){a.stack=a.stack.slice(0,a.index+1).concat(e),a.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this;this.transitionTo(e,(function(e){a.stack=a.stack.slice(0,a.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var a=this.stack[n];this.confirmTransition(a,(function(){t.index=n,t.updateRoute(a)}),(function(e){qc(e,pd)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(vd),Md=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Eu(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ed&&!1!==e.fallback,this.fallback&&(t="hash"),Pu||(t="abstract"),this.mode=t,t){case"history":this.history=new _d(this,e.base);break;case"hash":this.history=new Ad(this,e.base,this.fallback);break;case"abstract":this.history=new zd(this,e.base)}},Dd={currentRoute:{configurable:!0}};function Nd(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Md.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Dd.currentRoute.get=function(){return this.history&&this.history.current},Md.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardownListeners()})),!this.app){this.app=e;var n=this.history;if(n instanceof _d||n instanceof Ad){var a=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Md.prototype.beforeEach=function(e){return Nd(this.beforeHooks,e)},Md.prototype.beforeResolve=function(e){return Nd(this.resolveHooks,e)},Md.prototype.afterEach=function(e){return Nd(this.afterHooks,e)},Md.prototype.onReady=function(e,t){this.history.onReady(e,t)},Md.prototype.onError=function(e){this.history.onError(e)},Md.prototype.push=function(e,t,n){var a=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){a.history.push(e,t,n)}));this.history.push(e,t,n)},Md.prototype.replace=function(e,t,n){var a=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){a.history.replace(e,t,n)}));this.history.replace(e,t,n)},Md.prototype.go=function(e){this.history.go(e)},Md.prototype.back=function(){this.go(-1)},Md.prototype.forward=function(){this.go(1)},Md.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Md.prototype.resolve=function(e,t,n){var a=zu(e,t=t||this.history.current,n,this),i=this.match(a,t),r=i.redirectedFrom||i.fullPath;return{location:a,route:i,href:function(e,t,n){var a="hash"===n?"#"+t:t;return e?lu(e+"/"+a):a}(this.history.base,r,this.mode),normalizedTo:a,resolved:i}},Md.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==nu&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Md.prototype,Dd),Md.install=function e(t){if(!e.installed||Mu!==t){e.installed=!0,Mu=t;var n=function(e){return void 0!==e},a=function(e,t){var a=e.$options._parentVnode;n(a)&&n(a=a.data)&&n(a=a.registerRouteInstance)&&a(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,a(this,this)},destroyed:function(){a(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Vc),t.component("RouterLink",Nu);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Md.version="3.3.4",Pu&&window.Vue&&window.Vue.use(Md);var $d="object"==typeof global&&global&&global.Object===Object&&global,Pd="object"==typeof self&&self&&self.Object===Object&&self,Ld=$d||Pd||Function("return this")(),Rd=Ld.Symbol,Ed=Object.prototype,Id=Ed.hasOwnProperty,jd=Ed.toString,Fd=Rd?Rd.toStringTag:void 0;var Od=Object.prototype.toString;var Bd=Rd?Rd.toStringTag:void 0;function qd(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Bd&&Bd in Object(e)?function(e){var t=Id.call(e,Fd),n=e[Fd];try{e[Fd]=void 0;var a=!0}catch(e){}var i=jd.call(e);return a&&(t?e[Fd]=n:delete e[Fd]),i}(e):function(e){return Od.call(e)}(e)}function Ud(e){return null!=e&&"object"==typeof e}function Vd(e){return"symbol"==typeof e||Ud(e)&&"[object Symbol]"==qd(e)}function Gd(e,t){for(var n=-1,a=null==e?0:e.length,i=Array(a);++n-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function gp(e){return null!=e&&fp(e.length)&&!Xd(e)}var vp=Object.prototype;function bp(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||vp)}function yp(e){return Ud(e)&&"[object Arguments]"==qd(e)}var _p=Object.prototype,kp=_p.hasOwnProperty,Ap=_p.propertyIsEnumerable,wp=yp(function(){return arguments}())?yp:function(e){return Ud(e)&&kp.call(e,"callee")&&!Ap.call(e,"callee")};var Cp="object"==typeof exports&&exports&&!exports.nodeType&&exports,xp=Cp&&"object"==typeof module&&module&&!module.nodeType&&module,Tp=xp&&xp.exports===Cp?Ld.Buffer:void 0,Sp=(Tp?Tp.isBuffer:void 0)||function(){return!1},zp={};function Mp(e){return function(t){return e(t)}}zp["[object Float32Array]"]=zp["[object Float64Array]"]=zp["[object Int8Array]"]=zp["[object Int16Array]"]=zp["[object Int32Array]"]=zp["[object Uint8Array]"]=zp["[object Uint8ClampedArray]"]=zp["[object Uint16Array]"]=zp["[object Uint32Array]"]=!0,zp["[object Arguments]"]=zp["[object Array]"]=zp["[object ArrayBuffer]"]=zp["[object Boolean]"]=zp["[object DataView]"]=zp["[object Date]"]=zp["[object Error]"]=zp["[object Function]"]=zp["[object Map]"]=zp["[object Number]"]=zp["[object Object]"]=zp["[object RegExp]"]=zp["[object Set]"]=zp["[object String]"]=zp["[object WeakMap]"]=!1;var Dp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Np=Dp&&"object"==typeof module&&module&&!module.nodeType&&module,$p=Np&&Np.exports===Dp&&$d.process,Pp=function(){try{var e=Np&&Np.require&&Np.require("util").types;return e||$p&&$p.binding&&$p.binding("util")}catch(e){}}(),Lp=Pp&&Pp.isTypedArray,Rp=Lp?Mp(Lp):function(e){return Ud(e)&&fp(e.length)&&!!zp[qd(e)]},Ep=Object.prototype.hasOwnProperty;function Ip(e,t){var n=Hd(e),a=!n&&wp(e),i=!n&&!a&&Sp(e),r=!n&&!a&&!i&&Rp(e),s=n||a||i||r,o=s?function(e,t){for(var n=-1,a=Array(e);++n-1},Zp.prototype.set=function(e,t){var n=this.__data__,a=Jp(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};var eh=up(Ld,"Map");function th(e,t){var n,a,i=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function nh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++to))return!1;var c=r.get(e);if(c&&r.get(t))return c==t;var u=-1,d=!0,p=2&n?new Th:void 0;for(r.set(e,t),r.set(t,e);++ut||r&&s&&l&&!o&&!c||a&&s&&l||!n&&l||!i)return 1;if(!a&&!r&&!c&&e=o?l:l*("desc"==n[a]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xh(e,t,n,a){return null==e?[]:(Hd(t)||(t=null==t?[]:[t]),Hd(n=a?void 0:n)||(n=null==n?[]:[n]),Jh(e,t,n))}function Zh(e,t,n){window.windows_stack=[],window.currentStack={},function(e){if("main"==e)return;const t=document.getElementsByClassName(e+"_tablinks");for(let e=0;e({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),methods:{backTab:tm,albumView:em.bind(null,"album"),reset(){this.title="Loading...",this.image="",this.type="",this.currentTab="",this.sortKey="release_date",this.sortOrder="desc",this.link="",this.head=[],this.body=null},addToQueue(e){e.stopPropagation(),hl.sendAddToQueue(e.currentTarget.dataset.link)},sortBy(e){e==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")},changeTab(e){this.currentTab=e},getCurrentTab(){return this.currentTab},updateSelected(){window.currentStack.selected=this.currentTab},checkNewRelease(e){let t=new Date,n=new Date(e);return n.setDate(n.getDate()+3),t.setHours(0,0,0,0),t.getTime()<=n.getTime()},showArtist(e){this.reset();const{name:t,picture_xl:n,id:a,releases:i}=e;this.title=t,this.image=n,this.type="Artist",this.link="https://www.deezer.com/artist/"+a,""===this.currentTab&&(this.currentTab=Object.keys(i)[0]),this.sortKey="release_date",this.sortOrder="desc",this.head=[{title:this.$tc("globals.listTabs.title",1),sortKey:"title"},{title:this.$t("globals.listTabs.releaseDate"),sortKey:"release_date"},{title:this.$tc("globals.listTabs.track",2),sortKey:"nb_song"},{title:"",width:"32px"}],Kh(i)?this.body=null:this.body=i}},computed:{showTable(){return this.body?"nb_song"==this.sortKey?Xh(this.body[this.currentTab],(function(e){return new Number(e.nb_song)}),this.sortOrder):Xh(this.body[this.currentTab],this.sortKey,this.sortOrder):[]}},mounted(){dl.on("show_artist",this.showArtist),po.$on("artistTab:updateSelected",this.updateSelected),po.$on("artistTab:changeTab",this.changeTab)}};var am=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"artist_tab"}},[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("h1",[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("div",{staticClass:"tab"},e._l(e.body,(function(t,a){return n("button",{key:a,staticClass:"selective",class:{active:a===e.currentTab},attrs:{href:"#artist_"+a},on:{click:function(t){return e.changeTab(a)}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+a,2))+"\n\t\t")])})),0),e._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",e._l(e.head,(function(t){return n("th",{class:{"sort-asc":t.sortKey==e.sortKey&&"asc"==e.sortOrder,"sort-desc":t.sortKey==e.sortKey&&"desc"==e.sortOrder,sortable:t.sortKey,clickable:t.sortKey},style:{width:t.width?t.width:"auto"},on:{click:function(n){t.sortKey&&e.sortBy(t.sortKey)}}},[e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t")])})),0)]),e._v(" "),n("tbody",e._l(e.showTable,(function(t){return n("tr",{key:t.id},[n("td",{staticClass:"inline-flex clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:t.cover_small}}),e._v(" "),t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t"),e.checkNewRelease(t.release_date)?n("i",{staticClass:"material-icons",staticStyle:{color:"#ff7300"}},[e._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):e._e()]),e._v(" "),n("td",[e._v(e._s(t.release_date))]),e._v(" "),n("td",[e._v(e._s(t.nb_song))]),e._v(" "),n("td",{staticClass:"clickable",attrs:{"data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" file_download ")])])])})),0)]),e._v(" "),n("footer",[n("button",{staticClass:"back-button",on:{click:e.backTab}},[e._v(e._s(e.$t("globals.back")))])])])};am._withStripped=!0;var im=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\ArtistTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:am,staticRenderFns:[]},(function(e){e&&e("data-v-e5c88b42_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"ArtistTab.vue"},media:void 0})}),nm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const rm={name:"tracklist-tab",data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),methods:{backTab:tm,artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(e){hl.sendAddToQueue(e.currentTarget.dataset.link)},toggleAll(e){this.body.forEach(t=>{"track"==t.type&&(t.selected=e.currentTarget.checked)})},selectedLinks(){var e=[];return this.body&&this.body.forEach(t=>{"track"==t.type&&t.selected&&e.push("spotifyPlaylist"==this.type?t.uri:t.link)}),e.join(";")},convertDuration:uo.convertDuration,showAlbum(e){this.reset();const{id:t,title:n,explicit_lyrics:a,label:i,artist:{name:r},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=e;this.type="album",this.link="https://www.deezer.com/album/"+t,this.title=n,this.explicit=a,this.label=i,this.metadata=`${r} • ${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,Kh(s)?this.body=null:this.body=s},showPlaylist(e){this.reset();const{id:t,title:n,picture_xl:a,creation_date:i,creator:{name:r},tracks:s,tracks:{length:o}}=e;this.type="playlist",this.link="https://www.deezer.com/playlist/"+t,this.title=n,this.image=a,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Kh(s)?this.body=null:this.body=s},showSpotifyPlaylist(e){this.reset();const{uri:t,name:n,images:a,images:{length:i},owner:{display_name:r},tracks:s,tracks:{length:o}}=e;this.type="spotifyPlaylist",this.link=t,this.title=n,this.image=i?a[0].url:"https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg",this.release_date="",this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Kh(s)?this.body=null:this.body=s},selectRow(e,t){t.selected=!t.selected}},mounted(){po.$on("tracklistTab:selectRow",this.selectRow),dl.on("show_album",this.showAlbum),dl.on("show_playlist",this.showPlaylist),dl.on("show_spotifyplaylist",this.showSpotifyPlaylist)}};var sm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"tracklist_tab"}},[n("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("h1",{staticClass:"inline-flex"},[e._v("\n\t\t\t"+e._s(e.title)+" "),e.explicit?n("i",{staticClass:"material-icons explicit_icon explicit_icon--right"},[e._v("explicit")]):e._e()]),e._v(" "),n("h2",{staticClass:"inline-flex"},[e.metadata?n("span",[e._v(e._s(e.metadata))]):e._e(),e._v(" "),e.release_date?n("span",{staticClass:"right"},[e._v(e._s(e.release_date))]):e._e()])]),e._v(" "),n("table",{staticClass:"table table--tracklist"},[n("thead",[n("tr",[e._m(0),e._v(" "),n("th",[e._v("#")]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),"playlist"===e.type?n("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]):e._e(),e._v(" "),e._m(1),e._v(" "),n("th",{staticClass:"table__icon table__cell--center clickable"},[n("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:e.toggleAll}})])])]),e._v(" "),n("tbody",["spotifyPlaylist"!==e.type?[e._l(e.body,(function(t,a){return["track"==t.type?n("tr",{on:{click:function(n){return e.selectRow(a,t)}}},[n("td",{staticClass:"table__cell--x-small table__cell--center"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",e._g({staticClass:"material-icons",class:{preview_playlist_controls:t.preview,disabled:!t.preview},attrs:{"data-preview":t.preview,title:e.$t("globals.play_hint")}},{click:!!t.preview&&e.playPausePreview}),[e._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),e._v(" "),n("td",{staticClass:"table__cell--small table__cell--center track_position"},[e._v("\n\t\t\t\t\t\t\t"+e._s("album"===e.type?t.track_position:e.body.indexOf(t)+1)+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--large table__cell--with-icon"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":t.artist.id},on:{click:e.artistView}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t\t")]),e._v(" "),"playlist"==e.type?n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":t.album.id},on:{click:e.albumView}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===e.type,"table__cell--x-small":"playlist"===e.type}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__icon table__cell--center"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(n){var a=t.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=e._i(a,null);i.checked?s<0&&e.$set(t,"selected",a.concat([null])):s>-1&&e.$set(t,"selected",a.slice(0,s).concat(a.slice(s+1)))}else e.$set(t,"selected",r)}}})])]):"disc_separator"==t.type?n("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[e._m(2,!0),e._v(" "),n("td",{staticClass:"table__cell--center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.number)+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{attrs:{colspan:"4"}})]):e._e()]}))]:e._l(e.body,(function(t,a){return n("tr",[n("td",[t.preview_url?n("i",{class:"material-icons"+(t.preview_url?" preview_playlist_controls":""),attrs:{"data-preview":t.preview_url,title:e.$t("globals.play_hint")},on:{click:e.playPausePreview}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):n("i",{staticClass:"material-icons disabled"},[e._v("play_arrow")])]),e._v(" "),n("td",[e._v(e._s(a+1))]),e._v(" "),n("td",{staticClass:"inline-flex"},[t.explicit?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.name)+"\n\t\t\t\t\t")]),e._v(" "),n("td",[e._v(e._s(t.artists[0].name))]),e._v(" "),n("td",[e._v(e._s(t.album.name))]),e._v(" "),n("td",[e._v(e._s(e.convertDuration(Math.floor(t.duration_ms/1e3))))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(n){var a=t.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=e._i(a,null);i.checked?s<0&&e.$set(t,"selected",a.concat([null])):s>-1&&e.$set(t,"selected",a.slice(0,s).concat(a.slice(s+1)))}else e.$set(t,"selected",r)}}})])])}))],2)]),e._v(" "),e.label?n("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[e._v(e._s(e.label))]):e._e(),e._v(" "),n("footer",[n("button",{attrs:{"data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(""+e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.type,1)}))+"\n\t\t")]),e._v(" "),n("button",{staticClass:"with_icon",attrs:{"data-link":e.selectedLinks()},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("tracklist.downloadSelection"))),n("i",{staticClass:"material-icons"},[e._v("file_download")])]),e._v(" "),n("button",{staticClass:"back-button",on:{click:e.backTab}},[e._v(e._s(e.$t("globals.back")))])])])};sm._withStripped=!0;var om=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TracklistTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:sm,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v("music_note")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v("timer")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[t("i",{staticClass:"material-icons"},[this._v("album")])])])}]},(function(e){e&&e("data-v-7c8d3dc0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TracklistTab.vue"},media:void 0})}),rm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let lm={},cm=!1;function um(){return cm?lm:(dl.emit("get_home_data"),new Promise((e,t)=>{dl.on("init_home",t=>{lm=t,cm=!0,e(t)})}))}const dm={data:()=>({playlists:[],albums:[]}),async created(){const e=await um();this.initHome(e)},computed:{...Ho(["isLoggedIn"]),needToWait(){return 0===this.getHomeData.albums.data.length&&0===this.getHomeData.playlists.data.length}},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),addToQueue(e){hl.sendAddToQueue(e.currentTarget.dataset.link)},initHome(e){const{playlists:{data:t},albums:{data:n}}=e;this.playlists=t,this.albums=n},checkIfWaitData(e){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"cacheHomeData"===t.type&&(this.initHome(this.getHomeData),e())}})}else this.initHome(this.getHomeData)}}};var pm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"home_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("globals.welcome")))]),e._v(" "),e.isLoggedIn?e._e():n("section",{ref:"notLogged",staticClass:"home_section"},[n("p",{attrs:{id:"home_not_logged_text"}},[e._v(e._s(e.$t("home.needTologin")))]),e._v(" "),n("router-link",{attrs:{tag:"button",name:"button",to:{name:"Settings"}}},[e._v("\n\t\t\t"+e._s(e.$t("home.openSettings"))+"\n\t\t")])],1),e._v(" "),e.playlists.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[e._v(e._s(e.$t("home.sections.popularPlaylists")))]),e._v(" "),n("div",{staticClass:"release_grid"},e._l(e.playlists,(function(t){return n("div",{key:t.id,staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])})),0)]):e._e(),e._v(" "),e.albums.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[e._v(e._s(e.$t("home.sections.popularAlbums")))]),e._v(" "),n("div",{staticClass:"release_grid"},e._l(e.albums,(function(t){return n("div",{key:t.id,staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])])})),0)]):e._e()])};pm._withStripped=!0;var hm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheHomeTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:pm,staticRenderFns:[]},(function(e){e&&e("data-v-e5e76642_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheHomeTab.vue"},media:void 0})}),dm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let mm={},fm=!1;function gm(){return fm?mm:(dl.emit("get_charts_data"),new Promise((e,t)=>{dl.on("init_charts",t=>{mm=t,fm=!0,e(t)})}))}const vm={data:()=>({country:"",id:0,countries:[],chart:[]}),computed:{...Ho(["getCharts"]),needToWait(){return 0===this.getCharts.length}},async created(){const e=await gm();this.initCharts(e)},mounted(){dl.on("setChartTracks",this.setTracklist)},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),waitCharts(){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"cacheCharts"===t.type&&(this.initCharts(),e())}})}else this.initCharts()},playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){po.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){po.$emit("trackPreview:previewMouseLeave",e)},convertDuration:uo.convertDuration,addToQueue(e){e.stopPropagation(),hl.sendAddToQueue(e.currentTarget.dataset.link)},getTrackList(e){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:t}},currentTarget:{dataset:{id:n}}}=e;this.country=t,localStorage.setItem("chart",this.country),this.id=n,dl.emit("getChartTracks",this.id)},setTracklist(e){this.chart=e},changeCountry(){this.country="",this.id=0},initCharts(e){if(this.countries=e,this.country=localStorage.getItem("chart")||"",!this.country)return;let t=0;for(;t({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[],activeTab:"playlist",tabs:["playlist","album","artist","track"]}),computed:{...Ho(["getFavorites"]),needToWait(){return 0===Object.keys(this.getFavorites).length}},mounted(){this.waitFavorites(),dl.on("updated_userFavorites",this.updated_userFavorites),dl.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),dl.on("updated_userPlaylists",this.updated_userPlaylists),dl.on("updated_userAlbums",this.updated_userAlbums),dl.on("updated_userArtist",this.updated_userArtist),dl.on("updated_userTracks",this.updated_userTracks)},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),spotifyPlaylistView:em.bind(null,"spotifyplaylist"),waitFavorites(){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"setFavorites"===t.type&&(this.initFavorites(),e())}})}else this.initFavorites()},playPausePreview(e){EventBus.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){EventBus.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){EventBus.$emit("trackPreview:previewMouseLeave",e)},convertDuration:so,addToQueue(e){e.stopPropagation(),hl.sendAddToQueue(e.currentTarget.dataset.link)},updated_userSpotifyPlaylists(e){this.spotifyPlaylists=e},updated_userPlaylists(e){this.playlists=e},updated_userAlbums(e){this.albums=e},updated_userArtist(e){this.artists=e},updated_userTracks(e){this.tracks=e},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),dl.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&dl.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(e){const{tracks:t,albums:n,artists:a,playlists:i}=e;this.tracks="string"==typeof t?JSON.parse(t):t,this.albums=n,this.artists=a,this.playlists=i,this.$refs.reloadButton.addEventListener("animationiteration",()=>{this.$refs.reloadButton.classList.remove("spin"),Tl(this.$t("toasts.refreshFavs"),"done",!0)},{once:!0})},initFavorites(){this.updated_userFavorites(this.getFavorites)}}};var km=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_tabcontent",attrs:{id:"favorites_tab"}},[n("h2",{staticClass:"page_heading"},[e._v("\n\t\t"+e._s(e.$t("favorites.title"))+"\n\t\t"),n("div",{ref:"reloadButton",staticClass:"clickable reload-button reload-button--inline",attrs:{role:"button","aria-label":"reload"},on:{click:e.reloadTabs}},[n("i",{staticClass:"material-icons"},[e._v("sync")])])]),e._v(" "),n("div",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return n("div",{key:t,staticClass:"section-tabs__tab favorites_tablinks",class:{active:e.activeTab===t},on:{click:function(n){e.activeTab=t}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+t,2))+"\n\t\t")])})),0),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"playlist"===e.activeTab}},[0==e.playlists.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noPlaylists")))])]):e._e(),e._v(" "),e.playlists.length>0||e.spotifyPlaylists>0?n("div",{staticClass:"release_grid"},[e._l(e.playlists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])})),e._v(" "),e._l(e.spotifyPlaylists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.spotifyPlaylistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])}))],2):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"album"===e.activeTab}},[0==e.albums.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noAlbums")))])]):e._e(),e._v(" "),e.albums.length>0?n("div",{staticClass:"release_grid"},e._l(e.albums,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])])})),0):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"artist"===e.activeTab}},[0==e.artists.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noArtists")))])]):e._e(),e._v(" "),e.artists.length>0?n("div",{staticClass:"release_grid"},e._l(e.artists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.name))])])})),0):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"track"===e.activeTab}},[0==e.tracks.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noTracks")))])]):e._e(),e._v(" "),e.tracks.length>0?n("table",{staticClass:"table"},e._l(e.tracks,(function(t){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t")]),e._v(" "),n("td",[n("a",{staticClass:"rounded",class:{"single-cover":!!t.preview},attrs:{href:"#","data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})])]),e._v(" "),n("td",{staticClass:"table__cell--large breakline"},[e._v("\n\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.artist.id},on:{click:e.artistView}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.album.id},on:{click:e.albumView}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--small"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download clickable",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])])])})),0):e._e()])])};km._withStripped=!0;var Am=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheFavoritesTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:km,staticRenderFns:[]},(function(e){e&&e("data-v-0a66a0c2_0",{source:".favorites_tabcontent {\n display: none;\n}\n.favorites_tabcontent--active {\n display: block;\n}\n\n/*# sourceMappingURL=TheFavoritesTab.vue.map */",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheFavoritesTab.vue","TheFavoritesTab.vue"],names:[],mappings:"AA0MA;EACA,aAAA;AAAA;AAEA;IACA,cAAA;AAAA;;ACzMA,8CAA8C",file:"TheFavoritesTab.vue",sourcesContent:[null,".favorites_tabcontent {\n display: none; }\n .favorites_tabcontent--active {\n display: block; }\n\n/*# sourceMappingURL=TheFavoritesTab.vue.map */"]},media:void 0})}),_m,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const wm={computed:{...Ho(["getErrors"]),title(){return`${this.getErrors.artist} - ${this.getErrors.title}`},errors(){return this.getErrors.errors}}};var Cm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_tabcontent",attrs:{id:"errors_tab"}},[n("h1",[e._v(e._s(e.$t("errors.title",{name:e.title})))]),e._v(" "),n("table",{staticClass:"table table--tracklist"},[n("tr",[n("th",[e._v("ID")]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.error",1)))])]),e._v(" "),e._l(e.errors,(function(t){return n("tr",{key:t.data.id},[n("td",[e._v(e._s(t.data.id))]),e._v(" "),n("td",[e._v(e._s(t.data.artist))]),e._v(" "),n("td",[e._v(e._s(t.data.title))]),e._v(" "),n("td",[e._v(e._s(t.errid?e.$t("errors.ids."+t.errid):t.message))])])}))],2)])};Cm._withStripped=!0;var xm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheErrorsTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Cm,staticRenderFns:[]},(function(e){e&&e("data-v-3e1ec024_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheErrorsTab.vue"},media:void 0})}),wm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Tm={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the Former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"};const Sm={data:()=>({link:"",title:"",subtitle:"",image:"",data:{},type:"",id:"0",countries:[]}),methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),convertDuration:so,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(e){this.reset();const{title:t,title_version:n,album:{cover_xl:a},link:i,available_countries:r,id:s}=e;this.title=t+(n&&-1==t.indexOf(n)?" "+n:""),this.image=a,this.type="track",this.link=i,this.id=s,r.forEach(e=>{let t=[],n=[...e].map(e=>e.charCodeAt()+127397);t.push(String.fromCodePoint(...n)),t.push(Tm[e]),this.countries.push(t)}),this.data=e},showAlbum(e){this.reset();const{title:t,cover_xl:n,link:a,id:i}=e;this.title=t,this.image=n,this.type="album",this.link=a,this.data=e,this.id=i},notSupported(){this.link="error"},addToQueue(e){pl(e.currentTarget.dataset.link)}},mounted(){po.$on("linkAnalyzerTab:reset",this.reset),dl.on("analyze_track",this.showTrack),dl.on("analyze_album",this.showAlbum),dl.on("analyze_notSupported",this.notSupported)}};var zm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent image_header",attrs:{id:"analyzer_tab"}},[n("h2",{staticClass:"page_heading page_heading--capitalize"},[e._v(e._s(e.$t("sidebar.linkAnalyzer")))]),e._v(" "),""===e.link?n("div",[n("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.info"))+"\n\t\t")]),e._v(" "),n("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"===e.link?n("div",[n("h2",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupported")))]),e._v(" "),n("p",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupportedYet")))])]):n("div",[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("div",[n("h1",[e._v(e._s(e.title))]),e._v(" "),"track"==e.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"artist","data-id":e.data.artist.id},on:{click:e.artistView}},[e._v(e._s(e.data.artist.name))])]),e._v("\n\t\t\t\t\t•\n\t\t\t\t\t"),n("i18n",{attrs:{path:"globals.in",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"album","data-id":e.data.album.id},on:{click:e.albumView}},[e._v(e._s(e.data.album.title))])])],1):"album"==e.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"artist","data-id":e.data.artist.id},on:{click:e.artistView}},[e._v(e._s(e.data.artist.name))])]),e._v("\n\t\t\t\t\t"+e._s(" • "+e.$tc("globals.listTabs.trackN",e.data.nb_tracks))+"\n\t\t\t\t")],1):e._e()]),e._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(t){return t.preventDefault(),e.openQualityModal(t)},click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("table",{staticClass:"table"},[e.data.id?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.id")))]),e._v(" "),n("td",[e._v(e._s(e.data.id))])]):e._e(),e._v(" "),e.data.isrc?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.isrc")))]),e._v(" "),n("td",[e._v(e._s(e.data.isrc))])]):e._e(),e._v(" "),e.data.upc?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.upc")))]),e._v(" "),n("td",[e._v(e._s(e.data.upc))])]):e._e(),e._v(" "),e.data.duration?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.duration")))]),e._v(" "),n("td",[e._v(e._s(e.convertDuration(e.data.duration)))])]):e._e(),e._v(" "),e.data.disk_number?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.diskNumber")))]),e._v(" "),n("td",[e._v(e._s(e.data.disk_number))])]):e._e(),e._v(" "),e.data.track_position?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.trackNumber")))]),e._v(" "),n("td",[e._v(e._s(e.data.track_position))])]):e._e(),e._v(" "),e.data.release_date?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.releaseDate")))]),e._v(" "),n("td",[e._v(e._s(e.data.release_date))])]):e._e(),e._v(" "),e.data.bpm?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.bpm")))]),e._v(" "),n("td",[e._v(e._s(e.data.bpm))])]):e._e(),e._v(" "),e.data.label?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.label")))]),e._v(" "),n("td",[e._v(e._s(e.data.label))])]):e._e(),e._v(" "),e.data.record_type?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.recordType")))]),e._v(" "),n("td",[e._v(e._s(e.$tc("globals.listTabs."+e.data.record_type,1)))])]):e._e(),e._v(" "),e.data.genres&&e.data.genres.data.length?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.genres")))]),e._v(" "),n("td",[e._v(e._s(e.data.genres.data.map((function(e){return e.name})).join("; ")))])]):e._e()]),e._v(" "),"album"==e.type?n("div",[n("button",{attrs:{"data-id":e.id},on:{click:e.albumView}},[e._v(e._s(e.$t("linkAnalyzer.table.tracklist")))])]):e._e(),e._v(" "),e.countries.length?n("div",e._l(e.countries,(function(t){return n("p",[e._v(e._s(t[0])+" - "+e._s(t[1]))])})),0):e._e()])])};zm._withStripped=!0;var Mm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheLinkAnalyzerTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:zm,staticRenderFns:[]},(function(e){e&&e("data-v-fb02f718_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheLinkAnalyzerTab.vue"},media:void 0})}),Sm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Dm={data:()=>({paypal:'\r\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n',ethereum:'',current:null,latest:null,updateAvailable:!1,deemixVersion:null}),computed:{...Ho(["getAboutInfo"])},methods:{initUpdate(e){const{currentCommit:t,latestCommit:n,updateAvailable:a,deemixVersion:i}=e;this.current=t,this.latest=n,this.updateAvailable=a,this.deemixVersion=i}},mounted(){this.initUpdate(this.getAboutInfo)}};var Nm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"about_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("sidebar.about")))]),e._v(" "),n("ul",[n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentVersion"))+":\n\t\t\t"),n("span",[e._v(e._s(e.current||e.$t("about.updates.versionNotAvailable")))])]),e._v(" "),n("li",[e._v(e._s(e.$t("about.updates.deemixVersion"))+": "+e._s(e.deemixVersion))]),e._v(" "),e.updateAvailable&&e.latest?n("li",[e._v(e._s(e.$t("about.updates.updateAvailable",{version:e.latest})))]):e._e()]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.usesLibrary"))}}),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.thanks"))}}),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.upToDate"))}})]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.usefulLinks")))]),e._v(" "),n("ul",{staticClass:"no-dots"},[n("li",[n("a",{attrs:{href:"https://deemix.app",target:"_blank"}},[e._v("🌍 "+e._s(e.$t("about.officialWebsite")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix",target:"_blank"}},[e._v("🚀 "+e._s(e.$t("about.officialRepo")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix-webui",target:"_blank"}},[e._v("💻 "+e._s(e.$t("about.officialWebuiRepo")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("🤖 "+e._s(e.$t("about.officialSubreddit")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("📰 "+e._s(e.$t("about.newsChannel")))])])]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.bugReports"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.bugReports"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.questions"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.beforeReporting"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.beSure"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.duplicateReports"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.dontOpenIssues"))}})]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.contributing"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.contributing"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.newUI"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.acceptFeatures"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.contributeWebUI"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.otherLanguages"))+"\n\t\t")]),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.understandingCode"))+"\n\t\t")])]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.donations"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.donations"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.itsFree"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.notObligated"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",[n("i",{domProps:{innerHTML:e._s(e.paypal)}}),e._v(" "),n("strong",[e._v("PayPal:")]),e._v(" "),n("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")])]),e._v(" "),n("li",[n("i",{staticClass:"ethereum",domProps:{innerHTML:e._s(e.ethereum)}}),e._v(" "),n("strong",[e._v("Ethereum:")]),e._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t\t")])]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),n("p",{domProps:{innerHTML:e._s(e.$t("about.lincensedUnder"))}})])};Nm._withStripped=!0;var $m=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheAboutTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Nm,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",[t("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[t("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})])])}]},(function(e){e&&e("data-v-1abcda2e_0",{source:"@charset \"UTF-8\";\nli[data-v-1abcda2e],\np[data-v-1abcda2e],\na[data-v-1abcda2e] {\n letter-spacing: 0.4px;\n font-size: 20px;\n line-height: 1.2;\n}\ni[data-v-1abcda2e] {\n vertical-align: middle;\n}\ni[data-v-1abcda2e] svg {\n fill: white;\n width: 20px;\n}\n.ethereum[data-v-1abcda2e] svg {\n fill: var(--foreground);\n}\n[data-v-1abcda2e]:link {\n text-decoration: none;\n}\n#about_tab[data-v-1abcda2e] {\n margin-bottom: 40px;\n}\nh2[data-v-1abcda2e] {\n text-transform: capitalize;\n}\nh2[data-v-1abcda2e]:not(.page_heading) {\n font-size: 2rem;\n border-bottom: 1px solid rgba(51, 51, 51, 0.25);\n padding-top: 2rem;\n padding-bottom: 1rem;\n}\nh2 .subheading[data-v-1abcda2e] {\n display: block;\n font-size: 0.5em;\n margin-top: 0.5em;\n font-weight: normal;\n opacity: 0.8;\n text-transform: none;\n}\np[data-v-1abcda2e] {\n margin: 0 !important;\n}\nul li[data-v-1abcda2e] {\n margin-bottom: 7px;\n}\nh2 + ul[data-v-1abcda2e] {\n margin-top: 1rem;\n}\nul + ul[data-v-1abcda2e] {\n margin-top: 1.25rem;\n}\nul.no-dots[data-v-1abcda2e] {\n list-style-type: none;\n}\nul[data-v-1abcda2e]:not(.no-dots) {\n list-style-type: none;\n}\nul:not(.no-dots) li[data-v-1abcda2e] {\n position: relative;\n}\nul:not(.no-dots) li[data-v-1abcda2e]::before {\n content: '—';\n position: absolute;\n left: -30px;\n opacity: 0.25;\n}\n\n/*# sourceMappingURL=TheAboutTab.vue.map */",map:{version:3,sources:["TheAboutTab.vue","C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheAboutTab.vue"],names:[],mappings:"AAAA,gBAAgB;ACiHhB;;;EAGA,qBAAA;EACA,eAAA;EACA,gBAAA;AAAA;AAGA;EACA,sBAAA;AAAA;AAGA;EACA,WAAA;EACA,WAAA;AAAA;AAGA;EACA,uBAAA;AAAA;AAGA;EACA,qBAAA;AAAA;AAGA;EACA,mBAAA;AAAA;AAGA;EACA,0BAAA;AAAA;AADA;IAIA,eAAA;IACA,+CAAA;IAEA,iBAAA;IACA,oBAAA;AAAA;AARA;IAaA,cAAA;IACA,gBAAA;IACA,iBAAA;IACA,mBAAA;IACA,YAAA;IACA,oBAAA;AAAA;AAIA;EACA,oBAAA;AAAA;AAGA;EAEA,kBAAA;AAAA;AAGA;EACA,gBAAA;AAAA;AAGA;EACA,mBAAA;AAAA;AAVA;EAcA,qBAAA;AAAA;AAdA;EAkBA,qBAAA;AAAA;AAlBA;IAqBA,kBAAA;AAAA;AArBA;MAwBA,YAAA;MACA,kBAAA;MACA,WAAA;MACA,aAAA;AAAA;;ADnIA,0CAA0C",file:"TheAboutTab.vue",sourcesContent:["@charset \"UTF-8\";\nli,\np,\na {\n letter-spacing: 0.4px;\n font-size: 20px;\n line-height: 1.2; }\n\ni {\n vertical-align: middle; }\n\ni /deep/ svg {\n fill: white;\n width: 20px; }\n\n.ethereum /deep/ svg {\n fill: var(--foreground); }\n\n:link {\n text-decoration: none; }\n\n#about_tab {\n margin-bottom: 40px; }\n\nh2 {\n text-transform: capitalize; }\n h2:not(.page_heading) {\n font-size: 2rem;\n border-bottom: 1px solid rgba(51, 51, 51, 0.25);\n padding-top: 2rem;\n padding-bottom: 1rem; }\n h2 .subheading {\n display: block;\n font-size: 0.5em;\n margin-top: 0.5em;\n font-weight: normal;\n opacity: 0.8;\n text-transform: none; }\n\np {\n margin: 0 !important; }\n\nul li {\n margin-bottom: 7px; }\n\nh2 + ul {\n margin-top: 1rem; }\n\nul + ul {\n margin-top: 1.25rem; }\n\nul.no-dots {\n list-style-type: none; }\n\nul:not(.no-dots) {\n list-style-type: none; }\n ul:not(.no-dots) li {\n position: relative; }\n ul:not(.no-dots) li::before {\n content: '—';\n position: absolute;\n left: -30px;\n opacity: 0.25; }\n\n/*# sourceMappingURL=TheAboutTab.vue.map */",null]},media:void 0})}),Dm,"data-v-1abcda2e",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),Pm={it:'\n\n\n\n',en:'\n\n\n\n\n\n\n\n\n',es:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',de:'\nFlag of Germany\n\n\n\n',fr:'\n\n\n\n',id:'\n\n\n',pt:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',pt_br:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ru:'\n\n\n\n',tr:'\n\n\n\n\n',vn:'\n\n\n\n\n\n\n\n\n\n\n',hr:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ar:'\r\n\x3c!-- Creator: CorelDRAW --\x3e\r\nimage/svg+xml\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ',ko:'\nFlag of South Korea\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'};const Lm={data:()=>({flags:Pm,currentLocale:"en",locales:[],settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},lastUser:"",spotifyUser:"",slimDownloads:!1,previewVolume:window.vol,accountNum:0,accounts:[],clientMode:window.clientMode}),computed:{...Ho({getSettings:"getSettings",getCredentials:"getCredentials",getDefaultSettings:"getDefaultSettings",arl:"getARL",user:"getUser",isLoggedIn:"isLoggedIn"}),needToWait(){return 0===Object.keys(this.getSettings).length},changeSlimDownloads:{get(){return this.slimDownloads},set(e){this.slimDownloads=e,document.getElementById("download_list").classList.toggle("slim",e),localStorage.setItem("slimDownloads",e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},mounted(){this.locales=this.$i18n.availableLocales,this.revertSettings(),this.revertCredentials();let e=localStorage.getItem("locale");e&&(this.$i18n.locale=e,this.currentLocale=e);let t=localStorage.getItem("accountNum");t&&(this.accountNum=t);let n=localStorage.getItem("spotifyUser");n&&(this.lastUser=n,this.spotifyUser=n,dl.emit("update_userSpotifyPlaylists",n)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads");let a=parseInt(localStorage.getItem("previewVolume"));isNaN(a)&&(a=80,localStorage.setItem("previewVolume",a)),window.vol.preview_max_volume=a,this.waitSettings(),dl.on("updateSettings",this.updateSettings),dl.on("accountChanged",this.accountChanged),dl.on("familyAccounts",this.initAccounts),dl.on("downloadFolderSelected",this.downloadFolderSelected),dl.on("applogin_arl",this.setArl)},methods:{...Wo({dispatchARL:"setARL"}),waitSettings(){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"setSettings"===t.type&&(this.initSettings(),e())}})}else this.initSettings()},revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),Tl(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),e=!0),dl.emit("saveSettings",this.lastSettings,this.lastCredentials,!!e&&this.lastUser)},selectDownloadFolder(){dl.emit("selectDownloadFolder")},downloadFolderSelected(e){console.log(e),this.$set(this.settings,"downloadLocation",e)},loadSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.getSettings)),this.lastCredentials=JSON.parse(JSON.stringify(this.getCredentials)),this.settings=JSON.parse(JSON.stringify(this.getSettings)),this.spotifyFeatures=JSON.parse(JSON.stringify(this.getCredentials))},login(){let e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&dl.emit("login",e,!0,this.accountNum)},appLogin(e){dl.emit("applogin")},setArl(e){this.dispatchARL(e),this.login()},changeAccount(){dl.emit("changeAccount",this.accountNum)},accountChanged(e,t){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=t,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},logout(){dl.emit("logout")},initSettings(){this.loadSettings(),Tl(this.$t("settings.toasts.init"),"settings")},updateSettings(){this.loadSettings(),Tl(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings=JSON.parse(JSON.stringify(this.getDefaultSettings))}}};var Rm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer",attrs:{id:"settings_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"circle",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[n("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]),e._v(" "),n("button",{attrs:{id:"settings_btn_logout"},on:{click:e.logout}},[e._v(e._s(e.$t("settings.login.logout")))]),e._v(" "),e.accounts.length?n("select",{directives:[{name:"model",rawName:"v-model",value:e.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.accountNum=t.target.multiple?n:n[0]},e.changeAccount]}},e._l(e.accounts,(function(t,a){return n("option",{key:t,domProps:{value:a.toString()}},[e._v(e._s(t.BLOG_NAME))])})),0):e._e()],1):e._e(),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("person")]),e._v(e._s(e.$t("settings.login.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"},domProps:{value:e.arl}}),e._v(" "),n("button",{staticClass:"only_icon",attrs:{id:"settings_btn_copyArl"},on:{click:e.copyARLtoClipboard}},[n("i",{staticClass:"material-icons"},[e._v("assignment")])])]),e._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Getting-your-own-ARL",target:"_blank"}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.arl.question"))+"\n\t\t")]),e._v(" "),e.clientMode?n("a",{attrs:{id:"settings_btn_applogin",href:"#"},on:{click:e.appLogin}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.login"))+"\n\t\t")]):e._e(),e._v(" "),n("button",{staticStyle:{width:"100%"},attrs:{id:"settings_btn_updateArl"},on:{click:e.login}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.arl.update"))+"\n\t\t")])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("language")]),e._v(e._s(e.$t("settings.languages"))+"\n\t\t")]),e._v(" "),n("div",e._l(e.locales,(function(t){return n("span",{key:t,staticClass:"locale-flag",class:{"locale-flag--current":e.currentLocale===t},domProps:{innerHTML:e._s(e.flags[t])},on:{click:function(n){return e.changeLocale(t)}}})})),0)]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("web")]),e._v(e._s(e.$t("settings.appearance.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimDownloads)?e._i(e.changeSlimDownloads,null)>-1:e.changeSlimDownloads},on:{change:function(t){var n=e.changeSlimDownloads,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&(e.changeSlimDownloads=n.concat([null])):r>-1&&(e.changeSlimDownloads=n.slice(0,r).concat(n.slice(r+1)))}else e.changeSlimDownloads=i}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.appearance.slimDownloadTab")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("folder")]),e._v(e._s(e.$t("settings.downloadPath.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{autocomplete:"off",type:"text"},domProps:{value:e.settings.downloadLocation},on:{input:function(t){t.target.composing||e.$set(e.settings,"downloadLocation",t.target.value)}}}),e._v(" "),e.clientMode?n("button",{staticClass:"only_icon",attrs:{id:"select_downloads_folder"},on:{click:e.selectDownloadFolder}},[n("i",{staticClass:"material-icons"},[e._v("folder")])]):e._e()])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("font_download")]),e._v(e._s(e.$t("settings.templates.title"))+"\n\t\t")]),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.tracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.tracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"tracknameTemplate",t.target.value)}}}),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.albumTracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumTracknameTemplate",t.target.value)}}}),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.playlistTracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistTracknameTemplate",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("create_new_folder")]),e._v(e._s(e.$t("settings.folders.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createPlaylistFolder)?e._i(e.settings.createPlaylistFolder,null)>-1:e.settings.createPlaylistFolder},on:{change:function(t){var n=e.settings.createPlaylistFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createPlaylistFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createPlaylistFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createPlaylistFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createPlaylistFolder")))])]),e._v(" "),e.settings.createPlaylistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.playlistNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createArtistFolder)?e._i(e.settings.createArtistFolder,null)>-1:e.settings.createArtistFolder},on:{change:function(t){var n=e.settings.createArtistFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createArtistFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createArtistFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createArtistFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createArtistFolder")))])]),e._v(" "),e.settings.createArtistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.artistNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createAlbumFolder)?e._i(e.settings.createAlbumFolder,null)>-1:e.settings.createAlbumFolder},on:{change:function(t){var n=e.settings.createAlbumFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createAlbumFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createAlbumFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createAlbumFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createAlbumFolder")))])]),e._v(" "),e.settings.createAlbumFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.albumNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumNameTemplate",t.target.value)}}})]):e._e()])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createCDFolder)?e._i(e.settings.createCDFolder,null)>-1:e.settings.createCDFolder},on:{change:function(t){var n=e.settings.createCDFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createCDFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createCDFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createCDFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createCDFolder")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createStructurePlaylist)?e._i(e.settings.createStructurePlaylist,null)>-1:e.settings.createStructurePlaylist},on:{change:function(t){var n=e.settings.createStructurePlaylist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createStructurePlaylist",n.concat([null])):r>-1&&e.$set(e.settings,"createStructurePlaylist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createStructurePlaylist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createStructurePlaylist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createSingleFolder)?e._i(e.settings.createSingleFolder,null)>-1:e.settings.createSingleFolder},on:{change:function(t){var n=e.settings.createSingleFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createSingleFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createSingleFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createSingleFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createSingleFolder")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("title")]),e._v(e._s(e.$t("settings.trackTitles.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.padTracks)?e._i(e.settings.padTracks,null)>-1:e.settings.padTracks},on:{change:function(t){var n=e.settings.padTracks,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"padTracks",n.concat([null])):r>-1&&e.$set(e.settings,"padTracks",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"padTracks",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.trackTitles.padTracks")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.trackTitles.paddingSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:e.settings.paddingSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"paddingSize",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.trackTitles.illegalCharacterReplacer")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:e.settings.illegalCharacterReplacer},on:{input:function(t){t.target.composing||e.$set(e.settings,"illegalCharacterReplacer",t.target.value)}}})])])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("get_app")]),e._v(e._s(e.$t("settings.downloads.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.queueConcurrency")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.settings.queueConcurrency},on:{input:function(t){t.target.composing||e.$set(e.settings,"queueConcurrency",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.maxBitrate.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"maxBitrate",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"9"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.9")))]),e._v(" "),n("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.3")))]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.1")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.overwriteFile.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"overwriteFile",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"y"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.y")))]),e._v(" "),n("option",{attrs:{value:"n"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.n")))]),e._v(" "),n("option",{attrs:{value:"e"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.e")))]),e._v(" "),n("option",{attrs:{value:"b"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.b")))]),e._v(" "),n("option",{attrs:{value:"t"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.t")))])])]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackBitrate)?e._i(e.settings.fallbackBitrate,null)>-1:e.settings.fallbackBitrate},on:{change:function(t){var n=e.settings.fallbackBitrate,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"fallbackBitrate",n.concat([null])):r>-1&&e.$set(e.settings,"fallbackBitrate",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"fallbackBitrate",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.fallbackBitrate")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackSearch)?e._i(e.settings.fallbackSearch,null)>-1:e.settings.fallbackSearch},on:{change:function(t){var n=e.settings.fallbackSearch,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"fallbackSearch",n.concat([null])):r>-1&&e.$set(e.settings,"fallbackSearch",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"fallbackSearch",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logErrors)?e._i(e.settings.logErrors,null)>-1:e.settings.logErrors},on:{change:function(t){var n=e.settings.logErrors,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"logErrors",n.concat([null])):r>-1&&e.$set(e.settings,"logErrors",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"logErrors",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.logErrors")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logSearched)?e._i(e.settings.logSearched,null)>-1:e.settings.logSearched},on:{change:function(t){var n=e.settings.logSearched,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"logSearched",n.concat([null])):r>-1&&e.$set(e.settings,"logSearched",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"logSearched",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.logSearched")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.syncedLyrics)?e._i(e.settings.syncedLyrics,null)>-1:e.settings.syncedLyrics},on:{change:function(t){var n=e.settings.syncedLyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"syncedLyrics",n.concat([null])):r>-1&&e.$set(e.settings,"syncedLyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"syncedLyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.syncedLyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createM3U8File)?e._i(e.settings.createM3U8File,null)>-1:e.settings.createM3U8File},on:{change:function(t){var n=e.settings.createM3U8File,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createM3U8File",n.concat([null])):r>-1&&e.$set(e.settings,"createM3U8File",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createM3U8File",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.createM3U8File")))])])])]),e._v(" "),e.settings.createM3U8File?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.playlistFilenameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistFilenameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistFilenameTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveDownloadQueue)?e._i(e.settings.saveDownloadQueue,null)>-1:e.settings.saveDownloadQueue},on:{change:function(t){var n=e.settings.saveDownloadQueue,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveDownloadQueue",n.concat([null])):r>-1&&e.$set(e.settings,"saveDownloadQueue",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveDownloadQueue",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.saveDownloadQueue")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("album")]),e._v(e._s(e.$t("settings.covers.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtwork)?e._i(e.settings.saveArtwork,null)>-1:e.settings.saveArtwork},on:{change:function(t){var n=e.settings.saveArtwork,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveArtwork",n.concat([null])):r>-1&&e.$set(e.settings,"saveArtwork",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveArtwork",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.saveArtwork")))])]),e._v(" "),e.settings.saveArtwork?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.coverImageTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.coverImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"coverImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtworkArtist)?e._i(e.settings.saveArtworkArtist,null)>-1:e.settings.saveArtworkArtist},on:{change:function(t){var n=e.settings.saveArtworkArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveArtworkArtist",n.concat([null])):r>-1&&e.$set(e.settings,"saveArtworkArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveArtworkArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.saveArtworkArtist")))])]),e._v(" "),e.settings.saveArtworkArtist?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.artistImageTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.localArtworkSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.localArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"localArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.localArtworkSize>1200?n("p",{staticClass:"input_group_text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.embeddedArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"embeddedArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.embeddedArtworkSize>1200?n("p",{staticClass:"input_group_text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"localArtworkFormat",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"jpg"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.jpg")))]),e._v(" "),n("option",{attrs:{value:"png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.png")))]),e._v(" "),n("option",{attrs:{value:"jpg,png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.both")))])])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.embeddedArtworkPNG,expression:"settings.embeddedArtworkPNG"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.embeddedArtworkPNG)?e._i(e.settings.embeddedArtworkPNG,null)>-1:e.settings.embeddedArtworkPNG},on:{change:function(t){var n=e.settings.embeddedArtworkPNG,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"embeddedArtworkPNG",n.concat([null])):r>-1&&e.$set(e.settings,"embeddedArtworkPNG",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"embeddedArtworkPNG",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkPNG")))])]),e._v(" "),e.settings.embeddedArtworkPNG?n("p",{staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t⚠️ "+e._s(e.$t("settings.covers.embeddedPNGWarning"))+"\n\t\t")]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.coverDescriptionUTF8,expression:"settings.tags.coverDescriptionUTF8"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.coverDescriptionUTF8)?e._i(e.settings.tags.coverDescriptionUTF8,null)>-1:e.settings.tags.coverDescriptionUTF8},on:{change:function(t){var n=e.settings.tags.coverDescriptionUTF8,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"coverDescriptionUTF8",n.concat([null])):r>-1&&e.$set(e.settings.tags,"coverDescriptionUTF8",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"coverDescriptionUTF8",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.coverDescriptionUTF8")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.jpegImageQuality")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:e.settings.jpegImageQuality},on:{input:function(t){t.target.composing||e.$set(e.settings,"jpegImageQuality",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[e._v("bookmarks")]),e._v(e._s(e.$t("settings.tags.head"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.title)?e._i(e.settings.tags.title,null)>-1:e.settings.tags.title},on:{change:function(t){var n=e.settings.tags.title,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"title",n.concat([null])):r>-1&&e.$set(e.settings.tags,"title",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"title",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.title")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.artist)?e._i(e.settings.tags.artist,null)>-1:e.settings.tags.artist},on:{change:function(t){var n=e.settings.tags.artist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"artist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"artist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"artist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.artist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.album)?e._i(e.settings.tags.album,null)>-1:e.settings.tags.album},on:{change:function(t){var n=e.settings.tags.album,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"album",n.concat([null])):r>-1&&e.$set(e.settings.tags,"album",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"album",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.album")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.cover)?e._i(e.settings.tags.cover,null)>-1:e.settings.tags.cover},on:{change:function(t){var n=e.settings.tags.cover,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"cover",n.concat([null])):r>-1&&e.$set(e.settings.tags,"cover",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"cover",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.cover")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackNumber)?e._i(e.settings.tags.trackNumber,null)>-1:e.settings.tags.trackNumber},on:{change:function(t){var n=e.settings.tags.trackNumber,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"trackNumber",n.concat([null])):r>-1&&e.$set(e.settings.tags,"trackNumber",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"trackNumber",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.trackNumber")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackTotal)?e._i(e.settings.tags.trackTotal,null)>-1:e.settings.tags.trackTotal},on:{change:function(t){var n=e.settings.tags.trackTotal,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"trackTotal",n.concat([null])):r>-1&&e.$set(e.settings.tags,"trackTotal",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"trackTotal",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.trackTotal")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discNumber)?e._i(e.settings.tags.discNumber,null)>-1:e.settings.tags.discNumber},on:{change:function(t){var n=e.settings.tags.discNumber,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"discNumber",n.concat([null])):r>-1&&e.$set(e.settings.tags,"discNumber",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"discNumber",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.discNumber")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discTotal)?e._i(e.settings.tags.discTotal,null)>-1:e.settings.tags.discTotal},on:{change:function(t){var n=e.settings.tags.discTotal,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"discTotal",n.concat([null])):r>-1&&e.$set(e.settings.tags,"discTotal",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"discTotal",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.discTotal")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.albumArtist)?e._i(e.settings.tags.albumArtist,null)>-1:e.settings.tags.albumArtist},on:{change:function(t){var n=e.settings.tags.albumArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"albumArtist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"albumArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"albumArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.albumArtist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.genre)?e._i(e.settings.tags.genre,null)>-1:e.settings.tags.genre},on:{change:function(t){var n=e.settings.tags.genre,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"genre",n.concat([null])):r>-1&&e.$set(e.settings.tags,"genre",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"genre",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.genre")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.year)?e._i(e.settings.tags.year,null)>-1:e.settings.tags.year},on:{change:function(t){var n=e.settings.tags.year,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"year",n.concat([null])):r>-1&&e.$set(e.settings.tags,"year",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"year",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.year")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.date)?e._i(e.settings.tags.date,null)>-1:e.settings.tags.date},on:{change:function(t){var n=e.settings.tags.date,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"date",n.concat([null])):r>-1&&e.$set(e.settings.tags,"date",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"date",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.date")))])])]),e._v(" "),n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.explicit)?e._i(e.settings.tags.explicit,null)>-1:e.settings.tags.explicit},on:{change:function(t){var n=e.settings.tags.explicit,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"explicit",n.concat([null])):r>-1&&e.$set(e.settings.tags,"explicit",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"explicit",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.explicit")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.isrc)?e._i(e.settings.tags.isrc,null)>-1:e.settings.tags.isrc},on:{change:function(t){var n=e.settings.tags.isrc,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"isrc",n.concat([null])):r>-1&&e.$set(e.settings.tags,"isrc",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"isrc",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.isrc")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.length)?e._i(e.settings.tags.length,null)>-1:e.settings.tags.length},on:{change:function(t){var n=e.settings.tags.length,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"length",n.concat([null])):r>-1&&e.$set(e.settings.tags,"length",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"length",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.length")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.barcode)?e._i(e.settings.tags.barcode,null)>-1:e.settings.tags.barcode},on:{change:function(t){var n=e.settings.tags.barcode,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"barcode",n.concat([null])):r>-1&&e.$set(e.settings.tags,"barcode",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"barcode",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.barcode")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.bpm)?e._i(e.settings.tags.bpm,null)>-1:e.settings.tags.bpm},on:{change:function(t){var n=e.settings.tags.bpm,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"bpm",n.concat([null])):r>-1&&e.$set(e.settings.tags,"bpm",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"bpm",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.bpm")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.replayGain)?e._i(e.settings.tags.replayGain,null)>-1:e.settings.tags.replayGain},on:{change:function(t){var n=e.settings.tags.replayGain,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"replayGain",n.concat([null])):r>-1&&e.$set(e.settings.tags,"replayGain",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"replayGain",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.replayGain")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.label)?e._i(e.settings.tags.label,null)>-1:e.settings.tags.label},on:{change:function(t){var n=e.settings.tags.label,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"label",n.concat([null])):r>-1&&e.$set(e.settings.tags,"label",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"label",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.label")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.lyrics)?e._i(e.settings.tags.lyrics,null)>-1:e.settings.tags.lyrics},on:{change:function(t){var n=e.settings.tags.lyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"lyrics",n.concat([null])):r>-1&&e.$set(e.settings.tags,"lyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"lyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.lyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.syncedLyrics,expression:"settings.tags.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.syncedLyrics)?e._i(e.settings.tags.syncedLyrics,null)>-1:e.settings.tags.syncedLyrics},on:{change:function(t){var n=e.settings.tags.syncedLyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"syncedLyrics",n.concat([null])):r>-1&&e.$set(e.settings.tags,"syncedLyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"syncedLyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.syncedLyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.copyright)?e._i(e.settings.tags.copyright,null)>-1:e.settings.tags.copyright},on:{change:function(t){var n=e.settings.tags.copyright,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"copyright",n.concat([null])):r>-1&&e.$set(e.settings.tags,"copyright",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"copyright",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.copyright")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.composer)?e._i(e.settings.tags.composer,null)>-1:e.settings.tags.composer},on:{change:function(t){var n=e.settings.tags.composer,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"composer",n.concat([null])):r>-1&&e.$set(e.settings.tags,"composer",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"composer",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.composer")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.involvedPeople)?e._i(e.settings.tags.involvedPeople,null)>-1:e.settings.tags.involvedPeople},on:{change:function(t){var n=e.settings.tags.involvedPeople,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"involvedPeople",n.concat([null])):r>-1&&e.$set(e.settings.tags,"involvedPeople",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"involvedPeople",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.involvedPeople")))])])])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("list")]),e._v(e._s(e.$t("settings.other.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.savePlaylistAsCompilation)?e._i(e.settings.tags.savePlaylistAsCompilation,null)>-1:e.settings.tags.savePlaylistAsCompilation},on:{change:function(t){var n=e.settings.tags.savePlaylistAsCompilation,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"savePlaylistAsCompilation",n.concat([null])):r>-1&&e.$set(e.settings.tags,"savePlaylistAsCompilation",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"savePlaylistAsCompilation",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.savePlaylistAsCompilation")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.useNullSeparator)?e._i(e.settings.tags.useNullSeparator,null)>-1:e.settings.tags.useNullSeparator},on:{change:function(t){var n=e.settings.tags.useNullSeparator,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"useNullSeparator",n.concat([null])):r>-1&&e.$set(e.settings.tags,"useNullSeparator",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"useNullSeparator",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.useNullSeparator")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.saveID3v1)?e._i(e.settings.tags.saveID3v1,null)>-1:e.settings.tags.saveID3v1},on:{change:function(t){var n=e.settings.tags.saveID3v1,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"saveID3v1",n.concat([null])):r>-1&&e.$set(e.settings.tags,"saveID3v1",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"saveID3v1",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.saveID3v1")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings.tags,"multiArtistSeparator",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.nothing")))]),e._v(" "),n("option",{attrs:{value:"default"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.default")))]),e._v(" "),n("option",{attrs:{value:"andFeat"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.andFeat")))]),e._v(" "),n("option",{attrs:{value:" & "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" & "})))]),e._v(" "),n("option",{attrs:{value:","}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:","})))]),e._v(" "),n("option",{attrs:{value:", "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:", "})))]),e._v(" "),n("option",{attrs:{value:"/"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"/"})))]),e._v(" "),n("option",{attrs:{value:" / "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" / "})))]),e._v(" "),n("option",{attrs:{value:";"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:";"})))]),e._v(" "),n("option",{attrs:{value:"; "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"; "})))])])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.singleAlbumArtist)?e._i(e.settings.tags.singleAlbumArtist,null)>-1:e.settings.tags.singleAlbumArtist},on:{change:function(t){var n=e.settings.tags.singleAlbumArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"singleAlbumArtist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"singleAlbumArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"singleAlbumArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.singleAlbumArtist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.albumVariousArtists)?e._i(e.settings.albumVariousArtists,null)>-1:e.settings.albumVariousArtists},on:{change:function(t){var n=e.settings.albumVariousArtists,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"albumVariousArtists",n.concat([null])):r>-1&&e.$set(e.settings,"albumVariousArtists",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"albumVariousArtists",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.albumVariousArtists")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeAlbumVersion)?e._i(e.settings.removeAlbumVersion,null)>-1:e.settings.removeAlbumVersion},on:{change:function(t){var n=e.settings.removeAlbumVersion,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"removeAlbumVersion",n.concat([null])):r>-1&&e.$set(e.settings,"removeAlbumVersion",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"removeAlbumVersion",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.removeAlbumVersion")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeDuplicateArtists)?e._i(e.settings.removeDuplicateArtists,null)>-1:e.settings.removeDuplicateArtists},on:{change:function(t){var n=e.settings.removeDuplicateArtists,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"removeDuplicateArtists",n.concat([null])):r>-1&&e.$set(e.settings,"removeDuplicateArtists",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"removeDuplicateArtists",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.removeDuplicateArtists")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.dateFormat.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"dateFormat",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Y-M-D"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"Y-D-M"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"D-M-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"M-D-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"Y"}},[e._v(e._s(e.$t("settings.other.dateFormat.year")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.featuredToTitle.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"featuredToTitle",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"0"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.0")))]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.1")))]),e._v(" "),n("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.3")))]),e._v(" "),n("option",{attrs:{value:"2"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.2")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.titleCasing")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"titleCasing",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),n("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),n("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),n("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),n("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.artistCasing")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"artistCasing",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),n("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),n("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),n("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),n("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.previewVolume")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.previewVolume.preview_max_volume,expression:"previewVolume.preview_max_volume",modifiers:{number:!0}}],staticClass:"slider",attrs:{type:"range",min:"0",max:"100",step:"1"},domProps:{value:e.previewVolume.preview_max_volume},on:{change:e.updateMaxVolume,__r:function(t){e.$set(e.previewVolume,"preview_max_volume",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.previewVolume.preview_max_volume)+"%")])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.executeCommand.title")))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("settings.other.executeCommand.description")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:e.settings.executeCommand},on:{input:function(t){t.target.composing||e.$set(e.settings,"executeCommand",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("svg",{attrs:{id:"spotify_icon","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"m12 24c6.624 0 12-5.376 12-12s-5.376-12-12-12-12 5.376-12 12 5.376 12 12 12zm4.872-6.344v.001c-.807 0-3.356-2.828-10.52-1.36-.189.049-.436.126-.576.126-.915 0-1.09-1.369-.106-1.578 3.963-.875 8.013-.798 11.467 1.268.824.526.474 1.543-.265 1.543zm1.303-3.173c-.113-.03-.08.069-.597-.203-3.025-1.79-7.533-2.512-11.545-1.423-.232.063-.358.126-.576.126-1.071 0-1.355-1.611-.188-1.94 4.716-1.325 9.775-.552 13.297 1.543.392.232.547.533.547.953-.005.522-.411.944-.938.944zm-13.627-7.485c4.523-1.324 11.368-.906 15.624 1.578 1.091.629.662 2.22-.498 2.22l-.001-.001c-.252 0-.407-.063-.625-.189-3.443-2.056-9.604-2.549-13.59-1.436-.175.048-.393.125-.625.125-.639 0-1.127-.499-1.127-1.142 0-.657.407-1.029.842-1.155z"}})]),e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.title"))+"\n\t\t")]),e._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Enabling-Spotify-Features",target:"_blank"}},[e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.question"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientId",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientSecret",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(t){t.target.composing||(e.spotifyUser=t.target.value)}}})])]),e._v(" "),n("footer",[n("button",{on:{click:e.resetSettings}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),n("button",{on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])])};Rm._withStripped=!0;var Em=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSettingsTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Rm,staticRenderFns:[]},(function(e){e&&e("data-v-ab1dbcb8_0",{source:"#logged_in_info {\n height: 250px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n}\n.locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.locale-flag:not(:last-child) {\n margin-right: 10px;\n}\n.locale-flag.locale-flag--current svg {\n filter: brightness(1);\n}\n.locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5);\n}\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSettingsTab.vue","TheSettingsTab.vue"],names:[],mappings:"AA2mBA;EACA,aAAA;EACA,aAAA;EACA,sBAAA;EACA,6BAAA;EACA,mBAAA;AAAA;AAGA;EACA,WAAA;EACA,oBAAA;EACA,uBAAA;EACA,mBAAA;EACA,eAAA;AAAA;AALA;IAQA,kBAAA;AAAA;AARA;IAaA,qBAAA;AAAA;AAbA;IAkBA,WAAA;IACA,YAAA;IACA,uBAAA;AAAA;;ACjnBA,6CAA6C",file:"TheSettingsTab.vue",sourcesContent:[null,"#logged_in_info {\n height: 250px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center; }\n\n.locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer; }\n .locale-flag:not(:last-child) {\n margin-right: 10px; }\n .locale-flag.locale-flag--current svg {\n filter: brightness(1); }\n .locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5); }\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */"]},media:void 0})}),Lm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Im={props:["results"],computed:{topResultType(){return this.results.allTab.TOP_RESULT[0].type},noResults(){return this.results.allTab.ORDER.every(e=>"TOP_RESULT"==e?0==this.results.allTab[e].length:0==this.results.allTab[e].data.length)}},methods:{convertDuration:so}};var jm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"main_search"}},[e._l(e.results.allTab.ORDER,(function(t){return["TOP_RESULT"!=t&&e.results.allTab[t].data.length>0||e.results.allTab[t].length>0?n("section",{staticClass:"search_section"},[n("h2",{staticClass:"search_header",class:{top_result_header:"TOP_RESULT"===t},on:{click:function(n){return e.$emit("change-search-tab",t)}}},[e._v("\n\t\t\t\t"+e._s(e.$tc("globals.listTabs."+t.toLowerCase(),2))+"\n\t\t\t")]),e._v(" "),"TOP_RESULT"==t?n("div",{staticClass:"top_result clickable",attrs:{"data-id":e.results.allTab.TOP_RESULT[0].id},on:{click:function(t){return t.stopPropagation(),e.$emit(e.topResultType+"-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{class:("artist"==e.results.allTab.TOP_RESULT[0].type?"circle":"rounded")+" coverart",attrs:{"aria-hidden":"true",src:e.results.allTab.TOP_RESULT[0].picture}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.results.allTab.TOP_RESULT[0].link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("div",{staticClass:"info_box"},[n("p",{staticClass:"primary-text"},[e._v(e._s(e.results.allTab.TOP_RESULT[0].title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t\t"+e._s("artist"==e.results.allTab.TOP_RESULT[0].type?e.$t("search.fans",{n:e.$n(e.results.allTab.TOP_RESULT[0].nb_fan)}):e.$t("globals.by",{artist:e.results.allTab.TOP_RESULT[0].artist})+" - "+e.$tc("globals.listTabs.trackN",e.results.allTab.TOP_RESULT[0].nb_song))+"\n\t\t\t\t\t")]),e._v(" "),n("span",{staticClass:"tag"},[e._v(e._s(e.$tc("globals.listTabs."+e.results.allTab.TOP_RESULT[0].type,1)))])])]):"TRACK"==t?n("div",[n("table",{staticClass:"table table--tracks"},[n("tbody",e._l(e.results.allTab.TRACK.data.slice(0,6),(function(t){return n("tr",[n("td",{staticClass:"table__icon",attrs:{"aria-hidden":"true"}},[n("img",{staticClass:"rounded coverart",attrs:{src:"https://e-cdns-images.dzcdn.net/images/cover/"+t.ALB_PICTURE+"/32x32-000000-80-0-0.jpg"}})]),e._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[1==t.EXPLICIT_LYRICS?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(t.SNG_TITLE+(t.VERSION?" "+t.VERSION:""))+"\n\t\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline"},e._l(t.ARTISTS,(function(t){return n("span",{key:t.ART_ID,staticClass:"clickable",attrs:{"data-id":t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(t.ART_NAME)+"\n\t\t\t\t\t\t\t\t")])})),0),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.ALB_TITLE)+"\n\t\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--center"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.DURATION))+"\n\t\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":"https://www.deezer.com/track/"+t.SNG_ID,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" get_app ")])])])})),0)])]):"ARTIST"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.ARTIST.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/artist/"+t.ART_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/artist/"+t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.ART_NAME))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("search.fans",{n:e.$n(t.NB_FAN)})))])])})),0):"ALBUM"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.ALBUM.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/cover/"+t.ALB_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/album/"+t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text inline-flex"},[-1!=[1,4].indexOf(t.EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS)?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.ALB_TITLE)+"\n\t\t\t\t\t")]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.ART_NAME+" - "+e.$tc("globals.listTabs.trackN",t.NUMBER_TRACK))+"\n\t\t\t\t\t")])])})),0):"PLAYLIST"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.PLAYLIST.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.PLAYLIST_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("playlist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/"+t.PICTURE_TYPE+"/"+t.PLAYLIST_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/playlist/"+t.PLAYLIST_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.TITLE))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$tc("globals.listTabs.trackN",t.NB_SONG)))])])})),0):e._e()]):e._e()]})),e._v(" "),e.noResults?n("div",[n("h1",[e._v(e._s(e.$t("search.noResults")))])]):e._e()],2)};jm._withStripped=!0;var Fm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsAll.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:jm,staticRenderFns:[]},0,Im,void 0,!1);const Om={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Bm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"album_search"}},[e.results.albumTab.loaded?0==e.results.albumTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsAlbum")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.albumTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.albumTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text inline-flex"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t"+e._s(t.title)+"\n\t\t\t")]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artist.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t")])])})),0):e._e()],1)};Bm._withStripped=!0;var qm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsAlbums.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Bm,staticRenderFns:[]},0,Om,void 0,!1);const Um={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Vm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"artist_search"}},[e.results.artistTab.loaded?0==e.results.artistTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsArtist")))])]):e._e():n("base-loading-placeholder"),e._v(" "),e.results.artistTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.artistTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.name))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$tc("globals.listTabs.releaseN",t.nb_album)))])])})),0):e._e()],1)};Vm._withStripped=!0;var Gm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsArtists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Vm,staticRenderFns:[]},0,Um,void 0,!1);const Hm={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Wm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"playlist_search"}},[e.results.playlistTab.loaded?0==e.results.playlistTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsPlaylist")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.playlistTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.playlistTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("playlist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t")])])})),0):e._e()],1)};Wm._withStripped=!0;var Qm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsPlaylists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Wm,staticRenderFns:[]},0,Hm,void 0,!1);const Km={props:["results"],components:{BaseLoadingPlaceholder:fo},methods:{convertDuration:so,artistView(e){this.$emit("artist-view",e)},albumView(e){this.$emit("album-view",e)},playlistView(e){this.$emit("playlist-view",e)},playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){po.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){po.$emit("trackPreview:previewMouseLeave",e)}}};var Ym=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"track_search"}},[e.results.trackTab.loaded?0==e.results.trackTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsTrack")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.trackTab.data.length>0?n("table",{staticClass:"table table--tracks"},[n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]),e._v(" "),e._m(0),e._v(" "),n("th",{staticStyle:{width:"56px"}})])]),e._v(" "),n("tbody",e._l(e.results.trackTab.data,(function(t){return n("tr",[n("td",{staticClass:"table__icon table__icon--big"},[n("a",{class:"rounded"+(t.preview?" single-cover":""),attrs:{href:"#","data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.artist.id},on:{click:function(t){return t.stopPropagation(),e.artistView(t)}}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.album.id},on:{click:function(t){return t.stopPropagation(),e.albumView(t)}}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" get_app ")])])])})),0)]):e._e()],1)};Ym._withStripped=!0;var Jm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsTracks.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Ym,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v(" timer ")])])}]},0,Km,void 0,!1);const Xm={components:{BaseLoadingPlaceholder:fo},data(){const e=this.$t.bind(this),t=this.$tc.bind(this);return{currentTab:{name:"",component:{}},tabs:[{name:e("globals.listTabs.all"),searchType:"all",component:Fm},{name:t("globals.listTabs.track",2),searchType:"track",component:Jm},{name:t("globals.listTabs.album",2),searchType:"album",component:qm},{name:t("globals.listTabs.artist",2),searchType:"artist",component:Gm},{name:t("globals.listTabs.playlist",2),searchType:"playlist",component:Qm}],results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{},ARTIST:{},TRACK:{},PLAYLIST:{}},trackTab:{data:[],next:0,total:0,loaded:!1},albumTab:{data:[],next:0,total:0,loaded:!1},artistTab:{data:[],next:0,total:0,loaded:!1},playlistTab:{data:[],next:0,total:0,loaded:!1}}}},computed:{showSearchTab(){return""!==this.results.query},loadedTabs(){const e=[];for(const t in this.results)if(this.results.hasOwnProperty(t)){this.results[t].loaded&&e.push(t.replace(/Tab/g,""))}return e}},props:{performScrolledSearch:{type:Boolean,required:!1}},created(){this.currentTab=this.tabs[0]},mounted(){po.$on("mainSearch:checkLoadMoreContent",this.checkLoadMoreContent),this.$root.$on("mainSearch:showNewResults",this.checkIfShowNewResults),dl.on("mainSearch",this.handleMainSearch),dl.on("search",this.handleSearch)},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),changeSearchTab(e){e=e.toLowerCase();let t=this.tabs.find(t=>t.searchType===e);t?(window.scrollTo(0,0),this.currentTab=t):console.error(`No tab ${e} found`)},checkIfShowNewResults(e,t){(e!==this.results.query||"search_tab"==t)&&this.showNewResults(e)},showNewResults(e){dl.emit("mainSearch",{term:e}),this.$root.$emit("updateSearchLoadingState",!0),this.currentTab=this.tabs[0]},checkLoadMoreContent(e){0===this.results[e.split("_")[0]+"Tab"].data.length&&this.search(e.split("_")[0])},addToQueue(e){pl(e.currentTarget.dataset.link)},numberWithDots:oo,convertDuration:so,search(e){dl.emit("search",{term:this.results.query,type:e,start:this.results[e+"Tab"].next,nb:30})},scrolledSearch(){if("all"===this.currentTab.searchType)return;let e=this.currentTab.searchType+"Tab";this.results[e].next({x:0,y:0})});tf.beforeEach((e,t,n)=>{let a=null;switch(e.name){case"Artist":a={type:"artist",id:e.params.id};break;case"Tracklist":a={type:e.params.type,id:e.params.id}}a&&dl.emit("getTracklist",a),po.$emit("trackPreview:stopStackedTabsPreview"),n()}),window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new An({store:ul,router:tf,i18n:Oc,render:e=>e(Ll)}).$mount("#app"),Zh(document.getElementById("main_home_tablink"),"main","home_tab")})),window.addEventListener("pywebviewready",(function(){window.clientMode=!0})),document.addEventListener("paste",e=>{let t=e.clipboardData.getData("Text");if("input"!=e.target.localName)if(ro(t))"analyzer_tab"===window.main_selected?(po.$emit("linkAnalyzerTab:reset"),dl.emit("analyzeLink",t)):hl.sendAddToQueue(t);else{let e=document.querySelector("#searchbar");e.select(),e.setSelectionRange(0,99999)}}),dl.on("message",(function(e){console.log(e)})),dl.on("logging_in",(function(){Tl(Oc.t("toasts.loggingIn"),"loading",!1,"login-toast")})),dl.on("init_autologin",(function(){let e=localStorage.getItem("arl"),t=localStorage.getItem("accountNum");e&&(e=e.trim(),0!=t?dl.emit("login",e,!0,t):dl.emit("login",e))})),dl.on("logged_in",(function(e){const{status:t,user:n}=e;switch(t){case 1:case 3:Tl(Oc.t("toasts.loggedIn"),"done",!0,"login-toast"),ul.dispatch("login",e);break;case 2:Tl(Oc.t("toasts.alreadyLogged"),"done",!0,"login-toast"),ul.dispatch("setUser",n);break;case 0:Tl(Oc.t("toasts.loginFailed"),"close",!0,"login-toast"),ul.dispatch("removeARL");break;case-1:Tl(Oc.t("toasts.deezerNotAvailable"),"close",!0,"login-toast"),$("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),$("#settings_username").text("Not Logged"),$("#settings_picture").attr("src","https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg"),document.getElementById("home_not_logged_in").classList.remove("hide")}})),dl.on("logged_out",(function(){Tl(Oc.t("toasts.loggedOut"),"done",!0,"login-toast"),ul.dispatch("logout")})),dl.on("restoringQueue",(function(){Tl(Oc.t("toasts.restoringQueue"),"loading",!1,"restoring_queue")})),dl.on("cancellingCurrentItem",(function(e){Tl(Oc.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+e)})),dl.on("currentItemCancelled",(function(e){Tl(Oc.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+e)})),dl.on("startAddingArtist",(function(e){Tl(Oc.t("toasts.startAddingArtist",{artist:e.name}),"loading",!1,"artist_"+e.id)})),dl.on("finishAddingArtist",(function(e){Tl(Oc.t("toasts.finishAddingArtist",{artist:e.name}),"done",!0,"artist_"+e.id)})),dl.on("startConvertingSpotifyPlaylist",(function(e){Tl(Oc.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+e)})),dl.on("finishConvertingSpotifyPlaylist",(function(e){Tl(Oc.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+e)})),dl.on("errorMessage",(function(e){Tl(e,"error")})),dl.on("queueError",(function(e){e.errid?Tl(Oc.t("errors.ids."+e.errid),"error"):Tl(e.error,"error")})),dl.on("alreadyInQueue",(function(e){Tl(Oc.t("toasts.alreadyInQueue",{item:e.title}),"playlist_add_check")})),dl.on("loginNeededToDownload",(function(e){Tl(Oc.t("toasts.loginNeededToDownload"),"report")})); +function Bc(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function qc(e,t){return Bc(e)&&e._isRouter&&(null==t||e.type===t)}function Uc(e,t){for(var n in t)e[n]=t[n];return e}var Vc={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,a=t.children,i=t.parent,r=t.data;r.routerView=!0;for(var s=i.$createElement,o=n.name,l=i.$route,c=i._routerViewCache||(i._routerViewCache={}),u=0,d=!1;i&&i._routerRoot!==i;){var p=i.$vnode?i.$vnode.data:{};p.routerView&&u++,p.keepAlive&&i._directInactive&&i._inactive&&(d=!0),i=i.$parent}if(r.routerViewDepth=u,d){var h=c[o],m=h&&h.component;return m?(h.configProps&&Gc(m,r,h.route,h.configProps),s(m,r,a)):s()}var f=l.matched[u],g=f&&f.components[o];if(!f||!g)return c[o]=null,s();c[o]={component:g},r.registerRouteInstance=function(e,t){var n=f.instances[o];(t&&n!==e||!t&&n===e)&&(f.instances[o]=t)},(r.hook||(r.hook={})).prepatch=function(e,t){f.instances[o]=t.componentInstance},r.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==f.instances[o]&&(f.instances[o]=e.componentInstance)};var v=f.props&&f.props[o];return v&&(Uc(c[o],{route:l,configProps:v}),Gc(g,r,l,v)),s(g,r,a)}};function Gc(e,t,n,a){var i=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}(n,a);if(i){i=t.props=Uc({},i);var r=t.attrs=t.attrs||{};for(var s in i)e.props&&s in e.props||(r[s]=i[s],delete i[s])}}var Hc=/[!'()*]/g,Wc=function(e){return"%"+e.charCodeAt(0).toString(16)},Qc=/%2C/g,Kc=function(e){return encodeURIComponent(e).replace(Hc,Wc).replace(Qc,",")},Yc=decodeURIComponent;function Jc(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),a=Yc(n.shift()),i=n.length>0?Yc(n.join("=")):null;void 0===t[a]?t[a]=i:Array.isArray(t[a])?t[a].push(i):t[a]=[t[a],i]})),t):t}function Xc(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return Kc(t);if(Array.isArray(n)){var a=[];return n.forEach((function(e){void 0!==e&&(null===e?a.push(Kc(t)):a.push(Kc(t)+"="+Kc(e)))})),a.join("&")}return Kc(t)+"="+Kc(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var Zc=/\/?$/;function eu(e,t,n,a){var i=a&&a.options.stringifyQuery,r=t.query||{};try{r=tu(r)}catch(e){}var s={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:r,params:t.params||{},fullPath:iu(t,i),matched:e?au(e):[]};return n&&(s.redirectedFrom=iu(n,i)),Object.freeze(s)}function tu(e){if(Array.isArray(e))return e.map(tu);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=tu(e[n]);return t}return e}var nu=eu(null,{path:"/"});function au(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function iu(e,t){var n=e.path,a=e.query;void 0===a&&(a={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||Xc)(a)+i}function ru(e,t){return t===nu?e===t:!!t&&(e.path&&t.path?e.path.replace(Zc,"")===t.path.replace(Zc,"")&&e.hash===t.hash&&su(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&su(e.query,t.query)&&su(e.params,t.params)))}function su(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&n.every((function(n){var a=e[n],i=t[n];return"object"==typeof a&&"object"==typeof i?su(a,i):String(a)===String(i)}))}function ou(e,t,n){var a=e.charAt(0);if("/"===a)return e;if("?"===a||"#"===a)return t+e;var i=t.split("/");n&&i[i.length-1]||i.pop();for(var r=e.replace(/^\//,"").split("/"),s=0;s=0&&(t=e.slice(a),e=e.slice(0,a));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(i.path||""),c=t&&t.path||"/",u=l.path?ou(l.path,c,n||i.append):c,d=function(e,t,n){void 0===t&&(t={});var a,i=n||Jc;try{a=i(e||"")}catch(e){a={}}for(var r in t)a[r]=t[r];return a}(l.query,i.query,a&&a.options.parseQuery),p=i.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:u,query:d,hash:p}}var Mu,Du=function(){},Nu={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,a=this.$route,i=n.resolve(this.to,a,this.append),r=i.location,s=i.route,o=i.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,p=null==u?"router-link-exact-active":u,h=null==this.activeClass?d:this.activeClass,m=null==this.exactActiveClass?p:this.exactActiveClass,f=s.redirectedFrom?eu(null,zu(s.redirectedFrom),null,n):s;l[m]=ru(a,f),l[h]=this.exact?l[m]:function(e,t){return 0===e.path.replace(Zc,"/").indexOf(t.path.replace(Zc,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(a,f);var g=l[m]?this.ariaCurrentValue:null,v=function(e){$u(e)&&(t.replace?n.replace(r,Du):n.push(r,Du))},b={click:$u};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=v})):b[this.event]=v;var y={class:l},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:s,navigate:v,isActive:l[h],isExactActive:l[m]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?e():e("span",{},_)}if("a"===this.tag)y.on=b,y.attrs={href:o,"aria-current":g};else{var k=function e(t){var n;if(t)for(var a=0;a-1&&(o.params[p]=n.params[p]);return o.path=Su(u.path,o.params),l(u,o,s)}if(o.path){o.params={};for(var h=0;h=e.length?n():e[i]?t(e[i],(function(){a(i+1)})):a(i+1)};a(0)}function id(e){return function(t,n,a){var i=!1,r=0,s=null;rd(e,(function(e,t,n,o){if("function"==typeof e&&void 0===e.cid){i=!0,r++;var l,c=ld((function(t){var i;((i=t).__esModule||od&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Mu.extend(t),n.components[o]=t,--r<=0&&a()})),u=ld((function(e){var t="Failed to resolve async component "+o+": "+e;s||(s=Bc(e)?e:new Error(t),a(s))}));try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),i||a()}}function rd(e,t){return sd(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function sd(e){return Array.prototype.concat.apply([],e)}var od="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function ld(e){var t=!1;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];if(!t)return t=!0,e.apply(this,n)}}var cd=1,ud=2,dd=3,pd=4;function hd(e,t){return fd(e,t,cd,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return gd.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function md(e,t){return fd(e,t,dd,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function fd(e,t,n,a){var i=new Error(a);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var gd=["params","query","hash"];var vd=function(e,t){this.router=e,this.base=function(e){if(!e)if(Pu){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=nu,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function bd(e,t,n,a){var i=rd(e,(function(e,a,i,r){var s=function(e,t){"function"!=typeof e&&(e=Mu.extend(e));return e.options[t]}(e,t);if(s)return Array.isArray(s)?s.map((function(e){return n(e,a,i,r)})):n(s,a,i,r)}));return sd(a?i.reverse():i)}function yd(e,t){if(t)return function(){return e.apply(t,arguments)}}vd.prototype.listen=function(e){this.cb=e},vd.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},vd.prototype.onError=function(e){this.errorCbs.push(e)},vd.prototype.transitionTo=function(e,t,n){var a=this,i=this.router.match(e,this.current);this.confirmTransition(i,(function(){var e=a.current;a.updateRoute(i),t&&t(i),a.ensureURL(),a.router.afterHooks.forEach((function(t){t&&t(i,e)})),a.ready||(a.ready=!0,a.readyCbs.forEach((function(e){e(i)})))}),(function(e){n&&n(e),e&&!a.ready&&(a.ready=!0,qc(e,cd)?a.readyCbs.forEach((function(e){e(i)})):a.readyErrorCbs.forEach((function(t){t(e)})))}))},vd.prototype.confirmTransition=function(e,t,n){var a,i=this,r=this.current,s=function(e){!qc(e)&&Bc(e)&&(i.errorCbs.length?i.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},o=e.matched.length-1,l=r.matched.length-1;if(ru(e,r)&&o===l&&e.matched[o]===r.matched[l])return this.ensureURL(),s(fd(a=r,e,pd,'Avoided redundant navigation to current location: "'+a.fullPath+'".'));var c=function(e,t){var n,a=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,a=ed&&n;a&&this.listeners.push(Vu());var i=function(){var n=e.current,i=kd(e.base);e.current===nu&&i===e._startLocation||e.transitionTo(i,(function(e){a&&Gu(t,e,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){td(lu(a.base+e.fullPath)),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){nd(lu(a.base+e.fullPath)),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(kd(this.base)!==this.current.fullPath){var t=lu(this.base+this.current.fullPath);e?td(t):nd(t)}},t.prototype.getCurrentLocation=function(){return kd(this.base)},t}(vd);function kd(e){var t=decodeURI(window.location.pathname);return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ad=function(e){function t(t,n,a){e.call(this,t,n),a&&function(e){var t=kd(e);if(!/^\/#/.test(t))return window.location.replace(lu(e+"/#"+t)),!0}(this.base)||wd()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=ed&&t;n&&this.listeners.push(Vu());var a=function(){var t=e.current;wd()&&e.transitionTo(Cd(),(function(a){n&&Gu(e.router,a,t,!0),ed||Sd(a.fullPath)}))},i=ed?"popstate":"hashchange";window.addEventListener(i,a),this.listeners.push((function(){window.removeEventListener(i,a)}))}},t.prototype.push=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){Td(e.fullPath),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this,i=this.current;this.transitionTo(e,(function(e){Sd(e.fullPath),Gu(a.router,e,i,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Cd()!==t&&(e?Td(t):Sd(t))},t.prototype.getCurrentLocation=function(){return Cd()},t}(vd);function wd(){var e=Cd();return"/"===e.charAt(0)||(Sd("/"+e),!1)}function Cd(){var e=window.location.href,t=e.indexOf("#");if(t<0)return"";var n=(e=e.slice(t+1)).indexOf("?");if(n<0){var a=e.indexOf("#");e=a>-1?decodeURI(e.slice(0,a))+e.slice(a):decodeURI(e)}else e=decodeURI(e.slice(0,n))+e.slice(n);return e}function xd(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function Td(e){ed?td(xd(e)):window.location.hash=e}function Sd(e){ed?nd(xd(e)):window.location.replace(xd(e))}var zd=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var a=this;this.transitionTo(e,(function(e){a.stack=a.stack.slice(0,a.index+1).concat(e),a.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var a=this;this.transitionTo(e,(function(e){a.stack=a.stack.slice(0,a.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var a=this.stack[n];this.confirmTransition(a,(function(){t.index=n,t.updateRoute(a)}),(function(e){qc(e,pd)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(vd),Md=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Eu(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ed&&!1!==e.fallback,this.fallback&&(t="hash"),Pu||(t="abstract"),this.mode=t,t){case"history":this.history=new _d(this,e.base);break;case"hash":this.history=new Ad(this,e.base,this.fallback);break;case"abstract":this.history=new zd(this,e.base)}},Dd={currentRoute:{configurable:!0}};function Nd(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Md.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Dd.currentRoute.get=function(){return this.history&&this.history.current},Md.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardownListeners()})),!this.app){this.app=e;var n=this.history;if(n instanceof _d||n instanceof Ad){var a=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},Md.prototype.beforeEach=function(e){return Nd(this.beforeHooks,e)},Md.prototype.beforeResolve=function(e){return Nd(this.resolveHooks,e)},Md.prototype.afterEach=function(e){return Nd(this.afterHooks,e)},Md.prototype.onReady=function(e,t){this.history.onReady(e,t)},Md.prototype.onError=function(e){this.history.onError(e)},Md.prototype.push=function(e,t,n){var a=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){a.history.push(e,t,n)}));this.history.push(e,t,n)},Md.prototype.replace=function(e,t,n){var a=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){a.history.replace(e,t,n)}));this.history.replace(e,t,n)},Md.prototype.go=function(e){this.history.go(e)},Md.prototype.back=function(){this.go(-1)},Md.prototype.forward=function(){this.go(1)},Md.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},Md.prototype.resolve=function(e,t,n){var a=zu(e,t=t||this.history.current,n,this),i=this.match(a,t),r=i.redirectedFrom||i.fullPath;return{location:a,route:i,href:function(e,t,n){var a="hash"===n?"#"+t:t;return e?lu(e+"/"+a):a}(this.history.base,r,this.mode),normalizedTo:a,resolved:i}},Md.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==nu&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Md.prototype,Dd),Md.install=function e(t){if(!e.installed||Mu!==t){e.installed=!0,Mu=t;var n=function(e){return void 0!==e},a=function(e,t){var a=e.$options._parentVnode;n(a)&&n(a=a.data)&&n(a=a.registerRouteInstance)&&a(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,a(this,this)},destroyed:function(){a(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Vc),t.component("RouterLink",Nu);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}},Md.version="3.3.4",Pu&&window.Vue&&window.Vue.use(Md);var $d="object"==typeof global&&global&&global.Object===Object&&global,Pd="object"==typeof self&&self&&self.Object===Object&&self,Ld=$d||Pd||Function("return this")(),Rd=Ld.Symbol,Ed=Object.prototype,Id=Ed.hasOwnProperty,jd=Ed.toString,Fd=Rd?Rd.toStringTag:void 0;var Od=Object.prototype.toString;var Bd=Rd?Rd.toStringTag:void 0;function qd(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Bd&&Bd in Object(e)?function(e){var t=Id.call(e,Fd),n=e[Fd];try{e[Fd]=void 0;var a=!0}catch(e){}var i=jd.call(e);return a&&(t?e[Fd]=n:delete e[Fd]),i}(e):function(e){return Od.call(e)}(e)}function Ud(e){return null!=e&&"object"==typeof e}function Vd(e){return"symbol"==typeof e||Ud(e)&&"[object Symbol]"==qd(e)}function Gd(e,t){for(var n=-1,a=null==e?0:e.length,i=Array(a);++n-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}function gp(e){return null!=e&&fp(e.length)&&!Xd(e)}var vp=Object.prototype;function bp(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||vp)}function yp(e){return Ud(e)&&"[object Arguments]"==qd(e)}var _p=Object.prototype,kp=_p.hasOwnProperty,Ap=_p.propertyIsEnumerable,wp=yp(function(){return arguments}())?yp:function(e){return Ud(e)&&kp.call(e,"callee")&&!Ap.call(e,"callee")};var Cp="object"==typeof exports&&exports&&!exports.nodeType&&exports,xp=Cp&&"object"==typeof module&&module&&!module.nodeType&&module,Tp=xp&&xp.exports===Cp?Ld.Buffer:void 0,Sp=(Tp?Tp.isBuffer:void 0)||function(){return!1},zp={};function Mp(e){return function(t){return e(t)}}zp["[object Float32Array]"]=zp["[object Float64Array]"]=zp["[object Int8Array]"]=zp["[object Int16Array]"]=zp["[object Int32Array]"]=zp["[object Uint8Array]"]=zp["[object Uint8ClampedArray]"]=zp["[object Uint16Array]"]=zp["[object Uint32Array]"]=!0,zp["[object Arguments]"]=zp["[object Array]"]=zp["[object ArrayBuffer]"]=zp["[object Boolean]"]=zp["[object DataView]"]=zp["[object Date]"]=zp["[object Error]"]=zp["[object Function]"]=zp["[object Map]"]=zp["[object Number]"]=zp["[object Object]"]=zp["[object RegExp]"]=zp["[object Set]"]=zp["[object String]"]=zp["[object WeakMap]"]=!1;var Dp="object"==typeof exports&&exports&&!exports.nodeType&&exports,Np=Dp&&"object"==typeof module&&module&&!module.nodeType&&module,$p=Np&&Np.exports===Dp&&$d.process,Pp=function(){try{var e=Np&&Np.require&&Np.require("util").types;return e||$p&&$p.binding&&$p.binding("util")}catch(e){}}(),Lp=Pp&&Pp.isTypedArray,Rp=Lp?Mp(Lp):function(e){return Ud(e)&&fp(e.length)&&!!zp[qd(e)]},Ep=Object.prototype.hasOwnProperty;function Ip(e,t){var n=Hd(e),a=!n&&wp(e),i=!n&&!a&&Sp(e),r=!n&&!a&&!i&&Rp(e),s=n||a||i||r,o=s?function(e,t){for(var n=-1,a=Array(e);++n-1},Zp.prototype.set=function(e,t){var n=this.__data__,a=Jp(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this};var eh=up(Ld,"Map");function th(e,t){var n,a,i=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function nh(e){var t=-1,n=null==e?0:e.length;for(this.clear();++to))return!1;var c=r.get(e);if(c&&r.get(t))return c==t;var u=-1,d=!0,p=2&n?new Th:void 0;for(r.set(e,t),r.set(t,e);++ut||r&&s&&l&&!o&&!c||a&&s&&l||!n&&l||!i)return 1;if(!a&&!r&&!c&&e=o?l:l*("desc"==n[a]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xh(e,t,n,a){return null==e?[]:(Hd(t)||(t=null==t?[]:[t]),Hd(n=a?void 0:n)||(n=null==n?[]:[n]),Jh(e,t,n))}function Zh(e,t,n){window.windows_stack=[],window.currentStack={},function(e){if("main"==e)return;const t=document.getElementsByClassName(e+"_tablinks");for(let e=0;e({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),methods:{backTab:tm,albumView:em.bind(null,"album"),reset(){this.title="Loading...",this.image="",this.type="",this.currentTab="",this.sortKey="release_date",this.sortOrder="desc",this.link="",this.head=[],this.body=null},addToQueue(e){e.stopPropagation(),hl.sendAddToQueue(e.currentTarget.dataset.link)},sortBy(e){e==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=e,this.sortOrder="asc")},changeTab(e){this.currentTab=e},getCurrentTab(){return this.currentTab},updateSelected(){window.currentStack.selected=this.currentTab},checkNewRelease(e){let t=new Date,n=new Date(e);return n.setDate(n.getDate()+3),t.setHours(0,0,0,0),t.getTime()<=n.getTime()},showArtist(e){this.reset();const{name:t,picture_xl:n,id:a,releases:i}=e;this.title=t,this.image=n,this.type="Artist",this.link="https://www.deezer.com/artist/"+a,""===this.currentTab&&(this.currentTab=Object.keys(i)[0]),this.sortKey="release_date",this.sortOrder="desc",this.head=[{title:this.$tc("globals.listTabs.title",1),sortKey:"title"},{title:this.$t("globals.listTabs.releaseDate"),sortKey:"release_date"},{title:this.$tc("globals.listTabs.track",2),sortKey:"nb_song"},{title:"",width:"32px"}],Kh(i)?this.body=null:this.body=i}},computed:{showTable(){return this.body?"nb_song"==this.sortKey?Xh(this.body[this.currentTab],(function(e){return new Number(e.nb_song)}),this.sortOrder):Xh(this.body[this.currentTab],this.sortKey,this.sortOrder):[]}},mounted(){dl.on("show_artist",this.showArtist),po.$on("artistTab:updateSelected",this.updateSelected),po.$on("artistTab:changeTab",this.changeTab)}};var am=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"artist_tab"}},[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("h1",[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("div",{staticClass:"tab"},e._l(e.body,(function(t,a){return n("button",{key:a,staticClass:"selective",class:{active:a===e.currentTab},attrs:{href:"#artist_"+a},on:{click:function(t){return e.changeTab(a)}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+a,2))+"\n\t\t")])})),0),e._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",e._l(e.head,(function(t){return n("th",{class:{"sort-asc":t.sortKey==e.sortKey&&"asc"==e.sortOrder,"sort-desc":t.sortKey==e.sortKey&&"desc"==e.sortOrder,sortable:t.sortKey,clickable:t.sortKey},style:{width:t.width?t.width:"auto"},on:{click:function(n){t.sortKey&&e.sortBy(t.sortKey)}}},[e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t")])})),0)]),e._v(" "),n("tbody",e._l(e.showTable,(function(t){return n("tr",{key:t.id},[n("td",{staticClass:"inline-flex clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:t.cover_small}}),e._v(" "),t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t"+e._s(t.title)+"\n\t\t\t\t\t"),e.checkNewRelease(t.release_date)?n("i",{staticClass:"material-icons",staticStyle:{color:"#ff7300"}},[e._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):e._e()]),e._v(" "),n("td",[e._v(e._s(t.release_date))]),e._v(" "),n("td",[e._v(e._s(t.nb_song))]),e._v(" "),n("td",{staticClass:"clickable",attrs:{"data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" file_download ")])])])})),0)]),e._v(" "),n("footer",[n("button",{staticClass:"back-button",on:{click:e.backTab}},[e._v(e._s(e.$t("globals.back")))])])])};am._withStripped=!0;var im=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\ArtistTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:am,staticRenderFns:[]},(function(e){e&&e("data-v-e5c88b42_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"ArtistTab.vue"},media:void 0})}),nm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const rm={name:"tracklist-tab",data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),methods:{backTab:tm,artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},reset(){this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(e){hl.sendAddToQueue(e.currentTarget.dataset.link)},toggleAll(e){this.body.forEach(t=>{"track"==t.type&&(t.selected=e.currentTarget.checked)})},selectedLinks(){var e=[];return this.body&&this.body.forEach(t=>{"track"==t.type&&t.selected&&e.push("spotifyPlaylist"==this.type?t.uri:t.link)}),e.join(";")},convertDuration:uo.convertDuration,showAlbum(e){this.reset();const{id:t,title:n,explicit_lyrics:a,label:i,artist:{name:r},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=e;this.type="album",this.link="https://www.deezer.com/album/"+t,this.title=n,this.explicit=a,this.label=i,this.metadata=`${r} • ${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,Kh(s)?this.body=null:this.body=s},showPlaylist(e){this.reset();const{id:t,title:n,picture_xl:a,creation_date:i,creator:{name:r},tracks:s,tracks:{length:o}}=e;this.type="playlist",this.link="https://www.deezer.com/playlist/"+t,this.title=n,this.image=a,this.release_date=i.substring(0,10),this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Kh(s)?this.body=null:this.body=s},showSpotifyPlaylist(e){this.reset();const{uri:t,name:n,images:a,images:{length:i},owner:{display_name:r},tracks:s,tracks:{length:o}}=e;this.type="spotifyPlaylist",this.link=t,this.title=n,this.image=i?a[0].url:"https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg",this.release_date="",this.metadata=`${this.$t("globals.by",{artist:r})} • ${this.$tc("globals.listTabs.trackN",o)}`,Kh(s)?this.body=null:this.body=s},selectRow(e,t){t.selected=!t.selected}},mounted(){po.$on("tracklistTab:selectRow",this.selectRow),dl.on("show_album",this.showAlbum),dl.on("show_playlist",this.showPlaylist),dl.on("show_spotifyplaylist",this.showSpotifyPlaylist)}};var sm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer image_header",attrs:{id:"tracklist_tab"}},[n("header",{style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("h1",{staticClass:"inline-flex"},[e._v("\n\t\t\t"+e._s(e.title)+" "),e.explicit?n("i",{staticClass:"material-icons explicit_icon explicit_icon--right"},[e._v("explicit")]):e._e()]),e._v(" "),n("h2",{staticClass:"inline-flex"},[e.metadata?n("span",[e._v(e._s(e.metadata))]):e._e(),e._v(" "),e.release_date?n("span",{staticClass:"right"},[e._v(e._s(e.release_date))]):e._e()])]),e._v(" "),n("table",{staticClass:"table table--tracklist"},[n("thead",[n("tr",[e._m(0),e._v(" "),n("th",[e._v("#")]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),"playlist"===e.type?n("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]):e._e(),e._v(" "),e._m(1),e._v(" "),n("th",{staticClass:"table__icon table__cell--center clickable"},[n("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:e.toggleAll}})])])]),e._v(" "),n("tbody",["spotifyPlaylist"!==e.type?[e._l(e.body,(function(t,a){return["track"==t.type?n("tr",{on:{click:function(n){return e.selectRow(a,t)}}},[n("td",{staticClass:"table__cell--x-small table__cell--center"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",e._g({staticClass:"material-icons",class:{preview_playlist_controls:t.preview,disabled:!t.preview},attrs:{"data-preview":t.preview,title:e.$t("globals.play_hint")}},{click:!!t.preview&&e.playPausePreview}),[e._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),e._v(" "),n("td",{staticClass:"table__cell--small table__cell--center track_position"},[e._v("\n\t\t\t\t\t\t\t"+e._s("album"===e.type?t.track_position:e.body.indexOf(t)+1)+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--large table__cell--with-icon"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":t.artist.id},on:{click:e.artistView}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t\t\t")]),e._v(" "),"playlist"==e.type?n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":t.album.id},on:{click:e.albumView}},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===e.type,"table__cell--x-small":"playlist"===e.type}},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__icon table__cell--center"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(n){var a=t.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=e._i(a,null);i.checked?s<0&&e.$set(t,"selected",a.concat([null])):s>-1&&e.$set(t,"selected",a.slice(0,s).concat(a.slice(s+1)))}else e.$set(t,"selected",r)}}})])]):"disc_separator"==t.type?n("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[e._m(2,!0),e._v(" "),n("td",{staticClass:"table__cell--center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(t.number)+"\n\t\t\t\t\t\t")]),e._v(" "),n("td",{attrs:{colspan:"4"}})]):e._e()]}))]:e._l(e.body,(function(t,a){return n("tr",[n("td",[t.preview_url?n("i",{class:"material-icons"+(t.preview_url?" preview_playlist_controls":""),attrs:{"data-preview":t.preview_url,title:e.$t("globals.play_hint")},on:{click:e.playPausePreview}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):n("i",{staticClass:"material-icons disabled"},[e._v("play_arrow")])]),e._v(" "),n("td",[e._v(e._s(a+1))]),e._v(" "),n("td",{staticClass:"inline-flex"},[t.explicit?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.name)+"\n\t\t\t\t\t")]),e._v(" "),n("td",[e._v(e._s(t.artists[0].name))]),e._v(" "),n("td",[e._v(e._s(t.album.name))]),e._v(" "),n("td",[e._v(e._s(e.convertDuration(Math.floor(t.duration_ms/1e3))))]),e._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.selected)?e._i(t.selected,null)>-1:t.selected},on:{change:function(n){var a=t.selected,i=n.target,r=!!i.checked;if(Array.isArray(a)){var s=e._i(a,null);i.checked?s<0&&e.$set(t,"selected",a.concat([null])):s>-1&&e.$set(t,"selected",a.slice(0,s).concat(a.slice(s+1)))}else e.$set(t,"selected",r)}}})])])}))],2)]),e._v(" "),e.label?n("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[e._v(e._s(e.label))]):e._e(),e._v(" "),n("footer",[n("button",{attrs:{"data-link":e.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(""+e.$t("globals.download",{thing:e.$tc("globals.listTabs."+e.type,1)}))+"\n\t\t")]),e._v(" "),n("button",{staticClass:"with_icon",attrs:{"data-link":e.selectedLinks()},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[e._v("\n\t\t\t"+e._s(e.$t("tracklist.downloadSelection"))),n("i",{staticClass:"material-icons"},[e._v("file_download")])]),e._v(" "),n("button",{staticClass:"back-button",on:{click:e.backTab}},[e._v(e._s(e.$t("globals.back")))])])])};sm._withStripped=!0;var om=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TracklistTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:sm,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v("music_note")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v("timer")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("td",[t("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[t("i",{staticClass:"material-icons"},[this._v("album")])])])}]},(function(e){e&&e("data-v-7c8d3dc0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TracklistTab.vue"},media:void 0})}),rm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let lm={},cm=!1;function um(){return cm?lm:(dl.emit("get_home_data"),new Promise((e,t)=>{dl.on("init_home",t=>{lm=t,cm=!0,e(t)})}))}const dm={data:()=>({playlists:[],albums:[]}),async created(){const e=await um();this.initHome(e)},computed:{...Ho(["isLoggedIn"]),needToWait(){return 0===this.getHomeData.albums.data.length&&0===this.getHomeData.playlists.data.length}},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),addToQueue(e){pl(e.currentTarget.dataset.link)},initHome(e){const{playlists:{data:t},albums:{data:n}}=e;this.playlists=t,this.albums=n}}};var pm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"home_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("globals.welcome")))]),e._v(" "),e.isLoggedIn?e._e():n("section",{ref:"notLogged",staticClass:"home_section"},[n("p",{attrs:{id:"home_not_logged_text"}},[e._v(e._s(e.$t("home.needTologin")))]),e._v(" "),n("router-link",{attrs:{tag:"button",name:"button",to:{name:"Settings"}}},[e._v("\n\t\t\t"+e._s(e.$t("home.openSettings"))+"\n\t\t")])],1),e._v(" "),e.playlists.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[e._v(e._s(e.$t("home.sections.popularPlaylists")))]),e._v(" "),n("div",{staticClass:"release_grid"},e._l(e.playlists,(function(t){return n("div",{key:t.id,staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])})),0)]):e._e(),e._v(" "),e.albums.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[e._v(e._s(e.$t("home.sections.popularAlbums")))]),e._v(" "),n("div",{staticClass:"release_grid"},e._l(e.albums,(function(t){return n("div",{key:t.id,staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])])})),0)]):e._e()])};pm._withStripped=!0;var hm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheHomeTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:pm,staticRenderFns:[]},(function(e){e&&e("data-v-77057651_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheHomeTab.vue"},media:void 0})}),dm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));let mm={},fm=!1;function gm(){return fm?mm:(dl.emit("get_charts_data"),new Promise((e,t)=>{dl.on("init_charts",t=>{mm=t,fm=!0,e(t)})}))}const vm={data:()=>({country:"",id:0,countries:[],chart:[]}),async created(){dl.on("setChartTracks",this.setTracklist),this.$on("hook:destroyed",()=>{console.log("destroyed"),dl.off("setChartTracks")});const e=await gm();this.initCharts(e)},methods:{convertDuration:so,artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){po.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){po.$emit("trackPreview:previewMouseLeave",e)},addToQueue(e){e.stopPropagation(),pl(e.currentTarget.dataset.link)},getTrackList(e){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:t}},currentTarget:{dataset:{id:n}}}=e;this.country=t,localStorage.setItem("chart",this.country),this.id=n,dl.emit("getChartTracks",this.id)},setTracklist(e){console.log("set tracklist"),this.chart=e},changeCountry(){this.country="",this.id=0},initCharts(e){if(this.countries=e,this.country=localStorage.getItem("chart")||"",!this.country)return;let t=0;for(;t({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[],activeTab:"playlist",tabs:["playlist","album","artist","track"]}),computed:{...Ho(["getFavorites"]),needToWait(){return 0===Object.keys(this.getFavorites).length}},mounted(){this.waitFavorites(),dl.on("updated_userFavorites",this.updated_userFavorites),dl.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),dl.on("updated_userPlaylists",this.updated_userPlaylists),dl.on("updated_userAlbums",this.updated_userAlbums),dl.on("updated_userArtist",this.updated_userArtist),dl.on("updated_userTracks",this.updated_userTracks)},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),spotifyPlaylistView:em.bind(null,"spotifyplaylist"),waitFavorites(){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"setFavorites"===t.type&&(this.initFavorites(),e())}})}else this.initFavorites()},playPausePreview(e){EventBus.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){EventBus.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){EventBus.$emit("trackPreview:previewMouseLeave",e)},convertDuration:so,addToQueue(e){e.stopPropagation(),hl.sendAddToQueue(e.currentTarget.dataset.link)},updated_userSpotifyPlaylists(e){this.spotifyPlaylists=e},updated_userPlaylists(e){this.playlists=e},updated_userAlbums(e){this.albums=e},updated_userArtist(e){this.artists=e},updated_userTracks(e){this.tracks=e},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),dl.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&dl.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(e){const{tracks:t,albums:n,artists:a,playlists:i}=e;this.tracks="string"==typeof t?JSON.parse(t):t,this.albums=n,this.artists=a,this.playlists=i,this.$refs.reloadButton.addEventListener("animationiteration",()=>{this.$refs.reloadButton.classList.remove("spin"),Tl(this.$t("toasts.refreshFavs"),"done",!0)},{once:!0})},initFavorites(){this.updated_userFavorites(this.getFavorites)}}};var km=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_tabcontent",attrs:{id:"favorites_tab"}},[n("h2",{staticClass:"page_heading"},[e._v("\n\t\t"+e._s(e.$t("favorites.title"))+"\n\t\t"),n("div",{ref:"reloadButton",staticClass:"clickable reload-button reload-button--inline",attrs:{role:"button","aria-label":"reload"},on:{click:e.reloadTabs}},[n("i",{staticClass:"material-icons"},[e._v("sync")])])]),e._v(" "),n("div",{staticClass:"section-tabs"},e._l(e.tabs,(function(t){return n("div",{key:t,staticClass:"section-tabs__tab favorites_tablinks",class:{active:e.activeTab===t},on:{click:function(n){e.activeTab=t}}},[e._v("\n\t\t\t"+e._s(e.$tc("globals.listTabs."+t,2))+"\n\t\t")])})),0),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"playlist"===e.activeTab}},[0==e.playlists.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noPlaylists")))])]):e._e(),e._v(" "),e.playlists.length>0||e.spotifyPlaylists>0?n("div",{staticClass:"release_grid"},[e._l(e.playlists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])})),e._v(" "),e._l(e.spotifyPlaylists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.spotifyPlaylistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.creator.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t\t")])])}))],2):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"album"===e.activeTab}},[0==e.albums.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noAlbums")))])]):e._e(),e._v(" "),e.albums.length>0?n("div",{staticClass:"release_grid"},e._l(e.albums,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(""+e.$t("globals.by",{artist:t.artist.name})))])])})),0):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"artist"===e.activeTab}},[0==e.artists.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noArtists")))])]):e._e(),e._v(" "),e.artists.length>0?n("div",{staticClass:"release_grid"},e._l(e.artists,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:e.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.name))])])})),0):e._e()]),e._v(" "),n("div",{staticClass:"favorites_tabcontent",class:{"favorites_tabcontent--active":"track"===e.activeTab}},[0==e.tracks.length?n("div",[n("h1",[e._v(e._s(e.$t("favorites.noTracks")))])]):e._e(),e._v(" "),e.tracks.length>0?n("table",{staticClass:"table"},e._l(e.tracks,(function(t){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===t.position}},[e._v("\n\t\t\t\t\t"+e._s(t.position)+"\n\t\t\t\t")]),e._v(" "),n("td",[n("a",{staticClass:"rounded",class:{"single-cover":!!t.preview},attrs:{href:"#","data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})])]),e._v(" "),n("td",{staticClass:"table__cell--large breakline"},[e._v("\n\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.artist.id},on:{click:e.artistView}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.album.id},on:{click:e.albumView}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--small"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download clickable",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])])])})),0):e._e()])])};km._withStripped=!0;var Am=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheFavoritesTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:km,staticRenderFns:[]},(function(e){e&&e("data-v-0a66a0c2_0",{source:".favorites_tabcontent {\n display: none;\n}\n.favorites_tabcontent--active {\n display: block;\n}\n\n/*# sourceMappingURL=TheFavoritesTab.vue.map */",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheFavoritesTab.vue","TheFavoritesTab.vue"],names:[],mappings:"AA0MA;EACA,aAAA;AAAA;AAEA;IACA,cAAA;AAAA;;ACzMA,8CAA8C",file:"TheFavoritesTab.vue",sourcesContent:[null,".favorites_tabcontent {\n display: none; }\n .favorites_tabcontent--active {\n display: block; }\n\n/*# sourceMappingURL=TheFavoritesTab.vue.map */"]},media:void 0})}),_m,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const wm={computed:{...Ho(["getErrors"]),title(){return`${this.getErrors.artist} - ${this.getErrors.title}`},errors(){return this.getErrors.errors}}};var Cm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"main_tabcontent",attrs:{id:"errors_tab"}},[n("h1",[e._v(e._s(e.$t("errors.title",{name:e.title})))]),e._v(" "),n("table",{staticClass:"table table--tracklist"},[n("tr",[n("th",[e._v("ID")]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.error",1)))])]),e._v(" "),e._l(e.errors,(function(t){return n("tr",{key:t.data.id},[n("td",[e._v(e._s(t.data.id))]),e._v(" "),n("td",[e._v(e._s(t.data.artist))]),e._v(" "),n("td",[e._v(e._s(t.data.title))]),e._v(" "),n("td",[e._v(e._s(t.errid?e.$t("errors.ids."+t.errid):t.message))])])}))],2)])};Cm._withStripped=!0;var xm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheErrorsTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Cm,staticRenderFns:[]},(function(e){e&&e("data-v-3e1ec024_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheErrorsTab.vue"},media:void 0})}),wm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Tm={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curaçao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the Former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthélemy",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin (French part)",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten (Dutch part)",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"};const Sm={data:()=>({link:"",title:"",subtitle:"",image:"",data:{},type:"",id:"0",countries:[]}),methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),convertDuration:so,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(e){this.reset();const{title:t,title_version:n,album:{cover_xl:a},link:i,available_countries:r,id:s}=e;this.title=t+(n&&-1==t.indexOf(n)?" "+n:""),this.image=a,this.type="track",this.link=i,this.id=s,r.forEach(e=>{let t=[],n=[...e].map(e=>e.charCodeAt()+127397);t.push(String.fromCodePoint(...n)),t.push(Tm[e]),this.countries.push(t)}),this.data=e},showAlbum(e){this.reset();const{title:t,cover_xl:n,link:a,id:i}=e;this.title=t,this.image=n,this.type="album",this.link=a,this.data=e,this.id=i},notSupported(){this.link="error"},addToQueue(e){pl(e.currentTarget.dataset.link)}},mounted(){po.$on("linkAnalyzerTab:reset",this.reset),dl.on("analyze_track",this.showTrack),dl.on("analyze_album",this.showAlbum),dl.on("analyze_notSupported",this.notSupported)}};var zm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent image_header",attrs:{id:"analyzer_tab"}},[n("h2",{staticClass:"page_heading page_heading--capitalize"},[e._v(e._s(e.$t("sidebar.linkAnalyzer")))]),e._v(" "),""===e.link?n("div",[n("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.info"))+"\n\t\t")]),e._v(" "),n("p",[e._v("\n\t\t\t"+e._s(e.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"===e.link?n("div",[n("h2",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupported")))]),e._v(" "),n("p",[e._v(e._s(e.$t("linkAnalyzer.linkNotSupportedYet")))])]):n("div",[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+e.image+"')"}},[n("div",[n("h1",[e._v(e._s(e.title))]),e._v(" "),"track"==e.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"artist","data-id":e.data.artist.id},on:{click:e.artistView}},[e._v(e._s(e.data.artist.name))])]),e._v("\n\t\t\t\t\t•\n\t\t\t\t\t"),n("i18n",{attrs:{path:"globals.in",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"album","data-id":e.data.album.id},on:{click:e.albumView}},[e._v(e._s(e.data.album.title))])])],1):"album"==e.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"artist","data-id":e.data.artist.id},on:{click:e.artistView}},[e._v(e._s(e.data.artist.name))])]),e._v("\n\t\t\t\t\t"+e._s(" • "+e.$tc("globals.listTabs.trackN",e.data.nb_tracks))+"\n\t\t\t\t")],1):e._e()]),e._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(t){return t.preventDefault(),e.openQualityModal(t)},click:function(t){return t.stopPropagation(),e.addToQueue(t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("table",{staticClass:"table"},[e.data.id?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.id")))]),e._v(" "),n("td",[e._v(e._s(e.data.id))])]):e._e(),e._v(" "),e.data.isrc?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.isrc")))]),e._v(" "),n("td",[e._v(e._s(e.data.isrc))])]):e._e(),e._v(" "),e.data.upc?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.upc")))]),e._v(" "),n("td",[e._v(e._s(e.data.upc))])]):e._e(),e._v(" "),e.data.duration?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.duration")))]),e._v(" "),n("td",[e._v(e._s(e.convertDuration(e.data.duration)))])]):e._e(),e._v(" "),e.data.disk_number?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.diskNumber")))]),e._v(" "),n("td",[e._v(e._s(e.data.disk_number))])]):e._e(),e._v(" "),e.data.track_position?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.trackNumber")))]),e._v(" "),n("td",[e._v(e._s(e.data.track_position))])]):e._e(),e._v(" "),e.data.release_date?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.releaseDate")))]),e._v(" "),n("td",[e._v(e._s(e.data.release_date))])]):e._e(),e._v(" "),e.data.bpm?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.bpm")))]),e._v(" "),n("td",[e._v(e._s(e.data.bpm))])]):e._e(),e._v(" "),e.data.label?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.label")))]),e._v(" "),n("td",[e._v(e._s(e.data.label))])]):e._e(),e._v(" "),e.data.record_type?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.recordType")))]),e._v(" "),n("td",[e._v(e._s(e.$tc("globals.listTabs."+e.data.record_type,1)))])]):e._e(),e._v(" "),e.data.genres&&e.data.genres.data.length?n("tr",[n("td",[e._v(e._s(e.$t("linkAnalyzer.table.genres")))]),e._v(" "),n("td",[e._v(e._s(e.data.genres.data.map((function(e){return e.name})).join("; ")))])]):e._e()]),e._v(" "),"album"==e.type?n("div",[n("button",{attrs:{"data-id":e.id},on:{click:e.albumView}},[e._v(e._s(e.$t("linkAnalyzer.table.tracklist")))])]):e._e(),e._v(" "),e.countries.length?n("div",e._l(e.countries,(function(t){return n("p",[e._v(e._s(t[0])+" - "+e._s(t[1]))])})),0):e._e()])])};zm._withStripped=!0;var Mm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheLinkAnalyzerTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:zm,staticRenderFns:[]},(function(e){e&&e("data-v-fb02f718_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TheLinkAnalyzerTab.vue"},media:void 0})}),Sm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Dm={data:()=>({paypal:'\r\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n',ethereum:'',current:null,latest:null,updateAvailable:!1,deemixVersion:null}),computed:{...Ho(["getAboutInfo"])},methods:{initUpdate(e){const{currentCommit:t,latestCommit:n,updateAvailable:a,deemixVersion:i}=e;this.current=t,this.latest=n,this.updateAvailable=a,this.deemixVersion=i}},mounted(){this.initUpdate(this.getAboutInfo)}};var Nm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"about_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("sidebar.about")))]),e._v(" "),n("ul",[n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.updates.currentVersion"))+":\n\t\t\t"),n("span",[e._v(e._s(e.current||e.$t("about.updates.versionNotAvailable")))])]),e._v(" "),n("li",[e._v(e._s(e.$t("about.updates.deemixVersion"))+": "+e._s(e.deemixVersion))]),e._v(" "),e.updateAvailable&&e.latest?n("li",[e._v(e._s(e.$t("about.updates.updateAvailable",{version:e.latest})))]):e._e()]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.usesLibrary"))}}),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.thanks"))}}),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.upToDate"))}})]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.usefulLinks")))]),e._v(" "),n("ul",{staticClass:"no-dots"},[n("li",[n("a",{attrs:{href:"https://deemix.app",target:"_blank"}},[e._v("🌍 "+e._s(e.$t("about.officialWebsite")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix",target:"_blank"}},[e._v("🚀 "+e._s(e.$t("about.officialRepo")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix-webui",target:"_blank"}},[e._v("💻 "+e._s(e.$t("about.officialWebuiRepo")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[e._v("🤖 "+e._s(e.$t("about.officialSubreddit")))])]),e._v(" "),n("li",[n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[e._v("📰 "+e._s(e.$t("about.newsChannel")))])])]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.bugReports"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.bugReports"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.questions"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.beforeReporting"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.beSure"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.duplicateReports"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.dontOpenIssues"))}})]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.contributing"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.contributing"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.newUI"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.acceptFeatures"))+"\n\t\t")]),e._v(" "),n("li",{domProps:{innerHTML:e._s(e.$t("about.contributeWebUI"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.otherLanguages"))+"\n\t\t")]),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.understandingCode"))+"\n\t\t")])]),e._v(" "),n("h2",[e._v("\n\t\t"+e._s(e.$t("about.titles.donations"))+"\n\t\t"),n("span",{staticClass:"subheading"},[e._v("\n\t\t\t"+e._s(e.$t("about.subtitles.donations"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",{domProps:{innerHTML:e._s(e.$t("about.itsFree"))}}),e._v(" "),n("li",[e._v("\n\t\t\t"+e._s(e.$t("about.notObligated"))+"\n\t\t")])]),e._v(" "),n("ul",[n("li",[n("i",{domProps:{innerHTML:e._s(e.paypal)}}),e._v(" "),n("strong",[e._v("PayPal:")]),e._v(" "),n("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[e._v("PayPal.me/RemixDev")])]),e._v(" "),n("li",[n("i",{staticClass:"ethereum",domProps:{innerHTML:e._s(e.ethereum)}}),e._v(" "),n("strong",[e._v("Ethereum:")]),e._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t\t")])]),e._v(" "),n("h2",[e._v(e._s(e.$t("about.titles.license")))]),e._v(" "),e._m(0),e._v(" "),n("p",{domProps:{innerHTML:e._s(e.$t("about.lincensedUnder"))}})])};Nm._withStripped=!0;var $m=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheAboutTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Nm,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("p",[t("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[t("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})])])}]},(function(e){e&&e("data-v-1abcda2e_0",{source:"@charset \"UTF-8\";\nli[data-v-1abcda2e],\np[data-v-1abcda2e],\na[data-v-1abcda2e] {\n letter-spacing: 0.4px;\n font-size: 20px;\n line-height: 1.2;\n}\ni[data-v-1abcda2e] {\n vertical-align: middle;\n}\ni[data-v-1abcda2e] svg {\n fill: white;\n width: 20px;\n}\n.ethereum[data-v-1abcda2e] svg {\n fill: var(--foreground);\n}\n[data-v-1abcda2e]:link {\n text-decoration: none;\n}\n#about_tab[data-v-1abcda2e] {\n margin-bottom: 40px;\n}\nh2[data-v-1abcda2e] {\n text-transform: capitalize;\n}\nh2[data-v-1abcda2e]:not(.page_heading) {\n font-size: 2rem;\n border-bottom: 1px solid rgba(51, 51, 51, 0.25);\n padding-top: 2rem;\n padding-bottom: 1rem;\n}\nh2 .subheading[data-v-1abcda2e] {\n display: block;\n font-size: 0.5em;\n margin-top: 0.5em;\n font-weight: normal;\n opacity: 0.8;\n text-transform: none;\n}\np[data-v-1abcda2e] {\n margin: 0 !important;\n}\nul li[data-v-1abcda2e] {\n margin-bottom: 7px;\n}\nh2 + ul[data-v-1abcda2e] {\n margin-top: 1rem;\n}\nul + ul[data-v-1abcda2e] {\n margin-top: 1.25rem;\n}\nul.no-dots[data-v-1abcda2e] {\n list-style-type: none;\n}\nul[data-v-1abcda2e]:not(.no-dots) {\n list-style-type: none;\n}\nul:not(.no-dots) li[data-v-1abcda2e] {\n position: relative;\n}\nul:not(.no-dots) li[data-v-1abcda2e]::before {\n content: '—';\n position: absolute;\n left: -30px;\n opacity: 0.25;\n}\n\n/*# sourceMappingURL=TheAboutTab.vue.map */",map:{version:3,sources:["TheAboutTab.vue","C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheAboutTab.vue"],names:[],mappings:"AAAA,gBAAgB;ACiHhB;;;EAGA,qBAAA;EACA,eAAA;EACA,gBAAA;AAAA;AAGA;EACA,sBAAA;AAAA;AAGA;EACA,WAAA;EACA,WAAA;AAAA;AAGA;EACA,uBAAA;AAAA;AAGA;EACA,qBAAA;AAAA;AAGA;EACA,mBAAA;AAAA;AAGA;EACA,0BAAA;AAAA;AADA;IAIA,eAAA;IACA,+CAAA;IAEA,iBAAA;IACA,oBAAA;AAAA;AARA;IAaA,cAAA;IACA,gBAAA;IACA,iBAAA;IACA,mBAAA;IACA,YAAA;IACA,oBAAA;AAAA;AAIA;EACA,oBAAA;AAAA;AAGA;EAEA,kBAAA;AAAA;AAGA;EACA,gBAAA;AAAA;AAGA;EACA,mBAAA;AAAA;AAVA;EAcA,qBAAA;AAAA;AAdA;EAkBA,qBAAA;AAAA;AAlBA;IAqBA,kBAAA;AAAA;AArBA;MAwBA,YAAA;MACA,kBAAA;MACA,WAAA;MACA,aAAA;AAAA;;ADnIA,0CAA0C",file:"TheAboutTab.vue",sourcesContent:["@charset \"UTF-8\";\nli,\np,\na {\n letter-spacing: 0.4px;\n font-size: 20px;\n line-height: 1.2; }\n\ni {\n vertical-align: middle; }\n\ni /deep/ svg {\n fill: white;\n width: 20px; }\n\n.ethereum /deep/ svg {\n fill: var(--foreground); }\n\n:link {\n text-decoration: none; }\n\n#about_tab {\n margin-bottom: 40px; }\n\nh2 {\n text-transform: capitalize; }\n h2:not(.page_heading) {\n font-size: 2rem;\n border-bottom: 1px solid rgba(51, 51, 51, 0.25);\n padding-top: 2rem;\n padding-bottom: 1rem; }\n h2 .subheading {\n display: block;\n font-size: 0.5em;\n margin-top: 0.5em;\n font-weight: normal;\n opacity: 0.8;\n text-transform: none; }\n\np {\n margin: 0 !important; }\n\nul li {\n margin-bottom: 7px; }\n\nh2 + ul {\n margin-top: 1rem; }\n\nul + ul {\n margin-top: 1.25rem; }\n\nul.no-dots {\n list-style-type: none; }\n\nul:not(.no-dots) {\n list-style-type: none; }\n ul:not(.no-dots) li {\n position: relative; }\n ul:not(.no-dots) li::before {\n content: '—';\n position: absolute;\n left: -30px;\n opacity: 0.25; }\n\n/*# sourceMappingURL=TheAboutTab.vue.map */",null]},media:void 0})}),Dm,"data-v-1abcda2e",!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}})),Pm={it:'\n\n\n\n',en:'\n\n\n\n\n\n\n\n\n',es:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',de:'\nFlag of Germany\n\n\n\n',fr:'\n\n\n\n',id:'\n\n\n',pt:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',pt_br:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ru:'\n\n\n\n',tr:'\n\n\n\n\n',vn:'\n\n\n\n\n\n\n\n\n\n\n',hr:'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n',ar:'\r\n\x3c!-- Creator: CorelDRAW --\x3e\r\nimage/svg+xml\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ',ko:'\nFlag of South Korea\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'};const Lm={data:()=>({flags:Pm,currentLocale:"en",locales:[],settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},lastUser:"",spotifyUser:"",slimDownloads:!1,previewVolume:window.vol,accountNum:0,accounts:[],clientMode:window.clientMode}),computed:{...Ho({getSettings:"getSettings",getCredentials:"getCredentials",getDefaultSettings:"getDefaultSettings",arl:"getARL",user:"getUser",isLoggedIn:"isLoggedIn"}),needToWait(){return 0===Object.keys(this.getSettings).length},changeSlimDownloads:{get(){return this.slimDownloads},set(e){this.slimDownloads=e,document.getElementById("download_list").classList.toggle("slim",e),localStorage.setItem("slimDownloads",e)}},pictureHref(){return`https://e-cdns-images.dzcdn.net/images/user/${this.user.picture}/125x125-000000-80-0-0.jpg`}},mounted(){this.locales=this.$i18n.availableLocales,this.revertSettings(),this.revertCredentials();let e=localStorage.getItem("locale");e&&(this.$i18n.locale=e,this.currentLocale=e);let t=localStorage.getItem("accountNum");t&&(this.accountNum=t);let n=localStorage.getItem("spotifyUser");n&&(this.lastUser=n,this.spotifyUser=n,dl.emit("update_userSpotifyPlaylists",n)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads");let a=parseInt(localStorage.getItem("previewVolume"));isNaN(a)&&(a=80,localStorage.setItem("previewVolume",a)),window.vol.preview_max_volume=a,this.waitSettings(),dl.on("updateSettings",this.updateSettings),dl.on("accountChanged",this.accountChanged),dl.on("familyAccounts",this.initAccounts),dl.on("downloadFolderSelected",this.downloadFolderSelected),dl.on("applogin_arl",this.setArl)},methods:{...Wo({dispatchARL:"setARL"}),waitSettings(){if(this.needToWait){let e=this.$store.subscribeAction({after:(t,n)=>{"setSettings"===t.type&&(this.initSettings(),e())}})}else this.initSettings()},revertSettings(){this.settings=JSON.parse(JSON.stringify(this.lastSettings))},revertCredentials(){this.spotifyCredentials=JSON.parse(JSON.stringify(this.lastCredentials)),this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let e=this.$refs.loginInput;e.setAttribute("type","text"),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),e.setAttribute("type","password"),Tl(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(e){this.$i18n.locale=e,this.currentLocale=e,localStorage.setItem("locale",e)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.settings)),this.lastCredentials=JSON.parse(JSON.stringify(this.spotifyFeatures));let e=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),e=!0),dl.emit("saveSettings",this.lastSettings,this.lastCredentials,!!e&&this.lastUser)},selectDownloadFolder(){dl.emit("selectDownloadFolder")},downloadFolderSelected(e){console.log(e),this.$set(this.settings,"downloadLocation",e)},loadSettings(){this.lastSettings=JSON.parse(JSON.stringify(this.getSettings)),this.lastCredentials=JSON.parse(JSON.stringify(this.getCredentials)),this.settings=JSON.parse(JSON.stringify(this.getSettings)),this.spotifyFeatures=JSON.parse(JSON.stringify(this.getCredentials))},login(){let e=this.$refs.loginInput.value.trim();e&&e!==this.arl&&dl.emit("login",e,!0,this.accountNum)},appLogin(e){dl.emit("applogin")},setArl(e){this.dispatchARL(e),this.login()},changeAccount(){dl.emit("changeAccount",this.accountNum)},accountChanged(e,t){this.$refs.username.innerText=e.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${e.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=t,localStorage.setItem("accountNum",this.accountNum)},initAccounts(e){this.accounts=e},logout(){dl.emit("logout")},initSettings(){this.loadSettings(),Tl(this.$t("settings.toasts.init"),"settings")},updateSettings(){this.loadSettings(),Tl(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings=JSON.parse(JSON.stringify(this.getDefaultSettings))}}};var Rm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer",attrs:{id:"settings_tab"}},[n("h2",{staticClass:"page_heading"},[e._v(e._s(e.$t("settings.title")))]),e._v(" "),e.isLoggedIn?n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"circle",attrs:{id:"settings_picture",src:e.pictureHref,alt:"Profile Picture"}}),e._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[n("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}},[e._v(e._s(e.user.name||"not logged"))])]),e._v(" "),n("button",{attrs:{id:"settings_btn_logout"},on:{click:e.logout}},[e._v(e._s(e.$t("settings.login.logout")))]),e._v(" "),e.accounts.length?n("select",{directives:[{name:"model",rawName:"v-model",value:e.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.accountNum=t.target.multiple?n:n[0]},e.changeAccount]}},e._l(e.accounts,(function(t,a){return n("option",{key:t,domProps:{value:a.toString()}},[e._v(e._s(t.BLOG_NAME))])})),0):e._e()],1):e._e(),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("person")]),e._v(e._s(e.$t("settings.login.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"},domProps:{value:e.arl}}),e._v(" "),n("button",{staticClass:"only_icon",attrs:{id:"settings_btn_copyArl"},on:{click:e.copyARLtoClipboard}},[n("i",{staticClass:"material-icons"},[e._v("assignment")])])]),e._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Getting-your-own-ARL",target:"_blank"}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.arl.question"))+"\n\t\t")]),e._v(" "),e.clientMode?n("a",{attrs:{id:"settings_btn_applogin",href:"#"},on:{click:e.appLogin}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.login"))+"\n\t\t")]):e._e(),e._v(" "),n("button",{staticStyle:{width:"100%"},attrs:{id:"settings_btn_updateArl"},on:{click:e.login}},[e._v("\n\t\t\t"+e._s(e.$t("settings.login.arl.update"))+"\n\t\t")])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("language")]),e._v(e._s(e.$t("settings.languages"))+"\n\t\t")]),e._v(" "),n("div",e._l(e.locales,(function(t){return n("span",{key:t,staticClass:"locale-flag",class:{"locale-flag--current":e.currentLocale===t},domProps:{innerHTML:e._s(e.flags[t])},on:{click:function(n){return e.changeLocale(t)}}})})),0)]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("web")]),e._v(e._s(e.$t("settings.appearance.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.changeSlimDownloads)?e._i(e.changeSlimDownloads,null)>-1:e.changeSlimDownloads},on:{change:function(t){var n=e.changeSlimDownloads,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&(e.changeSlimDownloads=n.concat([null])):r>-1&&(e.changeSlimDownloads=n.slice(0,r).concat(n.slice(r+1)))}else e.changeSlimDownloads=i}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.appearance.slimDownloadTab")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("folder")]),e._v(e._s(e.$t("settings.downloadPath.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{autocomplete:"off",type:"text"},domProps:{value:e.settings.downloadLocation},on:{input:function(t){t.target.composing||e.$set(e.settings,"downloadLocation",t.target.value)}}}),e._v(" "),e.clientMode?n("button",{staticClass:"only_icon",attrs:{id:"select_downloads_folder"},on:{click:e.selectDownloadFolder}},[n("i",{staticClass:"material-icons"},[e._v("folder")])]):e._e()])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("font_download")]),e._v(e._s(e.$t("settings.templates.title"))+"\n\t\t")]),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.tracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.tracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"tracknameTemplate",t.target.value)}}}),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.albumTracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumTracknameTemplate",t.target.value)}}}),e._v(" "),n("p",[e._v(e._s(e.$t("settings.templates.playlistTracknameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistTracknameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistTracknameTemplate",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("create_new_folder")]),e._v(e._s(e.$t("settings.folders.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createPlaylistFolder)?e._i(e.settings.createPlaylistFolder,null)>-1:e.settings.createPlaylistFolder},on:{change:function(t){var n=e.settings.createPlaylistFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createPlaylistFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createPlaylistFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createPlaylistFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createPlaylistFolder")))])]),e._v(" "),e.settings.createPlaylistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.playlistNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createArtistFolder)?e._i(e.settings.createArtistFolder,null)>-1:e.settings.createArtistFolder},on:{change:function(t){var n=e.settings.createArtistFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createArtistFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createArtistFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createArtistFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createArtistFolder")))])]),e._v(" "),e.settings.createArtistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.artistNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistNameTemplate",t.target.value)}}})]):e._e()]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createAlbumFolder)?e._i(e.settings.createAlbumFolder,null)>-1:e.settings.createAlbumFolder},on:{change:function(t){var n=e.settings.createAlbumFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createAlbumFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createAlbumFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createAlbumFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createAlbumFolder")))])]),e._v(" "),e.settings.createAlbumFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.folders.albumNameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.albumNameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"albumNameTemplate",t.target.value)}}})]):e._e()])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createCDFolder)?e._i(e.settings.createCDFolder,null)>-1:e.settings.createCDFolder},on:{change:function(t){var n=e.settings.createCDFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createCDFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createCDFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createCDFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createCDFolder")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createStructurePlaylist)?e._i(e.settings.createStructurePlaylist,null)>-1:e.settings.createStructurePlaylist},on:{change:function(t){var n=e.settings.createStructurePlaylist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createStructurePlaylist",n.concat([null])):r>-1&&e.$set(e.settings,"createStructurePlaylist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createStructurePlaylist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createStructurePlaylist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createSingleFolder)?e._i(e.settings.createSingleFolder,null)>-1:e.settings.createSingleFolder},on:{change:function(t){var n=e.settings.createSingleFolder,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createSingleFolder",n.concat([null])):r>-1&&e.$set(e.settings,"createSingleFolder",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createSingleFolder",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.folders.createSingleFolder")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("title")]),e._v(e._s(e.$t("settings.trackTitles.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.padTracks)?e._i(e.settings.padTracks,null)>-1:e.settings.padTracks},on:{change:function(t){var n=e.settings.padTracks,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"padTracks",n.concat([null])):r>-1&&e.$set(e.settings,"padTracks",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"padTracks",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.trackTitles.padTracks")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.trackTitles.paddingSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:e.settings.paddingSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"paddingSize",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.trackTitles.illegalCharacterReplacer")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:e.settings.illegalCharacterReplacer},on:{input:function(t){t.target.composing||e.$set(e.settings,"illegalCharacterReplacer",t.target.value)}}})])])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("get_app")]),e._v(e._s(e.$t("settings.downloads.title"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.queueConcurrency")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:e.settings.queueConcurrency},on:{input:function(t){t.target.composing||e.$set(e.settings,"queueConcurrency",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.maxBitrate.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"maxBitrate",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"9"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.9")))]),e._v(" "),n("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.3")))]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.downloads.maxBitrate.1")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.overwriteFile.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"overwriteFile",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"y"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.y")))]),e._v(" "),n("option",{attrs:{value:"n"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.n")))]),e._v(" "),n("option",{attrs:{value:"e"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.e")))]),e._v(" "),n("option",{attrs:{value:"b"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.b")))]),e._v(" "),n("option",{attrs:{value:"t"}},[e._v(e._s(e.$t("settings.downloads.overwriteFile.t")))])])]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackBitrate)?e._i(e.settings.fallbackBitrate,null)>-1:e.settings.fallbackBitrate},on:{change:function(t){var n=e.settings.fallbackBitrate,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"fallbackBitrate",n.concat([null])):r>-1&&e.$set(e.settings,"fallbackBitrate",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"fallbackBitrate",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.fallbackBitrate")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.fallbackSearch)?e._i(e.settings.fallbackSearch,null)>-1:e.settings.fallbackSearch},on:{change:function(t){var n=e.settings.fallbackSearch,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"fallbackSearch",n.concat([null])):r>-1&&e.$set(e.settings,"fallbackSearch",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"fallbackSearch",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.fallbackSearch")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logErrors)?e._i(e.settings.logErrors,null)>-1:e.settings.logErrors},on:{change:function(t){var n=e.settings.logErrors,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"logErrors",n.concat([null])):r>-1&&e.$set(e.settings,"logErrors",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"logErrors",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.logErrors")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.logSearched)?e._i(e.settings.logSearched,null)>-1:e.settings.logSearched},on:{change:function(t){var n=e.settings.logSearched,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"logSearched",n.concat([null])):r>-1&&e.$set(e.settings,"logSearched",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"logSearched",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.logSearched")))])])]),e._v(" "),n("div",{staticClass:"settings-container__third settings-container__third--only-checkbox"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.syncedLyrics)?e._i(e.settings.syncedLyrics,null)>-1:e.settings.syncedLyrics},on:{change:function(t){var n=e.settings.syncedLyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"syncedLyrics",n.concat([null])):r>-1&&e.$set(e.settings,"syncedLyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"syncedLyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.syncedLyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.createM3U8File)?e._i(e.settings.createM3U8File,null)>-1:e.settings.createM3U8File},on:{change:function(t){var n=e.settings.createM3U8File,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"createM3U8File",n.concat([null])):r>-1&&e.$set(e.settings,"createM3U8File",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"createM3U8File",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.createM3U8File")))])])])]),e._v(" "),e.settings.createM3U8File?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.downloads.playlistFilenameTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.playlistFilenameTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"playlistFilenameTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveDownloadQueue)?e._i(e.settings.saveDownloadQueue,null)>-1:e.settings.saveDownloadQueue},on:{change:function(t){var n=e.settings.saveDownloadQueue,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveDownloadQueue",n.concat([null])):r>-1&&e.$set(e.settings,"saveDownloadQueue",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveDownloadQueue",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.downloads.saveDownloadQueue")))])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("album")]),e._v(e._s(e.$t("settings.covers.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtwork)?e._i(e.settings.saveArtwork,null)>-1:e.settings.saveArtwork},on:{change:function(t){var n=e.settings.saveArtwork,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveArtwork",n.concat([null])):r>-1&&e.$set(e.settings,"saveArtwork",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveArtwork",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.saveArtwork")))])]),e._v(" "),e.settings.saveArtwork?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.coverImageTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.coverImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"coverImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.saveArtworkArtist)?e._i(e.settings.saveArtworkArtist,null)>-1:e.settings.saveArtworkArtist},on:{change:function(t){var n=e.settings.saveArtworkArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"saveArtworkArtist",n.concat([null])):r>-1&&e.$set(e.settings,"saveArtworkArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"saveArtworkArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.saveArtworkArtist")))])]),e._v(" "),e.settings.saveArtworkArtist?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.artistImageTemplate")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:e.settings.artistImageTemplate},on:{input:function(t){t.target.composing||e.$set(e.settings,"artistImageTemplate",t.target.value)}}})]):e._e(),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.localArtworkSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.localArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"localArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.localArtworkSize>1200?n("p",{staticClass:"input_group_text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkSize")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"10000",step:"100"},domProps:{value:e.settings.embeddedArtworkSize},on:{input:function(t){t.target.composing||e.$set(e.settings,"embeddedArtworkSize",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),e.settings.embeddedArtworkSize>1200?n("p",{staticClass:"input_group_text",staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t\t⚠️ "+e._s(e.$t("settings.covers.imageSizeWarning"))+"\n\t\t\t")]):e._e()]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"localArtworkFormat",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"jpg"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.jpg")))]),e._v(" "),n("option",{attrs:{value:"png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.png")))]),e._v(" "),n("option",{attrs:{value:"jpg,png"}},[e._v(e._s(e.$t("settings.covers.localArtworkFormat.both")))])])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.embeddedArtworkPNG,expression:"settings.embeddedArtworkPNG"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.embeddedArtworkPNG)?e._i(e.settings.embeddedArtworkPNG,null)>-1:e.settings.embeddedArtworkPNG},on:{change:function(t){var n=e.settings.embeddedArtworkPNG,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"embeddedArtworkPNG",n.concat([null])):r>-1&&e.$set(e.settings,"embeddedArtworkPNG",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"embeddedArtworkPNG",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.embeddedArtworkPNG")))])]),e._v(" "),e.settings.embeddedArtworkPNG?n("p",{staticStyle:{opacity:"0.75",color:"#ffcc22"}},[e._v("\n\t\t\t⚠️ "+e._s(e.$t("settings.covers.embeddedPNGWarning"))+"\n\t\t")]):e._e(),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.coverDescriptionUTF8,expression:"settings.tags.coverDescriptionUTF8"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.coverDescriptionUTF8)?e._i(e.settings.tags.coverDescriptionUTF8,null)>-1:e.settings.tags.coverDescriptionUTF8},on:{change:function(t){var n=e.settings.tags.coverDescriptionUTF8,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"coverDescriptionUTF8",n.concat([null])):r>-1&&e.$set(e.settings.tags,"coverDescriptionUTF8",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"coverDescriptionUTF8",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.covers.coverDescriptionUTF8")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.covers.jpegImageQuality")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:e.settings.jpegImageQuality},on:{input:function(t){t.target.composing||e.$set(e.settings,"jpegImageQuality",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}})])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons",staticStyle:{width:"1em",height:"1em"}},[e._v("bookmarks")]),e._v(e._s(e.$t("settings.tags.head"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"settings-container"},[n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.title)?e._i(e.settings.tags.title,null)>-1:e.settings.tags.title},on:{change:function(t){var n=e.settings.tags.title,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"title",n.concat([null])):r>-1&&e.$set(e.settings.tags,"title",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"title",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.title")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.artist)?e._i(e.settings.tags.artist,null)>-1:e.settings.tags.artist},on:{change:function(t){var n=e.settings.tags.artist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"artist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"artist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"artist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.artist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.album)?e._i(e.settings.tags.album,null)>-1:e.settings.tags.album},on:{change:function(t){var n=e.settings.tags.album,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"album",n.concat([null])):r>-1&&e.$set(e.settings.tags,"album",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"album",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.album")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.cover)?e._i(e.settings.tags.cover,null)>-1:e.settings.tags.cover},on:{change:function(t){var n=e.settings.tags.cover,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"cover",n.concat([null])):r>-1&&e.$set(e.settings.tags,"cover",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"cover",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.cover")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackNumber)?e._i(e.settings.tags.trackNumber,null)>-1:e.settings.tags.trackNumber},on:{change:function(t){var n=e.settings.tags.trackNumber,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"trackNumber",n.concat([null])):r>-1&&e.$set(e.settings.tags,"trackNumber",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"trackNumber",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.trackNumber")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.trackTotal)?e._i(e.settings.tags.trackTotal,null)>-1:e.settings.tags.trackTotal},on:{change:function(t){var n=e.settings.tags.trackTotal,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"trackTotal",n.concat([null])):r>-1&&e.$set(e.settings.tags,"trackTotal",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"trackTotal",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.trackTotal")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discNumber)?e._i(e.settings.tags.discNumber,null)>-1:e.settings.tags.discNumber},on:{change:function(t){var n=e.settings.tags.discNumber,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"discNumber",n.concat([null])):r>-1&&e.$set(e.settings.tags,"discNumber",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"discNumber",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.discNumber")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.discTotal)?e._i(e.settings.tags.discTotal,null)>-1:e.settings.tags.discTotal},on:{change:function(t){var n=e.settings.tags.discTotal,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"discTotal",n.concat([null])):r>-1&&e.$set(e.settings.tags,"discTotal",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"discTotal",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.discTotal")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.albumArtist)?e._i(e.settings.tags.albumArtist,null)>-1:e.settings.tags.albumArtist},on:{change:function(t){var n=e.settings.tags.albumArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"albumArtist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"albumArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"albumArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.albumArtist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.genre)?e._i(e.settings.tags.genre,null)>-1:e.settings.tags.genre},on:{change:function(t){var n=e.settings.tags.genre,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"genre",n.concat([null])):r>-1&&e.$set(e.settings.tags,"genre",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"genre",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.genre")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.year)?e._i(e.settings.tags.year,null)>-1:e.settings.tags.year},on:{change:function(t){var n=e.settings.tags.year,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"year",n.concat([null])):r>-1&&e.$set(e.settings.tags,"year",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"year",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.year")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.date)?e._i(e.settings.tags.date,null)>-1:e.settings.tags.date},on:{change:function(t){var n=e.settings.tags.date,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"date",n.concat([null])):r>-1&&e.$set(e.settings.tags,"date",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"date",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.date")))])])]),e._v(" "),n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.explicit)?e._i(e.settings.tags.explicit,null)>-1:e.settings.tags.explicit},on:{change:function(t){var n=e.settings.tags.explicit,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"explicit",n.concat([null])):r>-1&&e.$set(e.settings.tags,"explicit",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"explicit",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.explicit")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.isrc)?e._i(e.settings.tags.isrc,null)>-1:e.settings.tags.isrc},on:{change:function(t){var n=e.settings.tags.isrc,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"isrc",n.concat([null])):r>-1&&e.$set(e.settings.tags,"isrc",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"isrc",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.isrc")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.length)?e._i(e.settings.tags.length,null)>-1:e.settings.tags.length},on:{change:function(t){var n=e.settings.tags.length,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"length",n.concat([null])):r>-1&&e.$set(e.settings.tags,"length",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"length",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.length")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.barcode)?e._i(e.settings.tags.barcode,null)>-1:e.settings.tags.barcode},on:{change:function(t){var n=e.settings.tags.barcode,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"barcode",n.concat([null])):r>-1&&e.$set(e.settings.tags,"barcode",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"barcode",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.barcode")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.bpm)?e._i(e.settings.tags.bpm,null)>-1:e.settings.tags.bpm},on:{change:function(t){var n=e.settings.tags.bpm,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"bpm",n.concat([null])):r>-1&&e.$set(e.settings.tags,"bpm",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"bpm",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.bpm")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.replayGain)?e._i(e.settings.tags.replayGain,null)>-1:e.settings.tags.replayGain},on:{change:function(t){var n=e.settings.tags.replayGain,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"replayGain",n.concat([null])):r>-1&&e.$set(e.settings.tags,"replayGain",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"replayGain",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.replayGain")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.label)?e._i(e.settings.tags.label,null)>-1:e.settings.tags.label},on:{change:function(t){var n=e.settings.tags.label,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"label",n.concat([null])):r>-1&&e.$set(e.settings.tags,"label",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"label",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.label")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.lyrics)?e._i(e.settings.tags.lyrics,null)>-1:e.settings.tags.lyrics},on:{change:function(t){var n=e.settings.tags.lyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"lyrics",n.concat([null])):r>-1&&e.$set(e.settings.tags,"lyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"lyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.lyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.syncedLyrics,expression:"settings.tags.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.syncedLyrics)?e._i(e.settings.tags.syncedLyrics,null)>-1:e.settings.tags.syncedLyrics},on:{change:function(t){var n=e.settings.tags.syncedLyrics,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"syncedLyrics",n.concat([null])):r>-1&&e.$set(e.settings.tags,"syncedLyrics",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"syncedLyrics",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.syncedLyrics")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.copyright)?e._i(e.settings.tags.copyright,null)>-1:e.settings.tags.copyright},on:{change:function(t){var n=e.settings.tags.copyright,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"copyright",n.concat([null])):r>-1&&e.$set(e.settings.tags,"copyright",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"copyright",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.copyright")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.composer)?e._i(e.settings.tags.composer,null)>-1:e.settings.tags.composer},on:{change:function(t){var n=e.settings.tags.composer,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"composer",n.concat([null])):r>-1&&e.$set(e.settings.tags,"composer",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"composer",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.composer")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.involvedPeople)?e._i(e.settings.tags.involvedPeople,null)>-1:e.settings.tags.involvedPeople},on:{change:function(t){var n=e.settings.tags.involvedPeople,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"involvedPeople",n.concat([null])):r>-1&&e.$set(e.settings.tags,"involvedPeople",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"involvedPeople",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.tags.involvedPeople")))])])])])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[e._v("list")]),e._v(e._s(e.$t("settings.other.title"))+"\n\t\t")]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.savePlaylistAsCompilation)?e._i(e.settings.tags.savePlaylistAsCompilation,null)>-1:e.settings.tags.savePlaylistAsCompilation},on:{change:function(t){var n=e.settings.tags.savePlaylistAsCompilation,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"savePlaylistAsCompilation",n.concat([null])):r>-1&&e.$set(e.settings.tags,"savePlaylistAsCompilation",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"savePlaylistAsCompilation",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.savePlaylistAsCompilation")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.useNullSeparator)?e._i(e.settings.tags.useNullSeparator,null)>-1:e.settings.tags.useNullSeparator},on:{change:function(t){var n=e.settings.tags.useNullSeparator,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"useNullSeparator",n.concat([null])):r>-1&&e.$set(e.settings.tags,"useNullSeparator",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"useNullSeparator",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.useNullSeparator")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.saveID3v1)?e._i(e.settings.tags.saveID3v1,null)>-1:e.settings.tags.saveID3v1},on:{change:function(t){var n=e.settings.tags.saveID3v1,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"saveID3v1",n.concat([null])):r>-1&&e.$set(e.settings.tags,"saveID3v1",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"saveID3v1",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.saveID3v1")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings.tags,"multiArtistSeparator",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.nothing")))]),e._v(" "),n("option",{attrs:{value:"default"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.default")))]),e._v(" "),n("option",{attrs:{value:"andFeat"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.andFeat")))]),e._v(" "),n("option",{attrs:{value:" & "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" & "})))]),e._v(" "),n("option",{attrs:{value:","}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:","})))]),e._v(" "),n("option",{attrs:{value:", "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:", "})))]),e._v(" "),n("option",{attrs:{value:"/"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"/"})))]),e._v(" "),n("option",{attrs:{value:" / "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:" / "})))]),e._v(" "),n("option",{attrs:{value:";"}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:";"})))]),e._v(" "),n("option",{attrs:{value:"; "}},[e._v(e._s(e.$t("settings.other.multiArtistSeparator.using",{separator:"; "})))])])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.tags.singleAlbumArtist)?e._i(e.settings.tags.singleAlbumArtist,null)>-1:e.settings.tags.singleAlbumArtist},on:{change:function(t){var n=e.settings.tags.singleAlbumArtist,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings.tags,"singleAlbumArtist",n.concat([null])):r>-1&&e.$set(e.settings.tags,"singleAlbumArtist",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings.tags,"singleAlbumArtist",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.singleAlbumArtist")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.albumVariousArtists)?e._i(e.settings.albumVariousArtists,null)>-1:e.settings.albumVariousArtists},on:{change:function(t){var n=e.settings.albumVariousArtists,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"albumVariousArtists",n.concat([null])):r>-1&&e.$set(e.settings,"albumVariousArtists",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"albumVariousArtists",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.albumVariousArtists")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeAlbumVersion)?e._i(e.settings.removeAlbumVersion,null)>-1:e.settings.removeAlbumVersion},on:{change:function(t){var n=e.settings.removeAlbumVersion,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"removeAlbumVersion",n.concat([null])):r>-1&&e.$set(e.settings,"removeAlbumVersion",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"removeAlbumVersion",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.removeAlbumVersion")))])]),e._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.settings.removeDuplicateArtists)?e._i(e.settings.removeDuplicateArtists,null)>-1:e.settings.removeDuplicateArtists},on:{change:function(t){var n=e.settings.removeDuplicateArtists,a=t.target,i=!!a.checked;if(Array.isArray(n)){var r=e._i(n,null);a.checked?r<0&&e.$set(e.settings,"removeDuplicateArtists",n.concat([null])):r>-1&&e.$set(e.settings,"removeDuplicateArtists",n.slice(0,r).concat(n.slice(r+1)))}else e.$set(e.settings,"removeDuplicateArtists",i)}}}),e._v(" "),n("span",{staticClass:"checkbox_text"},[e._v(e._s(e.$t("settings.other.removeDuplicateArtists")))])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.dateFormat.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"dateFormat",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Y-M-D"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"Y-D-M"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.year")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"D-M-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"M-D-Y"}},[e._v("\n\t\t\t\t\t"+e._s(e.$t("settings.other.dateFormat.month")+"-"+e.$t("settings.other.dateFormat.day")+"-"+e.$t("settings.other.dateFormat.year"))+"\n\t\t\t\t")]),e._v(" "),n("option",{attrs:{value:"Y"}},[e._v(e._s(e.$t("settings.other.dateFormat.year")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.featuredToTitle.title")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"featuredToTitle",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"0"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.0")))]),e._v(" "),n("option",{attrs:{value:"1"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.1")))]),e._v(" "),n("option",{attrs:{value:"3"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.3")))]),e._v(" "),n("option",{attrs:{value:"2"}},[e._v(e._s(e.$t("settings.other.featuredToTitle.2")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.titleCasing")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"titleCasing",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),n("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),n("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),n("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),n("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.artistCasing")))]),e._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:e.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.settings,"artistCasing",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[e._v(e._s(e.$t("settings.other.casing.nothing")))]),e._v(" "),n("option",{attrs:{value:"lower"}},[e._v(e._s(e.$t("settings.other.casing.lower")))]),e._v(" "),n("option",{attrs:{value:"upper"}},[e._v(e._s(e.$t("settings.other.casing.upper")))]),e._v(" "),n("option",{attrs:{value:"start"}},[e._v(e._s(e.$t("settings.other.casing.start")))]),e._v(" "),n("option",{attrs:{value:"sentence"}},[e._v(e._s(e.$t("settings.other.casing.sentence")))])])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.previewVolume")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:e.previewVolume.preview_max_volume,expression:"previewVolume.preview_max_volume",modifiers:{number:!0}}],staticClass:"slider",attrs:{type:"range",min:"0",max:"100",step:"1"},domProps:{value:e.previewVolume.preview_max_volume},on:{change:e.updateMaxVolume,__r:function(t){e.$set(e.previewVolume,"preview_max_volume",e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),e._v(" "),n("span",[e._v(e._s(e.previewVolume.preview_max_volume)+"%")])]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.other.executeCommand.title")))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("settings.other.executeCommand.description")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:e.settings.executeCommand},on:{input:function(t){t.target.composing||e.$set(e.settings,"executeCommand",t.target.value)}}})])]),e._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("svg",{attrs:{id:"spotify_icon","enable-background":"new 0 0 24 24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"m12 24c6.624 0 12-5.376 12-12s-5.376-12-12-12-12 5.376-12 12 5.376 12 12 12zm4.872-6.344v.001c-.807 0-3.356-2.828-10.52-1.36-.189.049-.436.126-.576.126-.915 0-1.09-1.369-.106-1.578 3.963-.875 8.013-.798 11.467 1.268.824.526.474 1.543-.265 1.543zm1.303-3.173c-.113-.03-.08.069-.597-.203-3.025-1.79-7.533-2.512-11.545-1.423-.232.063-.358.126-.576.126-1.071 0-1.355-1.611-.188-1.94 4.716-1.325 9.775-.552 13.297 1.543.392.232.547.533.547.953-.005.522-.411.944-.938.944zm-13.627-7.485c4.523-1.324 11.368-.906 15.624 1.578 1.091.629.662 2.22-.498 2.22l-.001-.001c-.252 0-.407-.063-.625-.189-3.443-2.056-9.604-2.549-13.59-1.436-.175.048-.393.125-.625.125-.639 0-1.127-.499-1.127-1.142 0-.657.407-1.029.842-1.155z"}})]),e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.title"))+"\n\t\t")]),e._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Enabling-Spotify-Features",target:"_blank"}},[e._v("\n\t\t\t"+e._s(e.$t("settings.spotify.question"))+"\n\t\t")]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.clientID")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:e.spotifyFeatures.clientId},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientId",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.clientSecret")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:e.spotifyFeatures.clientSecret},on:{input:function(t){t.target.composing||e.$set(e.spotifyFeatures,"clientSecret",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[e._v(e._s(e.$t("settings.spotify.username")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:e.spotifyUser},on:{input:function(t){t.target.composing||(e.spotifyUser=t.target.value)}}})])]),e._v(" "),n("footer",[n("button",{on:{click:e.resetSettings}},[e._v(e._s(e.$t("settings.reset")))]),e._v(" "),n("button",{on:{click:e.saveSettings}},[e._v(e._s(e.$t("settings.save")))])])])};Rm._withStripped=!0;var Em=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSettingsTab.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a;{let e;if(t&&(e=function(e){t.call(this,s(e))}),void 0!==e)if(l.functional){const t=l.render;l.render=function(n,a){return e.call(a),t(n,a)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,e):[e]}}return l}({render:Rm,staticRenderFns:[]},(function(e){e&&e("data-v-ab1dbcb8_0",{source:"#logged_in_info {\n height: 250px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n}\n.locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.locale-flag:not(:last-child) {\n margin-right: 10px;\n}\n.locale-flag.locale-flag--current svg {\n filter: brightness(1);\n}\n.locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5);\n}\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSettingsTab.vue","TheSettingsTab.vue"],names:[],mappings:"AA2mBA;EACA,aAAA;EACA,aAAA;EACA,sBAAA;EACA,6BAAA;EACA,mBAAA;AAAA;AAGA;EACA,WAAA;EACA,oBAAA;EACA,uBAAA;EACA,mBAAA;EACA,eAAA;AAAA;AALA;IAQA,kBAAA;AAAA;AARA;IAaA,qBAAA;AAAA;AAbA;IAkBA,WAAA;IACA,YAAA;IACA,uBAAA;AAAA;;ACjnBA,6CAA6C",file:"TheSettingsTab.vue",sourcesContent:[null,"#logged_in_info {\n height: 250px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center; }\n\n.locale-flag {\n width: 60px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n cursor: pointer; }\n .locale-flag:not(:last-child) {\n margin-right: 10px; }\n .locale-flag.locale-flag--current svg {\n filter: brightness(1); }\n .locale-flag svg {\n width: 40px;\n height: 40px;\n filter: brightness(0.5); }\n\n/*# sourceMappingURL=TheSettingsTab.vue.map */"]},media:void 0})}),Lm,void 0,!1,0,(function e(){const t=document.head||document.getElementsByTagName("head")[0],n=e.styles||(e.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(e,i){if(document.querySelector('style[data-vue-ssr-id~="'+e+'"]'))return;const r=a?i.media||"default":e,s=n[r]||(n[r]={ids:[],parts:[],element:void 0});if(!s.ids.includes(e)){let n=i.source,o=s.ids.length;if(s.ids.push(e),a&&(s.element=s.element||document.querySelector("style[data-group="+r+"]")),!s.element){const e=s.element=document.createElement("style");e.type="text/css",i.media&&e.setAttribute("media",i.media),a&&(e.setAttribute("data-group",r),e.setAttribute("data-next-index","0")),t.appendChild(e)}if(a&&(o=parseInt(s.element.getAttribute("data-next-index")),s.element.setAttribute("data-next-index",o+1)),s.element.styleSheet)s.parts.push(n),s.element.styleSheet.cssText=s.parts.filter(Boolean).join("\n");else{const e=document.createTextNode(n),t=s.element.childNodes;t[o]&&s.element.removeChild(t[o]),t.length?s.element.insertBefore(e,t[o]):s.element.appendChild(e)}}}}));const Im={props:["results"],computed:{topResultType(){return this.results.allTab.TOP_RESULT[0].type},noResults(){return this.results.allTab.ORDER.every(e=>"TOP_RESULT"==e?0==this.results.allTab[e].length:0==this.results.allTab[e].data.length)}},methods:{convertDuration:so}};var jm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"main_search"}},[e._l(e.results.allTab.ORDER,(function(t){return["TOP_RESULT"!=t&&e.results.allTab[t].data.length>0||e.results.allTab[t].length>0?n("section",{staticClass:"search_section"},[n("h2",{staticClass:"search_header",class:{top_result_header:"TOP_RESULT"===t},on:{click:function(n){return e.$emit("change-search-tab",t)}}},[e._v("\n\t\t\t\t"+e._s(e.$tc("globals.listTabs."+t.toLowerCase(),2))+"\n\t\t\t")]),e._v(" "),"TOP_RESULT"==t?n("div",{staticClass:"top_result clickable",attrs:{"data-id":e.results.allTab.TOP_RESULT[0].id},on:{click:function(t){return t.stopPropagation(),e.$emit(e.topResultType+"-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{class:("artist"==e.results.allTab.TOP_RESULT[0].type?"circle":"rounded")+" coverart",attrs:{"aria-hidden":"true",src:e.results.allTab.TOP_RESULT[0].picture}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.results.allTab.TOP_RESULT[0].link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("div",{staticClass:"info_box"},[n("p",{staticClass:"primary-text"},[e._v(e._s(e.results.allTab.TOP_RESULT[0].title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t\t"+e._s("artist"==e.results.allTab.TOP_RESULT[0].type?e.$t("search.fans",{n:e.$n(e.results.allTab.TOP_RESULT[0].nb_fan)}):e.$t("globals.by",{artist:e.results.allTab.TOP_RESULT[0].artist})+" - "+e.$tc("globals.listTabs.trackN",e.results.allTab.TOP_RESULT[0].nb_song))+"\n\t\t\t\t\t")]),e._v(" "),n("span",{staticClass:"tag"},[e._v(e._s(e.$tc("globals.listTabs."+e.results.allTab.TOP_RESULT[0].type,1)))])])]):"TRACK"==t?n("div",[n("table",{staticClass:"table table--tracks"},[n("tbody",e._l(e.results.allTab.TRACK.data.slice(0,6),(function(t){return n("tr",[n("td",{staticClass:"table__icon",attrs:{"aria-hidden":"true"}},[n("img",{staticClass:"rounded coverart",attrs:{src:"https://e-cdns-images.dzcdn.net/images/cover/"+t.ALB_PICTURE+"/32x32-000000-80-0-0.jpg"}})]),e._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[1==t.EXPLICIT_LYRICS?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(t.SNG_TITLE+(t.VERSION?" "+t.VERSION:""))+"\n\t\t\t\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline"},e._l(t.ARTISTS,(function(t){return n("span",{key:t.ART_ID,staticClass:"clickable",attrs:{"data-id":t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[e._v("\n\t\t\t\t\t\t\t\t\t"+e._s(t.ART_NAME)+"\n\t\t\t\t\t\t\t\t")])})),0),e._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(t.ALB_TITLE)+"\n\t\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--center"},[e._v("\n\t\t\t\t\t\t\t\t"+e._s(e.convertDuration(t.DURATION))+"\n\t\t\t\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":"https://www.deezer.com/track/"+t.SNG_ID,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" get_app ")])])])})),0)])]):"ARTIST"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.ARTIST.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/artist/"+t.ART_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/artist/"+t.ART_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.ART_NAME))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$t("search.fans",{n:e.$n(t.NB_FAN)})))])])})),0):"ALBUM"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.ALBUM.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/cover/"+t.ALB_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/album/"+t.ALB_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text inline-flex"},[-1!=[1,4].indexOf(t.EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS)?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.ALB_TITLE)+"\n\t\t\t\t\t")]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t\t\t"+e._s(t.ART_NAME+" - "+e.$tc("globals.listTabs.trackN",t.NUMBER_TRACK))+"\n\t\t\t\t\t")])])})),0):"PLAYLIST"==t?n("div",{staticClass:"release_grid firstrow_only"},e._l(e.results.allTab.PLAYLIST.data.slice(0,10),(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.PLAYLIST_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("playlist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/"+t.PICTURE_TYPE+"/"+t.PLAYLIST_PICTURE+"/156x156-000000-80-0-0.jpg"}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/playlist/"+t.PLAYLIST_ID},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.TITLE))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$tc("globals.listTabs.trackN",t.NB_SONG)))])])})),0):e._e()]):e._e()]})),e._v(" "),e.noResults?n("div",[n("h1",[e._v(e._s(e.$t("search.noResults")))])]):e._e()],2)};jm._withStripped=!0;var Fm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsAll.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:jm,staticRenderFns:[]},0,Im,void 0,!1);const Om={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Bm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"album_search"}},[e.results.albumTab.loaded?0==e.results.albumTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsAlbum")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.albumTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.albumTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("album-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.cover_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text inline-flex"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v("explicit")]):e._e(),e._v("\n\t\t\t\t"+e._s(t.title)+"\n\t\t\t")]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.artist.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t")])])})),0):e._e()],1)};Bm._withStripped=!0;var qm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsAlbums.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Bm,staticRenderFns:[]},0,Om,void 0,!1);const Um={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Vm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"artist_search"}},[e.results.artistTab.loaded?0==e.results.artistTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsArtist")))])]):e._e():n("base-loading-placeholder"),e._v(" "),e.results.artistTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.artistTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("artist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.name))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v(e._s(e.$tc("globals.listTabs.releaseN",t.nb_album)))])])})),0):e._e()],1)};Vm._withStripped=!0;var Gm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsArtists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Vm,staticRenderFns:[]},0,Um,void 0,!1);const Hm={props:["results"],components:{BaseLoadingPlaceholder:fo}};var Wm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"playlist_search"}},[e.results.playlistTab.loaded?0==e.results.playlistTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsPlaylist")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.playlistTab.data.length>0?n("div",{staticClass:"release_grid"},e._l(e.results.playlistTab.data,(function(t){return n("div",{staticClass:"release clickable",attrs:{"data-id":t.id},on:{click:function(t){return t.stopPropagation(),e.$emit("playlist-view",t)}}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:t.picture_medium}}),e._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v("get_app")])])]),e._v(" "),n("p",{staticClass:"primary-text"},[e._v(e._s(t.title))]),e._v(" "),n("p",{staticClass:"secondary-text"},[e._v("\n\t\t\t\t"+e._s(e.$t("globals.by",{artist:t.user.name})+" - "+e.$tc("globals.listTabs.trackN",t.nb_tracks))+"\n\t\t\t")])])})),0):e._e()],1)};Wm._withStripped=!0;var Qm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsPlaylists.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Wm,staticRenderFns:[]},0,Hm,void 0,!1);const Km={props:["results"],components:{BaseLoadingPlaceholder:fo},methods:{convertDuration:so,artistView(e){this.$emit("artist-view",e)},albumView(e){this.$emit("album-view",e)},playlistView(e){this.$emit("playlist-view",e)},playPausePreview(e){po.$emit("trackPreview:playPausePreview",e)},previewMouseEnter(e){po.$emit("trackPreview:previewMouseEnter",e)},previewMouseLeave(e){po.$emit("trackPreview:previewMouseLeave",e)}}};var Ym=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"search_tabcontent",attrs:{id:"track_search"}},[e.results.trackTab.loaded?0==e.results.trackTab.data.length?n("div",[n("h1",[e._v(e._s(e.$t("search.noResultsTrack")))])]):e._e():n("BaseLoadingPlaceholder"),e._v(" "),e.results.trackTab.data.length>0?n("table",{staticClass:"table table--tracks"},[n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[e._v(e._s(e.$tc("globals.listTabs.title",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.artist",1)))]),e._v(" "),n("th",[e._v(e._s(e.$tc("globals.listTabs.album",1)))]),e._v(" "),e._m(0),e._v(" "),n("th",{staticStyle:{width:"56px"}})])]),e._v(" "),n("tbody",e._l(e.results.trackTab.data,(function(t){return n("tr",[n("td",{staticClass:"table__icon table__icon--big"},[n("a",{class:"rounded"+(t.preview?" single-cover":""),attrs:{href:"#","data-preview":t.preview},on:{click:e.playPausePreview}},[t.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:e.$t("globals.play_hint")},on:{mouseenter:e.previewMouseEnter,mouseleave:e.previewMouseLeave}},[e._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):e._e(),e._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:t.album.cover_small}})])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[t.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[e._v(" explicit ")]):e._e(),e._v("\n\t\t\t\t\t\t"+e._s(t.title+(t.title_version&&-1==t.title.indexOf(t.title_version)?" "+t.title_version:""))+"\n\t\t\t\t\t")])]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.artist.id},on:{click:function(t){return t.stopPropagation(),e.artistView(t)}}},[e._v("\n\t\t\t\t\t"+e._s(t.artist.name)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":t.album.id},on:{click:function(t){return t.stopPropagation(),e.albumView(t)}}},[e._v("\n\t\t\t\t\t"+e._s(t.album.title)+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell table__cell--small table__cell--center"},[e._v("\n\t\t\t\t\t"+e._s(e.convertDuration(t.duration))+"\n\t\t\t\t")]),e._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":t.link,role:"button","aria-label":"download"},on:{click:function(t){return t.stopPropagation(),e.$emit("add-to-queue",t)}}},[n("i",{staticClass:"material-icons",attrs:{title:e.$t("globals.download_hint")}},[e._v(" get_app ")])])])})),0)]):e._e()],1)};Ym._withStripped=!0;var Jm=function(e,t,n,a,i,r,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\search\\ResultsTracks.vue",l.render||(l.render=e.render,l.staticRenderFns=e.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),l._scopeId=a,l}({render:Ym,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("th",[t("i",{staticClass:"material-icons"},[this._v(" timer ")])])}]},0,Km,void 0,!1);const Xm={components:{BaseLoadingPlaceholder:fo},data(){const e=this.$t.bind(this),t=this.$tc.bind(this);return{currentTab:{name:"",component:{}},tabs:[{name:e("globals.listTabs.all"),searchType:"all",component:Fm},{name:t("globals.listTabs.track",2),searchType:"track",component:Jm},{name:t("globals.listTabs.album",2),searchType:"album",component:qm},{name:t("globals.listTabs.artist",2),searchType:"artist",component:Gm},{name:t("globals.listTabs.playlist",2),searchType:"playlist",component:Qm}],results:{query:"",allTab:{ORDER:[],TOP_RESULT:[],ALBUM:{},ARTIST:{},TRACK:{},PLAYLIST:{}},trackTab:{data:[],next:0,total:0,loaded:!1},albumTab:{data:[],next:0,total:0,loaded:!1},artistTab:{data:[],next:0,total:0,loaded:!1},playlistTab:{data:[],next:0,total:0,loaded:!1}}}},computed:{showSearchTab(){return""!==this.results.query},loadedTabs(){const e=[];for(const t in this.results)if(this.results.hasOwnProperty(t)){this.results[t].loaded&&e.push(t.replace(/Tab/g,""))}return e}},props:{performScrolledSearch:{type:Boolean,required:!1}},created(){this.currentTab=this.tabs[0]},mounted(){po.$on("mainSearch:checkLoadMoreContent",this.checkLoadMoreContent),this.$root.$on("mainSearch:showNewResults",this.checkIfShowNewResults),dl.on("mainSearch",this.handleMainSearch),dl.on("search",this.handleSearch)},methods:{artistView:em.bind(null,"artist"),albumView:em.bind(null,"album"),playlistView:em.bind(null,"playlist"),changeSearchTab(e){e=e.toLowerCase();let t=this.tabs.find(t=>t.searchType===e);t?(window.scrollTo(0,0),this.currentTab=t):console.error(`No tab ${e} found`)},checkIfShowNewResults(e,t){(e!==this.results.query||"search_tab"==t)&&this.showNewResults(e)},showNewResults(e){dl.emit("mainSearch",{term:e}),this.$root.$emit("updateSearchLoadingState",!0),this.currentTab=this.tabs[0]},checkLoadMoreContent(e){0===this.results[e.split("_")[0]+"Tab"].data.length&&this.search(e.split("_")[0])},addToQueue(e){pl(e.currentTarget.dataset.link)},numberWithDots:oo,convertDuration:so,search(e){dl.emit("search",{term:this.results.query,type:e,start:this.results[e+"Tab"].next,nb:30})},scrolledSearch(){if("all"===this.currentTab.searchType)return;let e=this.currentTab.searchType+"Tab";this.results[e].next({x:0,y:0})});tf.beforeEach((e,t,n)=>{let a=null;switch(e.name){case"Artist":a={type:"artist",id:e.params.id};break;case"Tracklist":a={type:e.params.type,id:e.params.id}}a&&dl.emit("getTracklist",a),po.$emit("trackPreview:stopStackedTabsPreview"),n()}),window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new An({store:ul,router:tf,i18n:Oc,render:e=>e(Ll)}).$mount("#app"),Zh(document.getElementById("main_home_tablink"),"main","home_tab")})),window.addEventListener("pywebviewready",(function(){window.clientMode=!0})),document.addEventListener("paste",e=>{let t=e.clipboardData.getData("Text");if("input"!=e.target.localName)if(ro(t))"analyzer_tab"===window.main_selected?(po.$emit("linkAnalyzerTab:reset"),dl.emit("analyzeLink",t)):hl.sendAddToQueue(t);else{let e=document.querySelector("#searchbar");e.select(),e.setSelectionRange(0,99999)}}),dl.on("message",(function(e){console.log(e)})),dl.on("logging_in",(function(){Tl(Oc.t("toasts.loggingIn"),"loading",!1,"login-toast")})),dl.on("init_autologin",(function(){let e=localStorage.getItem("arl"),t=localStorage.getItem("accountNum");e&&(e=e.trim(),0!=t?dl.emit("login",e,!0,t):dl.emit("login",e))})),dl.on("logged_in",(function(e){const{status:t,user:n}=e;switch(t){case 1:case 3:Tl(Oc.t("toasts.loggedIn"),"done",!0,"login-toast"),ul.dispatch("login",e);break;case 2:Tl(Oc.t("toasts.alreadyLogged"),"done",!0,"login-toast"),ul.dispatch("setUser",n);break;case 0:Tl(Oc.t("toasts.loginFailed"),"close",!0,"login-toast"),ul.dispatch("removeARL");break;case-1:Tl(Oc.t("toasts.deezerNotAvailable"),"close",!0,"login-toast"),$("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),$("#settings_username").text("Not Logged"),$("#settings_picture").attr("src","https://e-cdns-images.dzcdn.net/images/user/125x125-000000-80-0-0.jpg"),document.getElementById("home_not_logged_in").classList.remove("hide")}})),dl.on("logged_out",(function(){Tl(Oc.t("toasts.loggedOut"),"done",!0,"login-toast"),ul.dispatch("logout")})),dl.on("restoringQueue",(function(){Tl(Oc.t("toasts.restoringQueue"),"loading",!1,"restoring_queue")})),dl.on("cancellingCurrentItem",(function(e){Tl(Oc.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+e)})),dl.on("currentItemCancelled",(function(e){Tl(Oc.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+e)})),dl.on("startAddingArtist",(function(e){Tl(Oc.t("toasts.startAddingArtist",{artist:e.name}),"loading",!1,"artist_"+e.id)})),dl.on("finishAddingArtist",(function(e){Tl(Oc.t("toasts.finishAddingArtist",{artist:e.name}),"done",!0,"artist_"+e.id)})),dl.on("startConvertingSpotifyPlaylist",(function(e){Tl(Oc.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+e)})),dl.on("finishConvertingSpotifyPlaylist",(function(e){Tl(Oc.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+e)})),dl.on("errorMessage",(function(e){Tl(e,"error")})),dl.on("queueError",(function(e){e.errid?Tl(Oc.t("errors.ids."+e.errid),"error"):Tl(e.error,"error")})),dl.on("alreadyInQueue",(function(e){Tl(Oc.t("toasts.alreadyInQueue",{item:e.title}),"playlist_add_check")})),dl.on("loginNeededToDownload",(function(e){Tl(Oc.t("toasts.loginNeededToDownload"),"report")})); diff --git a/src/components/TheChartsTab.vue b/src/components/TheChartsTab.vue index 374bc06..8e69d96 100644 --- a/src/components/TheChartsTab.vue +++ b/src/components/TheChartsTab.vue @@ -108,8 +108,8 @@ import { mapGetters } from 'vuex' import { socket } from '@/utils/socket' import { showView } from '@js/tabs.js' -import Downloads from '@/utils/downloads' -import Utils from '@/utils/utils' +import { sendAddToQueue } from '@/utils/downloads' +import { convertDuration } from '@/utils/utils' import { getChartsData } from '@/data/charts' @@ -124,38 +124,21 @@ export default { chart: [] } }, - computed: { - ...mapGetters(['getCharts']), - needToWait() { - return this.getCharts.length === 0 - } - }, async created() { + socket.on('setChartTracks', this.setTracklist) + this.$on('hook:destroyed', () => { + console.log('destroyed') + socket.off('setChartTracks') + }) + const chartsData = await getChartsData() this.initCharts(chartsData) }, - mounted() { - socket.on('setChartTracks', this.setTracklist) - }, methods: { + convertDuration, artistView: showView.bind(null, 'artist'), albumView: showView.bind(null, 'album'), - waitCharts() { - if (this.needToWait) { - // Checking if the saving of the settings is completed - let unsub = this.$store.subscribeAction({ - after: (action, state) => { - if (action.type === 'cacheCharts') { - this.initCharts() - unsub() - } - } - }) - } else { - this.initCharts() - } - }, playPausePreview(e) { EventBus.$emit('trackPreview:playPausePreview', e) }, @@ -165,10 +148,9 @@ export default { previewMouseLeave(e) { EventBus.$emit('trackPreview:previewMouseLeave', e) }, - convertDuration: Utils.convertDuration, addToQueue(e) { e.stopPropagation() - Downloads.sendAddToQueue(e.currentTarget.dataset.link) + sendAddToQueue(e.currentTarget.dataset.link) }, getTrackList(event) { document.getElementById('content').scrollTo(0, 0) @@ -188,6 +170,7 @@ export default { socket.emit('getChartTracks', this.id) }, setTracklist(data) { + console.log('set tracklist') this.chart = data }, changeCountry() { diff --git a/src/components/TheHomeTab.vue b/src/components/TheHomeTab.vue index c34378a..313054c 100644 --- a/src/components/TheHomeTab.vue +++ b/src/components/TheHomeTab.vue @@ -78,10 +78,8 @@